CN105809015A - Electronic ticket information hiding and verifying method, device and system - Google Patents

Electronic ticket information hiding and verifying method, device and system Download PDF

Info

Publication number
CN105809015A
CN105809015A CN201410844178.4A CN201410844178A CN105809015A CN 105809015 A CN105809015 A CN 105809015A CN 201410844178 A CN201410844178 A CN 201410844178A CN 105809015 A CN105809015 A CN 105809015A
Authority
CN
China
Prior art keywords
information
electronic ticket
authority
quick response
response code
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
CN201410844178.4A
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201410844178.4A priority Critical patent/CN105809015A/en
Publication of CN105809015A publication Critical patent/CN105809015A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to an electronic ticket information hiding and verifying method, device and system. In a living example, the method is used for hiding information in an electronic ticket, and the information comprises authority information of the electronic ticket and client information of a client corresponding to the electronic ticket. The method comprises the following steps: receiving the client information of the client corresponding to the electronic ticket and the authority information of the electronic ticket; encrypting the authority information through a symmetric encryption method so as to generate encrypted authority information; generating client abstract information according to the client information, encrypting the client abstract information through an asymmetric encryption method, and generating a client information signature; encrypting a symmetric key of the encrypted authority information through the asymmetric encryption method so as to generate an encrypted symmetric key; hiding the encrypted authority information, the client information signature, the encrypted symmetric key and the client abstract information in a two-dimension code of the electronic ticket; scanning the two-dimension code to verify whether the electronic ticket is true or not.

Description

Electronic ticket Information hiding and verification method, Apparatus and system
Technical field
The present invention relates to computer technology application, particularly to a kind of electronic ticket Information hiding and verification method, Apparatus and system.
Background technology
Fast development along with Internet technology, it is achieved traditional industries are to the transformation of information system management.Wherein electronic ticket is also the product of internet development.The appearance of electronic ticket makes present trip, visit and ticket checking convenient.But being hidden information about the information of electronic ticket only with single cipher mode in prior art, make the safety of electronic ticket there is hidden danger, therefore the safety about raising electronic ticket is problem demanding prompt solution.
Summary of the invention
In view of this, the present invention provides a kind of electronic ticket Information hiding and verification method, Apparatus and system, it is possible to improve the safety of electronic ticket.
A kind of electronic ticket Information hiding and verification method, for hiding the information in electronic ticket, described information includes the authority information of electronic ticket and the customer information of electronic ticket correspondence client, said method comprising the steps of:
First electronic installation receives described customer information corresponding to described electronic ticket and described authority information;
Described authority information is encrypted by described first electronic installation by symmetric encryption method, generates Encryption permissions information;
Described first electronic installation generates client's summary info according to described customer information;
The symmetric key of described Encryption permissions information is encrypted by described first electronic installation by asymmet-ric encryption method, generates encrypted symmetric key;
Described client's summary info is encrypted by described first electronic installation by asymmet-ric encryption method, generates customer information signature;
Described first electronic installation is by described Encryption permissions information, encrypted symmetric key, and customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;And
Second electronic device scans described Quick Response Code and is verified the true and false of described electronic ticket.
A kind of electronic ticket Information hiding and verification method, described method is used for the first electronic installation, said method comprising the steps of:
Receive customer information corresponding to electronic ticket and authority information;
By symmetric encryption method, described authority information is encrypted, generates Encryption permissions information;
Client's summary info is generated according to described customer information;
By asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, generates encrypted symmetric key;
By asymmet-ric encryption method, described client's summary info is encrypted, generates customer information signature;
By described Encryption permissions information, encrypted symmetric key, customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;And
Described Quick Response Code is provided to scan to second electronic device, it is judged that the true and false of described electronic ticket.
A kind of electronic ticket Information hiding and verification method, described method is used for second electronic device, said method comprising the steps of:
Scanning Quick Response Code, the information in decoding Quick Response Code;
If scanning full stop, then stopping decoding, decoding obtains the open area information client's summary info of described Quick Response Code, and shows described client's summary info;
Detect the data after described full stop, it may be judged whether there are data;
If there are data, then continuing to decode described Quick Response Code hidden area information and obtain authority of a user bag, described authority of a user bag includes Encryption permissions information, encrypted symmetric key and customer information signature;
With Encryption permissions information described in authority of a user bag described in asymmet-ric encryption method homographic solution secret key decryption, encrypted symmetric key and customer information signature;
The customer information obtained of the customer information of deciphering being signed contrasts with described client's summary info, if identical, then judges that described electronic ticket is true ticket.
A kind of electronic ticket Information hiding and checking system, for hiding the information in electronic ticket, described information includes the authority information of electronic ticket and the customer information of electronic ticket correspondence client, and described system includes the first electronic installation and second electronic device:
Described authority information, for receiving described customer information corresponding to described electronic ticket and described authority information, is encrypted by described first electronic installation by symmetric encryption method, generates Encryption permissions information, generates client's summary info according to described customer information;
Described first electronic installation is additionally operable to by asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, and generates encrypted symmetric key, by described asymmet-ric encryption method, described client's summary info is encrypted, and generates customer information signature;
Described first electronic installation is additionally operable to described Encryption permissions information, encrypted symmetric key, and customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;
Described second electronic device is verified the true and false of described electronic ticket for scanning described Quick Response Code.
A kind of electronic ticket Information hiding and checking device, described device includes with lower module:
Receiver module, for receiving customer information corresponding to electronic ticket and authority information;
First encrypting module, for described authority information being encrypted by symmetric encryption method, generates Encryption permissions information;
Second encrypting module, for generating client's summary info according to described customer information;
3rd encrypting module, for the symmetric key of described Encryption permissions information being encrypted by asymmet-ric encryption method, generates encrypted symmetric key;
4th encrypting module, for described client's summary info being encrypted by asymmet-ric encryption method, generates customer information signature;
Information arrangement module, for by described Encryption permissions information, encrypted symmetric key, customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;And
Quick Response Code module is provided, is used for providing described Quick Response Code to scan to second electronic device, it is judged that the true and false of described electronic ticket.
A kind of electronic ticket Information hiding and checking device, described device includes with lower module:
Scan module, for scanning the information in Quick Response Code decoding Quick Response Code;
Summary decoder module, if for scanning full stop, then stops decoding, and decoding obtains the open area information client's summary info of described Quick Response Code, and shows described client's summary info;
Judge module, is used for the data after detecting described full stop, it may be judged whether there are data;
Decoding right bag module, if for there are data, then continues to decode described Quick Response Code hidden area information and obtains authority of a user bag, and described authority of a user bag includes Encryption permissions information, encrypted symmetric key and customer information signature;
Right bag deciphering module, for signing by Encryption permissions information described in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption, encrypted symmetric key and customer information;
Contrast module, contrasts with described client's summary info for the customer information obtained of the customer information of deciphering being signed, if identical, then judges that described electronic ticket is true ticket.
According to the method for above-described embodiment, Apparatus and system, by the authority information of electronic ticket and customer information are distinguished asymmetric encryption and symmetric cryptography, improve the safety of electronic ticket.
For the above and other purpose of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawings, it is described in detail below.
Accompanying drawing explanation
Electronic ticket Information hiding that Fig. 1 provides for first embodiment and checking system schematic.
Electronic ticket Information hiding that Fig. 2 provides for the second embodiment and checking system schematic.
Fig. 3 is the sequential chart of an example of electronic ticket Information hiding and checking.
A kind of electronic ticket Information hiding that Fig. 4 provides for the 3rd embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Fig. 5 provides for the 4th embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Fig. 6 provides for the 5th embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Fig. 7 provides for sixth embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Fig. 8 provides for the 7th embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Fig. 9 provides for the 8th embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Figure 10 provides for the 9th embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Figure 11 provides for the tenth embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Figure 12 provides for the 11st embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Figure 13 provides for the 12nd embodiment and verification method flow chart.
A kind of electronic ticket Information hiding that Figure 14 provides for the 13rd embodiment and checking apparatus structure block diagram.
A kind of electronic ticket Information hiding that Figure 15 provides for the 14th embodiment and checking apparatus structure block diagram.
A kind of electronic ticket Information hiding that Figure 16 provides for the 15th embodiment and checking apparatus structure block diagram.
A kind of electronic ticket Information hiding that Figure 17 provides for the 16th embodiment and checking apparatus structure block diagram.
Detailed description of the invention
For further setting forth that the present invention realizes technological means and effect that predetermined goal of the invention is taked, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, describe in detail as after.
First embodiment
The present embodiment provides a kind of electronic ticket Information hiding and checking system, as shown in Figure 1, electronic ticket Information hiding and checking system in the present embodiment include at least one first electronic installation 100 (illustrate only in figure), at least one second electronic device 200 (illustrate only one in figure).
First electronic installation 100 is server in the present embodiment, for the booking service providing client 300 to send.In an example, when server receives the ticket purchasing request sent by client 300, described ticket purchasing request can include described customer information corresponding to electronic ticket and described authority information.Further, if server receives the message of the successful payment of client 300.Then server is for being encrypted described authority information by symmetric encryption method, generates Encryption permissions information, generates client's summary info according to described customer information;Described server is additionally operable to by asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, and generates encrypted symmetric key, by described asymmet-ric encryption method, described client's summary info is encrypted, and generates customer information signature;And by described Encryption permissions information, customer information is signed, and encrypted symmetric key and client's summary info are arranged in the Quick Response Code in described electronic ticket.Further, if being successfully generated described electronic ticket, then the electronic ticket generated is sent to client 300.
In an example, if described electronic ticket is used as entrance ticket, then the authority at each sight spot represents by a bit binary number, " 0 " is for having no right, " 1 " is for having the right, when server generates Quick Response Code ticket, server generates corresponding authority string of binary characters according to the authority information of the above-mentioned client received.During electronic ticket to be verified, judge authority according to binary numeral.
Second electronic device 200 is verified the true and false of described electronic ticket for scanning described Quick Response Code.Further, second electronic device 200 is for scanning Quick Response Code in the above-mentioned electronic ticket being back to client 300 by imaging device.Specifically, described Quick Response Code the information decoding in Quick Response Code are scanned;If scanning full stop, then stop decoding, then decode described second data stream and obtain client's summary info described in the open area information of described Quick Response Code, and show described client's summary info;Detect the data after described full stop, it may be judged whether there are data;If there are data, then continue to decode described first data stream and obtain the authority of a user bag of described Quick Response Code hidden area information;By information in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption;Client's summary info in the authority of a user bag obtain deciphering contrasts with described client's summary info, if identical, then judges that described electronic ticket is true ticket.
Further, second electronic device 200 be additionally operable to according to the rule judgment preset authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
In an example, second electronic device 200 also includes authority detection configuration, the binary numeral of corresponding storage authority recognition, during authority string of binary characters in extracting Quick Response Code, configure authority contrast with second electronic device, if consistent, represent and have this detection authority.
Various information by the request according to client, are carried out symmetric and unsymmetric encryption, improve the safety of electronic ticket by the system according to the present embodiment.
Second embodiment
The present embodiment provides a kind of electronic ticket Information hiding and checking system, as shown in Figure 1, electronic ticket Information hiding and checking system in the present embodiment at least include at least one first electronic installation 100 (illustrate only in figure), at least one second electronic device 200 (illustrate only one in figure).
In an example, the first electronic installation 100 is ticketing end, and the first electronic installation 100 receives customer information and the authority information of the electronic ticket of ticket seller or ticket-holder's input.
First electronic installation 100 is additionally operable to by symmetric encryption method, described authority information is encrypted, and generates Encryption permissions information, generates client's summary info according to described customer information;
First electronic installation 100 is additionally operable to by asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, and generates encrypted symmetric key, by described asymmet-ric encryption method, described client's summary info is encrypted, and generates customer information signature.
First electronic installation 100 is additionally operable to described Encryption permissions information, and customer information is signed, and encrypted symmetric key and client's summary info are arranged in the Quick Response Code in described electronic ticket.
Further, the first electronic installation 100 can also send print request to the printer that associates with the first electronic installation and prints described electronic ticket containing Quick Response Code papery ticket.Described electronic ticket can also be sent to designated terminal, for instance Client handset end.
Second electronic device 200 is verified the true and false of described electronic ticket for scanning described Quick Response Code.Further, the Quick Response Code that second electronic device 200 scans in above-mentioned papery ticket is identified, or the electronic ticket that Client handset receives.
Other details of the present embodiment is referred to first embodiment, does not repeat them here.
Various information, by the information of electronic ticket being inputted, are carried out symmetry, asymmetric encryption and hide by the system according to the present embodiment, and the Quick Response Code that general equipment None-identified the method generates improves the safety of electronic ticket.
3rd embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, in described method system 10 shown in Fig. 1 or 2, for hiding the information in electronic ticket, described information includes the authority information of electronic ticket and the customer information of electronic ticket correspondence client, as shown in Figure 4, said method comprising the steps of:
Step S101, the first electronic installation receive described customer information corresponding to described electronic ticket and described authority information.
Described customer information can include customer name, client's permit identification piece number, for instance described certificate number can be the information such as identification card number, client gender.Described authority information can include the use scope of electronic ticket.Such as, described electronic ticket is concert admission ticket or film ticket, then described authority information can be concert time, seat number grade etc..Again such as, described electronic ticket is entrance ticket, and described authority information can include entering the scope in scenic spot, the enterable authority in sub-sight spot etc. in which scenic spot.
Described customer information that described reception electronic ticket is corresponding and authority information.Can be receive described customer information corresponding to described electronic ticket and the described authority information that client sends.Can also be receive the described customer information corresponding to described electronic ticket of user's input and described authority information.
In one embodiment, the approach application of the present embodiment is in the system shown in Fig. 1.In one example, for instance, bought tickets by official website.The official website provided by client specifies the customer information of ticket and the authority information bought required for window input, such as, client buys entrance ticket, by specifying input messagewindow to send customer information and authority information to first electronic installation 100 that takes shown in Fig. 1, generate effective electron ticket information.
In another embodiment, the approach application of the present embodiment is in the system shown in Fig. 2.Direct ticket window carries out ticketing, such as, client " king one " buys " Chen Yi fast Beijing Capital Gymnasium concert " admission ticket, then the first electronic installation 100 receives " king one " and the ID (identity number) card No. thereof of ticket seller's input, and the information such as concert relevant time, place, seat, generate electronic ticket, described electronic ticket is printed.It is appreciated that the described electronic ticket printed comprises the information of above-mentioned input.
Step S102, by symmetric encryption method, described authority information is encrypted, generates Encryption permissions information.
Described symmetric encryption method can be AES encryption, Advanced Encryption Standard (English: AdvancedEncryptionStandard, abbreviation: AES).In described AES encryption, the block length of AES is fixed as 128 bits, and key length can be then 128,192 or 256 bits.Most AES calculates and completes at a special finite field.According to above-mentioned AES encryption method, the encryption of described authority information is generated Encryption permissions information (A (ai)).
In an example, the method of the present embodiment generates and inspection authority for the admission ticket at scenic spot, then use binary digit to switch as the authority at each sight spot, park, and the authority at each sight spot represents by a bit binary number, " 0 ", for having no right, " 1 " is for having the right.
Step S103, according to described customer information generate client's summary info.
In one embodiment, can be generate client's summary info (H (pi)) according to hash algorithm, the binary value of random length is mapped as the binary value of shorter regular length by described hash algorithm, and this little binary value is called cryptographic Hash.Cryptographic Hash is the numeric representation form that one piece of data is unique and extremely compact.If one section of plaintext of hash and even only changing a letter of this paragraph, Hash subsequently all will produce different value.Two the different inputs finding hash to be same value, are computationally impossible, so the cryptographic Hash of data can the integrity of testing data.The customer information of above-mentioned reception can be generated client's summary info (H (pi)) of the binary value of one section of regular length by the present embodiment according to described hash algorithm.
Step S104, by asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, generates encrypted symmetric key.
In one embodiment, described asymmetric encryption first generates a pair RSA key according to RSA Algorithm, including private key (T_pri) and PKI (T_pub).Described RSA cryptographic algorithms is to be proposed together by Peter Lonard Lee Vista (RonRivest), A Di Shamir (AdiShamir) and Leonard A Deman (LeonardAdleman) for 1977.RSA is stitched together by their three people's surname beginning letters and forms.Such as, with private key (T_pri), the key (Ak) of described Encryption permissions information is carried out asymmetrical encryption and generate encrypted symmetric key T (Ak).Asymmetric public key encryption advantage is without shared universal key, and the private key of deciphering does not mail to any user.Even if PKI is trapped on the net, without matched private key, cannot deciphering, the PKI intercepted and captured does not have any use yet.Asymmetric public key encryption advantage is in that the private key of encryption does not mail to any user, and instant PKI is trapped, it does not have encrypted electronic ticket also cannot be copied by the private key of encryption.
Step S105, by described asymmet-ric encryption method, described client's summary info is encrypted, generates customer information signature.
Such as with above-mentioned private key (T_pri), described client's summary info is carried out asymmetrical encryption and generate customer information signature (D (pi)).
Step S106, the first electronic installation are by described Encryption permissions information, and customer information is signed, and encrypted symmetric key and client's summary info are arranged in the Quick Response Code in described electronic ticket.
Described Quick Response Code utilizes the concept of " 0 ", " 1 " bit stream constituting computer-internal logical foundations dexterously on coding, use several geometrical bodies corresponding with binary system to represent word numerical information, automatically processed to realize information by image input device or photoelectric scanning device automatically identifying and reading.
First electronic installation is by described Encryption permissions information (A (ai)), encrypted symmetric key T (Ak), and customer information signature (D (pi)) composition authority of a user bag, described authority of a user bag is converted into the first data stream by Quick Response Code coding rule, described first data stream is arranged in the hidden area of described Quick Response Code.
Described client's summary info (H (pi)) is converted into the second data stream by Quick Response Code coding rule by the first electronic installation;And described second data stream is arranged in the open region of described Quick Response Code.
Step S107, second electronic device scan described Quick Response Code and are verified the true and false of described electronic ticket.
Such as, described second electronic device is arranged to decipher the configuration of information in Quick Response Code.First pass through scanning Quick Response Code decoding and obtain client's summary info (H (pi)).Further, acquisition of information authority of a user bag in decoding Quick Response Code.According to the encrypted symmetric key T (Ak) in the decryption key decryption authority of a user bag that above-mentioned asymmet-ric encryption method is corresponding, and customer information signature (D (pi)).The decryption information of customer information signature (D (pi)) and above-mentioned client's summary info (H (pi)) information being contrasted, then can determine whether the true and false of described electronic ticket, if the same, then electronic ticket is true.
Method according to the present embodiment, by the cooperation to the symmetric cryptography of information and asymmetric encryption, in electronic ticket, information can effectively be hidden in electronic ticket, the Quick Response Code that general equipment None-identified the method generates, the safety of high electronic ticket.
4th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is in system shown in Figure 1 10, and the present embodiment and the second embodiment are similar, and it is different in that, as it is shown in figure 5, step S106 specifically includes:
Step S1061, composition authority of a user bag that described Encryption permissions information, encrypted symmetric key and customer information are signed.
Described authority of a user bag comprises Encryption permissions information (A (ai)), encrypted symmetric key T (Ak) and customer information signature (D (pi)).It is appreciated that the information in authority of a user bag is also the main contents of electronic ticket.
Step S1062, described authority of a user bag is converted into the first data stream by Quick Response Code coding rule.
Described Quick Response Code coding rule stain represents 1, represents 0 by blank, and the X-Y scheme of formation has meant that the arrangement of multiple 1,0, namely defined data.
Step S1063, described first data stream is arranged in the hidden area of described Quick Response Code.
Described first data stream is arranged in the hidden area of Quick Response Code, then general scanning Quick Response Code equipment then not can recognise that the hidden area of Quick Response Code.Only when the decruption key that the described asymmet-ric encryption method of second electronic device acquisition is corresponding, the true and false and the authority of electronic ticket while can recognise that the hidden area of Quick Response Code, could be judged.
Step S1064, described client's summary info is converted into the second data stream by Quick Response Code coding rule.
Step S1065, described second data stream is arranged in the open region of described Quick Response Code.
Client's summary info (H (pi)) is arranged in the open region of Quick Response Code, and general scanning equipment may identify which, therefore can the essential information of easy detection electronic ticket.
Method according to the present embodiment, by storing respectively to hidden area and open region information, client's summary info is arranged in open region and improves the identification of electronic ticket, and authority of a user bag is arranged in hidden area, improves the safety of electronic ticket.
5th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is in system shown in Figure 1 10, and the present embodiment and the second embodiment are similar, and it is different in that, as shown in Figure 6, step S107 specifically includes:
Step S1071, scan described Quick Response Code, the information in decoding Quick Response Code.
Described Quick Response Code coding utilizes the concept of " 0 ", " 1 " bit stream constituting computer-internal logical foundations dexterously, use several geometrical bodies corresponding with binary system to represent word numerical information, automatically processed to realize information by image input device or photoelectric scanning device automatically identifying and reading.
If step S1072 scans full stop, then stop decoding, then decode described second data stream and obtain client's summary info described in the open area information of described Quick Response Code, and show described client's summary info.
Such as, if scanning described full stop, represent that open area information all obtains.Decode it the information that can show open region.
Step S1073, detect the data after described full stop, it may be judged whether there are data.
It is appreciated that the Quick Response Code in the electronic ticket generated by the first electronic installation includes open area information and hidden area information.
If step S1073 judges to be absent from data, then judging that described electronic ticket is as false tickets, the data terminating decoding in described Quick Response Code do not perform step S1074, and show false tickets information.In an example, if described electronic ticket is imitated electronic ticket, then do not comprise the information of Quick Response Code hidden area, therefore will scan less than new data after above-mentioned full stop, can be then false tickets according to there is no electronic ticket described in data judging after full stop, further, then step below is interrupted.
If step S1074 exists data, then continue decoding the first data stream and obtain described Quick Response Code hidden area information user's right bag.
Described including Encryption permissions information (A (ai)) for right bag, encrypted symmetric key T (Ak) is, and customer information signature (D (pi)).
Step S1075, by information in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption.
In one embodiment, described asymmetric encryption first generates a pair RSA key according to RSA Algorithm, including private key (T_pri) and PKI (T_pub).The encrypted symmetric key T (Ak) that first use for electronic equipment private key (T_pri) encryption generates, and customer information signature (D (pi)), then the second electronic device PKI (T_pub) that described private key (T_pri) is corresponding is decrypted encrypted symmetric key T (Ak) and customer information signature (D (pi)).
Customer information in step S1076, authority of a user bag deciphering obtained contrasts with described client's summary info, if identical, then judges that described electronic ticket is true ticket.
Such as, the Quick Response Code of the electronic ticket that the first electronic installation generates is client's summary info (H (pi)) is obtained customer information signature (D (pi)) according to asymmet-ric encryption method encryption.Therefore, the information obtained by contrasting decryption key decryption customer information signature (D (pi)) corresponding to asymmet-ric encryption method can be expressed as true ticket with client's summary info (H (pi)).Certainly, if it is different, then judge that described electronic ticket is false tickets, and false tickets information is shown.
Method according to the present embodiment, by information being decrypted checking corresponding to encryption method, the checking of electronic ticket is also adapted to the checking of the electronic ticket of multiple authority, improves effectiveness and the safety of electronic ticket.
Sixth embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is in system shown in Figure 1 10, and the present embodiment and the 4th embodiment are similar, and it is different in that, as it is shown in fig. 7, also include after step S1076:
If S1077 judges that described electronic ticket also includes after being true ticket, according to default rule judgment authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
Such as, by the scope check scope of second electronic device is configured and preserves, in scanning electron ticket after Quick Response Code checking, Authority Verification scope according to second electronic device, extract the corresponding binary digit of authority string of binary characters in Quick Response Code, the two is compared, and result unanimously then shows that this ticket possesses the authority visiting this sight spot, otherwise haves no right to visit.It is appreciated that in applying to example, for instance for scenic spot ticket.If electronic ticket includes the authority at multiple scenic spot, then when entering one of them scenic spot, during ticket checking end ticket checking, described ticket checking end verifies the authority at its representative scenic spot.When client enters other scenic spot according to electronic ticket, then can be carried out ticket checking by other ticket checking end.Described ticket checking end can represent different authorities, therefore all can verify the true and false of ticket at different ticket checking ends, but the authority of checking is but different authority.
Method according to the present embodiment, the authority of checking ticket, improves the Vaporous atomization of ticketing end subscriber, reduces the false ticket including authority, be also the safety improving electronic ticket.
7th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is in system shown in Figure 1 10, and the present embodiment and the second embodiment are similar, and it is different in that, as shown in Figure 8,
Step S101 can include, and receives described customer information corresponding to described electronic ticket and described authority information that client sends.
In an example, for instance, bought tickets by official website.The official website provided by client specifies the customer information of ticket and the authority information bought required for window input, such as, client buys entrance ticket by client 300, by specifying input messagewindow customer information and authority information to be sent to taking the first electronic installation 100 shown in Fig. 1, the first electronic installation now then for providing the server of ticketing service for client, submits electronic ticket request to.The request of described electronic ticket can include above-mentioned customer information and authority information etc..If client successful payment, then the first electronic installation then performs step S102.Also include after step s 106 sending to described client described electronic ticket.
Method according to the present embodiment, it is possible to buy tickets for official website user oneself operation, the convenience of time saving and energy saving raising ticketing.
8th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is in system shown in Figure 1 10, and the present embodiment and the second embodiment are similar, and it is different in that, as it is shown in figure 9,
Step S101 can include, and receives the described customer information corresponding to described electronic ticket of user's input and described authority information.
In an example, this method applies to the direct ticketing in ticket office.Then this first electronic installation can be the ticketing service computer of ticket office.Customer information machine authority information is directly serviced computer in ticketing according to the request of client and inputs by ticket seller.Further, if the first electronic installation receives confirmation, instruction of drawing a bill just performs step S102.Further, can also including after step S106, the first electronic installation sends the request printing described electronic ticket, prints the ticket containing the Quick Response Code generated of S106 in steps according to the printer associated with the first electronic installation.It is of course also possible to electronic ticket is sent to designated terminal, for instance, the mobile phone terminal of client.
Method according to the present embodiment, direct ticketing end can also use the double encryption approach of described electronic ticket, improves the safety of electronic ticket.
9th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is used for the first electronic installation 100, as shown in Figure 10, said method comprising the steps of:
Step S201, receive customer information corresponding to electronic ticket and authority information.
Described reception customer information and authority information can be receive described customer information corresponding to described electronic ticket and the described authority information that client sends.Can also be receive the described customer information corresponding to described electronic ticket of user's input and described authority information.
Step S202, by symmetric encryption method, described authority information is encrypted, generates Encryption permissions information.
Described symmetric encryption method can be AES encryption, according to above-mentioned AES encryption method, the encryption of described authority information is generated Encryption permissions information (A (ai)).
Step S203, according to described customer information generate client's summary info.
In one embodiment, it is possible to be generate client's summary info (H (pi)) according to hash algorithm.
Step S204, by asymmet-ric encryption method, described Encryption permissions information is encrypted, generates encrypted symmetric key.
In one embodiment, described asymmetric encryption first generates a pair RSA key according to RSA Algorithm, including private key (T_pri) and PKI (T_pub).Such as, with private key (T_pri), described Encryption permissions information is carried out asymmetrical encryption and generate encrypted symmetric key T (Ak).
Step S205, by described asymmet-ric encryption method, described client's summary info is encrypted, generates customer information signature.
Such as with above-mentioned private key (T_pri), described client's summary info is carried out asymmetrical encryption and generate customer information signature (D (pi)).
Step S206, by described Encryption permissions information, client's summary info, encrypted symmetric key and customer information signature are arranged in the Quick Response Code in described electronic ticket.
First electronic installation is by described Encryption permissions information (A (ai)), encrypted symmetric key T (Ak), and customer information signature (D (pi)) composition authority of a user bag, described authority of a user bag is converted into the first data stream by Quick Response Code coding rule, described first data stream is arranged in the hidden area of described Quick Response Code.
Described client's summary info (H (pi)) is converted into the second data stream by Quick Response Code coding rule by the first electronic installation;And described second data stream is arranged in the open region of described Quick Response Code.
Step S207, provide described Quick Response Code to second electronic device scan, it is judged that the true and false of described electronic ticket.
Method according to the present embodiment, by the cooperation to the symmetric cryptography of information and asymmetric encryption, in electronic ticket, information can effectively be hidden in electronic ticket, the Quick Response Code that general equipment None-identified the method generates, the safety of high electronic ticket.
Tenth embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is used for the first electronic installation 100, and the present embodiment and the 8th embodiment are similar, and it is different in that, as shown in figure 11, step S206 specifically includes:
Step S2061, composition authority of a user bag that described Encryption permissions information, encrypted symmetric key and customer information are signed.
Described authority of a user bag comprises Encryption permissions information (A (ai)), encrypted symmetric key T (Ak) and customer information signature (D (pi)).It is appreciated that the information in authority of a user bag is also the main contents of electronic ticket.
Step S2062, described authority of a user bag is converted into the first data stream by Quick Response Code coding rule.
Step S2063, described first data stream is arranged in the hidden area of described Quick Response Code.
Described first data stream is arranged in the hidden area of Quick Response Code, then general scanning Quick Response Code equipment then not can recognise that the hidden area of Quick Response Code.Only when the decruption key that the described asymmet-ric encryption method of second electronic device acquisition is corresponding, the true and false and the authority of electronic ticket while can recognise that the hidden area of Quick Response Code, could be judged.
Step S2064, described client's summary info is converted into the second data stream by Quick Response Code coding rule.
Step S2065, described second data stream is arranged in the open region of described Quick Response Code.
Method according to the present embodiment, by storing respectively to hidden area and open region information, client's summary info is arranged in open region and improves the identification of electronic ticket, and authority of a user bag is arranged in hidden area and improves the safety of electronic ticket.
11st embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, and described method is used for second electronic device 200, as shown in figure 12, said method comprising the steps of:
Step S301, scanning Quick Response Code, the information in decoding Quick Response Code.
Described Quick Response Code coding utilizes the concept of " 0 ", " 1 " bit stream constituting computer-internal logical foundations dexterously, use several geometrical bodies corresponding with binary system to represent word numerical information, automatically processed to realize information by image input device or photoelectric scanning device automatically identifying and reading.
If step S302 scans full stop, then stopping decoding, decoding obtains the open area information client's summary info of described Quick Response Code, and shows described client's summary info.
Such as, if scanning described full stop, represent that open area information all obtains.Decode it the information that can show open region.
Step S303, detect the data after described full stop, it may be judged whether there are data.
It is appreciated that the Quick Response Code in the electronic ticket generated by the first electronic installation includes open area information and hidden area information.
If judging to be absent from data, then judging that described electronic ticket is as false tickets, the data terminating decoding in described Quick Response Code do not perform step S304, and show false tickets information.
If step S304 exists data, then continuing to decode described Quick Response Code hidden area information and obtain authority of a user bag, described authority of a user bag includes Encryption permissions information, encrypted symmetric key and customer information signature.
Step S305, by Encryption permissions information described in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption, encrypted symmetric key and customer information signature.
Step S306, the customer information obtained of the customer information of deciphering being signed contrast with described client's summary info, if identical, then judge that described electronic ticket is true ticket.
Such as, the Quick Response Code of the electronic ticket generated due to the first electronic installation is client's summary info (H (pi)) is obtained customer information signature (D (pi)) according to asymmet-ric encryption method encryption.Therefore, the information obtained by contrasting decryption key decryption customer information signature (D (pi)) corresponding to asymmet-ric encryption method can be expressed as true ticket with client's summary info (H (pi)).Certainly, if it is different, then judge that described electronic ticket is false tickets, and false tickets information is shown.
Method according to the present embodiment, by information being decrypted checking corresponding to encryption method, improves effectiveness and the safety of electronic ticket.
12nd embodiment
The present embodiment provides a kind of electronic ticket Information hiding and verification method, described method second electronic device 200, and the present embodiment and the tenth embodiment are similar, and it is different in that, as shown in figure 13, also include after step S306:
Step S307, according to the rule judgment preset authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
Such as, by the scope check scope of second electronic device is configured and preserves, in scanning electron ticket after Quick Response Code checking, Authority Verification scope according to second electronic device, extract the corresponding binary digit of authority string of binary characters in Quick Response Code, the two is compared, and result unanimously then shows that this ticket possesses the authority visiting this sight spot, otherwise haves no right to visit.
Method according to the present embodiment, the authority of checking ticket, improves the Vaporous atomization of ticketing end subscriber, reduces the false ticket including authority, be also the safety improving electronic ticket.
13rd embodiment
The present embodiment provides a kind of electronic ticket Information hiding and checking device, as shown in figure 14, described device includes: receiver module the 401, first encrypting module the 402, second encrypting module the 403, the 3rd encrypting module the 404, the 4th encrypting module 405, information arrangement module 406 and offer Quick Response Code module 407.
Receiver module 401, for receiving customer information corresponding to electronic ticket and authority information.
Receiver module 401 includes, and receives and sends information unit, for receiving described customer information corresponding to described electronic ticket and the described authority information that client sends.
Receiver module 401 also includes, and receives input unit of information, for receiving the described customer information corresponding to described electronic ticket of user's input and described authority information.
First encrypting module 402, for described authority information being encrypted by symmetric encryption method, generates Encryption permissions information.
Second encrypting module 403, for generating client's summary info according to described customer information.
3rd encrypting module 404, for described Encryption permissions information being encrypted by asymmet-ric encryption method, generates encrypted symmetric key.
4th encrypting module 405, for described client's summary info being encrypted by asymmet-ric encryption method, generates customer information signature.
Information arrangement module 406, for being arranged in described Encryption permissions information, client's summary info, encrypted symmetric key and customer information signature in the Quick Response Code in described electronic ticket.
Quick Response Code module 407 is provided, is used for providing described Quick Response Code to scan to second electronic device, it is judged that the true and false of described electronic ticket.
About other details of the device of the present embodiment, also can further regard to the 9th embodiment, be not repeated at this.
Device according to the present embodiment, by the cooperation to the symmetric cryptography of information and asymmetric encryption, in electronic ticket, information can effectively be hidden in checking, the safety of high electronic ticket.
14th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and checking device, and the present embodiment and the 13rd embodiment are similar, and its difference exists, and as shown in figure 15, described information arrangement module 406 specifically includes:
Group right bag unit 4061, for by described Encryption permissions information, encrypted symmetric key and customer information signature composition authority of a user bag.
First coding unit 4062, for being converted into the first data stream by described authority of a user bag by Quick Response Code coding rule.
First arrangement unit 4063, for being arranged in the hidden area of described Quick Response Code by described first data stream.
Second coding unit 4064, for being converted into the second data stream by described client's summary info by Quick Response Code coding rule.
Second arrangement unit 4065, for being arranged in the open region of described Quick Response Code by described second data stream.
About other details of the device of the present embodiment, also can further regard to the tenth embodiment, be not repeated at this.
Device according to the present embodiment, by storing respectively to hidden area and open region information, client's summary info is arranged in open region and improves the identification of electronic ticket, and authority of a user bag is arranged in hidden area and improves the safety of electronic ticket.
15th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and checking device, and as shown in figure 16, described device includes: scan module 501, summary decoder module 502, judge module 503, decoding right bag module 504, right bag deciphering module 505 and contrast module 506.
Scan module 501, for scanning the information in Quick Response Code decoding Quick Response Code.
Summary decoder module 502, if for scanning full stop, then stops decoding, and decoding obtains the open area information client's summary info of described Quick Response Code, and shows described client's summary info.
Judge module 503, is used for the data after detecting described full stop, it may be judged whether there are data.
Reminding module, if for judging to be absent from data, then judging that described electronic ticket is as false tickets, terminating decoding the data in described Quick Response Code, and showing false tickets information.
Decoding right bag module 504, if for there are data, then continues to decode described Quick Response Code hidden area information and obtains authority of a user bag, and described authority of a user bag includes Encryption permissions information, encrypted symmetric key and customer information signature.
Right bag deciphering module 505, for signing by Encryption permissions information described in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption, encrypted symmetric key and customer information.
Contrast module 506, contrasts with described client's summary info for the customer information obtained of the customer information of deciphering being signed, if identical, then judges that described electronic ticket is true ticket.
If the customer information that described contrast module obtains deciphering in the authority of a user bag obtained is different from described client's summary info, then judges that described electronic ticket is false tickets, and perform reminding module.
About other details of the device of the present embodiment, also can further regard to the 11st embodiment, be not repeated at this.
Device according to the present embodiment, by information being decrypted checking corresponding to encryption method, improves effectiveness and the safety of electronic ticket.
16th embodiment
The present embodiment provides a kind of electronic ticket Information hiding and checking device, and the present embodiment and the 14th embodiment are similar, and it is different in that, as shown in figure 17, described device also includes,
If matching module 507 is for judging that described electronic ticket is after true ticket, according to default rule judgment authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
About other details of the device of the present embodiment, also can further regard to the 12nd embodiment, be not repeated at this.
Device according to the present embodiment, the authority of checking ticket, improves the Vaporous atomization of ticketing end subscriber, reduces the false ticket including authority, be also the safety improving electronic ticket.
Additionally, the embodiment of the present invention also provides for a kind of computer-readable recording medium, being stored with computer executable instructions, above-mentioned computer-readable recording medium is such as nonvolatile memory such as CD, hard disk or flash memory.Above-mentioned computer executable instructions is for allowing computer or similar arithmetic unit complete the various operations in above-mentioned electronic ticket Information hiding and verification method.
The above, it it is only presently preferred embodiments of the present invention, not the present invention is done any pro forma restriction, although the present invention discloses as above with preferred embodiment, but it is not limited to the present invention, any those skilled in the art, without departing within the scope of technical solution of the present invention, when the technology contents of available the disclosure above makes a little change or is modified to the Equivalent embodiments of equivalent variations, in every case it is without departing from technical solution of the present invention content, according to any simple modification that above example is made by the technical spirit of the present invention, equivalent variations and modification, all still fall within the scope of technical solution of the present invention.

Claims (32)

1. electronic ticket Information hiding and a verification method, for hiding the information in electronic ticket, described information includes the authority information of electronic ticket and the customer information of electronic ticket correspondence client, it is characterised in that said method comprising the steps of:
First electronic installation receives described customer information corresponding to described electronic ticket and described authority information;
Described first electronic installation passes through symmetric encryption method, utilizes symmetric cryptography that described authority information is encrypted, and generates Encryption permissions information;
Described first electronic installation generates client's summary info according to described customer information;
Described first electronic installation passes through asymmet-ric encryption method, utilizes private key that the symmetric key of described Encryption permissions information is encrypted, and generates encrypted symmetric key;
Described first electronic installation passes through asymmet-ric encryption method, utilizes private key that described client's summary info is encrypted, and generates customer information signature;
Described first electronic installation, by described Encryption permissions information, encrypted symmetric key and customer information signature, client's summary info, is arranged in the Quick Response Code in described electronic ticket;And
Second electronic device scans described Quick Response Code and is verified the true and false of described electronic ticket.
2. electronic ticket Information hiding as claimed in claim 1 and verification method, it is characterized in that, described first electronic installation is by described Encryption permissions information, encrypted symmetric key, and customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket and specifically include:
By described Encryption permissions information, encrypted symmetric key and customer information signature composition authority of a user bag;
Described authority of a user bag is converted into the first data stream by Quick Response Code coding rule;
Described first data stream is arranged in the hidden area of described Quick Response Code;
Described client's summary info is converted into the second data stream by Quick Response Code coding rule;And
Described second data stream is arranged in the open region of described Quick Response Code.
3. electronic ticket Information hiding as claimed in claim 2 and verification method, it is characterised in that the described second electronic device described Quick Response Code of scanning is verified the true and false of electronic ticket and specifically includes:
Scan described Quick Response Code, the information in decoding Quick Response Code;
If scanning full stop, then stop decoding, then decode described second data stream and obtain client's summary info described in the open area information of described Quick Response Code, and show described client's summary info;
Detect the data after described full stop, it may be judged whether there are data;
If there are data, then continue to decode described first data stream and obtain described Quick Response Code hidden area information user's right bag;
By information in authority of a user bag described in described asymmet-ric encryption method correspondence public key decryptions;And
Customer signature information in authority of a user bag is deciphered the client's summary obtained contrast with described open district client's summary info, if identical, then judge that described electronic ticket is true ticket.
4. electronic ticket Information hiding as claimed in claim 3 and verification method, it is characterized in that, data after step detects described full stop, also include after judging whether data, if judging to be absent from data, then judge that described electronic ticket is as false tickets, terminate decoding the data in described Quick Response Code, and show false tickets information.
5. electronic ticket Information hiding as claimed in claim 3 and verification method, it is characterized in that, customer information in the authority of a user bag that deciphering is obtained by step also includes after contrasting from described client's summary info: if different, then judge that described electronic ticket is false tickets, and show false tickets information.
6. electronic ticket Information hiding as claimed in claim 3 and verification method, it is characterized in that, if judging, described electronic ticket also includes after being true ticket, according to default rule judgment authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
7. electronic ticket Information hiding as claimed in claim 1 and verification method, it is characterized in that, described first electronic installation receives described customer information corresponding to described electronic ticket and described authority information includes, and receives described customer information corresponding to described electronic ticket that client sends and described authority information.
8. electronic ticket Information hiding as claimed in claim 1 and verification method, it is characterized in that, described first electronic installation receives described customer information corresponding to described electronic ticket and described authority information includes, and receives described customer information corresponding to the described electronic ticket of user's input and described authority information.
9. electronic ticket Information hiding and a verification method, described method is used for the first electronic installation, it is characterised in that said method comprising the steps of:
Receive customer information corresponding to electronic ticket and authority information;
By symmetric encryption method, described authority information is encrypted, generates Encryption permissions information;
Client's summary info is generated according to described customer information;
By asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, generates encrypted symmetric key;
By asymmet-ric encryption method, described client's summary info is encrypted, generates customer information signature;
By described Encryption permissions information, encrypted symmetric key, customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;And
Described Quick Response Code is provided to scan to second electronic device, it is judged that the true and false of described electronic ticket.
10. electronic ticket Information hiding as claimed in claim 9 and verification method, it is characterised in that specifically include in the described Quick Response Code being arranged in described electronic ticket that described Encryption permissions information, client's summary info, encrypted symmetric key and customer information are signed:
By described Encryption permissions information, encrypted symmetric key and customer information signature composition authority of a user bag;
Described authority of a user bag is converted into the first data stream by Quick Response Code coding rule;
Described first data stream is arranged in the hidden area of described Quick Response Code;
Described client's summary info is converted into the second data stream by Quick Response Code coding rule;And
Described second data stream is arranged in the open region of described Quick Response Code.
11. electronic ticket Information hiding as claimed in claim 9 and verification method, it is characterized in that, described customer information and described authority information that the described electronic ticket of described reception is corresponding include, and receive described customer information corresponding to described electronic ticket and described authority information that client sends.
12. electronic ticket Information hiding as claimed in claim 9 and verification method, it is characterized in that, described customer information and described authority information that the described electronic ticket of described reception is corresponding include, and receive the described customer information corresponding to described electronic ticket of user's input and described authority information.
13. electronic ticket Information hiding and a verification method, described method is used for second electronic device, it is characterised in that said method comprising the steps of:
Scanning Quick Response Code, the information in decoding Quick Response Code;
If scanning full stop, then stopping decoding, decoding obtains the open area information client's summary info of described Quick Response Code, and shows described client's summary info;
Detect the data after described full stop, it may be judged whether there are data;
If there are data, then continuing to decode described Quick Response Code hidden area information and obtain authority of a user bag, described authority of a user bag includes Encryption permissions information, encrypted symmetric key and customer information signature;
With Encryption permissions information described in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption, encrypted symmetric key and customer information signature;
The customer information obtained of the customer information of deciphering being signed contrasts with described client's summary info, if identical, then judges that described electronic ticket is true ticket.
14. electronic ticket Information hiding as claimed in claim 13 and verification method, it is characterized in that, data after step detects described full stop, also include after judging whether data, if judging to be absent from data, then judge that described electronic ticket is as false tickets, terminate decoding the data in described Quick Response Code, and show false tickets information.
15. electronic ticket Information hiding as claimed in claim 13 and verification method, it is characterized in that, customer information in the authority of a user bag that deciphering is obtained by step also includes after contrasting from described client's summary info: if different, then judge that described electronic ticket is false tickets, and show false tickets information.
16. electronic ticket Information hiding as claimed in claim 13 and verification method, it is characterized in that, if judging, described electronic ticket also includes after being true ticket, according to default rule judgment authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
17. an electronic ticket Information hiding and checking system, for hiding the information in electronic ticket, described information includes the authority information of electronic ticket and the customer information of electronic ticket correspondence client, it is characterised in that described system includes the first electronic installation and second electronic device:
Described authority information, for receiving described customer information corresponding to described electronic ticket and described authority information, is encrypted by described first electronic installation by symmetric encryption method, generates Encryption permissions information, generates client's summary info according to described customer information;
Described first electronic installation is additionally operable to by asymmet-ric encryption method, the symmetric key of described Encryption permissions information is encrypted, and generates encrypted symmetric key, by described asymmet-ric encryption method, described client's summary info is encrypted, and generates customer information signature;
Described first electronic installation is additionally operable to described Encryption permissions information, encrypted symmetric key, and customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;
Described second electronic device is verified the true and false of described electronic ticket for scanning described Quick Response Code.
18. electronic ticket Information hiding as claimed in claim 17 and checking system, it is characterized in that, described first electronic installation is for being arranged in the Quick Response Code in described electronic ticket specifically include described Encryption permissions information, client's summary info, encrypted symmetric key and customer information signature:
By described Encryption permissions information, encrypted symmetric key and customer information signature composition authority of a user bag;
Described authority of a user bag is converted into the first data stream by Quick Response Code coding rule;
Described first data stream is arranged in the hidden area of described Quick Response Code;
Described client's summary info is converted into the second data stream by Quick Response Code coding rule;And
Described second data stream is arranged in the open region of described Quick Response Code.
19. electronic ticket Information hiding as claimed in claim 18 and checking system, it is characterised in that described second electronic device is verified the true and false of electronic ticket and specifically includes for scanning described Quick Response Code:
Scan the information in described Quick Response Code decoding Quick Response Code;
If scanning full stop, then stop decoding, then decode described second data stream and obtain client's summary info described in the open area information of described Quick Response Code, and show described client's summary info;
Detect the data after described full stop, it may be judged whether there are data;
If there are data, then continue decoding the first data stream and obtain described Quick Response Code hidden area information user's right bag;
By information in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption;
Customer information in the authority of a user bag obtain deciphering contrasts with described client's summary info, if identical, then judges that described electronic ticket is true ticket.
20. electronic ticket Information hiding as claimed in claim 19 and checking system, it is characterized in that, described second electronic device is additionally operable to the data after detecting described full stop, if judging to be absent from data, then judge that described electronic ticket is as false tickets, terminate decoding the data in described Quick Response Code, and show false tickets information.
21. electronic ticket Information hiding as claimed in claim 19 and checking system, it is characterized in that, customer information in the authority of a user bag that deciphering is obtained by step also includes after contrasting from described client's summary info: if different, then judge that described electronic ticket is false tickets, and show false tickets information.
22. electronic ticket Information hiding as claimed in claim 19 and checking system, it is characterized in that, if described second electronic device is additionally operable to judge that described electronic ticket is after true ticket, according to default rule judgment authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
23. electronic ticket Information hiding as claimed in claim 17 and checking system, it is characterized in that, described first electronic installation, for receiving described customer information corresponding to described electronic ticket and described authority information includes, receives described customer information corresponding to described electronic ticket that client sends and described authority information.
24. electronic ticket Information hiding as claimed in claim 17 and checking system, it is characterized in that, described first electronic installation, for receiving described customer information corresponding to described electronic ticket and described authority information includes, receives described customer information corresponding to the described electronic ticket of user's input and described authority information.
25. an electronic ticket Information hiding and checking device, it is characterised in that described device includes with lower module:
Receiver module, for receiving customer information corresponding to electronic ticket and authority information;
First encrypting module, for described authority information being encrypted by symmetric encryption method, generates Encryption permissions information;
Second encrypting module, for generating client's summary info according to described customer information;
3rd encrypting module, for the symmetric key of described Encryption permissions information being encrypted by asymmet-ric encryption method, generates encrypted symmetric key;
4th encrypting module, for described client's summary info being encrypted by asymmet-ric encryption method, generates customer information signature;
Information arrangement module, for by described Encryption permissions information, encrypted symmetric key, customer information signature and client's summary info are arranged in the Quick Response Code in described electronic ticket;And
Quick Response Code module is provided, is used for providing described Quick Response Code to scan to second electronic device, it is judged that the true and false of described electronic ticket.
26. electronic ticket Information hiding as claimed in claim 25 and checking device, it is characterised in that described information arrangement module specifically includes:
Group right bag unit, for by described Encryption permissions information, encrypted symmetric key and customer information signature composition authority of a user bag;
First coding unit, for being converted into the first data stream by described authority of a user bag by Quick Response Code coding rule;
First arrangement unit, for being arranged in the hidden area of described Quick Response Code by described first data stream;
Second coding unit, for being converted into the second data stream by described client's summary info by Quick Response Code coding rule;And
Second arrangement unit, for being arranged in the open region of described Quick Response Code by described second data stream.
27. electronic ticket Information hiding as claimed in claim 25 and checking device, it is characterised in that described receiver module includes, and receives and sends information unit, for receiving described customer information corresponding to described electronic ticket that client sends and described authority information.
28. electronic ticket Information hiding as claimed in claim 25 and checking device, it is characterised in that described receiver module also includes, and receives input unit of information, described customer information that described electronic ticket for receiving user's input is corresponding and described authority information.
29. an electronic ticket Information hiding and checking device, it is characterised in that described device includes with lower module:
Scan module, for scanning the information in Quick Response Code decoding Quick Response Code;
Summary decoder module, if for scanning full stop, then stops decoding, and decoding obtains the open area information client's summary info of described Quick Response Code, and shows described client's summary info;
Judge module, is used for the data after detecting described full stop, it may be judged whether there are data;
Decoding right bag module, if for there are data, then continues to decode described Quick Response Code hidden area information and obtains authority of a user bag, and described authority of a user bag includes Encryption permissions information, encrypted symmetric key and customer information signature;
Right bag deciphering module, for signing by Encryption permissions information described in authority of a user bag described in described asymmet-ric encryption method homographic solution secret key decryption, encrypted symmetric key and customer information;
Contrast module, contrasts with described client's summary info for the customer information obtained of the customer information of deciphering being signed, if identical, then judges that described electronic ticket is true ticket.
30. electronic ticket Information hiding as claimed in claim 29 and checking device, it is characterised in that reminding module, if for judging to be absent from data, then judging that described electronic ticket is as false tickets, terminating decoding the data in described Quick Response Code, and showing false tickets information.
31. electronic ticket Information hiding as claimed in claim 29 and checking device, it is characterized in that, if the customer information that described contrast module obtains deciphering in the authority of a user bag obtained is different from described client's summary info, then judges that described electronic ticket is false tickets, and perform reminding module.
32. electronic ticket Information hiding as claimed in claim 29 and checking device, it is characterized in that, if also including matching module for judging that described electronic ticket is after true ticket, according to default rule judgment authority of a user bag decryption information whether with the permission match of current ticket checking end, if coupling, then this electronic ticket has the authority that current ticket checking end represents, and display ticket checking is passed through.
CN201410844178.4A 2014-12-30 2014-12-30 Electronic ticket information hiding and verifying method, device and system Pending CN105809015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410844178.4A CN105809015A (en) 2014-12-30 2014-12-30 Electronic ticket information hiding and verifying method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410844178.4A CN105809015A (en) 2014-12-30 2014-12-30 Electronic ticket information hiding and verifying method, device and system

