CN114463019A - Product tracing method and system based on block chain - Google Patents

Product tracing method and system based on block chain Download PDF

Info

Publication number
CN114463019A
CN114463019A CN202111656737.5A CN202111656737A CN114463019A CN 114463019 A CN114463019 A CN 114463019A CN 202111656737 A CN202111656737 A CN 202111656737A CN 114463019 A CN114463019 A CN 114463019A
Authority
CN
China
Prior art keywords
batch
raw material
code
information
counterfeiting
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
Application number
CN202111656737.5A
Other languages
Chinese (zh)
Inventor
王向凯
孟亮亮
贾胜
杨阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Slow Flow Technology Co ltd
Original Assignee
Suzhou Slow Flow Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Slow Flow Technology Co ltd filed Critical Suzhou Slow Flow Technology Co ltd
Priority to CN202111656737.5A priority Critical patent/CN114463019A/en
Publication of CN114463019A publication Critical patent/CN114463019A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a product tracing method and system based on a block chain, and belongs to the technical field of block chains. The method comprises the following steps: the user side acquires the anti-counterfeiting code and the tracking code from the target product and sends the anti-counterfeiting code and the tracking code to the tracing platform; the tracing platform generates an anti-counterfeiting result according to the anti-counterfeiting code, acquires batch information of a target product, a batch NFT certificate and a tracking code of each raw material single product, which are stored corresponding to the tracking code, from the block chain network, and sends the anti-counterfeiting result, the batch information, the batch NFT certificate and the tracking code of each raw material single product to a user terminal, wherein the batch NFT certificate is a certificate issued after the quality of a batch of products is qualified; and the user side displays the anti-counterfeiting result, the batch information, the batch NFT certificate and the tracking code of each raw material single product, wherein the tracking code of the raw material single product is used for tracing the batch information and the batch NFT certificate of the raw material single product. The method and the device can guarantee data authenticity, reduce the tracing difficulty and improve the tracing speed.

Description

Product tracing method and system based on block chain
Technical Field
The embodiment of the application relates to the technical field of block chains, in particular to a product tracing method and system based on a block chain.
Background
When a product has a considerable amount of sales in the market, it is often the subject of counterfeiting. When counterfeit products are manufactured, a counterfeiter usually closely imitates the external characteristics of other similar products, or copies and sells products protected by intellectual property rights without authorization, thereby pretending to be products of others.
In order to avoid counterfeiting of the product, a traceability system can be set up by a manufacturer, and a unique product identifier is distributed to each product when the product leaves a factory, so that a user can input the product identifier in the traceability system to inquire whether the product is a counterfeit product or not.
The tracing system usually adopts a single database to centrally store data, a counterfeiter can increase the data of counterfeit products by tampering the database, and even if means such as redundant database backup are adopted, the counterfeiter can achieve the purpose of counterfeiting by tampering the redundant database, so that the problem of counterfeiting or tampering data is difficult to solve, and the authenticity of the data of the products needing tracing cannot be ensured. The user needs to manually input the product identifier to trace the source, which increases the difficulty of tracing the source. In addition, different manufacturers may build different traceability systems without a uniform entrance and a professional technical team to maintain the traceability systems, so that the traceability systems are slow in access speed.
Disclosure of Invention
The embodiment of the application provides a product traceability method and system based on a block chain, and is used for solving the problems that authenticity of data cannot be guaranteed, traceability difficulty is high and traceability speed is low when a traceability system is built by each manufacturer. The technical scheme is as follows:
in one aspect, a block chain-based product tracing method is provided, which is used in a product tracing system including a user side and a tracing platform, and the method includes:
the user side acquires an anti-counterfeiting code and a tracking code from a target product and sends the anti-counterfeiting code and the tracking code to the tracing platform;
the tracing platform generates an anti-counterfeiting result of the target product according to the anti-counterfeiting code, acquires batch information, batch NFT certificates and tracking codes of all raw material single products of the target product, which are stored corresponding to the tracking codes, from a block chain network, and sends the anti-counterfeiting result, the batch information, the batch NFT certificates and the tracking codes of all raw material single products to the user side, wherein the batch NFT certificates are certificates issued after quality inspection of a batch of products is qualified;
and the user side displays the anti-counterfeiting result, the batch information, the batch NFT certificate and the tracking code of each raw material single product, wherein the tracking code of the raw material is used for tracing the batch information and the batch NFT certificate of the raw material single product.
In one possible implementation, the method further includes:
when a tracing instruction of a tracing code for any raw material single product is received, the user side sends a tracing request containing the tracing code of the raw material single product to the tracing platform;
when the raw material single product is generated by at least one lower-level raw material single product, the traceability platform acquires batch information, a batch NFT certificate and a tracking code of at least one lower-level raw material single product, which are stored corresponding to the tracking code, from the blockchain network, and sends the batch information, the batch NFT certificate and the tracking code of at least one lower-level raw material single product to the user side, the user side displays the batch information, the batch NFT certificate and the tracking code of at least one lower-level raw material single product, and the tracking code of at least one lower-level raw material single product is used for traceability of the batch information and the batch NFT certificate of the lower-level raw material single product;
when the raw material single product is the lowest raw material single product, the traceability platform acquires the batch information and the batch NFT certificate of the raw material single product, which are stored corresponding to the tracking code, from the blockchain network, and sends the batch information and the batch NFT certificate to the user side, and the user side displays the batch information and the batch NFT certificate.
In a possible implementation manner, when the product traceability system further includes a merchant side, an information entry platform, and a certificate management platform, the method further includes:
the merchant side acquires the anti-counterfeiting code and the tracking code of each raw material single product in the batch of raw materials from the information input platform, and correspondingly stores the raw material information and the tracking code of each raw material single product into the block chain network through the information input platform;
the information input platform receives the quality inspection data of the batch of raw materials, and stores the batch information of the batch of raw materials corresponding to the quality inspection data into the block chain network;
the merchant terminal sends a certificate request to the certificate management platform, wherein the certificate request comprises batch information of the batch of raw materials;
the certificate management platform acquires quality inspection data corresponding to the batch information of the batch of raw materials from the blockchain network, generates batch NFT certificates of the batch of raw materials when the quality inspection data determine that the quality inspection is qualified, and stores the batch NFT certificates of the batch of raw materials corresponding to the batch information of the batch of raw materials in the blockchain network.
In a possible implementation manner, the acquiring, by the merchant side, the anti-counterfeit code and the tracking code of each raw material unit in the batch of raw materials from the information entry platform includes:
the merchant side sends a batch request to the information entry platform, wherein the batch request comprises batch information and batch quantity of the batch raw materials;
the information entry platform sends the combination codes with the same quantity as the batches to the merchant end, and each group of combination codes comprises an anti-counterfeiting code and a tracking code of a raw material single product;
and the merchant end receives the combination codes, and each group of combination codes is attached to the corresponding raw material single product.
In one possible implementation, when the raw material sheet is generated from at least one lower raw material sheet, the batch request further includes a tracking code for each lower raw material sheet.
In one possible implementation, when the raw sheet is generated from at least one subordinate raw sheet, the method further comprises:
before the raw material single product is generated according to the lower raw material single product, the merchant side acquires an anti-counterfeiting code and a tracking code from the lower raw material, and sends the anti-counterfeiting code and the tracking code to the source tracing platform;
the tracing platform generates an anti-counterfeiting result of the subordinate raw material single product according to the anti-counterfeiting code, acquires batch information and batch NFT certificates of the subordinate raw material single product, which are stored corresponding to the tracking code, from the block chain network, and sends the anti-counterfeiting result, the batch information and the batch NFT certificates to the merchant terminal, wherein the batch NFT certificates are certificates issued after quality inspection of a batch of subordinate raw material single products is qualified;
and the merchant terminal displays the anti-counterfeiting result, the batch information and the batch NFT certificate.
In a possible implementation manner, the source tracing platform generates an anti-counterfeiting result of the subordinate raw material sheet according to the anti-counterfeiting code, including:
when the anti-counterfeiting code of the lower raw material single product is inquired for the first time, the source tracing platform acquires the raw material information of the lower raw material single product according to the anti-counterfeiting code and generates an anti-counterfeiting result comprising the raw material information and genuine product prompt information;
when the anti-counterfeiting code of the subordinate raw material single product is not inquired for the first time, the source tracing platform acquires the raw material information and the historical inquiry time of the subordinate raw material single product according to the anti-counterfeiting code, and generates an anti-counterfeiting result containing the raw material information and the historical inquiry time.
In a possible implementation manner, the tracing platform generates an anti-counterfeiting result of the product according to the anti-counterfeiting code, including:
when the anti-counterfeiting code of the target product is inquired for the first time, the tracing platform acquires the product information of the target product according to the anti-counterfeiting code and generates an anti-counterfeiting result containing the product information and the genuine product prompt information;
when the anti-counterfeiting code of the target product is not inquired for the first time, the tracing platform acquires the product information and the historical inquiry time of the target product according to the anti-counterfeiting code and generates an anti-counterfeiting result containing the product information and the historical inquiry time.
In one possible implementation, the method further includes:
the tracing platform generates a tracing code according to the anti-counterfeiting code of the target product;
the tracing platform compares whether the generated tracing code is the same as the received tracing code;
if the generated tracking code is the same as the received tracking code, the tracing platform determines that the received tracking code is not tampered.
On one hand, a product traceability system based on a block chain is provided, and comprises a user side and a traceability platform;
the user side is used for acquiring an anti-counterfeiting code and a tracking code from a target product and sending the anti-counterfeiting code and the tracking code to the tracing platform;
the tracing platform is used for generating an anti-counterfeiting result of the target product according to the anti-counterfeiting code, acquiring batch information, batch NFT certificates and tracking codes of all raw material single products of the target product, which are stored corresponding to the tracking codes, from a block chain network, and sending the anti-counterfeiting result, the batch information, the batch NFT certificates and the tracking codes of all raw material single products to the user side, wherein the batch NFT certificates are certificates issued after quality inspection of a batch of products is qualified;
the user side is further configured to display the anti-counterfeiting result, the batch information, the batch NFT certificate, and a tracking code of each raw material single product, where the tracking code of the raw material is used to trace the source of the batch information of the raw material single product and the batch NFT certificate.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
because the batch information, the batch NFT certificate and the tracking codes of all the raw material single products are all stored on the block chain network, the trueness and the reliability of the data can be ensured, and the data cannot be tampered. And secondly, associating the anti-counterfeiting code, the tracking code, the batch information and the batch NFT certificate, and determining that the tracing path of the product is real and credible while ensuring that the product is a genuine product. And finally, application and issuance of batch NFT certificates are introduced in the production link, so that a credible certificate is provided for material guarantee and subsequent traceability of products.
The anti-counterfeiting code and the tracking code are obtained through user side scanning, and compared with the method that a user manually inputs a product identifier, the tracing difficulty can be reduced.
By creating a uniform product traceability system on a block chain network, bringing the system into manufacturers of all industries, making a uniform standard, and integrating all information resources added into the system, even products in different industries and different fields can be subjected to uniform traceability and anti-counterfeiting query operations by users only in the product traceability system. Therefore, compared with an anti-counterfeiting query system built by a manufacturer, a special technical team can be used for maintaining the product traceability system, and the traceability speed can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a product traceability system according to an embodiment of the present application;
fig. 2 is a flowchart of a method for information uplink of a base material according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an information uplink method of a base material according to an embodiment of the present application;
fig. 4 is a flowchart of a method for information uplink of an upper level raw material according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a method for uplink information of a product according to an embodiment of the present application;
FIG. 6 is a flowchart of a method for a blockchain-based product tracing method according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for block chain based product tracing according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a product tracing method according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail with reference to the accompanying drawings.
The following explains the terms referred to in the present application.
1. Block chain
The block chain (Blockchain) is essentially a decentralized database, is a string of data blocks which are associated and generated by using a cryptography method, each data block contains batch transaction information, is used for verifying the validity (anti-counterfeiting) of the information and generating the next block, and has the characteristics of decentralized, non-tampering, trace leaving in the whole process, traceability, collective maintenance, public transparency and the like. The characteristics ensure the honesty and the transparency of the block chain, lay a foundation for creating trust for the block chain and create a reliable cooperation mechanism. The rich application scenes of the block chains can solve the information asymmetry problem basically based on the block chains, and the cooperative trust and the consistent action among a plurality of main bodies are realized.
2. Anti-counterfeiting code
The anti-counterfeiting code is a two-dimensional code capable of inquiring authenticity, and can be covered and attached to a product in a physical shielding mode (such as a scratch-off coating) for verifying authenticity of the product. The anti-counterfeiting code is not exposed until it flows into the hands of the end consumer.
3. Tracking code
The tracking code is used to identify a particular item, which may be displayed in the form of a two-dimensional code, typically used to track a link of items. The tracking code can be obtained by the anti-counterfeiting code through a preset algorithm, the process is irreversible, namely, the anti-counterfeiting code can only be generated by the anti-counterfeiting code, but the anti-counterfeiting code cannot be obtained by the tracking code, and the two codes have strong correlation.
4. NFT certificate
NFT is an abbreviation for Non-fungal Token, representing Non-homogeneous evidence. In the blockchain technique, the NFT certificate is essentially a record in the blockchain, and is not divisible and cannot be mixed with other records. The NFT certificate is a certificate generated by utilizing an NFT technology, and naturally has the characteristics of trueness, credibility and tamper resistance. In the application, the authority certification authority issues NFT certificates for the output in combination with the quality inspection results of the quality inspection authority for the raw materials, the production process, the output (raw materials or products), etc., wherein the NFT certificates include the tracking codes of the output, the certificates of the raw materials (the basic raw materials do not include this item), and the batch information (including the batch number, the tracking codes of each single product, the production time, the production place, etc.).
The purpose of the present application is to build a product traceability system capable of traceability of a product based on a blockchain network, as shown in fig. 1, the product traceability system includes an information entry platform 110, a certificate management platform 120, a traceability platform 130, a plurality of business clients 140, and a plurality of user clients 150. The information input platform 110 is responsible for inputting information (including batch information, circulation and quality inspection data of the output) of the output (raw materials or products), and the bottom layer of the information input platform uses a block chain network to store data, so that the data is not tampered, and anti-counterfeiting codes and tracking codes of the output are generated. The certificate management platform 120 is responsible for application and issuance of NFT certificates, and in the process, NFT certificates are issued for production lots of output in combination with lot quality inspection data. The traceability platform 130 is responsible for tracing the source of the output when the output has traceability requirements. The merchant terminal 140 is a terminal used by the merchant who produces the output. The user terminal 150 is a terminal used by a user of the product.
The information entry platform 110, the certificate management platform 120, and the traceability platform 130 may be implemented by one server or a server cluster, which is not limited in this embodiment.
Data in the traditional tracing system is usually recorded by a central mechanism, and once the data of the central mechanism is destroyed, the data is equivalent to complete 'dead body destruction, trail everywhere'. In the block chain network, each node has the same data record backup, and a single node has a problem and cannot influence the whole system and the data records. Therefore, the product traceability system built based on the blockchain network greatly improves the data security.
In addition, in the traditional traceability system, a plurality of mechanisms modify data just like home dinner. In the blockchain network, all nodes have the same data records, and it is meaningless to modify the data of the nodes, and unless more than 51% of the nodes in the whole network system can be controlled, the system can refer to the records of a plurality of nodes to judge the real data. Therefore, the product traceability system built based on the blockchain network can ensure that data is difficult to tamper.
The product in this embodiment may be obtained by processing the raw material once, or may be obtained by processing the raw material in a chain manner for a plurality of times. When multiple times of processing are needed, the lower-level raw material can be processed to obtain the upper-level raw material, then the upper-level raw material is processed to obtain the higher-level raw material, and so on, and finally the product is obtained.
When a merchant produces the lowest-level material (which may also be referred to as base material), the information linking flow for that material is shown in FIG. 2.
Step 201, the merchant side sends a batch request to the information entry platform, wherein the batch request includes batch information and batch quantity of batch raw materials.
After a merchant produces a batch of raw material single products, a batch request can be sent to the information entry platform through the merchant terminal, wherein the batch request comprises batch information and batch quantity. The batch information may include, but is not limited to: lot number, production time, place of production. The batch number is the total number of the material units in the batch, for example, if the batch produces 300 material units, the batch number is 300.
Step 202, the information entry platform sends the combination codes with the same quantity as the batches to the merchant end, and each group of combination codes comprises the anti-counterfeiting code and the tracking code of one raw material single product.
Still taking the batch number of 300 as an example, the information entry platform generates 300 combined codes, and each combined code comprises an anti-counterfeiting code and a tracking code, so as to ensure that each raw material single product has different anti-counterfeiting codes and tracking codes.
The information entry platform can generate the anti-counterfeiting code through a preset algorithm, then the anti-counterfeiting code is calculated through a message digest algorithm, and the obtained digest is determined as the tracking code. Taking the message digest algorithm as MD5 as an example, the information entry platform may calculate the anti-counterfeit code according to MD5 to obtain a digest, and determine the digest as the corresponding tracking code.
The traditional tracing system only uses anti-counterfeiting codes for anti-counterfeiting, but is difficult to trace the source of products, and even if the products support the tracing, the tracing information has low credibility due to the problem of data security. In the embodiment, the anti-counterfeiting code is used for generating the tracking code, and the anti-counterfeiting code is combined with the tracking code, so that the anti-counterfeiting code is used for anti-counterfeiting inquiry, and the tracking code is used for link tracking, so that the product can be anti-counterfeiting, and can be traced in an extremely credible mode, and 'one genuine product and one link' are ensured.
And 203, the merchant receives the combination codes, and each group of combination codes is attached to the corresponding raw material single product.
The merchant can attach the anti-counterfeiting code and the tracking code to the corresponding raw material single product and physically shield the anti-counterfeiting code.
And 204, correspondingly storing the raw material information and the tracking code of each raw material single product into the block chain network by the merchant terminal through the information input platform.
After determining the combination code of each raw material single product, the merchant can correspondingly store the raw material information and the tracking code of each raw material single product into the block chain through the merchant terminal.
Step 205, the information entry platform receives the quality inspection data of the batch of raw materials, and stores the batch information of the batch of raw materials corresponding to the quality inspection data in the block chain network.
After the batch of raw materials are completely recorded, the merchant can submit a batch quality inspection application to a quality inspection mechanism, the quality inspection mechanism can perform quality inspection on the batch of raw materials, and the obtained quality inspection data and batch information are correspondingly recorded into the information recording platform.
Step 206, the merchant side sends a certificate request to the certificate management platform, wherein the certificate request includes batch information of the batch materials.
After the batch materials have quality control data, the merchant can send a certificate request to the certificate management platform through the merchant terminal, wherein the certificate request contains batch information of the batch materials.
Step 207, the certificate management platform acquires the quality inspection data corresponding to the batch information of the batch of raw materials from the blockchain network, generates a batch NFT certificate of the batch of raw materials when the quality inspection is determined to be qualified according to the quality inspection data, and stores the batch NFT certificate of the batch of raw materials in the blockchain network corresponding to the batch information of the batch of raw materials.
The certificate management platform can acquire quality inspection data of batch raw materials according to the batch information, and when the quality inspection is determined to be qualified according to the quality inspection data, the certificate management platform issues a batch of NFT certificates and stores the batch of NFT certificates corresponding to the batch information; when the quality inspection is determined to be unqualified according to the quality inspection data, the certificate management platform does not issue a batch of NFT certificates.
In the production process of raw materials, professional quality inspection organizations in various industries perform quality supervision and detection on batches of raw materials, and after the batches are detected to be qualified, a certificate management platform issues batches of NFT certificates for the produced batches of raw materials, and the NFT certificates are marked as high-quality resources or certified products.
In summary, the merchant needs to sequentially perform the four steps of batch application, tracking code association, quality inspection submission and certificate application, and finally realize information chaining of the batch materials, as shown in fig. 3. When the batch of raw materials produced by the merchant is qualified, the block chain network stores batch information, quality inspection data, batch NFT certificates of the batch of raw materials, and anti-counterfeiting codes, tracking codes and raw material information of each raw material single product, so that the raw material single products can be traced on the block chain network, and the authenticity of the raw material single products can also be identified.
When a merchant generates a higher-level batch of raw materials according to at least one lower-level raw material unit, the uplink flow of information of the higher-level batch of raw materials is shown in fig. 4.
And step 401, the merchant end performs authenticity verification on the anti-counterfeiting code and the tracking code on the subordinate raw material single product.
Because the anti-counterfeiting code and the tracking code are attached to the subordinate raw material sheet, and the anti-counterfeiting code and the tracking code can be two-dimensional codes, the merchant terminal can scan the two-dimensional codes on the subordinate raw material sheet respectively to obtain the anti-counterfeiting code and the tracking code. Then, the merchant end can send the anti-counterfeiting code and the tracking code to the tracing platform for authenticity verification.
The tracing platform generates a tracing code according to the anti-counterfeiting code of the lower-level raw material single product; comparing whether the generated tracking code is the same as the received tracking code; if the generated tracking code is the same as the received tracking code, determining that the received tracking code is not tampered, and continuously checking the anti-counterfeiting code and the tracking code; and if the generated tracking code is different from the received tracking code, determining that the received anti-counterfeiting code or the received tracking code is tampered, and generating prompt information of a counterfeit product to send to the merchant end.
(1) Verification of anti-counterfeiting codes
And the traceability platform generates an anti-counterfeiting result of the subordinate raw material single product according to the anti-counterfeiting code, sends the anti-counterfeiting result to the merchant terminal, and the merchant terminal displays the anti-counterfeiting result. The following describes the process of the tracing platform generating the anti-counterfeiting result.
When the anti-counterfeiting code of the subordinate raw material single product is inquired for the first time, the source tracing platform acquires the raw material information of the subordinate raw material single product according to the anti-counterfeiting code, and generates an anti-counterfeiting result containing the raw material information and the genuine product prompt information.
After receiving the raw material information, the merchant can verify whether the raw material information is consistent with the subordinate raw material single product taken by the merchant.
The merchant can also know whether the subordinate raw material single product is the genuine product or not according to the genuine product prompt information.
When the anti-counterfeiting code of the subordinate raw material single product is not inquired for the first time, the source tracing platform acquires the raw material information and the historical inquiry time of the subordinate raw material single product according to the anti-counterfeiting code, and generates an anti-counterfeiting result containing the raw material information and the historical inquiry time.
After receiving the raw material information, the merchant can verify whether the raw material information is consistent with the subordinate raw material single product taken by the merchant. The historical query time may be:
time to query 1: 2021-12-0912:12:12
Time to query 2: 2021-12-2912:12:12
(2) Verification of tracking codes
The tracing platform acquires batch information and batch NFT certificates of lower-level raw material single products stored corresponding to the tracking codes from the blockchain network, and sends the batch information and the batch NFT certificates to the merchant terminal, wherein the batch NFT certificates are issued after quality inspection of the batch of lower-level raw material single products is qualified; and displaying the batch information and the batch NFT certificate by the merchant terminal.
Namely, if the merchant receives the batch information and the batch NFT certificate sent by the traceability platform, determining the traceability of the subordinate raw material single product; and if the merchant end does not receive the batch information and the batch NFT certificate sent by the traceability platform, determining that the subordinate raw material single product is not traceable.
It should be noted that, when the next raw material sheet is generated from the next raw material sheet, the information fed back by the tracing platform further includes a tracking code of the next raw material sheet, where the tracking code is used to trace the source of the batch information and the batch NFT certificate of the next raw material sheet, and details are not repeated here.
After determining that the subordinate raw material single product is genuine and traceable, the merchant can process the subordinate raw material single product to obtain the superior batch raw materials.
Step 402, the merchant side sends a batch request to the information entry platform, wherein the batch request includes batch information of the upper-level batch raw materials, batch quantity and tracking codes of the lower-level raw material single products.
Since the lower material units are used in the upper-level batch of material, the batch request also needs to include the tracking codes of all the lower material units used in processing, so as to associate the tracking codes of the upper-level batch of material and the lower material units.
And 403, sending the combination codes with the same quantity as the batches to the merchant terminal by the information entry platform, wherein each combination code comprises an anti-counterfeiting code and a tracking code of a superior raw material single product.
In step 404, the merchant receives the combination codes, and each combination code is attached to the corresponding upper-level raw material single product.
And 405, correspondingly storing the raw material information and the tracking code of each superior raw material single product into a block chain network through an information input platform by the merchant terminal.
And 406, the information entry platform receives the quality inspection data of the upper-level batch raw materials, and stores the quality inspection data corresponding to the batch information of the upper-level batch raw materials into the block chain network.
Step 407, the merchant side sends a certificate request to the certificate management platform, wherein the certificate request includes batch information of the superior batch of raw materials.
Step 408, the certificate management platform acquires quality inspection data corresponding to the batch information of the upper-level batch of raw materials from the blockchain network, generates a batch NFT certificate of the upper-level batch of raw materials when the quality inspection is determined to be qualified according to the quality inspection data, and stores the batch NFT certificate of the upper-level batch of raw materials in the blockchain network corresponding to the batch information of the upper-level batch of raw materials.
The process of steps 403-.
Compared with the lower raw material (base raw material), before the merchant produces the upper raw material, a step of verifying whether the lower raw material is a genuine product needs to be added, and the upper raw material is reprocessed after the lower raw material is determined to be the genuine product. When the authenticity of the lower-level raw material is verified, the authenticity of the anti-counterfeiting code and the tracking code of the lower-level raw material can be verified.
When a merchant produces a product, the product may be regarded as an upper-level raw material, so the information linking process of the product may refer to fig. 4, which is not described herein again.
Referring to fig. 5, for example, when the production flow includes raw materials, semi-finished products, and finished products, the batch raw materials may be subjected to quality inspection, a batch NFT certificate is issued after the quality inspection is qualified, and the batch information, the batch NFT certificate, the anti-counterfeiting code, and the tracking code are stored in the blocks on the block chain network. Similarly, the semi-finished products and the finished products can be processed, and finally, the traceability information of the products is stored on the block chain network in a chain structure.
After the information of the product is linked, the merchant can sell the product, and the user can trace the source of the product after obtaining the product. Referring to fig. 6, a flowchart of a method for a blockchain-based product tracing method according to an embodiment of the present application is shown, where the blockchain-based product tracing method can be applied to the product tracing system shown in fig. 1. The block chain-based product tracing method can include:
step 601, the user side obtains the anti-counterfeiting code and the tracking code from the target product, and sends the anti-counterfeiting code and the tracking code to the tracing platform.
The anti-counterfeiting code is attached to the target product, a user can scratch off the coating, and then the user side scans the exposed two-dimensional code to obtain the anti-counterfeiting code. In addition, the target product is also attached with a tracking code, and a user can scan by using a user side to obtain the tracking code.
After the anti-counterfeiting code and the tracking code are obtained, the user side can send the anti-counterfeiting code and the tracking code to the tracing platform, so that the tracing platform can verify whether the target product is a genuine product by using the anti-counterfeiting code, and can trace the source of the target product by using the tracking code.
Step 602, the tracing platform generates an anti-counterfeiting result of the target product according to the anti-counterfeiting code, acquires the batch information of the target product, the batch NFT certificate and the tracking code of each raw material item, which are stored corresponding to the tracking code, from the block chain network, and sends the anti-counterfeiting result, the batch information, the batch NFT certificate and the tracking code of each raw material item to the user terminal, wherein the batch NFT certificate is a certificate issued after the quality of a batch of products is qualified.
The tracing platform generates a tracing code according to the anti-counterfeiting code of the target product; comparing whether the generated tracking code is the same as the received tracking code; if the generated tracking code is the same as the received tracking code, determining that the received tracking code is not tampered, and continuously checking the anti-counterfeiting code and the tracking code; and if the generated tracking code is different from the received tracking code, determining that the received anti-counterfeiting code or the received tracking code is tampered, and generating prompt information of a counterfeit product to send to the user side.
Specifically, the tracing platform may generate the tracing code according to a message digest algorithm and the anti-counterfeiting code. Taking the message digest algorithm as MD5 as an example, the tracing platform may calculate the anti-fake code according to MD5 to obtain a digest, and determine the digest as the generated tracking code.
(1) Verification of anti-counterfeiting codes
And the tracing platform generates an anti-counterfeiting result of the target product according to the anti-counterfeiting code and sends the anti-counterfeiting result to the user side. The following describes the process of the tracing platform generating the anti-counterfeiting result.
When the anti-counterfeiting code of the target product is inquired for the first time, the tracing platform acquires the product information of the target product according to the anti-counterfeiting code and generates an anti-counterfeiting result containing the product information and the genuine product prompt information.
When the anti-counterfeiting code of the target product is not inquired for the first time, the tracing platform acquires the product information and the historical inquiry time of the target product according to the anti-counterfeiting code, and generates an anti-counterfeiting result containing the product information and the historical inquiry time.
(2) Verification of tracking codes
The tracing platform acquires the batch information of the target product, the batch NFT certificate and the tracking code of each raw material single product, which are stored corresponding to the tracking code, from the block chain network, and sends the batch information, the batch NFT certificate and the tracking code of each raw material single product to the user side.
In this embodiment, the tracing platform may obtain the tracking codes of the raw material single products at all levels used in processing the target product, and taking fig. 5 as an example, the tracing platform may obtain the tracking codes of the raw material and the semi-finished product. Or, the tracing platform may only obtain the tracking code of the next-stage raw material single product used when the target product is processed, and taking fig. 5 as an example, the tracing platform may obtain the tracking code of the semi-finished product.
Step 603, the user side displays the anti-counterfeiting result, the batch information, the batch NFT certificate and the tracking code of each raw material single product, wherein the tracking code of the raw material single product is used for tracing the batch information and the batch NFT certificate of the raw material single product.
After receiving the product information, the user can verify whether the product information is consistent with the target product taken by the user. When the anti-counterfeiting code is inquired for the first time, the user can also know whether the target product is a genuine product according to the genuine product prompt information; when the anti-counterfeiting code is not queried for the first time, the user can also obtain historical query time. Such as:
time to query 1: 2021-12-0912:12:12
Time to query 2: 2021-12-2912:12:12
If the user side receives batch information, batch NFT certificates and tracking codes of the raw material single products, which are sent by the traceability platform, the traceability of the target product is determined; and if the user side does not receive the batch information, the batch NFT certificate and the tracking code of the raw material single product sent by the traceability platform, determining that the target product is not traceable.
It should be noted that, in this embodiment, only the tracing of the target product by the user is taken as an example for description, in the circulation process, the circulation staff cannot obtain the anti-counterfeit code on the target product, but can obtain the tracking code on the target product, and then can send the tracking code to the tracing platform, and the tracing platform traces the source of the target product, and the tracing process is the same as the above-mentioned process, and is not described here again.
In summary, according to the block chain-based product tracing method provided by the embodiment of the present application, since the batch information, the batch NFT certificate, and the tracking code of each raw material item are all stored in the block chain network, the trueness and reliability of the data can be ensured, and the data cannot be tampered. And secondly, associating the anti-counterfeiting code, the tracking code, the batch information and the batch NFT certificate, and determining that the tracing path of the product is real and credible while ensuring that the product is a genuine product. And finally, application and issuance of batch NFT certificates are introduced in the production link, so that a credible certificate is provided for material guarantee and subsequent traceability of products.
When a user needs to trace the source of a raw material single product, please refer to fig. 7, which shows a flowchart of a method for tracing a product based on a blockchain according to an embodiment of the present application, where the method for tracing a product based on a blockchain can be applied to the product tracing system shown in fig. 1. The block chain-based product tracing method can include:
step 701, when a tracing instruction of a tracing code for any raw material single product is received, a user side sends a tracing request containing the tracing code of the raw material single product to a tracing platform.
The user side can display the tracking codes of the raw material single products in a link form, and when the user clicks the link, the user side receives the tracing instruction; alternatively, the user terminal may receive a voice, and recognize the tracing instruction from the voice. After receiving the tracing instruction, the user side sends the tracing instruction to the tracing platform.
Step 702, when the raw material sheet is generated from at least one lower-level raw material sheet, the tracing platform acquires, from the blockchain network, the batch information of the raw material sheet, the batch NFT certificate, and the tracking code of the at least one lower-level raw material sheet, which are stored in correspondence to the tracking code, and sends the batch information, the batch NFT certificate, and the tracking code of the at least one lower-level raw material sheet to the user side, where the user side displays the batch information, the batch NFT certificate, and the tracking code of the at least one lower-level raw material sheet is used for tracing the batch information and the batch NFT certificate of the lower-level raw material sheet.
When the raw material single product is generated by at least one lower raw material single product, the user side displays the batch information and the batch NFT certificate of the raw material single product and also displays the tracking code of the lower raw material single product so as to trace the source of the lower raw material single product.
And 703, when the raw material single product is the raw material single product at the lowest level, the traceability platform acquires the batch information and the batch NFT certificate of the raw material single product, which are stored corresponding to the tracking code, from the blockchain network, and sends the batch information and the batch NFT certificate to the user side, and the user side displays the batch information and the batch NFT certificate.
When the material sheet is the lowest-level material sheet (base material), the user side displays the batch information and the batch NFT certificate of the material sheet.
In summary, according to the block chain-based product tracing method provided by the embodiment of the present application, since the batch information, the batch NFT certificate, and the tracking code of each raw material item are all stored in the block chain network, the trueness and reliability of the data can be ensured, and the data cannot be tampered. And secondly, associating the anti-counterfeiting code, the tracking code, the batch information and the batch NFT certificate, and determining that the tracing path of the product is real and credible while ensuring that the product is a genuine product. And finally, application and issuance of batch NFT certificates are introduced in the production link, so that a credible certificate is provided for material guarantee and subsequent traceability of products.
Referring to fig. 8, when tracing a target product, a tracking code may be generated according to an anti-counterfeit code, and then a tracing result of the product is obtained according to the tracking code, where the tracing result of the product includes batch information of the target product, a batch NFT certificate, and tracking codes of raw materials 1 and 2; obtaining a tracing result of the raw material 1 according to the tracing code of the raw material 1, wherein the tracing result of the raw material 1 comprises batch information of the raw material 1, a batch NFT certificate of the raw material 1 and a tracing code of the raw material 3; obtaining a tracing result of the raw material 3 according to the tracing code of the raw material 3, wherein the tracing result of the raw material 3 comprises batch information of the raw material 3, a batch NFT certificate of the raw material 3 and a tracing code of the raw material 4; obtaining a tracing result of the raw material 4 according to the tracking code of the raw material 4, wherein the tracing result of the raw material 4 comprises batch information of the raw material 4 and a batch NFT certificate of the raw material 4; obtaining a tracing result of the raw material 2 according to the tracing code of the raw material 2, wherein the tracing result of the raw material 2 comprises batch information of the raw material 2, a batch NFT certificate of the raw material 2 and the tracing codes of the raw materials 5 and 6; obtaining a tracing result of the raw material 5 according to the tracking code of the raw material 5, wherein the tracing result of the raw material 5 comprises batch information of the raw material 5 and a batch NFT certificate of the raw material 5; and obtaining a tracing result of the raw material 6 according to the tracking code of the raw material 6, wherein the tracing result of the raw material 6 comprises batch information of the raw material 6 and a batch NFT certificate of the raw material 6.
FIG. 1 illustrates a blockchain-based product tracing system that may include a user side 150 and a tracing platform 130;
the user side 150 is used for acquiring the anti-counterfeiting code and the tracking code from the target product and sending the anti-counterfeiting code and the tracking code to the tracing platform 130;
the tracing platform 130 is configured to generate an anti-counterfeiting result of the target product according to the anti-counterfeiting code, acquire, from the blockchain network, batch information of the target product, a batch NFT certificate, and a tracking code of each raw material item, which are stored in correspondence with the tracking code, and send the anti-counterfeiting result, the batch information, the batch NFT certificate, and the tracking code of each raw material item to the user terminal 150, where the batch NFT certificate is a certificate issued after quality inspection of a batch of products is qualified;
the user end 150 is further configured to display the anti-counterfeiting result, the batch information, the batch NFT certificate, and the tracking code of each raw material single product, where the tracking code of the raw material single product is used to trace the source of the batch information of the raw material single product and the batch NFT certificate.
In an optional embodiment, when receiving a tracing instruction for the tracking code of any raw material unit, the user terminal 150 is further configured to send a tracing request containing the tracking code of the raw material unit to the tracing platform 130;
when the raw material single product is generated from at least one lower-level raw material single product, the traceability platform 130 is further configured to obtain, from the blockchain network, batch information of the raw material single product, a batch NFT certificate, and a tracking code of the at least one lower-level raw material single product, which are stored in correspondence with the tracking code, send the batch information, the batch NFT certificate, and the tracking code of the at least one lower-level raw material single product to the user terminal 150, and the user terminal 150 is further configured to display the batch information, the batch NFT certificate, and the tracking code of the at least one lower-level raw material single product, where the tracking code of the at least one lower-level raw material single product is used to traceability the batch information and the batch NFT certificate of the lower-level raw material single product;
when the raw material sheet is the lowest raw material sheet, the traceability platform 130 is further configured to obtain the batch information and the batch NFT certificate of the raw material sheet stored corresponding to the tracking code from the blockchain network, send the batch information and the batch NFT certificate to the user terminal 150, and the user terminal 150 is further configured to display the batch information and the batch NFT certificate.
In an optional embodiment, the product tracing system further includes a merchant end 140, an information entry platform 110 and a certificate management platform 120;
the merchant terminal 140 is configured to obtain the anti-counterfeit code and the tracking code of each raw material single product in the batch of raw materials from the information entry platform 110, and correspondingly store the raw material information and the tracking code of each raw material single product in the block chain network through the information entry platform 110;
the information input platform 110 is configured to receive quality inspection data of batches of raw materials, and store batch information of the batches of raw materials corresponding to the quality inspection data in the blockchain network;
the merchant 140 is further configured to send a certificate request to the certificate management platform 120, where the certificate request includes batch information of the batch materials;
the certificate management platform 120 is configured to obtain quality inspection data corresponding to batch information of the batch of raw materials from the blockchain network, generate a batch NFT certificate of the batch of raw materials when the quality inspection is determined to be qualified according to the quality inspection data, and store the batch NFT certificate of the batch of raw materials in the blockchain network corresponding to the batch information of the batch of raw materials.
In an optional embodiment, the merchant terminal 140 is further configured to send a batch request to the information entry platform 110, where the batch request includes batch information and batch quantity of batch materials;
the information entry platform 110 is further configured to send combination codes equal to the number of batches to the merchant terminal 140, where each group of combination codes includes an anti-counterfeiting code and a tracking code of a raw material single product;
the merchant end 140 is further configured to receive the combination codes, and each combination code is attached to the corresponding raw material sheet.
In an alternative embodiment, when the sheet is generated from at least one subordinate sheet, the batch request further includes a tracking code for each subordinate sheet.
In an optional embodiment, when the raw material sheet is generated from at least one lower raw material sheet, the merchant terminal 140 is further configured to obtain the anti-counterfeiting code and the tracking code from the lower raw material sheet before the raw material sheet is generated from the lower raw material sheet, and send the anti-counterfeiting code and the tracking code to the tracing platform 130;
the traceability platform 130 is further configured to generate an anti-counterfeiting result of the lower-level raw material single product according to the anti-counterfeiting code, obtain batch information and a batch NFT certificate of the lower-level raw material single product, which are stored in correspondence with the tracking code, from the blockchain network, and send the anti-counterfeiting result, the batch information and the batch NFT certificate to the merchant terminal 140, where the batch NFT certificate is a certificate issued after the quality of a batch of lower-level raw material single products is qualified;
the merchant 140 is further configured to display the anti-counterfeiting result, the batch information, and the batch NFT certificate.
In an alternative embodiment, the traceability platform 130 is further configured to:
when the anti-counterfeiting code of the lower raw material single product is inquired for the first time, the raw material information of the lower raw material single product is obtained according to the anti-counterfeiting code, and an anti-counterfeiting result comprising the raw material information and the genuine product prompt information is generated;
when the anti-counterfeiting code of the subordinate raw material single product is not inquired for the first time, the raw material information and the historical inquiry time of the subordinate raw material single product are obtained according to the anti-counterfeiting code, and an anti-counterfeiting result containing the raw material information and the historical inquiry time is generated.
In an alternative embodiment, the traceability platform 130 is further configured to:
when the anti-counterfeiting code of the target product is inquired for the first time, the product information of the target product is obtained according to the anti-counterfeiting code, and an anti-counterfeiting result containing the product information and the genuine product prompt information is generated;
when the anti-counterfeiting code of the target product is not inquired for the first time, the product information and the historical inquiry time of the target product are obtained according to the anti-counterfeiting code, and an anti-counterfeiting result containing the product information and the historical inquiry time is generated.
In an alternative embodiment, the traceability platform 130 is further configured to:
generating a tracking code according to the anti-counterfeiting code of the target product;
comparing whether the generated tracking code is the same as the received tracking code;
and if the generated tracking code is the same as the received tracking code, determining that the received tracking code is not tampered.
In summary, according to the block chain-based product traceability system provided in the embodiment of the present application, since the batch information, the batch NFT certificate, and the tracking code of each raw material item are all stored on the block chain network, the trueness and reliability of the data can be ensured, and the data cannot be tampered. And secondly, associating the anti-counterfeiting code, the tracking code, the batch information and the batch NFT certificate, and determining that the tracing path of the product is real and credible while ensuring that the product is a genuine product. And finally, application and issuance of batch NFT certificates are introduced in the production link, so that a credible certificate is provided for material guarantee and subsequent traceability of products.
One embodiment of the present application provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the block chain based product tracing method as described above.
One embodiment of the present application provides a server, which includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the block chain based product tracing method as described above.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description should not be taken as limiting the embodiments of the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the embodiments of the present application.

Claims (10)

1. A block chain-based product tracing method is used in a product tracing system comprising a user side and a tracing platform, and the method comprises the following steps:
the user side acquires an anti-counterfeiting code and a tracking code from a target product and sends the anti-counterfeiting code and the tracking code to the tracing platform;
the tracing platform generates an anti-counterfeiting result of the target product according to the anti-counterfeiting code, acquires batch information, batch NFT certificates and tracking codes of all raw material single products of the target product, which are stored corresponding to the tracking codes, from a block chain network, and sends the anti-counterfeiting result, the batch information, the batch NFT certificates and the tracking codes of all raw material single products to the user side, wherein the batch NFT certificates are certificates issued after quality inspection of a batch of products is qualified;
and the user side displays the anti-counterfeiting result, the batch information, the batch NFT certificate and the tracking code of each raw material single product, wherein the tracking code of each raw material single product is used for tracing the batch information and the batch NFT certificate of each raw material single product.
2. The method of claim 1, further comprising:
when a tracing instruction of a tracing code for any raw material single product is received, the user side sends a tracing request containing the tracing code of the raw material single product to the tracing platform;
when the raw material single product is generated by at least one lower-level raw material single product, the traceability platform acquires batch information, a batch NFT certificate and a tracking code of the at least one lower-level raw material single product, which are stored corresponding to the tracking code, from the blockchain network, and sends the batch information, the batch NFT certificate and the tracking code of the at least one lower-level raw material single product to the user side, and the user side displays the batch information, the batch NFT certificate and the tracking code of the at least one lower-level raw material single product, wherein the tracking code of the at least one lower-level raw material single product is used for tracing the batch information and the batch NFT certificate of the lower-level raw material single product;
when the raw material single product is the lowest raw material single product, the traceability platform acquires the batch information and the batch NFT certificate of the raw material single product, which are stored corresponding to the tracking code, from the blockchain network, and sends the batch information and the batch NFT certificate to the user side, and the user side displays the batch information and the batch NFT certificate.
3. The method according to claim 2, wherein when a merchant end, an information entry platform and a certificate management platform are further included in the product tracing system, the method further comprises:
the merchant side acquires the anti-counterfeiting code and the tracking code of each raw material single product in the batch of raw materials from the information input platform, and correspondingly stores the raw material information and the tracking code of each raw material single product into the block chain network through the information input platform;
the information input platform receives the quality inspection data of the batch of raw materials, and stores the batch information of the batch of raw materials corresponding to the quality inspection data into the block chain network;
the merchant terminal sends a certificate request to the certificate management platform, wherein the certificate request comprises batch information of the batch of raw materials;
the certificate management platform acquires quality inspection data corresponding to the batch information of the batch of raw materials from the blockchain network, generates batch NFT certificates of the batch of raw materials when the quality inspection data determine that the quality inspection is qualified, and stores the batch NFT certificates of the batch of raw materials corresponding to the batch information of the batch of raw materials in the blockchain network.
4. The method of claim 3, wherein the merchant location obtains the anti-counterfeiting code and the tracking code for each raw material item in the batch of raw materials from the information entry platform, comprising:
the merchant side sends a batch request to the information entry platform, wherein the batch request comprises batch information and batch quantity of the batch raw materials;
the information entry platform sends the combination codes with the same quantity as the batches to the merchant end, and each group of combination codes comprises an anti-counterfeiting code and a tracking code of a raw material single product;
and the merchant end receives the combination codes, and each group of combination codes is attached to the corresponding raw material single product.
5. The method of claim 4, wherein when the raw material sheet is generated from at least one subordinate raw material sheet, the batch request further includes a tracking code for each subordinate raw material sheet.
6. The method of claim 3, wherein when the sheet of stock is produced from at least one subordinate sheet of stock, the method further comprises:
before the raw material single product is generated according to the lower raw material single product, the merchant side acquires an anti-counterfeiting code and a tracking code from the lower raw material single product, and sends the anti-counterfeiting code and the tracking code to the source tracing platform;
the tracing platform generates an anti-counterfeiting result of the subordinate raw material single product according to the anti-counterfeiting code, acquires batch information and batch NFT certificates of the subordinate raw material single product, which are stored corresponding to the tracking code, from the block chain network, and sends the anti-counterfeiting result, the batch information and the batch NFT certificates to the merchant terminal, wherein the batch NFT certificates are certificates issued after quality inspection of a batch of subordinate raw material single products is qualified;
and the merchant terminal displays the anti-counterfeiting result, the batch information and the batch NFT certificate.
7. The method according to claim 6, wherein the tracing platform generates an anti-counterfeiting result of the subordinate raw material single product according to the anti-counterfeiting code, and comprises:
when the anti-counterfeiting code of the lower raw material single product is inquired for the first time, the source tracing platform acquires the raw material information of the lower raw material single product according to the anti-counterfeiting code and generates an anti-counterfeiting result comprising the raw material information and genuine product prompt information;
when the anti-counterfeiting code of the subordinate raw material single product is not inquired for the first time, the source tracing platform acquires the raw material information and the historical inquiry time of the subordinate raw material single product according to the anti-counterfeiting code, and generates an anti-counterfeiting result containing the raw material information and the historical inquiry time.
8. The method according to any one of claims 1 to 7, wherein the tracing platform generates an anti-counterfeiting result of the product according to the anti-counterfeiting code, and comprises:
when the anti-counterfeiting code of the target product is inquired for the first time, the tracing platform acquires the product information of the target product according to the anti-counterfeiting code and generates an anti-counterfeiting result containing the product information and the genuine product prompt information;
when the anti-counterfeiting code of the target product is not inquired for the first time, the tracing platform acquires the product information and the historical inquiry time of the target product according to the anti-counterfeiting code and generates an anti-counterfeiting result containing the product information and the historical inquiry time.
9. The method of claim 8, further comprising:
the tracing platform generates a tracing code according to the anti-counterfeiting code of the target product;
the tracing platform compares whether the generated tracing code is the same as the received tracing code;
if the generated tracking code is the same as the received tracking code, the tracing platform determines that the received tracking code is not tampered.
10. A product traceability system based on a block chain is characterized by comprising a user side and a traceability platform;
the user side is used for acquiring an anti-counterfeiting code and a tracking code from a target product and sending the anti-counterfeiting code and the tracking code to the tracing platform;
the tracing platform is used for generating an anti-counterfeiting result of the target product according to the anti-counterfeiting code, acquiring batch information, batch NFT certificates and tracking codes of all raw material single products of the target product, which are stored corresponding to the tracking codes, from a block chain network, and sending the anti-counterfeiting result, the batch information, the batch NFT certificates and the tracking codes of all raw material single products to the user side, wherein the batch NFT certificates are certificates issued after quality inspection of a batch of products is qualified;
the user side is further configured to display the anti-counterfeiting result, the batch information, the batch NFT certificate, and a tracking code of each raw material single product, where the tracking code of the raw material is used to trace the source of the batch information of the raw material single product and the batch NFT certificate.
CN202111656737.5A 2021-12-30 2021-12-30 Product tracing method and system based on block chain Pending CN114463019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111656737.5A CN114463019A (en) 2021-12-30 2021-12-30 Product tracing method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111656737.5A CN114463019A (en) 2021-12-30 2021-12-30 Product tracing method and system based on block chain

