Redeem Code Storage and Verification via Random Value Indexing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for generating and storing redeem codes face inefficiencies due to potential repetition, high storage requirements, and low verification efficiency, especially when dealing with large quantities, and struggle to maintain a controlled success rate for cracking codes.
Innovation Solution
A method and apparatus that map a number pair consisting of a random value and its generation index to a string, allowing for obfuscation to generate redeem codes, and store only the random value, enabling efficient verification by reversing the mapping process and using a redeem index table for storage and verification.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all redeem codes are completely saved in storage space (database), then verification can be performed by searching the database, but a large amount of storage space is occupied
Solution Approach 1:
The patent extracts only the essential verification information (hash values or key features) from the complete redeem codes and stores only these extracted elements in the database. This allows verification to be performed without storing the entire redeem code dataset, significantly reducing storage space while maintaining verification capability.
Solution Approach 2:
Instead of storing and searching the original redeem codes directly, the patent creates simplified copies (hash values or feature representations) that capture the essential verification properties. These copies are stored in the database and used for verification, reducing storage requirements while preserving the core verification function.
2Ease of manufacture
If redeem codes are generated using a random algorithm, then code generation is simple, but repetition may occur resulting in low efficiency
Solution Approach 1:
The patent implements a feedback mechanism where generated redeem codes are checked against previously generated codes to detect repetitions. When a repetition is detected, the system provides feedback to regenerate a unique code. This ensures code uniqueness while maintaining the simplicity of random generation, improving overall generation efficiency.
Solution Approach 2:
The patent performs preliminary checks during the code generation process to identify potential repetitions before they cause problems. By proactively detecting and preventing repetitions during generation rather than after, the system maintains high efficiency while ensuring code uniqueness.
3Volume of stationary object
If the number of digits of a redeem code are reduced to save storage space, then storage space is reduced, but the success rate of cracking a redeem code cannot be controlled
Solution Approach 1:
The patent changes the parameter representation of redeem codes by using hash functions or encoding schemes that maintain sufficient entropy and security properties even with reduced digit counts. This allows storage space to be reduced while preserving the cryptographic properties needed to control cracking success rates.
Solution Approach 2:
The patent applies different quality levels to different parts of the redeem code system. The stored representation uses reduced digits for space efficiency, while the generation and verification processes maintain full security properties. This local differentiation allows space reduction without compromising security control.
4Reliability
If a database is searched in a manner of full-text comparison to verify a redeem code, then verification is thorough, but a large amount of data to be searched resulting in low efficiency
Solution Approach 1:
The patent extracts key verification features (such as hash values) from the complete redeem codes and stores only these extracted elements in the database. During verification, only these extracted features are searched and compared, dramatically reducing the amount of data to be searched while maintaining verification thoroughness for the essential properties.
Solution Approach 2:
The patent segments the verification process into two parts: storing only the essential verification features (hash values) in the database, and performing verification by comparing only these segmented features. This segmentation reduces the search space from entire redeem codes to just their verification features, improving efficiency while maintaining thoroughness.
Data Source
AI summary
A method and an apparatus for storing a redeem code and a method and an apparatus for verifying a redeem code. The method for storing a redeem code includes generating a random value and determining an index of the random value according to an order in which the random value is generated, generating a number pair according to the random value and the index of the random value, mapping the number pair to a string and generating a redeem code according to the string, and determining a storage location of the random value according to the index of the random value, and saving the random value at the determined storage location.


