CN106528154B - Online seat selection method, system and equipment - Google Patents

Online seat selection method, system and equipment Download PDF

Info

Publication number
CN106528154B
CN106528154B CN201610988822.4A CN201610988822A CN106528154B CN 106528154 B CN106528154 B CN 106528154B CN 201610988822 A CN201610988822 A CN 201610988822A CN 106528154 B CN106528154 B CN 106528154B
Authority
CN
China
Prior art keywords
seat
svg
static
area
seat area
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.)
Active
Application number
CN201610988822.4A
Other languages
Chinese (zh)
Other versions
CN106528154A (en
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.)
Beijing Hongma Technology Co ltd
Original Assignee
Beijing Hongma Technology Co 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 Beijing Hongma Technology Co ltd filed Critical Beijing Hongma Technology Co ltd
Priority to CN201610988822.4A priority Critical patent/CN106528154B/en
Publication of CN106528154A publication Critical patent/CN106528154A/en
Application granted granted Critical
Publication of CN106528154B publication Critical patent/CN106528154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention provides an online seat selection system and device. The method comprises the following steps: receiving an SVG image carrying a seat area identifier; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area; adding the created seat nodes into corresponding nodes in the seat area identification to generate an SVG static seat resource file; and uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface. The technical scheme provided by the invention reduces the processing times of the server to each request of the user and the pressure of the server and the database, guides the user request to the nearest service node, obtains the content more quickly and improves the response speed of the user for accessing the website. The problem that the CND static resource can not update the state in time is solved, and the problem of large data volume is solved through multiple asynchronous requests. The problems that a large stadium is dead in seat selection and blocking on line and the loading speed is low are solved, and the experience of a user when purchasing a plurality of seats is improved.

Description

