CN103400418B - A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method - Google Patents

A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method Download PDF

Info

Publication number
CN103400418B
CN103400418B CN201310319671.XA CN201310319671A CN103400418B CN 103400418 B CN103400418 B CN 103400418B CN 201310319671 A CN201310319671 A CN 201310319671A CN 103400418 B CN103400418 B CN 103400418B
Authority
CN
China
Prior art keywords
ticket
mobile terminal
ticket checking
secret key
booking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310319671.XA
Other languages
Chinese (zh)
Other versions
CN103400418A (en
Inventor
佘堃
荆瑜琳
陈泽玮
蔡栩阳
金星驰
李俊
牛新征
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Zhijiangou Technology Co ltd
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201310319671.XA priority Critical patent/CN103400418B/en
Publication of CN103400418A publication Critical patent/CN103400418A/en
Application granted granted Critical
Publication of CN103400418B publication Critical patent/CN103400418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method, belong to electronic bill technical field.The present invention generates ticket sale system double secret key by ticketing end, and its PKI is sent to ticket checking end; During booking, the booking public key of generation, equipment mark code, system time T1 and ticket purchasing request information, based on NFC, are sent to ticketing end by mobile terminal; Ticketing end generates corresponding electronic ticket, based on ticketing service key, carries out digital signature process concurrent time mobile terminal to the mistiming of electronic bill information, ticketing end system time and T1; During ticket checking, mobile terminal is based on current electronic ticket to be checked, according to booking key, digital signature process is carried out to electronic ticket to be checked number, terminal system time T2, and the signing messages it obtained, equipment mark code, mistiming, electronic ticket information to be checked etc. are sent to ticket checking end based on NFC, inspection electronic ticket information and whether mate correlation time and realize ticket checking.The present invention effectively can avoid the profiteering of electronic bill.

Description

A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method
Technical field
The invention belongs to electronic bill technical field, be specifically related to a kind of electronic bill ticketing based on mobile terminal and ticket checking method.
Background technology
Traditional user's ticketing service mode is mainly entity mode, user is needed to obtain the bill of essence character, need to carry bill in kind simultaneously and provide when ticket checking, buy with use exist many constant, along with Internet technology, the development of the communication technology, particularly terminal technology, NFC (NearFieldCommunication, close range wireless communication) development of technology, for the development of the electronic ticket business system based on mobile terminal provides feasibility, as the publication number Chinese patent application that is CN103177513A discloses a kind of electronic ticket business system of NFC terminal, in this scenario, user provides the NFC identifying information of mobile terminal when registering, the ticket information order user and this NFC identifying information are bound, when ticket checking, based on the inquiry of NFC identifying information with or without the ticket information of correspondence, more associated ticket information (train number etc. as ticketing service service time, ticket) is tested, by then letting pass.Because it only then can realize ticket checking based on NFC identifying information, therefore as long as NFC identifying information, the user's registration information that booking uses can be obtained, just can use bought electronic ticket on any mobile terminal, namely the mobile terminal when program can not guarantee ticket checking is consistent with mobile terminal during booking, ticket information then ordered by it can be shifted arbitrarily, the profiteering problem to the ticketing service such as admission ticket, ticket can not be solved, there is potential safety hazard simultaneously.
Summary of the invention
Goal of the invention of the present invention is: provide a kind of electronic bill of effectively evading by the electronic bill ticketing based on mobile terminal of reselling at aing profit and ticket checking method.
A kind of electronic bill ticketing based on mobile terminal of the present invention and ticket checking method, is characterized in that, comprise the following steps:
The system time of synchronous ticketing end and ticket checking end; Ticketing end generates ticket sale system double secret key, and the PKI of ticket sale system double secret key is sent to ticket checking end, and its booking and ticket checking are:
A. booking:
A1: after user arranges ticket purchasing request information based on mobile terminal, described mobile terminal generates booking double secret key, and the equipment mark code of the PKI of booking double secret key, mobile terminal, current mobile terminal system time T1 and ticket purchasing request information are sent to ticketing end based on NFC;
A2: ticketing end group generates electronic ticket in described ticket purchasing request information, and based on the private key of ticket sale system double secret key, digital signature is carried out to the equipment mark code of electronics draft bank, mobile terminal, the PKI of booking double secret key and mistiming Δ T, generate the first digital signature information, described mistiming Δ T is the difference of the system time Ts1 of time of mobile terminal system T1 and current ticket checking end;
And by described first digital signature information, electronic ticket and mistiming Δ T, send back to described mobile terminal based on NFC;
B. ticket checking:
B1: the electronic ticket to be checked that mobile terminal is selected based on user, according to the private key of booking double secret key, carries out digital signature to electronic ticket to be checked number and current mobile terminal system time T2, generates the second digital signature information;
And by the PKI of the equipment mark code of the first digital signature information, the second digital signature information, mobile terminal, mistiming Δ T, booking double secret key, electronics draft bank to be checked and time of mobile terminal system T2, be sent to ticket checking end based on NFC;
B2: ticket checking end group is in the PKI of described ticket sale system double secret key, verify whether electronics draft bank to be checked, the equipment mark code of mobile terminal, the PKI of booking double secret key and the mistiming Δ T received mates with the information in the first digital signature information, if not, then ticket checking failure; If so, then step b3 is performed;
B3: based on the PKI of booking double secret key, whether the electronics draft bank to be checked that checking receives and time of mobile terminal system T2 mate with the information in the second digital signature information, if not, then ticket checking failure; If so, then step b4 is performed;
B4: judge time of mobile terminal system T2 and mistiming Δ T sum, with the error of the present system time Ts2 of ticket checking end whether in predetermined threshold value, if not, then ticket checking failure; If so, then step b5 is performed;
B5: judge current electronic ticket to be checked whether in pot life, if not, then ticket checking failure; If so, then step b6 is performed;
B6: judge whether there is current electronic ticket to be checked in ticket checking database, if not, then ticket checking success, and by current electronic ticket information to be checked stored in ticket checking database; If so, then ticket checking failure.
In the present invention, by means of the having property of individual that mobile terminal has, user sends unique equipment identification information when booking by mobile device ticketing end, the uniqueness of often opening electronic ticket is guaranteed with this, ticketing end enters digital signature to the information of often opening associated by electronic ticket simultaneously, and the checking of corresponding digital signature authentication and timestamp is carried out when ticket checking, with the consistance of the mobile terminal of the mobile terminal and ticket checking of guaranteeing booking, resell at a profit effectively to prevent the electronic ticket sold; Meanwhile, the present invention does not need the profiteering uniquely avoiding electronic ticket by subscriber identity information, can prevent the leakage of user's personal information, avoids a series of safety problem that may cause.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows: effectively can prevent the electronic ticket of selling from being resell at a profit, provide a kind of safer, more convenient, more applicable electronic ticket booking, ticket checking pattern.
Accompanying drawing explanation
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is the process schematic of the specific embodiment of the invention;
Embodiment
All features disclosed in this instructions, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Arbitrary feature disclosed in this instructions (comprising any accessory claim, summary and accompanying drawing), unless specifically stated otherwise, all can be replaced by other equivalences or the alternative features with similar object.That is, unless specifically stated otherwise, each feature is an example in a series of equivalence or similar characteristics.
See Fig. 1, in order to realize the present invention, the server system time of first synchronous ticketing end and ticket checking end, make ticketing end system and the system time strict conformance of ticket checking end, during system cloud gray model, generate ticket sale system double secret key (Public_Key1 by ticketing end, Private_Key1), be preferably the double secret key based on digital signature of elliptic curve, to improve the security of electronic ticket business system, such as ECDSA (Elliptic Curve Digital Signature Algorithm) ECDSa_P256; And PKI Public_Key1 is delivered to ticket checking end, the corresponding a pair ticket sale system double secret key of a usual ticket counter.
During user's booking, comprise the following steps:
A1: the mobile terminal device (this mobile terminal device possesses NFC function) that user carries according to it arranges ticket purchasing request information, as ticket information such as sight spot, train number, times, mobile terminal is for current ticket purchasing request information, generate booking double secret key (Public_Key2, Private_Key2), and by the equipment mark code (as equipment I MEI code) of PKI Public_Key2, mobile terminal, current mobile terminal system time T1 and ticket purchasing request information, be sent to ticketing end based on NFC;
A2: ticketing end group generates electronic ticket (comprising the ticket information such as electronics draft bank, up time, sight spot or train number) in its ticket purchasing request information received, and based on private key Private_Key1, digital signature is carried out to electronics draft bank TicketNum, IMEI code, PKI Public_Key2 and mistiming Δ T, generate digital signature information 1 (electronic ticket signature), during as adopted ECDSa_P256 algorithm, digital signature information 1 i.e. ECDSa_P256 private_Key1(TicketNum, IMEI, Public_Key2, Δ T), wherein, mistiming Δ T is the difference of the system time Ts1 of time of mobile terminal system T1 and current ticket checking end; Ticketing end, by digital signature information 1, electronic ticket and mistiming Δ T, send back to mobile terminal based on NFC.
When ticketing process, PKI Public_Key2 is added in the digital signature of electronic ticket, can effectively prevent internuncial malicious attack, namely prevent other mobile terminals from using the double secret key of oneself, electronic ticket information is signed.
During ticket checking, comprise the following steps:
B1: present the operation interface selecting electronic ticket to be checked for user on mobile terminals, based on the selection of user, according to private key Private_Key2, digital signature is carried out to the TicketNum of electronic ticket to be checked and current mobile terminal system time T2, generate digital signature information 2 (timestamp signature), as ECDSa_P256 private_Key2(TicketNum, T2);
Mobile terminal, by the TicketNum of digital signature information 1, digital signature information 2, IMEI code, mistiming Δ T, PKI Public_Key2, electronic ticket to be checked and system time T2, is sent to ticket checking end based on NFC;
B2: the PKI Public_Key1 that ticket checking end group receives in it from ticketing end, whether TicketNum, IMEI code of the electronic ticket to be checked that checking receives, PKI Public_Key2 and mistiming Δ T mate with the corresponding informance in digital signature information 1, if not, then ticket checking failure, does not let pass; If so, then step b3 is performed;
B3: based on PKI Public_Key2, verifies whether TicketNum, the time of mobile terminal system T2 of the electronic ticket to be checked received mate with the corresponding informance in the second digital signature information, and if not, then ticket checking failure, does not let pass; If so, then continue to perform step b4;
B4: judge time of mobile terminal system T2 and mistiming Δ T sum, whether in predetermined threshold value, (its concrete value sets based on practical application request with the error of the present system time Ts2 of ticket checking end, usually be set to be less than or equal to 10 seconds, further, also can preferably be set to be less than or equal to 6 seconds), if not, then ticket checking failure, does not let pass; If so, then step b5 is performed;
B5: judge current electronic ticket to be checked whether in pot life, if not, then ticket checking failure; If so, then step b6 is performed;
B6: judge whether there is current electronic ticket to be checked in ticket checking database, if not, then ticket checking success, and by current electronic ticket information to be checked stored in ticket checking database; If so, then ticket checking failure.
The present invention can be widely used in the ticket sale systems such as ticket, entrance ticket, film ticket, for user provides a kind of safer, more convenient, more applicable electronic ticket booking, ticket checking pattern, for ticket and entrance ticket, can effectively prevent ticketing service from being resell at a profit.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature of disclosing in this manual or any combination newly, and the step of the arbitrary new method disclosed or process or any combination newly.

Claims (3)

1., based on electronic bill ticketing and the ticket checking method of NFC mobile terminal, it is characterized in that, comprise the following steps:
The system time of synchronous ticketing end and ticket checking end; Ticketing end generates ticket sale system double secret key, and the PKI of ticket sale system double secret key is sent to ticket checking end, and its booking and ticket checking are:
A. booking:
A1: after user arranges ticket purchasing request information based on mobile terminal, described mobile terminal generates booking double secret key, and the equipment mark code of the PKI of booking double secret key, mobile terminal, current mobile terminal system time T1 and ticket purchasing request information are sent to ticketing end based on NFC;
A2: ticketing end group generates electronic ticket in described ticket purchasing request information, and based on the private key of ticket sale system double secret key, digital signature is carried out to the equipment mark code of electronics draft bank, mobile terminal, the PKI of booking double secret key and mistiming Δ T, generate the first digital signature information, described mistiming Δ T is the difference of the system time Ts1 of time of mobile terminal system T1 and current ticket checking end;
And by described first digital signature information, electronic ticket and mistiming Δ T, send back to described mobile terminal based on NFC;
B. ticket checking:
B1: the electronic ticket to be checked that mobile terminal is selected based on user, according to the private key of booking double secret key, carries out digital signature to electronic ticket to be checked number and current mobile terminal system time T2, generates the second digital signature information;
And by the PKI of the equipment mark code of the first digital signature information, the second digital signature information, mobile terminal, mistiming Δ T, booking double secret key, electronics draft bank to be checked and time of mobile terminal system T2, be sent to ticket checking end based on NFC;
B2: ticket checking end group is in the PKI of described ticket sale system double secret key, verify whether electronics draft bank to be checked, the equipment mark code of mobile terminal, the PKI of booking double secret key and the mistiming Δ T received mates with the information in the first digital signature information, if not, then ticket checking failure; If so, then step b3 is performed;
B3: based on the PKI of booking double secret key, whether the electronics draft bank to be checked that checking receives and time of mobile terminal system T2 mate with the information in the second digital signature information, if not, then ticket checking failure; If so, then step b4 is performed;
B4: judge time of mobile terminal system T2 and mistiming Δ T sum, with the error of the present system time Ts2 of ticket checking end whether in predetermined threshold value, if not, then ticket checking failure; If so, then step b5 is performed;
B5: judge current electronic ticket to be checked whether in pot life, if not, then ticket checking failure; If so, then step b6 is performed;
B6: judge whether there is current electronic ticket to be checked in ticket checking database, if not, then ticket checking success, and by current electronic ticket information to be checked stored in ticket checking database; If so, then ticket checking failure.
2. the method for claim 1, is characterized in that, in described step b4, predetermined threshold value is less than or equal to 10s.
3. method as claimed in claim 1 or 2, it is characterized in that, described ticket sale system double secret key, booking double secret key are the double secret key based on digital signature of elliptic curve.
CN201310319671.XA 2013-07-26 2013-07-26 A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method Active CN103400418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310319671.XA CN103400418B (en) 2013-07-26 2013-07-26 A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310319671.XA CN103400418B (en) 2013-07-26 2013-07-26 A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method

Publications (2)

Publication Number Publication Date
CN103400418A CN103400418A (en) 2013-11-20
CN103400418B true CN103400418B (en) 2016-02-03

Family

ID=49564029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310319671.XA Active CN103400418B (en) 2013-07-26 2013-07-26 A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method

Country Status (1)

Country Link
CN (1) CN103400418B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123581A (en) * 2014-07-17 2014-10-29 唐肖近 RFID (Radio Frequency Identification Devices) technology based electronic ticketing system structure
CN104134142B (en) * 2014-08-11 2017-09-29 东南大学 A kind of subway booking recognized based on Quick Response Code, ticket checking method
CN105678365B (en) * 2014-11-18 2020-06-26 航天信息股份有限公司 Two-dimensional code electronic ticket generating method and system, verification method and verification terminal
CN105184871B (en) * 2015-09-06 2017-07-11 宁波大学 Tourism box-office managing system and its management method based on mobile near-field communication
CN105160569A (en) * 2015-09-06 2015-12-16 携程计算机技术(上海)有限公司 Self-service ticket buying method and ticket checking method
CN105682092B (en) * 2016-01-08 2020-06-19 西安电子科技大学 Bidirectional authentication method based on short-distance wireless communication technology
CN105957155A (en) * 2016-06-27 2016-09-21 金华 Intelligent ticket sale and check system
CN106504344B (en) * 2016-10-20 2019-03-15 北京红马传媒文化发展有限公司 A kind of ticket checking method of electronic ticket, system and a kind of equipment
TWI623894B (en) * 2016-11-24 2018-05-11 財團法人工業技術研究院 Ticket authentication method and ticket authentication device
CN107818600A (en) * 2017-12-08 2018-03-20 江小平 A kind of ticket-checking system and method
CN111868790A (en) * 2019-01-10 2020-10-30 环球雅途集团有限公司 Control method, ticket selling and checking system and storage medium
WO2020142994A1 (en) * 2019-01-10 2020-07-16 环球雅途集团有限公司 Control method, ticketing rule server, ticket checking rule server and apparatus
CN110738740B (en) * 2019-09-26 2021-12-21 杭州快盈信息科技有限公司 Ticket checking system and method based on HMAC-SM3 message authentication code
CN111932692A (en) * 2020-08-19 2020-11-13 中国银行股份有限公司 Ticket checking system and method
CN113630261B (en) * 2021-10-13 2021-12-17 环球数科集团有限公司 Offline detection ticketing system based on signature in sandbox and asymmetric encryption technology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002056140A (en) * 2000-05-30 2002-02-20 Nippon Telegr & Teleph Corp <Ntt> Ticket and method and device for ticket distribution
JP2002230600A (en) * 2001-02-02 2002-08-16 Hitachi Ltd Ticket selling ticket gate system, and terminal device
CN101452583A (en) * 2008-12-31 2009-06-10 ***通信集团公司 Electronic ticket providing and inspecting method, device and system
CN101866498A (en) * 2009-09-30 2010-10-20 深圳市安捷信联科技有限公司 Electronic ticket implementation method and system based on intelligent card
CN101923733A (en) * 2010-08-16 2010-12-22 中兴通讯股份有限公司 Method and device for processing electronic entrance ticket
CN102222368A (en) * 2011-04-28 2011-10-19 王鑫 Electronic ticket authentication system applying short-distance communication technology and detection method
CN102509141A (en) * 2011-10-31 2012-06-20 广东商学院 Electronic group-buying coupon and usage and system of electronic group-buying coupon

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7207060B2 (en) * 2001-10-18 2007-04-17 Nokia Corporation Method, system and computer program product for secure ticketing in a communications device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002056140A (en) * 2000-05-30 2002-02-20 Nippon Telegr & Teleph Corp <Ntt> Ticket and method and device for ticket distribution
JP2002230600A (en) * 2001-02-02 2002-08-16 Hitachi Ltd Ticket selling ticket gate system, and terminal device
CN101452583A (en) * 2008-12-31 2009-06-10 ***通信集团公司 Electronic ticket providing and inspecting method, device and system
CN101866498A (en) * 2009-09-30 2010-10-20 深圳市安捷信联科技有限公司 Electronic ticket implementation method and system based on intelligent card
CN101923733A (en) * 2010-08-16 2010-12-22 中兴通讯股份有限公司 Method and device for processing electronic entrance ticket
CN102222368A (en) * 2011-04-28 2011-10-19 王鑫 Electronic ticket authentication system applying short-distance communication technology and detection method
CN102509141A (en) * 2011-10-31 2012-06-20 广东商学院 Electronic group-buying coupon and usage and system of electronic group-buying coupon

Also Published As

Publication number Publication date
CN103400418A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103400418B (en) A kind of electronic bill ticketing based on NFC mobile terminal and ticket checking method
US10764743B1 (en) Providing a service with location-based authorization
US20200334673A1 (en) Processing electronic tokens
CN103297403B (en) A kind of method and system for realizing dynamic cipher verification
US8356179B2 (en) Entity bi-directional identificator method and system based on trustable third party
CN103067402B (en) The generation method and system of digital certificate
US8732464B2 (en) Bidirectional entity authentication method with introduction of online third party
CN107947928B (en) Intelligent community management method and system based on Internet of things
EP3923514A1 (en) Method and apparatus for replacing identity certificate in blockchain network, and storage medium and computer device
CN105493438A (en) A method and apparatus for anonymous authentication on trust in social networking
CN104506485B (en) Mobile interchange is paid taxes terminal identity Verification System
CN109687965A (en) The real name identification method of subscriber identity information in a kind of protection network
CN104125230B (en) A kind of short message certification service system and authentication method
EP3544226B1 (en) Unified secure device provisioning
CN103945374A (en) Method of mobile terminal equipment and user authentication based on PKI technology
CN105516054B (en) A kind of method and device of subscriber authentication
CN104717063A (en) Software security protection method of mobile terminal
US10389702B2 (en) Entity authentication method and device with Elliptic Curve Diffie Hellman (ECDH) key exchange capability
CN103905194A (en) Identity traceability authentication method and system
CN103581153A (en) Encryption method and device in system of Internet of Things
CN104247485A (en) Network application function authorisation in a generic bootstrapping architecture
CN104717649A (en) Method for remote control over wiping of software data of mobile terminal
CN107005913A (en) Verification method, user equipment and the adjacent service functional entity of adjacent service communication
CN103139210A (en) Method of safety authentication
CN105682092B (en) Bidirectional authentication method based on short-distance wireless communication technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: She Kun

Inventor after: Jing Yulin

Inventor after: Chen Zewei

Inventor after: Cai Xuyang

Inventor after: Jin Xingchi

Inventor after: Li Jun

Inventor after: Niu Xinzheng

Inventor before: She Kun

Inventor before: Jing Yulin

Inventor before: Chen Zewei

Inventor before: Cai Xuyang

Inventor before: Jin Xingchi

Inventor before: Li Jun

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: SHE KUN JING YULIN CHEN ZEWEI CAI XUYANG JIN XINGCHI LI JUN TO: SHE KUN JING YULIN CHEN ZEWEI CAI XUYANG JIN XINGCHI LI JUN NIU XINZHENG

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210407

Address after: No. 2003, 20th floor, building 1, No. 69, Tianfu 3rd Street, China (Sichuan) pilot Free Trade Zone, high tech Zone, Chengdu, Sichuan 610094

Patentee after: Chengdu zhijiangou Technology Co.,Ltd.

Address before: 611731, No. 2006, West Avenue, Chengdu hi tech Zone (West District, Sichuan)

Patentee before: University of Electronic Science and Technology of China

TR01 Transfer of patent right