Utility model content
For above-mentioned prior art, the technical problem that the utility model is solved provides one kind can be carried out soon to electronic entrance ticket
The system that speed is easily verified.
To achieve the above object, the utility model provides a kind of electronic entrance ticket checking system, and the system includes:Admission ticket is managed
Server, admission ticket checking equipment, admission ticket subscribe end, access control equipment, and admission ticket management server is with admission ticket checking equipment by interconnection
Net connection, end is subscribed by mobile Internet or wireless internet connection with admission ticket, and admission ticket checking equipment access control equipment is opened
Close;
Admission ticket management server is responsible for admission ticket reservation order data, storage in the following a period of time of each ticket checking place
And in management system each user account information;End is subscribed with admission ticket to interact, receive to subscribe end to presell admission ticket letter from admission ticket
The reservation request of data is ceased, and after admission ticket subscribes end payment admission ticket, generation admission ticket subscribes order and admission ticket checking information;With door
Ticket verify equipment communication, realize admission ticket subscribe order transmission, receive, collect and order data renewal;
Admission ticket checking equipment realizes that triggering admission ticket subscribes end and searches electronic entrance ticket;And read and match checking admission ticket checking
The opening and closing of information and access control equipment;It is responsible for receiving and preserving the admission ticket reservation order sent from admission ticket management end simultaneously
Information data, and be responsible for admission ticket management server loopback day ticket the result data;
Admission ticket subscribes end and is responsible for the registration of user account and logs in;Advance ticket sales information is obtained to admission ticket management server simultaneously
Realize the on-line payment of electronic entrance ticket;When admission ticket subscribes end, and the admission ticket checking equipment corresponding to admission ticket has been subscribed close to it, connect
The admission ticket checking trigger signal that checking equipment sends is received, trigger Automatic-searching simultaneously shows the corresponding electronic entrance ticket being locally stored
Quick Response Code, facilitates user to be rapidly completed admission ticket checking flow.
A kind of electronic entrance ticket verification method that the present invention is also provided, including following operating process:
Booking process:Admission ticket subscribes end and registers and log in the admission ticket management server, inquires about and pay subscription admission ticket;
Answering:Admission ticket management server is generated according to subscription information and preserves admission ticket subscribes order, and admission ticket is ordered
Singly return to admission ticket and subscribe end preservation
Send order process:Admission ticket management server receives the admission ticket checking device request, by day ticket order hair
Corresponding admission ticket checking equipment is delivered to preserve;
Triggering verification process:Admission ticket checking equipment utilization wireless blue tooth protocol sends admission ticket checking trigger signal, trigger gate
Ticket subscribes end and searches corresponding admission ticket order and be converted to two-dimension code image;
Input validation process:The two-dimension code image input admission ticket checking equipment that admission ticket subscribes end is completed admission ticket and tested by user
Card;
Return to order process:After the admission ticket proving time terminates, admission ticket verifies that equipment returns to the result of admission ticket order
Give admission ticket management server, admission ticket management server carries out removal treatment to order.
The technical scheme provided using the utility model, integrated wireless data transmitting equipment in admission ticket checking equipment, with door
Ticket subscribes end radio communication so that admission ticket checking equipment triggering admission ticket subscribes end and searches for electronic entrance ticket automatically during ticket checking,
Admission ticket subscribes end and automatically generates and show the corresponding Quick Response Code of electronic entrance ticket.This working method saves user and searches electronic entrance ticket
Time, admission ticket checking flow is simplified, more admission tickets can be verified in same time, and whole admission ticket checking flow need not
Other staff participate in, thus cost savings human cost.
Using based on ARM embeded processors, software platform is used admission ticket checking device hardware in the utility model
LINUX operating systems, it is ensured that admission ticket verifies stability, high efficiency and the low cost of equipment;Admission ticket checking equipment makes simultaneously
With low-power consumption bluetooth agreement send admission ticket verify trigger signal, green safety and efficiently.Each part is connected by mutually in scheme
Networking or mobile Internet, it is ensured that the real-time and stability of information exchange.Using PaaS Cloud Server platforms as admission ticket pipe
Reason server, improves the resistance to overturning and reliability of system, also reduces system operation cost.Admission ticket management server is used
Database storage system relevant information, it is ensured that the security and operation ease of data.
Specific embodiment
With reference to specific embodiments and the drawings, the utility model is expanded on further.
It is the integrated connection of electronic entrance ticket fast verification system refering to Fig. 1.
It includes:Admission ticket management server, admission ticket checking equipment, admission ticket subscribe end.Admission ticket verifies that equipment is managed with admission ticket
Server is connected by internet, and admission ticket is subscribed end and is connected by mobile Internet or internet with admission ticket management server.
Admission ticket management server is responsible for:The data that end and admission ticket checking equipment send are subscribed in reception processing from admission ticket;Deposit
Critical data needed for storage system.
Preferably, admission ticket management server is built in PaaS Cloud Servers, and server installs MySQL database and uses PHP
Script realizes all treatment;MySQL database is used to preserve the data such as admission ticket data, the system user information of presell;PHP
Shell script is used to realize the various processing functions of admission ticket management server, including:Interacted with admission ticket reservation end and realize admission ticket branch
Pay, the generation and storage of admission ticket order, the work such as the generation of admission ticket checking information;Interacted with admission ticket checking equipment, realize admission ticket
Subscribe the work such as transmission and the receiving treatment of order;
Admission ticket verifies that device core is realized by the ARM embeded processors based on Samsung's Exynos4412 processors;
Software platform runs LINUX operating systems and SQLite light-weight databases;Admission ticket checking equipment need to verify porch in admission ticket
At least one is installed, and is correctly connected with access control equipment;Admission ticket checking equipment connects admission ticket and manages after mounting, by internet
Server.Admission ticket checking equipment task includes:Receive the admission ticket reservation sequence information that admission ticket management server sends;Admission ticket is verified
The reading of information is verified with judgement;Control entrance access control equipment is opened or closed;To the admission ticket all doors of management server loopback
Ticket subscribes order processing result data etc..
Admission ticket subscribes end for user carries with and is mounted with that the smart mobile phone or portable flat panel of the system application software are electric
Brain;Application software is the application program based on Android or IOS;User is registered using admission ticket reservation system, logs in system
System, carries out admission ticket inquiry, admission ticket and pays and preserve admission ticket order and the checking information for receiving that admission ticket management server sends.
A kind of electronic entrance ticket verification method provided by the present invention, including following operating process:
Booking process:Admission ticket subscribes end and registers and log in the admission ticket management server, inquires about and pay subscription admission ticket;
Answering:Admission ticket management server is generated according to subscription information and preserves admission ticket subscribes order, and admission ticket is ordered
Singly return to admission ticket and subscribe end preservation
Send order process:Admission ticket management server receives the admission ticket checking device request, by day ticket order hair
Corresponding admission ticket checking equipment is delivered to preserve;
Triggering verification process:Admission ticket checking equipment utilization wireless blue tooth protocol sends admission ticket checking trigger signal, trigger gate
Ticket subscribes end and searches corresponding admission ticket order and be converted to two-dimension code image;
Input validation process:The two-dimension code image input admission ticket checking equipment that admission ticket subscribes end is completed admission ticket and tested by user
Card;
Return to order process:After the admission ticket proving time terminates, admission ticket verifies that equipment returns to the result of admission ticket order
Give admission ticket management server, admission ticket management server carries out removal treatment to order.
It is that admission ticket verifies device hardware structure refering to Fig. 2.
Specifically include:Exynos4412 embeded processors are local management end core part, are responsible for connecting other hardware
Part completes admission ticket checking flow jointly;It is that Quick Response Code reads in camera that identifying code reads in module, is swept for subscribing end from admission ticket
Retouch reading admission ticket Quick Response Code;Entrance gate inhibition motor component be entrance gate inhibition's control unit, when admission ticket verify device authentication admission ticket into
After fruit, controlled motor component working starting gate;Admission ticket trigger module by TI companies CC2541 Bluetooth protocols chip and bluetooth
Antenna is constituted, and the module is used for admission ticket reservation end described in wireless trigger and shows electronic entrance ticket automatically;Gate inhibition's induction module is by ultrasound
Wave sensor realization, judges whether user has passed through gate inhibition for sensing, and is automatically switched off with access control;Network interface realizes institute
State the network connection of admission ticket checking equipment and the admission ticket management server;System program and data storage save the door
Ticket verifies operating system, local control program, ticket checking place and admission ticket checking facility information and database information of equipment etc.;For
Circuit provides power supply for all parts of admission ticket checking equipment.
Special admission ticket trigger module is wireless low-power consumption Bluetooth transmission part, and its effect is when user is close to the door
During ticket checking equipment, being capable of the automatic Quick Response Code figure searched and show correspondence electronic entrance ticket in admission ticket reservation end described in wireless trigger
Piece.Admission ticket trigger module outwards broadcasts admission ticket checking trigger signal with the set time, and the preferably time interval is set to 0.1
Second.Preferably admission ticket verifies at least including for trigger signal:Ticket checking place ID, ticket checking device id, admission ticket triggering distance threshold TX
Power fields, each field is 16 bits.Ticket checking place ID is used to identify a certain admission ticket checking place, such as park or movie theatre;
Specific admission ticket checking equipment in ticket checking device id mark ticket checking place, such as has multiple ticket checking entrances in park or stadium.Together
Each admission ticket checking equipment in one ticket checking place possesses identical ticket checking place ID and each unique ticket checking device id;Admission ticket
It is close to each other with admission ticket checking equipment and trigger ticket checking that triggering distance threshold TX power represent that the admission ticket subscribes end
Distance threshold, i.e., described admission ticket is subscribed end and is detected and is more than or equal to by the bluetooth signal intensity value of admission ticket checking equipment transmitting
Just triggering admission ticket verifies flow during TX power values.The value verifies the program setting of equipment by being installed on admission ticket, it is preferable that should be away from
The signal strength values with a distance from 0.5 meter are set to from value.
Admission ticket trigger module uses low-power consumption bluetooth IBEACON agreements, uses the major fields in the protocol data form
Correspondence ticket checking place id field, minor fields correspondence ticket checking equipment id field.Admission ticket subscribes end and receives door by Bluetooth antenna
After ticket checking trigger signal, searched with the major fields in signal and compare the electronic entrance ticket information that admission ticket reservation end is locally stored
In ticket checking place id field.The ticket information that the match is successful is generated into corresponding two-dimension code image, is verified from admission ticket for user
Equipment is input into electronic entrance ticket information.
Admission ticket order data table, ticket information table, admission ticket checking equipment letter are saved in admission ticket management server data storehouse
Breath table, user's registration account information table etc..
One ticket sheet information of every data correspondence in admission ticket order data table, it includes:Order ID, ticket checking place ID is
Major fields, admission ticket checking device id is minor fields, ID, admission ticket subscription time, admission ticket proving time, admission ticket checking
The fields such as key.Wherein order ID is that system is uniquely generated;Distributed when ID is user's registration system;Admission ticket subscription time
Enter the time in admission ticket place for user's reservation;Admission ticket authentication secret is for admission ticket checking, 128 bits generated by MD5 algorithms
Data, including order ID, ID, admission ticket ticket reserving time and system generation random number etc., admission ticket subscribes end to be made its information
Quick Response Code is generated with admission ticket authentication secret.
Ticket information table includes:The fields such as ticket checking place ID, admission ticket remainder, ticket price.Admission ticket verifies facility information
Table contains the admission ticket checking device id that admission ticket place name is included with ticket checking place ID corresponding relations and admission ticket place ID
Information.The table includes:The fields such as admission ticket place name, ticket checking place ID, admission ticket ticket checking device id.
Fig. 3 is that admission ticket subscribes end reservation admission ticket flow chart.
Specific process step includes:
Step 1 user subscribes end register account number by admission ticket, and logs in the admission ticket management server;
Step 2 user subscribes end and searches the place for needing to subscribe by admission ticket, and is input into the ticket reserving time and subscribes admission ticket number
Amount;
Step 3 completes order payment after submitting reservation request to;
Step 4 receives and preserves the admission ticket sequence information that the admission ticket management server sends;The admission ticket sequence information bag
Include:Order ID, ticket checking place ID, admission ticket subscription time, admission ticket authentication secret, wherein admission ticket authentication secret will be with two bit code figures
Sheet form is preserved, and being input into the admission ticket checking equipment for subsequent user uses.
Fig. 4 is that admission ticket management servers process admission ticket subscribes flow chart.
Admission ticket management server is subscribed end and carries out data exchange by mobile Internet with the admission ticket, completes admission ticket order
Generate and subscribe end to the admission ticket and return to the operation such as admission ticket order.Specific process step includes:
Step 1 admission ticket management server initialize critical data form, including admission ticket order data table, ticket information table,
User's registration account information, admission ticket checking facility information table etc.;
Step 2 admission ticket management server receives the admission ticket and subscribes end inquiry by network interface, and returns to user's inquiry
Admission ticket result;
Step 3 is recorded and subscribes admission ticket relevant information according to the reservation request of user.Query-relevant data table is by ticket checking place
Corresponding ticket checking place ID, the corresponding user account ID of user name simultaneously generate order ID, information above are inserted newly-generated
Admission ticket order, admission ticket checking device id, admission ticket proving time and admission ticket authentication secret field are sky in special order, treat follow-up
Inserted after admission ticket checking.Then subscribe end to the admission ticket and return to order payment request;
After step 4 pays successfully, door in the ID entries of correspondence ticket checking place in admission ticket management server modification ticket information table
Ticket remainder;
Step 5 admission ticket management server is calculated according to order ID, ticket checking place ID, ID and random number using MD5
Method generates the admission ticket authentication secret of 128 bits, and this authentication secret is inserted into admission ticket order.Finally by order ID, ticket checking place
ID, admission ticket subscription time and admission ticket authentication secret send back to the admission ticket and subscribe end.
Subscribing end by admission ticket for user carries out quitting the subscription of or changing label for admission ticket, and admission ticket management server is operated and ordered
Ticket flow is similar to.
Fig. 5 is admission ticket management servers process admission ticket order processing flow chart.
Admission ticket management server carries out admission ticket order data and exchanges with admission ticket checking equipment by internet, completes admission ticket and orders
Single transmission and the result reception processing.Specific process step includes:
Step 1 admission ticket management server receives admission ticket and verifies the business order that equipment sends by network interface.According to industry
Business order is divided into two kinds of handling processes:Request order business and loopback order business;
Step 2 then verifies ticket checking place ID that equipment sends from admission ticket if request order operation flow according to admission ticket
All corresponding admission ticket orders are searched in order data table;According to the system data of admission ticket management server, same day admission ticket is picked out
Order sends back the admission ticket checking equipment, and wherein admission ticket sequence information includes:Order ID, admission ticket subscription time and admission ticket
Authentication secret;
Step 3 receives the same day admission ticket Firm Order that admission ticket checking equipment is beamed back if loopback order operation flow, then
As a result.Order ID in the result order is searched into correspondence order, and admission ticket proving time, admission ticket checking device id are filled out
In entering the corresponding field of order.Then the admission ticket order that will be proved to be successful is removed, and is transferred in historical data table.Judge that admission ticket is tested
It is that the admission ticket in order verifies that device id and admission ticket proving time field are simultaneously non-NULL to demonstrate,prove successful condition.
Fig. 6 is that admission ticket subscribes end door ticket checking flow chart.
After admission ticket subscribes end close to admission ticket checking equipment, tested according to the admission ticket for receiving the admission ticket checking equipment transmitting
Trigger signal is demonstrate,proved, admission ticket subscribes end, and admission ticket order has been subscribed in search automatically, and the admission ticket authentication secret two-dimension code image that will be searched is certainly
It is dynamic to be shown to screen, equipment is verified for user input, complete the checking flow of admission ticket.
Specific process step includes:
Step 1 admission ticket subscribes end and receives admission ticket checking trigger signal by Bluetooth antenna;
Step 2 is verified the TX power values in trigger signal subscribe end current Bluetooth signal strength indicator with admission ticket by admission ticket
RSSI compares, and when RSSI then enters step 3 more than or equal to TX power threshold values, otherwise goes to step 1;
Step 3 reads the major fields that admission ticket verifies trigger signal, i.e. ticket checking place ID;
Step 4 is compared with all admission ticket orders that ticket checking place ID subscribes end preservation with admission ticket, finds out satisfaction
The admission ticket order of matching condition.1 is gone to step if admission ticket is not found, represents that user is currently not subscribing to the place admission ticket;
Step 5 has found out the admission ticket subscription time of admission ticket order in the current date matching step 4 with admission ticket reservation end,
It is only the date information of time with content.1 is gone to step if matching admission ticket is not found, represents that user is not subscribing to current date
The place admission ticket;
Admission ticket authentication secret in the admission ticket order of matched and searched in step 5 is converted to two-dimension code image and shown by step 6
Subscribed on the screen of end in admission ticket.If many ticket sheet orders, then subscribe end page turning control in admission ticket and control many ticket sheets
Two-dimension code image shows that many ticket sheets are sequentially input into the admission ticket for user verifies equipment.
Fig. 7 is that admission ticket verifies the order processing of equipment admission ticket and admission ticket checking flow chart.
Admission ticket checking equipment carries out admission ticket order data and exchanges by internet interface and admission ticket management server.During ticket checking
Between start before, admission ticket checking equipment obtains the same day needs the admission ticket order of checking, and preserves in local data base;Ticket checking starts
Afterwards, admission ticket checking equipment sends admission ticket and verifies trigger signal by admission ticket trigger module, and reading in module by identifying code reads in simultaneously
Checking admission ticket;After the ticket checking time terminates, the result of admission ticket order is passed back to admission ticket management server by admission ticket checking equipment
Treatment is preserved.
Specific process step includes:
Step 1 admission ticket verifies that equipment sends ticket checking place ID and admission ticket the checking equipment of itself to admission ticket management server
ID, the admission ticket order of checking is currently needed for obtain and is preserved to local data base.To every checking admission ticket order, admission ticket checking
Equipment includes the information of preservation:Order ID, admission ticket subscription time, admission ticket authentication secret and admission ticket proving time.Especially
, do not verify that the admission ticket proving time of admission ticket order is initialized as sky.
After step 2 enters normal authentication flow, admission ticket checking equipment judges whether the current ticket checking time terminates.End then turns
Enter step 6, into loopback order operation flow;3 are otherwise gone to step, flow is verified into admission ticket;
Step 3 admission ticket verifies that equipment periodically sends ticket checking place ID by admission ticket trigger module and admission ticket verifies equipment
ID and admission ticket triggering distance threshold TX power, i.e. admission ticket checking trigger signal.The preferably transmission cycle is 0.5 second.Together
When by identifying code read in module read in admission ticket validation key information;
Step 4 matches the admission ticket order being locally stored by admission ticket authentication secret;The match is successful then enters step 5, otherwise
It is transferred to step 2.
The step 5 modification admission ticket sequence information that the match is successful, inserts admission ticket proving time field.Admission ticket verifying field non-NULL
For admission ticket is proved to be successful judgement symbol.Simultaneously access control opening of device, clearance user enter ticket checking place;By sensing user
By after gate inhibition, closing access control equipment;
The step 6 ticket checking time terminates, and admission ticket checking equipment is sent to by the admission ticket order that network interface will be proved to be successful
Admission ticket management server.All admission ticket sequence informations in local data base are deleted simultaneously, and admission ticket order processing flow terminates.