Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A self-encrypting and self-verifying two-dimensional code encoding and decoding method

An encoding method and a decoding method technology, which are applied in the fields of information security and automatic identification, can solve the problems that two-dimensional code information is difficult to forge, two-dimensional code is easy to be forged, etc.

Active Publication Date: 2018-06-08
CHINA TOBACCO GUANGXI IND
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the two-dimensional code printed on the product is easy to be forged, a two-dimensional code code decoding method capable of self-encryption and decryption is proposed, which can realize self-encryption and self-verification coding of the two-dimensional code information, so that the two-dimensional code The information is difficult to forge, and it is also possible to directly judge whether the QR code is fake based on the QR code information

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A self-encrypting and self-verifying two-dimensional code encoding and decoding method
  • A self-encrypting and self-verifying two-dimensional code encoding and decoding method
  • A self-encrypting and self-verifying two-dimensional code encoding and decoding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] see figure 1 , the encoding structure 0 of the two-dimensional code of the present invention includes address 1 and parameter 2, parameter 2 includes key batch number 24, random salt22 and ciphertext 23, and ciphertext 23 is composed of key 231, salt22 and product serial number 231, By combining the random salt with the product serial number, using a random key to encrypt, the string that connects the key batch number, salt and encrypted ciphertext is used as the parameter of the QR code information, and the key batch number and salt are stored in the background The corresponding relationship with the key, each key batch number corresponds to a batch of salt and key, and each salt uniquely corresponds to a key.

[0031] This key is generated by the following steps, see figure 2

[0032] Step S11, generate a new key batch number of a specified length by means of pipeline increment, table lookup, rule increment, etc.; if 1001 with a length of 4 is used as the key batch...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a self-encrypting and self-verifying two-dimensional code encoding and decoding method, in which a record is randomly selected from the data record table corresponding to the currently used key batch number, and the record contains a salt and a key; the salt Concatenate the serial number of the product into a string, use the key to encrypt through the symmetric key algorithm, and obtain the ciphertext; concatenate the key batch number, salt and ciphertext into a string as a parameter; use the given address and parameter Combined, a Url is obtained as the required QR code information encoding. The invention can realize self-encryption and self-verification encoding and decoding of two-dimensional code information, so that the two-dimensional code information is difficult to forge, and can also directly judge whether the two-dimensional code is forged according to the two-dimensional code information.

Description

technical field [0001] The invention relates to the fields of information security and automatic identification, in particular to a self-encrypting and self-verifying two-dimensional code encoding and decoding method. Background technique [0002] Since two-dimensional codes can represent rich information and are easy to use, especially with the popularity of mobile smart terminals, two-dimensional code scanning has become a widely used method. Some companies print a unique QR code on each product to achieve product authenticity identification, product tracking, marketing activities and other purposes. Two-dimensional code technology is to encode the two-dimensional code information represented by a string to generate a scannable two-dimensional code. Generally, open technologies such as QR codes are used, which do not have encryption features and can be easily scanned by any code-scanning software. Reading, so that the QR code on the product is easy to be forged. [0003]...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06K19/06G06F21/62
Inventor 张雨夏孙忱王珏梁海玲陆瑛
Owner CHINA TOBACCO GUANGXI IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products