CN104616042A - Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code - Google Patents

Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code Download PDF

Info

Publication number
CN104616042A
CN104616042A CN201510078776.XA CN201510078776A CN104616042A CN 104616042 A CN104616042 A CN 104616042A CN 201510078776 A CN201510078776 A CN 201510078776A CN 104616042 A CN104616042 A CN 104616042A
Authority
CN
China
Prior art keywords
gift
sequence number
cipher mode
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
CN201510078776.XA
Other languages
Chinese (zh)
Inventor
姚为
万宏宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Leader Tech Digtal Technology Co Ltd
Original Assignee
Beijing Leader Tech Digtal Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Leader Tech Digtal Technology Co Ltd filed Critical Beijing Leader Tech Digtal Technology Co Ltd
Priority to CN201510078776.XA priority Critical patent/CN104616042A/en
Publication of CN104616042A publication Critical patent/CN104616042A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a special two-dimensional code corresponding to a gift detail. In the generation process, the two-dimensional code includes information which can be checked by a gift receiver and is encrypted. A method for generating the special two-dimensional code includes the following steps of inputting information which is expected to be checked by a letter receiver in an information input interface in a two-dimensional code generation interface, converting the input information to obtain a first sequence number corresponding to the information, calling an algorithm to conduct at least one time of encryption operation on the sequence number according to the current display time of an operating system where the two-dimensional code generation interface is implanted so as to generate a second sequence number, arraying the first sequence number and the second sequence number to form a sequence number set, and inputting the sequence number set into the two-dimensional code generation interface so as to generate the two-dimensional code corresponding to the sequence number set. The encryption method corresponding to the current system time is called through the current system time, and therefore the gift detail input into a gift box in the two-dimensional generation interface is encrypted.

Description

