Tobacco anti-counterfeiting and tracing method and system based on block chain
A blockchain and tobacco technology, applied in the field of anti-counterfeiting and traceability, can solve the problems of high reproducibility, difficult identification, and low effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] The embodiment of the present invention provides a block chain-based tobacco anti-counterfeiting and traceability method, refer to figure 1 As shown, the methods include:
[0083] S1. Generate a hash value for each cigarette, generate a corresponding first identification code according to the hash value of each cigarette, print the first identification code on each corresponding cigarette, and write the hash value of each cigarette into the merkle tree of the blockchain.
[0084] Wherein, the identification code described in the embodiment of the present invention includes a two-dimensional code, bar code or RFID code, and can also be other identification codes suitable for printing or attached to tobacco or other commodities. The first, The second, third and fourth identification codes are all the identification codes.
[0085] Specifically, the process of generating a hash value for each cigarette may include:
[0086] a. Assign a marking code to each cigarette;
...
Embodiment 2
[0121] The embodiment of the present invention provides a blockchain-based tobacco anti-counterfeiting and traceability system, refer to figure 2 As shown, the system 2 includes a first terminal device 21, an identification device 22 and a second terminal device 23, wherein,
[0122] The first terminal device 21 includes:
[0123] Each cigarette hash value generating module 211 is used to generate a hash value for each cigarette;
[0124] An identification code generating module 212, configured to generate a corresponding first identification code according to the hash value of each cigarette;
[0125] A printing module 213, configured to print the first identification code on each corresponding cigarette;
[0126] The first writing module 214 is used to write the hash value of each cigarette into the merkle tree of the block chain;
[0127] The first tree root hash value calculation module 215 is used to calculate the first tree root hash value according to the hash value...
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