Publications (1)

Publication Number Publication Date
CN114463019A true CN114463019A (en) 2022-05-10

Family

ID=81407961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111656737.5A Pending CN114463019A (en) 2021-12-30 2021-12-30 Product tracing method and system based on block chain

Country Status (1)

Country Link
CN (1) CN114463019A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116109325A (en) * 2023-01-05 2023-05-12 重庆云厨明视物联网科技有限公司 Internet of things-based food safety control and tracing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116109325A (en) * 2023-01-05 2023-05-12 重庆云厨明视物联网科技有限公司 Internet of things-based food safety control and tracing system and method
CN116109325B (en) * 2023-01-05 2024-02-02 重庆云厨明视物联网科技有限公司 Internet of things-based food safety control and tracing system and method

Similar Documents

Publication Publication Date Title
CN110335149B (en) Asset right-confirming transaction implementation method and system based on block chain
US20210342957A1 (en) Secure and traceable manufactured parts
Ge et al. Blockchain for agriculture and food: Findings from the pilot study
WO2020063185A1 (en) Blockchain-based anti-counterfeiting method and apparatus, and electronic device
US20190303623A1 (en) Promotion smart contracts for software development processes
US20190303579A1 (en) Decentralized, immutable, tamper-evident, directed acyclic graphs documenting software supply-chains with cryptographically signed records of software-development life cycle state and cryptographic digests of executable code
US6904416B2 (en) Signature verification using a third party authenticator via a paperless electronic document platform
WO2020098373A1 (en) Method and device for storing merchant authentication data into blockchain, and method and device for obtaining merchant authentication data from blockchain
US11562451B1 (en) Apparatus for proportional calculation regarding non-fungible tokens
CN108881166A (en) A kind of virtual account block chain of band external fixture reason node type verifies system
US20220329436A1 (en) Token-based identity validation via blockchain
CN111222175A (en) Multi-source data block chain tamper-proof financing credit guarantee method and system
CN112862474A (en) Supply chain management method, system, equipment and storage medium based on block chain
CN114549194A (en) Right asset management service platform based on block chain and implementation method thereof
Sayed Potential of blockchain technology to solve fake diploma problem
CN111339550A (en) Comment information credibility method based on block chain technology
CN111740841A (en) Method and device for generating and verifying tracing code
CN112052033A (en) Power distribution automation master station version management method and system based on process and block chain
CN114463019A (en) Product tracing method and system based on block chain
Eltuhami et al. Identity verification and document traceability in digital identity systems using non-transferable non-fungible tokens
Zhe et al. Blockchain and Logistics
CN113779637B (en) Attribute data processing method, attribute data processing device, attribute data processing equipment and attribute data processing medium
CN114037576A (en) System and method for allocating academic resources
CN112348534A (en) Anti-counterfeiting source tracing code method based on block chain technology
US20230351407A1 (en) System and method for product certification management

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