The special Quick Response Code detailed corresponding with gift and generation method thereof
Technical field
The present invention relates to Quick Response Code field, especially a kind of special Quick Response Code detailed corresponding with gift and generation method thereof.
Background technology
At present, existing Quick Response Code generating mode is all to generate corresponding Quick Response Code according to the information inputted in Quick Response Code generation interface.Owing to not possessing encryption function in generative process, therefore, the Quick Response Code generated can read by a lot of people, identify.
But, because the information comprised in Quick Response Code is with certain crypticity, if be not encrypted, secret information can be learnt by other people, be not suitable for being used to use in the enterprising enforcement of gift contact.
Based on the problems referred to above, be badly in need of a special Quick Response Code detailed corresponding with gift that be that can be encrypted inputted mail information and generation method.
Summary of the invention
For the weak point existed in the problems referred to above, the invention provides one by present system time to call its corresponding cipher mode, thus to the detailed special Quick Response Code detailed corresponding with gift that be that be encrypted of gift and generation method thereof in the gift box inputted in Quick Response Code generation interface.
For achieving the above object, the invention provides a kind of special Quick Response Code detailed corresponding with gift, this Quick Response Code is printed on the gift package outer side surface for filling gift, this Quick Response Code include in generative process can by gift collect people check and through encryption information.
The above-mentioned special Quick Response Code detailed corresponding with gift, wherein, gift collects that enciphered message that people checks comprises the detail of gift in gift package, gift is sent people and write and collect the temporal information that the content information of people and this Quick Response Code generate to gift.
The present invention also provides a kind of method generating the special Quick Response Code detailed corresponding with gift, comprises the following steps:
S1, to generate in interface information input interface at Quick Response Code in input wish the information that mail recipient checks, and inputted information to be changed, to obtain the first sequence number corresponding thereto;
S2, according to implanting the current display time of operating system having Quick Response Code to generate interface, to call a kind of algorithm, cryptographic operation is at least one times carried out to sequence number, to generate the second sequence number;
S3, the first sequence number and the second sequence number to be arranged, to form sequence number group;
S4, sequence number group input Quick Response Code to be generated in interface, to generate the Quick Response Code corresponding with sequence number group.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, wherein in step sl, gift collects that enciphered message that people checks comprises the detail of gift in gift package, gift sends people and write and collect the temporal information that the content information of people and this Quick Response Code generate to gift.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, wherein, in step s 2, comprises the following steps:
S21, Quick Response Code is had to generate the current display time of operating system at interface to determine time interval section sequence number according to implanting;
S22, with selected cipher mode corresponding thereto, first time cryptographic operation is carried out to the first sequence number obtained in step S1 according to time interval section sequence number.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, wherein, after step S22 implements, also comprises S23:
A kind of cipher mode is called, to carry out second time cryptographic operation, to form the second sequence number to the first sequence number completing first time cryptographic operation by encryption order pointer.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, wherein, in step S23, encryption order pointer is at random call and after choosing second time cipher mode, judges whether second time cipher mode is identical cipher mode with cipher mode for the first time;
If judge, second time cipher mode and for the first time cipher mode are as identical cipher mode, then abandon this random call and selection operation, by encryption order pointed first time cipher mode, and with this as the starting point, a mobile pointer position forward or backward, and using the cipher mode of the cipher mode corresponding with current pointer location as second time cryptographic operation.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, wherein, cipher mode comprises des encryption mode, 3DES cipher mode, TEA cipher mode, XTEA cipher mode, RC4 cipher mode, PANAMA cipher mode, Twofish cipher mode, CAST-128 cipher mode, CAST-256 cipher mode, md5 encryption mode and enigma and encrypts.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, wherein, also needs to proceed as follows step before step S2 implements:
00 ~ 59 second is divided into 11 time interval sections, and each time interval section is bound mutually with a kind of cipher mode respectively, once encrypt segment to form 11.
The method of the special Quick Response Code that above-mentioned generation is detailed corresponding with gift, is characterized in that, in step s3, the first sequence number and the second sequence number are arranged according to front or rear order, to form sequence number group.
Compared with prior art, the present invention has the following advantages:
The present invention, thus to be encrypted generating in interface at Quick Response Code the mail internal information inputted to call its corresponding cipher mode by present system time;
Gift is collected people and is scanned the Quick Response Code in the present invention by special two dimension code reading APP, can learn that gift packaging in the gift box that people sends sent by gift detailed;
In addition, can also generate at Quick Response Code the cryptographic operation that the information inputted in interface carries out twice different cipher mode as required, the cipher round results of generated Quick Response Code can be improved;
In addition, before carrying out second time cryptographic operation, owing to also possessing cipher mode comparison operation, therefore, can avoid because twice cryptographic operation is all the shortcomings adopting identical cipher mode and make cipher round results reduce.
Embodiment
The invention provides a kind of special Quick Response Code detailed corresponding with gift, this Quick Response Code is printed on the gift package outer side surface for filling gift, this Quick Response Code include in generative process can by gift collect people check and through encryption information.
Wherein, gift collects that enciphered message that people checks comprises the detail of gift in gift package, gift sends people and write and collect the temporal information that the content information of people and this Quick Response Code generate to gift.
The present invention also provides a kind of method generating the special Quick Response Code detailed corresponding with gift, comprises the following steps:
S1, to generate in interface information input interface at Quick Response Code in input information, and inputted information to be changed, to obtain the first sequence number corresponding thereto.
Wherein, in step sl, gift collects that enciphered message that people checks comprises the detail of gift in gift package, gift sends people and write and collect the temporal information that the content information of people and this Quick Response Code generate to gift.
S2, according to implanting the current display time of operating system having Quick Response Code to generate interface, to call a kind of algorithm, cryptographic operation is at least one times carried out to sequence number, to generate the second sequence number.
Wherein, in step s 2, comprise the following steps:
S21, Quick Response Code is had to generate the current display time of operating system at interface to determine time interval section sequence number according to implanting;
S22, with selected cipher mode corresponding thereto, first time cryptographic operation is carried out to the first sequence number obtained in step S1 according to time interval section sequence number.
In addition, if also need the first sequence number to completing first time cryptographic operation to carry out second time cryptographic operation, then, after step S22 implements, also S23 is comprised:
A kind of cipher mode is called, to carry out second time cryptographic operation, to form the second sequence number to the first sequence number completing first time cryptographic operation by encryption order pointer.
Wherein, in step S23, encryption order pointer is at random call and after choosing second time cipher mode, judges whether second time cipher mode is identical cipher mode with cipher mode for the first time;
If judge, second time cipher mode and for the first time cipher mode are as identical cipher mode, then abandon this random call and selection operation, by encryption order pointed first time cipher mode, and with this as the starting point, a mobile pointer position forward or backward, and using the cipher mode of the cipher mode corresponding with current pointer location as second time cryptographic operation.
In step S22 and S23, cipher mode comprises des encryption mode, 3DES cipher mode, TEA cipher mode, XTEA cipher mode, RC4 cipher mode, PANAMA cipher mode, Twofish cipher mode, CAST-128 cipher mode, CAST-256 cipher mode, md5 encryption mode and enigma cipher mode.
In addition, also need to proceed as follows step before step S2 implements:
00 ~ 59 second is divided into 11 time interval sections, and each time interval section is bound mutually with a kind of cipher mode respectively, once encrypt segment to form 11.
Such as: the 1st encryption segment is bound mutually with des encryption mode, 2nd encryption segment is bound mutually with 3DES cipher mode, 3rd encryption segment is bound mutually with TEA cipher mode, 4th encryption segment is bound mutually with XTEA cipher mode, 5th encryption segment is bound mutually with RC4 cipher mode, 6th encryption segment is bound mutually with PANAMA cipher mode, 7th encryption segment is bound mutually with Twofish cipher mode, 8th encryption segment is bound mutually with CAST-128 cipher mode, 9th encryption segment is bound mutually with CAST-256 cipher mode, 10th encryption segment is bound mutually with md5 encryption mode, 11st encryption segment is bound mutually with enigma cipher mode.
S3, the first sequence number and the second sequence number to be arranged, to form sequence number group.
In step s3, the first sequence number and the second sequence number are arranged according to front or rear order, to form sequence number group.
S4, sequence number group input Quick Response Code to be generated in interface, to generate the Quick Response Code corresponding with sequence number group.
Wherein, Quick Response Code generates the generating mode that the mode that inputted sequence number group generates the Quick Response Code corresponding with sequence number group can adopt existing Quick Response Code final by interface.
Only as described above, be only preferred embodiment of the present invention, such as professional who are familiar with this art.After understanding technological means of the present invention, natural energy, according to actual needs, is changed under the teachings of the present invention.Therefore all equal changes of doing according to the present patent application the scope of the claims and modification, once should still remain within the scope of the patent.

Claims (10)

1. a corresponding special Quick Response Code detailed with gift, it is characterized in that, this Quick Response Code is printed on the gift package outer side surface for filling gift, this Quick Response Code include in generative process can by gift collect people check and through encryption information.
2. the special Quick Response Code detailed corresponding with gift according to claim 1, it is characterized in that, gift collects that enciphered message that people checks comprises the detail of gift in gift package, gift sends people and write and collect the temporal information that the content information of people and this Quick Response Code generate to gift.
3. generate a method for the special Quick Response Code detailed corresponding with gift, comprise the following steps:
S1, to generate in interface information input interface at Quick Response Code in input wish the information that mail recipient checks, and inputted information to be changed, to obtain the first sequence number corresponding thereto;
S2, according to implanting the current display time of operating system having Quick Response Code to generate interface, to call a kind of algorithm, cryptographic operation is at least one times carried out to sequence number, to generate the second sequence number;
S3, the first sequence number and the second sequence number to be arranged, to form sequence number group;
S4, sequence number group input Quick Response Code to be generated in interface, to generate the Quick Response Code corresponding with sequence number group.
4. the method for the special Quick Response Code that generation according to claim 3 is detailed corresponding with gift, it is characterized in that, in step sl, gift collects that enciphered message that people checks comprises the detail of gift in gift package, gift sends people and write and collect the temporal information that the content information of people and this Quick Response Code generate to gift.
5. the method for the special Quick Response Code that generation according to claim 3 is detailed corresponding with gift, is characterized in that, in step s 2, comprise the following steps:
S21, Quick Response Code is had to generate the current display time of operating system at interface to determine time interval section sequence number according to implanting;
S22, with selected cipher mode corresponding thereto, first time cryptographic operation is carried out to the first sequence number obtained in step S1 according to time interval section sequence number.
6. the method for the special Quick Response Code that generation according to claim 5 is detailed corresponding with gift, is characterized in that, after step S22 implements, also comprises S23:
A kind of cipher mode is called, to carry out second time cryptographic operation, to form the second sequence number to the first sequence number completing first time cryptographic operation by encryption order pointer.
7. the method for the special Quick Response Code that generation according to claim 5 is detailed corresponding with gift, it is characterized in that, in step S23, encryption order pointer is at random call and after choosing second time cipher mode, judges whether second time cipher mode is identical cipher mode with cipher mode for the first time;
If judge, second time cipher mode and for the first time cipher mode are as identical cipher mode, then abandon this random call and selection operation, by encryption order pointed first time cipher mode, and with this as the starting point, a mobile pointer position forward or backward, and using the cipher mode of the cipher mode corresponding with current pointer location as second time cryptographic operation.
8. according to the method for described generation arbitrary in claim 5 to the 7 special Quick Response Code corresponding with gift detail, it is characterized in that, cipher mode comprises des encryption mode, 3DES cipher mode, TEA cipher mode, XTEA cipher mode, RC4 cipher mode, PANAMA cipher mode, Twofish cipher mode, CAST-128 cipher mode, CAST-256 cipher mode, md5 encryption mode and enigma and encrypts.
9. the method for the special Quick Response Code that generation according to claim 8 is detailed corresponding with gift, is characterized in that, also needs to proceed as follows step before step S2 implements:
00 ~ 59 second is divided into 11 time interval sections, and each time interval section is bound mutually with a kind of cipher mode respectively, once encrypt segment to form 11.
10. the method for the special Quick Response Code that generation according to claim 3 is detailed corresponding with gift, is characterized in that, in step s3, the first sequence number and the second sequence number are arranged according to front or rear order, to form sequence number group.
CN201510078776.XA 2015-02-13 2015-02-13 Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code Pending CN104616042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510078776.XA CN104616042A (en) 2015-02-13 2015-02-13 Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510078776.XA CN104616042A (en) 2015-02-13 2015-02-13 Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code

