CN104636778A - Method for generating anti-counterfeiting codes of reversible movie tickets - Google Patents
Method for generating anti-counterfeiting codes of reversible movie tickets Download PDFInfo
- Publication number
- CN104636778A CN104636778A CN201310555713.XA CN201310555713A CN104636778A CN 104636778 A CN104636778 A CN 104636778A CN 201310555713 A CN201310555713 A CN 201310555713A CN 104636778 A CN104636778 A CN 104636778A
- Authority
- CN
- China
- Prior art keywords
- movie
- movie ticket
- ticket
- security code
- 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
Links
Landscapes
- Credit Cards Or The Like (AREA)
Abstract
The invention discloses a method for generating anti-counterfeiting codes of reversible movie tickets. Movie ticket codes generated by the method comprise original movie ticket information and movie ticket fingerprint code information in a coding manner; the original movie ticket information comprises a cinema name, a movie hall, a movie name, showing number, showing date, showing time, ticket price and seat number; and the movie ticket fingerprint code information is used for verifying integrity and authenticity of the movie ticket codes so as to prevent the original movie ticket information from being tampered. By the coding mode of the anti-counterfeiting codes, movie thicket information is reversible, and the original movie ticket information can be acquired through the anti-counterfeiting codes.
Description
Technical field
The present invention relates to a kind of movie theatre ticketing service, particularly relate to a kind of generation method of reversible movie ticket security code.
Background technology
At present, the normally used computing machine ticketing system of movie theatre carries out sale and the ticket checking of entity movie ticket.In movie ticket sales section and movie ticket ticket checking link, because movie ticket itself lacks certain false proof and checking means, so have the existence of forging ticket, therefore can affect the accuracy of ticketing system data, the appearance of the problems such as false box office can be caused thus.
Summary of the invention
The invention provides a kind of generation method of reversible movie ticket security code, by the method when computing machine ticketing system carries out the sale of movie ticket, can with movie ticket security code on the movie ticket generated.Movie ticket security code carries out reversible encoding generation according to the ticket information of movie ticket, has uniqueness and unforgeable.The authenticity of movie ticket security code itself can be verified according to movie ticket security code, and original movie ticket information can be restored.
A generation method for reversible movie ticket security code, comprising: obtain ticket information, described ticket information comprises movie theatre, movie theater, film, projection date, projection time, admission fee and seat number in this movie ticket security code; Described ticket information carried out encoding to generate movie ticket security code, described movie ticket security code is the character string be made up of letter, numeral and other character visible.
Wherein, described movie ticket security code comprises fingerprint code, and fingerprint code is used for the integrality of movie ticket security code and authenticity verification, and fingerprint code is irreversible.
Further, need to provide key in the security code computation process of movie ticket.
Further, have employed eap-message digest method in the security code computation process of movie ticket.
Embodiments provide a kind of generation method of inverse movie ticket security code, by the method when computing machine ticketing system carries out the sale of movie ticket, can with movie ticket security code on the movie ticket generated.Movie ticket security code carries out reversible encoding generation according to the ticket information of movie ticket, has uniqueness and unforgeable.The authenticity of movie ticket security code itself can be verified according to movie ticket security code, and original movie ticket information can be restored.
Accompanying drawing explanation
The process flow diagram of the generation method of the inverse movie ticket security code that Fig. 1 provides for the embodiment of the present invention.
Embodiment
As shown in Figure 1, embodiments provide a kind of generation method of reversible movie ticket security code, comprising:
101, obtain ticket information, described ticket information comprises movie theatre, movie theater, film, projection date, projection time, admission fee and seat number in this movie ticket security code;
102, described ticket information carried out encoding to generate movie ticket security code, described movie ticket security code is the character string be made up of letter, numeral and other character visible.
Wherein, described movie ticket security code comprises fingerprint code, and fingerprint code is used for the integrality of movie ticket security code and authenticity verification, and fingerprint code is irreversible.
Further, need to provide key in the security code computation process of movie ticket.
Further, have employed eap-message digest method in the security code computation process of movie ticket.
Embodiments provide a kind of generation method of inverse movie ticket security code, by the method when computing machine ticketing system carries out the sale of movie ticket, can with movie ticket security code on the movie ticket generated.Movie ticket security code carries out reversible encoding generation according to the ticket information of movie ticket, has uniqueness and unforgeable.The authenticity of movie ticket security code itself can be verified according to movie ticket security code, and original movie ticket information can be restored.
In order to the generation method making those skilled in the art better understand the inverse movie ticket security code that the embodiment of the present invention provides, now it is described in detail.
the generation method of movie ticket security code
The security code of movie ticket is made up of numeral, letter and other character visible, and movie ticket security code is divided into two parts, is referred to as movie ticket identification code and movie ticket fingerprint code here.
Movie ticket identification code is generated by reversible encoding by movie theatre coding, movie theater coding, film coding, projection time, projection play, admission fee and seat number information, movie ticket identification code is unique and can carries out backstepping according to coded system, thus can restore original movie ticket information.
Movie ticket fingerprint code uses the summary cryptographic algorithm (i.e. hmac algorithm) of band key to calculate to movie ticket identification code, Extraction parts information structure from result of calculation, the key adopted during computing holds in close confidence, calculating movie ticket fingerprint code when unknown key is impossible, and therefore movie ticket fingerprint code can not be forged.
After movie ticket fingerprint code calculates, for the information of movie ticket fingerprint code, calculate according to specific algorithm, certain rule is obtained according to the result calculated, this rule is used to be shifted to original movie ticket identification code before and to replace, form new movie ticket identification code, the order of original movie ticket identification code is upset thus makes it irregularly follow.
the checking of movie ticket security code and movie ticket information reverting method
In ticket checking link or when carrying out anti-dummy check to movie ticket, order below can be used to verify movie ticket security code and the reduction of original movie ticket information.
First, movie ticket fingerprint code is extracted from movie ticket security code, according to the information of movie ticket fingerprint code, calculate according to specific algorithm, specific rule is obtained according to the result calculated, carry out the reduction of character string order according to the movie ticket identification code of this rule to scramble, obtain original movie ticket identification code.
Secondly, the summary cryptographic algorithm (hmac algorithm) of band key is used to calculate to original movie ticket identification code, the movie ticket fingerprint code that Extraction parts information structure is new from result of calculation, the key agreement that the key adopted during computing and movie ticket security code adopt when generating, this key holds in close confidence.The new movie ticket fingerprint code calculated and former movie ticket fingerprint code are compared, if both are consistent, then shows that this movie ticket security code is correct, otherwise illustrate that this movie ticket security code is false or movie ticket security code was tampered.
Finally, confirmation movie ticket security code be accurate after, original movie ticket identification code is carried out movie ticket information reverting according to reversible encoding rule, the raw information of movie ticket will be obtained, comprise: movie theatre coding, movie theater coding, film coding, projection time, projection play, admission fee and seat number information, thus know the concrete movie ticket information corresponding to this movie ticket.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (4)
1. a generation method for reversible movie ticket security code, is characterized in that, comprising:
Obtain ticket information, described ticket information comprises movie theatre, movie theater, film, projection date, projection time, admission fee and seat number in this movie ticket security code;
Described ticket information carried out encoding to generate movie ticket security code, described movie ticket security code is the character string be made up of letter, numeral and other character visible.
2. method according to claim 1, is characterized in that, described movie ticket security code comprises fingerprint code, and fingerprint code is used for the integrality of movie ticket security code and authenticity verification, and fingerprint code is irreversible.
3. method according to claim 1, is characterized in that, needs to provide key in the security code computation process of movie ticket.
4. method according to claim 1, is characterized in that, have employed eap-message digest method in the security code computation process of movie ticket.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310555713.XA CN104636778A (en) | 2013-11-11 | 2013-11-11 | Method for generating anti-counterfeiting codes of reversible movie tickets |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310555713.XA CN104636778A (en) | 2013-11-11 | 2013-11-11 | Method for generating anti-counterfeiting codes of reversible movie tickets |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104636778A true CN104636778A (en) | 2015-05-20 |
Family
ID=53215506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310555713.XA Pending CN104636778A (en) | 2013-11-11 | 2013-11-11 | Method for generating anti-counterfeiting codes of reversible movie tickets |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104636778A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798542A (en) * | 2016-08-30 | 2018-03-13 | 息科安宝 | Certified products authentication label, certified products certification system and perform its computing device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588843A (en) * | 2004-09-15 | 2005-03-02 | 华南理工大学 | Forming and verifying system and method for bill anti-fake code |
CN1608855A (en) * | 2004-10-17 | 2005-04-27 | 陈正贤 | Anti-fake bill printing technology |
CN1878057A (en) * | 2005-06-07 | 2006-12-13 | 王向东 | Composition of encrypted two dimensional bar codes and application method therefor |
CN102034127A (en) * | 2009-09-28 | 2011-04-27 | 上海易悠通信息科技有限公司 | Novel high-capacity two-dimensional barcode and system, encoding and decoding methods and applications thereof |
-
2013
- 2013-11-11 CN CN201310555713.XA patent/CN104636778A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588843A (en) * | 2004-09-15 | 2005-03-02 | 华南理工大学 | Forming and verifying system and method for bill anti-fake code |
CN1608855A (en) * | 2004-10-17 | 2005-04-27 | 陈正贤 | Anti-fake bill printing technology |
CN1878057A (en) * | 2005-06-07 | 2006-12-13 | 王向东 | Composition of encrypted two dimensional bar codes and application method therefor |
CN102034127A (en) * | 2009-09-28 | 2011-04-27 | 上海易悠通信息科技有限公司 | Novel high-capacity two-dimensional barcode and system, encoding and decoding methods and applications thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798542A (en) * | 2016-08-30 | 2018-03-13 | 息科安宝 | Certified products authentication label, certified products certification system and perform its computing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109741056B (en) | Method and device for uploading electronic certificate | |
US10461936B2 (en) | Data verification | |
CN103905207B (en) | Method and system for unifying APK signature | |
US20140095398A1 (en) | Double ID Anti-Counterfeit Method and System | |
US20150371228A1 (en) | Method of generating and validating a voucher that is used to enable an end-user to obtain goods or services | |
CN104008322B (en) | Quick Response Code publisher's identity identifying method based on reliable digit signature | |
CN104156638A (en) | Implementation method of extended signature for Android system software | |
CN102117476B (en) | Signature watermark system used for CAD (Computer-Aided Design) documents | |
CN112700246B (en) | Block chain-based data processing method, device, equipment and readable storage medium | |
CN104063731A (en) | Two-dimension code anti-counterfeiting printing and verification method adopting digital watermark technology | |
CN101388767A (en) | Certificate false proof method based on light weight digital signature scheme | |
CN103150679A (en) | Ticket information safety protection method | |
CN106067121A (en) | A kind of product off-line false distinguishing method based on NFC technique | |
CN108090364B (en) | Method and system for positioning data leakage source | |
CN102332979A (en) | RID (Reseller Identity) code and verification method thereof | |
CN104636778A (en) | Method for generating anti-counterfeiting codes of reversible movie tickets | |
CN103546284A (en) | Hufu token authentication system | |
Melgar et al. | An alternative proposal of tracking products using digital signatures and QR codes | |
CN102999771B (en) | Commodity anti-counterfeiting code construction and verification method | |
CN110837659B (en) | Renewable digital signature method for private key with label and application of renewable digital signature method in PoS block chain protocol | |
CN114239058A (en) | Electronic bill management method and system based on state cryptographic algorithm fine-grained privacy protection | |
CN102521557A (en) | Tamper detection method of RFID (Radio Frequency Identification Device) electronic label data | |
CN112348534A (en) | Anti-counterfeiting source tracing code method based on block chain technology | |
CN107292172B (en) | Method for automatically verifying a target computer file with respect to a reference computer file | |
US20200286072A1 (en) | Information processing apparatus, information processing system, and information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150520 |
|
RJ01 | Rejection of invention patent application after publication |