CN106651371A - Electronic ticket producing method and system and device - Google Patents

Electronic ticket producing method and system and device Download PDF

Info

Publication number
CN106651371A
CN106651371A CN201610914990.9A CN201610914990A CN106651371A CN 106651371 A CN106651371 A CN 106651371A CN 201610914990 A CN201610914990 A CN 201610914990A CN 106651371 A CN106651371 A CN 106651371A
Authority
CN
China
Prior art keywords
electronic ticket
information
ticket
encryption
binding
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
CN201610914990.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.)
BEIJING HONGMA MEDIA CULTURE DEVELOPMENT CO LTD
Original Assignee
BEIJING HONGMA MEDIA 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 BEIJING HONGMA MEDIA CULTURE DEVELOPMENT CO LTD filed Critical BEIJING HONGMA MEDIA CULTURE DEVELOPMENT CO LTD
Priority to CN201610914990.9A priority Critical patent/CN106651371A/en
Publication of CN106651371A publication Critical patent/CN106651371A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides an electronic ticket producing method and system and a device. The method includes the following steps: receiving an electronic ticket buying request, and launching a payment application after checking that state information in electronic ticket attribute information carried by the buying request is valid; and receiving a payment finishing request, binding a ticket number stored in a database corresponding to the electronic ticket attribute information carried by the payment finishing request with a user terminal ID carried by the payment finishing request, creating a check code of the ticket number that is bound; associating the bound ticket number with the check code and encrypting the ticket number, and producing and sending encrypted electronic ticket information. The method also includes the steps of forming a second cryptograph after conducting secondary encryption on the received encrypted electronic ticket information and then storing the electronic ticket information. The technical scheme of the invention solves the technical problem about data security of conventional two-dimensional code electronic tickets, and further improves the data security rate of two-dimensional code electronic tickets.

Description

