CN107230257A - A kind of verification method for electronic two-dimensional code ticket - Google Patents

A kind of verification method for electronic two-dimensional code ticket Download PDF

Info

Publication number
CN107230257A
CN107230257A CN201710383175.9A CN201710383175A CN107230257A CN 107230257 A CN107230257 A CN 107230257A CN 201710383175 A CN201710383175 A CN 201710383175A CN 107230257 A CN107230257 A CN 107230257A
Authority
CN
China
Prior art keywords
ticket
ticketing service
quick response
response code
checking
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
Application number
CN201710383175.9A
Other languages
Chinese (zh)
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.)
Shenzhen Love Animation Culture Development Co Ltd
Original Assignee
Shenzhen Love Animation Culture Development Co Ltd
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 Shenzhen Love Animation Culture Development Co Ltd filed Critical Shenzhen Love Animation Culture Development Co Ltd
Priority to CN201710383175.9A priority Critical patent/CN107230257A/en
Publication of CN107230257A publication Critical patent/CN107230257A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets
    • G07B11/11Apparatus for validating or cancelling issued tickets for cancelling tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention discloses a kind of verification method for electronic two-dimensional code ticket,(1)Ticketing service publishing system carries out calculating generation ticket checking Quick Response Code according to the ticket information and encrypted characters string sold;(2)User terminal in ticketing web page interrogation and sends request to ticketing service publishing system, and corresponding Quick Response Code is sent to user terminal by ticketing service publishing system;(3)Ticket checking equipment obtains the checking character string and corresponding key of ticketing service from ticketing service publishing system, and then ticket checking equipment off-grid is tested to the Quick Response Code of client;(4)Ticket checking equipment returns to ticketing service publishing system by ticket checking.The present invention is by way of algorithm, when issuing Quick Response Code, increase characteristics algorithm to generate Quick Response Code, after scene is according to different ticket kind download features and algorithm, can be in the case of without net, the ticket kind and truth identification of admission ticket are completed, realizes without net ticket checking and checks and writes off, the dependence to network and the input of live manpower physics is greatly reduced.

Description

