A method for generating a two-dimensional code and its application
A technology of two-dimensional code and traceable code, which is applied in the field of two-dimensional code anti-counterfeiting, can solve the problems of time-consuming and labor-intensive, and achieve the effects of high anti-counterfeiting coefficient, improving authenticity, reliability, specificity and difficulty of forgery
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046] In this embodiment, a method for generating a two-dimensional code is performed in the following steps:
[0047] Step 1, define variable i, initialize i=1;
[0048] Step 2. Generate traceability codes in batches;
[0049] Step 2.1, using formula (1) to obtain the interval length R of the traceability code l ;
[0050]
[0051] In formula (1), l represents the length of the traceability code; n represents the number of generated traceability codes, and R max Indicates the maximum value of the random function Rand();
[0052] Assuming that the length of the traceability code is l=9, the traceability code is generated from 000000000 to 99999999, and a maximum of 1000000000 traceability codes can be generated; assuming that the product needs to generate 100,000 traceability codes, that is, n=100000, then the formula (1 ) to calculate the interval length This example is running in the windows environment, taking the maximum value R of the random function Rand() max...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com