CN103268509A - Ticketing system based on two-dimensional code and encryption technique - Google Patents
Ticketing system based on two-dimensional code and encryption technique Download PDFInfo
- Publication number
- CN103268509A CN103268509A CN2013102203222A CN201310220322A CN103268509A CN 103268509 A CN103268509 A CN 103268509A CN 2013102203222 A CN2013102203222 A CN 2013102203222A CN 201310220322 A CN201310220322 A CN 201310220322A CN 103268509 A CN103268509 A CN 103268509A
- Authority
- CN
- China
- Prior art keywords
- ticket
- encryption
- dimensional code
- information
- holder
- 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.)
- Pending
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a ticketing system based on a two-dimensional code and an encryption technique, and belongs to the technical field of two-dimensional codes. The ticketing system comprises an encryption module, a two-dimensional code generation module and a decryption module. Ticket information is encrypted by using encryption and decryption information provided by a ticket-holder; and the two-dimensional code is generated. Thus, the defect that the two-dimensional code ticketing system in the prior art is short of the encryption technique is solved. The encryption and decryption information needs to be input for decryption so as to carry out identity authentication when the ticket-holder enters a park by scanning the two-dimensional code. Thus, the situation that people arrogate the ticket-holder to enter the park is avoided; the rights and interests of the ticket-holder are ensured; and the safety of the ticket system is also enhanced.
Description
Technical field
The invention belongs to the planar bar code technology field, more precisely, the present invention relates to a kind of ticketing system based on two-dimension code and encryption technology.
Background technology
Along with science and technology development, planar bar code technology has been applied to each face of each side of society.Two-dimension code is that the barcode technology of new generation of the chequered with black and white rectangle square formation record data symbolic information that (on the two-dimensional directional) distributes on the plane according to certain rules with specific geometric figure has and contains much information, error correcting capability is strong, recognition speed is fast, the confidentiality height, the tracking height, characteristics such as anti-damage is strong, and redundant is big, and cost is cheap.Mobile phone two-dimension code is the application of planar bar code technology on mobile phone, has been widely used in invitation card at present, and placard is registered, business card, direction board, various occasions such as exploitation.
Planar bar code technology is applied to an impact that can be described as in the ticketing system of park the traditionally on paper admission ticket.At present, in two-dimension code ticketing service field, just generate two-dimension code with admission ticket information simply.Can occur pretending to be the visitor to enter the phenomenon in park unavoidably like this.Therefore, need make up safe park ticketing system in conjunction with planar bar code technology and encryption technology.
The symmetric key cipher system has been widely used in various information has been encrypted, and has also obtained using widely in authentication, as the AES technology etc.If use two-dimension code when some important events transmission has the data of identity information, then should be optimized design to its encryption and decryption process in conjunction with above encryption technology.
Summary of the invention
The objective of the invention is: the deficiency at two-dimension code ticketing system shortage encryption technology in the prior art provides a kind of ticketing system based on two-dimension code and encryption technology.
Specifically, the present invention adopts following technical scheme to realize: a kind of ticketing system based on two-dimension code and encryption technology, comprise encrypting module, two-dimensional code generation module, deciphering module, wherein:
Encrypting module is used for the encryption and decryption information that provides with the ticket-holder as encryption key, admission ticket information is encrypted;
Two-dimensional code generation module is for the admission ticket two-dimension code of the admission ticket information after encrypting being handled, generated encryption;
Deciphering module, the encryption and decryption information that is used for providing according to the ticket-holder is decrypted the admission ticket two-dimension code of encrypting, and obtains admission ticket information.
Of the present invention being further characterized in that: the encryption and decryption information that described ticket-holder provides is after ticket-holder's the ID (identity number) card No. six.
Of the present invention being further characterized in that: described encrypting module, deciphering module, all adopt the AES encryption and decryption technology.
Beneficial effect of the present invention is as follows: the encryption and decryption information that the present invention utilizes the ticket-holder to provide is encrypted admission ticket information, and generates two-dimension code, thereby has solved the deficiency of two-dimension code ticketing system shortage encryption technology in the prior art.When the ticket-holder at the scanning two-dimension code when entering the park, need six deciphering after the input ID (identity number) card No., carry out authentication, prevent the situation that the ticket-holder enters the park of falsely claiming to be, both guaranteed ticket-holder's rights and interests, strengthened the security of ticket-booking system again.
Description of drawings
Fig. 1 is ciphering process synoptic diagram of the present invention.
Fig. 2 is two-dimension code generative process synoptic diagram of the present invention.
Fig. 3 is deciphering of the present invention and proof procedure synoptic diagram.
Embodiment
With reference to the accompanying drawings and in conjunction with example the present invention is described in further detail.
The present invention adopts the AES encryption and decryption technology, improves current park two-dimension code ticketing system.Innovation part of the present invention be when the visitor when the surface sweeping two-dimension code enters the park, need the input key, as after the ID (identity number) card No. six, carry out authentication, prevent and falsely claim to be the situation that the visitor enters the park, and two-dimension code has guaranteed the security of system by the cipher-text information generation.
The system that the present invention uses comprises following components:
Encrypting module: to the ticket booking time, price, the information of admission tickets such as place, scenic spot, with the ticket-holder ID (identity number) card No. after six as encryption key, be encrypted.
Two-dimensional code generation module: the admission ticket information after encrypting is handled, generated two-dimension code.
Deciphering module: the visitor with my ID (identity number) card No. after six be decrypted, see and whether can successfully decipher, and check admission ticket information.
Adopt after the above method, the present invention compared with prior art has the following advantages: when the visitor at the scanning two-dimension code when entering the park, six deciphering after the needs input ID (identity number) card No., carry out authentication, prevent and falsely claim to be the situation that the visitor enters the park, guaranteed visitor's rights and interests.
The present invention can adopt following process specifically to implement:
1) visitor is scheduled to admission ticket on the net:
1-1) visitor fills in predetermined information at webpage, admission ticket classification, date, number etc.
1-2) input handset number, information such as ID (identity number) card No..
2) the ticket booking background system generates predetermined information, and idiographic flow is as follows:
2-1) background system reads visitor's fill message, obtains predetermined admission ticket information M.
2-2) with after visitor's ID (identity number) card No. six be encryption key h, use the AES encryption technology, predetermined admission ticket information M is encrypted, obtain cipher-text information C, detailed process as shown in Figure 1.
2-3) as shown in Figure 2, cipher-text information C is imported the two-dimension code maker, the ticket booking information after encrypting is converted into two-dimension code N;
3) background system is sent to visitor's mobile phone with two-dimension code N.
4) when the visitor goes into the garden, by going into garden admission ticket verification system visitor's admission ticket information is verified as shown in Figure 3:
4-1) the two-dimension code N that visitor's mobile phone has been received scans identification, obtains the information that two-dimension code comprises, i.e. cipher-text information C.
4-2) visitor imports behind personal identification papers's number six and is decrypted.
4-3) successful decryption is then represented authentication success; Otherwise, the expression authentification failure.
4-4) by manually to after the admission ticket information confirmation after the deciphering, allow the visitor to enter the park; Otherwise, forbid that then the visitor enters the park.
Though the present invention is with preferred embodiment openly as above, embodiment be not limit of the present invention.Without departing from the spirit and scope of the invention, any equivalence of doing changes or retouching, belongs to the present invention's protection domain equally.Therefore protection scope of the present invention should be standard with the application's the content that claim was defined.
Claims (3)
1. the ticketing system based on two-dimension code and encryption technology is characterized in that, comprises encrypting module, two-dimensional code generation module, deciphering module, wherein:
Encrypting module is used for the encryption and decryption information that provides with the ticket-holder as encryption key, admission ticket information is encrypted;
Two-dimensional code generation module is for the admission ticket two-dimension code of the admission ticket information after encrypting being handled, generated encryption;
Deciphering module is used for the admission ticket two-dimension code of encrypting is decrypted to obtain admission ticket information.
2. the ticketing system based on two-dimension code and encryption technology according to claim 1 is characterized in that: the encryption and decryption information that described ticket-holder provides is after ticket-holder's the ID (identity number) card No. six.
3. the ticketing system based on two-dimension code and encryption technology according to claim 1 and 2 is characterized in that: described encrypting module, deciphering module, all adopt the AES encryption and decryption technology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102203222A CN103268509A (en) | 2013-05-31 | 2013-05-31 | Ticketing system based on two-dimensional code and encryption technique |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102203222A CN103268509A (en) | 2013-05-31 | 2013-05-31 | Ticketing system based on two-dimensional code and encryption technique |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103268509A true CN103268509A (en) | 2013-08-28 |
Family
ID=49012136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102203222A Pending CN103268509A (en) | 2013-05-31 | 2013-05-31 | Ticketing system based on two-dimensional code and encryption technique |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103268509A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593692A (en) * | 2013-11-28 | 2014-02-19 | 上海许继电气有限公司 | System and method for achieving electronic work ticket certification on basis of relay protection fault information system and two-dimensional codes |
CN104598800A (en) * | 2015-01-21 | 2015-05-06 | 浪潮通用软件有限公司 | Authentication method and authentication system for identity information of grain depot and terminal equipment |
CN104899747A (en) * | 2014-08-28 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Virtual bill generating and verifying method, apparatus and system |
CN105321209A (en) * | 2014-05-27 | 2016-02-10 | 上海市闵行第二中学 | Ticket booking and checking system and ticket booking and checking method thereof |
CN107331014A (en) * | 2017-07-07 | 2017-11-07 | 北京广隆方略技术有限公司 | A kind of easily scenic spot enters garden method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006020820A2 (en) * | 2004-08-13 | 2006-02-23 | Flash Seats, Llc | Multi-input access device and method of using the same |
CN102236877A (en) * | 2010-04-28 | 2011-11-09 | 陈麟华 | Method for preventing scalping tickets |
CN102663618A (en) * | 2012-03-23 | 2012-09-12 | 江苏新彩软件有限公司 | Paperless lottery electron voucher enforcement method |
-
2013
- 2013-05-31 CN CN2013102203222A patent/CN103268509A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006020820A2 (en) * | 2004-08-13 | 2006-02-23 | Flash Seats, Llc | Multi-input access device and method of using the same |
CN102236877A (en) * | 2010-04-28 | 2011-11-09 | 陈麟华 | Method for preventing scalping tickets |
CN102663618A (en) * | 2012-03-23 | 2012-09-12 | 江苏新彩软件有限公司 | Paperless lottery electron voucher enforcement method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593692A (en) * | 2013-11-28 | 2014-02-19 | 上海许继电气有限公司 | System and method for achieving electronic work ticket certification on basis of relay protection fault information system and two-dimensional codes |
CN105321209A (en) * | 2014-05-27 | 2016-02-10 | 上海市闵行第二中学 | Ticket booking and checking system and ticket booking and checking method thereof |
CN104899747A (en) * | 2014-08-28 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Virtual bill generating and verifying method, apparatus and system |
CN104899747B (en) * | 2014-08-28 | 2017-06-13 | 腾讯科技(深圳)有限公司 | Virtual tickets generation, verification method, apparatus and system |
CN104598800A (en) * | 2015-01-21 | 2015-05-06 | 浪潮通用软件有限公司 | Authentication method and authentication system for identity information of grain depot and terminal equipment |
CN107331014A (en) * | 2017-07-07 | 2017-11-07 | 北京广隆方略技术有限公司 | A kind of easily scenic spot enters garden method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103366111B (en) | Mobile device realizes the method for smart card extended authentication control based on Quick Response Code | |
CN202019354U (en) | Article identity authenticating and anti-counterfeiting system based on NFC (near field communication) cellphone | |
US20160210621A1 (en) | Verifiable credentials and methods thereof | |
CN106100850B (en) | Intelligent and safe chip signing messages transmission method and system based on two dimensional code | |
CN104134142A (en) | Metro ticket buying and checking method based on two-dimension code recognition | |
US8540149B1 (en) | Active barcode authentication system and authentication method thereof | |
CN105590199A (en) | Payment method and payment system based on dynamic two-dimensional code | |
CN1388946A (en) | System and method for cardless secure credit transaction processing | |
CN103268509A (en) | Ticketing system based on two-dimensional code and encryption technique | |
CN202854880U (en) | SMS payment system based on fingerprint identification mobile phone | |
KR20140108749A (en) | Apparatus for generating privacy-protecting document authentication information and method of privacy-protecting document authentication using the same | |
Purnomo et al. | Mutual authentication in securing mobile payment system using encrypted QR code based on public key infrastructure | |
CN104008322A (en) | Two-dimension code publisher identity authentication method based on reliable digital signature | |
CN104408622A (en) | System and method for confirming electronic trade based on independent password equipment | |
CN103810588A (en) | Electronic seal system and electronic seal | |
CN105187357A (en) | Two-dimension code verification method and system | |
CN103456050A (en) | Electronic confirmation method and system | |
EP2674901A1 (en) | Active barcode authentication system and authentication method thereof | |
CN102647410A (en) | Information safe system and method based on light sensation identification | |
CN102622823B (en) | Safe invoice system and realization method thereof | |
CN103942479A (en) | Electronic fingerprint identity label generating and verifying method | |
KR101242684B1 (en) | User certification system and method for 2 dimensional barcode | |
CN202424738U (en) | Identity authentication safety management system | |
CN102724039A (en) | Method for authenticating copy information of identity card | |
CN103905206A (en) | Cross-equipment and cross-application identity authentication method based on data image coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130828 |
|
RJ01 | Rejection of invention patent application after publication |