Quantum anti-counterfeiting two-dimensional code generation method and scanning method
The invention discloses a quantum anti-counterfeiting two-dimensional code generation method and a scanning method. The method comprises the following steps: forming an initial two-dimensional code image by using a quantum random number seed and product information XOR; taking the digital image of t...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
03.07.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a quantum anti-counterfeiting two-dimensional code generation method and a scanning method. The method comprises the following steps: forming an initial two-dimensional code image by using a quantum random number seed and product information XOR; taking the digital image of the quantum random number seed as a digital watermark image; pre-compensating the digital watermark image; and superposing the initial two-dimensional code image and the pre-compensated digital watermark image through DCT transformation and singular value decomposition to form a product two-dimensional code. Block DCT and singular value decomposition are carried out on a scanned image during scanning, the scanned image is compared with pre-compensated digital watermark information stored in a database, inverse singular value transformation and inverse DCT transformation are carried out, and a pre-compensated digital watermark image is obtained; comparing numbers in the watermark image with quantum random number seed |
---|---|
Bibliography: | Application Number: CN202010141329 |