Online seat selection method, system and equipment
Technical Field
The invention relates to the technical field of online seat selection, in particular to a method, a system and equipment for online seat selection.
Background
At present, most ticket service systems adopt an online seat selection technical scheme which comprises the following steps:
the first method comprises the following steps: flash-based partitions show the seat clicking a single point of seat selection. According to the scheme, a flash technology is adopted to render a stadium picture and convert coordinates of a stadium area and coordinates of seats, and corresponding seat points are constructed on the picture according to the coordinates to be displayed. When a user enters a seat selection page, a picture of a venue is loaded, areas are drawn, each area is displayed on the page, a certain picture area is clicked and then the seat selection page of the area is entered, at the moment, a seat point under the picture is loaded, and after the seat of the area is loaded, the user clicks a corresponding coordinate point to select a seat.
And the second method comprises the following steps: the full venue loading seat selection scheme is based on svg. The scheme adopts an HTML5SVG technology to load SVG pictures, and a user reads all seat information to display when entering a seat selection page.
During the research process, the inventor finds that the prior proposal has the following problems and disadvantages:
1. the seat selection scheme based on the flash depends on a third-party component, an adobe flash plug-in must be installed on a client computer browser, and the scheme cannot be executed if the adobe flash plug-in is not installed on the browser, so that a client cannot use a seat selection function. The operability is poor, only one seat can be selected by clicking once when the seat is selected, the operation is complicated, and the speed of selecting the seat by a user is influenced.
2. When seats are loaded based on the SVG whole venue, great pressure is applied to a web server and a database server, due to the fact that the data volume is large, the situation that a browser is blocked, crashed and slow in response can occur when a user enters the seat selection page, the user operation is in the seat loading page for a long time, the user experience is affected, and therefore transaction failure is caused.
3. The static resources are simply cached in the CDN, the seat static resources are obtained from the CDN, and after the seat sales state changes, the client cannot be updated in time, so that the situation that a user purchases repeatedly or purchases wrongly occurs.
Disclosure of Invention
In order to solve the technical problems, the invention provides an online seat selection method, system and device, which reduces the pressure of a server and a database and improves the seat selection speed and experience when a user purchases a plurality of seats.
The invention provides an online seat selection method on one hand, which comprises the following steps:
receiving an SVG image carrying a seat area identifier; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area;
adding the created seat nodes into the corresponding nodes in the seat area identification to generate an SVG static seat resource file;
and uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface.
Further, the receiving of the SVG image carrying the seat area identifier includes:
acquiring a seat plan of a venue; converting the seat plane image into an SVG image;
and marking a seat area identifier in an XML node of the SVG image.
Further, the analyzing out the seat area of the SVG image and adding a unique seat area identifier in the seat area includes:
identifying a seating area marker in the SVG image;
and writing the stored unique seat area identification into a seat area XML node in the SVG image to generate SVG static data.
Further, the adding the created seat node to the corresponding node in the seat area identifier to generate an SVG static seat resource file includes:
creating an SVG seat figure by adopting a label in the SVG, and marking seat nodes in the SVG seat figure;
and adding each seat node into a corresponding node in the seat area identifier of the SVG image, and generating an SVG static seat resource file containing seat information.
Further, uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface, including:
generating the static seat resource file of the SVG regularly and uploading the static seat resource file to a CDN cache regularly;
analyzing the static seat resource files of the SVG in the CDN cache by using javascript to obtain all unique seat area identifications, and grouping;
obtaining the seat node distribution under the unique seat area identification; and displaying the display states of the seats in the interface according to the distribution of the seat nodes, and setting a mouse monitoring event of each seat.
Further, the setting of the mouse listening event of each seat includes, but is not limited to:
setting a dragging concurrent request event of the mouse, a cancel event and a zoom event.
Further, after uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface, the method further includes:
receiving a seat selection request, wherein user side attribute information carried in the seat selection request is received;
and the CDN system redirects the request of the user to a server nearest to the user side in real time according to the user side attribute information.
In another aspect, the present invention provides an online seat selection system, including:
the first receiving module is used for receiving the SVG image carrying the seat area identifier; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area;
the generating module is used for adding the created seat nodes into the corresponding nodes in the seat area identification to generate SVG static seat resource files;
and the display module is used for uploading the static seat resource files of the SVG to a CDN cache at regular time and displaying the static seat resource files in an interface.
Further, the first receiving module includes:
the acquisition unit is used for acquiring a seat plan of the venue; converting the seat plane image into an SVG image;
the marking unit is used for marking a seat area identifier in an XML node of the SVG image;
an identification unit for identifying a seat area mark in the SVG image;
and the writing unit is used for writing the stored unique seat area identifier into a seat area XML node in the SVG image and generating SVG static data.
Further, the generating module includes:
the creating unit is used for creating an SVG seat bitmap shape by adopting a label in the SVG and marking a seat node in the SVG seat bitmap shape;
and the generating unit is used for adding each seat node into a corresponding node in the seat area identifier of the SVG image and generating an SVG static seat resource file containing seat information.
Further, the display module comprises:
the uploading unit is used for generating the static seat resource file of the SVG at regular time and uploading the static seat resource file to a CDN cache at regular time;
the analysis unit is used for analyzing the SVG static seat resource files in the CDN cache by using the javascript to obtain all unique seat area identifications and grouping the unique seat area identifications;
the display unit is used for acquiring the seat node distribution under the unique seat area identification; and displaying the display states of the seats in the interface according to the distribution of the seat nodes, and setting a mouse monitoring event of each seat.
Further, the setting of the mouse listening event of each seat includes, but is not limited to:
setting a dragging concurrent request event of the mouse, a cancel event and a zoom event.
Further, the method also comprises the following steps:
the second receiving module is used for receiving a seat selection request, wherein the seat selection request carries user side attribute information;
and the guiding module is used for redirecting the request of the user to a server nearest to the user side in real time through the CDN system according to the user side attribute information.
The invention also provides an online seat selection device which is characterized by comprising the online seat selection system of any one of the above.
The invention receives the SVG image carrying the seat area identification; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area; adding the created seat nodes into the corresponding nodes in the seat area identification to generate an SVG static seat resource file; and uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface. According to the invention, the SVG static seat resource file is subjected to CDN cache, the processing times of the server to each request of the user is reduced, the pressure of the server and a database is reduced, the user request is directed to the nearest service node, the content is acquired more quickly, and the response speed of the user for accessing the website is improved. According to the regional grouping asynchronous loading of dynamic seat state data, the state of a client seat is updated, the problem that the state of a CND static resource cannot be updated in time is solved, and the problem of large data volume is solved through multiple asynchronous requests. Static seat resources of the SVG and dynamic data are loaded asynchronously, and the problems that a large stadium is dead in seat selection and blocking on line, the loading speed is low, and the user experience is poor are solved.
Drawings
FIG. 1 is a flow chart of a first embodiment of a method for online seating selection according to the present invention;
FIG. 2 is a schematic diagram of a second embodiment of an online seating selection system according to the present invention;
FIG. 3 is a diagram of a second embodiment of a first receiving module according to the invention;
FIG. 4 is a diagram of a second embodiment of a generation module according to the present invention;
FIG. 5 is a schematic view of a second embodiment of a display module according to the present invention;
fig. 6 is a block diagram of a third embodiment of the device for online seat selection according to the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating an embodiment of a method for online seat selection according to the present invention. The method comprises the following steps: step S110, step S120, and step S130.
In step S110, receiving an SVG image carrying a seat area identifier; analyzing the seat area of the SVG image, and adding a unique seat area identifier in the seat area.
Further, the receiving of the SVG image carrying the seat area identifier includes: acquiring a seat plan of a venue; converting the seat plane image into an SVG image; and marking a seat area identifier in an XML node of the SVG image.
Wherein, because the SVG file content is actually in XML format, the actual seat area which is beneficial to the ticket system identification is marked in the XML node (for example, attribute bound ═ true' is added in the node < path >), and uploaded to the server.
Further, the analyzing out the seat area of the SVG image and adding a unique seat area identifier in the seat area includes: identifying a seating area marker in the SVG image; and writing the stored unique seat area identification into a seat area XML node in the SVG image to generate SVG static data.
In step S120, the created seat node is added to the corresponding node in the seat area identifier, and an SVG static seat resource file is generated.
The method comprises the following steps: creating an SVG seat figure by adopting a label in the SVG, and marking seat nodes in the SVG seat figure; and adding each seat node into a corresponding node in the seat area identifier of the SVG image, and generating an SVG static seat resource file containing seat information.
In a preferred embodiment, a circle tag < circle > in the SVG is adopted to create a seat round point, seat nodes are marked in the seat round point, each seat node is added below a seat area node of the SVG image, and an SVG static seat resource file containing seat information is generated and stored in the server.
In step S130, the static seat resource file of the SVG is uploaded to the CDN cache at regular time and displayed in the interface.
The method comprises the following steps: generating the static seat resource file of the SVG regularly and uploading the static seat resource file to a CDN cache regularly; analyzing the static seat resource files of the SVG in the CDN cache by using javascript to obtain all unique seat area identifications, and grouping; obtaining the seat node distribution under the unique seat area identification; and displaying the display states of the seats in the interface according to the distribution of the seat nodes, and setting a mouse monitoring event of each seat.
The SVG static seat resource file is generated at regular time and uploaded to a CDN cache at regular time; the static seat resource file of the SVG is analyzed by using javascript to obtain unique identifications of all seat areas, and grouping is performed, for example, N can be defined as the total number of the areas, Y is the number of concurrent requests allowed by a browser (the number of requests sent to a server at the same time point), G is the number of the area groups, and the maximum number of the area groups is Y. And sending a request for acquiring the state of the seat in the seat area to a server according to the unique identifier of the seat area. And according to the returned result, the display state of the page seats is set in different areas, the monitoring event of each seat point is set, and the monitoring events of the left button and the right button of the mouse of the user are set.
Because the seats of the venue are not easy to change and the operation is not frequent, a timing detection program of the system can detect whether the areas and the seats under the venue change every morning, if so, static seat resource files of the SVG are regenerated, file sharing is set among a plurality of servers of the ticketing system, and the generated files are uploaded to the CDN cache. The CDN technology is called Content Delivery Network, i.e., Content Delivery Network. The basic idea is to avoid bottlenecks and links possibly influencing data transmission speed and stability on the Internet as far as possible, so that content transmission is faster and more stable. By placing node servers at various positions of the network to form a layer of intelligent virtual network on the basis of the existing internet, the CDN system can redirect the request of a user to a service node closest to the user in real time according to network flow, connection of each node, load condition, distance to the user, response time and other comprehensive information. The method aims to enable the user to obtain the required content nearby, solve the problem of congestion of the Internet network and improve the response speed of the user for accessing the website.
Further, the setting of the mouse listening event of each seat includes, but is not limited to:
setting a dragging concurrent request event of the mouse, a cancel event and a zoom event.
Specifically, but not limited to, the user terminal selects the seat according to the actual purchase condition. And when the user always clicks the left mouse button for dragging, triggering the left mouse button to click a dragging event, selecting the seat in the dragging area of the user, and adding the seat to the shopping cart of the user. Also including the same mouse drag area selection twice will cancel the selected seat event. And carrying out zooming-in and zooming-out operation events on the whole venue or a certain area of the venue by using a mouse wheel. When a certain area is zoomed in and zoomed out, the coordinate of the current point of the mouse of the user is taken as a central axis to carry out zooming in and zooming out events and the like.
Further, after uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface, the method further includes:
and receiving a seat selection request, wherein the seat selection request carries user end attribute information.
And the user selects the seat online, and preferably adopts javascript ajax asynchronous loading technology.
And the CDN system redirects the request of the user to a server nearest to the user side in real time according to the user side attribute information.
According to the technical scheme provided by the first embodiment of the invention, the SVG image carrying the seat area identifier is received; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area; adding the created seat nodes into the corresponding nodes in the seat area identification to generate an SVG static seat resource file; and uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface. The SVG static seat resource file is generated and CDN cache is carried out, the processing times of a server to each request of a user are reduced, the pressure of the server and a database is reduced, the user request is guided to the nearest service node, the content is obtained more quickly, and the response speed of the user for accessing the website is improved. According to the regional grouping asynchronous loading of dynamic seat state data, the state of a client seat is updated, the problem that the state of a CND static resource cannot be updated in time is solved, and the problem of large data volume is solved through multiple asynchronous requests. Static seat resources of the SVG and dynamic data are loaded asynchronously, and the problems that a large stadium is dead in seat selection and blocking on line, the loading speed is low, and the user experience is poor are solved. The mouse dragging type regional seat selection improves the seat selection speed and experience of a user when purchasing a plurality of seats.
Example two
Referring to fig. 2, fig. 2 is a block diagram illustrating an embodiment of an online seating system 200 according to the present invention. The method comprises the following steps:
the first receiving module 21 is used for receiving the SVG image carrying the seat area identifier; analyzing the seat area of the SVG image, and adding a unique seat area identifier in the seat area.
And the generating module 22 is configured to add the created seat node to a corresponding node in the seat area identifier, and generate an SVG static seat resource file.
And the display module 23 is configured to upload the static seat resource file of the SVG to a CDN cache at regular time and display the static seat resource file in an interface.
Further, referring to fig. 3, the first receiving module 21 includes:
an acquiring unit 211, configured to acquire a seat plan of a venue; and converting the seat plane image into an SVG image.
A marking unit 212, configured to mark the seat area identifier in the XML node of the SVG image.
Wherein, because the SVG file content is actually in XML format, the actual seat area which is beneficial to the ticket system identification is marked in the XML node (for example, attribute bound ═ true' is added in the node < path >), and uploaded to the server.
An identification unit 213 for identifying the seat area marking in the SVG image.
And a writing unit 214, configured to write the stored unique seat area identifier into a seat area XML node in the SVG image, and generate SVG static data.
Further, referring to fig. 4, the generating module 22 includes:
the creating unit 221 is used for creating an SVG seat bitmap shape by adopting a label in the SVG and marking a seat node in the SVG seat bitmap shape;
and the generating unit 222 is used for adding each seat node into a corresponding node in the seat area identifier of the SVG image and generating an SVG static seat resource file containing seat information.
In a preferred embodiment, a circle tag < circle > in the SVG is adopted to create a seat round point, seat nodes are marked in the seat round point, each seat node is added below a seat area node of the SVG image, and an SVG static seat resource file containing seat information is generated and stored in the server.
Further, referring to fig. 5, the display module 23 includes:
and the uploading unit 231 is used for generating the static seat resource file of the SVG at regular time and uploading the static seat resource file to the CDN cache at regular time.
And the analyzing unit 232 is configured to analyze the static SVG seat resource files in the CDN cache by using javascript, obtain all unique seat region identifiers, and perform grouping.
The display unit 233 is configured to obtain seat node distribution under the unique seat area identifier; and displaying the display states of the seats in the interface according to the distribution of the seat nodes, and setting a mouse monitoring event of each seat.
The SVG static seat resource file is generated at regular time and uploaded to a CDN cache at regular time; the static seat resource file of the SVG is analyzed by using javascript to obtain unique identifications of all seat areas, and grouping is performed, for example, N can be defined as the total number of the areas, Y is the number of concurrent requests allowed by a browser (the number of requests sent to a server at the same time point), G is the number of the area groups, and the maximum number of the area groups is Y. And sending a request for acquiring the state of the seat in the seat area to a server according to the unique identifier of the seat area. And according to the returned result, the display state of the page seats is set in different areas, the monitoring event of each seat point is set, and the monitoring events of the left button and the right button of the mouse of the user are set.
Because the seats of the venue are not easy to change and the operation is not frequent, a timing detection program of the system can detect whether the areas and the seats under the venue change every morning, if so, static seat resource files of the SVG are regenerated, file sharing is set among a plurality of servers of the ticketing system, and the generated files are uploaded to the CDN cache. The CDN technology is called Content Delivery Network, i.e., Content Delivery Network. The basic idea is to avoid bottlenecks and links possibly influencing data transmission speed and stability on the Internet as far as possible, so that content transmission is faster and more stable. By placing node servers at various positions of the network to form a layer of intelligent virtual network on the basis of the existing internet, the CDN system can redirect the request of a user to a service node closest to the user in real time according to network flow, connection of each node, load condition, distance to the user, response time and other comprehensive information. The method aims to enable the user to obtain the required content nearby, solve the problem of congestion of the Internet network and improve the response speed of the user for accessing the website.
Further, the setting of the mouse listening event of each seat includes, but is not limited to:
setting a dragging concurrent request event of the mouse, a cancel event and a zoom event.
Specifically, but not limited to, the user terminal selects the seat according to the actual purchase condition. And when the user always clicks the left mouse button for dragging, triggering the left mouse button to click a dragging event, selecting the seat in the dragging area of the user, and adding the seat to the shopping cart of the user. Also including the same mouse drag area selection twice will cancel the selected seat event. And carrying out zooming-in and zooming-out operation events on the whole venue or a certain area of the venue by using a mouse wheel. When a certain area is zoomed in and zoomed out, the coordinate of the current point of the mouse of the user is taken as a central axis to carry out zooming in and zooming out events and the like.
Further, the method also comprises the following steps:
a second receiving module (not shown in the figure), configured to receive a seat selection request, where the seat selection request carries the user-side attribute information. And the user selects the seat online, and preferably adopts javascript ajax asynchronous loading technology.
And a guiding module (not shown in the figure) for redirecting the user request to the server nearest to the user side in real time through the CDN system according to the user-side attribute information.
The functions and processing modes of the second embodiment of the present invention are described in the first embodiment with reference to the specific steps.
Since the processing and functions implemented by the system of the second embodiment substantially correspond to the embodiment, the principle and the example of the method shown in fig. 1, the description of the embodiment is not detailed, and reference may be made to the related description in the foregoing embodiment, which is not described herein again.
According to the technical scheme provided by the second embodiment of the invention, the SVG image carrying the seat area identifier is received through the first receiving module; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area; the generation module adds the created seat nodes to corresponding nodes in the seat area identification to generate SVG static seat resource files; and the display module uploads the SVG static seat resource file to a CDN cache at regular time and displays the SVG static seat resource file in an interface. The SVG static seat resource file is generated and CDN cache is carried out, the processing times of a server to each request of a user are reduced, the pressure of the server and a database is reduced, the user request is guided to the nearest service node, the content is obtained more quickly, and the response speed of the user for accessing the website is improved. According to the regional grouping asynchronous loading of dynamic seat state data, the state of a client seat is updated, the problem that the state of a CND static resource cannot be updated in time is solved, and the problem of large data volume is solved through multiple asynchronous requests. Static seat resources of the SVG and dynamic data are loaded asynchronously, and the problems that a large stadium is dead in seat selection and blocking on line, the loading speed is low, and the user experience is poor are solved. The mouse dragging type regional seat selection improves the seat selection speed and experience of a user when purchasing a plurality of seats.
EXAMPLE III
Referring to fig. 6, fig. 6 shows a block diagram of an embodiment of an online seating system 300 provided by the present invention, including the online seating system 200 according to any one of the second embodiment.
The embodiment of the invention receives the SVG image carrying the seat area identification; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area; adding the created seat nodes into the corresponding nodes in the seat area identification to generate an SVG static seat resource file; and uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface. According to the invention, the SVG static seat resource file is subjected to CDN cache, the processing times of the server to each request of the user is reduced, the pressure of the server and a database is reduced, the user request is directed to the nearest service node, the content is acquired more quickly, and the response speed of the user for accessing the website is improved. According to the regional grouping asynchronous loading of dynamic seat state data, the state of a client seat is updated, the problem that the state of a CND static resource cannot be updated in time is solved, and the problem of large data volume is solved through multiple asynchronous requests. Static seat resources of the SVG and dynamic data are loaded asynchronously, and the problems that a large stadium is dead in seat selection and blocking on line, the loading speed is low, and the user experience is poor are solved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
It should be noted that, according to the implementation requirement, each step/component described in the present application can be divided into more steps/components, and two or more steps/components or partial operations of the steps/components can be combined into new steps/components to achieve the purpose of the present invention.
The above-described method according to the present invention can be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It will be appreciated that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the processing methods described herein. Further, when a general-purpose computer accesses code for implementing the processes shown herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the processes shown herein.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. An on-line seat selection method is characterized by comprising the following steps:
receiving an SVG image carrying a seat area identifier;
analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area;
adding the created seat nodes into the corresponding nodes in the seat area identification to generate an SVG static seat resource file;
uploading the static seat resource file of the SVG to a CDN cache at regular time and displaying the static seat resource file in an interface, wherein the method comprises the following steps: generating the static seat resource file of the SVG regularly and uploading the static seat resource file to a CDN cache regularly; analyzing the static seat resource files of the SVG in the CDN cache by using javascript to obtain all unique seat area identifications, and grouping; and obtaining the distribution of the seat nodes under the seat area and the state of the seats under the seat area according to the unique seat area identifier, displaying the display state of the seats in an interface according to the distribution of the seat nodes, and setting a mouse monitoring event of each seat.
2. The method of claim 1, wherein said receiving an SVG image carrying a seating area identifier comprises:
acquiring a seat plan of a venue; converting the seat plane image into an SVG image;
and marking a seat area identifier in an XML node of the SVG image.
3. The method of claim 1 or 2, wherein said parsing out a seating area of said SVG image and adding a unique seating area identification in said seating area comprises:
identifying a seating area marker in the SVG image;
and writing the stored unique seat area identification into a seat area XML node in the SVG image to generate SVG static data.
4. The method of claim 1, wherein said adding the created seat node to a corresponding node in the seat area identification, generating an SVG static seat resource file, comprises:
creating an SVG seat figure by adopting a label in the SVG, and marking seat nodes in the SVG seat figure;
and adding each seat node into a corresponding node in the seat area identifier of the SVG image, and generating an SVG static seat resource file containing seat information.
5. The method of claim 4, wherein the setting of mouse listening events for each seat includes, but is not limited to:
setting a dragging concurrent request event of the mouse, a cancel event and a zoom event.
6. The method of claim 1 wherein after periodically uploading the SVG static seat resource files to a CDN cache and presenting them in an interface, further comprising:
receiving a seat selection request, wherein user side attribute information carried in the seat selection request is received;
and the CDN system redirects the request of the user to a server nearest to the user side in real time according to the user side attribute information.
7. An on-line seat selection system, comprising:
the first receiving module is used for receiving the SVG image carrying the seat area identifier; analyzing a seat area of the SVG image, and adding a unique seat area identifier in the seat area;
the generating module is used for adding the created seat nodes into the corresponding nodes in the seat area identification to generate SVG static seat resource files;
the display module is used for uploading the static seat resource files of the SVG to a CDN cache at regular time and displaying the static seat resource files in an interface; the display module comprises:
the uploading unit is used for generating the static seat resource file of the SVG at regular time and uploading the static seat resource file to a CDN cache at regular time;
the analysis unit is used for analyzing the SVG static seat resource files in the CDN cache by using the javascript to obtain all unique seat area identifications and grouping the unique seat area identifications;
the display unit is used for acquiring the distribution of the seat nodes under the seat area and the state of the seats under the seat area according to the unique seat area identifier and displaying the display state of the seats in the interface according to the distribution of the seat nodes;
the display unit is also used for setting mouse monitoring events of each seat.
8. The system of claim 7, wherein the first receiving module comprises:
the acquisition unit is used for acquiring a seat plan of the venue; converting the seat plane image into an SVG image;
the marking unit is used for marking a seat area identifier in an XML node of the SVG image;
an identification unit for identifying a seat area mark in the SVG image;
and the writing unit is used for writing the stored unique seat area identifier into a seat area XML node in the SVG image and generating SVG static data.
9. The system of claim 7, wherein the generation module comprises:
the creating unit is used for creating an SVG seat bitmap shape by adopting a label in the SVG and marking a seat node in the SVG seat bitmap shape;
and the generating unit is used for adding each seat node into a corresponding node in the seat area identifier of the SVG image and generating an SVG static seat resource file containing seat information.
10. The system of claim 7, wherein the setting of mouse listening events for each seat includes, but is not limited to:
setting a dragging concurrent request event of the mouse, a cancel event and a zoom event.
11. The system of claim 7, further comprising:
the second receiving module is used for receiving a seat selection request, wherein the seat selection request carries user side attribute information;
and the guiding module is used for redirecting the request of the user to a server nearest to the user side in real time through the CDN system according to the user side attribute information.
12. An on-line seating device comprising a system for on-line seating as claimed in any one of claims 7 to 11.
CN201610988822.4A 2016-11-10 2016-11-10 Online seat selection method, system and equipment Active CN106528154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610988822.4A CN106528154B (en) 2016-11-10 2016-11-10 Online seat selection method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610988822.4A CN106528154B (en) 2016-11-10 2016-11-10 Online seat selection method, system and equipment

Publications (2)

Publication Number Publication Date
CN106528154A CN106528154A (en) 2017-03-22
CN106528154B true CN106528154B (en) 2020-08-21

Family

ID=58351027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610988822.4A Active CN106528154B (en) 2016-11-10 2016-11-10 Online seat selection method, system and equipment

Country Status (1)

Country Link
CN (1) CN106528154B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110232454B (en) * 2018-03-01 2021-12-24 北京红马传媒文化发展有限公司 Seat map display processing method and device and online seat selection system
CN108447106B (en) * 2018-03-12 2022-08-05 北京红马传媒文化发展有限公司 Generation method and device of venue seat map
CN108550064A (en) * 2018-03-29 2018-09-18 北京红马传媒文化发展有限公司 Display and setting method, device and the terminal device of venue figure
CN110390703B (en) * 2018-04-19 2023-08-22 北京红马传媒文化发展有限公司 Method and device for generating stadium seat bitmap and electronic equipment
CN109003337A (en) * 2018-06-13 2018-12-14 宜昌市蓝深科技有限责任公司 A method of venue seat subregion schematic diagram is digitized and flexibly seat number is arranged in definition
CN111596812B (en) * 2019-02-21 2023-04-18 阿里巴巴集团控股有限公司 Information display method, device and storage medium
CN111782740A (en) * 2019-04-04 2020-10-16 阿里巴巴集团控股有限公司 Seat data processing method, computing device and storage medium
CN110111400B (en) * 2019-05-13 2023-04-07 江苏路通物联科技有限公司 Online seat selection method, device, server and system
CN113468438A (en) * 2020-03-31 2021-10-01 北京沃东天骏信息技术有限公司 Position recommendation method, device, equipment and storage medium
CN113590410B (en) * 2021-06-20 2023-12-22 济南浪潮数据技术有限公司 Resource request method, system, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023049A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 On-line seat-picking method and system, and overload protection device
CN105260781A (en) * 2015-09-22 2016-01-20 百度在线网络技术(北京)有限公司 Method and device for on-line selection of seats at cinema

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150100869A1 (en) * 2008-02-25 2015-04-09 Tixtrack, Inc. Sports and concert event ticket pricing and visualization system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023049A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 On-line seat-picking method and system, and overload protection device
CN105260781A (en) * 2015-09-22 2016-01-20 百度在线网络技术(北京)有限公司 Method and device for on-line selection of seats at cinema

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CDN图片加速服务;漫漫路何修远兮;《https://blog.csdn.net/wojiuxiangqigeming/article/details/50986543》;20160326;第1页 *
基于SVG 的剧院网上选座系统的实现;张红斌 等;《计算机工程与设计》;20080116;第29卷(第1期);第216-219页 *

Also Published As

Publication number Publication date
CN106528154A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN106528154B (en) Online seat selection method, system and equipment
US10021001B2 (en) Providing visualizations of event sequence data
US8667385B1 (en) Method and system for generating and sharing analytics annotations
CN108182060B (en) Hybrid application point burying method, mobile terminal and system
CN109101425B (en) Index point burying method and device for dynamic page AB test
KR101297271B1 (en) Method and apparatus for social network analysis service
EP3161610B1 (en) Optimized browser rendering process
KR20110023749A (en) Traffic visualization across web maps
US9910858B2 (en) System and method for providing contextual analytics data
US9866454B2 (en) Generating anonymous data from web data
CN108804445B (en) Thermodynamic diagram generation method and device
CN105488205A (en) Page generation method and page generation apparatus
CN109656797B (en) Log data association method and device
CN114629929B (en) Log recording method, device and system
CN108932640B (en) Method and device for processing orders
US20130346215A1 (en) Advertisement distribution apparatus, distribution method, and distribution program
CN107526748B (en) Method and equipment for identifying user click behavior
US20150113383A1 (en) Analysis of web application state
CN108984070A (en) Method, apparatus, electronic equipment and readable medium for thermodynamic chart imaging
CN106998476B (en) Video viewing method and device based on geographic information system
CN108108381B (en) Page monitoring method and device
KR101692482B1 (en) Advertising Method of Mobile Device, the Mobile Device and Program Distributing Server therefor
CN113220381A (en) Click data display method and device
US8326977B2 (en) Recording medium storing system analyzing program, system analyzing apparatus, and system analyzing method
US11010447B1 (en) Systems, devices, and methods for presenting customized content through web API

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant