A method for batch generation of commodity anti-counterfeiting two-dimensional codes
A technology of two-dimensional codes and commodities, which is applied in the field of batch generation of commodity anti-counterfeiting two-dimensional codes. Safe, not easy to crack, simple and feasible batch generation method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0100] According to the batch generation method of product anti-counterfeiting codes above, the steps are as follows:
[0101] (1) When the batch commodity ID code of a certain batch of commodities is coded as S=“AB789 / ef12 2018-08-011234ab12” and the length L=30, set the production serial number numerical sequence B of this batch of commodities at the same time={0,1,2 ,3...999998,999999}, where each element starts from 0 and increases by 1, and its length K=10 6 ;
[0102] (2) Each character S of the bulk product ID code S k Respectively converted into ASCII code numerical data P k , get the numerical sequence P={65,66,55,56,57,47,101,102,49,50,32,50,48,49,56,45,48,56,45,48,49,32,49,50 ,51,52,97,98,49,50}, and then calculate the numerical data according to the following formula and switch data SK:
[0103]
[0104] SK=mod(sum(P),3)=mod(1702,3)=1
[0105] resulting in a sequence of values And switching data SK=1;
[0106] (3) Encryption of the batch commodity ID...
Embodiment 2
[0134] According to the above method for batch generation of anti-counterfeit two-dimensional codes of commodities, the batch generation steps of the key and its anti-counterfeit two-dimensional codes are similar to those in Embodiment 1, only the identity codes of the batch commodities are slightly changed (such as "AB789 / ef12 2018-08-01 1234ab11" , "AB789\ef12 2018-08-01 1234ab12" and "AC789 / ef12 2018-08-01 1234ab12"), where when the bulk commodity ID code is "AC789 / ef12 2018-08-01 1234ab12", the reverse replacement encryption is used Operation initial value and The results of the anti-counterfeit number and anti-counterfeit QR code for a single product are shown in Table 4. It can be seen from Table 4 that a slight change in the ID code of a batch of commodities will cause a great change in the anti-counterfeiting number of the commodity and the anti-counterfeiting two-dimensional code of the commodity, so it can be seen that a method for batch generation of the anti-cou...
Embodiment 3
[0140]According to the batch generation method of commodity anti-counterfeiting two-dimensional codes, the batch generation steps of batch commodity identity codes and anti-counterfeiting two-dimensional codes are similar to the specific embodiment 2, only a certain key changes slightly: α=-0.123450000000001; or β=4; or γ=-0.234560000000001; or η=3; or or or or The generation results of product anti-counterfeiting number and anti-counterfeiting QR code are shown in Table 5. It can be seen from the table below that once the key changes even slightly, that is, "missing by a tiny bit", the generated product anti-counterfeiting number will be "a thousand miles away", so it can be seen that this patent proposes a method for batch generation of product anti-counterfeiting two-dimensional codes Key sensitive.
[0141] Table 5 When the key changes slightly, the product anti-counterfeiting number generation results
[0142]
[0143]
[0144]
[0145]
[0146] From ...
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