CN111625164A - Seat arrangement deformation method, computing device, and storage medium - Google Patents

Seat arrangement deformation method, computing device, and storage medium Download PDF

Info

Publication number
CN111625164A
CN111625164A CN201910148756.3A CN201910148756A CN111625164A CN 111625164 A CN111625164 A CN 111625164A CN 201910148756 A CN201910148756 A CN 201910148756A CN 111625164 A CN111625164 A CN 111625164A
Authority
CN
China
Prior art keywords
seat
deformation
target
seats
type
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.)
Withdrawn
Application number
CN201910148756.3A
Other languages
Chinese (zh)
Inventor
徐海峰
王海滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910148756.3A priority Critical patent/CN111625164A/en
Publication of CN111625164A publication Critical patent/CN111625164A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a seat arrangement deformation method, a computing device and a storage medium. In the embodiment of the application, based on the concept of the temporary block, a user can flexibly select the seats needing to be deformed, the seats form the temporary block, the position relation of the seats in the temporary block is combined with the type and the deformation parameters of the seat arrangement deformation operation indicated by the seat arrangement deformation instruction, the arrangement among the seats can be flexibly deformed, the seat arrangement deformation difficulty can be reduced, and the seat arrangement deformation flexibility can be improved.

Description

Seat arrangement deformation method, computing device, and storage medium
Technical Field
The present application relates to the field of mapping technologies, and in particular, to a seat arrangement deformation method, a computing device, and a storage medium.
Background
With the development of internet technology, more and more ticketing systems for online ticketing are available. Some ticket service systems not only support online ticketing, but also support online seat selection for users. These ticketing systems that support on-line seating require that the user be provided with a seating map that is consistent with the venue's seats.
In practical applications, some seat maps need to perform deformation operations such as rotation and inclination on drawn seats according to the actual seat arrangement mode of a venue. However, the existing seat deformation schemes are difficult and inflexible.
Disclosure of Invention
Aspects of the present application provide a seat arrangement deformation method, a computing device, and a storage medium, which are used to reduce seat arrangement deformation difficulty and improve seat arrangement deformation flexibility.
The embodiment of the application provides a seat arrangement deformation method, which comprises the following steps: in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block; responding to the seat arrangement deformation instruction, and acquiring the type and deformation parameters of the seat arrangement deformation operation; and performing the type of deformation operation on the arrangement between the at least one seat by combining the position relation of the at least one seat in the temporary block and the deformation parameter.
An embodiment of the present application further provides a computing device, including: a memory, a processor and a display screen; the display screen is used for displaying a seat map interface; the memory for storing a computer program; the processor to execute the computer program to: in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block; responding to the seat arrangement deformation instruction, and acquiring the type and deformation parameters of the seat arrangement deformation operation; and performing the type of deformation operation on the arrangement between the at least one seat by combining the position relation of the at least one seat in the temporary block and the deformation parameter.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when executed by one or more processors, causes the one or more processors to implement the steps in the seat arrangement deformation method provided by the embodiments of the present application.
In the embodiment of the application, based on the concept of the temporary block, a user can flexibly select the seats needing to be deformed, the seats form the temporary block, the position relation of the seats in the temporary block is combined with the type and the deformation parameters of the seat arrangement deformation operation indicated by the seat arrangement deformation instruction, the arrangement among the seats can be flexibly deformed, the seat arrangement deformation difficulty can be reduced, and the seat arrangement deformation flexibility can be improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic flow chart of a seat arrangement modification method provided in an exemplary embodiment of the present application;
FIG. 2a is a schematic flow chart of another seat arrangement modification method provided in an exemplary embodiment of the present application;
FIG. 2b is a diagram illustrating a state of a list of deformed sliders according to an exemplary embodiment of the present application;
FIG. 3a is a schematic view of an original seating arrangement effect provided by an exemplary embodiment of the present application;
FIG. 3b is a schematic view of the seat arrangement of FIG. 3a after upward arc deformation based on the original seat arrangement according to an embodiment of the present application;
FIG. 3c is a schematic view of the seat arrangement effect of the original seat arrangement of FIG. 3a after being arc deformed downward according to an exemplary embodiment of the present application;
FIG. 4a is a schematic illustration of the seat arrangement of the exemplary embodiment of the present application after being deformed to tilt to the left based on the original seat arrangement shown in FIG. 3 a;
FIG. 4b is a schematic illustration of the seat arrangement after a rightward tilting deformation based on the original seat arrangement shown in FIG. 3a according to an exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of an increased row spacing effect on the original seating arrangement of FIG. 3a according to an exemplary embodiment of the present application;
FIG. 6 is a schematic illustration of the seating arrangement provided by an exemplary embodiment of the present application after increasing the seating distance based on the original seating arrangement shown in FIG. 3 a;
FIG. 7 is a schematic illustration of the seating arrangement of FIG. 3a offset to the right according to an exemplary embodiment of the present application;
fig. 8a is a schematic diagram of a ticketing system and a seat map issuing process thereof according to an exemplary embodiment of the present application;
fig. 8b is a schematic structural diagram of a computing device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The need to draw seating charts is faced in various ticketing systems. When drawing the seat map, the drawing software may provide a seat addition control, the plotter may click the seat addition control, the drawing software displays a popup window or an interface, and the popup window or the interface includes information items related to the added seats, such as how many rows are added, how many seats are to be added in each row, a head row number, a head row seat number, and the like. After the plotter fills in the relevant information items, the plotting software can add a corresponding number of seats on the seat map interface according to the information items. Every time a seat is added, the added seat is recorded into a block by drawing software, subsequent seat arrangement deformation is carried out by taking the block formed when the seat is added as a unit, namely, deformation can be carried out only on each block, simultaneous or combined deformation of a plurality of seats can not be carried out, local deformation of one seat can not be carried out, the constraint of seat arrangement deformation is too strong, the deformation difficulty is increased, and the deformation flexibility is reduced.
In view of the above technical problems, in some embodiments of the present application, a concept of a temporary block is provided, based on the concept of the temporary block, a user can flexibly select a seat to be deformed without being limited to the same seat, the seats form the temporary block, and the position relationship of the seats in the temporary block is combined with the type and the deformation parameter of the seat arrangement deformation operation indicated by the seat arrangement deformation instruction, so that the arrangement among the seats can be flexibly deformed, which is beneficial to reducing the seat arrangement deformation difficulty and improving the seat arrangement deformation flexibility.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a seat arrangement modification method according to an exemplary embodiment of the present application. As shown in fig. 1, the method includes:
101. in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block.
102. In response to the seat arrangement deformation instruction, the type and deformation parameters of the seat arrangement deformation operation are acquired.
103. And performing the deformation operation of the type on the arrangement between at least one seat by combining the position relation of the at least one seat in the temporary block and the deformation parameter.
The method provided by the embodiment can be applied to any computing device with a bitmap drawing function or provided with drawing software, for example, the computing device can be a terminal device such as a tablet computer, a personal computer, a smart phone and the like, and can also be a server-side computing device such as a conventional server, a cloud host, a virtual center, a server array and the like.
In this embodiment, the computing device may provide a seating map interface that may display the seats that have been added and the arrangements between those seats. These added seats may be added in the same addition operation or in multiple addition operations. Alternatively, the seats added in the same addition operation may form one seat block, while the seats added in different addition operations form different seat blocks, by which the computing device may maintain and manage the seats, but are not limited thereto.
For a seat map interface, it may be necessary to perform a morphing operation on the seat arrangement therein. The following is an example of a scenario in which a deformation operation is required for a seat arrangement:
for example, in the process of drawing the seat map, the drawing user may add seats first, and then perform a transformation operation on the arrangement between the added seats according to the actual seat arrangement in the venue or the venue, so that the arrangement between the seats in the finally drawn seat map is consistent with the actual seat arrangement in the venue or the venue. Or
For another example, during the usage of the seat map, the seat map needs to be updated because the actual seat arrangement in the venue or meeting place is adjusted or locally changed, which usually involves performing a deformation operation on the arrangement between local seats in the seat map interface.
In any case, when the arrangement of the seats on the seat map interface needs to be transformed, the user may send out an operation of selecting the seat on the seat map interface. For the computing device, at least one seat selected can be determined in response to a seat selection operation on the seat map interface, and the number of the selected seats is one or more seats needing the deformation operation.
In this embodiment, the operation mode selected by the user on the seat map interface is not limited, and any operation mode capable of selecting a seat is suitable for the embodiment of the present application. The following examples illustrate:
for example, for a computing device supporting an external input device such as a mouse, a user may position a cursor corresponding to the mouse on a seat map interface, and press a left or right button of the mouse to slide, where the seat that is stroked is a selected seat, and the selected seats are consecutive. Alternatively, the user may click or select a seat on the seat map interface by using a mouse, and the selected seat may be continuous or discontinuous.
For another example, for a touch-enabled computing device, a user may slide on a seating chart interface with a finger or a stylus pen, and the crossed seats are selected as the selected seats, which are selected as continuous. Alternatively, the user may click or select a seat on the seating chart interface by using a finger or a stylus, and the selected seat may be continuous or discontinuous.
The seat can be flexibly selected by any selection operation. The selected seats can be from the same seat block, can be all seats in the same seat block, and can also be partial seats in the same seat block; alternatively, the selected seats may be from a plurality of different seat blocks. In this embodiment, in order to facilitate the deformation operation of the selected seat, the selected seat may be formed into a temporary block, and the deformation operation may be performed on the selected seat based on the positional relationship of the selected seat in the temporary block.
After selecting at least one seat that needs to be deformed, the user may issue a seat arrangement deformation instruction to the computing device, where the seat arrangement deformation instruction indicates that a deformation operation needs to be performed on the arrangement between the at least one seat, and may indicate a type and a deformation parameter of the seat arrangement deformation operation. Wherein, the type is used for identifying which seat arrangement deformation operation is specifically carried out; the deformation parameters refer to some parameters required to complete the deformation operation of the seat arrangement, including parameters indicating the magnitude of the deformation. Alternatively, the parameter indicating the magnitude of the deformation may be the number of pixels. Further optionally, the deformation parameters may also include time of deformation, color change before and after deformation, and the like.
In the present embodiment, the manner in which the user issues the seat arrangement deformation instruction, and the manner in which the seat arrangement deformation instruction indicates the type and the deformation parameter of the seat arrangement deformation operation are not limited, which will be exemplified in the following embodiments.
For the computing equipment, the type and the deformation parameters of the seat arrangement deformation operation can be obtained in response to the seat arrangement deformation instruction; furthermore, the deformation operation of the type described above may be performed on the arrangement between at least one seat in conjunction with the positional relationship of the at least one seat in the temporary block and the deformation parameter.
In this embodiment, based on the concept of the temporary block, the user can flexibly select the seats to be deformed without being limited to the same seat, the seats form the temporary block, the position relationship of the seats in the temporary block is combined with the type and the deformation parameters of the seat arrangement deformation operation indicated by the seat arrangement deformation instruction, the arrangement among the seats can be flexibly deformed, and this is beneficial to reducing the seat arrangement deformation difficulty and improving the seat arrangement deformation flexibility.
Fig. 2a is a schematic flow chart of another seat arrangement modification method provided in an exemplary embodiment of the present application. As shown in fig. 2a, the method comprises:
201. in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block.
202. And displaying a deformation sliding block list on the seat map interface, wherein the deformation sliding block list comprises at least one deformation sliding block, and one deformation sliding block corresponds to one type of seat arrangement deformation operation.
203. And determining the deformed slider to be slid and the sliding direction in response to the sliding operation of the deformed slider in the deformed slider list by the user.
204. Determining the type of seat arrangement deformation operation according to the slid deformation sliding block and the sliding direction, and acquiring the deformation parameters bound with the type.
205. And performing the deformation operation of the type on the arrangement between at least one seat by combining the position relation of the at least one seat in the temporary block and the deformation parameter.
For the description of steps 201 and 205, reference may be made to the foregoing embodiments, which are not described herein again.
In this embodiment, the seat map interface can display not only the added seats and the arrangement between them, but also a list of deformed sliders. The embodiment of the application does not limit the style of the seat map interface and the mode of displaying different information by the seat map interface.
For example, the seating diagram interface may include a seating area and a list area, with seats that have been added and arrangements between those seats being displayed in the seating area, and a list of morph sliders being displayed in the list area.
For another example, the seat map interface displays the added seats and the arrangement among the seats, a floating layer or a floating window or a view can be added on the seat map interface, and a list of the deformed sliders is displayed in the floating layer or the floating window or the view.
Wherein the deformation slider list includes at least one deformation slider, and one deformation slider corresponds to one type of seat arrangement deformation operation. Alternatively, a style of a deformed slider list is shown in FIG. 2 b. In the list of deformed sliders shown in FIG. 2 b: the 6 deformation sliding blocks are respectively an arc sliding block, an inclined sliding block, a dislocation sliding block, a row pitch sliding block, a seat pitch sliding block and a rotating sliding block. Each sliding block can slide left and right on the sliding rail, and the sliding blocks slide left and right to represent different deformation directions.
Arc slider: sliding the arc-shaped sliding block leftwards to show that the seat is subjected to upward radian deformation; and the arc-shaped sliding block slides rightwards to show that the seat is subjected to downward arc deformation. Optionally, the list of deformed sliders shown in fig. 2b includes several labels such as "left arc", "middle arc", "right arc", etc., and when the arc-shaped slider is slid to the corresponding area of the corresponding label, the corresponding label may be highlighted, for example, highlighted. In fig. 2b, the arc slider is in the middle position and the corresponding "middle arc" label is highlighted, e.g. the color of the "middle arc" is significantly darker than the color of the "left arc" and the "right arc".
Inclining the sliding block: sliding the inclined slide block leftwards to show that the seat is inclined and deformed leftwards; and sliding the tilting slide block to the right to indicate that the seat is tilted and deformed to the right. The way in which the seats are inclined is not limited in the embodiments of the present application, and various implementations are possible.
Dislocation slider: sliding the dislocation slide block leftwards to indicate that the seat is dislocated leftwards; and the right sliding of the dislocation slide block indicates that the seat is dislocated to the right. In the embodiment of the present application, the leftward misalignment and the rightward misalignment are defined with reference to the moving direction of the seat in the base number row, and if the seat in the base number row moves leftward, the leftward misalignment is referred to; if the base row of seats moves to the right, it is called right misalignment. The way of misplacing the seats is not limited in the embodiments of the present application, and various implementations are possible.
Row pitch slider: sliding the row pitch slider to the right, which means increasing the row pitch between the seats; sliding the pitch slider to the left indicates decreasing the pitch between the seats. The way to increase or reduce the row spacing between seats is not limited in this application embodiment, and various implementation modes can be provided.
Seat pitch slider: sliding the seat distance slider to the right, which means increasing the seat distance between seats; sliding the seat pitch slider to the left indicates decreasing the seat pitch between seats. The way of increasing or decreasing the seat distance between the seats is not limited in the embodiment of the application, and various implementation ways can be provided.
Rotating the sliding block: sliding the rotating slide block to the left to indicate that the seat is rotated to the left; sliding the rotating slider to the right indicates rotating the seat to the right. The way in which the seats rotate is not limited in the embodiments of the present application, and various implementations are possible.
Based on the deformed slider list, when a certain deformation operation needs to be performed on the selected seat, the user can select a corresponding type of deformed slider from the deformed slider list and slide the selected deformed slider in a corresponding direction, so that a seat arrangement deformation instruction is sent to the computing device. For the computing device, the deformed slider to be slid and the sliding direction can be determined in response to the sliding operation of the deformed slider in the deformed slider list by the user; furthermore, the type of seat arrangement deformation operation corresponding to the deformed slider to be slid and the sliding direction thereof can be determined according to the corresponding relationship between the deformed slider, the sliding direction and the type of seat arrangement deformation operation, and for example, the type of seat arrangement deformation operation can be inclined to the left, displaced to the left, increased or decreased in row spacing, and the like; further, a deformation parameter bound to the determined type may be obtained. The deformation parameter herein mainly refers to a parameter indicating the deformation magnitude, and may be, for example, the maximum number of pixels that can be moved, such as 50 pixels.
It should be noted that, in addition to the binding relationship between the type of the seat arrangement deforming operation and the deformation parameter being established in advance, the deformation parameter may also be specified by the user as needed, for example, the deformation parameter may be carried in the seat arrangement deforming instruction.
In addition, it should be noted that, in addition to the manner provided in the embodiment shown in fig. 2a, the user may issue a seat arrangement deformation instruction to the computing device in a manner that is not limited to the following manner.
For example, in the case where the computing device has a voice recognition function, the user may send a first voice signal to the computing device, and carry the type of seat arrangement deforming operation and the deformation parameter in the first voice signal, for instructing the computing device to perform the deforming operation on the arrangement between the selected seats. Based on this, the computing device may receive a first voice signal sent by a user, and analyze the type of seat arrangement deformation operation and the deformation parameters from the first voice signal. Or, the user may send a second voice signal to the computing device, where only the type of the seat arrangement deformation operation is carried in the second voice signal, and the deformation parameters bound to the types of the different seat arrangement deformation operations are stored in the computing device in advance. Based on the type, the computing equipment can receive a second voice signal sent by a user, analyze the type of the seat arrangement deformation operation from the second voice signal, and acquire the deformation parameter bound with the type.
For another example, in a case where the computing device supports a touch operation, the user is allowed to issue a seat arrangement deformation instruction to the computing device through a gesture operation. For example, the corresponding relationship between the type of the seat arrangement deformation operation and the deformation parameter may be established in advance, and the corresponding gesture may be set for the seat arrangement deformation operations of different types, thereby establishing the mapping relationship between the gesture, the type of the seat arrangement deformation operation, and the deformation parameter. Optionally, the user may set corresponding gestures for seat arrangement deformation operations of different types at any time according to the use requirement, or may preset gestures corresponding to seat arrangement deformation operations of different types when the computing device leaves a factory. Based on the above, the user can send gesture operation on the seat map interface to instruct the computing device to perform deformation operation on the arrangement between the selected seats. For a computing device, gesture operations issued by a user on a seating chart interface can be detected; and acquiring the type and the deformation parameters of the seat arrangement deformation operation corresponding to the detected gesture operation based on the mapping relation among the preset gesture, the type of the seat arrangement deformation operation and the deformation parameters.
In the embodiments of the present application, based on the concept of the temporary block, the deformation operation of the type described above may be performed on the arrangement between at least one seat in combination with the positional relationship of the at least one seat in the temporary block and the deformation parameter.
In an optional embodiment, a target seat to be moved when the type of deformation operation is performed and a movement track of the target seat can be determined by combining the position relation of at least one seat in the temporary block and the deformation parameters; and adjusting the position of the target seat on the seat map interface according to the movement track of the target seat so as to realize the type of deformation operation. The target seat to be moved is a seat of the selected at least one seat, and the number of the target seats may be one or more. The number and location of target seats is related to the type of morphing operation, which will be described later by way of specific morphing examples.
Further optionally, the process of determining the target seat and the movement trajectory of the target seat may include: and determining a target seat to be moved for the type of deformation operation and the moving direction and the moving distance of the target seat in the moving direction by combining the position relation of the at least one seat in the temporary block and the deformation parameters. Wherein, the moving direction of the target seat and the moving distance in the moving direction can form the moving track of the target seat.
Further optionally, the process of adjusting the position of the target seat on the seating chart interface according to the movement track of the target seat may include: taking the terminal coordinates of the moving track of the target seat as new coordinates of the target seat; and re-rendering the position of the target seat on the seat map interface according to the new coordinates of the target seat so as to realize the type of deformation operation.
Further optionally, when the above type of deformation operation is performed, the process of the target seat moving along the moving track thereof may also be displayed on the seat map interface, so as to realize visualization of the deformation process. Furthermore, if the deformation operation of the type is continuously performed for a plurality of times aiming at the selected at least one seat, the visualization processes of the deformation operation for the plurality of times are connected, so that an animation effect can be generated, the interestingness of the deformation operation for the seat arrangement is increased, and the user experience is improved.
In order to more fully understand the technical solutions of the embodiments of the present application, the following will make detailed descriptions of the related descriptions in the foregoing embodiments with reference to several examples of specific modification operations.
The following deformation operations are premised on: the positional relationship of the selected at least one seat in the temporary block is regular, i.e., in a horizontal forward arrangement from left to right, as shown in fig. 3 a. Figure 3a shows the original seating arrangement of at least one seat before deformation.
Upward arc deformation:
in conjunction with the list of morphing sliders shown in fig. 2b, the user may slide the arc slider to the left, indicating an upward curvature of the selected at least one seat. For the computing device, it may be determined that the deformed slider being slid is an arc slider and the sliding direction thereof is to the left, it may be determined that upward arc deformation is required for the selected at least one seat, and then the other seats in each row except the head and tail seats may be taken as target seats, it is determined that the target seat located at the middle position is moved upward and the number of pixels indicated by the deformation parameter is moved, for example, 50 pixels, and the number of pixels moved upward and the number of pixels moved by the target seats located at the other positions is gradually decreased as the distance from the target seat located at the middle position is gradually increased.
Thereafter, the computing device may calculate new coordinates for each target seat based on the determined direction of movement of each target seat and the number of pixels moved in the direction of movement; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat, so as to obtain the seat arrangement effect after upward radian deformation as shown in fig. 3 b.
Downward arc deformation:
in conjunction with the list of morphing sliders shown in fig. 2b, the user may slide the arc slider to the right, indicating a downward arc morphing of the selected at least one seat. For a computing device, it may be determined that the deformed slider being slid is an arc slider and the sliding direction thereof is to the right, it may be determined that downward arc deformation is required for the selected at least one seat, and then the other seats in each row except the head and tail seats may be taken as target seats, it may be determined that the target seat located at the middle position is moved downward and the number of pixels indicated by the deformation parameter is moved, for example, 50 pixels, and the number of pixels moved downward and the number of pixels moved by the target seats located at the other positions is gradually reduced as the distance from the target seat located at the middle position is gradually increased.
Thereafter, the computing device may calculate new coordinates for each target seat based on the determined direction of movement of each target seat and the number of pixels moved in the direction of movement; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat, so as to obtain the seat arrangement effect after upward radian deformation as shown in fig. 3 c.
And (3) inclined deformation to the left:
in conjunction with the list of deformation sliders shown in fig. 2b, the user may slide the tilt slider to the left, indicating that the selected at least one seat is deformed to tilt to the left. For the computing device, it may be determined that the slid deformation slider is a tilt slider and the sliding direction thereof is to the left, it may be determined that the selected at least one seat needs to be tilted to the left, and then it may be determined that the target seats in the other rows than row 1 are the target seats, and the target seats in the same row move to the left and move by (N-1) × K pixels. Where N denotes the number of rows in which the target seat is located, K denotes the number of pixels indicated by the deformation parameter, e.g., 10, 20, 30, or 50, N, K is a positive integer, and N is equal to or greater than 2.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat, so as to obtain the seat arrangement effect after the left-inclined deformation as shown in fig. 4 a. As shown in fig. 4a, the seats in each row from row 2 are inclined in one direction, and the more the rear row is inclined, the more the rectangular arrangement is changed into the trapezoidal arrangement.
Deformation with inclination to the right:
in conjunction with the list of deformation sliders shown in fig. 2b, the user may slide the tilt slider to the right, indicating that the selected at least one seat is deformed to tilt to the right. For the computing device, it may be determined that the slid deformation slider is a tilt slider and the sliding direction thereof is rightward, it may be determined that the rightward tilt deformation of the selected at least one seat is required, and then it may be determined that the target seats in the other rows than row 1 are the target seats, and the target seats in the same row are moved rightward and by (N-1) × K pixels. Where N denotes the number of rows in which the target seat is located, K denotes the number of pixels indicated by the deformation parameter, e.g., 10, 20, 30, or 50, N, K is a positive integer, and N is equal to or greater than 2.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat, so as to obtain the seat arrangement effect after the rightward inclination deformation as shown in fig. 4 b. As shown in fig. 4b, the seats in each row from row 2 are inclined in one direction, and the more the rear row is inclined, the more the rectangular arrangement is changed into the trapezoidal arrangement. It is worth noting that there are other seats on the selected right side in fig. 3a, but there is sufficient room for the right side of the seat to tilt when tilting to the right.
Increasing the row pitch:
in conjunction with the list of morphed sliders shown in FIG. 2b, the user may slide the pitch slider to the right, indicating that the pitch between the selected at least one seat is increased. For the computing device, it may be determined that the deformed slider being slid is a pitch slider and the sliding direction thereof is to the right, it may be determined that the pitch between the selected at least one seat needs to be increased, and further, it may be determined that the target seat in the other rows than row 1 is a target seat, and the target seat in the same row moves downward and moves by (N-1) × K pixels. Where N denotes the number of rows in which the target seat is located, K denotes the number of pixels indicated by the deformation parameter, e.g., 10, 20, 30, or 50, N, K is a positive integer, and N is equal to or greater than 2.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat, so as to obtain the seat arrangement effect after the row distance is increased, which is shown in fig. 5. As shown in fig. 5, starting from row 2, the seats in each row are shifted downward by K pixels more than the seats in the previous row, thereby achieving the effect of increasing the row pitch.
And (3) reducing the row pitch:
in conjunction with the list of morph sliders shown in fig. 2b, the user may slide the pitch slider to the left, indicating that the pitch between the selected at least one seat is decreased. For the computing device, it may be determined that the deformed slider being slid is a pitch slider and the sliding direction thereof is to the left, it may be determined that the pitch between the selected at least one seat needs to be decreased, and then it may be determined that the target seat in the other rows than row 1 is the target seat, and it is determined that the target seat in the same row moves upward and moves by (N-1) × K pixels. Where N denotes the number of rows in which the target seat is located, K denotes the number of pixels indicated by the deformation parameter, e.g., 10, 20, 30, or 50, N, K is a positive integer, and N is equal to or greater than 2.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; the position of each target seat on the seating chart interface is re-rendered according to the new coordinates of each target seat. Wherein, starting from row 2, the seats in each row are moved upwards by K pixels more than the seats in the previous row, thereby achieving the effect of reducing the row pitch.
Increasing the seat distance:
in conjunction with the list of morph sliders shown in FIG. 2b, the user may slide the seat distance slider to the right, indicating that the seat distance between the selected at least one seat is increased. For a computing device, it may be determined that the deformed slider being slid is a pitch slider and the sliding direction thereof is to the right, it may be determined that the pitch between the selected at least one seat needs to be increased, and further, it may be determined that the target seats in each row other than the head seat are the target seats, and that the target seats in the same row are moved to the right and by (M-1) × K pixels. Where M denotes the number of seats of the target seat in the seat row to which it belongs, K denotes the number of pixels indicated by the deformation parameter, M, K is a positive integer, and M is 2 or more.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; re-rendering the position of each target seat on the seating chart interface according to the new coordinates of each target seat in each row results in the seat arrangement effect after increasing the seat distance as shown in fig. 6. As shown in fig. 6, starting with the 2 nd seat, each seat moves K pixels more to the right than its previous seat, thereby achieving the effect of seat distance widening.
And (3) reducing the seat distance:
in conjunction with the list of morph sliders shown in fig. 2b, the user may slide the seat distance slider to the left, indicating that the seat distance between the selected at least one seat is decreased. For a computing device, it may be determined that the deformed slider being slid is a pitch slider and the sliding direction thereof is to the left, it may be determined that the pitch between the selected at least one seat needs to be decreased, and further, it may be determined that the target seats in each row other than the head seat are the target seats, and it is determined that the target seats in the same row are moved to the left and by (M-1) × K pixels. Where M denotes the number of seats of the target seat in the seat row to which it belongs, K denotes the number of pixels indicated by the deformation parameter, M, K is a positive integer, and M is 2 or more.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; the position of each target seat on the seating chart interface is re-rendered according to the new coordinates of each target seat. Wherein, in each row, starting from the 2 nd seat, each seat is shifted to the left by K pixels more than its previous seat, thereby achieving the effect of reducing the seat distance.
Misplacement to the left:
in conjunction with the list of morph sliders shown in fig. 2b, the user can slide the malposition slider to the left, indicating that the at least one seat selected is malpositioned to the left. For a computing device, it may be determined that the deformed slider being slid is a misplaced slider and the sliding direction is leftward, it may be determined that at least one seat selected needs to be misplaced leftward, and further, it may be determined that the seats in each row are all target seats, it is determined that the target seat in the base row moves leftward by K pixels, and it is determined that the target seat in the even row moves rightward by K pixels. Wherein K represents the number of pixels indicated by the deformation parameter, and K is a positive integer.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; the position of each target seat on the seat map interface is re-rendered according to the new coordinates of each target seat, so that the effect of row-to-row staggering can be achieved.
And (3) dislocation to the right:
in conjunction with the list of morph sliders shown in FIG. 2b, the user can slide the shift slider to the right, indicating that the at least one seat selected is shifted to the right. For the computing device, the slid deformation slider can be determined to be a dislocation slider, the sliding direction of the slid deformation slider is rightward, the selected at least one seat can be determined to be dislocated rightward, then the seats in all the rows can be used as target seats, the target seats in the basic row are determined to move rightward by K pixels, and the target seats in the even row are determined to move leftward by K pixels. Wherein K represents the number of pixels indicated by the deformation parameter, and K is a positive integer.
Then, the computing device calculates new coordinates of each target seat according to the determined moving direction of each target seat and the number of pixels moving in the moving direction; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat to obtain the seat arrangement effect after rightward dislocation as shown in fig. 7. As shown in FIG. 7, the seats in the base and even rows are shifted by K pixels to the right and left, respectively, thereby achieving the effect of staggering the rows.
Attention is paid to: the above various modifications are merely exemplary and are not intended to limit the modification operations of the present application. It will be obvious to those skilled in the art that variations may be made in the embodiments of the present application without inventive step, based on the above-described examples.
In the above different examples, parameters such as N, M, K have the same physical meaning, but the same parameter may have different values in different examples.
Further, the above examples of the deforming operation are described on the premise that "the positional relationship of the selected at least one seat in the temporary block is horizontally arranged in the forward direction from left to right", but the deforming operation in the embodiment of the present application is not limited to this premise, and the same applies to the case where the positional relationship of the at least one seat in the temporary block is arranged in a non-horizontal direction or a reverse direction. The reverse arrangement is relative to the forward arrangement, and the forward arrangement refers to a seat arrangement mode that the distance between each row and the stage is farther and farther along with the increase of the number of rows on the stage; correspondingly, the reverse arrangement refers to a seat arrangement mode that the distance between each row and the stage is closer and closer along with the increase of the number of the rows of the stage below the stage.
For the situation that the position relation of the at least one selected seat in the temporary block is in non-horizontal arrangement or reverse arrangement, the target seat required to move for the type of deformation operation and the moving direction of the target seat can be determined by combining the position relation that the at least one seat is in non-horizontal arrangement or reverse arrangement in the temporary block; then, the slope of the vector formed by the target seats in the same row is calculated, and the moving distance of each target seat in the moving direction is calculated according to the slope and the deformation parameter. Further, the computing device may calculate new coordinates for each target seat based on the determined direction of movement and distance moved in the direction of movement for each target seat; and re-rendering the position of each target seat on the seat map interface according to the new coordinates of each target seat, and finishing the deformation operation.
It should be noted that the seat arrangement deformation method provided in the foregoing embodiment of the present application may be applied to a ticketing system, and specifically may be applied to a process in which the ticketing system issues a seat map to the outside, but is not limited to the ticketing system, and all application scenarios with requirements for drawing the seat map are applicable to the embodiment of the present application. In the following embodiment shown in fig. 8a, an application process of the technical solution of the present application will be described by taking a process of issuing a seat bitmap externally by a ticketing system as an example.
Fig. 8a is a schematic diagram of a ticketing system and a seat map issuing process thereof according to an exemplary embodiment of the present application. As shown in fig. 8a, the ticketing system includes: a server 801 and a terminal device 802 on the user side. The terminal device 802 has one or more devices, and the plurality of devices herein means two or more devices. The terminal device 802 may be a personal computer, a smart phone, a tablet computer, or the like.
In this embodiment, the server 801 has an online ticketing function on the one hand and can provide an online seat selection function for the user on the other hand. In order to provide the online seat selection function for the user, a drawing tool, such as cavans, may be installed on the server 801 to provide the seat map drawing function for the seat map publisher; the seat map publisher can draw a seat map with the same arrangement as the actual seats of the venue by using a drawing tool on the server and publish the final seat map to the user, so that the user can check the seat map through the internet by using the terminal device 802 of the user and select seats on line based on the seat map.
During the process of drawing a seating diagram by a seating diagram publisher, a drawing tool, such as cavans, on the server 801 may be initiated, which may provide a seating diagram interface to the seating diagram publisher. The style and style of the seating chart interface provided by different drawing tools may be different, and this is not limited in the embodiments of the present application. The seat map publisher can add a plurality of seat blocks containing corresponding row number and seat number on the seat map interface according to the row number of seats in the venue and the seat number of each row. Each seat block contains the same number of rows of seats as the actual number of seats in the venue, but the arrangement of the seats in the seat block may differ from the actual arrangement of the seats in the venue. In order to ensure that a user can accurately select seats online according to a seen seat map when the arrangement of the seats in the seat block is different from the actual seat arrangement in the venue, it is necessary to deform the arrangement of the seats added on the seat map interface according to the actual seat arrangement in the venue before the seat map is published, wherein the deformation includes but is not limited to: radian deformation, rotation deformation, inclination deformation, dislocation deformation and the like.
In order to improve the flexibility and convenience of deformation of the arrangement among seats, in this embodiment, a concept of a temporary block is added, a seat map publisher can select a plurality of continuous seats from a seat map interface as required, form the seats into the temporary block, then send out a seat arrangement deformation instruction, obtain the type and deformation parameters of the seat arrangement deformation operation, and further perform the type deformation operation on the arrangement among the seats by combining the position relation and the deformation parameters of the seats in the temporary block. For example, the rotational deformation is performed according to the orientation of the stage, which is not necessarily directly above the stage, and if the seat is in another orientation, the seat is rotated to face the stage; the radian deformation and the inclination deformation need to be determined according to the shape of a stadium map to determine whether the deformation such as radian, inclination and the like needs to be carried out; dislocation distortion is a specific requirement for some venues, for example, the actual patterns of seat construction in some venues are dislocated, so that dislocation is required when drawing seat maps. The ultimate goal of these variants is to map out the seating arrangement to be the same as the actual seating arrangement in the venue. For specific embodiments of various modifications of the arrangement between the seats included in the temporary block, reference may be made to the description of the foregoing embodiments, which are not repeated herein.
After the seat map publisher adjusts the arrangement among the seats, a seat map consistent with the actual seat arrangement in the venue can be formed, and then the seat map is published on the terminal device 802 of the user by using the seat map publishing function provided by the server 801, so that the user can select seats on line through the terminal device 802 of the user when necessary.
Optionally, the seating chart publishing functionality provided by the server 801 is associated with its product form. For example, the server 801 may be implemented as a web server 801, and the web server 801 may make the seating chart into a web page and provide the link address of the web page to the user; the user can open the seat map web page provided by the web server 801 by accessing the link address using the browser on the terminal device 802, and can further select a seat required by the user on the seat map web page. For another example, the server 801 may be implemented as an application server 801, and a corresponding App is installed on the terminal device 802 of the user, based on which, the application server 801 may make a seat of the seat map into an application page, and the user may open the corresponding App on the terminal device 802, enter the application page containing the seat map in the App, and further may select a seat required by the user on the application page containing the seat map.
It should be noted that the seat map publishing personnel participates in the seat map publishing process, but those skilled in the art can understand that the seat map publishing personnel is not necessary, and the whole seat map publishing process can be fully automated. In addition, the "user" mentioned in the above embodiments refers to a consumer of the ticketing system, i.e., a person who needs to purchase seats provided by the ticketing system and enjoy various kinds of performance services provided by the ticketing system, and is different from the "seat map issuing person".
It should be noted that in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 101, 102, etc., are merely used for distinguishing different operations, and the sequence numbers do not represent any execution order per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
Fig. 8b is a schematic structural diagram of a computing device according to an exemplary embodiment of the present application. As shown in fig. 8b, the computing device includes: memory 81, processor 82, and display screen 83.
The display screen 83 serves as an interactive interface between the computing device and the user and may display various information, such as a seating chart interface. In addition to this, the screen of the display screen 83 may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The memory 81 is used for storing computer programs and may be configured to store other various data to support operations on the computing device. Examples of such data include instructions for any application, software, or method operating on the computing device, contact data, phonebook data, messages, pictures, videos, and so forth.
The memory 81 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 82 coupled to the memory 81 for executing the computer program in the memory 81 for: in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block; responding to the seat arrangement deformation instruction, and acquiring the type and deformation parameters of the seat arrangement deformation operation; and performing the type of deformation operation on the arrangement between at least one seat by combining the position relation and the deformation parameters of the at least one seat in the temporary block.
In an alternative embodiment, the display screen 83 is also used for: and displaying a deformation sliding block list on the seat map interface, wherein the deformation sliding block list comprises at least one deformation sliding block, and one deformation sliding block corresponds to one type of seat arrangement deformation operation. Based on this, the processor 82, when obtaining the type of seat arrangement deformation operation and the deformation parameters, is specifically configured to: determining a deformed slider to be slid and a sliding direction in response to a sliding operation of a user on the deformed slider in the deformed slider list; determining the type of seat arrangement deformation operation according to the slid deformation sliding block and the sliding direction, and acquiring the deformation parameters bound with the type.
In an optional embodiment, the computing device further includes an audio component 84. An audio component 84 may be configured to output and/or input audio signals. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals. Based on this, the audio component 84 can receive a first speech signal uttered by the user; the processor 82, when obtaining the type of seat arrangement deformation operation and the deformation parameters, is specifically configured to: the type of seat arrangement morphing operation and the morphing parameter are parsed from the first speech signal. Alternatively, the audio component 84 may receive a second voice signal emitted by the user; the processor 82, when obtaining the type of seat arrangement deformation operation and the deformation parameters, is specifically configured to: and analyzing the type of the seat arrangement deformation operation from the second voice signal, and acquiring the deformation parameter bound with the type.
In an alternative embodiment, the display screen 83 of the computing device supports touch operations. Based on this, the processor 82, when obtaining the type of seat arrangement deformation operation and the deformation parameters, is specifically configured to: detecting gesture operation sent by a user on a seat map interface; and acquiring the type and the deformation parameters of the seat arrangement deformation operation corresponding to the detected gesture operation based on the mapping relation among preset gestures, the type of the seat arrangement deformation operation and the deformation parameters.
In an alternative embodiment, the processor 82, when performing said type of deformation operation on the arrangement between at least one seat, is specifically configured to: determining a target seat to be moved when the type of deformation operation is performed and a moving track of the target seat by combining the position relation of the at least one seat in the temporary block and the deformation parameters; and adjusting the position of the target seat on the seat map interface according to the moving track of the target seat so as to realize the type of deformation operation.
Further, when determining the target seat and the movement locus of the target seat, the processor 82 is specifically configured to: and determining a target seat to be moved for carrying out the type of deformation operation and the moving direction and the moving distance of the target seat in the moving direction by combining the position relation of at least one seat in the temporary block and the deformation parameters. The moving direction and the moving distance in the moving direction of the target seat form a moving locus of the target seat.
In one case, at least one seat is disposed in the temporary block in a horizontal forward direction from left to right. In this case, the processor 82, when determining the target seat and the moving direction and the moving distance of the target seat, is specifically configured to:
if the type indicates upward radian deformation, taking other seats in each row except for the head and tail seats as target seats, determining the number of pixels of the target seats positioned at the middle position, which move upwards and are indicated by the deformation parameter, and gradually reducing the number of pixels of the target seats positioned at other positions, which move upwards and move with the gradually increasing distance from the target seats positioned at the middle position;
if the type indicates downward arc deformation, taking other seats in each row except the head and tail seats as target seats, determining the number of pixels of the target seats located at the middle position which move downwards and are indicated by the deformation parameter, and gradually reducing the number of pixels of the target seats located at the other positions which move downwards and are moved with the gradually increasing distance from the target seats located at the middle position;
if the type indicates deformation of left inclination, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move to the left and move by (N-1) × K pixels;
if the type indicates right-oblique deformation, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move to the right and move by (N-1) × K pixels;
if the type indicates that the row distance is increased, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move downwards and move by (N-1) × K pixels;
if the type indicates that the row distance is reduced, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move upwards by (N-1) × K pixels;
if the type indicates that the seat distance is increased, taking other seats except the head seat in each row as target seats, and determining that the target seats in the same row move rightwards and move by (M-1) × K pixels;
if the type indicates that the seat distance is reduced, taking other seats except the head seat in each row as target seats, and determining that the target seats in the same row move to the left by (M-1) K pixels;
if the type indicates that the seats in each row are misplaced leftwards, determining that the target seats in the basic rows move leftwards by K pixels and the target seats in the even rows move rightwards by K pixels, wherein the target seats in the basic rows are all used as target seats;
if the type indicates right malposition, all seats in each row are used as target seats, the target seats in the basic number row move rightwards by K pixels, and the target seats in the even number row move leftwards by K pixels;
wherein N represents the number of rows in which the target seat is located, M represents the number of seats in the seat row to which the target seat belongs, K represents the number of pixels indicated by the deformation parameter, N, K is a positive integer, and N, M is each equal to or greater than 2.
In another case, at least one seat is disposed in the temporary block in a non-horizontal or reverse arrangement. In this case, the processor 82, when determining the target seat and the moving direction and the moving distance of the target seat, is specifically configured to: determining a target seat required to be moved for the type of deformation operation and the moving direction of the target seat by combining the position relation of at least one seat in non-horizontal arrangement or reverse arrangement in the temporary block; and calculating the slope of a vector formed by the target seats in the same row, and calculating the moving distance of each target seat in the moving direction according to the slope and the deformation parameters.
In an alternative embodiment, the processor 82, when adjusting the position of the target seat on the seating chart interface, is specifically configured to: taking the terminal coordinates of the moving track of the target seat as new coordinates of the target seat; the position of the target seat on the seating map interface is re-rendered according to the new coordinates of the target seat to implement the type of morphing operation described above.
Further optionally, the display screen 83 may also display the course of the target seat moving along its movement trajectory on the seat map interface during the deformation operation of the type described by the processor 82 to enable visualization of the deformation course. Furthermore, if the deformation operation of the type is continuously performed for a plurality of times aiming at the selected at least one seat, the visualization processes of the deformation operation for the plurality of times are connected, so that an animation effect can be generated, the interestingness of the deformation operation for the seat arrangement is increased, and the user experience is improved.
Further, as shown in fig. 8b, the computing device further comprises: communications components 85, power components 86, and the like. Only some of the components are schematically shown in fig. 8b, and the computing device is not meant to include only the components shown in fig. 8 b.
The communication component 85 is configured to facilitate wired or wireless communication between the device in which the communication component is located and other devices. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component may further include a Near Field Communication (NFC) module, Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and the like.
The power supply 86 provides power to various components of the device in which the power supply is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
Accordingly, the present application also provides a computer readable storage medium storing a computer program, which when executed by one or more processors causes the one or more processors to implement the steps in the above method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (16)

1. A seat arrangement modification method, comprising:
in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block;
responding to the seat arrangement deformation instruction, and acquiring the type and deformation parameters of the seat arrangement deformation operation;
and performing the type of deformation operation on the arrangement between the at least one seat by combining the position relation of the at least one seat in the temporary block and the deformation parameter.
2. The method of claim 1, further comprising:
displaying a deformation sliding block list on the seat map interface, wherein the deformation sliding block list comprises at least one deformation sliding block, and one deformation sliding block corresponds to one type of seat arrangement deformation operation;
acquiring the type and the deformation parameters of the seat arrangement deformation operation in response to the seat arrangement deformation instruction, wherein the method comprises the following steps:
determining a deformed slider to be slid and a sliding direction in response to a sliding operation of a deformed slider in the deformed slider list by a user;
and determining the type of seat arrangement deformation operation according to the slid deformation sliding block and the sliding direction, and acquiring the deformation parameters bound with the type.
3. The method of claim 1, wherein obtaining the type of seat arrangement deformation operation and the deformation parameters in response to the seat arrangement deformation instruction comprises:
receiving a first voice signal sent by a user, and analyzing the type and the deformation parameters of the seat arrangement deformation operation from the first voice signal; or
And receiving a second voice signal sent by a user, analyzing the type of the seat arrangement deformation operation from the second voice signal, and acquiring the deformation parameter bound with the type.
4. The method of claim 1, wherein obtaining the type of seat arrangement deformation operation and the deformation parameters in response to the seat arrangement deformation instruction comprises:
detecting gesture operation sent by a user on a seat map interface; and acquiring the type and the deformation parameters of the seat arrangement deformation operation corresponding to the detected gesture operation based on the mapping relation among preset gestures, the type of the seat arrangement deformation operation and the deformation parameters.
5. The method according to any one of claims 1 to 4, wherein said type of deformation operation of the arrangement between said at least one seat, in combination with the positional relationship of said at least one seat in said temporary block and said deformation parameter, comprises:
determining a moving track of a target seat to be moved when the type of deformation operation is performed by combining the position relation of the at least one seat in the temporary block and the deformation parameters;
and adjusting the position of the target seat on the seat map interface according to the movement track of the target seat so as to realize the type of deformation operation.
6. The method of claim 5, wherein determining a movement trajectory of a target seat to be moved when performing the type of morphing operation in combination with the positional relationship of the at least one seat in the temporary block and the morphing parameter comprises:
and determining the moving direction and the moving distance in the moving direction of the target seat required to move for carrying out the type of deformation operation by combining the position relation of the at least one seat in the temporary block and the deformation parameters.
7. The method of claim 6, wherein the at least one seat is positioned in the temporary block in a left-to-right horizontal forward arrangement;
determining a moving direction and a moving distance in the moving direction of a target seat to be moved for performing the type of deformation operation, in conjunction with the positional relationship of the at least one seat in the temporary block and the deformation parameter, including:
if the type indicates upward radian deformation, taking other seats in each row except for the head and tail seats as target seats, determining the number of pixels of the target seats positioned at the middle position, which move upwards and are indicated by the deformation parameter, and gradually reducing the number of pixels of the target seats positioned at other positions, which move upwards and move with the gradually increasing distance from the target seats positioned at the middle position;
if the type indicates downward arc deformation, taking other seats in each row except the head and tail seats as target seats, determining the number of pixels of the target seats located at the middle position which move downwards and are indicated by the deformation parameter, and gradually reducing the number of pixels of the target seats located at the other positions which move downwards and are moved with the gradually increasing distance from the target seats located at the middle position;
if the type indicates deformation of left inclination, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move to the left and move by (N-1) × K pixels;
if the type indicates right-oblique deformation, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move to the right and move by (N-1) × K pixels;
if the type indicates that the row distance is increased, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move downwards and move by (N-1) × K pixels;
if the type indicates that the row distance is reduced, taking the seats in other rows except the 1 st row as target seats, and determining that the target seats in the same row move upwards by (N-1) × K pixels;
if the type indicates that the seat distance is increased, taking other seats except the head seat in each row as target seats, and determining that the target seats in the same row move rightwards and move by (M-1) × K pixels;
if the type indicates that the seat distance is reduced, taking other seats except the head seat in each row as target seats, and determining that the target seats in the same row move to the left by (M-1) K pixels;
if the type indicates that the seats in each row are misplaced leftwards, determining that the target seats in the basic rows move leftwards by K pixels and the target seats in the even rows move rightwards by K pixels, wherein the target seats in the basic rows are all used as target seats;
if the type indicates right malposition, all seats in each row are used as target seats, the target seats in the basic number row move rightwards by K pixels, and the target seats in the even number row move leftwards by K pixels;
wherein N represents the number of rows in which the target seat is located, M represents the number of seats in the seat row to which the target seat belongs, K represents the number of pixels indicated by the deformation parameter, N, K is a positive integer, and N, M is each equal to or greater than 2.
8. The method of claim 6, wherein the at least one seat is positioned in the temporary block in a non-horizontal or inverted arrangement;
determining a moving direction and a moving distance in the moving direction of a target seat to be moved for performing the type of deformation operation, in conjunction with the positional relationship of the at least one seat in the temporary block and the deformation parameter, including:
determining the moving direction of a target seat which needs to be moved for carrying out the type of deformation operation according to the position relation of the at least one seat in the temporary block in non-horizontal arrangement or reverse arrangement;
and calculating the slope of a vector formed by the target seats in the same row, and calculating the moving distance of each target seat in the moving direction according to the slope and the deformation parameters.
9. The method of claim 5, wherein adjusting the position of the target seat on the seating chart interface according to the movement trajectory of the target seat to achieve the type of morphing operation comprises:
taking the terminal coordinates of the moving track of the target seat as new coordinates of the target seat;
and according to the new coordinates of the target seat, re-rendering the position of the target seat on the seat mapping chart interface so as to realize the type of deformation operation.
10. The method of claim 5, further comprising:
displaying, on the seating chart interface, a course of movement of the target seat along its movement trajectory during the type of deformation operation.
11. A computing device, comprising: a memory, a processor and a display screen;
the display screen is used for displaying a seat map interface;
the memory for storing a computer program;
the processor to execute the computer program to:
in response to a seat selection operation on the seat map interface, determining at least one seat that is selected; wherein the at least one seat forms a temporary block;
responding to the seat arrangement deformation instruction, and acquiring the type and deformation parameters of the seat arrangement deformation operation;
and performing the type of deformation operation on the arrangement between the at least one seat by combining the position relation of the at least one seat in the temporary block and the deformation parameter.
12. The computing device of claim 11,
the display screen is further configured to: displaying a deformation sliding block list on the seat map interface, wherein the deformation sliding block list comprises at least one deformation sliding block, and one deformation sliding block corresponds to one type of seat arrangement deformation operation;
the processor is specifically configured to: determining a deformed slider to be slid and a sliding direction in response to a sliding operation of a deformed slider in the deformed slider list by a user; and determining the type of seat arrangement deformation operation according to the slid deformation sliding block and the sliding direction, and acquiring the deformation parameters bound with the type.
13. The computing device of claim 11, wherein the processor is specifically configured to:
determining a moving track of a target seat to be moved when the type of deformation operation is performed by combining the position relation of the at least one seat in the temporary block and the deformation parameters;
and adjusting the position of the target seat on the seat map interface according to the movement track of the target seat so as to realize the type of deformation operation.
14. The computing device of claim 13, wherein the processor is specifically configured to: and determining the moving direction and the moving distance in the moving direction of the target seat required to move for carrying out the type of deformation operation by combining the position relation of the at least one seat in the temporary block and the deformation parameters.
15. The computing device of claim 13, wherein the processor is specifically configured to: taking the terminal coordinates of the moving track of the target seat as new coordinates of the target seat; and according to the new coordinates of the target seat, re-rendering the position of the target seat on the seat mapping chart interface so as to realize the type of deformation operation.
16. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by one or more processors, causes the one or more processors to implement the steps of the method of any one of claims 1-10.
CN201910148756.3A 2019-02-28 2019-02-28 Seat arrangement deformation method, computing device, and storage medium Withdrawn CN111625164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910148756.3A CN111625164A (en) 2019-02-28 2019-02-28 Seat arrangement deformation method, computing device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910148756.3A CN111625164A (en) 2019-02-28 2019-02-28 Seat arrangement deformation method, computing device, and storage medium

Publications (1)

Publication Number Publication Date
CN111625164A true CN111625164A (en) 2020-09-04

Family

ID=72270715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910148756.3A Withdrawn CN111625164A (en) 2019-02-28 2019-02-28 Seat arrangement deformation method, computing device, and storage medium

Country Status (1)

Country Link
CN (1) CN111625164A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011099577A1 (en) * 2010-02-15 2011-08-18 シャープ株式会社 Information processing device, terminal device, information processing system, method of control of information processing device, control program, and computer-readable recording medium whereupon the program is recorded
CN106095266A (en) * 2016-06-01 2016-11-09 珠海市魅族科技有限公司 A kind of control exposure method and apparatus
CN106682845A (en) * 2017-01-06 2017-05-17 宁波猎票网络技术有限公司 Method and system for quickly selecting seat in stadium
CN108447106A (en) * 2018-03-12 2018-08-24 北京红马传媒文化发展有限公司 The generation method and device of venue seating maps
US20190012633A1 (en) * 2017-07-10 2019-01-10 Broker Genius, Inc. Default venue maps

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011099577A1 (en) * 2010-02-15 2011-08-18 シャープ株式会社 Information processing device, terminal device, information processing system, method of control of information processing device, control program, and computer-readable recording medium whereupon the program is recorded
CN106095266A (en) * 2016-06-01 2016-11-09 珠海市魅族科技有限公司 A kind of control exposure method and apparatus
CN106682845A (en) * 2017-01-06 2017-05-17 宁波猎票网络技术有限公司 Method and system for quickly selecting seat in stadium
US20190012633A1 (en) * 2017-07-10 2019-01-10 Broker Genius, Inc. Default venue maps
CN108447106A (en) * 2018-03-12 2018-08-24 北京红马传媒文化发展有限公司 The generation method and device of venue seating maps

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAVID C. FRATAMICO等: "Experimental study on the composite action in sheathed and bare built-up cold-formed steel columns" *
兰建军;潘凤红;: "图书馆阅览室座位信息管理系统" *

