CN111222895A - Product tracing system and method based on block chain - Google Patents
Product tracing system and method based on block chain Download PDFInfo
- Publication number
- CN111222895A CN111222895A CN202010043723.5A CN202010043723A CN111222895A CN 111222895 A CN111222895 A CN 111222895A CN 202010043723 A CN202010043723 A CN 202010043723A CN 111222895 A CN111222895 A CN 111222895A
- Authority
- CN
- China
- Prior art keywords
- product
- data
- module
- tracing
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Accounting & Taxation (AREA)
- Artificial Intelligence (AREA)
- Bioethics (AREA)
- Toxicology (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Entrepreneurship & Innovation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a product tracing system and a method based on a block chain, which comprises a product information module, a data chaining module, a display module and a tracing module.
Description
Technical Field
The invention relates to the field of block chains, in particular to a product tracing system and a product tracing method based on the block chains.
Background
The block chain is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed account book which is guaranteed in a cryptology mode and cannot be tampered and forged.
With the improvement of income level of people, the product quality safety problem is more and more concerned by consumers, and the generation of the product quality safety problem relates to each link of a supply chain, including suppliers, producers, sellers and the like. In order to respond to the wide demands of the society on enterprise transparency, more and more enterprises disclose business data to the society in a digitalized and textual form, however, most of digitalized information is stored in a centralized manner, which causes the insufficient disclosure of the society and the public on the business data of the enterprises to generate cognition lacking transparency and disclosure degree, supervisors and the public cannot fully supervise the source and technical reliability of the product data, and the enterprises cannot self-prove whether the enterprises tamper the product data, which leads to the crisis of the public credibility of the enterprises, therefore, how to guarantee the safety and reliability of the product data, traceability and not man-made tampering on the product data are important problems of the current fabrics.
Disclosure of Invention
The invention aims to: a product tracing system and method based on a block chain are provided to solve the above problems.
The technical scheme adopted by the invention is as follows:
the invention relates to a block chain-based product tracing system, which comprises a product information module, a data chaining module, a display module and a tracing module,
the product information module is used for acquiring product data to be stored, packaging the product data into a data packet, generating a unique identifier of the data packet and providing a data source for the data chaining module;
the data chaining module receives the data packet and the unique identifier uploaded by the product information module, generates a storage address, and invokes a block chain intelligent contract to realize block chain data chaining, synchronization and consensus by adopting signature and encryption technologies so as to eliminate human intervention; carrying out information interaction with the tracing module;
the tracing module is in information interaction with the data uplink module, is used for receiving a request for obtaining product data tracing from a requester, verifies a data packet by using a unique identifier corresponding to a product on the data uplink module, decompresses the data packet, obtains product data information, and sends a tracing result to the display module;
and the display module is used for displaying the tracing result sent by the tracing module.
Further, the data uplink module includes a first block chain and a second block chain, the first block chain is used for receiving the data packet uploaded by the product information module and generating a first storage address on the first block chain, and the second block chain is used for receiving the unique identifier and the first storage address uploaded by the product information module and generating a second storage address on the second block chain.
And further, generating a graphic code according to the second storage address, wherein the graphic code corresponds to the unique identifier and the first storage address stored on the second storage address of the second block chain.
Further, the graphic code is a two-dimensional code.
Further, the unique identifier includes one or more of a product keyword, a product identification, or a verification code.
Further, the product data of the data packet includes a product producing place, a product quality, a product production, a product shipment, a product transportation, and a product distribution.
A product tracing method based on a block chain comprises the following steps:
s1, the request direction tracing module sends tracing requests, the tracing module receives a plurality of requests for obtaining product data tracing from the request party, and a second storage address of each tracing request is determined;
s2, acquiring the unique identifier and the first storage address which are stored correspondingly by the second block chain through the second storage address;
s3, obtaining the data packets stored at the corresponding positions of the first block chain according to the plurality of first storage addresses;
s4, verifying the data packet and returning the verification result to the display module;
and S5, the display module displays the tracing result.
Further, in step S4, the data packet is verified according to the unique identifier, and the data packet is decompressed and the product data is obtained.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. the invention relates to a product tracing system and a product tracing method based on a block chain, which can not only protect information from being stolen and tampered, but also trace data information of a product by utilizing the characteristics of information safety and difficult tampering on the block chain, so that the data information of the product is transparently disclosed, the supervision strength is enhanced, and the product public trust of an enterprise is improved.
2. The invention relates to a product tracing system and a product tracing method based on a block chain.
3. The invention relates to a product tracing system and a product tracing method based on a block chain.
4. The invention relates to a product tracing system and a product tracing method based on a block chain, which can be butted with an enterprise business management process platform, reduce the operation cost of an enterprise and improve the operation efficiency and technical reliability of business process management.
5. The invention relates to a product tracing system and a method based on a block chain, which synchronize the information of each business process link of a product, provide an interface for consumers and supervisors to trace the source information of the product, facilitate the consumers and supervisors to trace the product, completely check the whole production, distribution and transportation data of the product, and improve the credibility of enterprises and the satisfaction degree of consumers.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and that for those skilled in the art, other relevant drawings can be obtained according to the drawings without inventive effort, wherein:
FIG. 1 is a block diagram of the present invention;
fig. 2 is a flow chart of the implementation of the tracing method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
The features and properties of the present invention are described in further detail below with reference to examples.
Example one
As shown in fig. 1, the present invention is a block chain-based product tracing system, which comprises a product information module, a data chaining module, a display module, and a tracing module,
the product information module is used for acquiring product data to be stored, packaging the product data into a data packet, generating a unique identifier of the data packet and providing a data source for the data chaining module;
the data chaining module receives the data packet and the unique identifier uploaded by the product information module, generates a storage address, and invokes a block chain intelligent contract to realize block chain data chaining, synchronization and consensus by adopting signature and encryption technologies so as to eliminate human intervention; carrying out information interaction with the tracing module;
the tracing module is in information interaction with the data uplink module, is used for receiving a request for obtaining product data tracing from a requester, verifies a data packet by using a unique identifier corresponding to a product on the data uplink module, decompresses the data packet, obtains product data information, and sends a tracing result to the display module;
and the display module is used for displaying the tracing result sent by the tracing module.
Example two
This example is a further illustration of the present invention.
In this embodiment, on the basis of the first embodiment, in a preferred embodiment of the present invention, the data uplink module includes a first block chain and a second block chain, the first block chain is configured to receive a data packet uploaded by the product information module and generate a first storage address on the first block chain, and the second block chain is configured to receive a unique identifier and a first storage address uploaded by the product information module and generate a second storage address on the second block chain.
In a preferred embodiment of the present invention, a graphic code is generated according to the second storage address, and the graphic code corresponds to the unique identifier and the first storage address stored at the second storage address of the second block chain.
Preferably, the graphic code is a two-dimensional code.
And scanning the two-dimensional code by a consumer or a supervisor, namely calling the unique identifier and the first storage address stored on the second blockchain, acquiring the data packets stored at the corresponding positions of the first blockchain according to the plurality of first storage addresses, verifying the data packets through the unique identifier, decompressing the data packets and acquiring product data.
EXAMPLE III
This example is a further illustration of the present invention.
Based on the above embodiments, in a preferred embodiment of the present invention, the unique identifier includes one or more of a product keyword, a product identifier, or a verification code. The two-dimension code is scanned by a consumer or a supervisor, the tracing module receives the tracing request, data are retrieved from the data chaining module by utilizing information such as key words, product marks or verification codes and the like corresponding to the products on the block chain, and finally, the result is displayed through the display module and is provided for a terminal user to check the information.
Example four
This example is a further illustration of the present invention.
This embodiment is based on the above embodiment, and in a preferred embodiment of the present invention, the product data of the data packet includes a product producing area, a product quality, a product production, a product shipment, a product transportation, and a product distribution. And the data package is decompressed, so that the information of the production place, the product quality, the product production, the product shipment, the product transportation and the product distribution can be checked, and the data information of the product is transparently disclosed.
EXAMPLE five
This example is a further illustration of the present invention.
As shown in fig. 2, a block chain-based product tracing method includes, based on the foregoing embodiment, the following steps:
s1, the request direction tracing module sends tracing requests, the tracing module receives a plurality of requests for obtaining product data tracing from the request party, and a second storage address of each tracing request is determined;
s2, acquiring the unique identifier and the first storage address which are stored correspondingly by the second block chain through the second storage address;
s3, obtaining the data packets stored at the corresponding positions of the first block chain according to the plurality of first storage addresses;
s4, verifying the data packet and returning the verification result to the display module;
and S5, the display module displays the tracing result.
In a preferred embodiment of the present invention, in step S4, the data packet is verified according to the unique identifier, and the data packet is decompressed and the product data is obtained. Specifically, the data packet may be verified according to a verification code, whether the verification code is consistent with the data packet or not is judged, and when the verification code is consistent with the data packet, the data packet is decompressed and product data is obtained.
The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be made by those skilled in the art without inventive work within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.
Claims (8)
1. The utility model provides a product system of traceing back based on block chain which characterized in that: comprises a product information module, a data chaining module, a display module and a tracing module,
the product information module is used for acquiring product data to be stored, packaging the product data into a data packet, generating a unique identifier of the data packet and providing a data source for the data chaining module;
the data chaining module receives the data packet and the unique identifier uploaded by the product information module, generates a storage address, and invokes a block chain intelligent contract to realize block chain data chaining, synchronization and consensus by adopting signature and encryption technologies so as to eliminate human intervention; carrying out information interaction with the tracing module;
the tracing module is in information interaction with the data uplink module, is used for receiving a request for obtaining product data tracing from a requester, verifies a data packet by using a unique identifier corresponding to a product on the data uplink module, decompresses the data packet, obtains product data information, and sends a tracing result to the display module;
and the display module is used for displaying the tracing result sent by the tracing module.
2. The blockchain-based product traceability system of claim 1, wherein: the data uplink module comprises a first block chain and a second block chain, the first block chain is used for receiving a data packet uploaded by the product information module and generating a first storage address on the first block chain, and the second block chain is used for receiving a unique identifier and a first storage address uploaded by the product information module and generating a second storage address on the second block chain.
3. The blockchain-based product traceability system of claim 2, wherein: and generating a graphic code according to the second storage address, wherein the graphic code corresponds to the unique identifier and the first storage address stored on the second storage address of the second block chain.
4. The blockchain-based product traceability system of claim 3, wherein: the graphic code is a two-dimensional code.
5. The blockchain-based product traceability system of claim 1 or 4, wherein: the unique identifier comprises one or more of a product keyword, a product identification or a verification code.
6. The blockchain-based product traceability system of claim 1 or 4, wherein: the product data of the data package includes product origin, product quality, product production, product shipment, product transportation, and product distribution.
7. A product tracing method based on a block chain is characterized by comprising the following tracing method steps:
s1, the request direction tracing module sends tracing requests, the tracing module receives a plurality of requests for obtaining product data tracing from the request party, and a second storage address of each tracing request is determined;
s2, acquiring the unique identifier and the first storage address which are stored correspondingly by the second block chain through the second storage address;
s3, obtaining the data packets stored at the corresponding positions of the first block chain according to the plurality of first storage addresses;
s4, verifying the data packet and returning the verification result to the display module;
and S5, the display module displays the tracing result.
8. The block chain-based product tracing method according to claim 7, wherein: in step S4, the data packet is verified according to the unique identifier, and the data packet is decompressed and the product data is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010043723.5A CN111222895A (en) | 2020-01-15 | 2020-01-15 | Product tracing system and method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010043723.5A CN111222895A (en) | 2020-01-15 | 2020-01-15 | Product tracing system and method based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111222895A true CN111222895A (en) | 2020-06-02 |
Family
ID=70828264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010043723.5A Pending CN111222895A (en) | 2020-01-15 | 2020-01-15 | Product tracing system and method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111222895A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113034161A (en) * | 2021-03-30 | 2021-06-25 | 深圳市沃客非凡科技有限公司 | Commodity logistics tracing information acquisition system based on block chain |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122985A (en) * | 2017-05-09 | 2017-09-01 | 广东工业大学 | A kind of agricultural-product supply-chain traceability system based on Internet of Things and block chain |
CN109034833A (en) * | 2018-06-16 | 2018-12-18 | 复旦大学 | A kind of product back-tracing information management system and method based on block chain |
CN109034842A (en) * | 2018-07-12 | 2018-12-18 | 西安电子科技大学 | Agricultural-product supply-chain traceability system and method based on block chain |
CN110516459A (en) * | 2019-08-29 | 2019-11-29 | 上海梓兆科技发展有限公司 | A kind of product data retroactive method and system based on block chain |
-
2020
- 2020-01-15 CN CN202010043723.5A patent/CN111222895A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122985A (en) * | 2017-05-09 | 2017-09-01 | 广东工业大学 | A kind of agricultural-product supply-chain traceability system based on Internet of Things and block chain |
CN109034833A (en) * | 2018-06-16 | 2018-12-18 | 复旦大学 | A kind of product back-tracing information management system and method based on block chain |
CN109034842A (en) * | 2018-07-12 | 2018-12-18 | 西安电子科技大学 | Agricultural-product supply-chain traceability system and method based on block chain |
CN110516459A (en) * | 2019-08-29 | 2019-11-29 | 上海梓兆科技发展有限公司 | A kind of product data retroactive method and system based on block chain |
Non-Patent Citations (1)
Title |
---|
曾小青等: "物联网加区块链的食品安全追溯系统研究", 《食品与机械》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113034161A (en) * | 2021-03-30 | 2021-06-25 | 深圳市沃客非凡科技有限公司 | Commodity logistics tracing information acquisition system based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109255622B (en) | Traceable anti-fake data storage system | |
US9076024B2 (en) | Anti-counterfeiting system and method | |
US20070174196A1 (en) | System and method for verifying authenticity | |
CN101459672B (en) | Webpage content authentication system and method | |
CN104252677A (en) | Two-dimension code anti-counterfeiting technology and two-dimension code anti-counterfeiting system-based platform system | |
US20220414680A1 (en) | Certified quick response codes associated with top-level domains verified by trusted product certificate authority | |
CN104574122A (en) | Two-dimensional code anti-counterfeit and random product packaging goods-fleeing preventing method | |
CN103544517A (en) | Agricultural product traceability anti-fake system and two-dimension code label used for same | |
CN105894309A (en) | Furniture product tracing method based on two-dimensional code | |
CN107918873A (en) | Item authentication plateform system and item authentication management system | |
CN109034842B (en) | Agricultural product supply chain tracing system and method based on block chain | |
CN112883401B (en) | Method for making digital identity certification for 3D printed product based on block chain technology | |
CN111858750A (en) | Goods warehousing system and method based on intelligent contracts | |
CN109191033A (en) | Item Information retroactive method and system | |
JP2016511466A (en) | Product counterfeit prevention discrimination method | |
CN113961956B (en) | Method, device, equipment and medium for generating and applying labeled network information service | |
CN112348535A (en) | Traceability application method and system based on block chain technology | |
CN114757685A (en) | Shaddock agricultural product processing safety tracing method and system | |
WO2008056105A1 (en) | Verification method | |
CN111222895A (en) | Product tracing system and method based on block chain | |
US20140158754A1 (en) | Item authenticity | |
CN116208632A (en) | Fire-fighting product tracing system and method based on blockchain, internet of things and IPFS | |
CN113240442A (en) | Agricultural Internet of things agricultural product quality safety tracing method and system | |
CN113409062A (en) | Block chain tracing NFT anti-counterfeiting platform and method | |
CN110826026B (en) | Method and system for publication based on block chain technology and associated copyright protection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |