CN106528154A - Online seat picking method, system and device - Google Patents
Online seat picking method, system and device Download PDFInfo
- Publication number
- CN106528154A CN106528154A CN201610988822.4A CN201610988822A CN106528154A CN 106528154 A CN106528154 A CN 106528154A CN 201610988822 A CN201610988822 A CN 201610988822A CN 106528154 A CN106528154 A CN 106528154A
- Authority
- CN
- China
- Prior art keywords
- seat
- svg
- seating area
- node
- passive
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an online seat picking method, system and device. The method comprises the following steps of: receiving an SVG image which carries a seat area identification; analyzing a seat area of the SVG image and adding a unique seat area identifier in the seat area; adding a created seat node into a node corresponding to the seat area identifier so as to generate an SVG static seat resource file; and periodically uploading the SVG static seat resource file to CDN to cache and display in an interface. According to the technical scheme provided by the invention, the times for processing each request of a user by a server are reduced, and the pressure of the server and the pressure of a database are reduced; and the user requests are guided to the nearest service node, so that the content can be obtained more quickly and the response speed of the website to which the user accesses is improved. According to the method, system and device provided by the invention, the problem that the states of CND static resources cannot be updated in time is solved, the problem that the data size is relatively large is solved through repeated asynchronous requests, the problem that the online seat picking of large stadiums is stuck to cause low loading speed is solved, and the experience of purchasing a plurality of seats by the user is improved.
Description
Technical field
The present invention relates in line selection seat technical field, more particularly to a kind of method in line selection seat, system and equipment.
Background technology
What major part ticketing system was adopted at present includes in line selection seat technical scheme:
The first:Click on the seat of a single point and select in multi-section display seat based on flash.The program adopts flash skills
Art carries out rendering and venue area coordinate, the conversion of seat coordinate for venue picture, constructs correspondence according to coordinate on picture
Seat point shown.First the picture of venue is loaded when user selects the page into seat, and region is entered
Row is drawn, and the page shows regional, and the seat for entering the region after clicking on certain picture region selects the page, now to this
Seat point under picture is loaded, and after region seat loaded, user clicks on corresponding coordinate points and carries out the selection at seat.
Second:Seat selection scheme is loaded based on svg whole audience shop.The program adopts HTML5SVG technologies, carries out SVG figures
The loading of piece, user are read all seat informations when the page is selected into seat and are shown.
Inventor has found that the problems and disadvantages that existing scheme is present are as follows in the course of the study:
1st, the choosing seat scheme based on flash, relies on third party's component, and client computer browser must install adobe
Flash plug-in units, if browser does not install adobe flash plug-in units, the program not can perform, so as to cause client make
Use seat selection function.Ease for operation is poor, and when seat is selected, one click can only select a seat, operates more numerous
It is trivial, affect to process the speed that user selects seat.
Web server, database server can be posed a big pressure when the 2nd, loading seat based on SVG whole audience shop, due to
Data volume is larger, and user occurs that when the page is selected into seat stuck browser, collapse, response are slow, and user operation is long
Situations such as time is in seat loading page, affects Consumer's Experience, so as to cause Fail Transaction.
3rd, it is simple that static resource is cached to CDN, and seat static resource is obtained from CDN, when seat distribution state is sent out
After changing, client cannot upgrade in time, cause user's repeat buying or the situation of purchase mistake to occur.
The content of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of method in line selection seat, system and equipment, reduce
Server and data base's pressure, improve choosing seat speed and experience of the user when multiple seats are bought.
One aspect of the present invention provides a kind of method in line selection seat, including:
Receive the SVG image for carrying seating area mark;The seating area of the SVG image is parsed, and in the seat
Add unique seating area mark in the region of position;
The seat node of establishment is added in the seating area mark in corresponding node, SVG passive seats are generated
Resource file;
SVG passive seats resource file timing is uploaded into CDN cachings the displaying in interface.
Further, it is described to receive the SVG image for carrying seating area mark, including:
Obtain the seat plain figure of venue;The seat plain figure is converted to into SVG image;
The labelling seating area mark in the XML node of the SVG image.
Further, the seating area for parsing the SVG image, and add unique seat in the seating area
Position area identification, including:
Recognize the seating area labelling in the SVG image;
By in the seating area XML node in unique seating area mark write SVG image of storage, SVG is generated static
Data.
Further, it is described that the seat node of establishment is added in the seating area mark in corresponding node, it is raw
Into SVG passive seat resource files, including:
SVG seats figure is created using the label in SVG, and in SVG seats figure acceptance of the bid note seat node;
During the seating area that each seat node is added to SVG image is identified in corresponding node, generate comprising seat
The SVG passive seat resource files of information.
It is further, described that SVG passive seats resource file timing is uploaded into CDN cachings the displaying in interface,
Including:
Timing generates the SVG passive seats resource file and timing uploads CDN cachings;
The SVG passive seat resource files in CDN cachings are parsed using javascript, obtain all unique seats
Position area identification, and be grouped;
Obtain the seat Node distribution under unique seating area mark;Seat is shown in interface according to seat Node distribution
Dispaly state, and arrange each seat mouse monitor event.
Further, the mouse for arranging each seat is monitored event and is included but is not limited to:
The dragging concurrent request event of mouse is set, cancels event and scaling event.
Further, after SVG passive seats resource file timing being uploaded CDN cachings and is shown in interface,
Also include:
Reception selects seat to ask, the user side attribute information for selecting seat to carry in asking;
CDN system is re-directed to the request of user from the nearest clothes of user side in real time according to the user side attribute information
In business device.
Another aspect of the present invention provides a kind of system in line selection seat, including:
First receiver module, for receiving the SVG image for carrying seating area mark;Parse the seat of the SVG image
Position region, and add unique seating area mark in the seating area;
Generation module, it is for the seat node of establishment is added in the seating area mark in corresponding node, raw
Into SVG passive seat resource files;
Display module, for uploading CDN cachings the displaying in interface by SVG passive seats resource file timing.
Further, first receiver module, including:
Acquiring unit, for obtaining the seat plain figure of venue;The seat plain figure is converted to into SVG image;
Indexing unit, identifies for the labelling seating area in the XML node of the SVG image;
Recognition unit, for recognizing the seating area labelling in the SVG image;
Writing unit, for the seating area XML node in the unique seating area mark write SVG image by storage
In, generate SVG static datas.
Further, the generation module, including:
Creating unit, for creating SVG seats figure using the label in SVG, and at SVG seats figure acceptance of the bid note seat
Node;
Signal generating unit, for each seat node being added in the seating area mark of SVG image in corresponding node,
Generate the SVG passive seat resource files comprising seat information.
Further, the display module, including:
Uploading unit, uploads CDN and caches for regularly generating the SVG passive seats resource file timing;
Resolution unit, for being parsed to the SVG passive seat resource files in CDN cachings using javascript,
All unique seating area marks are obtained, and is grouped;
Display unit, for obtaining the seat Node distribution under unique seating area mark;Existed according to seat Node distribution
Show the dispaly state at seat in interface, and the mouse at each seat is set and monitor event.
Further, the mouse for arranging each seat is monitored event and is included but is not limited to:
The dragging concurrent request event of mouse is set, cancels event and scaling event.
Further, also include:
Second receiver module, selects seat to ask for receiving, the user side attribute information for selecting seat to carry in asking;
Oriented module, for being led the request of user again according to the user side attribute information in real time by CDN system
To in the nearest server of user side.
Present invention also offers a kind of equipment in line selection seat, it is characterised in that including online described in aforementioned any one
The system for selecting seat.
The present invention carries the SVG image of seating area mark by receiving;The seating area of the SVG image is parsed,
And add unique seating area mark in the seating area;The seat node of establishment is added to into the seating area mark
In in corresponding node, generate SVG passive seat resource files;SVG passive seats resource file timing is uploaded CDN to delay
Deposit and show in interface.SVG passive seats resource file is carried out CDN cachings by the present invention, reduces server every to user
The number of processes of secondary request, reduces server and data base's pressure, and user's request is oriented to nearest service node, obtains faster
Content is taken, the response speed that user accesses website is improve.According to group areas Asynchronous loading dynamic seating state data, to visitor
Family end seating state is updated, and solves the problems, such as that CND static resources cannot upgrade in time state, by multiple Asynchronous Request
Solve the problems, such as that data volume is larger.SVG passive seats resource and dynamic data are carried out into Asynchronous loading, big physical culture is solved
Venue is stuck in line selection seat, and loading velocity is slow, the problem of poor user experience.
Description of the drawings
Fig. 1 is a kind of flow chart of the embodiment one of the method in line selection seat according to the present invention;
Fig. 2 is a kind of schematic diagram of the embodiment two of the system in line selection seat according to the present invention;
Fig. 3 is the schematic diagram of the embodiment two of the first receiver module according to the present invention;
Fig. 4 is the schematic diagram of the embodiment two of the generation module according to the present invention;
Fig. 5 is the schematic diagram of the embodiment two of the display module according to the present invention;
Fig. 6 is the structured flowchart of the embodiment three of the equipment in line selection seat according to the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection
Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except here diagram or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover
Lid is non-exclusive to be included, and for example, process, method, system, product or the equipment for containing series of steps or unit is not necessarily limited to
Those steps clearly listed or unit, but may include clearly not list or for these processes, method, product
Or intrinsic other steps of equipment or unit.
Embodiment one
With reference to Fig. 1, the flow chart that Fig. 1 shows a kind of one embodiment of method in line selection seat of present invention offer.Including:
Step S110, step S120 and step S130.
In step s 110, receive the SVG image for carrying seating area mark;Parse the seating area of the SVG image
Domain, and add unique seating area mark in the seating area.
Further, it is described to receive the SVG image for carrying seating area mark, including:Obtain the seat plain figure of venue;
The seat plain figure is converted to into SVG image;The labelling seating area mark in the XML node of the SVG image.
Wherein, due to SVG file content it is actual be xml forms, mark in XML node beneficial to ticketing system identification
Actual seating area is (such as in node<path>Middle addition attribute bound=' true '), and upload onto the server.
Further, the seating area for parsing the SVG image, and add unique seat in the seating area
Position area identification, including:Recognize the seating area labelling in the SVG image;By unique seating area mark write of storage
In seating area XML node in SVG image, SVG static datas are generated.
In the step s 120, the seat node of establishment is added in the seating area mark in corresponding node, it is raw
Into SVG passive seat resource files.
Including:SVG seats figure is created using the label in SVG, and in SVG seats figure acceptance of the bid note seat node;Will
Each seat node is added to during the seating area of SVG image is identified in corresponding node, generates the SVG comprising seat information quiet
State seat resources file.
One preferred embodiment, using SVG in round label<circle>The establishment of seat round dot is carried out, is present in circle of position point
Labelling seat node, and each seat node is added under the seating area node of SVG image, and regenerate comprising seat
Preserve in the server after the SVG passive seat resource files of information.
In step s 130, SVG passive seats resource file timing is uploaded into CDN cachings the displaying in interface.
Including:Timing generates the SVG passive seats resource file and timing uploads CDN cachings;Using javascript
SVG passive seat resource files in CDN cachings are parsed, all unique seating area marks is obtained, and is grouped;
Obtain the seat Node distribution under unique seating area mark;The display shape at seat is shown in interface according to seat Node distribution
State, and the mouse monitoring event at each seat is set.
Wherein, regularly generate the SVG passive seats resource file and timing uploads CDN cachings;Using javascript
SVG passive seat resource files are parsed, the unique mark of all seating areas is obtained, and is grouped, for example, Crestor
Adopted N is region total quantity, and Y is the concurrent request number (number of request that same time point is sent to server) that browser is allowed, and G is
The quantity of group areas, the quantity of group areas are Y to the maximum.Acquisition is sent according to the unique mark of seating area to server should
The request of the state at seat under seating area.The dispaly state at page seat is arranged according to returning result subregion, and arranges every
The monitoring event of individual seat point, arranges user's left mouse button, the monitoring event of right button.
As venue seat is not changed easily, infrequently, the timing detection program of system can daily morning inspection for operation
Survey whether region under the venue, seat change, SVG passive seat resource files, ticket is then regenerated in the event of change
File-sharing is set between business system multiple servers, and generated files passe CDN is cached.The full name of CDN technologies is
Content Delivery Network, i.e. content distributing network.Its basic ideas is to avoid as far as possible being possible on the Internet
Affect bottleneck and the link of data transmission bauds and stability, make content transmission faster, it is more stable.By being put in network everywhere
The one layer of intelligent virtual network on the existing Internet basic for putting that node server constituted, CDN system can be real-time
Distance and the integrated information such as response time of the ground according to the connection of network traffics and each node, load state and to user will be used
The request at family is re-directed on the nearest service node of user.Its objective is to make user obtain required content nearby, solve
The crowded situation of Internet network, improves the response speed that user accesses website.
Further, the mouse for arranging each seat is monitored event and is included but is not limited to:
The dragging concurrent request event of mouse is set, cancels event and scaling event.
It is specifically including but not limited to, user side carries out seat selection according to actual purchase situation.When user clicks on Mus always
Mark left button is dragged then trigger left mouse button click drag events, the seat of user's drag area is chosen, and is added
To user's shopping cart.Also include the seat event that cancellation has then been chosen by same mouse drag regional choice twice.Using mouse
Roller carries out whole venue or certain region of venue is amplified reduction operation event.Diminution behaviour is amplified to certain region
Diminution event etc. can be amplified as axis with the coordinate of user's mouse current point when making.
Further, after SVG passive seats resource file timing being uploaded CDN cachings and is shown in interface,
Also include:
Reception selects seat to ask, the user side attribute information for selecting seat to carry in asking.
Wherein, user is carried out in line selection seat, it is preferred to use javascript ajax Asynchronous loading technologies.
CDN system is re-directed to the request of user from the nearest clothes of user side in real time according to the user side attribute information
In business device.
The technical scheme that the embodiment of the present invention one is provided, by receiving the SVG image for carrying seating area mark;Parse
The seating area of the SVG image, and add unique seating area mark in the seating area;The seat node that will be created
It is added to during the seating area is identified in corresponding node, generates SVG passive seat resource files;By SVG static state seats
Position resource file timing uploads CDN cachings and shows in interface.Wherein the generation of SVG passive seats resource file carry out
CDN is cached, and reduces number of processes of the server to each request of user, reduces server and data base's pressure, and user please
Derivation obtains content faster to nearest service node, improves the response speed that user accesses website.According to group areas
Asynchronous loading dynamic seating state data, are updated to client seating state, and solving CND static resources cannot in time more
By multiple Asynchronous Request, the problem of new state, solves the problems, such as that data volume is larger.By SVG passive seats resource and dynamic number
According to Asynchronous loading is carried out, it is stuck in line selection seat to solve big stadiums, and loading velocity is slow, the problem of poor user experience.Mus
The region seat of mark drawing type is selected, and improves choosing seat speed and experience of the user when multiple seats are bought.
Embodiment two
With reference to Fig. 2, Fig. 2 shows a kind of structure chart of 200 1 embodiment of system in line selection seat of present invention offer.Bag
Include:
First receiver module 21, for receiving the SVG image for carrying seating area mark;Parse the SVG image
Seating area, and add unique seating area mark in the seating area.
Generation module 22, for the seat node of establishment is added in the seating area mark in corresponding node,
Generate SVG passive seat resource files.
Display module 23, for uploading CDN cachings the exhibition in interface by SVG passive seats resource file timing
Show.
Further, with reference to Fig. 3, first receiver module 21, including:
Acquiring unit 211, for obtaining the seat plain figure of venue;The seat plain figure is converted to into SVG image.
Indexing unit 212, identifies for the labelling seating area in the XML node of the SVG image.
Wherein, due to SVG file content it is actual be xml forms, mark in XML node beneficial to ticketing system identification
Actual seating area is (such as in node<path>Middle addition attribute bound=' true '), and upload onto the server.
Recognition unit 213, for recognizing the seating area labelling in the SVG image.
Writing unit 214, for the seating area XML sections in the unique seating area mark write SVG image by storage
In point, SVG static datas are generated.
Further, with reference to Fig. 4, the generation module 22, including:
Creating unit 221, for creating SVG seats figure using the label in SVG, and remembers in the acceptance of the bid of SVG seats figure
Seat node;
Signal generating unit 222, for each seat node to be added to corresponding node in the seating area mark of SVG image
In, generate the SVG passive seat resource files comprising seat information.
One preferred embodiment, using SVG in round label<circle>The establishment of seat round dot is carried out, is present in circle of position point
Labelling seat node, and each seat node is added under the seating area node of SVG image, and regenerate comprising seat
Preserve in the server after the SVG passive seat resource files of information.
Further, with reference to Fig. 5, the display module 23, including:
Uploading unit 231, uploads CDN and caches for regularly generating the SVG passive seats resource file timing.
Resolution unit 232, for being solved to the SVG passive seat resource files in CDN cachings using javascript
Analysis, obtains all unique seating area marks, and is grouped.
Display unit 233, for obtaining the seat Node distribution under unique seating area mark;According to seat Node distribution
Show the dispaly state at seat in interface, and the mouse at each seat is set and monitor event.
Wherein, regularly generate the SVG passive seats resource file and timing uploads CDN cachings;Using javascript
SVG passive seat resource files are parsed, the unique mark of all seating areas is obtained, and is grouped, for example, Crestor
Adopted N is region total quantity, and Y is the concurrent request number (number of request that same time point is sent to server) that browser is allowed, and G is
The quantity of group areas, the quantity of group areas are Y to the maximum.Acquisition is sent according to the unique mark of seating area to server should
The request of the state at seat under seating area.The dispaly state at page seat is arranged according to returning result subregion, and arranges every
The monitoring event of individual seat point, arranges user's left mouse button, the monitoring event of right button.
As venue seat is not changed easily, infrequently, the timing detection program of system can daily morning inspection for operation
Survey whether region under the venue, seat change, SVG passive seat resource files, ticket is then regenerated in the event of change
File-sharing is set between business system multiple servers, and generated files passe CDN is cached.The full name of CDN technologies is
Content Delivery Network, i.e. content distributing network.Its basic ideas is to avoid as far as possible being possible on the Internet
Affect bottleneck and the link of data transmission bauds and stability, make content transmission faster, it is more stable.By being put in network everywhere
The one layer of intelligent virtual network on the existing Internet basic for putting that node server constituted, CDN system can be real-time
Distance and the integrated information such as response time of the ground according to the connection of network traffics and each node, load state and to user will be used
The request at family is re-directed on the nearest service node of user.Its objective is to make user obtain required content nearby, solve
The crowded situation of Internet network, improves the response speed that user accesses website.
Further, the mouse for arranging each seat is monitored event and is included but is not limited to:
The dragging concurrent request event of mouse is set, cancels event and scaling event.
It is specifically including but not limited to, user side carries out seat selection according to actual purchase situation.When user clicks on Mus always
Mark left button is dragged then trigger left mouse button click drag events, the seat of user's drag area is chosen, and is added
To user's shopping cart.Also include the seat event that cancellation has then been chosen by same mouse drag regional choice twice.Using mouse
Roller carries out whole venue or certain region of venue is amplified reduction operation event.Diminution behaviour is amplified to certain region
Diminution event etc. can be amplified as axis with the coordinate of user's mouse current point when making.
Further, also include:
Second receiver module (not shown), selects seat to ask for receiving, the user side category for selecting seat to carry in asking
Property information.Wherein, user is carried out in line selection seat, it is preferred to use javascript ajax Asynchronous loading technologies.
Oriented module (not shown), for passing through CDN system according to the user side attribute information in real time by user's
Request is re-directed in the nearest server of user side.
The tool that the function and processing mode that the embodiment of the present invention two is implemented is described referring to one embodiment of the method for embodiment
Body step.
The process and function realized due to the system of the present embodiment two essentially correspond to the reality of the method shown in aforementioned Fig. 1
Apply example, principle and example, therefore not detailed part in the description of the present embodiment, the related description in previous embodiment is may refer to,
Will not be described here.
The technical scheme that the embodiment of the present invention two is provided, is received by the first receiver module and carries seating area mark
SVG image;The seating area of the SVG image is parsed, and adds unique seating area mark in the seating area;It is raw
The seat node of establishment is added in the seating area mark in corresponding node into module, generates SVG passive seats money
Source file;SVG passive seats resource file timing is uploaded CDN cachings the displaying in interface by display module.Wherein SVG
The generation of passive seat resource file simultaneously carries out CDN cachings, reduces number of processes of the server to each request of user, reduces
Server and data base's pressure, user's request are oriented to nearest service node, obtain content faster, improve user's access
The response speed of website.According to group areas Asynchronous loading dynamic seating state data, client seating state is updated,
Solve the problems, such as that CND static resources cannot upgrade in time state, solve by multiple Asynchronous Request that data volume is larger to ask
Topic.SVG passive seats resource and dynamic data are carried out into Asynchronous loading, it is stuck in line selection seat to solve big stadiums, plus
Carry speed slow, the problem of poor user experience.The region seat of mouse drag formula is selected, and improves user when multiple seats are bought
Choosing seat speed and experience.
Embodiment three
With reference to Fig. 6, Fig. 6 shows a kind of structure chart of 300 1 embodiment of equipment in line selection seat of present invention offer, bag
Include the system 200 in line selection seat any one of embodiment two.
The embodiment of the present invention three carries the SVG image of seating area mark by receiving;Parse the seat of the SVG image
Position region, and add unique seating area mark in the seating area;The seat node of establishment is added to into the seat
In area identification in corresponding node, SVG passive seat resource files are generated;By SVG passive seats resource file timing
Upload CDN cachings and show in interface.SVG passive seats resource file is carried out CDN cachings by the present invention, reduces server
Number of processes to each request of user, reduces server and data base's pressure, and user's request is oriented to nearest service node,
Content is obtained faster, improves the response speed that user accesses website.According to group areas Asynchronous loading dynamic seating state
Data, are updated to client seating state, solve the problems, such as that CND static resources cannot upgrade in time state, by many
Secondary Asynchronous Request solves the problems, such as that data volume is larger.SVG passive seats resource and dynamic data are carried out into Asynchronous loading, is solved
Big stadiums are stuck in line selection seat, and loading velocity is slow, the problem of poor user experience.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because
According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind
Division of logic function, can have when actually realizing other dividing mode, such as multiple units or component can with reference to or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit,
Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
It may be noted that according to the needs implemented, each step/part described in this application can be split as more multistep
The part operation of two or more step/parts or step/part also can be combined into new step/part by suddenly/part,
To realize the purpose of the present invention.
Above-mentioned the method according to the invention can be realized in hardware, firmware, or is implemented as being storable in recording medium
Software or computer code in (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through network download
Original storage is in long-range recording medium or nonvolatile machine readable media and will be stored in the meter in local recording medium
Calculation machine code, so as to method described here can be stored in using general purpose computer, application specific processor or programmable or special
With the such software processes in the recording medium of hardware (such as ASIC or FPGA).It is appreciated that computer, processor, micro-
Processor controller or programmable hardware include can storing or receive software or computer code storage assembly (for example, RAM,
ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and when performing, realize here
The processing method of description.Additionally, when general purpose computer accesses the code for realizing the process being shown in which, the execution of code
General purpose computer is converted to the special-purpose computer for performing the process being shown in which.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.
Claims (14)
1. a kind of method in line selection seat, it is characterised in that include:
Receive the SVG image for carrying seating area mark;The seating area of the SVG image is parsed, and in the seating area
Add unique seating area mark in domain;
The seat node of establishment is added in the seating area mark in corresponding node, SVG passive seat resources are generated
File;
SVG passive seats resource file timing is uploaded into CDN cachings the displaying in interface.
2. the method for claim 1, it is characterised in that the reception carries the SVG image of seating area mark, bag
Include:
Obtain the seat plain figure of venue;The seat plain figure is converted to into SVG image;
The labelling seating area mark in the XML node of the SVG image.
3. method as claimed in claim 1 or 2, it is characterised in that the seating area for parsing the SVG image, and
Add unique seating area mark in the seating area, including:
Recognize the seating area labelling in the SVG image;
By in the seating area XML node in unique seating area mark write SVG image of storage, SVG static datas are generated.
4. the method for claim 1, it is characterised in that described that the seat node of establishment is added to into the seating area
In mark in corresponding node, SVG passive seat resource files are generated, including:
SVG seats figure is created using the label in SVG, and in SVG seats figure acceptance of the bid note seat node;
During the seating area that each seat node is added to SVG image is identified in corresponding node, generate comprising seat information
SVG passive seat resource files.
5. the method for claim 1, it is characterised in that described that SVG passive seats resource file timing is uploaded
CDN is cached and is shown in interface, including:
Timing generates the SVG passive seats resource file and timing uploads CDN cachings;
The SVG passive seat resource files in CDN cachings are parsed using javascript, obtain all unique seating areas
Domain identifier, and be grouped;
Obtain the seat Node distribution under unique seating area mark;The aobvious of seat is shown in interface according to seat Node distribution
Show state, and the mouse at each seat is set and monitor event.
6. method as claimed in claim 5, it is characterised in that the mouse at each seat of setting monitors event to be included but not
It is limited to:
The dragging concurrent request event of mouse is set, cancels event and scaling event.
7. the method for claim 1, it is characterised in that SVG passive seats resource file timing is uploaded into CDN and is delayed
After depositing and showing in interface, also include:
Reception selects seat to ask, the user side attribute information for selecting seat to carry in asking;
CDN system is re-directed to the request of user from the nearest server of user side in real time according to the user side attribute information
In.
8. a kind of system in line selection seat, it is characterised in that include:
First receiver module, for receiving the SVG image for carrying seating area mark;Parse the seating area of the SVG image
Domain, and add unique seating area mark in the seating area;
Generation module, for the seat node of establishment is added in the seating area mark in corresponding node, generates SVG
Passive seat resource file;
Display module, for uploading CDN cachings the displaying in interface by SVG passive seats resource file timing.
9. system as claimed in claim 8, it is characterised in that first receiver module, including:
Acquiring unit, for obtaining the seat plain figure of venue;The seat plain figure is converted to into SVG image;
Indexing unit, identifies for the labelling seating area in the XML node of the SVG image;
Recognition unit, for recognizing the seating area labelling in the SVG image;
Writing unit, it is for unique seating area mark of storage is write in the seating area XML node in SVG image, raw
Into SVG static datas.
10. system as claimed in claim 8, it is characterised in that the generation module, including:
Creating unit, for creating SVG seats figure using the label in SVG, and in SVG seats figure acceptance of the bid note seat section
Point;
Signal generating unit, for being added to each seat node in the seating area mark of SVG image in corresponding node, generates
SVG passive seat resource files comprising seat information.
11. systems as claimed in claim 8, it is characterised in that the display module, including:
Uploading unit, uploads CDN and caches for regularly generating the SVG passive seats resource file timing;
Resolution unit, for being parsed to the SVG passive seat resource files in CDN cachings using javascript, is obtained
All unique seating area marks, and be grouped;
Display unit, for obtaining the seat Node distribution under unique seating area mark;According to seat Node distribution at interface
The dispaly state at middle displaying seat, and the mouse monitoring event at each seat is set.
12. systems as claimed in claim 11, it is characterised in that the mouse at each seat of setting monitor event include but
It is not limited to:
The dragging concurrent request event of mouse is set, cancels event and scaling event.
13. systems as claimed in claim 8, it is characterised in that also include:
Second receiver module, selects seat to ask for receiving, the user side attribute information for selecting seat to carry in asking;
Oriented module, for by CDN system according to the user side attribute information in real time by the request of user be re-directed to from
In the nearest server of user side.
A kind of 14. equipment in line selection seat, it is characterised in that include as described in any one of claim 8-13 in line selection seat
System.
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 true CN106528154A (en) | 2017-03-22 |
CN106528154B 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) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108447106A (en) * | 2018-03-12 | 2018-08-24 | 北京红马传媒文化发展有限公司 | The generation method and device of venue seating maps |
CN108550064A (en) * | 2018-03-29 | 2018-09-18 | 北京红马传媒文化发展有限公司 | Display and setting method, device and the terminal device of venue figure |
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 |
CN110111400A (en) * | 2019-05-13 | 2019-08-09 | 江苏路通物联科技有限公司 | One kind is in line selection seat method, apparatus, server and system |
CN110232454A (en) * | 2018-03-01 | 2019-09-13 | 北京红马传媒文化发展有限公司 | The method for displaying and processing of seating maps, device and in line selection base system |
CN110390703A (en) * | 2018-04-19 | 2019-10-29 | 北京红马传媒文化发展有限公司 | Generation method, device and the electronic equipment of venue seating maps |
CN111596812A (en) * | 2019-02-21 | 2020-08-28 | 阿里巴巴集团控股有限公司 | Information display method, device and storage medium |
CN111782740A (en) * | 2019-04-04 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Seat data processing method, computing device and storage medium |
CN112486486A (en) * | 2020-11-30 | 2021-03-12 | 上海悦易网络信息技术有限公司 | Lottery drawing method and device based on static resources |
CN113468438A (en) * | 2020-03-31 | 2021-10-01 | 北京沃东天骏信息技术有限公司 | Position recommendation method, device, equipment and storage medium |
CN113590410A (en) * | 2021-06-20 | 2021-11-02 | 济南浪潮数据技术有限公司 | Resource request method, system, device and medium |
CN115514823A (en) * | 2022-09-23 | 2022-12-23 | 重庆旅游云信息科技有限公司 | Method and system for segmented transmission and caching of data |
Citations (3)
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 |
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 |
-
2016
- 2016-11-10 CN CN201610988822.4A patent/CN106528154B/en active Active
Patent Citations (3)
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 |
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)
Title |
---|
张红斌 等: "基于SVG 的剧院网上选座系统的实现", 《计算机工程与设计》 * |
漫漫路何修远兮: "CDN图片加速服务", 《HTTPS://BLOG.CSDN.NET/WOJIUXIANGQIGEMING/ARTICLE/DETAILS/50986543》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110232454A (en) * | 2018-03-01 | 2019-09-13 | 北京红马传媒文化发展有限公司 | The method for displaying and processing of seating maps, device and in line selection base system |
CN110232454B (en) * | 2018-03-01 | 2021-12-24 | 北京红马传媒文化发展有限公司 | Seat map display processing method and device and online seat selection system |
CN108447106A (en) * | 2018-03-12 | 2018-08-24 | 北京红马传媒文化发展有限公司 | The generation method and device of venue seating maps |
CN108550064A (en) * | 2018-03-29 | 2018-09-18 | 北京红马传媒文化发展有限公司 | Display and setting method, device and the terminal device of venue figure |
CN110390703A (en) * | 2018-04-19 | 2019-10-29 | 北京红马传媒文化发展有限公司 | Generation method, device and the electronic equipment of venue seating maps |
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 |
CN111596812A (en) * | 2019-02-21 | 2020-08-28 | 阿里巴巴集团控股有限公司 | Information display method, device and storage medium |
CN111782740A (en) * | 2019-04-04 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Seat data processing method, computing device and storage medium |
CN110111400A (en) * | 2019-05-13 | 2019-08-09 | 江苏路通物联科技有限公司 | One kind is in line selection seat method, apparatus, server and system |
CN113468438A (en) * | 2020-03-31 | 2021-10-01 | 北京沃东天骏信息技术有限公司 | Position recommendation method, device, equipment and storage medium |
CN112486486A (en) * | 2020-11-30 | 2021-03-12 | 上海悦易网络信息技术有限公司 | Lottery drawing method and device based on static resources |
CN112486486B (en) * | 2020-11-30 | 2024-05-14 | 上海万物新生环保科技集团有限公司 | Lottery drawing method and equipment based on static resources |
CN113590410A (en) * | 2021-06-20 | 2021-11-02 | 济南浪潮数据技术有限公司 | Resource request method, system, device and medium |
CN113590410B (en) * | 2021-06-20 | 2023-12-22 | 济南浪潮数据技术有限公司 | Resource request method, system, equipment and medium |
CN115514823A (en) * | 2022-09-23 | 2022-12-23 | 重庆旅游云信息科技有限公司 | Method and system for segmented transmission and caching of data |
Also Published As
Publication number | Publication date |
---|---|
CN106528154B (en) | 2020-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528154A (en) | Online seat picking method, system and device | |
CN108021929A (en) | Mobile terminal electric business user based on big data, which draws a portrait, to establish and analysis method and system | |
CN104035926B (en) | A kind of dispensing of internet information and system | |
CN108062678A (en) | A kind of advertisement bit allocation method, device and advertisement delivery system | |
US8341101B1 (en) | Determining relationships between data items and individuals, and dynamically calculating a metric score based on groups of characteristics | |
US20020089532A1 (en) | Graphical user interface and web site evaluation tool for customizing web sites | |
US20070214207A1 (en) | Method and system for accurate issuance of data information | |
CN109788020A (en) | One kind is attended a banquet distribution method and relevant device | |
CN106462560A (en) | Systems and methods for optimizing content layout using behavior metrics | |
CN109716713A (en) | Determine the best Delivery time of electronic information | |
CN107797834A (en) | Page generation method, device and the equipment of logistical applications | |
CN105900123A (en) | System and method to serve one or more advertisements with different media formats to one or more devices | |
CN103297291A (en) | Method and system for monitoring website real-time statuses | |
US20200074509A1 (en) | Business data promotion method, device, terminal and computer-readable storage medium | |
Francalanci et al. | Influence-based Twitter browsing with NavigTweet | |
CN108804445A (en) | Heating power drawing generating method and device | |
CN101911071A (en) | Centralized social network response tracking | |
CN109657017A (en) | It polymerize the methods of exhibiting and device of point set in map | |
JP5935511B2 (en) | Program and campaign management device | |
US20130346215A1 (en) | Advertisement distribution apparatus, distribution method, and distribution program | |
CN108965360A (en) | A kind of recommending data processing method and server, computer storage medium | |
CN103902380A (en) | Method, device and equipment for determining resource distribution through sand box | |
CN106790339A (en) | Metadata server, network device, and automatic resource management method | |
CN110838019A (en) | Method and device for determining trial supply distribution crowd | |
CN109246035A (en) | A kind of method and device of data transfer management |
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 |