Seat selection method, computing device and storage medium
By determining at least two selection points on the seat distribution display interface and generating a closed area, the problem of difficulty in quickly and accurately selecting seats in online ticket sales is solved, and a more flexible and efficient seat selection experience is achieved.
Patent Information
- Application Number
- CN201910655936.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-19
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2039-07-19
AI Technical Summary
The prior art is difficult to provide an effective method that can meet the flexibility of seat selection, especially in online ticketing scenarios, where it is difficult for users to quickly and accurately select the seat they want.
By determining at least two selection points on the seat distribution display interface, the closed area for selecting a seat is determined according to these selection points, allowing the user to select seats according to this closed area.
This method improves the flexibility and operation simplicity of seat selection, can meet the business scenarios of selecting a large number of seats, and improves the user's operating experience.
Smart Images

Figure CN112241796B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a seat selection method, a computing device and a storage medium. Background Art
[0002] With the development of information technology, more and more users can realize many functions through programs set up on computers, such as online ticket sales, online entertainment, online video live broadcast and other functions. Among them, online ticket sales are for users to watch activities, such as performance consumption, providing users with content information of activities, and using Internet media channels to provide users with online ticket purchase and offline viewing services. For example, online movie ticket sales, online concert ticket sales, and online drama ticket sales, etc. However, whether before or after online ticket sales, there is a need to select seats. Summary of the invention
[0003] Multiple aspects of the present application provide a seat selection method, a computing device, and a storage medium to meet the demand for flexibility in seat selection.
[0004] An embodiment of the present application provides a seat selection method, comprising: determining at least two selection points on a seat distribution display interface; and determining a closed area for selecting a seat based on the at least two selection points.
[0005] An embodiment of the present application also provides a seat selection method, comprising: determining at least two selection points on a seat distribution display interface; determining a closed area for selecting seats based on the at least two selection points; and determining seats within the closed area as selected seats.
[0006] An embodiment of the present application also provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program to: determine at least two selection points on a seat distribution display interface; and determine a closed area for selecting a seat based on the at least two selection points.
[0007] An embodiment of the present application also provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program to: determine at least two selection points on a seat distribution display interface; determine a closed area for selecting seats based on the at least two selection points; and determine seats within the closed area as selected seats.
[0008] An embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors implement the steps in the above method.
[0009] In an embodiment of the present application, at least two selection points are determined on the seat distribution display interface; based on the at least two selection points, a closed area for selecting seats is determined, so that seats can be selected based on this closed area, meeting the flexibility requirements for selecting seats, and the seat selection method is simpler to operate, and can meet the business scenario of selecting a large number of seats, thereby improving the user's operating experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0011] Figure 1A This is a structural schematic diagram of a seat selection system according to an exemplary embodiment of the present application;
[0012] Figure 1B This is a structural schematic diagram of a seat selection system according to an exemplary embodiment of the present application;
[0013] Figure 2 This is a flowchart of a seat selection method according to an exemplary embodiment of the present application;
[0014] Figure 3A A schematic diagram of a seat distribution display interface provided by an exemplary embodiment of the present application;
[0015] Figure 3B A schematic diagram of a viewing area provided for an exemplary embodiment of the present application;
[0016] Figure 4 A schematic diagram of an interface for enlarging seat distribution provided by an exemplary embodiment of the present application;
[0017] Figure 5A A schematic diagram of an interface for selecting point connection lines provided by an exemplary embodiment of the present application;
[0018] Figure 5B A schematic diagram of a closed graphic interface provided by an exemplary embodiment of the present application;
[0019] Figure 6 A schematic diagram of an interface of a closed area provided for an exemplary embodiment of the present application;
[0020] Figure 7 A schematic diagram of a confirmed seat interface provided by an exemplary embodiment of the present application;
[0021] Figure 8 A schematic diagram of interfaces of multiple closed areas provided for an exemplary embodiment of the present application;
[0022] Fig. 9 A flowchart of a seat selection method according to another exemplary embodiment of the present application is shown;
[0023] Fig.10 A schematic diagram of the structure of a seat selection device provided by an exemplary embodiment of the present application;
[0024] Fig.11 A schematic structural diagram of a seat selection device provided for another exemplary embodiment of the present application;
[0025] Fig.12 A schematic diagram of the structure of a computing device provided for another exemplary embodiment of the present application;
[0026] Fig.13 A schematic diagram of the structure of a computing device provided for yet another exemplary embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0028] Before online ticket sales, due to business needs, multiple seats can be set up in advance for venues or places for different performances or events, such as reserved seats, etc. However, when users set seats, since multiple seats need to be set up, the seat selection method becomes particularly important. The existing seat selection method cannot help users choose the seats they want conveniently, quickly and accurately.
[0029] In an embodiment of the present application, at least two selection points are determined on the seat distribution display interface; based on the at least two selection points, a closed area for selecting seats is determined, so that seats can be selected based on this closed area, meeting the flexibility requirements for selecting seats, and the seat selection method is simpler to operate, and can meet the business scenario of selecting a large number of seats, thereby improving the user's operating experience.
[0030] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0031] Figure 1A This is a schematic diagram of a seat selection system provided by an exemplary embodiment of the present application. Figure 1A As shown, the selection system 100A may include: a first device 101 and a second device 102 .
[0032] Among them, the first device 101 can be any computing device with a certain computing capability. The basic structure of the first device 101 can include: at least one processor. The number of processors depends on the configuration and type of the first device 101. The first device 101 can also include a memory, which can be volatile, such as RAM, or non-volatile, such as read-only memory (ROM), flash memory, etc., or can also include both types. The memory usually stores an operating system (OS), one or more application programs, and can also store program data, etc. In addition to the processing unit and the memory, the first device 101 also includes some basic configurations, such as a network card chip, an IO bus, a display component, and some peripheral devices. Optionally, some peripheral devices may include, for example, a keyboard, a mouse, an input pen, a printer, etc. Other peripheral devices are well known in the art and will not be described in detail here. Optionally, the first device 101 can be an intelligent terminal, such as a mobile phone, a tablet computer, a desktop computer, etc.
[0033] The second device 102 refers to a device that can provide computing and processing services in a network virtual environment, and generally refers to a server that uses the network to store information. In physical implementation, the second device 102 can be any device that can provide computing services, respond to service requests, and perform processing, such as a conventional server, a cloud server, a cloud host, a virtual center, etc. The second device 102 mainly includes a processor, a hard disk, a memory, a system bus, etc., which is similar to a general computer architecture.
[0034] In the example of the present application, the first device 101 is used to obtain seat distribution information, such as an SVG map of seat distribution, from the second device 102, and display a seat distribution display interface to a user (such as an organizer of a performance or event or other user) according to the map. The first device 101, in response to a selection operation of a selection point, determines at least two selection points on the seat distribution display interface; and determines a closed area for selecting a seat according to the at least two selection points.
[0035] In some examples, the first device 101 is used to determine the seats in the closed area and use the determined seats as selected seats, and mark the selected seats on the seat distribution display interface. The first device 101 sets the determined (i.e., selected) seats, for example, as reserved seats, and sends the setting information and seat information to the second device 102, so that the second device 102 stores the seat information and setting information, and performs corresponding operations on the seats for which information has been set when selling tickets online, such as displaying reserved seats and prompt information that reserved seats are not available for sale.
[0036] The second device 102 is used to send seat distribution information to the first device 101 according to the acquisition request sent by the first device 101, receive the determined seat information and seat setting information sent by the first device 101, and store the seat information and the corresponding setting information.
[0037] It should be noted that in the embodiment of the present application, the user may be a viewing user who is watching a performance or event, or a user who is the organizer of the performance or event, or another third-party user who hopes to obtain a seat. When the user is a viewing user, the viewing user needs to purchase a ticket for the selected seat online, and may purchase the ticket online through the first device 101, and the seat purchased by the viewing user is sent to the second device 102 for storage through the first device 101 to complete the online ticket purchase.
[0038] In the application scenario of the embodiment of the present application, for example, for the organizer user of a performance or event or other third-party user who expects to obtain a seat, the user sets the ticket information of the performance or event through the web page installed on the terminal (for example, a desktop computer or other intelligent terminal). The desktop computer obtains the seat distribution information of the venue of the xx concert from the server through the web page, and the desktop computer displays the seat distribution display interface according to the distribution information through the web page. The user performs operations on the seat distribution display interface, such as ticket price setting operations, seat reservation operations, ticket price reservation operations, etc. The web page installed on the desktop computer determines at least two selection points on the seat distribution display interface in response to the user's selection operation of the selection point; and determines a closed area for selecting seats based on the at least two selection points. And the seats in the closed area are determined, and the user sets information on these seats based on the selected seats, that is, the determined seats, such as ticket price settings, or sets these seats as reserved seats. The user can also set information for other seats to complete one or more performances or events. The web page installed on the desktop computer responds to the sending operation and sends the seat setting information and the corresponding seat information to the server. After receiving this information, the server stores it so that other users can obtain the setting information and seat distribution information corresponding to the seat information stored in the server from the terminal, and then purchase tickets online according to the displayed seat distribution information and the corresponding setting information.
[0039] In some instances, Figure 1B This is a schematic diagram of a seat selection system provided by an exemplary embodiment of the present application. Figure 1B As shown, the selection system 100B may include: a first device 101 and a second device 102. Since the implementation forms of the first device 101 and the second device 102 have been described in detail above, they will not be described again here.
[0040] In some examples, the first device 101 is used to obtain seat distribution information, such as an SVG map of seat distribution, from the second device 102, and display a seat distribution display interface to a user (such as an organizer of a performance or event or other user) according to the map. The first device 101, in response to a selection operation of a selection point, determines at least two selection points on the seat distribution display interface; and determines a closed area for selecting a seat according to the at least two selection points.
[0041] In some examples, the first device 101 determines an end point of the closed area on the seat distribution display interface; and sends the selected point and the end point of the closed area to the second device 102.
[0042] The second device 102 is used to send seat distribution information to the first device 101 according to the acquisition request sent by the first device 101, and receive the selection point and the end point of the closed area sent by the first device 101; the second device 102 determines the closed area for selecting seats according to the selection point and the end point of the closed area, and determines the display objects in the closed area, such as seats, and sends the closed area and the seats in the closed area (such as seat identifiers) to the first device 101 for display.
[0043] In some instances, the first device 101 displays a closed area and marks the seats in the closed area, sets the marked seats, for example, sets them as reserved seats, and sends the setting information and seat information to the second device 102 so that the second device 102 can store the seat information and setting information, and when selling tickets online, perform corresponding operations on the seats for which information has been set, such as displaying reserved seats and prompting information that reserved seats are not available for sale.
[0044] Since the specific implementation of the first device 101 and the second device 102 to implement seat selection has been described in detail above, and the specific implementation of the system 100B is similar to the specific implementation of the system 100A, it will not be repeated here.
[0045] In the above embodiment, the first device 101 can be connected to the second device 102 through a network, and the network connection can be a wireless or wired network connection. If the first device 101 and the second device 102 are connected in communication, the network standard of the mobile network can be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G+ (LTE+), WiMax, 5G, and other network standards generated in the future as communication technology develops.
[0046] The following is a detailed description of the process of selecting a seat by the first device 101 in conjunction with the method embodiment.
[0047] Figure 2 The flowchart of the seat selection method of an exemplary embodiment of the present application is shown in FIG. The method 200 provided in the embodiment of the present application is executed by a first device, such as a desktop computer or a mobile phone, wherein the first device can assist in executing the method 200 through user operation, and the method 200 includes the following steps:
[0048] 201: Determine at least two selection points on the seat distribution display interface.
[0049] 202: Determine a closed area for selecting a seat based on at least two selection points.
[0050] The following is a detailed description of the above steps:
[0051] 201: Determine at least two selection points on the seat distribution display interface.
[0052] The selection point refers to a point determined by a user on the interface, such as a point clicked on the interface by a mouse or touch operation.
[0053] The seat distribution display interface refers to a schematic diagram of the arrangement of seats in a venue or venue, which allows users to know the seating environment of the current performance or event.
[0054] It should be noted that unselectable seats may also be displayed in the seat distribution display interface. The unselectable seats may be set to grayscale to prompt the user that the seat is unselectable. At the same time, a prompt message may be set to prompt the user that the seat is unselectable.
[0055] In some examples, determining at least two selection points on the seating distribution display interface includes: acquiring at least two selection points in response to a selection operation of selecting a point on the seating distribution display interface.
[0056] The method of obtaining the selection point may include obtaining the selection point by clicking a mouse, or obtaining the selection point by touching an interface with a finger.
[0057] For example, a user operates on a web page installed on a desktop computer and sends a request to a server to obtain a seat distribution map of a concert venue or venue. After the web page obtains the seat distribution map, it displays it according to the map and provides the user with a seat distribution display interface.
[0058] in, Figure 3A The seat distribution display interface 300A is shown, in which multiple viewing areas 301 and a stage are displayed. Figure 3B The seat distribution 300B of the viewing area 301 is shown as an example, in which a plurality of arranged seats 302 are displayed. The user operates on the interface 300A. For better operation, the user can adjust the viewing angle and display ratio of the viewing area 301 to appropriate values, for example, to enlarge the viewing area 301. Figure 4 The interface 400 of the enlarged viewing area is shown. The enlarged viewing area 301 is displayed in the interface 400, and the user can operate on the interface 400. Figure 5A An interface 500A of connecting lines is shown. The user can click on a tool for selecting a seat, such as a lasso tool 501, in the interface 500A, and click on three points in the viewing area 301 with a mouse, namely point 502, point 503, and point 504. The desktop computer responds to the operation through the web page to determine the three points in the interface 500A.
[0059] In another embodiment, the user can also operate the ticketing APP installed on the touch-screen smart terminal (for example, a mobile phone, a tablet computer, etc.), send a request to the server, and obtain a seat distribution map in the stadium or venue of a concert. When the ticketing APP obtains the seat distribution map, it is displayed according to the map to provide the user with a seat distribution display interface. The display interface also displays multiple tool icons for selecting seats, viewing areas, and seats distributed in the viewing areas. The user's finger can click the lasso tool in the display interface through the touch screen, and click multiple points in the viewing area through the touch screen (for example, the three points 502, 503, and 504 described above). The mobile phone responds to the operation through the ticketing APP and determines the three points in the display interface. Since the specific implementation method of determining the selection point by the mouse has been elaborated in detail above, and the specific implementation method of determining the selection point by the user's finger is similar to the specific implementation method of determining the selection point by the mouse, it will not be overly repeated here.
[0060] 202: Determine a closed area for selecting a seat based on at least two selection points.
[0061] The closed area may include a polygon composed of multiple straight lines, such as a triangle, rectangle, pentagon, etc. The closed area may also include a polyhedron, which is used to select seats in the three-dimensional seat distribution display interface. The seats belonging to the closed area are the seats selected by the user.
[0062] In some instances, determining a closed area for selecting seats includes: connecting at least two selection points in sequence according to a determination order of the selection points to generate a selection point connection line; determining an end point of the closed area on a seat distribution display interface; and generating a closed area according to the selection point connection line and the end point of the closed area.
[0063] In some examples, determining the end point of the closed area includes: determining the end point of the closed area according to an indication position of the indication operation on the seat distribution display interface.
[0064] The indication operation may include a hover operation of a mouse or a click operation of a finger.
[0065] In some examples, generating a closed area includes: connecting the start point and the end point of the selection point connection line to the end point of the closed area respectively to generate a closed figure for preview; and generating a closed area from the closed figure in response to a confirmation operation.
[0066] For example, according to the above description, the user operates on the interface 500A, so that the desktop computer determines the selection points through the web page, which are point 502, point 503 and point 504 in sequence. After the selection points are determined, they are connected in the form of dotted lines according to the order of the click time of the selection points, or the order of the generation of the selection points (which can also be called the determination order of the selection points). For example, point 502 is generated by clicking first, point 503 is generated by clicking after point 502, and point 504 is generated by clicking after point 503. Then, when the desktop computer detects that there are more than two selection points through the web page, it automatically connects them, first connecting point 502 and point 503 through a dotted line, and then connecting point 503 and point 504 through a dotted line, thereby generating a connection line between the selection points. Such as the dotted line shown in the interface 500A.
[0067] When the user clicks on the interface 500A to determine the selection point, the mouse finally hovers over a point on the interface 500A. The desktop computer responds to the mouse hovering operation through the web page, and uses the mouse hovering position, i.e., the mouse indication position, as the end point of the closed area. Figure 5B The position where the mouse 505 is hovered is shown as the end point of the closed area, and the starting point 502 of the connection line is connected to the end point with a solid line, and the end point 504 of the connection line is connected to the end point of the closed area with a dotted line. A preview of a closed figure 506 is generated and displayed to the user. When the user is satisfied with the current closed figure, the user can double-click the mouse to confirm the closed figure 506. The desktop computer responds to the confirmation operation through the web page and directly generates a closed area according to the closed figure 506. Figure 6 An interface 600 of a closed area is shown, in which a finally generated closed area 601 is displayed.
[0068] Although the above-mentioned closed area is generated by a desktop computer through a web page and a mouse click operation, it should be understood by those skilled in the art that users can also generate a closed area through a smart terminal device such as a tablet computer, a mobile phone, through a web page, an application APP interface, etc., combined with touch and click operations and other methods. For example, a user can determine a selection point on the interface through a touch and click operation, and point a finger or other input device at a place on the interface. The smart terminal responds to the pointing operation of the finger or other input device, and according to the indicated position, the position is used as the end point of the closed area. Other connection methods are the same as described above and will not be repeated here.
[0069] In some examples, after the closed area is determined, the desktop computer can store the closed area so that the user can search it locally on the computer later, directly select the closed area, and display the closed area on the display interface. The closed area can be dragged according to user needs, and the final display position is determined, and the closed area generation process is not required. In some examples, after the closed area is generated, in response to the operation of selecting the closed area, draggable prompt information is displayed at the vertex of the closed area, and in response to the operation of moving the draggable prompt information, the moving position is determined, and the closed area after the moving operation is determined according to the moving position.
[0070] For example, as described above, the user clicks on the closed area with the mouse, and the desktop computer can display a draggable button at each vertex of the closed area. The user can drag the button with the mouse to deform the closed area, and determine the dragged position (i.e., moved position) of the vertex based on the drag displacement (i.e., moved displacement) of the vertex, so that the dragged vertex can replace the corresponding original vertex, and the closed area can be recalculated to determine the deformed (or moved) closed area as the final closed area.
[0071] In some examples, the method 200 further includes: determining seats within the closed area, using the determined seats as selected seats, and marking the determined seats on a seat distribution display interface.
[0072] In some examples, determining seats in a closed area includes: determining a position of a connection line between two adjacent vertices according to positions of each vertex in the closed area; and determining seats belonging to the closed area according to positions of multiple connection lines and a position of each seat.
[0073] For example, as described above, after the desktop computer determines the closed area through the web page, it determines the coordinates of each vertex according to the position of the vertices of the closed area on the interface. According to the coordinates of each vertex, the straight line equation of the connecting line between two adjacent vertices is determined, that is, the position information of the connecting line. According to the correspondence between the closed area composed of each straight line equation and the seat coordinates, the seat coordinates belonging to the closed area composed of the straight line equation are determined, thereby determining the seat belonging to the closed area. After determining the seat, the desktop computer highlights the determined seat through the web page. Among them, Figure 7 An interface 700 for determining seats is shown, in which a plurality of seats 701 are highlighted. In addition, the selected seats 701 may be indicated by marking (eg, checking) in the boxes representing the seats.
[0074] In some examples, after the selected seat is displayed on the seat distribution display interface, in response to the user's deletion operation, the corresponding seat is deleted from the selected seats, thereby making it more convenient for the user to select the desired seat.
[0075] For example, as described above, after the closed area and the selected seats in the closed area are displayed on the display interface, the user can click on the display interface with a mouse or finger to remove unwanted seats from the selected seats, such as by eliminating the selection mark in the seat icon (for example, unchecking the box). The desktop computer responds to the operation through the web, determines the removed seat, and removes the seat from the selected seats.
[0076] In some instances, the server obtains a user identification, such as a user ID, from a terminal, such as a desktop computer, and obtains user attribute information, such as user identity, user gender, user position, the name of the user's unit, etc. based on the user identification. The server can determine the seat that the user may choose based on this information or obtain the closed area corresponding to the seat that may be selected from the server locally, and determine the seat in the closed area, and send the determined seat or the obtained closed area and the seat determined from the closed area to the terminal. The terminal displays the obtained information to the user for the user to choose, thereby realizing the function of recommending seats or closed areas to the user.
[0077] It should be noted that the server can determine multiple closed areas for the user to choose from based on the user's attributes, or can directly determine multiple seats for the user to select.
[0078] In some examples, the method 200 further includes: when the generated closed area is at least two closed areas, clearing at least two closed areas on the seat distribution display interface;
[0079] Display a prompt message to inform the user that the enclosed area generated by the user is invalid.
[0080] In some examples, the method 200 further includes: when two non-adjacent edges in the generated closed area have an intersection, determining that the generated closed area is at least two closed areas.
[0081] For example, according to the foregoing, after the desktop computer determines the closed area through the web page, it determines whether there is only one closed area at present. The desktop computer determines the straight line equation of the connecting line between adjacent vertices in the closed area through the web page, and then determines whether there is an intersection between the straight line equations of two non-adjacent connecting lines. When there is an intersection, the number of current closed areas is not one, but at least two closed areas. Then the generated closed area is cleared in the interface 600, and the user is prompted that the generated closed area is illegal or does not comply with the rules, and the user is asked to re-operate to generate a closed area. When the number of closed areas is one, the seat belonging to it is determined based on the closed area. It should be noted that the user's re-operation causes the desktop computer to re-execute steps 201-202 through the web page. Among them, Figure 8 An interface 800 of multiple closed areas is shown, in which a generated closed area 803 is displayed, wherein the generated closed area 803 has two intersection points, namely, an intersection point 801 and an intersection point 802. The two intersection points are intersection points between two non-adjacent connecting lines in the closed area 803, respectively.
[0082] It should be noted that when multiple users obtain the same seat distribution information from the server at the same time, that is to say, multiple users determine the closed area for the same seat distribution display interface. After multiple users have determined the closed area, the method 200 may also include: sending the closed area to the server through a terminal, such as a computer, and when the server determines that there are all repeated selected seats in multiple closed areas, it can determine the priority seats according to the user's authority or the user's priority. For example, the server will reserve and allocate the repeatedly selected seats to the closed area corresponding to the user with the highest authority, or the closed area corresponding to the user with the highest priority. The server sends a notification message to the corresponding terminal of the user with lower authority or priority, informing the corresponding user that the relevant seat has been reserved. At the same time, the server sends the effective notification message to the corresponding terminal of the user with high priority or authority, informing the corresponding user that the seat in the closed area is available for selection.
[0083] When the server receives multiple closed areas with the same seat distribution information, and at least some seats in the multiple closed areas overlap, the multiple closed areas are from terminals of different users, and the server can process them according to the above method. The server can also prioritize the seats in the closed area corresponding to the user according to the authority order or priority order of the users. When some overlapping seats in the closed areas corresponding to other users have been validated, the server will remove the partially overlapping seats in the original closed area and validate the other seats.
[0084] In some instances, in addition to displaying a plane seat distribution map, the seat distribution display interface can also display a spatial seat distribution map. The spatial seat distribution map can be a three-dimensional map with a viewing area (for example, a three-dimensional map of a viewing area on one or more floors). The three-dimensional viewing area is distributed with spatial seats, and the user can generate a three-dimensional closed area for the three-dimensional seats in the viewing area. The closed area generated in the spatial seat distribution map is also three-dimensional, and the generation method can be similar to the process of generating a closed area in the plane seat distribution map, except that the final generated closed area is three-dimensional. When the three-dimensional closed area is finally generated, the terminal can first generate a plane closed area according to the process of generating a closed area in the plane seat distribution map, and then stretch the plane closed area according to the height of the three-dimensional seat to generate a three-dimensional closed area. That is, the closed area can also be a polyhedron.
[0085] Through the closed area of the polyhedron, users can select spatial seats in the three-dimensional seat distribution display interface; in addition, for viewing areas on multiple floors, users can also select spatial seats across floors through the closed area of the polyhedron, thereby improving the efficiency and convenience of seat selection.
[0086] It should be noted that, for the spatial seat distribution map, although the three-dimensional seats therein are displayed in a spatial form, for the user operation on the interface, the user can only use the vertices of the seats as the plane points or plane labels corresponding to the three-dimensional seats, thereby generating a plane closed area according to the process of generating a plane closed area, and then generating a three-dimensional closed area according to the height of the three-dimensional seats.
[0087] Although the seat selection is achieved through a desktop computer through a web page combined with mouse clicks, those skilled in the art should understand that users can also achieve seat selection through smart terminal devices such as tablets, mobile phones, etc. through web pages, application APP interfaces, etc. combined with touch and click operations and other methods.
[0088] Fig. 9A flowchart of another seat selection method provided by another exemplary embodiment of the present application. The method 900 provided by the embodiment of the present application is executed by a first device, such as a desktop computer, wherein the first device can assist in executing the method 900 through user operations, and the method 900 includes the following steps:
[0089] 901: Determine at least two selection points on the seat distribution display interface.
[0090] 902: Determine a closed area for seat selection based on at least two selection points.
[0091] 903: Determine seats within the enclosed area as selected seats.
[0092] It should be noted that since steps 901-903 have been explained in detail in the previous text, they will not be repeated here.
[0093] Fig.10 This is a schematic diagram of the structural framework of a seat selection device provided by an exemplary embodiment of the present application. The device 1000 can be applied to a first device, such as a desktop computer, and the device 1000 includes a first determination module 1001 and a second determination module 1002. The functions of each module are described in detail below:
[0094] The first determination module 1001 is used to determine at least two selection points on the seat distribution display interface.
[0095] The second determining module 1002 is used to determine a closed area for selecting a seat according to at least two selection points.
[0096] In some examples, the second determination module 1002 is further used to determine seats in the closed area, use the determined seats as selected seats, and mark the selected seats on the seat distribution display interface.
[0097] In some examples, the first determining module 1001 is specifically configured to: obtain at least two selection points in response to a selection operation of selecting a point on the seat distribution display interface.
[0098] In some instances, the second determination module 1002 includes: a connection unit, used to connect at least two selection points in sequence according to the determination order of the selection points to generate a selection point connection line; a determination unit, used to determine the end point of the closed area on the seat distribution display interface; and a generation unit, used to generate a closed area based on the selection point connection line and the end point of the closed area.
[0099] In some examples, the determination unit is used to determine an end point of the closed area according to an indication position of the indication operation on the seat distribution display interface.
[0100] In some examples, the generating unit is used to connect the start point and the end point of the selection point connection line with the end point of the closed area respectively to generate a closed figure for preview; in response to the confirmation operation, the closed figure is generated into a closed area.
[0101] In some instances, the device 1000 further includes: a clearing module, used to clear at least two closed areas on the seat distribution display interface when the generated closed area is at least two closed areas; and a display module, used to display prompt information to prompt the user that the generated closed area is invalid.
[0102] In some examples, the second determining module 1002 is further configured to determine that the generated closed area is at least two closed areas when two non-adjacent edges in the generated closed area have an intersection.
[0103] In some examples, the second determination module 1002 is specifically used to: determine the position of the connection line between two adjacent vertices according to the position of each vertex in the closed area; determine the seats belonging to the closed area according to the positions of multiple connection lines and the position of each seat.
[0104] In some examples, the closed region includes a polygon. The closed region includes a polyhedron.
[0105] Fig.11 A schematic diagram of the structural framework of another seat selection device provided by another exemplary embodiment of the present application. The device 1100 can be applied to a first device, such as a desktop computer; the device 1100 includes: a first determination module 1101, a second determination module 1102 and a third determination module 1103. The functions of each module are described in detail below:
[0106] The first determination module 1101 is used to determine at least two selection points on the seat distribution display interface;
[0107] The second determining module 1102 is used to determine a closed area for selecting a seat according to at least two selection points.
[0108] The third determining module 1103 is used to determine seats within the closed area as selected seats.
[0109] The above describes Fig.10 The internal functions and structure of the selection device 1000 shown in FIG. 1 are shown in FIG. 1 , in one possible design. Fig.10 The structure of the selection device 1000 shown can be implemented as a terminal device, such as a computer, such as Fig.12 As shown, the terminal device 1000 may include: a memory 1201 and a processor 1202;
[0110] Memory 1201, used for storing computer programs;
[0111] The processor 1202 is used to execute a computer program to: determine at least two selection points on the seat distribution display interface; and determine a closed area for selecting a seat based on the at least two selection points.
[0112] In some examples, the processor 1202 is further used to: determine seats in the closed area, use the determined seats as selected seats, and mark the selected seats on the seat distribution display interface.
[0113] In some examples, the processor 1202 is specifically configured to: obtain at least two selection points in response to a selection operation of selecting a point on the seat distribution display interface.
[0114] In some instances, processor 1202 is specifically used to: connect at least two selection points in sequence according to the order in which the selection points are determined to generate a selection point connection line; determine the end point of the closed area on the seat distribution display interface; and generate a closed area according to the selection point connection line and the end point of the closed area.
[0115] In some examples, the processor 1202 is specifically configured to determine an end point of the closed area according to an indication position of the indication operation on the seat distribution display interface.
[0116] In some examples, the processor 1202 is specifically used to: connect the start point and the end point of the selection point connection line to the end point of the closed area respectively to generate a closed figure for preview; and generate a closed area from the closed figure in response to a confirmation operation.
[0117] In some instances, the processor 1202 is further used to: when the generated closed area is at least two closed areas, clear at least two closed areas on the seat distribution display interface; and display a prompt message to prompt the user that the generated closed area is invalid.
[0118] In some examples, the processor 1202 is further configured to: when two non-adjacent edges in the generated closed area have an intersection, determine that the generated closed area is at least two closed areas.
[0119] In some examples, the processor 1202 is specifically used to: determine the position of a connection line between two adjacent vertices according to the positions of each vertex in the closed area; determine the seats belonging to the closed area according to the positions of multiple connection lines and the position of each seat.
[0120] In some examples, the enclosed area comprises a polygon. In some embodiments, the enclosed area comprises a polyhedron.
[0121] In addition, an embodiment of the present invention provides a computer storage medium, when the computer program is executed by one or more processors, causing the one or more processors to implement Figure 2 Steps of the seat selection method in the method embodiment.
[0122] The above describes Fig.11 The internal functions and structure of the selection device 1100 shown in FIG. 1100 are shown in FIG. 1100 . In one possible design, Fig.11 The structure of the selection device 1100 shown can be implemented as a terminal device, such as a computer, such as Fig.13 As shown, the terminal device 1300 may include: a memory 1301 and a processor 1302;
[0123] Memory 1301, used for storing computer programs;
[0124] Processor 1302 is used to execute a computer program to: determine at least two selection points on the seat distribution display interface; determine a closed area for selecting seats based on the at least two selection points; and determine seats in the closed area as selected seats.
[0125] In addition, an embodiment of the present invention provides a computer storage medium, when the computer program is executed by one or more processors, causing the one or more processors to implement Fig. 9 Steps of the seat selection method in the method embodiment.
[0126] The enclosed area described above can also be used to select other resources besides seats, such as files, pictures and other resources. Therefore, the embodiment of the present invention also provides a resource selection method, which can be applied to a first device, such as a desktop computer, a mobile phone, a tablet computer and other intelligent terminal devices, and includes:
[0127] 1401: Determine at least two selection points on the resource distribution display interface.
[0128] 1402: Determine a closed area for selecting resources based on at least two selection points.
[0129] 1403: Determine the resources within the closed area, use the determined resources as selected resources, and mark the selected resources on the resource distribution display interface.
[0130] Since the above text has described in detail how to generate a closed area and perform seat selection in the closed area, and the specific implementation method of selecting resources in this embodiment is similar to the specific implementation method of selecting seats in the above text, it will not be repeated here.
[0131] An exemplary embodiment of the present application provides a resource selection device. The device 1500 can be applied to a first device, for example, a desktop computer, a mobile phone, a tablet computer and other intelligent terminal devices, and the device 1500 includes a determination module 1501 and a marking module 1502. The functions of each module are described in detail below:
[0132] The determination module 1501 is used to determine at least two selection points on the resource distribution display interface.
[0133] The determination module 1501 is used to determine a closed area for selecting resources according to at least two selection points.
[0134] The marking module 1502 is used to determine the resources in the closed area, use the determined resources as selected resources, and mark the selected resources on the resource distribution display interface.
[0135] The internal functions and structure of the selection device 1500 are described above. In a possible design, the structure of the selection device 1500 can be implemented as a terminal device, such as a computer, a mobile phone, a tablet computer and other intelligent terminal devices. The terminal device 1600 may include: a memory 1601 and a processor 1602;
[0136] Memory 1601, used for storing computer programs;
[0137] Processor 1602 is used to execute a computer program to: determine at least two selection points on a resource distribution display interface; determine a closed area for selecting resources based on the at least two selection points; determine resources within the closed area, use the determined resources as selected resources, and mark the selected resources on the resource distribution display interface.
[0138] In addition, an embodiment of the present invention provides a computer storage medium, and when the computer program is executed by one or more processors, it causes the one or more processors to implement the steps of the resource selection method in the embodiment of the method 1400.
[0139] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 201, 202, 203, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0140] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0142] The present invention is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable multimedia data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable multimedia data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0143] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable multimedia data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0144] These computer program instructions may also be loaded onto a computer or other programmable multimedia data processing device so that a series of operational steps are executed on the computer or other programmable device to produce computer-implemented processing, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0145] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0146] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0147] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A seat selection method, characterized in that: include: In response to a selection operation of selecting a point on the seat distribution display interface, obtaining at least two selection points; Connecting the at least two selected points in sequence according to the determined order of the selected points to generate a selected point connecting line; On the seat distribution display interface, determining the end point of the closed area; Generate the closed area according to the selected point connection line and the end point of the closed area; Determine the linear equation of the connecting line between adjacent vertices in the closed area, and then determine whether there is an intersection point between the linear equations of two non-adjacent connecting lines. When there is an intersection point, the number of the closed areas is not one, but at least two closed areas; and clear the at least two closed areas on the seat distribution display interface; If there is no intersection, in response to the operation of selecting the closed area, displaying draggable prompt information at the vertices of the closed area, and displaying a draggable button at each vertex of the closed area; In response to dragging the draggable button, the closed area is deformed, and the deformed closed area is used as the final closed area; According to the positions of each vertex in the closed area, the straight line equation of the connecting line between two adjacent vertices is determined; according to the corresponding relationship between the closed area composed of each straight line equation and the seat coordinates, the seat coordinates belonging to the closed area composed of the straight line equation are determined to determine the seat in the closed area, the determined seat is used as the selected seat, and the selected seat is marked on the seat distribution display interface.
2. The method according to claim 1, characterized in that Determining the end point of the closed area includes: The end point of the closed area is determined according to the indicated position of the indicating operation on the seat distribution display interface.
3. The method according to claim 1, characterized in that The generating the closed area comprises: Connecting the starting point and the end point of the selected point connection line to the end point of the closed area respectively to generate a closed figure for preview; In response to a confirmation operation, the closed figure is generated into the closed area.
4. The method according to claim 1, characterized in that: The method further includes: displaying prompt information to prompt the user that the closed area generated is invalid.
5. The method according to any one of claims 1 to 4, characterized in that: The closed area includes a polygon.
6. The method according to any one of claims 1 to 4, characterized in that: The closed area includes a polyhedron.
7. A computing device comprising a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to: In response to a selection operation of selecting a point on the seat distribution display interface, at least two selected points are obtained; according to a determined order of the selected points, the at least two selected points are sequentially connected to generate a selected point connection line; On the seat distribution display interface, determining the end point of the closed area; Generate the closed area according to the selected point connection line and the end point of the closed area; Determine the linear equation of the connecting line between adjacent vertices in the closed area, and then determine whether there is an intersection point between the linear equations of two non-adjacent connecting lines. When there is an intersection point, the number of the closed areas is not one, but at least two closed areas; and clear the at least two closed areas on the seat distribution display interface; If there is no intersection, in response to the operation of selecting the closed area, displaying draggable prompt information at the vertices of the closed area, and displaying a draggable button at each vertex of the closed area; In response to dragging the draggable button, the closed area is deformed, and the deformed closed area is used as the final closed area; According to the positions of each vertex in the closed area, the straight line equation of the connecting line between two adjacent vertices is determined; according to the corresponding relationship between the closed area composed of each straight line equation and the seat coordinates, the seat coordinates belonging to the closed area composed of the straight line equation are determined to determine the seat in the closed area, the determined seat is used as the selected seat, and the selected seat is marked on the seat distribution display interface.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by one or more processors, the one or more processors are caused to implement the steps in the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Generation method and generation device for on-line ticket business
CN103186816A
Figure filling method, device, storage medium, processor and terminal
CN108596999A