Summary of the invention
The objective of the invention is provides a kind of entrance managing system based on fingerprint recognition and barcode technology at the anti-pseudo problem of above-mentioned proposition and the problem that prevents to scurry ticket.
For achieving the above object, the invention provides a kind of entrance managing system, this system comprises:
Server is used to generate system's ticketing service record that admission ticket bar code, storage comprise admission ticket information and finger print information, the comparison of carrying out finger print information and admission ticket information, sends to gate control system according to the result of described comparison and let pass or forbidden instruction;
Ticket issuing equipment, it links to each other with described server, is used to import booking information, sends the instruction of drawing a bill to admission ticket bar code loading equipemtn;
Admission ticket bar code loading equipemtn is connected with described ticket issuing equipment by the serial or parallel interface, is used for one dimension or two-dimensional bar code that server generates are loaded into admission ticket;
The admission ticket bar code recognizing apparatus, it links to each other with described server, is used to gather the admission ticket bar code information;
The fingerprint bar code recognizing apparatus, it links to each other with described server, is used to gather or verify ticket-buyer's finger print information; And
Gate control system, it links to each other with described server, and the instruction that is used for sending according to described server is let pass to the bearer or is forbidden.
Entrance managing system of the present invention can online use or off line use, online use is that the ticket checking unit is connected with server by LAN (Local Area Network), admission ticket bar code information and finger print information are stored in the data in server storehouse, corresponding admission ticket bar code and fingerprint comparison process are also carried out in server, and a plurality of ticketings and ticket checking terminal can be arranged; Off line uses the admission ticket information and the finger print information that are about in the database all to be stored in the integrated ticket checking unit, and comparison process is also carried out in the ticket checking unit.
The present invention also provides a kind of entrance managing method, comprises the following steps:
(1) ticketing step, it comprises:
At first generate the one dimension or the two-dimensional bar code of an appointment by described server, this bar code is loaded on the admission ticket, and this corresponding bar code is recorded in the database;
Gather ticket-buyer's finger print information by the fingerprint bar code recognizing apparatus, this finger print information is recorded in the database and corresponding, draw a bill then with corresponding admission ticket bar code information;
(2) ticket checking step, it comprises:
By the admission ticket bar code recognizing apparatus gather the bearer the admission ticket bar code information and with database in the admission ticket bar code information of being stored compare with determine this bar code information whether with database in bar code information consistent;
If the comparison result of admission ticket bar code information is inconsistent, then server sends the signal of forbidding that this bearer passes through to gate control system;
If the comparison result unanimity of admission ticket bar code information, then gather bearer's finger print information by the fingerprint bar code recognizing apparatus, and the corresponding finger print information of admission ticket described in described finger print information and the database compared, whether consistent to determine the corresponding finger print information of bearer's finger print information and admission ticket described in the database;
If the comparison result of finger print information is inconsistent, then server sends the signal of forbidding that this bearer passes through to gate control system; If the comparison result unanimity then keeps a record in database, server sends all-clear to gate control system.
Adopt the present invention, the uniqueness of admission ticket and reliability, the simplification of admission ticket management have been realized, improved antiforge function, and satisfied the special management requirement of some place for sightseeing " repeatedly turnover, the unification of people's ticket ", stopped the phenomenon that the many people of a ticket use, and have characteristics such as easy and simple to handle, stable, safe and reliable, can extensively promote the use of.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments:
Fig. 1 is system's connection layout according to an embodiment of the invention.Described system can be divided into ticketing unit 100, ticket checking unit 300 and CPU (central processing unit) 200.Wherein, described CPU (central processing unit) 200 comprises server 201 and the database 202 that is based upon on the server.Server 201 is control centers of total system, and the equipment that is attached thereto is controlled, and realizes ticket management, ticket checking management, data base administration.Wherein database 202 is used to store the system's ticketing service record that comprises admission ticket information, finger print information; Preferably, in the present embodiment, server 201 adopts the working method of double machine parallel, under the support of SCSI that shares and PlusWell Cluster fault-tolerant software, when main system breaks down, in the system of backup resource is come into operation.To improve the reliability and stability of system.
Described ticketing unit 100 comprises admission ticket bar code loading equipemtn 101 and fingerprint bar code recognizing apparatus 102.Described admission ticket bar code loading equipemtn 101 is that bar code is loaded into equipment on the blank admission ticket, can put down in writing some such as contents such as park information, activity name, the term of validity, points for attention on this blank admission ticket.In an embodiment of the present invention, employing is difficult for losing and cheap thin the card as the blank vote card of PVC polyester; Adopt ticket printer as admission ticket bar code loading equipemtn 101, one dimension or two-dimensional bar code that server 201 is generated and encrypts are printed on the described blank admission ticket.102 couples of ticket-buyers' of described fingerprint bar code recognizing apparatus fingerprint scans, generate fingerprint character code through analog to digital conversion, fingerprint character code is encrypted, and be converted to two-dimensional bar code, send described fingerprint bar code to server 201 by serial line interface, and database 202 is advanced in storage.
Described ticket checking unit 300 comprises admission ticket bar code recognizing apparatus 301, fingerprint bar code recognizing apparatus 302, gate control system 303.Bar code on 301 pairs of ticket cards of described admission ticket bar code recognizing apparatus scans recognition, and the bar code information after will distinguishing by serial line interface sends server 201 to and be decrypted, so as with database 202 in the true form of storage compare.In an embodiment of the present invention, adopt barcode scanner as admission ticket bar code recognizing apparatus 301.Described fingerprint bar code recognizing apparatus 302 is used for bearer's fingerprint is scanned identification, and bearer's finger print information that will scan after the identification sends server 201 to by serial line interface, so as with database 202 in ticket-buyer's finger print information of being stored compare.Described gate control system 303 is that the bearer is let pass or forbidden equipment, in an embodiment of the present invention, adopts gate as gate control system 303, when receiving the comparison correct signal that server sends, and gate control system 303 clearance bearers; Otherwise, forbid that the bearer passes through.
Fig. 2 is the process flow diagram of ticket sale process according to an embodiment of the invention, at first generates a designated length by described server 201, for example 13 bar code S401; Utilize specific cryptographic algorithm then, for example the DES algorithm is encrypted S402 to bar code; Bar code information after will encrypting by admission ticket bar code loading equipemtn 101 is loaded into S403 on the blank admission ticket; Simultaneously, true form information is recorded S404 in the system database 202; Then, gather ticket-buyer's fingerprint S405 by fingerprint bar code recognizing apparatus 101; And the finger print information that collects is converted to fingerprint character code, fingerprint character code is encrypted S406; And further generate two-dimensional bar code S407; Send described fingerprint two-dimensional bar code to server 201 by serial line interface, and described fingerprint two-dimensional barcode information is recorded S408 in the database 202; And perform the corresponding S409 of data; After finishing above-mentioned steps, ticket can be sold S410.
Fig. 3 expresses in the ticket checking process, the process flow diagram of Server Manager Daemon.At first, the bar code S601 of scanning bearer ticket held; Send described bar code to server 201 by serial line interface, by corresponding decipherment algorithm, for example, the DES algorithm is decrypted scanning gained bar code information, forms true form S602; With the true form of being stored in the database 202 S603 that compares; Determine this bar code information whether with database 202 in the consistent S604 of bar code information of certain ticket sheet of having sold; If comparison result is inconsistent, think that then this admission ticket may forge, server 201 sends the signal S610 that forbids that this bearer passes through to gate control system 303; If the comparison result unanimity is then carried out fingerprint recognition S605; Utilize fingerprint bar code recognizing apparatus collection bearer's fingerprint, send the fingerprint bar code information to server 201 by serial line interface, and with the corresponding fingerprint bar code information of admission ticket described in described fingerprint bar code information and the database 202 S606 that compares; Determine whether consistent S607 of the corresponding fingerprint bar code of bearer's fingerprint bar code and admission ticket described in the database 202; If inconsistent, think that then described legal admission ticket may be held by other people, " scurrying ticket " phenomenon promptly appears, and server 201 sends the signal S610 that forbids that this bearer passes through to gate control system 303; If bearer's fingerprint bar code fingerprint bar code corresponding with admission ticket described in the database 202 is consistent, then this admission ticket of record is normally used S608 in database 202; Server 201 sends all-clear S609 to gate control system 303; After finishing above-mentioned steps, then a ticket checking process finishes.It should be noted that, when the ticket-checking system off line is used, data in the described database 202 are solidificated in the ticket checking unit 300, for example, the data in the described database 202 be solidificated in admission ticket bar code recognizing apparatus 301 integrated and the gate 315 of fingerprint bar code recognizing apparatus 302 in.Corresponding comparison is also carried out in ticket checking unit 300.Further specify, according to embodiments of the invention, can utilize fingerprint capturer as fingerprint bar code recognizing apparatus 302, the process of fingerprint collecting can be gathered fingerprint characteristic value by fingerprint capturer, (the encrypting fingerprint program can be solidified in its inside by the corresponding development equipment of fingerprint collecting equipment then, do not show) the special information of output fingerprint (fingerprint character code after for example encrypting), by server 201 the special information of described fingerprint is generated two-dimensional bar code then; The process of fingerprint collecting also can be by fingerprint capturer with the collection of fingerprint picture and be sent to server 201, finishes the generation of fingerprint characteristic value by the fingerprint algorithm software in the server 201, and the generation of fingerprint two-dimensional bar code is also finished in server 201.
According to shown in Figure 4, according to one embodiment of present invention, each inlet ticket office comprises following equipment: by LAN (Local Area Network) 10 and the ticket printer 110 and the fingerprint barcode recognition equipment 102 that are the ticket machine 111 that is connected of intelligent information center 210, are connected with ticket machine by the serial or parallel interface.When a visitor need buy admission ticket, at first,, utilize application programming interfaces in ticket machine 111 terminals, send ticket purchasing request by LAN (Local Area Network) 10 to server 201.After server 201 is received described ticket purchasing request, generate a designated length, for example 13 bar code; Preferably, can adopt two-dimensional bar code, wherein can comprise ticket-buyer's information such as name, age, further improve anti-counterfeiting performance.Utilize specific cryptographic algorithm then, for example the DES algorithm is encrypted described bar code; Bar code information after encrypting is sent to ticket machine 111 by LAN (Local Area Network) 10, and true form information is recorded in the system database 202.After ticket machine 111 is received bar code information after the encryption, transmit bar code information and print commands by the serial or parallel interface to ticket printer 110, then ticket printer 110 prints the admission ticket that is loaded with bar code information.Any fingerprint by fingerprint barcode recognition equipment 102 collection ticket-buyers, pass through analog to digital conversion, convert fingerprint character code to, fingerprint character code is encrypted, and generation two-dimensional bar code, ticket machine 111 terminals send to database server 201 by LAN (Local Area Network) 10 with described fingerprint bar code, form and the corresponding record of bar code true form information in database 202.One time ticket sale process finishes.
For the purpose of disperseing the visitor, ticket office also is equipped with the returned ticket machine 112 of special execution returned ticket program.The returned ticket program will be narrated in the back.
By shown in Figure 5, according to one embodiment of present invention, represented a hand-held set ticket checking synoptic diagram.Hand-held set 310 is the admission ticket bar code recognizing apparatus 301 that present embodiment adopts.When taking ticket, the visitor comes the ticketing spot, ticket held is through hand-held set 310 scannings, bar code information on the admission ticket is sent to ticket checking Control work station 311 by the RS232 interface, and the station 311 of ticket checking Control work then is uploaded to database 202 by LAN (Local Area Network) 10 with the admission ticket bar code information.
By shown in Figure 6, according to one embodiment of present invention, represented a ticket-checking system synoptic diagram.Described system is made up of ticket checking Control work station 311, several gates 315, integrated fingerprint bar code recognizing apparatus 302 and admission ticket bar code recognizing apparatus 301 on the described gate 315.Utilize the mode of Ethernet 20 to be connected between the gate 315 with ticket checking Control work station 311.Data interaction is carried out by Ethernet 20 and database 201 in ticket checking Control work station 311.When the visitor takes ticket when coming the ticketing spot, admission ticket by 301 couples of visitors of admission ticket bar code recognizing apparatus integrated on the gate 315 scans recognition, ticket checking Control work station 311 is sent to database 202 with the admission ticket bar code information of obtaining, database 202 systems are through being true form to described admission ticket bar code information deciphering, the true form information of storage in described bar code information and the database 202 is compared, determine that described bar code information is whether consistent with the true form information of a certain bar code of storing in the database, if find inconsistent, think that then this admission ticket is to forge admission ticket, send forbidden signal to gate 315, forbid that the bearer passes through.If comparison result unanimity, then utilize fingerprint bar code recognizing apparatus 302 to gather bearer's fingerprint, and be converted to the fingerprint two-dimensional bar code, ticket checking Control work station 311 is sent to database 202 with the fingerprint bar code by LAN (Local Area Network) 10, with comparing with the corresponding fingerprint bar code information of admission ticket bar code of storage in described fingerprint bar code information and the database 202.If the comparison result unanimity is then sent all-clear to gate 315, allow the bearer to pass through; Otherwise, think the appearance phenomenon of " scurrying ticket ", send forbidden signal to gate 315, forbid that the bearer passes through.When the ticket-checking system off line is used, data in the described database 202 are solidificated in the ticket checking unit 300, for example, the data in the described database 202 have been solidificated in admission ticket bar code recognizing apparatus 301 integrated and the gate 315 of fingerprint bar code recognizing apparatus 302 in.Corresponding comparison is also carried out in ticket checking unit 300.
By shown in Figure 7, according to one embodiment of present invention, in actual applications, ticket office and wicket should be in same geographic position, and several are sold the wicket and are connected with intelligent information center 210 by LAN (Local Area Network) 10.For the purpose of simplifying, in Fig. 7, do not express the ticket printer 110 and the fingerprint bar code recognizing apparatus 102 that are connected with ticket machine.Application server 203 provides relevant network application for the user in the LAN (Local Area Network) 10; Management work station 204 provides control terminal for the system manager.All ticketings, ticket checking program are identical with the step of narrating previously.Now the returned ticket process is described, when the visitor returns ticket, utilize 301 couples of visitors' of admission ticket bar code recognizing apparatus admission ticket to scan recognition, ticket checking Control work station is sent to database 202 with the bar code information of obtaining, database 202 is through being true form to described bar code information deciphering, the true form information of storage in described bar code information and the database 202 is compared, determine that described bar code information is whether consistent with the true form information of a certain bar code of storing in the database, if find inconsistent, think that then this admission ticket is to forge admission ticket, not with returned ticket; If comparison result unanimity, then utilize fingerprint bar code recognizing apparatus 302 to gather bearer's fingerprint, and be converted to the fingerprint two-dimensional bar code, ticket checking Control work station 311 is sent to database 202 with the fingerprint bar code by LAN (Local Area Network) 10, with comparing with the corresponding fingerprint bar code information of admission ticket bar code of storage in described fingerprint bar code information and the database 202.If the comparison result unanimity is then returned ticket; Otherwise, think that non-ticket-buyer returns ticket, not with returned ticket.After the returned ticket, the record of the corresponding admission ticket of deletion in database 202, admission ticket is regained or punching is cancelled.
Although invention has been described for above embodiment as example, but it should be appreciated by those skilled in the art that and to carry out various possible change on form and the details and replacement and not deviate from the scope and spirit of the present invention that claims limit the present invention.