A kind of verification method for electronic two-dimensional code ticket
Technical field
The invention belongs to technical field of electronic commerce, it is related to the safety certification application field of ecommerce, more particularly to one Plant the verification method for electronic two-dimensional code ticket.
Background technology
In recent years, the popularization of smart mobile phone so that mobile phone becomes the means of new payment, but in traditional electronic ticket The Quick Response Code ticket checking scheme in business field, generates a random Quick Response Code generally by server, is tested by ticket checking equipment Ticket, compares with server, then judges whether electronic entrance ticket is effective, Quick Response Code is popularized very much, is generally generated at random Quick Response Code, with very high antifalsification, but existing schemes, have the following disadvantages:
1st, strong to mesh dependence, such as the product of U.S. group logs in trade company's account, it is necessary to network, and is then checked and write off online;2、 By building LAN environment, the dependence of network can be broken away from, buffered in advance is realized and exchanges and compare office in data, but implementation Limit, offline cache ticket checking is actually that admission ticket Quick Response Code is sold built-in storage sky of the data buffered in advance in ticket checking equipment Between in, for scene also need to continue sell in the case of, may be accomplished by building a LAN server environment at the scene, come Ensure stabilization under weak net environment, it is necessary to certain manpower and material resources.
The content of the invention
It is used for testing for electronic two-dimensional code ticket there is provided a kind of it is an object of the invention to the deficiency for existing construction method Card method.
To achieve these goals, present invention employs following technical scheme:
A kind of verification method for electronic two-dimensional code ticket, this method comprises the following steps:
(1)Ticketing service publishing system carries out calculating generation ticket checking Quick Response Code according to the ticket information and encrypted characters string sold;
(2)User terminal in ticketing web page interrogation and sends request to ticketing service publishing system, and ticketing service publishing system will corresponding two dimension Code is sent to user terminal;
(3)Ticket checking equipment obtains the checking character string and corresponding key of ticketing service from ticketing service publishing system, then ticket checking equipment Off-grid is tested to the Quick Response Code of client;
(4)Ticket checking equipment returns to ticketing service publishing system by ticket checking.
Further, described step(1)Middle generation ticket checking Quick Response Code detailed step is as follows:
1)Ticketing service finds that system produces unique character value of a ticketing service according to the ticket information sold
2)Unique character value of ticketing service is encrypted;
3)Random interception value different for several times and unique character value of ticketing service are encrypted in 0 to 9 and 26 letters, are encrypted Character string;
4)2 D code information will be obtained after string-concatenation after encryption;
5)The timestamp information sent is also asked according to user terminal when 2 D code information is sent to user terminal, again to two Tie up code information and encrypt secondary encryption, finally just form ticket checking Quick Response Code.
Further, described step(3)Ticket checking equipment is to carry out checking play ticket according to checking character first in ticket checking Plant and whether information meets, then judge the screen output time per ticket sheet Quick Response Code, according to timestamp information, judge two-dimentional Code timeliness risk, when a threshold is reached, then points out timeliness problem, it is desirable to which user opens client and reacquires Quick Response Code.
Beneficial effects of the present invention:
The present invention is by way of algorithm, when issuing Quick Response Code, increases characteristics algorithm to generate Quick Response Code, scene is according to difference After ticket kind download features and algorithm, you can in the case of without net, the ticket kind and truth identification of admission ticket are completed, is realized without net ticket checking With check and write off, greatly reduce the input of dependence to network and live manpower physics.
Embodiment
Embodiment below to the present invention is described in further detail.
1. user's hand-held moving device, the mobile device comprises at least CPU, internal memory, communication module such as LTE/3G/Wifi Deng can be preferentially using meeting ISO/IEC14443 specification NFC communication modules.Most common form is smart mobile phone.
2. device is verified in ticketing service, the ticketing service checking device 2 includes CPU, storage, communication module, in ticketing service checking Ticketing service proving program is disposed in device, to exchange ticketing data with user's hand-held moving device, and authentication processing is completed.Ticketing service Checking device include the card reader NFC card reader of ISO/IEC14443 specifications, as equal displacement, can also use Wifi, Other communication modes transmission ticketing data such as infrared ray, bar code scanning.In ticketing service checking device after ticketing is stopped Checking character string and corresponding key are obtained from ticketing system, it is possible to realize off-grid ticket checking.The key of the present embodiment is root Generate, for example exhibition project id adds unfixed special string, be then encrypted by md5 modes, often according to Tradeshows The key of field exhibition is all unique, once key can be changed in time by occurring leakage, with more security.
3. ticketing service publishing system, the ticketing service publishing system includes CPU, storage, communication module.Most common form is clothes Be engaged in device, can also cloud service provide virtual server.In the ticketing service publishing system, ticketing service issuing procedure is disposed.It is described Ticketing service issuing procedure completes online ticketing service purchasing process, and online ticket booking business is not belonging to right application range of the present invention. In the ticketing service issuing procedure, comprising ticketing service issuing module, the ticketing service issuing module is raw using local key is stored in Into the electronic bill data of the present invention.
A kind of verification method for electronic two-dimensional code ticket, this method comprises the following steps:
(1)Ticketing service publishing system carries out calculating generation ticket checking Quick Response Code according to the ticket information and encrypted characters string sold;
Generate ticket checking Quick Response Code specifically as follows:
1)Ticketing service finds that system produces unique character value of a ticketing service according to the ticket information sold;
2)Unique character value of ticketing service is encrypted;
3)In 0 to 9 and 26 letters(a-z)In the different for several times value of random interception and unique character value of ticketing service encrypt, obtain The character string of encryption;
4)2 D code information will be obtained after string-concatenation after encryption;
5)The timestamp information sent is also asked according to user terminal when 2 D code information is sent to user terminal, again to two Tie up code information and encrypt secondary encryption, finally just form ticket checking Quick Response Code.
(2)User terminal in ticketing web page interrogation and sends request to ticketing service publishing system, and ticketing service publishing system will be corresponding Quick Response Code is sent to user terminal;
(3)Ticket checking equipment obtains the checking character string and corresponding key of ticketing service from ticketing service publishing system, and ticket checking is set before ticket checking It is standby to be pulled returned ticket data again from ticketing service publishing system, it is withdrawn into and is locally stored by server, prevents the nothing returned ticket Effect code is marched into the arena, and then ticket checking equipment off-grid is tested to the Quick Response Code of client.During ticket checking, carried out first according to checking character Whether checking play ticket kind and information meet, and then judge the screen output time per ticket sheet Quick Response Code, are believed according to timestamp Breath, judges Quick Response Code timeliness risk, when a threshold is reached, then points out timeliness problem, it is desirable to which user opens client and reacquired Quick Response Code;No person, which gives, to be passed through.
(4)Ticket checking equipment returns to ticketing service publishing system by ticket checking, and efficient 2-d code information, service are recorded during passback Device is marked.
The present invention is in actual use, and server carries out calculating generation bag according to admission ticket, Tradeshows and encrypted characters string Containing exhibition and ticket information uniqueness ticket checking Quick Response Code, generation step:1. from random a string of the characters of 0-9a-z, interception is different for several times Value spliced and encrypted;2. splicing is encrypted in the unique character value and service device encrypted characters string of exhibition;3. it is independent Take out a certain play of exhibition(That is ticket kind)Unique value, is encrypted splicing;4. the encryption string of step 2. and 3. is combined Splicing, ultimately generates complete 2 D code information.Ticket checking equipment obtains the character of checking encryption rule by binding ticket checking key String, then by algorithm, whether precedence test ticket kind meets, and secondly whether exhibition project meets, and this is being recorded if met Ground, is submitted to server and does ticket checking mark in the environment of having net;Pulling for returned ticket data can be carried out before ticket checking, is drawn by server Return to and be locally stored, prevent the invalid code returned ticket from marching into the arena.
The present invention, when issuing Quick Response Code, increases characteristics algorithm to generate Quick Response Code, live basis by way of algorithm After different ticket kind download features and algorithm, you can in the case of without net, the ticket kind and truth identification of admission ticket are completed, is realized without net Ticket checking and check and write off, greatly reduce the dependence to network and the input of live manpower physics.
More preferably one of concrete mode of embodiment described above, the simply present invention, those skilled in the art are at this The usual variations and alternatives carried out in the range of inventive technique scheme all should be comprising within the scope of the present invention.