A kind of generation method of electronic ticket, system and a kind of equipment
Technical field
The present invention relates to electronic ticket generation technique field, more particularly to a kind of generation method of electronic ticket, system and one kind Equipment.
Background technology
Planar bar code technology is put into into ticketing service industry using being a kind of mode widely, in ticketing website's purchase One ticket, then generates a pictures and presents, it is possible to easily manage and make by intelligent terminal by 2 D code information With electronic ticket, at present, Quick Response Code encoding mechanism becomes electricity because of the information containing larger capacity and the high efficiency of scanning parsing Widely used one kind of cervical orifice of uterus ticket represents form.
Inventor has found in the course of the study, the mode quilt such as existing Quick Response Code is easy to by taking pictures, screenshotss, printing Duplication is stolen, the electronic ticket data information of user can not obtain safe protection, accordingly, it would be desirable to a kind of with non-reproduction Dynamic two-dimension code electronic ticket generation technique is solving above-mentioned safety problem.
The content of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of generation method of electronic ticket, system and a kind of equipment, Solve the technical problem of existing two-dimensional code electronic ticket data safety.
One aspect of the present invention provides a kind of generation method of electronic ticket, including:
Electronic ticket purchase request is received, the status information checked in the electronic ticket attribute information that the purchase request is carried is Initiate to pay application after effectively;
Receive payment and complete request, the corresponding data stock of electronic ticket attribute information that the payment is completed to ask to carry The ticket number of storage completes to ask the user side ID for carrying to bind with the payment, while creating the inspection of the ticket number after binding Code, and encrypt after the ticket number after the binding is associated with the check code, generate and send the electronic ticket information after encryption.
Further, after the status information in the electronic ticket attribute information of the verification purchase request carrying is effectively Initiate to pay application, including:
Obtain the electronic ticket attribute information that the purchase request is carried;
The ticket number in the electronic ticket attribute information is extracted, the ticket number carries the unique identities mark of the electronic ticket Know;
After the corresponding status information of the ticket number stored in searching database is effective, the electronic ticket purchase is responded Request Concurrency rises and pays application.
Further, the check code for creating the ticket number after binding, including:
The ticket number after binding is obtained, according to custom rule, check code is created, the check code is the identification binding The unique identity of ticket number afterwards.
Further, encrypt after the ticket number by after the binding is associated with the check code, generate and send and add Electronic ticket information after close, including:
Ticket number after the check code and the binding is generated and is combined into after associated path in plain text;
The plain text encryption is generated by the first ciphertext by private key;
Two-dimensional code electronic ticket information is generated after self-defined extension information is combined with first ciphertext, by the Quick Response Code Electronic ticket information sends to payment after preserving and completes in the user side for asking carrying.
Further, also include:
Electronic ticket information after to sending encryption carries out secondary encryption, specially:
By after the first ciphertext in the electronic ticket information after the encryption and timestamp binding by public key encryption generation the Two ciphertexts, the two-dimensional code electronic ticket information that generate after information combination is extended by second ciphertext with self-defined.
Present invention also offers a kind of generation method of electronic ticket, including:
Send electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;
Receive pay application, by user side complete it is described payment apply and send it is described payment complete request, described Pay and complete request carrying electronic ticket attribute information and user side ID;
Receive to be formed after the secondary encryption of electronic ticket information after encryption and the electronic ticket information is stored after the second ciphertext;
Electronic ticket information after the encryption includes:
By it is described payment complete ask carry the corresponding database purchase of electronic ticket attribute information ticket number with it is described Payment completes the user side ID bindings for asking to carry, while the check code of the ticket number after binding is created, and by after the binding Ticket number associate with the check code after encrypt the electronic ticket information after the encryption of generation.
Further, formed after the secondary encryption of electronic ticket information received after encryption and the electricity is stored after the second ciphertext Sub- ticket information, including:
The electronic ticket information after encryption is received, the first ciphertext in the electronic ticket information after the encryption is tied up with timestamp Second ciphertext is generated by public key encryption after fixed, second ciphertext generate after information combination Quick Response Code electricity with self-defined extension Sub- ticket information.
Present invention also offers a kind of generation system of electronic ticket, including:
First receiver module, for receiving electronic ticket purchase request, checks the electronic ticket attribute that the purchase request is carried Status information in information is initiated to pay application for effectively rear;
Second receiver module, for receiving payment request is completed;
First generation module, for the electronic ticket attribute for completing the payment that second receiver module is received to ask to carry The ticket number of the corresponding database purchase of information completes to ask the user side ID for carrying to bind with the payment, while creating binding The check code of ticket number afterwards, and encrypt after the ticket number after the binding is associated with the check code, generate and send and add Electronic ticket information after close.
Further, first receiver module, including:
Acquiring unit, for obtaining the electronic ticket attribute information that the purchase request is carried;
Extraction unit, for extracting the electronic ticket attribute information in ticket number, the ticket number carries the electronics The unique identity of ticket;
Retrieval unit, after the corresponding status information of the ticket number for storing in searching database is effective, response The electronic ticket purchase request Concurrency rises and pays application.
Further, first generation module, including:
First signal generating unit, for obtaining the ticket number after binding, according to custom rule, creates check code, the inspection Look into the unique identity that code is the ticket number after the identification binding.
Further, first generation module, including:
Associative cell, for the ticket number after the check code and the binding is generated be combined into after associated path it is bright Text;
First ciphering unit, for the plain text encryption to be generated into the first ciphertext by private key;
Transmitting element, for generating two-dimensional code electronic ticket letter after self-defined extension information is combined with first ciphertext Breath, sends to payment after the two-dimensional code electronic ticket information is preserved and completes in the user side for asking carrying.
Further, also include:
Second ciphering unit, carries out secondary encryption, specially for the electronic ticket information after to sending encryption:Add described The second ciphertext is generated by public key encryption after the first ciphertext in electronic ticket information after close and timestamp binding, by described second Two-dimensional code electronic ticket information is generated after ciphertext and self-defined extension information combination.
Present invention also offers a kind of equipment, including the system described in aforementioned any one.
Present invention also offers a kind of generation system of electronic ticket, including:
Sending module, for sending electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;
3rd receiver module, for receiving application is paid, and is completed described payment by user side and is applied for and send described Pay and complete request, the payment completes request and carries electronic ticket attribute information and user side ID;
Second generation module, for being formed after the secondary encryption of electronic ticket information after reception encryption institute is stored after the second ciphertext State electronic ticket information;
Electronic ticket information after the encryption includes:
By it is described payment complete ask carry the corresponding database purchase of electronic ticket attribute information ticket number with it is described Payment completes the user side ID bindings for asking to carry, while the check code of the ticket number after binding is created, and by after the binding Ticket number associate with the check code after encrypt the electronic ticket information after the encryption of generation.
Further, second generation module, including:
Second signal generating unit, for receiving the electronic ticket information after encrypting, by the electronic ticket information after the encryption The second ciphertext is generated by public key encryption after first ciphertext and timestamp binding, by second ciphertext and self-defined extension information Two-dimensional code electronic ticket information is generated after combination.
Present invention also offers a kind of equipment, including the system described in aforementioned any one.
The present invention is asked by receiving electronic ticket purchase, in checking the electronic ticket attribute information that the purchase request is carried Status information is initiated to pay application for effectively rear;Receive payment and complete request, the electronic ticket that the payment is completed to ask to carry The ticket number of the corresponding database purchase of attribute information completes to ask the user side ID for carrying to bind with the payment, while creating The check code of the ticket number after binding, and encrypt after the ticket number after the binding is associated with the check code, generate concurrent Send the electronic ticket information after encryption.Also include to receive to be formed after the secondary encryption of electronic ticket information after encryption depositing after the second ciphertext Store up the electronic ticket information.The technical scheme that the present invention is provided, the technology for solving existing two-dimensional code electronic ticket data safety is asked Topic, further increases two-dimensional code electronic ticket data safety coefficient.
Description of the drawings
Fig. 1 is a kind of flow chart of the embodiment one of the generation method of the electronic ticket according to the present invention;
Fig. 2 is a kind of flow chart of the embodiment two of the generation method of the electronic ticket according to the present invention;
Fig. 3 is a kind of structured flowchart of the embodiment three of the generation system of the electronic ticket according to the present invention;
Fig. 4 is the structured flowchart of the first receiver module according to the present invention;
Fig. 5 is the structured flowchart of the first generation module according to the present invention;
Fig. 6 is the structured flowchart of the first generation module according to the present invention;
Fig. 7 is a kind of structured flowchart of the example IV of the equipment according to the present invention;
Fig. 8 is a kind of structured flowchart of the embodiment five of the generation system of the electronic ticket according to the present invention;
Fig. 9 is the structured flowchart of the second generation module according to the present invention;
Figure 10 is a kind of structured flowchart of the embodiment six of the equipment according to the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating here or Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, and for example, process, method, system, product or the equipment for containing series of steps or unit is not necessarily limited to Those steps clearly listed or unit, but may include clearly not list or for these processes, method, product Or intrinsic other steps of equipment or unit.
Embodiment one
With reference to Fig. 1, Fig. 1 shows a kind of flow chart of an embodiment of the generation method of electronic ticket of present invention offer. Including:Step S110 and step S120.
In step s 110, electronic ticket purchase request is received, the electronic ticket attribute information that the purchase request is carried is checked In status information to initiate to pay application after effectively.
In the step s 120, receive payment and complete request, the electronic ticket attribute information that the payment is completed to ask to carry The ticket number of corresponding database purchase completes to ask the user side ID for carrying to bind with the payment, while creating after binding The check code of ticket number, and encrypt after the ticket number after the binding is associated with the check code, after generating and sending encryption Electronic ticket information.
Further, after the status information in the electronic ticket attribute information of the verification purchase request carrying is effectively Initiate to pay application, including:
Obtain the electronic ticket attribute information that the purchase request is carried;Electronic ticket attribute information includes ticket number, the field of ticket The information such as secondary, price, seat.
The ticket number in the electronic ticket attribute information is extracted, the ticket number carries the unique identities mark of the electronic ticket Know;Preferably, shown ticket number is represented with unique ID in system.
After the corresponding status information of the ticket number stored in searching database is effective, the electronic ticket purchase is responded Request Concurrency rises and pays application.Wherein, status information is for effectively preferably:Meet simultaneously and do not sell, non-undercarriage, the shape of non-locking State.
Further, the check code for creating the ticket number after binding, including:
The ticket number after binding is obtained, according to custom rule, check code is created, the check code is the identification binding The unique identity of ticket number afterwards.
Wherein, the check code is the additional identification of electronic ticket voucher, for distinguishing identical electronic ticket voucher different State in user's hand, is also in systems unique value.
Further, encrypt after the ticket number by after the binding is associated with the check code, generate and send and add Electronic ticket information after close, including:
Ticket number after the check code and the binding is generated and is combined into after associated path in plain text;
The plain text encryption is generated by the first ciphertext by private key;
Two-dimensional code electronic ticket information is generated after self-defined extension information is combined with first ciphertext, by the Quick Response Code Electronic ticket information sends to payment after preserving and completes in the user side for asking carrying.
Further, also include:
Electronic ticket information after to sending encryption carries out secondary encryption, specially:
By after the first ciphertext in the electronic ticket information after the encryption and timestamp binding by public key encryption generation the Two ciphertexts, the two-dimensional code electronic ticket information that generate after information combination is extended by second ciphertext with self-defined.
For clear explanation technical scheme, below technical scheme is explained in detail with an example application.
User A initiates asking for purchase (browsed the essential information of electronic ticket and had intention to buy) electronic ticket by client Ask, the information stored in the electronic ticket tickets sample shown to client after response and electronic ticket administrative unit is veritified, checking should Ticket is valid ballot (not selling, non-undercarriage, non-locking), confirms that purchase request Concurrency rises and pays application.User A pays and finishes, The ticket number (unique ID) of the electronic ticket that system is bought from electronic ticket administrative unit calling and obtaining user A, and by the ticket number and user A ID bound, and create check code C1 for current ticket number, ticket number and corresponding check code are encrypted, will The ciphertext that encryption is finished is sent to the client for initiating purchase request.Client to receive start after ciphertext carries out secondary adding to ciphertext It is close and form the second ciphertext, and the second ciphertext is changed into into Quick Response Code.Now, the friendship first between the trade company of electronic ticket and user It is readily accomplished, the electronic ticket that active user holds is stored in client in the form of dynamic two-dimension code.
The present invention is asked by receiving electronic ticket purchase, in checking the electronic ticket attribute information that the purchase request is carried Status information is initiated to pay application for effectively rear;Receive payment and complete request, the electronic ticket that the payment is completed to ask to carry The ticket number of the corresponding database purchase of attribute information completes to ask the user side ID for carrying to bind with the payment, while creating The check code of the ticket number after binding, and encrypt after the ticket number after the binding is associated with the check code, generate concurrent Send the electronic ticket information after encryption.Also include to receive to be formed after the secondary encryption of electronic ticket information after encryption depositing after the second ciphertext Store up the electronic ticket information.The technical scheme that the present invention is provided, the technology for solving existing two-dimensional code electronic ticket data safety is asked Topic, further increases two-dimensional code electronic ticket data safety coefficient.
Embodiment two
With reference to Fig. 2, Fig. 2 shows a kind of flow chart of an embodiment of the generation method of electronic ticket of present invention offer. Including:Step S210, step S220 and step S230.
In step S210, electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried are sent.Electronics Ticket attribute information includes the information such as ticket number, the play of ticket, price, seat.The ticket number carries the unique of the electronic ticket Identity;Preferably, shown ticket number is represented with unique ID in system.
In step S220, receive and pay application, the payment is completed by user side and applies for and send described payment Into request, the payment completes request and carries electronic ticket attribute information and user side ID.
In step S230, formed after the secondary encryption of electronic ticket information after reception encryption and the electricity is stored after the second ciphertext Sub- ticket information.
Electronic ticket information after the encryption includes:
By it is described payment complete ask carry the corresponding database purchase of electronic ticket attribute information ticket number with it is described Payment completes the user side ID bindings for asking to carry, while the check code of the ticket number after binding is created, and by after the binding Ticket number associate with the check code after encrypt the electronic ticket information after the encryption of generation.Wherein, the check code is electronics The additional identification of ticket voucher, is also in systems only for distinguishing state of the identical electronic ticket voucher in different user's hands One value.
Further, formed after the secondary encryption of electronic ticket information received after encryption and the electricity is stored after the second ciphertext Sub- ticket information, including:
The electronic ticket information after encryption is received, the first ciphertext in the electronic ticket information after the encryption is tied up with timestamp Second ciphertext is generated by public key encryption after fixed, second ciphertext generate after information combination Quick Response Code electricity with self-defined extension Sub- ticket information.
Further, receive to pay and also include before application:The electronic ticket attribute information that the verification purchase request is carried In status information to initiate to pay application after effectively, including:
Obtain the electronic ticket attribute information that the purchase request is carried;
The ticket number in the electronic ticket attribute information is extracted, the ticket number carries the unique identities mark of the electronic ticket Know;
After the corresponding status information of the ticket number stored in searching database is effective, the electronic ticket purchase is responded Request Concurrency rises and pays application.
Further, the check code for creating the ticket number after binding, including:
The ticket number after binding is obtained, according to custom rule, check code is created, the check code is the identification binding The unique identity of ticket number afterwards.
Further, encrypt after the ticket number by after the binding is associated with the check code, after the encryption of generation Electronic ticket information, including:
Ticket number after the check code and the binding is generated and is combined into after associated path in plain text;
The plain text encryption is generated by the first ciphertext by private key;
Two-dimensional code electronic ticket information is generated after self-defined extension information is combined with first ciphertext, by the Quick Response Code Electronic ticket information sends to payment after preserving and completes in the user side for asking carrying.
The present invention is by sending electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;Receive and prop up Pay application, by user side complete it is described payment apply and send it is described payment complete request, it is described payment complete request carry Electronic ticket attribute information and user side ID.Receive to be formed after the secondary encryption of electronic ticket information after encryption and institute is stored after the second ciphertext State electronic ticket information.Electronic ticket information after the encryption includes:The electronic ticket attribute letter that the payment is completed to ask to carry The ticket number and the payment that cease corresponding database purchase complete the user side ID bindings for asking to carry, while creating after binding Ticket number check code, and the electricity after the encryption of generation is encrypted after the ticket number after the binding is associated with the check code Sub- ticket information.The technical scheme that the present invention is provided, solves the technical problem of existing two-dimensional code electronic ticket data safety, further Improve two-dimensional code electronic ticket data safety coefficient.
Embodiment three
With reference to Fig. 3, Fig. 3 shows a kind of signal of an embodiment of the generation system 300 of electronic ticket of present invention offer Figure.Including:
First receiver module 31, for receiving electronic ticket purchase request, checks the electronic ticket category that the purchase request is carried Property information in status information to initiate to pay application after effectively.
Second receiver module 32, for receiving payment request is completed.
First generation module 33, for the electronic ticket category for completing to ask to carry by the payment that second receiver module is received Property the corresponding database purchase of information ticket number and it is described payment complete ask carry user side ID binding, while create tie up The check code of the ticket number after fixed, and encrypt after the ticket number after the binding is associated with the check code, generate and send Electronic ticket information after encryption.
Further, with reference to Fig. 4, first receiver module 31, including:
Acquiring unit 311, for obtaining the electronic ticket attribute information that the purchase request is carried;
Extraction unit 312, for extracting the electronic ticket attribute information in ticket number, the ticket number carries the electricity The unique identity of sub- ticket;
Retrieval unit 313, after the corresponding status information of the ticket number for storing in searching database is effective, rings Answer the electronic ticket purchase request Concurrency to rise and pay application.
Further, with reference to Fig. 5, first generation module 33, including:
First signal generating unit 331, for obtaining the ticket number after binding, according to custom rule, creates check code, described Check code is the unique identity of the ticket number after the identification binding.
Further, with reference to Fig. 6, first generation module 33, including:
Associative cell 332, is combined into for the ticket number after the check code and the binding to be generated after associated path In plain text;
First ciphering unit 333, for the plain text encryption to be generated into the first ciphertext by private key;
Transmitting element 334, for generating two-dimensional code electronic ticket after self-defined extension information is combined with first ciphertext Information, sends to payment after the two-dimensional code electronic ticket information is preserved and completes in the user side for asking carrying.
Further, also include:
Second ciphering unit (not shown), carries out secondary encryption, specifically for the electronic ticket information after to sending encryption For:It is close second to be generated after the first ciphertext in electronic ticket information after the encryption is bound with timestamp by public key encryption Text, the two-dimensional code electronic ticket information that generate after information combination is extended by second ciphertext with self-defined.
The method that the implementation method and flow process of the principle of the technical scheme that this enforcement three is provided is provided with embodiment one is former Reason correspondence, therefore, description of the present embodiment three to present principles has not detailed part, refer to embodiment one.
The present invention is asked by receiving electronic ticket purchase, in checking the electronic ticket attribute information that the purchase request is carried Status information is initiated to pay application for effectively rear;Receive payment and complete request, the electronic ticket that the payment is completed to ask to carry The ticket number of the corresponding database purchase of attribute information completes to ask the user side ID for carrying to bind with the payment, while creating The check code of the ticket number after binding, and encrypt after the ticket number after the binding is associated with the check code, generate concurrent Send the electronic ticket information after encryption.Also include to receive to be formed after the secondary encryption of electronic ticket information after encryption depositing after the second ciphertext Store up the electronic ticket information.The technical scheme that the present invention is provided, the technology for solving existing two-dimensional code electronic ticket data safety is asked Topic, further increases two-dimensional code electronic ticket data safety coefficient.
Example IV
With reference to Fig. 7, Fig. 7 shows a kind of schematic diagram of an embodiment of equipment 400 of present invention offer, the equipment The 400 generation systems 300 for including a kind of electronic ticket described in aforementioned any one.
The present invention is asked by receiving electronic ticket purchase, in checking the electronic ticket attribute information that the purchase request is carried Status information is initiated to pay application for effectively rear;Receive payment and complete request, the electronic ticket that the payment is completed to ask to carry The ticket number of the corresponding database purchase of attribute information completes to ask the user side ID for carrying to bind with the payment, while creating The check code of the ticket number after binding, and encrypt after the ticket number after the binding is associated with the check code, generate concurrent Send the electronic ticket information after encryption.Also include to receive to be formed after the secondary encryption of electronic ticket information after encryption depositing after the second ciphertext Store up the electronic ticket information.The technical scheme that the present invention is provided, the technology for solving existing two-dimensional code electronic ticket data safety is asked Topic, further increases two-dimensional code electronic ticket data safety coefficient.
Embodiment five
With reference to Fig. 8, Fig. 8 shows a kind of generation system 500 of electronic ticket provided in an embodiment of the present invention, including:
Sending module 51, for sending electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;
3rd receiver module 52, for receiving application is paid, and is completed the payment by user side and is applied and send described Payment completes request, and the payment completes request and carries electronic ticket attribute information and user side ID;
Second generation module 53, store after the second ciphertext for being formed after the secondary encryption of electronic ticket information after reception encryption The electronic ticket information;
Electronic ticket information after the encryption includes:
By it is described payment complete ask carry the corresponding database purchase of electronic ticket attribute information ticket number with it is described Payment completes the user side ID bindings for asking to carry, while the check code of the ticket number after binding is created, and by after the binding Ticket number associate with the check code after encrypt the electronic ticket information after the encryption of generation.
Further, with reference to Fig. 9, second generation module 53, including:
Second signal generating unit 531, for receiving the electronic ticket information after encrypting, by the electronic ticket information after the encryption The binding of the first ciphertext and timestamp after the second ciphertext is generated by public key encryption, second ciphertext and self-defined extension are believed Two-dimensional code electronic ticket information is generated after breath combination.
The method that the implementation method and flow process of the principle of the technical scheme that this enforcement five is provided is provided with embodiment two is former Reason correspondence, therefore, description of the present embodiment five to present principles has not detailed part, refer to embodiment two.
The present invention is by sending electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;Receive and prop up Pay application, by user side complete it is described payment apply and send it is described payment complete request, it is described payment complete request carry Electronic ticket attribute information and user side ID.Receive to be formed after the secondary encryption of electronic ticket information after encryption and institute is stored after the second ciphertext State electronic ticket information.Electronic ticket information after the encryption includes:The electronic ticket attribute letter that the payment is completed to ask to carry The ticket number and the payment that cease corresponding database purchase complete the user side ID bindings for asking to carry, while creating after binding Ticket number check code, and the electricity after the encryption of generation is encrypted after the ticket number after the binding is associated with the check code Sub- ticket information.The technical scheme that the present invention is provided, solves the technical problem of existing two-dimensional code electronic ticket data safety, further Improve two-dimensional code electronic ticket data safety coefficient.
Embodiment six
With reference to Figure 10, Figure 10 shows a kind of schematic diagram of an embodiment of equipment 600 of present invention offer, the equipment The 600 generation systems 500 for including a kind of electronic ticket described in aforementioned any one.
The present invention is asked by receiving electronic ticket purchase, in checking the electronic ticket attribute information that the purchase request is carried Status information is initiated to pay application for effectively rear;Receive payment and complete request, the electronic ticket that the payment is completed to ask to carry The ticket number of the corresponding database purchase of attribute information completes to ask the user side ID for carrying to bind with the payment, while creating The check code of the ticket number after binding, and encrypt after the ticket number after the binding is associated with the check code, generate concurrent Send the electronic ticket information after encryption.Also include to receive to be formed after the secondary encryption of electronic ticket information after encryption depositing after the second ciphertext Store up the electronic ticket information.The technical scheme that the present invention is provided, the technology for solving existing two-dimensional code electronic ticket data safety is asked Topic, further increases two-dimensional code electronic ticket data safety coefficient.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
It may be noted that according to the needs implemented, each step/part described in this application can be split as into more multistep Suddenly/part, also can be combined into new step/part by the part operation of two or more step/parts or step/part, To realize the purpose of the present invention.
Above-mentioned the method according to the invention can be realized in hardware, firmware, or be implemented as being storable in recording medium Software or computer code in (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through network download Original storage is in long-range recording medium or nonvolatile machine readable media and will be stored in the meter in local recording medium Calculation machine code, so as to method described here can be stored in using all-purpose computer, application specific processor or programmable or special With the such software processing in the recording medium of hardware (such as ASIC or FPGA).It is appreciated that computer, processor, micro- Processor controller or programmable hardware include can storing or receive software or computer code storage assembly (for example, RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and when performing, realize here The processing method of description.Additionally, when all-purpose computer accesses the code of the process being shown in which for realization, the execution of code All-purpose computer is converted to into the special-purpose computer for performing the process being shown in which.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.

Claims (16)

1. a kind of generation method of electronic ticket, it is characterised in that include:
Electronic ticket purchase request is received, the status information checked in the electronic ticket attribute information that the purchase request is carried is effective Initiate afterwards to pay application;
Receive payment and complete request, the payment is completed into the corresponding database purchase of electronic ticket attribute information that request is carried Ticket number completes to ask the user side ID for carrying to bind with the payment, while the check code of the ticket number after binding is created, and Encrypt after ticket number after the binding is associated with the check code, generate and send the electronic ticket information after encryption.
2. the method for claim 1, it is characterised in that the electronic ticket attribute letter that the verification purchase request is carried Status information in breath is initiated to pay application for effectively rear, including:
Obtain the electronic ticket attribute information that the purchase request is carried;
The ticket number in the electronic ticket attribute information is extracted, the ticket number carries the unique identity of the electronic ticket;
After the corresponding status information of the ticket number stored in searching database is effective, the electronic ticket purchase request is responded And initiate to pay application.
3. the method for claim 1, it is characterised in that the check code of the ticket number after the establishment binding, including:
The ticket number after binding is obtained, according to custom rule, check code is created, the check code is after the identification binding The unique identity of ticket number.
4. the method for claim 1, it is characterised in that the ticket number by after the binding is closed with the check code Encrypt after connection, generate and send the electronic ticket information after encryption, including:
Ticket number after the check code and the binding is generated and is combined into after associated path in plain text;
The plain text encryption is generated by the first ciphertext by private key;
Two-dimensional code electronic ticket information is generated after self-defined extension information is combined with first ciphertext, by the two-dimensional code electronic Ticket information sends to payment after preserving and completes in the user side for asking carrying.
5. the method as described in one of claim 1-4, it is characterised in that also include:
Electronic ticket information after to sending encryption carries out secondary encryption, specially:
It is close second to be generated after the first ciphertext in electronic ticket information after the encryption is bound with timestamp by public key encryption Text, the two-dimensional code electronic ticket information that generate after information combination is extended by second ciphertext with self-defined.
6. a kind of generation method of electronic ticket, it is characterised in that include:
Send electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;
Receive pay application, by user side complete it is described payment apply and send it is described payment complete request, it is described to have paid Electronic ticket attribute information and user side ID are carried into request;
Receive to be formed after the secondary encryption of electronic ticket information after encryption and the electronic ticket information is stored after the second ciphertext;
Electronic ticket information after the encryption includes:
The ticket number of the corresponding database purchase of electronic ticket attribute information that the payment is completed to ask carrying and the payment The user side ID bindings for asking to carry are completed, while the check code of the ticket number after binding is created, and by the ticket after the binding Odd numbers encrypts the electronic ticket information after the encryption of generation after associating with the check code.
7. method as claimed in claim 6, it is characterised in that shape after the secondary encryption of electronic ticket information after the reception encryption The electronic ticket information is stored into after the second ciphertext, including:
The electronic ticket information after encryption is received, after the first ciphertext in the electronic ticket information after the encryption and timestamp binding Second ciphertext is generated by public key encryption, second ciphertext generate after information combination two-dimensional code electronic ticket with self-defined extension Information.
8. the generation system of a kind of electronic ticket, it is characterised in that include:
First receiver module, for receiving electronic ticket purchase request, checks the electronic ticket attribute information that the purchase request is carried In status information to initiate to pay application after effectively;
Second receiver module, for receiving payment request is completed;
First generation module, for the electronic ticket attribute information for completing the payment that second receiver module is received to ask to carry The ticket number of corresponding database purchase completes to ask the user side ID for carrying to bind with the payment, while creating after binding The check code of ticket number, and encrypt after the ticket number after the binding is associated with the check code, after generating and sending encryption Electronic ticket information.
9. system as claimed in claim 8, it is characterised in that first receiver module, including:
Acquiring unit, for obtaining the electronic ticket attribute information that the purchase request is carried;
Extraction unit, for extracting the electronic ticket attribute information in ticket number, the ticket number carries the electronic ticket Unique identity;
Retrieval unit, after the corresponding status information of the ticket number for storing in searching database is effective, response is described Electronic ticket purchase request Concurrency rises and pays application.
10. system as claimed in claim 8, it is characterised in that first generation module, including:
First signal generating unit, for obtaining the ticket number after binding, according to custom rule, creates check code, the check code The unique identity of the ticket number after to recognize the binding.
11. systems as claimed in claim 8, it is characterised in that first generation module, including:
Associative cell, is combined in plain text for the ticket number after the check code and the binding to be generated after associated path;
First ciphering unit, for the plain text encryption to be generated into the first ciphertext by private key;
Transmitting element, for generating two-dimensional code electronic ticket information after self-defined extension information is combined with first ciphertext, will The two-dimensional code electronic ticket information sends to payment after preserving and completes in the user side for asking carrying.
12. systems as described in one of claim 8-11, it is characterised in that also include:
Second ciphering unit, carries out secondary encryption, specially for the electronic ticket information after to sending encryption:After the encryption Electronic ticket information in the binding of the first ciphertext and timestamp after by public key encryption the second ciphertext of generation, by second ciphertext Two-dimensional code electronic ticket information is generated with after self-defined extension information combination.
13. a kind of equipment, it is characterised in that include the system as described in any one of claim 8-12.
The generation system of 14. a kind of electronic tickets, it is characterised in that include:
Sending module, for sending electronic ticket purchase request, the electronic ticket attribute information that the purchase request is carried;
3rd receiver module, for receiving application is paid, and is completed the payment by user side and is applied for and send described payment Into request, the payment completes request and carries electronic ticket attribute information and user side ID;
Second generation module, for being formed after the secondary encryption of electronic ticket information after reception encryption the electricity is stored after the second ciphertext Sub- ticket information;
Electronic ticket information after the encryption includes:
The ticket number of the corresponding database purchase of electronic ticket attribute information that the payment is completed to ask carrying and the payment The user side ID bindings for asking to carry are completed, while the check code of the ticket number after binding is created, and by the ticket after the binding Odd numbers encrypts the electronic ticket information after the encryption of generation after associating with the check code.
15. systems as claimed in claim 14, it is characterised in that second generation module, including:
Second signal generating unit, for receiving the electronic ticket information after encrypting, by first in the electronic ticket information after the encryption The second ciphertext is generated by public key encryption after ciphertext and timestamp binding, by second ciphertext and self-defined extension information combination Two-dimensional code electronic ticket information is generated afterwards.
16. a kind of equipment, it is characterised in that include the system as described in any one of claim 14-15.
CN201610914990.9A 2016-10-20 2016-10-20 Electronic ticket producing method and system and device Pending CN106651371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610914990.9A CN106651371A (en) 2016-10-20 2016-10-20 Electronic ticket producing method and system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610914990.9A CN106651371A (en) 2016-10-20 2016-10-20 Electronic ticket producing method and system and device

Publications (1)

Publication Number Publication Date
CN106651371A true CN106651371A (en) 2017-05-10

Family

ID=58856186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610914990.9A Pending CN106651371A (en) 2016-10-20 2016-10-20 Electronic ticket producing method and system and device

Country Status (1)

Country Link
CN (1) CN106651371A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510327A (en) * 2018-03-29 2018-09-07 广东顺德云证物联网科技有限公司 Discount coupon generation method and system
CN109360061A (en) * 2018-10-17 2019-02-19 北京汇银丰网络技术有限公司 A kind of processing method of electronics water ticket, system and sell horizontal platform and storage medium
CN109409471A (en) * 2017-08-18 2019-03-01 徐子明 A kind of generation method and its generation system of two dimensional code

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845165A (en) * 2006-03-25 2006-10-11 福建新大陆电脑股份有限公司 Application method for two-dimension code and mobile phone in ticket system
CN101609566A (en) * 2008-06-18 2009-12-23 丰达软件(苏州)有限公司 A kind of method that realizes electronic bill based on mobile phone
CN101739625A (en) * 2008-11-19 2010-06-16 中国移动通信集团广西有限公司 E-ticketing method and system
CN102609867A (en) * 2012-01-11 2012-07-25 北京华宏天下信息技术有限公司 Self-service system and method for selecting seat and buying cinema ticket of mobile phone
CN103824219A (en) * 2014-02-24 2014-05-28 广州热闹信息科技有限公司 Method for buying, checking and donating electronic ticket
CN104282091A (en) * 2013-07-02 2015-01-14 郁晓东 Bill data generating/transmitting/storing/authenticating method
KR20150064854A (en) * 2013-12-04 2015-06-12 신남규 Electronic payment method and system using multi dimensional barcode
CN105405035A (en) * 2015-10-26 2016-03-16 北京红马传媒文化发展有限公司 Method of determining two-dimension-code electronic ticket authenticity based on external standard time
CN105678365A (en) * 2014-11-18 2016-06-15 航天信息股份有限公司 Two-dimensional code e-ticket generation method and system, two-dimensional code e-ticket verification method and verification terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845165A (en) * 2006-03-25 2006-10-11 福建新大陆电脑股份有限公司 Application method for two-dimension code and mobile phone in ticket system
CN101609566A (en) * 2008-06-18 2009-12-23 丰达软件(苏州)有限公司 A kind of method that realizes electronic bill based on mobile phone
CN101739625A (en) * 2008-11-19 2010-06-16 中国移动通信集团广西有限公司 E-ticketing method and system
CN102609867A (en) * 2012-01-11 2012-07-25 北京华宏天下信息技术有限公司 Self-service system and method for selecting seat and buying cinema ticket of mobile phone
CN104282091A (en) * 2013-07-02 2015-01-14 郁晓东 Bill data generating/transmitting/storing/authenticating method
KR20150064854A (en) * 2013-12-04 2015-06-12 신남규 Electronic payment method and system using multi dimensional barcode
CN103824219A (en) * 2014-02-24 2014-05-28 广州热闹信息科技有限公司 Method for buying, checking and donating electronic ticket
CN105678365A (en) * 2014-11-18 2016-06-15 航天信息股份有限公司 Two-dimensional code e-ticket generation method and system, two-dimensional code e-ticket verification method and verification terminal
CN105405035A (en) * 2015-10-26 2016-03-16 北京红马传媒文化发展有限公司 Method of determining two-dimension-code electronic ticket authenticity based on external standard time

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109409471A (en) * 2017-08-18 2019-03-01 徐子明 A kind of generation method and its generation system of two dimensional code
CN109409471B (en) * 2017-08-18 2021-08-31 重庆赫皇科技咨询有限公司 Two-dimensional code generation method and generation system thereof
CN108510327A (en) * 2018-03-29 2018-09-07 广东顺德云证物联网科技有限公司 Discount coupon generation method and system
CN109360061A (en) * 2018-10-17 2019-02-19 北京汇银丰网络技术有限公司 A kind of processing method of electronics water ticket, system and sell horizontal platform and storage medium

Similar Documents

Publication Publication Date Title
CN109102269B (en) Transfer method and device based on block chain, block chain node and storage medium
CN104767613B (en) Signature verification method, apparatus and system
CN107146120A (en) The generation method and generating means of electronic invoice
CN108765023A (en) A kind of commodity evaluation management method, system and equipment
CN108154439A (en) Asset data processing unit and method
CN109584063A (en) Transaction processing method and device, electronic equipment based on block chain
CN109598504A (en) Transaction processing method and device, electronic equipment based on block chain
CN110083620A (en) Based on the data query method and device of block chain, storage medium, electronic device
CN103929411B (en) Information displaying method, terminal, safety server and system
CN104766209B (en) A kind of batch data processing method and system
CN108242999B (en) Key escrow method, device and computer-readable storage medium
CN106600717B (en) A kind of method, system and smart machine based on the networking ticket checking of user terminal interface
CN105871923B (en) Information processing method, information record node and participation node
CN108647969A (en) A kind of method, apparatus, system and the storage medium of access block chain
CN106780782B (en) Method, system and equipment based on the ticket checking scheme progress ticket checking that server is recommended
CN101303757B (en) Multifunctional safety false-proof method and system being suitable for a plurality of anti-fake sign
CN108985569A (en) A kind of vehicle risk appraisal procedure, server
CN107257284A (en) A kind of method and apparatus for carrying out virtual card transaction
CN111639923A (en) Digital currency transaction accounting method and system based on zero knowledge proof
CN109492424A (en) Data assets management method, data assets managing device and computer-readable medium
CN110990486A (en) Block link evidence issuing and storing method and device based on network data interaction
CN106651371A (en) Electronic ticket producing method and system and device
EP2913973A1 (en) Trusted NFC smart poster tag
CN112801778A (en) Federated bad asset blockchain
CN108764902A (en) Method, node and block catenary system for storing data

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: 20170510

RJ01 Rejection of invention patent application after publication