Publications (1)

Publication Number Publication Date
CN105809015A true CN105809015A (en) 2016-07-27

Family

ID=56419948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410844178.4A Pending CN105809015A (en) 2014-12-30 2014-12-30 Electronic ticket information hiding and verifying method, device and system

Country Status (1)

Country Link
CN (1) CN105809015A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447003A (en) * 2016-11-01 2017-02-22 安徽拾穗谷生态科技有限公司 Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product
CN106780775A (en) * 2016-11-22 2017-05-31 中南大学 two-dimensional code electronic ticket management method and system
CN107393088A (en) * 2017-07-28 2017-11-24 北京中航安通科技有限公司 A kind of electronic entrance ticket veritification, generation method and its device
CN108256863A (en) * 2018-01-26 2018-07-06 鼎讯网络安全技术有限公司 The method of Quick Response Code generation, storage, identification and related encryption and decryption based on SE
CN108921261A (en) * 2018-04-17 2018-11-30 新大陆(福建)公共服务有限公司 A kind of safe two-dimensional code generation method and analytic method
CN109145635A (en) * 2018-07-17 2019-01-04 广州师盛展览有限公司 The method and device that two dimensional code chest card is encapsulated with rights encryption

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001148037A (en) * 1999-11-19 2001-05-29 Open Loop:Kk Utilization system, issuing device, storage device, checking device and utilizing method for electronic ticket, and recording medium
CN101609566A (en) * 2008-06-18 2009-12-23 丰达软件(苏州)有限公司 A kind of method that realizes electronic bill based on mobile phone
CN102194256A (en) * 2011-02-23 2011-09-21 上海博路信息技术有限公司 Ticketing system based on bar code and identity card detection
CN103198344A (en) * 2013-03-01 2013-07-10 重庆市远大印务有限公司 Tax-control safety two-dimensional code encoding and decoding processing method
CN103605950A (en) * 2013-11-25 2014-02-26 广西大学 Method and system for hiding signature in credible two-dimensional code
CN103793990A (en) * 2012-11-02 2014-05-14 航天信息股份有限公司 Invoice verification method and system
CN103870988A (en) * 2014-03-26 2014-06-18 青岛蓝色多维网络科技有限公司 Two-dimension code electronic ticketing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001148037A (en) * 1999-11-19 2001-05-29 Open Loop:Kk Utilization system, issuing device, storage device, checking device and utilizing method for electronic ticket, and recording medium
CN101609566A (en) * 2008-06-18 2009-12-23 丰达软件(苏州)有限公司 A kind of method that realizes electronic bill based on mobile phone
CN102194256A (en) * 2011-02-23 2011-09-21 上海博路信息技术有限公司 Ticketing system based on bar code and identity card detection
CN103793990A (en) * 2012-11-02 2014-05-14 航天信息股份有限公司 Invoice verification method and system
CN103198344A (en) * 2013-03-01 2013-07-10 重庆市远大印务有限公司 Tax-control safety two-dimensional code encoding and decoding processing method
CN103605950A (en) * 2013-11-25 2014-02-26 广西大学 Method and system for hiding signature in credible two-dimensional code
CN103870988A (en) * 2014-03-26 2014-06-18 青岛蓝色多维网络科技有限公司 Two-dimension code electronic ticketing system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张函清: ""铁路电话订票电子客票的可认证性"", 《中国优秀硕士学位论文全文数据库•信息科技辑》 *
王亚平 主编: "《计算机应用基础教程》", 31 August 2009, 西安电子科技大学出版社 *
王协瑞 主编: "《电子信息技术》", 31 October 2013, 山东科学技术出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447003A (en) * 2016-11-01 2017-02-22 安徽拾穗谷生态科技有限公司 Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product
CN106780775A (en) * 2016-11-22 2017-05-31 中南大学 two-dimensional code electronic ticket management method and system
CN107393088A (en) * 2017-07-28 2017-11-24 北京中航安通科技有限公司 A kind of electronic entrance ticket veritification, generation method and its device
CN108256863A (en) * 2018-01-26 2018-07-06 鼎讯网络安全技术有限公司 The method of Quick Response Code generation, storage, identification and related encryption and decryption based on SE
CN108921261A (en) * 2018-04-17 2018-11-30 新大陆(福建)公共服务有限公司 A kind of safe two-dimensional code generation method and analytic method
CN109145635A (en) * 2018-07-17 2019-01-04 广州师盛展览有限公司 The method and device that two dimensional code chest card is encapsulated with rights encryption