Claims (3)

1. a kind of verification method for electronic two-dimensional code ticket, it is characterised in that:This method comprises the following steps:
(1)Ticketing service publishing system carries out calculating generation ticket checking Quick Response Code according to the ticket information and encrypted characters string sold;
(2)User terminal in ticketing web page interrogation and sends request to ticketing service publishing system, and ticketing service publishing system will corresponding two dimension Code is sent to user terminal;
(3)Ticket checking equipment obtains the checking character string and corresponding key of ticketing service from ticketing service publishing system, then ticket checking equipment Off-grid is tested to the Quick Response Code of client;
(4)Ticket checking equipment returns to ticketing service publishing system by ticket checking.
2. the verification method according to claim 1 for electronic two-dimensional code ticket, it is characterised in that:Described step(1) Middle generation ticket checking Quick Response Code detailed step is as follows:
1)Ticketing service finds that system produces unique character value of a ticketing service according to the ticket information sold
2)Unique character value of ticketing service is encrypted;
3)Random interception value different for several times and unique character value of ticketing service are encrypted in 0 to 9 and 26 letters, are encrypted Character string;
4)2 D code information will be obtained after string-concatenation after encryption;
5)The timestamp information sent is also asked according to user terminal when 2 D code information is sent to user terminal, again to two Tie up code information and encrypt secondary encryption, finally just form ticket checking Quick Response Code.
3. the verification method according to claim 1 for electronic two-dimensional code ticket, it is characterised in that:Described step(3) Ticket checking equipment is to carry out checking play ticket kind according to checking character first and whether information meets, then judge every in ticket checking The screen output time of admission ticket Quick Response Code, according to timestamp information, judges Quick Response Code timeliness risk, when a threshold is reached, then carries Show timeliness problem, it is desirable to which user opens client and reacquires Quick Response Code.
CN201710383175.9A 2017-05-26 2017-05-26 A kind of verification method for electronic two-dimensional code ticket Pending CN107230257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710383175.9A CN107230257A (en) 2017-05-26 2017-05-26 A kind of verification method for electronic two-dimensional code ticket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710383175.9A CN107230257A (en) 2017-05-26 2017-05-26 A kind of verification method for electronic two-dimensional code ticket

