WO2023005309A1 - Blockchain-based product information processing method, and computer-readable storage medium - Google Patents

Blockchain-based product information processing method, and computer-readable storage medium Download PDF

Info

Publication number
WO2023005309A1
WO2023005309A1 PCT/CN2022/090515 CN2022090515W WO2023005309A1 WO 2023005309 A1 WO2023005309 A1 WO 2023005309A1 CN 2022090515 W CN2022090515 W CN 2022090515W WO 2023005309 A1 WO2023005309 A1 WO 2023005309A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
product
data
circulation
Prior art date
Application number
PCT/CN2022/090515
Other languages
French (fr)
Chinese (zh)
Inventor
艾景海
Original Assignee
合肥海尔电冰箱有限公司
青岛海尔电冰箱有限公司
海尔智家股份有限公司
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 合肥海尔电冰箱有限公司, 青岛海尔电冰箱有限公司, 海尔智家股份有限公司 filed Critical 合肥海尔电冰箱有限公司
Publication of WO2023005309A1 publication Critical patent/WO2023005309A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • the invention relates to data security, in particular to a block chain-based product information processing method and a computer-readable storage medium.
  • the main anti-counterfeiting traceability technologies mainly include barcodes, two-dimensional codes and RFID (Radio Frequency Identification, radio frequency identification) tags.
  • barcodes and QR codes are easy to copy, and the cost of counterfeiting is low.
  • the threshold for counterfeiting RFID tags is high, for some more expensive products, such as household appliances, high-end tobacco and wine, etc., it is still impossible to avoid counterfeiting only by RFID technology.
  • Blockchain Blockchain
  • traceability has been widely used in the fields of finance, Internet of Things, and public services due to its characteristics of unforgeability, traceability, traceability, and collective maintenance.
  • traceability of some products has also adopted blockchain technology, but it can only target some stages such as origin and logistics, and cannot meet the traceability requirements of the entire circulation process of products.
  • An object of the present invention is to provide a blockchain-based product information processing method that realizes the traceability of the entire product circulation process.
  • a further purpose of the present invention is to publish the circulation information aimed at the characteristics of each circulation node on the block chain.
  • Another further object of the present invention is to improve the trustworthiness of the product and prevent counterfeiting.
  • the present invention provides a block chain-based product information processing method, which includes:
  • trusted nodes In the process of product manufacturing, use trusted nodes to generate one-to-one digital certificates corresponding to products, record digital certificates on products, and publish initial trusted data of products on the blockchain;
  • the nodes on the blockchain use the information of the products recorded on the blockchain to verify the data broadcast by the transfer node;
  • the data released by the transfer node is published on the blockchain for query by other trusted nodes.
  • the circulation information includes the source node information of the product, the own certificate of the circulation node, and the data generated by the product in the process of the circulation node.
  • the transfer node includes any one or more of the following: assembly node, detection node, storage node; where
  • the steps for assembly node to generate circulation information include: obtaining the source node information of the product and the assembly node’s own certificate; recording the assembly data generated by the product in the assembly node, and the assembly data includes assembly operation data and component assembly data; according to the source node information, assembly The node's own credentials and assembly data generate the flow information of the assembly node; and/or
  • the steps for the detection node to generate circulation information include: obtaining the source node information of the product and the self-certification of the detection node; recording the detection data generated by the product in the detection node, the detection data includes detection operation data and detection result data; according to the source node information, detection The node's own credentials, detection data generation and detection node flow information; and/or
  • the steps for the storage node to generate circulation information include: obtaining the source node information of the product and the storage node's own certificate; recording the product storage data, and the storage data includes storage operation data and location data; The storage node's own credentials and storage data generate the transfer information of the storage node.
  • the transfer node includes any one or more of the following: sales node, transportation node, purchase node; and
  • the steps for the sales node to generate circulation information include: obtaining the source node information of the product and the sales node’s own certificate; recording the sales data generated by the product in the sales node, the sales data includes sales area data and marketing data; according to the source node information, the sales node The circulation information of the sales node generated by its own vouchers and sales data; and/or
  • the steps for the transport node to generate circulation information include: obtaining the source node information of the product and the transport node’s own certificate; recording the transport data generated by the product in the transport node, the transport data includes transport route data and destination data; according to the source node information, transport The node's own credentials and transportation data generate the circulation information of the transportation node; and/or
  • the steps for the purchase node to generate circulation information include: obtaining the source node information of the product and the purchase node’s own certificate; recording the distribution data generated by the product in the purchase node, and the distribution data includes buyer data and purchase amount data; according to the source node information, transportation The node's own credentials and distribution data generate the circulation information of the transport node.
  • the step of verifying the data broadcast by the transfer node by the nodes on the blockchain using the information of the products recorded on the blockchain includes:
  • the node obtains the data broadcast by the transfer node
  • the method before the step of parsing the broadcast data, the method further includes:
  • the step of authenticating the transfer node according to the node information includes:
  • the step of recording the digital credential on the product includes: writing the digital credential in an RFID tag configured on the product, the RFID tag being a one-time programmable read-only tag; and
  • the step of using the circulation node to obtain the digital certificate recorded on the product and generating the circulation information includes: the circulation node uses the RFID reading device to read the digital certificate stored in the RFID tag.
  • the product after the product is sold, it also includes:
  • the terminal's query request for the product includes the digital certificate scanned by the terminal;
  • a computer-readable storage medium on which a machine-executable program is stored.
  • the machine-executable program is executed by a processor, any one of the above blockchain-based product information processing method.
  • trusted nodes are used to generate digital certificates corresponding to products one by one during the product manufacturing process, and the initial credible data of products are released on the block chain to obtain block chain on the initial record for the product.
  • the circulation node is used to generate circulation information, and the circulation information is broadcast on the blockchain. After the broadcast data reaches a consensus on the blockchain, the information issued by the circulation node is released on the blockchain. The data form the circulation record of the product.
  • the scheme of the present invention realizes the use of block chain to continuously record the circulation information in the production and subsequent circulation process, ensures the traceability of all links of the product from production, testing, delivery, transportation, sales, and after-sales, and fundamentally eliminates counterfeiting Possibly, it provides conditions for improving the reliability of products.
  • the block chain-based product information processing method of the present invention is aimed at the assembly link (corresponding to the assembly node of the block chain), the detection link (corresponding to the block chain detection node), storage link (corresponding to the node of the blockchain), the sales node (corresponding to the node of the blockchain), the transportation node (corresponding to the node of the blockchain), the purchase node (corresponding to the node of the blockchain) ) respectively provide targeted circulation information generation methods to meet the traceability requirements of different links, making blockchain technology more in line with the characteristics of the circulation process of different products.
  • the product information processing method based on blockchain of the present invention optimizes and improves the consensus mechanism and verification mechanism, etc., and improves the reliability and processing efficiency of information.
  • a series of product data recorded on the blockchain form a digital asset corresponding to the product, and the user or the digital certificate owned by the user can determine the corresponding digital assets.
  • users further obtain digital assets on the blockchain. For some special products (such as precious collections, works of art), etc., even if the physical attributes of the product are lost, it will not affect the digital assets recorded on the blockchain.
  • Fig. 1 is a schematic diagram of a block chain-based product information processing method according to an embodiment of the present invention
  • Figure 2 is a schematic block diagram of a machine-readable storage medium according to one embodiment of the present invention.
  • Fig. 3 is a schematic diagram of a system in which a method for processing product information based on blockchain is applied to home appliances according to an embodiment of the present invention.
  • Fig. 1 is a schematic diagram of a method for processing product information based on blockchain according to an embodiment of the present invention.
  • the blockchain-based product information processing method may generally include:
  • Step S102 during the product manufacturing process, use trusted nodes to generate a digital certificate corresponding to the product one by one, record the digital certificate on the product, and release the initial trusted data of the product on the blockchain.
  • the production process of the product is completed on the manufacturer's production line.
  • This process can be trusted.
  • Trustworthy nodes are set up in the production workshop or assembly line to generate digital certificates and form the initial trusted data of the product on the blockchain. That is to say, the method of this embodiment releases the original information of the product on the blockchain during the reliable product manufacturing process as the source of subsequent traceability. Since trusted nodes are arranged in workshops or assembly lines, they can match the manufacturing process of products, are irreplaceable, and can avoid forgery of data sources.
  • Digital vouchers can be recorded through QR codes, RFID, etc.
  • the step of recording the digital credential on the product includes: writing the digital credential in an RFID tag configured on the product, and the RFID tag is a one-time programmable read-only tag. After the RFID tag is written into a digital certificate, its information attribute is set to read-only, which can effectively avoid tampering.
  • RFID tags can be built into the product to prevent replacement or damage.
  • Step S104 during the product circulation process, use the circulation node to obtain the digital certificate recorded on the product and generate the circulation information, bind the circulation information and the digital certificate and broadcast it on the blockchain.
  • the above-mentioned circulation process may include the entire circulation process after the product obtains the digital certificate.
  • it includes the assembly link (corresponding to the assembly node of the blockchain), the inspection link (corresponding to the detection node of the blockchain), the warehousing link (corresponding to the node of the blockchain) in the manufacturing process, and the sales and transportation process.
  • the sales node (corresponding to the node of the blockchain), the shipping node (corresponding to the node of the blockchain), and the purchase node (corresponding to the node of the blockchain) of the network.
  • various targeted circulation information and corresponding data can be formed to meet the traceability requirements of different links, making blockchain technology more in line with the characteristics of the circulation process of different products.
  • Step S106 the nodes on the blockchain use the information of the products recorded on the blockchain to verify the data broadcast by the transfer node. In this way, the characteristics of the blockchain are fully utilized to verify the broadcast data to ensure the authenticity and reliability of the broadcast data.
  • Step S108 after the nodes on the blockchain reach a consensus on the verification result, publish the data released by the transfer node on the blockchain for query by other trusted nodes. Finally, the data released on the blockchain reaches a consensus mechanism for the entire network to ensure that the data is accurately added to the blockchain, and the blockchain information stored by the nodes is consistent without bifurcation and can even resist malicious attacks. Realize the comprehensive transmission of information in the whole network, and can check the accuracy of information, and realize the accurate record of the whole circulation process of products.
  • This embodiment can realize the use of blockchain to continuously record circulation information in the production and subsequent circulation process, ensuring the traceability of all links from production, testing, delivery, transportation, sales, and after-sales, and fundamentally eliminating the possibility of counterfeiting , which provides the conditions for improving the reliability of the product.
  • the above-mentioned circulation information includes the source node information of the product, the own certificate of the circulation node, and the data generated by the product in the link of the circulation node.
  • the source node information may generally be the information of the upstream adjacent nodes of the node.
  • Self-credential information can be recorded by the RFID tag configured on the product itself.
  • the step of using the transfer node to obtain the digital certificate recorded on the product and generate the transfer information includes: the transfer node uses the RFID reading device to read the digital certificate stored in the RFID tag.
  • the flow nodes include any one or more of the following: assembly nodes, testing nodes, and storage nodes.
  • the steps for assembly node to generate circulation information include: obtaining the source node information of the product and the assembly node’s own certificate; recording the assembly data generated by the product in the assembly node, and the assembly data includes assembly operation data and component assembly data; according to the source node information, assembly The node's own credentials and assembly data generate the circulation information of the assembly node.
  • the assembly node can be configured at the assembly station on the production line of the product, and the source node can be the node of the previous process.
  • the assembly operation data may include, but not limited to, various operations performed at the assembly station and their parameters, such as processing parameters, operator information, and the like.
  • Component assembly data may include, but is not limited to, installed component information, such as component parameters, component specifications, and the like.
  • the steps for the detection node to generate circulation information include: obtaining the source node information of the product and the self-certification of the detection node; recording the detection data generated by the product in the detection node, the detection data includes detection operation data and detection result data; according to the source node information, detection The node's own credentials and detection data generate the circulation information of the detection node.
  • the detection node can be set at the detection station of the product.
  • the detection operation data may include: detection operation type, detection personnel information.
  • the test result data includes whether the function is qualified or not, performance parameters, etc.
  • the steps for the storage node to generate circulation information include: obtaining the source node information of the product and the storage node's own certificate; recording the product storage data, and the storage data includes storage operation data and location data; The storage node's own credentials and storage data generate the transfer information of the storage node.
  • An inbound node can be set up at a product's repository.
  • the warehousing operation data may include warehousing time and storage personnel information.
  • the bin location data may include bin location, etc.
  • the circulation node includes any one or more of the following: the circulation node includes any one or more of the following: sales node, transportation node, and purchase node.
  • the steps for the sales node to generate circulation information include: obtaining the source node information of the product and the sales node’s own certificate; recording the sales data generated by the product in the sales node, the sales data includes sales area data and marketing data; according to the source node information, the sales node Its own vouchers and sales data generate the circulation information of sales nodes.
  • the detection node can be set at the seller of the product.
  • the sales area data may include sales area information of the product and dealer information of the product.
  • Marketing data includes: price information, marketing activity information, etc.
  • the steps for the transport node to generate circulation information include: obtaining the source node information of the product and the transport node’s own certificate; recording the transport data generated by the product in the transport node, the transport data includes transport route data and destination data; according to the source node information, transport The node's own credentials and transportation data generate the circulation information of the transportation node.
  • Transit route data may include vehicle type, route confidence, and the like.
  • Destination data may include destination location, arrival time, and the like.
  • the steps for the purchase node to generate circulation information include: obtaining the source node information of the product and the purchase node’s own certificate; recording the distribution data generated by the product in the purchase node, and the distribution data includes buyer data and purchase amount data; according to the source node information, transportation The node's own credentials and distribution data generate the circulation information of the transport node.
  • the purchase node can be configured at the terminal of pre-sale installation or after-sale service.
  • the buyer data may include the buyer's information, installation location, and the like.
  • the circulation node can collect data according to its own needs and generate corresponding circulation information, which can be used to record the data of the entire circulation link of the product.
  • the circulation node After the circulation node generates the circulation information, it can bind the circulation information and the digital certificate and then broadcast it on the blockchain for the nodes on the blockchain to perform consensus calculations.
  • the step of verifying the data broadcast by the transfer node by the nodes on the block chain using the information of the products recorded on the block chain may include: the node obtains the data broadcast by the transfer node; Analyze the data, extract the digital certificate and the source node information of the product; query the information of the product recorded on the blockchain according to the digital certificate; match the queried product information with the source node information of the product, if the match is qualified, The consensus information is broadcast on the blockchain; if the consensus information reaches the consensus conditions preset by the blockchain, the verification is considered to be passed.
  • the information of the product is matched with the information of the source node of the product, and the upstream and downstream relationship of the product circulation can be used to verify the information.
  • the node of the broadcast data Before the step of parsing the broadcast data, you can first verify the node of the broadcast data. Specifically, it can include: obtaining the node information of the transfer node; authenticating the transfer node according to the node information. The step of parsing the data; if the authentication is different, ignore the broadcast data.
  • the specific node authentication can be realized through historical records and authorization records, that is, the steps of authenticating the transfer node according to the node information include: obtaining the block generation record of the transfer node, and performing authentication according to the block generation record; and/ Or obtain the authorization record of the transfer node, and perform authentication based on the authorization record. For example, for a certain circulation node, which has generated a large number of block generation records (such as important circulation links of products), and there are a large number of authorization records of other nodes, it can be considered that the node has passed the authentication. Conversely, if the transfer node broadcasts information for the first time and has no other authorization records, it can be considered that the node has failed authentication and needs to be authorized by other nodes to pass the authentication.
  • the consensus mechanism that can be used may include, but is not limited to: Proof of Work (PoW, Proof of Work), Proof of Stake (PoS, Proof of Stake), Delegated Proof-of-Stake (DPOS, Delegated Proof-of-Stake) ), Byzantine fault tolerance (PBFT, Practical Byzantine Fault Tolerance), distributed consensus protocol (RAFT algorithm), etc.
  • PoW Proof of Work
  • PoS Proof of Stake
  • DPOS Delegated Proof-of-Stake
  • PBFT Practical Byzantine Fault Tolerance
  • RAFT algorithm distributed consensus protocol
  • the product After the product is sold, it can also include: obtaining the query request of the terminal for the product, the query request includes the digital certificate scanned by the terminal; determining the authorization range of the terminal; providing the terminal with the blockchain data corresponding to the query request within the authorization range.
  • the blockchain can open query authority to product users and after-sales personnel within the scope of authorization to meet the requirements for information use.
  • Different terminals can be configured with different authorization scopes. For example, user terminals can obtain information such as origin, function, and after-sales service. The after-sales terminal can obtain accessories, maintenance and other information.
  • FIG. 2 is a schematic block diagram of a machine-readable storage medium 20 according to one embodiment of the present invention.
  • the machine-readable storage medium 20 stores a machine-executable program 210, and when the machine-executable program 210 is executed by a processor, any one of the above-mentioned block chain-based product information processing methods is implemented.
  • the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions for making A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present invention.
  • the aforementioned readable storage medium 20 includes various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
  • each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present invention. Also, the steps for executing the above series of processes can naturally be executed in chronological order according to the illustrated order, but they are not necessarily executed in chronological order, and some steps can be executed in parallel or independently of each other.
  • the object of the present invention can also be achieved by running a program or a group of programs on any computing device.
  • the computing device may be a known general-purpose device. Therefore, the object of the present invention can also be achieved only by providing a program product including program codes for realizing the method or device. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium may be any known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, obviously, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present invention. Also, the steps for performing the above series of processes may naturally be performed in chronological order in the order described, but need not necessarily be performed in chronological order. Certain steps may be performed in parallel or independently of each other.
  • Computing devices equipped with the above-mentioned readable storage medium 20 can be interconnected through a network, which can use any suitable interface or protocol (such as Internet Small Computer System Interface, etc.) to transmit data.
  • the network may be a cellular network, a radio network, a wide area network (WAN), a local area network (LAN), or the Internet, among others, enabling connections to other computing devices through various networks.
  • Fig. 3 is a schematic diagram of a system in which a method for processing product information based on blockchain is applied to home appliances according to an embodiment of the present invention. Household appliances are circulated in each link of production, transportation and sales, and the circulation process and product information are recorded.
  • the home appliance production line 31 writes the digital certificate into the RFID tag of the product according to the self-defined rules, and binds it with the corresponding product.
  • the trusted node 310 generates trusted digital certificates (that is, digital assets), and uploads the RFID trusted data and digital assets to the chain at the same time. The circulation of subsequent products is accompanied by the transfer of trusted credentials.
  • the home appliance production line 31 can also be configured with multiple circulation nodes 311 , such as one or more assembly nodes and one or more testing nodes. Assembly nodes are used to record assembly information, and detection nodes are used to record detection information.
  • a warehouse-in node 331 may be set at the home appliance storage warehouse 33 for recording storage information.
  • Multiple transfer nodes 321, such as sales nodes, transport nodes, and purchase nodes, may be set on the sales distribution line 32 of the home appliance.
  • the product 341 after the final sale can be traced by the user terminal 321 through RFID scanning to trace all the data generated in the circulation link of the product, thereby completing the traceability of the product.
  • the terminal 321 accesses the blockchain through the network to obtain relevant information.
  • a corresponding credible certificate will be generated, and the circulation of the product will be accompanied by the circulation of the credible certificate. Only those who have both the product and the credible certificate corresponding to the product will be considered authentic. In this way, even if the label can be faked, the digital certificate cannot be faked. Thereby fundamentally put an end to the problem of fraud.
  • a series of product data recorded on the blockchain form the digital assets corresponding to the products, and the corresponding digital assets can be determined through the digital certificates owned by the user or user.
  • users further obtain digital assets on the blockchain. For some special products (such as precious gifts, collectibles, works of art), etc., even if the physical attributes of the product are lost, it will not affect the value of the digital assets recorded on the blockchain.
  • the above-mentioned digital assets can be used as NFT (Non-Fungible Token, non-homogeneous assets), and its circulation process reflects its uniqueness and its own value. For example, for commodities with high value (such as collectibles, works of art), etc., the accumulation of information in each circulation process makes digital certificates form independent value on the blockchain. Through digital certificates, users can also indicate their rights to the corresponding digital assets or the rights they once had.
  • NFT Non-Fungible Token, non-homogeneous assets

Abstract

A blockchain-based product information processing method, and a computer-readable storage medium. The method comprises: during a product manufacturing process, generating, by using a trusted node, digital certificates which correspond to products on a one-to-one basis, recording the digital certificates on the products, and publishing initial trusted data of the products on a blockchain; during a product circulation process, acquiring, by using circulation nodes, the digital certificates recorded on the products and generating circulation information, and binding the circulation information and the digital certificates and then broadcasting same on the blockchain; nodes on the blockchain verifying, by using information of the products that has been recorded on the blockchain, data which is broadcast by the circulation nodes; and after reaching a consensus on a verification result, the nodes on the blockchain publishing, on the blockchain, data published by the circulation nodes, such that other trusted nodes can query the data. The source tracing of the entire circulation process of products can be realized, thereby fundamentally eliminating the possibility of counterfeiting.

Description

基于区块链的产品信息处理方法与计算机可读存储介质Blockchain-based product information processing method and computer-readable storage medium 技术领域technical field
本发明涉及数据安全,特别是涉及基于区块链的产品信息处理方法与计算机可读存储介质。The invention relates to data security, in particular to a block chain-based product information processing method and a computer-readable storage medium.
背景技术Background technique
中国的消费市场正在进入一个全新的防伪、可追溯时代,产品防伪溯源成为社会上的热点问题。China's consumer market is entering a new era of anti-counterfeiting and traceability, and product anti-counterfeiting and traceability has become a hot issue in society.
尽管重要产品的追溯国家标准已经制定完成,但是市场上假冒伪劣、以次充好的现象屡见不鲜,为使消费者放心购买产品,企业为其产品提供可以溯源的信息和防伪识别成为重中之重。当前主要的防伪溯源技术主要有条形码、二维码和RFID(Radio Frequency Identification,射频识别)标签的方式。其中条形码、二维码容易复制,造假成本低。而RFID标签虽然造假门槛高,但是对于某些较为贵重的产品,例如家用电器、高档烟酒等,仅靠RFID技术仍然无法避免造假的。Although the national standards for the traceability of important products have been formulated, it is not uncommon for fakes and shoddy products to be sold in the market. In order to make consumers buy products with confidence, enterprises provide traceable information and anti-counterfeiting identification for their products. . At present, the main anti-counterfeiting traceability technologies mainly include barcodes, two-dimensional codes and RFID (Radio Frequency Identification, radio frequency identification) tags. Among them, barcodes and QR codes are easy to copy, and the cost of counterfeiting is low. Although the threshold for counterfeiting RFID tags is high, for some more expensive products, such as household appliances, high-end tobacco and wine, etc., it is still impossible to avoid counterfeiting only by RFID technology.
随着信息及通信技术的发展,区块链(Blockchain)以其不可伪造、全程留痕、可追溯、集体维护等特点,已经在金融、物联网、公共服务领域广泛应用。目前有些产品溯源也已经采用了区块链技术,但是其仅能针对产地、物流等部分阶段,无法满足产品的整个流转过程的溯源要求。With the development of information and communication technology, blockchain (Blockchain) has been widely used in the fields of finance, Internet of Things, and public services due to its characteristics of unforgeability, traceability, traceability, and collective maintenance. At present, the traceability of some products has also adopted blockchain technology, but it can only target some stages such as origin and logistics, and cannot meet the traceability requirements of the entire circulation process of products.
发明内容Contents of the invention
本发明的一个目的是要提供一种实现产品整个流转过程可溯源的基于区块链的产品信息处理方法。An object of the present invention is to provide a blockchain-based product information processing method that realizes the traceability of the entire product circulation process.
本发明一个进一步的目的是要在区块链上发布针对各流转节点的特点的流转信息。A further purpose of the present invention is to publish the circulation information aimed at the characteristics of each circulation node on the block chain.
本发明另一个进一步的目的是要提高产品的可信赖程度,杜绝造假。Another further object of the present invention is to improve the trustworthiness of the product and prevent counterfeiting.
特别地,本发明提供了一种基于区块链的产品信息处理方法,其包括:In particular, the present invention provides a block chain-based product information processing method, which includes:
在产品制造过程中,利用可信赖节点生成与产品一一对应的数字凭证,并在产品上记录数字凭证,并在区块链上发布产品的初始可信数据;In the process of product manufacturing, use trusted nodes to generate one-to-one digital certificates corresponding to products, record digital certificates on products, and publish initial trusted data of products on the blockchain;
在产品的流转过程中,利用流转节点获取产品上记录的数字凭证并生成流转信息,并将流转信息以及数字凭证进行绑定后在区块链上广播;In the process of product circulation, use the circulation node to obtain the digital certificate recorded on the product and generate the circulation information, and broadcast the circulation information and digital certificate on the blockchain after binding;
由区块链上的节点利用区块链上已记录的产品的信息对流转节点广播的数据进行验证;The nodes on the blockchain use the information of the products recorded on the blockchain to verify the data broadcast by the transfer node;
在区块链上的节点对验证结果达成共识后,在区块链上发布流转节点发布的数据,以供其他可信节点查询。After the nodes on the blockchain reach a consensus on the verification results, the data released by the transfer node is published on the blockchain for query by other trusted nodes.
可选地,流转信息包括产品的来源节点信息、流转节点的自身凭证、以及产品在流转节点的环节中产生的数据。Optionally, the circulation information includes the source node information of the product, the own certificate of the circulation node, and the data generated by the product in the process of the circulation node.
可选地,流转节点包括以下任意一项或多项:装配节点、检测节点、入库节点;其中Optionally, the transfer node includes any one or more of the following: assembly node, detection node, storage node; where
装配节点生成流转信息的步骤包括:获取产品的来源节点信息以及装配节点的自身凭证;记录产品在装配节点中产生的装配数据,装配数据包括装配操作数据以及部件装配数据;根据来源节点信息、装配节点的自身凭证、装配数据生成装配节点的流转信息;和/或The steps for assembly node to generate circulation information include: obtaining the source node information of the product and the assembly node’s own certificate; recording the assembly data generated by the product in the assembly node, and the assembly data includes assembly operation data and component assembly data; according to the source node information, assembly The node's own credentials and assembly data generate the flow information of the assembly node; and/or
检测节点生成流转信息的步骤包括:获取产品的来源节点信息以及检测节点的自身凭证;记录产品在检测节点中产生的检测数据,检测数据包括检测操作数据以及检测结果数据;根据来源节点信息、检测节点的自身凭证、检测数据生成检测节点的流转信息;和/或The steps for the detection node to generate circulation information include: obtaining the source node information of the product and the self-certification of the detection node; recording the detection data generated by the product in the detection node, the detection data includes detection operation data and detection result data; according to the source node information, detection The node's own credentials, detection data generation and detection node flow information; and/or
入库节点生成流转信息的步骤包括:获取产品的来源节点信息以及入库节点的自身凭证;记录产品在入库数据,入库数据包括入库操作数据以及库位数据;根据来源节点信息、入库节点的自身凭证、入库数据生成入库节点的流转信息。The steps for the storage node to generate circulation information include: obtaining the source node information of the product and the storage node's own certificate; recording the product storage data, and the storage data includes storage operation data and location data; The storage node's own credentials and storage data generate the transfer information of the storage node.
可选地,流转节点包括以下任意一项或多项:销售节点、运输节点、购买节点;并且Optionally, the transfer node includes any one or more of the following: sales node, transportation node, purchase node; and
销售节点生成流转信息的步骤包括:获取产品的来源节点信息以及销售节点的自身凭证;记录产品在销售节点中产生的销售数据,销售数据包括销售区域数据以及营销数据;根据来源节点信息、销售节点的自身凭证、销售数据生成销售节点的流转信息;和/或The steps for the sales node to generate circulation information include: obtaining the source node information of the product and the sales node’s own certificate; recording the sales data generated by the product in the sales node, the sales data includes sales area data and marketing data; according to the source node information, the sales node The circulation information of the sales node generated by its own vouchers and sales data; and/or
运输节点生成流转信息的步骤包括:获取产品的来源节点信息以及运输节点的自身凭证;记录产品在运输节点中产生的运输数据,运输数据包括运输途径数据以及目的地数据;根据来源节点信息、运输节点的自身凭证、运输数据生成运输节点的流转信息;和/或The steps for the transport node to generate circulation information include: obtaining the source node information of the product and the transport node’s own certificate; recording the transport data generated by the product in the transport node, the transport data includes transport route data and destination data; according to the source node information, transport The node's own credentials and transportation data generate the circulation information of the transportation node; and/or
购买节点生成流转信息的步骤包括:获取产品的来源节点信息以及购买 节点的自身凭证;记录产品在购买节点中产生的经销数据,经销数据包括购买者数据以及购买金额数据;根据来源节点信息、运输节点的自身凭证、经销数据生成运输节点的流转信息。The steps for the purchase node to generate circulation information include: obtaining the source node information of the product and the purchase node’s own certificate; recording the distribution data generated by the product in the purchase node, and the distribution data includes buyer data and purchase amount data; according to the source node information, transportation The node's own credentials and distribution data generate the circulation information of the transport node.
可选地,由区块链上的节点利用区块链上已记录的产品的信息对流转节点广播的数据进行验证的步骤包括:Optionally, the step of verifying the data broadcast by the transfer node by the nodes on the blockchain using the information of the products recorded on the blockchain includes:
节点获取流转节点广播的数据;The node obtains the data broadcast by the transfer node;
对广播的数据进行解析,提取出数字凭证以及产品的来源节点信息;Analyze the broadcast data, extract the digital certificate and the source node information of the product;
根据数字凭证查询区块链上已记录的产品的信息;Query the information of the products recorded on the blockchain according to the digital certificate;
将查询出的产品的信息与产品的来源节点信息进行匹配,若匹配合格,则在区块链上广播共识信息;Match the information of the queried product with the source node information of the product, and if the match is qualified, the consensus information will be broadcast on the blockchain;
若共识信息达到区块链预设的共识条件,则认为验证通过。If the consensus information reaches the consensus condition preset by the blockchain, the verification is considered to be passed.
可选地,广播的数据进行解析的步骤之前还包括:Optionally, before the step of parsing the broadcast data, the method further includes:
获取流转节点的节点信息;Obtain the node information of the transfer node;
根据节点信息对流转节点进行鉴权,Authenticate the transfer node according to the node information,
若鉴权通过,则执行对广播的数据进行解析的步骤;If the authentication is passed, the step of parsing the broadcast data is executed;
若鉴权不同,则忽略广播的数据。If the authentication is different, the broadcast data is ignored.
可选地,根据节点信息对流转节点进行鉴权的步骤包括:Optionally, the step of authenticating the transfer node according to the node information includes:
获取流转节点的区块生成记录,根据区块生成记录进行鉴权;和/或Obtain the block generation record of the transfer node, and perform authentication according to the block generation record; and/or
获取流转节点的授权记录,根据授权记录进行鉴权。Obtain the authorization record of the transfer node, and perform authentication based on the authorization record.
可选地,在产品上记录数字凭证的步骤包括:在产品上配置的RFID标签内写入数字凭证,RFID标签为一次性编程只读标签;并且Optionally, the step of recording the digital credential on the product includes: writing the digital credential in an RFID tag configured on the product, the RFID tag being a one-time programmable read-only tag; and
利用流转节点获取产品上记录的数字凭证并生成流转信息的步骤包括:流转节点利用RFID读取装置读取RFID标签内存储的数字凭证。The step of using the circulation node to obtain the digital certificate recorded on the product and generating the circulation information includes: the circulation node uses the RFID reading device to read the digital certificate stored in the RFID tag.
可选地,在产品完成销售之后还包括:Optionally, after the product is sold, it also includes:
获取终端对产品的查询请求,查询请求中包括终端扫描得到的数字凭证;Obtain the terminal's query request for the product, and the query request includes the digital certificate scanned by the terminal;
确定终端的授权范围;Determine the authorized scope of the terminal;
在授权范围内向终端提供与查询请求对应的区块链数据。Provide the blockchain data corresponding to the query request to the terminal within the scope of authorization.
特别地,根据本发明的另一个方面,还提供了一种计算机可读存储介质,其上存储有机器可执行程序,机器可执行程序被处理器执行时实现上述任一种的基于区块链的产品信息处理方法。In particular, according to another aspect of the present invention, there is also provided a computer-readable storage medium on which a machine-executable program is stored. When the machine-executable program is executed by a processor, any one of the above blockchain-based product information processing method.
本发明的基于区块链的产品信息处理方法,在产品制造过程中利用可信赖节点生成与产品一一对应的数字凭证,并在区块链上发布产品的初始可信数据,得到区块链上对于该产品的初始记录。其后,在产品的流转过程中,利用流转节点生成流转信息,并将流转信息在区块链上广播,在广播数据在区块链上达成共识后,在区块链上发布流转节点发布的数据,形成该产品的流转记录。本发明的方案实现了在生产以及后续的流转过程利用区块链持续地记录流转信息,保证了产品从生产、检测、出厂、运输、销售、售后所有环节的可追溯,从根本上杜绝了造假可能,为产品提高信赖度提供了条件。In the product information processing method based on block chain of the present invention, trusted nodes are used to generate digital certificates corresponding to products one by one during the product manufacturing process, and the initial credible data of products are released on the block chain to obtain block chain on the initial record for the product. Later, in the process of product circulation, the circulation node is used to generate circulation information, and the circulation information is broadcast on the blockchain. After the broadcast data reaches a consensus on the blockchain, the information issued by the circulation node is released on the blockchain. The data form the circulation record of the product. The scheme of the present invention realizes the use of block chain to continuously record the circulation information in the production and subsequent circulation process, ensures the traceability of all links of the product from production, testing, delivery, transportation, sales, and after-sales, and fundamentally eliminates counterfeiting Possibly, it provides conditions for improving the reliability of products.
进一步地,本发明的基于区块链的产品信息处理方法,针对生产制造过程中的装配环节(对应于区块链的装配节点)、检测环节(对应于区块链的检测节点)、入库环节(对应于区块链的节点),销售运输过程中的销售节点(对应于区块链的节点)、运输节点(对应于区块链的节点)、购买节点(对应于区块链的节点)分别提供有针对性的流转信息生成方式,满足不同环节的溯源要求,使得区块链技术更加符合不同产品的流转过程的特点。Further, the block chain-based product information processing method of the present invention is aimed at the assembly link (corresponding to the assembly node of the block chain), the detection link (corresponding to the block chain detection node), storage link (corresponding to the node of the blockchain), the sales node (corresponding to the node of the blockchain), the transportation node (corresponding to the node of the blockchain), the purchase node (corresponding to the node of the blockchain) ) respectively provide targeted circulation information generation methods to meet the traceability requirements of different links, making blockchain technology more in line with the characteristics of the circulation process of different products.
更进一步地,本发明的基于区块链的产品信息处理方法,对共识机制、验证机制等进行了相应优化和改进,提高了信息的可靠性和处理效率。Furthermore, the product information processing method based on blockchain of the present invention optimizes and improves the consensus mechanism and verification mechanism, etc., and improves the reliability and processing efficiency of information.
更进一步地,本发明的基于区块链的产品信息处理方法,区块链上记录的一系列产品数据形成与产品相对应的数字资产,通过用户或者使用者拥有的数字凭证,可以确定出对应的数字资产。使用者除了具有产品这一物理属性的资产外,进一步获取区块链上的数字资产。对于某些特殊产品(例如贵重收藏品、艺术品)等,即使产品物理属性损失,也不会影响区块链上记录的数字资产。Furthermore, in the blockchain-based product information processing method of the present invention, a series of product data recorded on the blockchain form a digital asset corresponding to the product, and the user or the digital certificate owned by the user can determine the corresponding digital assets. In addition to assets with the physical attributes of products, users further obtain digital assets on the blockchain. For some special products (such as precious collections, works of art), etc., even if the physical attributes of the product are lost, it will not affect the digital assets recorded on the blockchain.
根据下文结合附图对本发明具体实施例的详细描述,本领域技术人员将会更加明了本发明的上述以及其他目的、优点和特征。Those skilled in the art will be more aware of the above and other objects, advantages and features of the present invention according to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings.
附图说明Description of drawings
后文将参照附图以示例性而非限制性的方式详细描述本发明的一些具体实施例。附图中相同的附图标记标示了相同或类似的部件或部分。本领域技术人员应该理解,这些附图未必是按比例绘制的。附图中:Hereinafter, some specific embodiments of the present invention will be described in detail by way of illustration and not limitation with reference to the accompanying drawings. The same reference numerals in the drawings designate the same or similar parts or parts. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the attached picture:
图1是根据本发明一个实施例的基于区块链的产品信息处理方法的示意图;Fig. 1 is a schematic diagram of a block chain-based product information processing method according to an embodiment of the present invention;
图2是根据本发明一个实施例的机器可读存储介质的示意框图;以及Figure 2 is a schematic block diagram of a machine-readable storage medium according to one embodiment of the present invention; and
图3是根据本发明一个实施例的基于区块链的产品信息处理方法应用于家电产品中的系统示意图。Fig. 3 is a schematic diagram of a system in which a method for processing product information based on blockchain is applied to home appliances according to an embodiment of the present invention.
具体实施方式Detailed ways
图1是根据本发明一个实施例的基于区块链的产品信息处理方法的示意图。该基于区块链的产品信息处理方法一般性地可包括:Fig. 1 is a schematic diagram of a method for processing product information based on blockchain according to an embodiment of the present invention. The blockchain-based product information processing method may generally include:
步骤S102,在产品制造过程中,利用可信赖节点生成与产品一一对应的数字凭证,并在产品上记录数字凭证,并在区块链上发布产品的初始可信数据。Step S102, during the product manufacturing process, use trusted nodes to generate a digital certificate corresponding to the product one by one, record the digital certificate on the product, and release the initial trusted data of the product on the blockchain.
产品的制作过程在生产商的生产线上完成,该过程可以值得信赖,在生产车间或者流水线上设置可信赖节点,用于产生数字凭证并在区块链上形成该产品的初始可信数据。也就是说,本实施例的方法,在可以信赖的产品制造过程在区块链上发布产品的原始信息,作为后续追溯的源头。由于可信赖节点布置在车间或者流水线上,其可以与产品的制造过程相匹配,具有不可替代性,并且可以避免数据来源的伪造。The production process of the product is completed on the manufacturer's production line. This process can be trusted. Trustworthy nodes are set up in the production workshop or assembly line to generate digital certificates and form the initial trusted data of the product on the blockchain. That is to say, the method of this embodiment releases the original information of the product on the blockchain during the reliable product manufacturing process as the source of subsequent traceability. Since trusted nodes are arranged in workshops or assembly lines, they can match the manufacturing process of products, are irreplaceable, and can avoid forgery of data sources.
数字凭证可以通过二维码、RFID等方式进行记载。在一些可选实施例中,在产品上记录数字凭证的步骤包括:在产品上配置的RFID标签内写入数字凭证,RFID标签为一次性编程只读标签。RFID标签写入一次数字凭证后,其信息属性设置为只读,可以有效避免篡改。另外RFID标签可以内置于产品的内部,防止替换或损坏。Digital vouchers can be recorded through QR codes, RFID, etc. In some optional embodiments, the step of recording the digital credential on the product includes: writing the digital credential in an RFID tag configured on the product, and the RFID tag is a one-time programmable read-only tag. After the RFID tag is written into a digital certificate, its information attribute is set to read-only, which can effectively avoid tampering. In addition, RFID tags can be built into the product to prevent replacement or damage.
步骤S104,在产品的流转过程中,利用流转节点获取产品上记录的数字凭证并生成流转信息,并将流转信息以及数字凭证进行绑定后在区块链上广播。Step S104, during the product circulation process, use the circulation node to obtain the digital certificate recorded on the product and generate the circulation information, bind the circulation information and the digital certificate and broadcast it on the blockchain.
上述流转过程可以包括产品获得数字凭证之后的整个流转过程。例如包括生产制造过程中的装配环节(对应于区块链的装配节点)、检测环节(对应于区块链的检测节点)、入库环节(对应于区块链的节点),销售运输过程中的销售节点(对应于区块链的节点)、运输节点(对应于区块链的节点)、购买节点(对应于区块链的节点)。针对不同环节产生的数据,可以形成各种有针对性的流转信息,形成相应的数据,满足不同环节的溯源要求,使得区块链技术更加符合不同产品的流转过程的特点。The above-mentioned circulation process may include the entire circulation process after the product obtains the digital certificate. For example, it includes the assembly link (corresponding to the assembly node of the blockchain), the inspection link (corresponding to the detection node of the blockchain), the warehousing link (corresponding to the node of the blockchain) in the manufacturing process, and the sales and transportation process. The sales node (corresponding to the node of the blockchain), the shipping node (corresponding to the node of the blockchain), and the purchase node (corresponding to the node of the blockchain) of the network. For the data generated in different links, various targeted circulation information and corresponding data can be formed to meet the traceability requirements of different links, making blockchain technology more in line with the characteristics of the circulation process of different products.
步骤S106,由区块链上的节点利用区块链上已记录的产品的信息对流 转节点广播的数据进行验证。从而充分利用了区块链的特点,对广播数据进行验证,确保广播数据的真实性和可靠性。Step S106, the nodes on the blockchain use the information of the products recorded on the blockchain to verify the data broadcast by the transfer node. In this way, the characteristics of the blockchain are fully utilized to verify the broadcast data to ensure the authenticity and reliability of the broadcast data.
步骤S108,在区块链上的节点对验证结果达成共识后,在区块链上发布流转节点发布的数据,以供其他可信节点查询。最终在区块链上发布的数据,达成全网一致共识的机制,保证数据被准确添加至区块链、节点存储的区块链信息一致不分叉甚至可以抵御恶意攻击。在整个网络中实现信息的全面传递,并能够检验信息的准确程度,实现对产品整个流转过程的准确记录。Step S108, after the nodes on the blockchain reach a consensus on the verification result, publish the data released by the transfer node on the blockchain for query by other trusted nodes. Finally, the data released on the blockchain reaches a consensus mechanism for the entire network to ensure that the data is accurately added to the blockchain, and the blockchain information stored by the nodes is consistent without bifurcation and can even resist malicious attacks. Realize the comprehensive transmission of information in the whole network, and can check the accuracy of information, and realize the accurate record of the whole circulation process of products.
本实施例可以实现在生产以及后续的流转过程利用区块链持续地记录流转信息,保证了产品从生产、检测、出厂、运输、销售、售后所有环节的可追溯,从根本上杜绝了造假可能,为产品提高信赖度提供了条件。This embodiment can realize the use of blockchain to continuously record circulation information in the production and subsequent circulation process, ensuring the traceability of all links from production, testing, delivery, transportation, sales, and after-sales, and fundamentally eliminating the possibility of counterfeiting , which provides the conditions for improving the reliability of the product.
上述流转信息包括产品的来源节点信息、流转节点的自身凭证、以及产品在流转节点的环节中产生的数据。针对不同的流转节点,其产生的数据可有针对性地进行配置,便于后续使用。其中来源节点信息一般可以是该节点的上游相邻节点的信息。自身凭证信息可以由产品本身配置的RFID标签记载。并且利用流转节点获取产品上记录的数字凭证并生成流转信息的步骤包括:流转节点利用RFID读取装置读取RFID标签内存储的数字凭证。The above-mentioned circulation information includes the source node information of the product, the own certificate of the circulation node, and the data generated by the product in the link of the circulation node. For different transfer nodes, the data generated can be configured in a targeted manner for subsequent use. The source node information may generally be the information of the upstream adjacent nodes of the node. Self-credential information can be recorded by the RFID tag configured on the product itself. And the step of using the transfer node to obtain the digital certificate recorded on the product and generate the transfer information includes: the transfer node uses the RFID reading device to read the digital certificate stored in the RFID tag.
例如在产品的生产制造过程中,流转节点包括以下任任意一项或多项:装配节点、检测节点、入库节点。For example, in the manufacturing process of products, the flow nodes include any one or more of the following: assembly nodes, testing nodes, and storage nodes.
装配节点生成流转信息的步骤包括:获取产品的来源节点信息以及装配节点的自身凭证;记录产品在装配节点中产生的装配数据,装配数据包括装配操作数据以及部件装配数据;根据来源节点信息、装配节点的自身凭证、装配数据生成装配节点的流转信息。The steps for assembly node to generate circulation information include: obtaining the source node information of the product and the assembly node’s own certificate; recording the assembly data generated by the product in the assembly node, and the assembly data includes assembly operation data and component assembly data; according to the source node information, assembly The node's own credentials and assembly data generate the circulation information of the assembly node.
装配节点可以在产品的生产线上的装配工位处进行配置,来源节点可以上一工序的节点。装配操作数据可以包括但不限于在该装配工位处进行的各种操作及其参数,例如加工参数、操作人员信息等。部件装配数据可以包括但不限于被安装的部件信息,例如部件参数、部件规格等。The assembly node can be configured at the assembly station on the production line of the product, and the source node can be the node of the previous process. The assembly operation data may include, but not limited to, various operations performed at the assembly station and their parameters, such as processing parameters, operator information, and the like. Component assembly data may include, but is not limited to, installed component information, such as component parameters, component specifications, and the like.
检测节点生成流转信息的步骤包括:获取产品的来源节点信息以及检测节点的自身凭证;记录产品在检测节点中产生的检测数据,检测数据包括检测操作数据以及检测结果数据;根据来源节点信息、检测节点的自身凭证、检测数据生成检测节点的流转信息。The steps for the detection node to generate circulation information include: obtaining the source node information of the product and the self-certification of the detection node; recording the detection data generated by the product in the detection node, the detection data includes detection operation data and detection result data; according to the source node information, detection The node's own credentials and detection data generate the circulation information of the detection node.
检测节点可以在产品的检测工位处进行设置。检测操作数据可以包括: 检测操作类型、检测人员信息。检测结果数据包括功能是否合格、性能参数等。The detection node can be set at the detection station of the product. The detection operation data may include: detection operation type, detection personnel information. The test result data includes whether the function is qualified or not, performance parameters, etc.
入库节点生成流转信息的步骤包括:获取产品的来源节点信息以及入库节点的自身凭证;记录产品在入库数据,入库数据包括入库操作数据以及库位数据;根据来源节点信息、入库节点的自身凭证、入库数据生成入库节点的流转信息。The steps for the storage node to generate circulation information include: obtaining the source node information of the product and the storage node's own certificate; recording the product storage data, and the storage data includes storage operation data and location data; The storage node's own credentials and storage data generate the transfer information of the storage node.
入库节点可以在产品的存储库处进行设置。入库操作数据可以包括入库时间、存储人员信息。库位数据可以包括库位位置等。An inbound node can be set up at a product's repository. The warehousing operation data may include warehousing time and storage personnel information. The bin location data may include bin location, etc.
在产品的生产制造过程中,流转节点包括以下任任意一项或多项:流转节点包括以下任任意一项或多项:销售节点、运输节点、购买节点。In the manufacturing process of the product, the circulation node includes any one or more of the following: the circulation node includes any one or more of the following: sales node, transportation node, and purchase node.
销售节点生成流转信息的步骤包括:获取产品的来源节点信息以及销售节点的自身凭证;记录产品在销售节点中产生的销售数据,销售数据包括销售区域数据以及营销数据;根据来源节点信息、销售节点的自身凭证、销售数据生成销售节点的流转信息。The steps for the sales node to generate circulation information include: obtaining the source node information of the product and the sales node’s own certificate; recording the sales data generated by the product in the sales node, the sales data includes sales area data and marketing data; according to the source node information, the sales node Its own vouchers and sales data generate the circulation information of sales nodes.
检测节点可以在产品的销售商处进行设置。销售区域数据可以包括产品的销售区域信息、产品的经销商信息。营销数据包括:价款信息、营销活动信息等。The detection node can be set at the seller of the product. The sales area data may include sales area information of the product and dealer information of the product. Marketing data includes: price information, marketing activity information, etc.
运输节点生成流转信息的步骤包括:获取产品的来源节点信息以及运输节点的自身凭证;记录产品在运输节点中产生的运输数据,运输数据包括运输途径数据以及目的地数据;根据来源节点信息、运输节点的自身凭证、运输数据生成运输节点的流转信息。The steps for the transport node to generate circulation information include: obtaining the source node information of the product and the transport node’s own certificate; recording the transport data generated by the product in the transport node, the transport data includes transport route data and destination data; according to the source node information, transport The node's own credentials and transportation data generate the circulation information of the transportation node.
运输节点在产品的运输工具或者起始点处进行设置。运输途径数据可以包括运输工具类型、路线信心等。目的地数据可以包括目的地位置、达到时间等。Shipping nodes are set at the means of transport or origin of the product. Transit route data may include vehicle type, route confidence, and the like. Destination data may include destination location, arrival time, and the like.
购买节点生成流转信息的步骤包括:获取产品的来源节点信息以及购买节点的自身凭证;记录产品在购买节点中产生的经销数据,经销数据包括购买者数据以及购买金额数据;根据来源节点信息、运输节点的自身凭证、经销数据生成运输节点的流转信息。The steps for the purchase node to generate circulation information include: obtaining the source node information of the product and the purchase node’s own certificate; recording the distribution data generated by the product in the purchase node, and the distribution data includes buyer data and purchase amount data; according to the source node information, transportation The node's own credentials and distribution data generate the circulation information of the transport node.
购买节点可以在售前安装或者售后服务的终端处进行配置。购买者数据可以包括购买者的信息、安装地点等。The purchase node can be configured at the terminal of pre-sale installation or after-sale service. The buyer data may include the buyer's information, installation location, and the like.
以上针对他各种流转信息,流转节点可以根据自身的需要采集数据,生 成相应的流转信息,可以用于记录产品整个流通环节的数据。For the above various circulation information, the circulation node can collect data according to its own needs and generate corresponding circulation information, which can be used to record the data of the entire circulation link of the product.
流转节点在生成流转信息后,可将流转信息以及数字凭证进行绑定后在区块链上广播,以供区块链上的节点进行共识计算。在一些可选实施例中,由区块链上的节点利用区块链上已记录的产品的信息对流转节点广播的数据进行验证的步骤可以包括:节点获取流转节点广播的数据;对广播的数据进行解析,提取出数字凭证以及产品的来源节点信息;根据数字凭证查询区块链上已记录的产品的信息;将查询出的产品的信息与产品的来源节点信息进行匹配,若匹配合格,则在区块链上广播共识信息;若共识信息达到区块链预设的共识条件,则认为验证通过。其中产品的信息与产品的来源节点信息进行匹配可以利用产品流转的上下游关系进行信息的验证。After the circulation node generates the circulation information, it can bind the circulation information and the digital certificate and then broadcast it on the blockchain for the nodes on the blockchain to perform consensus calculations. In some optional embodiments, the step of verifying the data broadcast by the transfer node by the nodes on the block chain using the information of the products recorded on the block chain may include: the node obtains the data broadcast by the transfer node; Analyze the data, extract the digital certificate and the source node information of the product; query the information of the product recorded on the blockchain according to the digital certificate; match the queried product information with the source node information of the product, if the match is qualified, The consensus information is broadcast on the blockchain; if the consensus information reaches the consensus conditions preset by the blockchain, the verification is considered to be passed. The information of the product is matched with the information of the source node of the product, and the upstream and downstream relationship of the product circulation can be used to verify the information.
广播的数据进行解析的步骤之前还可以首先对广播数据的节点进行验证,具体的可以包括:获取流转节点的节点信息;根据节点信息对流转节点进行鉴权,若鉴权通过,则执行对广播的数据进行解析的步骤;若鉴权不同,则忽略广播的数据。Before the step of parsing the broadcast data, you can first verify the node of the broadcast data. Specifically, it can include: obtaining the node information of the transfer node; authenticating the transfer node according to the node information. The step of parsing the data; if the authentication is different, ignore the broadcast data.
具体的节点鉴权可以通过历史记录以及授权记录来实现,也即根据节点信息对流转节点进行鉴权的步骤包括:获取流转节点的区块生成记录,根据区块生成记录进行鉴权;和/或获取流转节点的授权记录,根据授权记录进行鉴权。例如针对某一流转节点,其已经产生了大量的区块生成记录(例如产品的重要流转环节),并且存在大量的其他节点的授权记录,则可以认为该节点通过鉴权认定。反之,若该流转节点为首次广播信息,并且并未其他授权记录,则可以认为该节点鉴权失败,需要得到其他节点的授权后才能通过鉴权。The specific node authentication can be realized through historical records and authorization records, that is, the steps of authenticating the transfer node according to the node information include: obtaining the block generation record of the transfer node, and performing authentication according to the block generation record; and/ Or obtain the authorization record of the transfer node, and perform authentication based on the authorization record. For example, for a certain circulation node, which has generated a large number of block generation records (such as important circulation links of products), and there are a large number of authorization records of other nodes, it can be considered that the node has passed the authentication. Conversely, if the transfer node broadcasts information for the first time and has no other authorization records, it can be considered that the node has failed authentication and needs to be authorized by other nodes to pass the authentication.
本实施例的方法,可以使用的共识机制可以包括但不限于:工作量证明(PoW,Proof of Work)、权益证明(PoS,Proof of Stake)、委任权益证明(DPOS,Delegated Proof-of-Stake)、拜占庭容错(PBFT,Practical Byzantine Fault Tolerance)、分布式一致性协议(RAFT算法)等等。本实施例优选计算量小、硬件开销小的共识机制。In the method of this embodiment, the consensus mechanism that can be used may include, but is not limited to: Proof of Work (PoW, Proof of Work), Proof of Stake (PoS, Proof of Stake), Delegated Proof-of-Stake (DPOS, Delegated Proof-of-Stake) ), Byzantine fault tolerance (PBFT, Practical Byzantine Fault Tolerance), distributed consensus protocol (RAFT algorithm), etc. In this embodiment, a consensus mechanism with a small amount of calculation and a small hardware overhead is preferred.
在产品完成销售之后还可以包括:获取终端对产品的查询请求,查询请求中包括终端扫描得到的数字凭证;确定终端的授权范围;在授权范围内向终端提供与查询请求对应的区块链数据。也即区块链可以在授权范围内向产品的使用者、售后人员开放查询权限,满足信息的使用要求。不同终端可以 配置不同的授权范围,例如用户终端可以获得产地、功能、售后等信息。售后终端可以得到配件、维护等信息。After the product is sold, it can also include: obtaining the query request of the terminal for the product, the query request includes the digital certificate scanned by the terminal; determining the authorization range of the terminal; providing the terminal with the blockchain data corresponding to the query request within the authorization range. That is to say, the blockchain can open query authority to product users and after-sales personnel within the scope of authorization to meet the requirements for information use. Different terminals can be configured with different authorization scopes. For example, user terminals can obtain information such as origin, function, and after-sales service. The after-sales terminal can obtain accessories, maintenance and other information.
本实施例还提供了一种计算机可读存储介质。图2是根据本发明一个实施例的机器可读存储介质20的示意框图。该机器可读存储介质20上存储有机器可执行程序210,机器可执行程序210被处理器执行时实现上述任一种的基于区块链的产品信息处理方法。This embodiment also provides a computer-readable storage medium. FIG. 2 is a schematic block diagram of a machine-readable storage medium 20 according to one embodiment of the present invention. The machine-readable storage medium 20 stores a machine-executable program 210, and when the machine-executable program 210 is executed by a processor, any one of the above-mentioned block chain-based product information processing methods is implemented.
本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的可读存储介质20包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions for making A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned readable storage medium 20 includes various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
此外,需要指出的是,在本发明的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本发明的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行,某些步骤可以并行或彼此独立地执行。对本领域的普通技术人员而言,能够理解本发明的方法和装置的全部或者任何步骤或者部件,可以在任何计算装置(包括处理器、存储介质等)或者计算装置的网络中,以硬件、固件、软件或者它们的组合加以实现,这是本领域普通技术人员在阅读了本发明的说明的情况下运用他们的基本编程技能就能实现的。In addition, it should be pointed out that in the device and method of the present invention, obviously, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present invention. Also, the steps for executing the above series of processes can naturally be executed in chronological order according to the illustrated order, but they are not necessarily executed in chronological order, and some steps can be executed in parallel or independently of each other. For those of ordinary skill in the art, it can be understood that all or any steps or components of the method and device of the present invention can be implemented in any computing device (including a processor, storage medium, etc.) or a network of computing devices in the form of hardware or firmware , software or a combination thereof, which can be realized by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
因此,本发明的目的还可以通过在任何计算装置上运行一个程序或者一组程序来实现。计算装置可以是公知的通用装置。因此,本发明的目的也可以仅仅通过提供包含实现所述方法或者装置的程序代码的程序产品来实现。也就是说,这样的程序产品也构成本发明,并且存储有这样的程序产品的存储介质也构成本发明。显然,所述存储介质可以是任何公知的存储介质或者将来所开发出来的任何存储介质。还需要指出的是,在本发明的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本发明的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行。某些步骤可以并行或彼此独立地执行。Therefore, the object of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device may be a known general-purpose device. Therefore, the object of the present invention can also be achieved only by providing a program product including program codes for realizing the method or device. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium may be any known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, obviously, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present invention. Also, the steps for performing the above series of processes may naturally be performed in chronological order in the order described, but need not necessarily be performed in chronological order. Certain steps may be performed in parallel or independently of each other.
具备上述可读存储介质20的计算设备可以通过网络互联,其可以使用任何合适的接口或协议(诸如因特网小型计算机系统接口等)来传输数据。网络可以是蜂窝网络、无线电网络、广域网(WAN))、局域网(LAN)或因特网等等,从而可以通过各种网络连接到其他计算设备。Computing devices equipped with the above-mentioned readable storage medium 20 can be interconnected through a network, which can use any suitable interface or protocol (such as Internet Small Computer System Interface, etc.) to transmit data. The network may be a cellular network, a radio network, a wide area network (WAN), a local area network (LAN), or the Internet, among others, enabling connections to other computing devices through various networks.
图3是根据本发明一个实施例的基于区块链的产品信息处理方法应用于家电产品中的系统示意图。家电产品在生产、运输、销售各环节进行流转,记录流转过程以及产品信息。Fig. 3 is a schematic diagram of a system in which a method for processing product information based on blockchain is applied to home appliances according to an embodiment of the present invention. Household appliances are circulated in each link of production, transportation and sales, and the circulation process and product information are recorded.
家电生产线31按照自定义的规则将数字凭证写入产品的RFID标签内,与对应的产品绑定在一起。可信赖节点310生成可信数字凭证(即:数字资产),将RFID可信数据和数字资产同时上链。后续产品的流转同时伴随着可信凭证的转移。The home appliance production line 31 writes the digital certificate into the RFID tag of the product according to the self-defined rules, and binds it with the corresponding product. The trusted node 310 generates trusted digital certificates (that is, digital assets), and uploads the RFID trusted data and digital assets to the chain at the same time. The circulation of subsequent products is accompanied by the transfer of trusted credentials.
家电生产线31还可以配置多个流转节点311,例如一个或多个装配节点以及一个或多个检测节点。装配节点用于记录装配信息、检测节点用于记录检测信息。The home appliance production line 31 can also be configured with multiple circulation nodes 311 , such as one or more assembly nodes and one or more testing nodes. Assembly nodes are used to record assembly information, and detection nodes are used to record detection information.
家电存储库33处可以设置入库节点331,用于记录仓储信息。A warehouse-in node 331 may be set at the home appliance storage warehouse 33 for recording storage information.
家电的销售配送线32上可以设置多个流转节点321,例如销售节点、运输节点、购买节点。 Multiple transfer nodes 321, such as sales nodes, transport nodes, and purchase nodes, may be set on the sales distribution line 32 of the home appliance.
最终销售后的产品341可以由用户终端321,通过RFID扫描的方式可以追溯产品的所有生成流通环节的数据,从而完成了产品的溯源。终端321通过网络接入区块链,获取相关信息。为了防止造假,每生产一个产品,就会对应生成一个可信凭证,产品的流转同时伴随着可信凭证的流转,只有同时拥有产品和产品对应的可信凭证才会被认为是正品。这样即使标签可以造假,数字凭证也无法实现造假。从而从根本上杜绝了造假问题。The product 341 after the final sale can be traced by the user terminal 321 through RFID scanning to trace all the data generated in the circulation link of the product, thereby completing the traceability of the product. The terminal 321 accesses the blockchain through the network to obtain relevant information. In order to prevent counterfeiting, each time a product is produced, a corresponding credible certificate will be generated, and the circulation of the product will be accompanied by the circulation of the credible certificate. Only those who have both the product and the credible certificate corresponding to the product will be considered authentic. In this way, even if the label can be faked, the digital certificate cannot be faked. Thereby fundamentally put an end to the problem of fraud.
区块链上记录的一系列产品数据形成与产品相对应的数字资产,通过用户或者使用者拥有的数字凭证,可以确定出对应的数字资产。使用者除了具有产品这一物理属性的资产外,进一步获取区块链上的数字资产。对于某些特殊产品(例如名贵礼品、收藏品、艺术品)等,即使产品物理属性损失,也不会影响区块链上记录的数字资产的价值。A series of product data recorded on the blockchain form the digital assets corresponding to the products, and the corresponding digital assets can be determined through the digital certificates owned by the user or user. In addition to assets with the physical attributes of products, users further obtain digital assets on the blockchain. For some special products (such as precious gifts, collectibles, works of art), etc., even if the physical attributes of the product are lost, it will not affect the value of the digital assets recorded on the blockchain.
上述数字资产可以作为NFT(Non-Fungible Token,非同质化资产),其流转过程体现了独特性,其自身具有价值。例如对于价值较大的商品(例如收藏品、艺术品)等,在各个流转过程中,其信息的积累,使得数字凭证 在区块链上形成了独立价值。使用者通过数字凭证还可表明其对对应数字资产的权利或者曾经拥有的权利。The above-mentioned digital assets can be used as NFT (Non-Fungible Token, non-homogeneous assets), and its circulation process reflects its uniqueness and its own value. For example, for commodities with high value (such as collectibles, works of art), etc., the accumulation of information in each circulation process makes digital certificates form independent value on the blockchain. Through digital certificates, users can also indicate their rights to the corresponding digital assets or the rights they once had.
本实施例的方法,在应用于高价值产品(例如名贵礼品、收藏品、艺术品),产品在流转的同时,数字资产可以相应累积和流转;在一些可选实施例中,即使产品物理属性损失,区块链上记录的数字资产仍然具备流通的价值。The method of this embodiment, when applied to high-value products (such as expensive gifts, collectibles, works of art), while the products are in circulation, digital assets can be accumulated and circulated accordingly; in some optional embodiments, even if the physical properties of the product Loss, the digital assets recorded on the blockchain still have the value of circulation.
至此,本领域技术人员应认识到,虽然本文已详尽示出和描述了本发明的多个示例性实施例,但是,在不脱离本发明精神和范围的情况下,仍可根据本发明公开的内容直接确定或推导出符合本发明原理的许多其他变型或修改。因此,本发明的范围应被理解和认定为覆盖了所有这些其他变型或修改。So far, those skilled in the art should appreciate that, although a number of exemplary embodiments of the present invention have been shown and described in detail herein, without departing from the spirit and scope of the present invention, the disclosed embodiments of the present invention can still be used. Many other variations or modifications consistent with the principles of the invention are directly identified or derived from the content. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

Claims (10)

  1. 一种基于区块链的产品信息处理方法,包括:A method for processing product information based on blockchain, comprising:
    在产品制造过程中,利用可信赖节点生成与产品一一对应的数字凭证,并在所述产品上记录所述数字凭证,并在区块链上发布所述产品的初始可信数据;In the process of product manufacturing, use trusted nodes to generate digital certificates corresponding to products one by one, record the digital certificates on the products, and publish the initial trusted data of the products on the blockchain;
    在所述产品的流转过程中,利用流转节点获取所述产品上记录的数字凭证并生成流转信息,并将所述流转信息以及所述数字凭证进行绑定后在所述区块链上广播;During the circulation process of the product, use the circulation node to obtain the digital certificate recorded on the product and generate circulation information, and broadcast the circulation information and the digital certificate on the block chain after binding;
    由所述区块链上的节点利用所述区块链上已记录的所述产品的信息对所述流转节点广播的数据进行验证;The nodes on the block chain use the information of the product recorded on the block chain to verify the data broadcast by the transfer node;
    在所述区块链上的节点对验证结果达成共识后,在所述区块链上发布所述流转节点发布的数据,以供其他可信节点查询。After the nodes on the block chain reach a consensus on the verification result, the data released by the transfer node is published on the block chain for query by other trusted nodes.
  2. 根据权利要求1所述的基于区块链的产品信息处理方法,其中The product information processing method based on block chain according to claim 1, wherein
    所述流转信息包括所述产品的来源节点信息、所述流转节点的自身凭证、以及所述产品在所述流转节点的环节中产生的数据。The circulation information includes the source node information of the product, the own certificate of the circulation node, and the data generated by the product in the process of the circulation node.
  3. 根据权利要求2所述的基于区块链的产品信息处理方法,其中The product information processing method based on block chain according to claim 2, wherein
    所述流转节点包括以下任意一项或多项:装配节点、检测节点、入库节点;其中The circulation nodes include any one or more of the following: assembly nodes, detection nodes, storage nodes; where
    所述装配节点生成流转信息的步骤包括:The step of generating circulation information at the assembly node includes:
    获取所述产品的来源节点信息以及所述装配节点的自身凭证;Obtaining the source node information of the product and the self-credentials of the assembly node;
    记录所述产品在所述装配节点中产生的装配数据,所述装配数据包括装配操作数据以及部件装配数据;Recording assembly data generated by the product in the assembly node, the assembly data including assembly operation data and component assembly data;
    根据所述来源节点信息、所述装配节点的自身凭证、所述装配数据生成所述装配节点的流转信息;和/或Generate the circulation information of the assembly node according to the source node information, the assembly node's own credentials, and the assembly data; and/or
    所述检测节点生成流转信息的步骤包括:The step of generating flow information by the detection node includes:
    获取所述产品的来源节点信息以及所述检测节点的自身凭证;Obtaining the source node information of the product and the self-credential of the detection node;
    记录所述产品在所述检测节点中产生的检测数据,所述检测数据包括检测操作数据以及检测结果数据;record the detection data generated by the product in the detection node, the detection data includes detection operation data and detection result data;
    根据所述来源节点信息、所述检测节点的自身凭证、所述检测数据生成 所述检测节点的流转信息;和/或Generate the transfer information of the detection node according to the source node information, the detection node's own credentials, and the detection data; and/or
    所述入库节点生成流转信息的步骤包括:The step of generating circulation information at the storage node includes:
    获取所述产品的来源节点信息以及所述入库节点的自身凭证;Obtaining the source node information of the product and the self-certificate of the storage node;
    记录所述产品在入库数据,所述入库数据包括入库操作数据以及库位数据;Recording the storage data of the product, the storage data includes storage operation data and location data;
    根据所述来源节点信息、所述入库节点的自身凭证、所述入库数据生成所述入库节点的流转信息。The transfer information of the storage node is generated according to the source node information, the storage node's own certificate, and the storage data.
  4. 根据权利要求2所述的基于区块链的产品信息处理方法,其中The product information processing method based on block chain according to claim 2, wherein
    所述流转节点包括以下任意一项或多项:销售节点、运输节点、购买节点;并且The transfer node includes any one or more of the following: sales node, transport node, purchase node; and
    所述销售节点生成流转信息的步骤包括:The step of generating circulation information by the sales node includes:
    获取所述产品的来源节点信息以及所述销售节点的自身凭证;Obtaining the source node information of the product and the self-certificate of the sales node;
    记录所述产品在所述销售节点中产生的销售数据,所述销售数据包括销售区域数据以及营销数据;Recording sales data generated by the product in the sales node, the sales data including sales area data and marketing data;
    根据所述来源节点信息、所述销售节点的自身凭证、所述销售数据生成所述销售节点的流转信息;和/或Generate the circulation information of the sales node according to the source node information, the sales node's own certificate, and the sales data; and/or
    所述运输节点生成流转信息的步骤包括:The step of generating the circulation information by the transport node includes:
    获取所述产品的来源节点信息以及所述运输节点的自身凭证;Obtaining the source node information of the product and the own certificate of the transportation node;
    记录所述产品在所述运输节点中产生的运输数据,所述运输数据包括运输途径数据以及目的地数据;recording the transportation data of the product generated in the transportation node, the transportation data including transportation route data and destination data;
    根据所述来源节点信息、所述运输节点的自身凭证、所述运输数据生成所述运输节点的流转信息;和/或Generate the transfer information of the transport node according to the source node information, the transport node's own credentials, and the transport data; and/or
    所述购买节点生成流转信息的步骤包括:The step of generating circulation information by the purchasing node includes:
    获取所述产品的来源节点信息以及所述购买节点的自身凭证;Obtaining the source node information of the product and the purchase node's own certificate;
    记录所述产品在所述购买节点中产生的经销数据,所述经销数据包括购买者数据以及购买金额数据;Recording the distribution data generated by the product in the purchase node, the distribution data including purchaser data and purchase amount data;
    根据所述来源节点信息、所述运输节点的自身凭证、所述经销数据生成所述运输节点的流转信息。The transfer information of the transport node is generated according to the source node information, the transport node's own certificate, and the distribution data.
  5. 根据权利要求1所述的基于区块链的产品信息处理方法,其中,由所述区块链上的节点利用所述区块链上已记录的所述产品的信息对所述流转 节点广播的数据进行验证的步骤包括:The method for processing product information based on blockchain according to claim 1, wherein the node on the blockchain utilizes the information of the product recorded on the blockchain to broadcast to the circulation node The steps for data validation include:
    所述节点获取所述流转节点广播的数据;The node obtains the data broadcast by the transfer node;
    对所述广播的数据进行解析,提取出所述数字凭证以及所述产品的来源节点信息;Analyzing the broadcast data, extracting the digital certificate and the source node information of the product;
    根据所述数字凭证查询所述区块链上已记录的所述产品的信息;Querying the information of the product recorded on the block chain according to the digital certificate;
    将查询出的所述产品的信息与所述产品的来源节点信息进行匹配,若匹配合格,则在所述区块链上广播共识信息;Match the inquired product information with the source node information of the product, and if the match is qualified, broadcast the consensus information on the block chain;
    若所述共识信息达到所述区块链预设的共识条件,则认为验证通过。If the consensus information reaches the preset consensus condition of the block chain, it is considered that the verification is passed.
  6. 根据权利要求5所述的基于区块链的产品信息处理方法,其中,对所述广播的数据进行解析的步骤之前还包括:The method for processing product information based on blockchain according to claim 5, wherein before the step of parsing the broadcast data, it also includes:
    获取所述流转节点的节点信息;Obtaining node information of the transfer node;
    根据所述节点信息对所述流转节点进行鉴权,authenticating the flow node according to the node information,
    若鉴权通过,则执行对所述广播的数据进行解析的步骤;If the authentication is passed, the step of parsing the broadcast data is executed;
    若鉴权不同,则忽略所述广播的数据。If the authentication is different, the broadcast data is ignored.
  7. 根据权利要求6所述的基于区块链的产品信息处理方法,其中,根据所述节点信息对所述流转节点进行鉴权的步骤包括:The method for processing product information based on blockchain according to claim 6, wherein the step of authenticating the transfer node according to the node information comprises:
    获取所述流转节点的区块生成记录,根据所述区块生成记录进行鉴权;和/或Obtain the block generation record of the transfer node, and perform authentication according to the block generation record; and/or
    获取所述流转节点的授权记录,根据所述授权记录进行鉴权。Obtain the authorization record of the transfer node, and perform authentication according to the authorization record.
  8. 根据权利要求1所述的基于区块链的产品信息处理方法,其中,The product information processing method based on block chain according to claim 1, wherein,
    在所述产品上记录所述数字凭证的步骤包括:在所述产品上配置的RFID标签内写入所述数字凭证,所述RFID标签为一次性编程只读标签;并且The step of recording the digital credential on the product includes: writing the digital credential in an RFID tag configured on the product, the RFID tag being a one-time programmable read-only tag; and
    利用流转节点获取所述产品上记录的数字凭证并生成流转信息的步骤包括:所述流转节点利用RFID读取装置读取所述RFID标签内存储的所述数字凭证。The step of using the circulation node to obtain the digital voucher recorded on the product and generating circulation information includes: the circulation node uses an RFID reading device to read the digital voucher stored in the RFID tag.
  9. 根据权利要求1所述的基于区块链的产品信息处理方法,其中,在所述产品完成销售之后还包括:The method for processing product information based on blockchain according to claim 1, wherein, after the product is sold, it also includes:
    获取终端对所述产品的查询请求,所述查询请求中包括所述终端扫描得到的数字凭证;Obtaining a terminal query request for the product, the query request including the digital certificate scanned by the terminal;
    确定所述终端的授权范围;determining the scope of authorization of the terminal;
    在所述授权范围内向所述终端提供与所述查询请求对应的区块链数据。Providing blockchain data corresponding to the query request to the terminal within the authorized scope.
  10. 一种计算机可读存储介质,其上存储有机器可执行程序,所述机器可执行程序被处理器执行时实现根据权利要求1至9任一项所述的基于区块链的产品信息处理方法。A computer-readable storage medium, on which a machine-executable program is stored, and when the machine-executable program is executed by a processor, the method for processing product information based on blockchain according to any one of claims 1 to 9 is realized .
PCT/CN2022/090515 2021-07-26 2022-04-29 Blockchain-based product information processing method, and computer-readable storage medium WO2023005309A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110844565.8A CN114331462A (en) 2021-07-26 2021-07-26 Block chain-based product information processing method and computer-readable storage medium
CN202110844565.8 2021-07-26

Publications (1)

Publication Number Publication Date
WO2023005309A1 true WO2023005309A1 (en) 2023-02-02

Family

ID=81044123

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090515 WO2023005309A1 (en) 2021-07-26 2022-04-29 Blockchain-based product information processing method, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN114331462A (en)
WO (1) WO2023005309A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071090A (en) * 2023-03-06 2023-05-05 安徽深迪科技有限公司 Product production information traceability system based on block chain
CN116402521A (en) * 2023-06-08 2023-07-07 江苏中创供应链服务有限公司 Cross-border supply chain commodity tracing method and system based on blockchain
CN116938985A (en) * 2023-09-18 2023-10-24 哈尔滨工程大学三亚南海创新发展基地 Data streaming method, device, terminal equipment and medium based on digital certificates

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114331462A (en) * 2021-07-26 2022-04-12 合肥海尔电冰箱有限公司 Block chain-based product information processing method and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108364181A (en) * 2018-01-08 2018-08-03 广州中国科学院计算机网络信息中心 Source tracing method and system based on block chain and Internet of Things mark
US20200211024A1 (en) * 2018-12-29 2020-07-02 Alibaba Group Holding Limited Blockchain-based recordkeeping method and apparatus
CN111445273A (en) * 2020-04-10 2020-07-24 重庆新致金服信息技术有限公司 Anti-counterfeiting traceability information processing method and system based on block chain
CN112766440A (en) * 2021-02-01 2021-05-07 中穗科技股份有限公司 Tea production circulation traceability management method and system based on block chain
CN114331462A (en) * 2021-07-26 2022-04-12 合肥海尔电冰箱有限公司 Block chain-based product information processing method and computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108364181A (en) * 2018-01-08 2018-08-03 广州中国科学院计算机网络信息中心 Source tracing method and system based on block chain and Internet of Things mark
US20200211024A1 (en) * 2018-12-29 2020-07-02 Alibaba Group Holding Limited Blockchain-based recordkeeping method and apparatus
CN111445273A (en) * 2020-04-10 2020-07-24 重庆新致金服信息技术有限公司 Anti-counterfeiting traceability information processing method and system based on block chain
CN112766440A (en) * 2021-02-01 2021-05-07 中穗科技股份有限公司 Tea production circulation traceability management method and system based on block chain
CN114331462A (en) * 2021-07-26 2022-04-12 合肥海尔电冰箱有限公司 Block chain-based product information processing method and computer-readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071090A (en) * 2023-03-06 2023-05-05 安徽深迪科技有限公司 Product production information traceability system based on block chain
CN116071090B (en) * 2023-03-06 2023-07-04 安徽深迪科技有限公司 Product production information traceability system based on block chain
CN116402521A (en) * 2023-06-08 2023-07-07 江苏中创供应链服务有限公司 Cross-border supply chain commodity tracing method and system based on blockchain
CN116402521B (en) * 2023-06-08 2023-09-01 江苏中创供应链服务有限公司 Cross-border supply chain commodity tracing method and system based on blockchain
CN116938985A (en) * 2023-09-18 2023-10-24 哈尔滨工程大学三亚南海创新发展基地 Data streaming method, device, terminal equipment and medium based on digital certificates
CN116938985B (en) * 2023-09-18 2023-12-19 哈尔滨工程大学三亚南海创新发展基地 Data streaming method, device, terminal equipment and medium based on digital certificates

