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

Commodity anti-counterfeiting code batch generation method based on character string-to-picture encryption

A technology of image encryption and character strings, which is applied in the field of digital anti-counterfeiting, can solve the problems of difficult authenticity identification of all commodities, complicated production process, and limited authenticity identification of high-end products, and achieves difficult cracking, strong security, and simple and feasible generation method Effect

Active Publication Date: 2022-01-14
NANTONG UNIVERSITY
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional anti-counterfeiting technology is difficult to be widely used in the authenticity identification of all commodities due to the limitations of its complex production process and inconvenient identification of anti-counterfeit labels, and is limited to the authenticity identification of high-end products

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
  • Commodity anti-counterfeiting code batch generation method based on character string-to-picture encryption
  • Commodity anti-counterfeiting code batch generation method based on character string-to-picture encryption
  • Commodity anti-counterfeiting code batch generation method based on character string-to-picture encryption

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0136] According to the above-mentioned batch generation method of commodity anti-counterfeiting codes based on string-to-picture encryption, the steps are as follows:

[0137] (1) The batch commodity identification code that will represent the unique identity information of a certain batch of commodities, that is, the string 逐个字符转换为数值型数据,得到数值序列P={214,208,185,250,32,189,173,203,213,202,161, 196,207,205,168,202,208,179,231,180,168,199,248,32,163,163,163,163,188,175,205,197,161,193, 161,193,215,211,185,171,203,190,161,238,161,238,207,181,193,208,42,42,42,42,201,204,198,183, 32,201,250,178,250,200,213,198,218,163,178,163,176,163,178,163,177,45,163,176,163,182,45, 163,176,163,177,32,201,250,178,250,199,248,162,241,163,176,163,177,32,201,250,178,250,207, 223,162,242,163,176,163,177},随后将数值 The elements in the sequence P are converted into 8-bit binary one by one, and the binary sequence PB={1,1,0,1,0,1,1,0,1,1,0,1,0,0,0,0, 1,0,1,1,1,0,0,1,1,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,1, 0,1,...

Embodiment 2

[0174] According to the above-mentioned batch generation method of commodity anti-counterfeiting two-dimensional codes based on string-to-picture encryption, the batch generation steps of the key and its anti-counterfeiting two-dimensional codes are similar to the specific embodiment 1, and only the batch commodity identification codes are slightly changed: for example, "China 冮su Chongchuan District, Nantong City, Province##Group××Subsidiary☆☆Series**** Commodity Production Date 2021-06-01 Production Area Ⅰ01 Production Line Ⅱ01'; or'Chongchuan District, Nantong City, Jiangsu Province, China##集团×☆ Subsidiary ☆☆Series **** Commodity Production Date 2021-06-01 Production Area Ⅰ01 Production Line Ⅱ 01'; or 'Chongchuan District, Nantong City, Jiangsu Province, China##Group××Subsidiary ☆☆Series **** Commodities The production date is 2021-06-01 production line Ⅱ 11' in production area Ⅰ01, and seven products with production serial numbers of 0000001, 0000011, 0000111, 0001111, 0011...

Embodiment 3

[0181]According to the method for batch generation of commodity anti-counterfeit two-dimensional codes based on string-to-picture encryption, the batch generation steps of commodity identity codes and anti-counterfeit two-dimensional codes are similar to those in Embodiment 2, only a certain key is slightly changed: α=0.12345000000001; Or β=6.54321000000001, the generation results of product anti-counterfeit pictures and anti-counterfeit QR codes are shown in Table 3. It can be seen from the following table: once the key changes even slightly, that is, "missing by a tiny bit", the generated product anti-counterfeiting picture and its corresponding anti-counterfeiting QR code will be "a thousand miles away". The batch generation method of commodity anti-counterfeiting two-dimensional code based on string-to-picture encryption is sensitive to keys.

[0182] Table 3 When the key changes slightly, the product anti-counterfeiting QR code generation results

[0183]

[0184] ...

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 commodity anti-counterfeiting code batch generation method based on character string-to-picture encryption, and the method comprises the following steps: carrying out numeric data and 8-bit binary conversion of batch commodity identification codes representing the unique identity information of a certain batch of commodities, obtaining a binary sequence PB, and according to the number of the batch of commodities, obtaining the number of the batch of commodities, setting a commodity production serial number with a certain length; scrambling the sequence PB by using a chaotic signal, and filling layer by layer according to a self-defined three-dimensional binary matrix data hierarchical filling rule to generate a unified ciphertext picture; and generating different chaotic signals according to different production serial numbers of each commodity in the batch of commodities, and performing bitwise XOR operation on the chaotic signals and the unified ciphertext picture pixels in sequence, thereby generating anti-counterfeiting pictures of single commodities in batch, and further combining to generate the commodity anti-counterfeiting two-dimensional code. The commodity anti-counterfeiting code batch generation method provided by the invention is simple and feasible, has very high security and is not easy to crack, and the commodity anti-counterfeiting two-dimensional codes generated in batches have uniqueness and unforgeability.

Description

technical field [0001] The invention relates to the technical field of digital anti-counterfeiting, in particular to a batch generation method of commodity anti-counterfeiting codes based on character string-to-picture encryption. Background technique [0002] At present, the anti-counterfeiting technologies commonly used in the market mainly include paper pattern anti-counterfeiting technology, laser holographic anti-counterfeiting technology, chemical ink anti-counterfeiting technology, nuclear track anti-counterfeiting technology, electronic code anti-counterfeiting technology, and digital anti-counterfeiting technology and so on. Traditional anti-counterfeiting technology is difficult to be widely used in the authenticity identification of all commodities due to its complex production process and inconvenient identification of anti-counterfeit labels, and is limited to the authenticity identification of high-end products. Due to the various shortcomings of traditional an...

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 Applications(China)
IPC IPC(8): G06K7/10G06K19/06H04L9/00
CPCG06K7/10257G06K19/06037H04L9/001
Inventor 盛苏英张小美陆国平吴新华刘焰森
Owner NANTONG UNIVERSITY
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