Publications (1)

Publication Number Publication Date
CN107230257A true CN107230257A (en) 2017-10-03

Family

ID=59933489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710383175.9A Pending CN107230257A (en) 2017-05-26 2017-05-26 A kind of verification method for electronic two-dimensional code ticket

Country Status (1)

Country Link
CN (1) CN107230257A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945287A (en) * 2017-11-08 2018-04-20 中国银行股份有限公司 One kind digitlization Tickets Systems and data processing method
CN109145635A (en) * 2018-07-17 2019-01-04 广州师盛展览有限公司 The method and device that two dimensional code chest card is encapsulated with rights encryption
CN110046508A (en) * 2018-12-27 2019-07-23 阿里巴巴集团控股有限公司 Service code code value processing method, device and equipment
CN110472715A (en) * 2019-08-21 2019-11-19 深圳市深华方科技有限公司 A kind of generation method of dynamic two-dimension code, two-dimension code generator and anti-counterfeiting system
CN110472716A (en) * 2019-08-21 2019-11-19 深圳市深华方科技有限公司 A kind of generation method of two dimensional code, two-dimension code generator and anti-counterfeiting system
CN110738740A (en) * 2019-09-26 2020-01-31 杭州快盈信息科技有限公司 ticket checking system and method based on HMAC-SM3 message authentication code
CN110874541A (en) * 2018-09-03 2020-03-10 优票股份有限公司 Electronic ticket entrance verification anti-counterfeiting system and method
CN111292456A (en) * 2019-12-13 2020-06-16 无锡市民卡有限公司 Two-dimensional code verification and sale method
CN111741100A (en) * 2020-06-17 2020-10-02 北京三快在线科技有限公司 Method, device and equipment for verifying and selling electronic bills and storage medium
CN115276722A (en) * 2022-07-21 2022-11-01 中国银行股份有限公司 Health information verification method, system and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872494A (en) * 2009-04-22 2010-10-27 上海易悠通信息科技有限公司 Two-dimensional code railway ticket and ticketing, examining and checking management system thereof
CN104134142A (en) * 2014-08-11 2014-11-05 东南大学 Metro ticket buying and checking method based on two-dimension code recognition
CN104282091A (en) * 2013-07-02 2015-01-14 郁晓东 Bill data generating/transmitting/storing/authenticating method
CN104464117A (en) * 2014-12-29 2015-03-25 通邮信息技术有限公司 Automatic tell machine money withdrawing method and system based on dynamic two-dimensional code
CN105321211A (en) * 2014-07-16 2016-02-10 夏小叶 Real-time train capacity query method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872494A (en) * 2009-04-22 2010-10-27 上海易悠通信息科技有限公司 Two-dimensional code railway ticket and ticketing, examining and checking management system thereof
CN104282091A (en) * 2013-07-02 2015-01-14 郁晓东 Bill data generating/transmitting/storing/authenticating method
CN105321211A (en) * 2014-07-16 2016-02-10 夏小叶 Real-time train capacity query method and system
CN104134142A (en) * 2014-08-11 2014-11-05 东南大学 Metro ticket buying and checking method based on two-dimension code recognition
CN104464117A (en) * 2014-12-29 2015-03-25 通邮信息技术有限公司 Automatic tell machine money withdrawing method and system based on dynamic two-dimensional code

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945287A (en) * 2017-11-08 2018-04-20 中国银行股份有限公司 One kind digitlization Tickets Systems and data processing method
CN109145635A (en) * 2018-07-17 2019-01-04 广州师盛展览有限公司 The method and device that two dimensional code chest card is encapsulated with rights encryption
CN110874541A (en) * 2018-09-03 2020-03-10 优票股份有限公司 Electronic ticket entrance verification anti-counterfeiting system and method
CN110046508A (en) * 2018-12-27 2019-07-23 阿里巴巴集团控股有限公司 Service code code value processing method, device and equipment
CN110472715A (en) * 2019-08-21 2019-11-19 深圳市深华方科技有限公司 A kind of generation method of dynamic two-dimension code, two-dimension code generator and anti-counterfeiting system
CN110472716A (en) * 2019-08-21 2019-11-19 深圳市深华方科技有限公司 A kind of generation method of two dimensional code, two-dimension code generator and anti-counterfeiting system
CN110738740A (en) * 2019-09-26 2020-01-31 杭州快盈信息科技有限公司 ticket checking system and method based on HMAC-SM3 message authentication code
CN110738740B (en) * 2019-09-26 2021-12-21 杭州快盈信息科技有限公司 Ticket checking system and method based on HMAC-SM3 message authentication code
CN111292456A (en) * 2019-12-13 2020-06-16 无锡市民卡有限公司 Two-dimensional code verification and sale method
CN111741100A (en) * 2020-06-17 2020-10-02 北京三快在线科技有限公司 Method, device and equipment for verifying and selling electronic bills and storage medium
CN115276722A (en) * 2022-07-21 2022-11-01 中国银行股份有限公司 Health information verification method, system and related equipment

Similar Documents

Publication Publication Date Title
CN107230257A (en) A kind of verification method for electronic two-dimensional code ticket
CN102202300B (en) A kind of based on twin-channel dynamic cipher authentication system and method
CN104618334A (en) Method and system for generating and verifying dynamic two-dimensional code
CN106850209A (en) A kind of identity identifying method and device
CN106664556A (en) Network access authentication using a point-of-sale device
CN105635168B (en) A kind of application method of offline transaction device and its security key
CN102186169A (en) Identity authentication method, device and system
CN104363199A (en) Security authentication method based on time synchronization codes and time synchronization code module
CN104320779A (en) Near field communication authentication method based on U/SIM card authentication response and time-limited feedback
CN106503492A (en) A kind of authorization management method, server, customer equipment and system
CN107317807A (en) A kind of apparatus bound method, apparatus and system
CN103400265A (en) Quick payment method and system based on position information
CN102611943A (en) Method for realizing user payment by applying additional SIM card to set-top box
CN102496112B (en) Three-screen payment system based on intelligent SD card and realization method thereof
CN106651372A (en) Data processing method and system
CN101561956A (en) Method and system for information interaction
CN104469736B (en) A kind of data processing method, server and terminal
CN103903140A (en) O2O safety payment method, system and safety payment background
CN104282091A (en) Bill data generating/transmitting/storing/authenticating method
US20200372507A1 (en) Identification code pulling method, storage medium, terminal device, and server
CN109450915A (en) A kind of homing pigeon foot ring and its recognition methods based on NFC
KR101205863B1 (en) System and Method For Transferring Money Using OTP And QR-code
CN106656993A (en) Dynamic verification code verifying method and apparatus
CN104125230A (en) Short message authentication service system and authentication method
CN110190966A (en) A kind of wireless radio frequency identification mark ownership transfer method based on cloud storage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171003

RJ01 Rejection of invention patent application after publication