Also Published As

Publication number Publication date
CN114331462A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
WO2023005309A1 (en) Blockchain-based product information processing method, and computer-readable storage medium
JP6661819B2 (en) Tracking integration that occurs in the supply chain
US10412071B2 (en) Secure transaction systems and methods
US11256799B2 (en) Device lifecycle distributed ledger
CN107240001B (en) Transaction method and system for digital assets
CN109118219B (en) Transaction data processing method and device
KR100785765B1 (en) Method and apparatus for authenticating the product
JP2020074513A (en) Cryptographic verification of source in supply chain
US20190244243A1 (en) Scalable decentralized digital and programmatic advertising analytics system
CN111414429B (en) Block chain-based commodity information management method, electronic equipment and storage medium
US20150278487A1 (en) Security scheme for authenticating digital entities and aggregate object origins
US20200374131A1 (en) Method and system for generalized provenance solution for blockchain supply chain applications
US8165964B2 (en) Detection of counterfeited products based on sensor measurements
CN111429162A (en) Energized block chain agricultural product quality credible traceability system based on nondestructive detection technology
WO2016155607A1 (en) Commodity identity monitoring and anti-counterfeiting method
CN104835045A (en) Method and system for merchandise anti-counterfeiting authentication based on internet of things identity service
US11516001B2 (en) Method and system for generalized provenance solution for blockchain supply chain applications
KR20220095922A (en) System and method for providing block chain-based activation services
JP2021524084A (en) Data storage methods, data validation methods, devices, equipment and computer programs
CN111125785A (en) Account checking method based on block chain, account checking device and readable storage medium
Azevedo et al. Supply chain traceability using blockchain
US20230334609A1 (en) Information management method and non-transitory, computer readable, tangible storage medium storing information management program
CN110689356A (en) Method for recording commodity circulation process by using nested digital twin
US11062347B2 (en) Systems and methods for providing authenticity, integrity, and non-repudiation to communications online
KR20060089331A (en) Authentication method of legal products using the radio frequency identification

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22847924

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE