Anti-forgery Image Generation With Encrypted Code Points
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing digital anti-forgery technologies have low secrecy due to easily stealable and copiable two-dimensional codes that are not encrypted, making it difficult for consumers to distinguish genuine from counterfeit products.
Innovation Solution
A method and apparatus for generating an anti-forgery image with adjustable parameters, such as bit quantity, data point locations, code value bits, and pseudo-random variable bits, which are used to create a unique and secure image that is difficult to duplicate, by determining the positions of code points and initial coordinates within a memory space, ensuring that even if the method is known, the specific parameters for each user remain unknown.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If two-dimensional codes are used as anti-forgery identification codes, then information authentication can be realized by scanning, but the codes are easy to steal and copy due to lack of encryption
Solution Approach 1:
The patent changes the fundamental parameters of the anti-forgery code by transitioning from standard two-dimensional code structure to a customized code structure with specific bit definitions (data bits, check bits, parity bits). This parameter change enables both maintainability of scanning authentication and improvement of secrecy through encrypted content and customized error correction mechanisms
Solution Approach 2:
The patent creates a composite anti-forgery code structure that combines multiple functional elements: encrypted identification information, error correction codes (ECC), parity check bits, and positioning markers. This composite structure integrates both authentication functionality and security features into a unified code system
2Loss of information
If standard two-dimensional codes are used for anti-forgery, then information can be authenticated through scanning, but the codes lack encryption making them easy to copy
Solution Approach 1:
The patent applies preliminary anti-action by pre-encrypting the identification information before encoding it into the two-dimensional code structure. This preliminary encryption step prevents unauthorized copying and decoding, as the encrypted content cannot be easily extracted or replicated without the decryption key
Solution Approach 2:
The patent introduces error correction codes and parity check bits as intermediary elements between the encrypted information and the final code structure. These intermediaries not only protect against copying but also ensure accurate authentication by detecting and correcting potential errors or tampering
Data Source
AI summary
A method and an apparatus for generating an anti-forgery image are provided. The method includes: determining, according to a rule for setting bits, related parameters; determining a combination quantity of bits, according to the parameters; acquiring a width, height and code numeric value of the anti-forgery image to be generated and requesting a memory space for the anti-forgery image to be generated according to the width and height of the anti-forgery image to be generated; determining positions of the code points in the bits according to the parameters; determining the image cell's initial coordinate in the anti-forgery image to be generated according to a rule for setting coordinates; and drawing the image cell in the memory space according to the image cell's initial coordinate in the anti-forgery image to be generated, where the drawn image cell forms the anti-forgery image.