Publications (1)

Publication Number Publication Date
CN104616042A true CN104616042A (en) 2015-05-13

Family

ID=53150478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510078776.XA Pending CN104616042A (en) 2015-02-13 2015-02-13 Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code

Country Status (1)

Country Link
CN (1) CN104616042A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156683A (en) * 2016-07-01 2016-11-23 立德高科(昆山)数码科技有限责任公司 First-aid kit information based on Quick Response Code examination update method
CN106494735A (en) * 2016-11-04 2017-03-15 佛山善熙包装制品有限公司 Gift wrap image generating method
CN107622341A (en) * 2017-08-22 2018-01-23 蜂巢云联(北京)科技有限公司 A kind of gift platform based on Cloud Server and client
CN108701240A (en) * 2015-08-18 2018-10-23 科韵动力品牌管理有限公司 Improved message system and method
CN108762637A (en) * 2018-05-25 2018-11-06 宁波极呈光电有限公司 Control method, apparatus and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404056A (en) * 2008-10-29 2009-04-08 金蝶软件(中国)有限公司 Software protection method, apparatus and equipment
CN102609851A (en) * 2012-02-10 2012-07-25 广州市中崎商业机器有限公司 Method and system for carrying out anti-counterfeit authentication on commodity by two-dimensional bar code
CN102855510A (en) * 2011-07-01 2013-01-02 中国人民银行印制科学技术研究所 Anti-fake product and identification method thereof
CN103198344A (en) * 2013-03-01 2013-07-10 重庆市远大印务有限公司 Tax-control safety two-dimensional code encoding and decoding processing method
CN103325043A (en) * 2013-06-20 2013-09-25 上海天臣控股有限公司 System and method for tracking and verifying commodity purchased on internet
CN104299140A (en) * 2014-09-12 2015-01-21 广州市坚真信息科技有限公司 Two-dimensional code anti-counterfeiting traceability system and method based on e-commerce

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404056A (en) * 2008-10-29 2009-04-08 金蝶软件(中国)有限公司 Software protection method, apparatus and equipment
CN102855510A (en) * 2011-07-01 2013-01-02 中国人民银行印制科学技术研究所 Anti-fake product and identification method thereof
CN102609851A (en) * 2012-02-10 2012-07-25 广州市中崎商业机器有限公司 Method and system for carrying out anti-counterfeit authentication on commodity by two-dimensional bar code
CN103198344A (en) * 2013-03-01 2013-07-10 重庆市远大印务有限公司 Tax-control safety two-dimensional code encoding and decoding processing method
CN103325043A (en) * 2013-06-20 2013-09-25 上海天臣控股有限公司 System and method for tracking and verifying commodity purchased on internet
CN104299140A (en) * 2014-09-12 2015-01-21 广州市坚真信息科技有限公司 Two-dimensional code anti-counterfeiting traceability system and method based on e-commerce

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108701240A (en) * 2015-08-18 2018-10-23 科韵动力品牌管理有限公司 Improved message system and method
CN106156683A (en) * 2016-07-01 2016-11-23 立德高科(昆山)数码科技有限责任公司 First-aid kit information based on Quick Response Code examination update method
CN106494735A (en) * 2016-11-04 2017-03-15 佛山善熙包装制品有限公司 Gift wrap image generating method
CN107622341A (en) * 2017-08-22 2018-01-23 蜂巢云联(北京)科技有限公司 A kind of gift platform based on Cloud Server and client
CN108762637A (en) * 2018-05-25 2018-11-06 宁波极呈光电有限公司 Control method, apparatus and system

