CN106933480A - Seat method and device is selected in a kind of online booking - Google Patents
Seat method and device is selected in a kind of online booking Download PDFInfo
- Publication number
- CN106933480A CN106933480A CN201710187946.7A CN201710187946A CN106933480A CN 106933480 A CN106933480 A CN 106933480A CN 201710187946 A CN201710187946 A CN 201710187946A CN 106933480 A CN106933480 A CN 106933480A
- Authority
- CN
- China
- Prior art keywords
- seat
- user
- distribution map
- mobile terminal
- specified place
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping
- G06Q30/0643—Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping graphically representing goods, e.g. 3D product representation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
Abstract
Seat method and device is selected in the online booking that the application is provided, when being instructed in line selection seat for the seat for receiving the specified place of user's selection, then, obtain the seat distribution map in the specified place, and it is an independent physical object that each seat in seat distribution map is divided into independent seat object, i.e. each seat;Then, associating between the kinematic parameter of each seat object and the acceleration of gravity of hand-held mobile terminal is set up;So, after the acceleration of gravity of hand-held mobile terminal is detected, the motion vector of each seat object is determined, the seat object distribution figure after display rearrangement realizes that seat is resequenced, and meets user to the interesting demand in line selection seat flow.
Description
Technical field
Seat method and device is selected the invention belongs to technical field of the computer network, more particularly to a kind of online booking.
Background technology
As Internet technology is developed rapidly, the application realized based on internet is emerged in an endless stream, for example, on-line ticket sales system
System, user can be in concert admission ticket, film ticket, competitive sports admission ticket needed for client purchase etc..For there is viewing seat
Admission ticket, user can select the position that oneself is desired in purchase.
Existing online booking is selected in base system, and user can show that one is pressed by seat when seat is selected, on client end interface
The matrix of button composition represents the seat of actual place, wherein, can be had been sold out with graphic attribute (for example, shape, color) difference
With commercially available seat.As long as user selects commercially available seat.But, user entirely selecting seat flow dull,
The interesting requirement of user cannot be met.
The content of the invention
In view of this, seat method and device is selected it is an object of the invention to provide a kind of online booking, to meet user's
Interest requires that its technical scheme is as follows:
In a first aspect, the application provides a kind of online booking selects seat method, it is applied in hand-held mobile terminal, including:
Obtain being instructed in line selection seat for the seat in the specified place of user's selection;
Obtain the corresponding seat distribution map in the specified place;
Each seat in the seat distribution map is divided into independent seat object, is that each described seat object sets
A seat identification is put, the seat identification is used to characterize position of the seat object in the specified place;
Set up the kinematic parameter of each seat object and associating for the acceleration of gravity of hand-held mobile terminal;
The acceleration of gravity of the hand-held mobile terminal is obtained, and according between the kinematic parameter and acceleration of gravity
Mapping relations, determine the motion vector of each seat object;
According to the motion vector of each seat object, the seat object distribution figure after display rearrangement.
Alternatively, methods described also includes:
When the position range after seat object motion described at least two has intersection region, described at least two are determined
The seat object collides;
It is determined that the seat object itself before the direction of motion of the corresponding collision rift of seat object for colliding, with collision
The direction of motion conversely, and, the size according to the intersection region determines bouncing displacement amount.
Alternatively, methods described also includes:The targeted seat that user selects on the seat distribution map is obtained, will be described
Targeted seat is labeled as having selected seat.
Alternatively, methods described also includes:Get what is selected on user's seat object distribution figure after the reordering
Targeted seat, shows the seat position of the targeted seat.
Alternatively, it is described to obtain the corresponding seat distribution map in the specified place, including:
Obtain the corresponding place mark in the specified place;
The seat distribution map in the specified place is obtained from service end according to place mark.
Second aspect, the application provides a kind of online booking and selects base device, is applied in hand-held mobile terminal, including:
First acquisition unit, for obtaining being instructed in line selection seat for the seat in the specified place of user's selection;
Second acquisition unit, for obtaining the corresponding seat distribution map in the specified place;
Cutting unit, is each for each seat in the seat distribution map to be divided into independent seat object
The seat object sets a seat identification, and the seat identification is used to characterize the seat object in the specified place
Position;
Unit is set up in association, and the kinematic parameter for setting up each seat object adds with the gravity of hand-held mobile terminal
The association of speed;
Determining unit, the acceleration of gravity for obtaining the hand-held mobile terminal, and according to the kinematic parameter and weight
Mapping relations between power acceleration, determine the motion vector of each seat object;
Display unit, for the motion vector according to each seat object, the seat object after display rearrangement
Distribution map.
Alternatively, described device also includes:
, there is intersection region for the position range when the seat object motion described at least two after in collision determining unit
When, determine that seat object collides described in described at least two;
Collision parameter determining unit, the direction of motion of the corresponding collision rift of seat object for determining to collide, with
Collision before the seat object itself the direction of motion conversely, and, the size according to the intersection region determines bouncing displacement
Amount.
Alternatively, described device also includes:
3rd acquiring unit, for obtaining the targeted seat that user selects on the seat distribution map, by the target
Seat is labeled as having selected seat.
Alternatively, described device also includes:
The 4th acquiring unit being connected with the display unit, for getting user's seat object after the reordering
The targeted seat selected on distribution map, shows the seat position of the targeted seat.
Alternatively, the second acquisition unit, including:
First obtains subelement, for obtaining the corresponding place mark in the specified place;
Second obtains subelement, the seat distribution for obtaining the specified place from service end according to place mark
Figure.
Seat method is selected in the online booking that the embodiment of the present application is provided, when the seat for receiving the specified place of user's selection exists
Line selection seat instruction, then, obtains the seat distribution map in the specified place, and each seat in seat distribution map is divided into
Independent seat object, i.e. each seat are an independent physical objecies;Then, the motion ginseng of each seat object is set up
Associating between number and the acceleration of gravity of hand-held mobile terminal;So, when the acceleration of gravity for detecting hand-held mobile terminal
Afterwards, the motion vector of each seat object is determined, the seat object distribution figure after display rearrangement realizes that seat is arranged again
Sequence, meets user to the interesting demand in line selection seat flow.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 shows that the flow chart of seat method is selected in a kind of online booking of the embodiment of the present application;
Fig. 2 shows the schematic diagram after a kind of seat object rearrangement of the embodiment of the present application;
Fig. 3 shows that the flow chart of seat method is selected in another online booking of the embodiment of the present application;
Fig. 4 shows that the flow chart of seat method is selected in the embodiment of the present application another online booking;
Fig. 5 shows that the flow chart of seat method is selected in the embodiment of the present application another online booking;
Fig. 6 shows that the block diagram of base device is selected in a kind of online booking of the embodiment of the present application;
Fig. 7 shows a kind of block diagram of second acquisition unit of the embodiment of the present application;
Fig. 8 shows that the block diagram of base device is selected in another online booking of the embodiment of the present application;
Fig. 9 shows that the block diagram of base device is selected in the embodiment of the present application another online booking;
Figure 10 shows that the block diagram of base device is selected in the application another online booking.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is referred to, shows that the flow chart of seat method is selected in a kind of online booking of the embodiment of the present application, the method is applied to
In hand-held mobile terminal, for example, smart mobile phone, panel computer etc..As shown in figure 1, the method is comprised the following steps:
S110, obtains being instructed in line selection seat for the seat in the specified place of user's selection.
In the online booking client that user can install on hand-held mobile terminal, select oneself to want the door of on-line purchase
Ticket, for example, film ticket.User can on the client specify and oneself want the movie name and movie theatre title of purchase, Ci Zhongying
With in scene, specified place is movie theatre title.If what user wanted purchase is competitive sports admission ticket or ticket, specify
Place is the venue for holding competitive sports, or, hold the place of performance.
Related control is set in client, for example, " buys " control, " choosing seat " control etc..For example, when the " choosing of user's touch-control
After seat " control, client detects the touch control operation of user terminal, and is referred in line selection seat accordingly according to touch control operation generation
Order.
S120, obtains the corresponding seat distribution map in the specified place.
In a kind of possible implementation of the application, the process of S120 can include:Obtain the specified place correspondence
Place mark.The seat distribution map in the specified place is obtained from service end according to place mark.
For example, specifying certain movie theater that place is movie theatre, different movie theatres are made a distinction using different marks, same shadow
Different movie theaters is also adopted by different marks and makes a distinction in institute, for example, mark can use binary data, or, other
Type character.
For example, the mark of certain movie theatre can be binary number " 011 ", the movie theatre includes 3 movie theaters, then the 3 of the movie theatre
Individual movie theater is respectively adopted different marks, for example, " 01100 ", " 01101 ", " 01110 ".
After the selected movie theatre of client and movie theater, client sends the mark of movie theatre movie theater to service end to user, from service
End obtains the JSON formatted datas of the seat distribution of the movie theatre movie theater, and then, client is according to seat distributed data and client
The size at the single seat of setting, calculates and draws out the seat distribution map of the movie theatre movie theater, and seat distribution map herein is shadow
Actual seat distribution map in the Room.
S130, independent seat object is divided into by each seat in seat distribution map, and each seat object has one
Individual seat identification, the seat identification is used to characterize position of the seat in place is specified.
Each seat in the seat distribution map that client will be drawn in S120 is divided into independent seat object, to seat
After distribution map is split, each seat in seat distribution map is an independent object, subsequently can be to single seat
Position object is processed.Each seat object can be moved, rotated.
The corresponding mark of each seat object, seat object respective seat in actual place is represented by the mark
The position of position, the mark can use binary number or other character representations.The mark of seat object and the physical location at seat it
Between mapping relations can freely set.
S140, sets up associating for the kinematic parameter of each seat object and the acceleration of gravity of hand-held mobile terminal.
Kinematic parameter includes the Relative motility parameters such as the direction of motion, movement velocity.
Associating between the kinematic parameter of seat object and the acceleration of gravity of hand-held mobile terminal where client is set up,
For example, the acceleration direction of hand-held mobile terminal is consistent with the direction of motion of seat object, movement velocity and hand-held mobile terminal
Acceleration be directly proportional.
S150, obtains the acceleration of gravity of hand-held mobile terminal, and according to the mapping relations, determines each described seat
The motion vector of object.
The acceleration of gravity of hand-held mobile terminal can be obtained by acceleration transducer (for example, gyroscope) measurement, client
End obtains acceleration information from the acceleration transducer of hand-held mobile terminal, then, according to acceleration information and acceleration it
Between relation, obtain the corresponding kinematic parameter of the acceleration, so that it is determined that the moving direction and displacement of each seat object,
Obtain motion vector.
For example, user can rock smart mobile phone makes the purpose of seat object motion so as to reach.
S160, according to the motion vector of each seat object, the seat object distribution figure after display rearrangement.
The motion vector of the seat object that client determines according to S150, obtains the position after each seat object motion,
Then, according to the position after each seat object motion, the seat object distribution figure after display is mobile.
As shown in Fig. 2 after showing that the seat object 102 in No. 4 Rooms of A movie theatres is moved on the display screen 101 of hand-held mobile terminal
Seat distribution map, optional seat can be distinguished by the graphic color of representative seat and seat has been sold, for example, grey is for
Seat is sold, white is optional seat.
Seat method is selected in the online booking that the present embodiment is provided, when the seat for obtaining the specified place of user's selection is in line selection seat
Instruction, then, obtains the seat distribution map in the specified place, and each seat in seat distribution map is divided into independent
Seat object, i.e. each seat are an independent physical objecies;Then, the kinematic parameter and hand of each seat object are set up
Hold the association between the acceleration of gravity of mobile terminal;So, after the acceleration of gravity of hand-held mobile terminal is detected, it is determined that
The motion vector of each seat object, the seat object distribution figure after display rearrangement realizes that seat is resequenced, and meets and uses
Family is to the interesting demand in line selection seat flow.
In another embodiment of the application, each seat object can not only enter according to the acceleration of hand-held mobile terminal
Row movement, can also produce elastic collision effect.
Fig. 3 is referred to, shows that the flow chart of seat method is selected in another online booking of the embodiment of the present application, the method is in figure
Can also be comprised the following steps after the step of 1 illustrated embodiment S150:
S210, when there is intersection region in the position range after seat object motion described at least two, it is determined that it is described extremely
Few two seat objects collide.
S220, it is determined that the seat pair before the direction of motion of the corresponding collision rift of seat object for colliding, with collision
As the direction of motion of itself is opposite.
S230, according to the corresponding intersection region of seat object for colliding and the motion side of the collision rift
To obtaining collision movement vector.
The size of the intersection region according to seat object's position, determines impact strength degree, and intersection region is bigger, then show
Impact strength is bigger, and the displacement of bounce-back is bigger;Intersection region is smaller, shows that impact strength is smaller, and the displacement of bounce-back is smaller.
S160, according to the motion vector of each seat object, the seat object distribution figure after display rearrangement.
For the seat object for colliding, the motion vector of seat object includes two parts in this step, and a part is
The motion vector that acceleration information according to hand-held mobile terminal is produced, another part is collision movement vector, by this two
The motion vector for dividing determines the motion of seat object and the position of collision rift, then, display post exercise seat object.
Seat method is selected in the online booking that the present embodiment is provided, and each the seat object shown by client can not only basis
The acceleration information movement of hand-held mobile terminal, can also produce collision effect, when the shift position of at least two seat objects
When there is intersection region, show that at least two seat object collides.The seat object direction of motion after an impact with
The direction of motion before itself collision is opposite;And impact severity is determined according to the size of seat object intersection region, and then determine seat
The displacement of position object collision rift, that is, the seat object for colliding occurs the display effect of collision rift bounce-back.In sum, this reality
Applying each the seat object in example can move and elastic collision effect can be presented so that virtual seat object has true
The motion of real physical object and collision characteristic, more truly, and, disclosure satisfy that user to interesting need the in line selection seat flow
Ask.
In one embodiment of the application, user can select the seat to be bought before the rearrangement of seat object
Position number, after purchase, user can be moved come object motion of offering one's seat by making hand-held mobile terminal.
Fig. 4 is referred to, shows that the flow chart of seat method is selected in the embodiment of the present application another online booking, as shown in figure 4,
The method after S120, following steps is increased before step S130 the step of embodiment illustrated in fig. 1:
S310, obtains the targeted seat selected on the present bit distribution figure of user, and the targeted seat is labeled as to have selected seat
Position.
What user can show in client is intended to click on distribution identical seat distribution map actual in movie theatre movie theater
The seat to be bought, and the seat object tag that will be clicked is to have selected seat, after user completes process of purchase, marks the seat
Position object is to have sold seat.Different marks can be carried out by setting the different colours of seat object.
It should be noted that step S310 can increase the step of embodiment illustrated in fig. 3 after S120, no longer go to live in the household of one's in-laws on getting married herein
State.
Seat method is selected in the online booking that the embodiment of the present application is provided, at the actual seat with movie theatre movie theater that client shows
Selection wants the seat object of purchase on position identical seat distribution map.It is then possible to be moved by making hand-held mobile terminal
Seat object is produced corresponding movement effects, be that the online booking of user selects seat process increase entertaining to experience.
In the application another embodiment, user can be after the rearrangement of seat object, and therefrom selecting oneself will
The seat of purchase.
Fig. 5 is referred to, shows that the flow chart of seat method is selected in the embodiment of the present application another online booking, as shown in figure 5,
The method after step S160, increases following steps in the embodiment shown in fig. 1:
S410, receives the targeted seat selected on user's seat object distribution figure after the reordering, and display is described
The seat position of targeted seat.
The seat for oneself wanting to buy, the seat after rearrangement are selected on user's seat distribution map after the reordering
Actual seat distribution in the display location of object and movie theatre is inconsistent, therefore, behind user's selected target seat, client shows
Show the seat position of the targeted seat, so that user decides whether to buy the seat.At the same time, the targeted seat is labeled as
Seat is selected, after user completes process of purchase, labeled as having sold seat.
Seat method is selected in the online booking that the present embodiment is provided, and seat is selected in user's seat distribution map after the reordering
During object, in this case it is not apparent that the corresponding physical location of seat object of oneself selection, lifting user selects the experience of seat randomness, this
Experience will not cannot be realized in seat flow is selected in traditional online booking.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but
It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain
A little steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know, be retouched in specification
The embodiment stated belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Seat embodiment of the method is selected corresponding to above-mentioned online booking, selects base device to implement present invention also provides online booking
Example.
Fig. 6 is referred to, shows that a kind of online booking of the embodiment of the present application selects the block diagram of base device, the device to be applied to hand
Hold in mobile terminal in the client for realizing online booking.
As shown in fig. 6, the device includes:First acquisition unit 110, second acquisition unit 120, cutting unit 130, association
Set up unit 140, determining unit 150 and display unit 160.
First acquisition unit 110, for obtaining being instructed in line selection seat for the seat in the specified place of user's selection.
In the online booking client that user can install on hand-held mobile terminal, select oneself to want the door of on-line purchase
Ticket.Related control is set in client, for example, " buys " control, " choosing seat " control etc..For example, working as user's touch-control " choosing seat " control
Afterwards, client detects the touch control operation of user terminal, and is produced according to the touch control operation corresponding in line selection seat instruction.
Second acquisition unit 120, for obtaining the corresponding seat distribution map in specified place.
In a kind of possible implementation of the application, as shown in fig. 7, second acquisition unit 120 can be obtained including first
Take subelement 121 and second and obtain subelement 122;
First obtains subelement 121, for obtaining the corresponding place mark in specified place.
For example, specifying certain movie theater that place is movie theatre, different movie theatres are made a distinction using different marks, same shadow
Different movie theaters is also adopted by different marks and makes a distinction in institute, for example, mark can use binary data, or, other
Type character.
Second obtains subelement 122, the seat for obtaining the specified place from service end according to place mark
Distribution map.
After the selected movie theatre of client and movie theater, client sends the mark of movie theatre movie theater to service end to user, from service
End obtains the JSON formatted datas of the seat distribution of the movie theatre movie theater, and then, client is according to seat distributed data and client
The size at the single seat of setting, calculates and draws out the seat distribution map of the movie theatre movie theater, and seat distribution map herein is shadow
Actual seat distribution map in the Room.
Cutting unit 130, is each seat for each seat in seat distribution map to be divided into independent seat object
Position object sets a seat identification, and seat identification is used to characterize position of the seat object in specified place.
Each seat in the seat distribution map that cutting unit obtains second acquisition unit is divided into independent seat pair
As each seat pair likes an independent object, subsequently each seat object can be processed, each seat object
Can move, rotate.And, the corresponding mark of each seat object represents the seat object in reality by the mark
The position at correspondence seat in the place of border, the mark can use binary number or other character representations.The mark and seat of seat object
Mapping relations between the physical location of position can freely set.
Unit 140 is set up in association, for setting up the kinematic parameter of each seat object and the weight of hand-held mobile terminal
The association of power acceleration.
For example, setting hand-held mobile terminal acceleration direction it is consistent with the direction of motion of seat object, movement velocity and
The acceleration of hand-held mobile terminal is directly proportional.
Determining unit 150, the acceleration of gravity for obtaining the hand-held mobile terminal, and according to the kinematic parameter with
Mapping relations between acceleration of gravity, determine the motion vector of each seat object.
The acceleration of gravity of hand-held mobile terminal can be obtained by acceleration transducer (for example, gyroscope) measurement, client
End obtains acceleration information from the acceleration transducer of hand-held mobile terminal, then, according to acceleration information and acceleration it
Between relation, obtain the corresponding kinematic parameter of the acceleration, so that it is determined that the moving direction and displacement of each seat object,
Obtain motion vector.
Display unit 160, for the motion vector according to each seat object, the seat pair after display rearrangement
As distribution map.
After determining unit determines the motion vector of each seat object, the post exercise position of each seat object is obtained,
And by the seat distribution map after display unit display rearrangement.
Base device is selected in the online booking that the present embodiment is provided, when the seat for obtaining the specified place of user's selection is in line selection seat
Instruction, then, obtains the seat distribution map in the specified place, and each seat in seat distribution map is divided into independent
Seat object, i.e. each seat are an independent physical objecies;Then, the kinematic parameter and hand of each seat object are set up
Hold the association between the acceleration of gravity of mobile terminal;So, after the acceleration of gravity of hand-held mobile terminal is detected, it is determined that
The motion vector of each seat object, the seat object distribution figure after display rearrangement realizes that seat is resequenced, and meets and uses
Family is to the interesting demand in line selection seat flow.
Fig. 8 is referred to, shows that the block diagram of base device is selected in another online booking of the embodiment of the present application, the present embodiment is in figure
Also include on the basis of 6 illustrated embodiments:Collision determining unit 210 and collision parameter determining unit 220.
Collision determining unit 210, for the position range and at least one when any one of seat object motion after
When there is intersection region in the position range of other seat objects, determine any one of seat object with described at least one its
Its seat object collides;
Collision parameter determining unit 220, the direction of motion of the corresponding collision rift of seat object for determining to collide,
With the direction of motion of the seat object itself before collision conversely, and, size according to the intersection region determines bounce-back position
Shifting amount.
The size of the intersection region according to seat object's position, determines impact strength degree, and intersection region is bigger, then show
Impact strength is bigger, and the displacement of bounce-back is bigger;Intersection region is smaller, shows that impact strength is smaller, and the displacement of bounce-back is smaller.
For the seat object for colliding, the motion vector of seat object includes two parts in this step, and a part is
The motion vector that acceleration information according to hand-held mobile terminal is produced, another part is collision movement vector, by this two
The motion vector for dividing determines the motion of seat object and the position of collision rift, then, display post exercise seat object.
Base device is selected in the online booking that the present embodiment is provided, and each the seat object shown by client can not only basis
The acceleration information movement of hand-held mobile terminal, can also produce collision effect, when the shift position of at least two seat objects
When there is intersection region, show that at least two seat object collides.The seat object direction of motion after an impact with
The direction of motion before itself collision is opposite;And impact severity is determined according to the size of seat object intersection region, and then determine seat
The displacement of position object collision rift, that is, the seat object for colliding occurs the display effect of collision rift bounce-back.In sum, this reality
Applying each the seat object in example can move and elastic collision effect can be presented so that virtual seat object has true
The motion of real physical object and collision characteristic, more truly, and, disclosure satisfy that user to interesting need the in line selection seat flow
Ask.
Fig. 9 is referred to, shows that the block diagram of base device is selected in the embodiment of the present application another online booking, real shown in Fig. 6
Applying also includes the 3rd acquiring unit 310 on the basis of example;
3rd acquiring unit 310 is connected with second acquisition unit 120, for obtaining what is selected on the present bit distribution figure of user
Targeted seat, targeted seat is labeled as to have selected seat.
What user can show in client is intended to click on distribution identical seat distribution map actual in movie theatre movie theater
The seat to be bought, and the seat object tag that will be clicked is to have selected seat, after user completes process of purchase, marks the seat
Position object is to have sold seat.Different marks can be carried out by setting the different colours of seat object.
It should be noted that the 3rd acquiring unit can also increase in the embodiment shown in fig. 8, here is omitted.
Base device is selected in the online booking that the embodiment of the present application is provided, at the actual seat with movie theatre movie theater that client shows
Selection wants the seat object of purchase on position identical seat distribution map.It is then possible to be moved by making hand-held mobile terminal
Seat object is produced corresponding movement effects, be that the online booking of user selects seat process increase entertaining to experience.
Figure 10 is referred to, shows that the block diagram of base device is selected in the application another online booking, the present embodiment is shown in Fig. 6
Increase by the 4th acquiring unit 410 on the basis of embodiment;
4th acquiring unit 410, for getting the mesh selected on user's seat object distribution figure after the reordering
Standard seat position, the seat position at display target seat.
The seat for oneself wanting to buy, the seat after rearrangement are selected on user's seat distribution map after the reordering
Actual seat distribution in the display location of object and movie theatre is inconsistent, therefore, behind user's selected target seat, client shows
Show the seat position of the targeted seat, so that user decides whether to buy the seat.At the same time, the targeted seat is labeled as
Seat is selected, after user completes process of purchase, labeled as having sold seat.
Base device is selected in the online booking that the present embodiment is provided, and seat is selected in user's seat distribution map after the reordering
During object, in this case it is not apparent that the corresponding physical location of seat object of oneself selection, lifting user selects the experience of the randomness of seat, this
Planting experience will not cannot realize in seat flow is selected in traditional online booking.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part ginseng
See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange
Except also there is other identical element in the process including the key element, method, article or equipment.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or uses the present invention.To this
Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty most wide
Scope.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. seat method is selected in a kind of online booking, is applied in hand-held mobile terminal, it is characterised in that including:
Obtain being instructed in line selection seat for the seat in the specified place of user's selection;
Obtain the corresponding seat distribution map in the specified place;
Each seat in the seat distribution map is divided into independent seat object, is that each described seat object sets one
Individual seat identification, the seat identification is used to characterize position of the seat object in the specified place;
Set up the kinematic parameter of each seat object and associating for the acceleration of gravity of hand-held mobile terminal;
The acceleration of gravity of the hand-held mobile terminal is obtained, and according to the mapping between the kinematic parameter and acceleration of gravity
Relation, determines the motion vector of each seat object;
According to the motion vector of each seat object, the seat object distribution figure after display rearrangement.
2. method according to claim 1, it is characterised in that methods described also includes:
When the position range after seat object motion described at least two has intersection region, determine described in described at least two
Seat object collides;
It is determined that the direction of motion of the corresponding collision rift of seat object for colliding, the fortune with the preceding seat object itself of collision
It is dynamic in opposite direction, and, the size according to the intersection region determines bouncing displacement amount.
3. method according to claim 1, it is characterised in that also include:User is obtained to be selected on the seat distribution map
The targeted seat selected, the targeted seat is labeled as to have selected seat.
4. method according to claim 1, it is characterised in that also include:Get user seat after the reordering
The targeted seat selected on object distribution figure, shows the seat position of the targeted seat.
5. method according to claim 1, it is characterised in that the corresponding seat distribution in the acquisition specified place
Figure, including:
Obtain the corresponding place mark in the specified place;
The seat distribution map in the specified place is obtained from service end according to place mark.
6. base device is selected in a kind of online booking, is applied in hand-held mobile terminal, it is characterised in that including:
First acquisition unit, for obtaining being instructed in line selection seat for the seat in the specified place of user's selection;
Second acquisition unit, for obtaining the corresponding seat distribution map in the specified place;
Cutting unit, is described in each for each seat in the seat distribution map to be divided into independent seat object
Seat object sets a seat identification, and the seat identification is used to characterize position of the seat object in the specified place
Put;
Unit is set up in association, for setting up the kinematic parameter of each seat object and the acceleration of gravity of hand-held mobile terminal
Association;
Determining unit, the acceleration of gravity for obtaining the hand-held mobile terminal, and added according to the kinematic parameter and gravity
Mapping relations between speed, determine the motion vector of each seat object;
Display unit, for the motion vector according to each seat object, the seat object distribution after display rearrangement
Figure.
7. device according to claim 6, it is characterised in that also include:
Collision determining unit, for when the position range after seat object motion described at least two has intersection region, really
Seat object described in fixed described at least two collides;
Collision parameter determining unit, the direction of motion of the corresponding collision rift of seat object for determining to collide, with collision
The direction of motion of the preceding seat object itself conversely, and, the size according to the intersection region determines bouncing displacement amount.
8. device according to claim 6, it is characterised in that also include:
3rd acquiring unit, for obtaining the targeted seat that user selects on the seat distribution map, by the targeted seat
Labeled as having selected seat.
9. device according to claim 6, it is characterised in that also include:
The 4th acquiring unit being connected with the display unit, for getting user's seat object distribution after the reordering
The targeted seat of selection on figure, shows the seat position of the targeted seat.
10. device according to claim 6, it is characterised in that the second acquisition unit, including:
First obtains subelement, for obtaining the corresponding place mark in the specified place;
Second obtains subelement, the seat distribution map for obtaining the specified place from service end according to place mark.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710187946.7A CN106933480A (en) | 2017-03-27 | 2017-03-27 | Seat method and device is selected in a kind of online booking |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710187946.7A CN106933480A (en) | 2017-03-27 | 2017-03-27 | Seat method and device is selected in a kind of online booking |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106933480A true CN106933480A (en) | 2017-07-07 |
Family
ID=59424890
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710187946.7A Pending CN106933480A (en) | 2017-03-27 | 2017-03-27 | Seat method and device is selected in a kind of online booking |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106933480A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109559184A (en) * | 2017-09-27 | 2019-04-02 | 拓元股份有限公司 | Automatic position-marking device for network ticket buying |
| CN109582295A (en) * | 2017-09-28 | 2019-04-05 | 北京国双科技有限公司 | A kind of data processing method, device, storage medium and processor |
| CN110225130A (en) * | 2019-06-18 | 2019-09-10 | 刘净 | Public arena mobile terminal location intelligent Trade and social intercourse system and method |
| CN110232454A (en) * | 2018-03-01 | 2019-09-13 | 北京红马传媒文化发展有限公司 | The method for displaying and processing of seating maps, device and in line selection base system |
| CN112241796A (en) * | 2019-07-19 | 2021-01-19 | 阿里巴巴集团控股有限公司 | Seat selection method, computing device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101436113A (en) * | 2007-11-12 | 2009-05-20 | 捷讯研究有限公司 | User interface for touchscreen device |
| CN103105997A (en) * | 2011-11-10 | 2013-05-15 | 财团法人资讯工业策进会 | Method for changing coordinate value of icon according to sensing signal and electronic device |
| US20130159030A1 (en) * | 2011-12-19 | 2013-06-20 | The Shubert Organization, Inc. | Ticketing systems and methods incorporating interactive seating charts |
| CN105260781A (en) * | 2015-09-22 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Method and device for on-line selection of seats at cinema |
| CN105631774A (en) * | 2015-12-25 | 2016-06-01 | 深圳市金立通信设备有限公司 | Seat selection method and terminal |
-
2017
- 2017-03-27 CN CN201710187946.7A patent/CN106933480A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101436113A (en) * | 2007-11-12 | 2009-05-20 | 捷讯研究有限公司 | User interface for touchscreen device |
| CN103105997A (en) * | 2011-11-10 | 2013-05-15 | 财团法人资讯工业策进会 | Method for changing coordinate value of icon according to sensing signal and electronic device |
| US20130159030A1 (en) * | 2011-12-19 | 2013-06-20 | The Shubert Organization, Inc. | Ticketing systems and methods incorporating interactive seating charts |
| CN105260781A (en) * | 2015-09-22 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Method and device for on-line selection of seats at cinema |
| CN105631774A (en) * | 2015-12-25 | 2016-06-01 | 深圳市金立通信设备有限公司 | Seat selection method and terminal |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109559184A (en) * | 2017-09-27 | 2019-04-02 | 拓元股份有限公司 | Automatic position-marking device for network ticket buying |
| CN109582295A (en) * | 2017-09-28 | 2019-04-05 | 北京国双科技有限公司 | A kind of data processing method, device, storage medium and processor |
| CN109582295B (en) * | 2017-09-28 | 2022-06-21 | 北京国双科技有限公司 | Data processing method and device, storage medium and processor |
| CN110232454A (en) * | 2018-03-01 | 2019-09-13 | 北京红马传媒文化发展有限公司 | The method for displaying and processing of seating maps, device and in line selection base system |
| CN110232454B (en) * | 2018-03-01 | 2021-12-24 | 北京红马传媒文化发展有限公司 | Seat map display processing method and device and online seat selection system |
| CN110225130A (en) * | 2019-06-18 | 2019-09-10 | 刘净 | Public arena mobile terminal location intelligent Trade and social intercourse system and method |
| CN110225130B (en) * | 2019-06-18 | 2022-04-29 | 刘净 | Mobile terminal positioning intelligent transaction and social networking system and method in public places |
| CN112241796A (en) * | 2019-07-19 | 2021-01-19 | 阿里巴巴集团控股有限公司 | Seat selection method, computing device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11656736B2 (en) | Computer simulation method with user-defined transportation and layout | |
| CN106933480A (en) | Seat method and device is selected in a kind of online booking | |
| US20220266132A1 (en) | Virtual environment for computer game | |
| US9117193B2 (en) | Method and system for dynamic detection of affinity between virtual entities | |
| US9064023B2 (en) | Providing web content in the context of a virtual environment | |
| US8261199B2 (en) | Breakpoint identification and presentation in virtual worlds | |
| US20070185599A1 (en) | Sports player ranker | |
| US20110234591A1 (en) | Personalized Apparel and Accessories Inventory and Display | |
| US20100199200A1 (en) | Virtual Marketplace Accessible To Widgetized Avatars | |
| Billinghurst et al. | Research directions in handheld AR | |
| US10272340B2 (en) | Media system and method | |
| KR20170094279A (en) | Methods for generating a 3d virtual body model of a person combined with a 3d garment image, and related devices, systems and computer program products | |
| CN109426333A (en) | A kind of information interacting method and device based on Virtual Space Scene | |
| US20100100429A1 (en) | Systems and methods for using world-space coordinates of ad objects and camera information for adverstising within a vitrtual environment | |
| CN119048291A (en) | Intelligent tour guide data pushing system based on cloud platform | |
| US20230020633A1 (en) | Information processing device and method for medium drawing in a virtual system | |
| CN110368688A (en) | Display methods, device, storage medium and the electronic device of animation | |
| CN107577345B (en) | Method and device for controlling virtual character roaming | |
| CN104881128A (en) | Method and system for displaying target image in virtual reality scene based on real object | |
| KR102774280B1 (en) | System for providing user personalized advertisement in metavers service | |
| Haryani et al. | The designing of interactive learning media at Yogyakarta’s sandi museum based on augmented reality | |
| JP2017534135A (en) | Method for simulating and controlling a virtual ball on a mobile device | |
| CN112348966A (en) | Scene display system of virtual exhibition hall | |
| JP2007133776A (en) | Avatar image editing system and method thereof, and device and program used for these | |
| Balamurugan et al. | Development of augmented reality application for online trial shopping |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20200721 |
|
| AD01 | Patent right deemed abandoned |