Similar Documents

Publication Publication Date Title
US10782844B2 (en) Smart whiteboard interactions
CN103576848B (en) Gesture operation method and gesture operation device
US20190095014A1 (en) System and method of page sharing by a device
US9360992B2 (en) Three dimensional conditional formatting
CN102754352B (en) Method and apparatus for providing information of multiple applications
KR101899819B1 (en) Mobile terminal and method for controlling thereof
US20130257770A1 (en) Controlling and editing media files with touch gestures over a media viewing area using a touch sensitive device
CN103097996A (en) Motion control touch screen method and apparatus
CN104350495A (en) Managing objects in panorama display to navigate spreadsheet
CN102880393A (en) Dynamic display of an icon on a small screen
CN106896997B (en) Sliding control method and device and sliding block selector
CN112783398A (en) Display control and interaction control method, device, system and storage medium
CN105190509A (en) Providing content rotation during scroll action
CN102385453B (en) Signal conditioning package and control method thereof
JP2023549764A (en) Table view display method, device and electronic equipment
WO2017097142A1 (en) Interface operation processing method and apparatus, and a smart terminal
CN111625164A (en) Seat arrangement deformation method, computing device, and storage medium
CN114612584B (en) Image processing method, device, equipment and storage medium
CN114442845A (en) Writing track rendering method and device, writing screen equipment and storage medium
CN103180806A (en) Portable display device, operation control method therefor, and program therefor
CN110058751B (en) Method and device for selecting electronic document content
CN114706512B (en) Three-dimensional live-action information display method, equipment and storage medium
KR20140108849A (en) Method and apparatus for inputting information
CN116166242B (en) Canvas-based measurement card implementation method, device and storage medium
CN114661202B (en) Online home decoration method, equipment and storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200904