Similar Documents

Publication Publication Date Title
CN104616042A (en) Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code
CN104636783A (en) Method for generating two-dimensional code with online bank information based on current system time
CN105005802A (en) Method for generating two-dimensional code on basis of current system time
CN103810664B (en) A kind of information concealing method and device
CN110100422B (en) Data writing method and device based on block chain intelligent contract and storage medium
CN108566500A (en) The reversible hidden method of adapting to image encrypted domain based on Hybrid Encryption mechanism
CN109543434A (en) Block chain information encryption method, decryption method, storage method and device
CN102833244A (en) Communication method for authentication by fingerprint information
CN104794514A (en) Combined anti-counterfeiting mark based on same ID (Identity) as well as generation method and device
CN101789862A (en) Encryption and decryption device and method based on gravity acceleration
CN109348230A (en) A kind of ciphertext domain high capacity image reversible data concealing method
CN105141635A (en) Method and system for safe communication of group sending messages
CN104050431A (en) Self-signing method and self-signing device for RFID chips
CN107425971A (en) Terminal and its data method for encryption/decryption and device without certificate
CN103368975A (en) Method and system for safe transmission of batch of data
CN102394746B (en) Data transmission method of weighing system based on digital sensor
CN103441841A (en) Automatic encrypting and decrypting system and method for welding data
CN105260981A (en) Optimal coupling image steganography method based on packet replacement
CN109478995A (en) Whitepack Encryption Algorithm is realized
CN101656728B (en) Secure transmission method using time-varying incidental information flow as key information
CN104252669A (en) Signing validation method and device
CN104598952A (en) Special two-dimensional code corresponding to recorded letter content and generation method thereof
CN104657764A (en) Special two-dimensional code corresponding to ticket information and generation method of special two-dimensional code
CN106789053A (en) Random ciphertext generation method and system, decryption method and system
CN109918211A (en) A kind of method, apparatus of Auto-writing identifying code

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513