Dynamic Two-Dimensional Code Security Against Copying
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current two-dimensional codes are static, making them easily copiable and photocopiable, leading to information leakage and potential financial losses, especially in payment transactions where password-free authorization can result in unauthorized deductions.
Innovation Solution
Generating a combinational two-dimensional code that includes both static and dynamic feature information, where the dynamic feature is based on a randomly generated value, making it difficult to copy or photograph the code effectively, and incorporating a verification process to ensure the code's validity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If static two-dimensional codes are used, then the code structure is simple and easy to generate, but the code can be easily copied or photographed, resulting in information leakage
Solution Approach 1:
The patent applies dynamics by transforming static two-dimensional codes into dynamic codes that change over time. The code includes a dynamic component that is periodically updated, making each instance of the code unique and time-sensitive. This prevents copying and photographing from being effective, as the code value changes before it can be misused.
Solution Approach 2:
The patent changes the temporal parameter of the code by introducing time-based validity. The code includes expiration timestamps and is only valid within specific time windows. This parameter change from static to time-dependent makes the code secure against copying while maintaining a relatively simple generation process.
2Reliability
If dynamic feature information is added to make codes harder to copy, then code security is improved, but the complexity of code generation and verification increases
Solution Approach 1:
The patent segments the code into distinct components: a static base code containing identification information, and a dynamic component containing time-based validation data. This segmentation allows each part to be generated and verified independently, reducing overall system complexity while maintaining security through the combination of both parts.
Solution Approach 2:
The patent introduces an intermediary verification server that handles the complex validation logic. The server mediates between the code generator and the verification point, centralizing the complex verification processes including time validation, signature verification, and dynamic component validation. This reduces the complexity burden on client devices.
3Reliability
If verification processes are implemented to ensure code validity, then unauthorized use is prevented, but the processing time and system complexity increase
Solution Approach 1:
The patent implements preliminary action by pre-generating and caching verification data when the code is created. Digital signatures are computed in advance, and time window parameters are predetermined. This allows the verification process to simply check pre-computed values rather than performing complex calculations in real-time, significantly reducing verification time.
Solution Approach 2:
The patent replaces complex mechanical verification processes with cryptographic methods. Instead of complex multi-step validation, the system uses digital signatures and hash functions that provide secure verification through mathematical operations that are computationally efficient. This substitution reduces verification time while maintaining strong security.
Data Source
Figure 1
Figure 2~3
Figure 4~5
AI summary
The present application provides a two-dimensional code processing method and apparatus. The method includes: when receiving a two-dimensional code generation request sent by a two-dimensional code display client, generating static two-dimensional code information based on a user identifier carried in the two-dimensional code generation request; generating a random feature value, where the random feature value is used to limit a display feature of dynamic feature information displayed by the two-dimensional code display client; and sending the static two-dimensional code information and the random feature value to the two-dimensional code display client, so that the two-dimensional code display client displays a combinational two-dimensional code, and the displayed combinational two-dimensional code includes the static two-dimensional code information and the dynamic feature information displayed based on the random feature value. The present application improves security of applying a two-dimensional code.