Similar Documents

Publication Publication Date Title
US20200051144A1 (en) Encrypted payment image
CN105809015A (en) Electronic ticket information hiding and verifying method, device and system
US20120308003A1 (en) Authentic barcodes using digital signatures
CN104008351B (en) Window application completeness check system, method and device
KR100991855B1 (en) System for Issuing and Verifying Electronic Document, Method for Issuing Electronic Document and Method for Verifying Electronic Document
TWI529641B (en) System for verifying data displayed dynamically by mobile and method thereof
CN104134142A (en) Metro ticket buying and checking method based on two-dimension code recognition
US20070162766A1 (en) Data management system, data management method and storage medium storing program for data management
CN104126292A (en) Strong authentication token with visual output of pki signatures
JP2002543668A (en) Highly Secure Biometric Authentication Using Public / Private Key Encryption Pairs
CN104809490A (en) Card anti-counterfeiting system based on multidimensional code and authentication method based on card anti-counterfeiting system
US20160132871A1 (en) Secure redemption code generation for gift cards and promotions
JP2007122143A (en) Electronic ticket distribution method, mobile terminal, server, system and program
CN102930634A (en) Invoice true check system based on cloud computing and encrypted two-dimensional codes
CN103345703A (en) Banking transaction authentication method and system based on image authentication
CN105917612A (en) Cryptographic watermarking of content in fuel dispensing environments
EP2987124B1 (en) Method and system for improving the security of electronic transactions
CN105139205A (en) Payment verification method, terminal and server
CN110942301B (en) Data processing method and device based on block chain, computer and storage medium
KR101638787B1 (en) Mobile ticket security system and method of based location information and terminal unique number
CN102222195B (en) E-book reading method and system
EP2697785A1 (en) Authentic barcodes using digital signatures
CN105809494A (en) method and system for invoice generation and invoice verification
KR101242684B1 (en) User certification system and method for 2 dimensional barcode
US20030051141A1 (en) Method and a system for generating and handling documents

Legal Events

Date Code Title Description
C06 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727