CN111292097A - Supply chain tracing method, equipment and medium based on block chain - Google Patents

Supply chain tracing method, equipment and medium based on block chain Download PDF

Info

Publication number
CN111292097A
CN111292097A CN201911401300.XA CN201911401300A CN111292097A CN 111292097 A CN111292097 A CN 111292097A CN 201911401300 A CN201911401300 A CN 201911401300A CN 111292097 A CN111292097 A CN 111292097A
Authority
CN
China
Prior art keywords
data
production
supervision
sales
raw material
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911401300.XA
Other languages
Chinese (zh)
Inventor
马龙
庞松涛
商广勇
王伟兵
李文博
李佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Quality Chain Technology Co Ltd
Original Assignee
Shandong ICity Information Technology Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong ICity Information Technology Co., Ltd. filed Critical Shandong ICity Information Technology Co., Ltd.
Priority to CN201911401300.XA priority Critical patent/CN111292097A/en
Publication of CN111292097A publication Critical patent/CN111292097A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Landscapes

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

Abstract

The application discloses a supply chain tracing method, equipment and medium based on a block chain, wherein the method comprises the following steps: determining a blockchain platform which is created based on the blockchain frame in advance; determining raw material data, production data, sales data and supervision data; and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing the hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain. Data in the blockchain platform is publicly transparent, and consumers can trace to the source. And the block chain platform is distributed storage, so that data tampering of a single node cannot be effective, and the trueness and the credibility of the data on the block chain platform are ensured. Whether it is a consumer, a production facility, a supply facility, or a regulatory facility, can be traced through relevant pathways. Corresponding data are stored in the side chain, and only the corresponding hash value is stored in the main chain, so that a series of problems caused by excessive data in the block chain are solved.

Description

Supply chain tracing method, equipment and medium based on block chain
Technical Field
The application relates to the field of supply chains, in particular to a supply chain tracing method, equipment and medium based on a block chain.
Background
A supply chain refers to an integration of key business processes and relationships across the chain of businesses that provide goods, services or information to end customers, from the original material supplier through to the end user. The supply chain includes related businesses or institutions associated with the production of products through sales, etc.
In the prior art, the source tracing project of the supply chain is basically a block chain of alliances. A federation chain refers to a blockchain network that allows access only to specific group members and limited third parties. A federation chain typically has higher transaction performance than a public chain due to the presence of an admission mechanism, a small number of nodes, the use of a high-performance consensus algorithm (BFT-like algorithm), and the like.
However, in practical application, too much data needs to be written into the blockchain, which results in low efficiency of the blockchain itself in writing data, and too much data in the blockchain causes inconvenience in tracing.
Disclosure of Invention
In order to solve the above problem, the present application provides a supply chain tracing method based on a block chain, including: determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer; determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product; and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
In one example, the production data includes at least one of: enterprise qualification, standard statement, production process, product certification and production flow data.
In one example, the production flow data includes data for at least one of the following production flow stages: the production process comprises an creative stage, a design stage, a research and development stage, a manufacturing stage, a marketing stage, a warehousing stage, a distribution stage and a delivery stage.
In one example, the regulatory authority includes at least one of: governments, regulatory agencies, detection agencies; the regulatory data includes at least one of: and the production organization reports the backup data of the supervision organization, the detection data of the government, the spot inspection data of the supervision department and the detection condition report of the detection organization.
In one example, before writing the hash value corresponding to the raw material data, the production data, the sales data, and the supervision data to the main chain, the method further includes: and calculating to obtain hash values corresponding to the raw material data, the production data, the sales data and the supervision data through a Merckel tree algorithm.
In one example, the method further comprises: generating and deploying a corresponding intelligent contract in the blockchain platform, wherein the intelligent contract comprises at least one of the raw material data, the production data, the sales data and the supervision data; the intelligent contract is used for: writing the raw material data, the production data, the sales data, the regulatory data to the side chain; or calculating to obtain hash values corresponding to the raw material data, the production data, the sales data and the supervision data; or writing the hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
In one example, the sidechain is a federation chain, and the consensus nodes in the sidechain include a predetermined number of facilities among the supply facility, the production facility, the sales facility, and the regulatory facility.
In one example, the method further comprises: a digital object unique identifier for the product is generated to facilitate querying of data related to the product.
On the other hand, the present application further provides a supply chain tracing apparatus based on a block chain, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer; determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product; and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
In another aspect, the present application further provides a non-volatile computer storage medium for supply chain tracing based on a block chain, storing computer-executable instructions configured to: determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer; determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product; and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
The supply chain tracing method based on the block chain can bring the following beneficial effects:
the products are stored in the blockchain platform from the whole process of production and detection and sale. Because the data in the blockchain platform is public and transparent, the consumer can trace the source of the purchased product through a corresponding way at any time. And because the blockchain platform is in distributed storage, data tampering of a single node cannot be effective, and the truthfulness and the credibility of the data on the blockchain platform are ensured. Whether the consumer or any node in the production mechanism, the supply mechanism and the supervision mechanism can trace the source through the related path. Corresponding data are stored in the side chain, and only the corresponding hash value is stored in the main chain, so that a series of problems caused by excessive data in the block chain are solved. Once the consumer purchases fake and shoddy products, the problem can be determined by tracing the source at any time, and the rights and interests of the consumer can be maintained.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a block chain-based supply chain tracing method in an embodiment of the present application;
FIG. 2 is a schematic diagram of a block chain-based supply chain tracing apparatus according to an embodiment of the present disclosure;
FIG. 3 is a block chain platform according to an embodiment of the present disclosure;
FIG. 4 is a node diagram of a blockchain platform according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a Mercker tree in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a supply chain tracing method based on a block chain, including:
s101, determining a blockchain platform which is created based on a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer.
The Blockchain (Blockchain) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like, and is essentially a decentralized database.
A blockchain platform created based on the blockchain framework may first be determined. The blockchain frame may be any blockchain frame capable of implementing the corresponding function of the embodiment of the present application, for example, bitcoin, etherhouse, Fabric, Corda, and the like. A blockchain platform may refer to a platform that stores a blockchain, e.g., may be a distributed system, etc. Of course, the blockchain platform may also directly represent the blockchain itself, and is not limited herein.
The blockchain platform includes a main chain and side chains, and the side chain (Sidechain) technology can be applied to the expansion of blockchains, and is a protocol that can allow data in blockchains (which may be referred to as main chains herein) to be safely transferred to other blockchains (which may be referred to as side chains herein) and also can be safely returned to the main chain from other blockchains. The protocol transfers some frequent and small transactions to the side chain for carrying out, thereby not only improving the operation efficiency of the block chain platform, but also reducing the transaction fee. Of course, in the block chain platform, there may be only one or more side chains, which correspond to different enterprises and are not described herein again.
As shown in fig. 4, each process corresponding to a product includes a supply mechanism for supplying raw materials, a production mechanism for producing processed products, a sales mechanism for selling products, and a corresponding regulatory mechanism. These mechanisms can be deployed as nodes in a blockchain platform. Of course, consumers may also be deployed in the blockchain platform as nodes, which are not described herein.
S102, determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces processed products, sales data of products sold by the sales mechanism, and supervision data of the supervision mechanism for the products.
After the blockchain platform is determined, data corresponding to the corresponding mechanism of the product in the production process can be determined, the data can be provided by the mechanism, and the data can comprise raw material data of raw materials supplied by a supply mechanism, production data when the production mechanism produces processed products, and sales data of the products sold by a sales mechanism.
The raw material data may include the origin, quality, specification, etc. of the raw material, and the sales data may include relevant data of the sales organization at the time of selling the product, such as sales volume, profit, vendor, consumer, etc.
The production data may be data used directly during the production process or other data that can indirectly direct the production to proceed or follow-up production improvements. The production data for example comprises at least one of: enterprise qualification, standard statement, production process, product certification, production flow data and the like. In addition to the enterprise itself, other parties involved in the production of the product (e.g., foundry manufacturers, third party integrators, etc.) may also provide production data of the product to the platform under the authorization of the enterprise. For ease of description, the enterprise itself and these other parties are collectively referred to as a production facility.
The production process comprises, for example, the steps of describing the origin and vein of the product, the processing links and equipment to be passed from the raw material to the finished product, and the symbols indicating the key control points of each link, even the specific process parameters of the product. The production process may be predetermined before production, and may be different from the actual production process.
The manufacturing process is preferably a relatively broad and practical process and may generally comprise at least most of the actual process stages from the time the product is in a raw material state until the time the product is introduced and used by the consumer. Such as which production lines are actually experienced, who the responsible person is, which warehouse manager's access operations are attended, which dealers are attended, etc.
The production process data may include, for example, data for at least one of the following production process phases: an idea stage, a design stage, a research and development stage, a manufacturing stage, a marketing stage, a warehousing stage, a delivery stage, etc. The member information, generation information and production information (such as drawing, code, document and mould) information of the stages can be used as the production flow data. The production flow data can be submitted to the platform by the corresponding stage of the manager, or the production flow data can be submitted through a uniform channel after the enterprise integrates the production flow data inside the platform, and other production data can be processed similarly. The submission of the production data can be realized by scanning corresponding scanned quality codes or quality code two-dimensional codes through scanning equipment such as a smart phone, a Personal Digital Assistant (PDA) scanning gun, a point of sale (POS) machine and the like.
Since the production data of the product is provided by the production organization, the data may be in the suspicion of beautifying, and in order to obtain more fair and objective quality data, the platform can also collect the relevant data of the product from the supervision organization supervising the product and the consumer of the product.
Generally, regulatory bodies such as governments, regulatory bodies, detection bodies, etc. can be considered more objective and fair, and more reliable, for the supervision of products. For a part of production data (for example, enterprise qualification, enterprise registration information, product production permission, etc.), which is in the state or industry mandatory regulations, production organizations report at these regulatory organizations, and then the reported part of production data can also be provided to the blockchain platform by these regulatory organizations, so that it is more reliable.
In addition to the backup data, the supervision data may include, for example, government test data, sampling data of a supervision department, test condition reports of a test institution, and the like. The regulatory data may be specific to the target enterprise or its products, such as detecting hardware conditions in the target enterprise's manufacturing plant, spot-checking product sample quality, etc.
Of course, the production data may also include more kinds of data, such as audit data reflecting whether the product is sold in different areas or not, competitive product data on the market, imitation data on the market, and the like, which are not described herein again.
S103, writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
As shown in fig. 3, after the corresponding data is determined, the data may be written into the side chains of the blockchain platform and then the corresponding hash value is written into the main chain. Corresponding data are stored in the side chain, and only the corresponding hash value is stored in the main chain, so that a series of problems caused by excessive data in the block chain are solved. Once the consumer purchases fake and shoddy products, the problem can be determined by tracing the source at any time, and the rights and interests of the consumer can be maintained.
In addition, corresponding intelligent contracts can be generated in advance and deployed in the blockchain platform. The intelligent contract includes at least one of raw material data, production data, sales data, regulatory data. The intelligent contract is used for writing raw material data, production data, sales data and supervision data into the side chain; or calculating to obtain hash values corresponding to the material data, the production data, the sales data and the supervision data; or writing the hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain. Since the intelligent contracts on the blockchain platform are public, each node can check whether the intelligent contracts are in accordance with the preset agreement or not and deploy the intelligent contracts on the own node. The consumer can inquire the intelligent contract through a corresponding way, so that the degree of automation of the transaction is improved, and the trust degree of the consumer is further increased. The intelligent contract can only be changed in an upgrading mode, each node needs to be synchronously deployed, once the intelligent contract is deployed, the intelligent contract can only be executed through a program, interference of human factors is avoided, and the reliability of data is enhanced.
In one embodiment, the side chain is a federation chain, and the consensus nodes in the side chain include a number of facilities predetermined among a supply facility, a production facility, a sales facility, and a regulatory facility. The side chain server is maintained by a core enterprise serving as a consensus node, runs a side chain process, is connected to a public chain for data storage, and can effectively improve the transaction efficiency on the side chain.
In one embodiment, the hash values corresponding to raw material data, production data, sales data, and supervision data may be calculated by Merkle Tree (Merkle Tree) algorithm. Namely, the hash locking is performed through the merkel tree, and then the resulting merkel Root (Merkle Root) is written into the main chain. Once the tracing information is tampered, the Merkle Root is changed, and the trueness and the reliability of the data are ensured.
As shown in fig. 5, after a round of transaction is finished, the information uploaded by the nodes such as the supply institution, the production institution, the distribution institution, the monitoring institution and the like on the side chain is used as the leaf node of the Merkle Tree, and the hash value of the leaf node is calculated. If there are multiple supply agencies or dealerships, the information of the different nodes is handled as leaf nodes, respectively. After obtaining a plurality of hash values (H1, H2, H3 …), pairwise operations are performed on (H1, H2, H3 …) to obtain the hash values. This loops until the root hash MerkleRoot is obtained.
And binding the Merkle Root with the batch number of the product, synchronizing to the main chain, and then taking the Merkle Root as a traceability verification code of the batch of products. After inquiring the product traceability information, the consumer obtains the Merkle Root by using the same method, and the Merkle Root is compared with the reliable value on the main chain, so that whether the traceability information of the product is tampered or not can be judged. Once the data is wrong, the regulatory body can use the MerkleTree algorithm to more quickly locate which branch the tampered data comes from and to undertake accountability to a specific link in the supply chain.
In one embodiment, a Digital object unique Identifier (DOI) for the product may also be generated, such as a two-dimensional code, barcode, etc., to facilitate more convenient traceability of the product by the consumer. Taking the two-dimensional code as an example, the consumer can access data associated with the product, such as production data, sales data, raw material data, supervision data, and the like of the cosmetic, by scanning the two-dimensional code corresponding to the product. Once the product has a problem, the consumer can trace the source of the product by scanning the two-dimensional code at any time to find the problem, so that the product is very convenient.
As shown in fig. 2, an embodiment of the present application further provides a supply chain tracing apparatus based on a blockchain, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer;
determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product;
and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
An embodiment of the present application further provides a non-volatile computer storage medium for supply chain tracing based on a block chain, in which computer-executable instructions are stored, where the computer-executable instructions are set to:
determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer;
determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product;
and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A supply chain tracing method based on a block chain is characterized by comprising the following steps:
determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer;
determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product;
and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
2. The method of claim 1, wherein the production data comprises at least one of: enterprise qualification, standard statement, production process, product certification and production flow data.
3. The method of claim 2, wherein the production flow data includes data for at least one production flow stage selected from the group consisting of: the production process comprises an creative stage, a design stage, a research and development stage, a manufacturing stage, a marketing stage, a warehousing stage, a distribution stage and a delivery stage.
4. The method of claim 1, wherein the regulatory authority comprises at least one of: governments, regulatory agencies, detection agencies;
the regulatory data includes at least one of: and the production organization reports the backup data of the supervision organization, the detection data of the government, the spot inspection data of the supervision department and the detection condition report of the detection organization.
5. The method of claim 1, wherein before writing the hash value corresponding to the raw material data, the production data, the sales data, and the regulatory data to the main chain, the method further comprises:
and calculating to obtain hash values corresponding to the raw material data, the production data, the sales data and the supervision data through a Merckel tree algorithm.
6. The method of claim 1, further comprising:
generating and deploying a corresponding intelligent contract in the blockchain platform, wherein the intelligent contract comprises at least one of the raw material data, the production data, the sales data and the supervision data;
the intelligent contract is used for:
writing the raw material data, the production data, the sales data, the regulatory data to the side chain; or
Calculating to obtain hash values corresponding to the raw material data, the production data, the sales data and the supervision data; or
And writing the hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
7. The method of claim 1, wherein the sidechain is a federation chain, and wherein the consensus node in the sidechain comprises a predetermined number of facilities among the supply facility, the production facility, the sales facility, and the regulatory facility.
8. The method of claim 1, further comprising:
a digital object unique identifier for the product is generated to facilitate querying of data related to the product.
9. A blockchain-based supply chain tracing device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer;
determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product;
and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
10. A non-transitory computer storage medium for blockchain-based supply chain tracing, the medium storing computer-executable instructions configured to:
determining a blockchain platform which is created on the basis of a blockchain framework in advance, wherein the blockchain platform comprises a main chain and a side chain, and nodes in the blockchain platform comprise a supply mechanism, a production mechanism, a sales mechanism, a supervision mechanism and a consumer;
determining raw material data of raw materials supplied by the supply mechanism, production data when the production mechanism produces a processed product, sales data of the product sold by the sales mechanism, and supervision data of the supervision mechanism for the product;
and writing the raw material data, the production data, the sales data and the supervision data into the side chain, and writing hash values corresponding to the raw material data, the production data, the sales data and the supervision data into the main chain.
CN201911401300.XA 2019-12-30 2019-12-30 Supply chain tracing method, equipment and medium based on block chain Pending CN111292097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911401300.XA CN111292097A (en) 2019-12-30 2019-12-30 Supply chain tracing method, equipment and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911401300.XA CN111292097A (en) 2019-12-30 2019-12-30 Supply chain tracing method, equipment and medium based on block chain

Publications (1)

Publication Number Publication Date
CN111292097A true CN111292097A (en) 2020-06-16

Family

ID=71022223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911401300.XA Pending CN111292097A (en) 2019-12-30 2019-12-30 Supply chain tracing method, equipment and medium based on block chain

Country Status (1)

Country Link
CN (1) CN111292097A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112598290A (en) * 2020-12-25 2021-04-02 南通大学 Fan blade green composite material supply chain quality monitoring method based on block chain
CN114257622A (en) * 2021-12-22 2022-03-29 黄金磊 Block chain node evolution method
CN114915428A (en) * 2022-07-18 2022-08-16 江苏数一科技服务有限公司 Alliance chain suitable for circulation steel is traceed to source

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112598290A (en) * 2020-12-25 2021-04-02 南通大学 Fan blade green composite material supply chain quality monitoring method based on block chain
CN114257622A (en) * 2021-12-22 2022-03-29 黄金磊 Block chain node evolution method
CN114915428A (en) * 2022-07-18 2022-08-16 江苏数一科技服务有限公司 Alliance chain suitable for circulation steel is traceed to source

Similar Documents

Publication Publication Date Title
Westerkamp et al. Blockchain-based supply chain traceability: Token recipes model manufacturing processes
CN111292097A (en) Supply chain tracing method, equipment and medium based on block chain
CN111415170A (en) Block chain-based food tracing method and equipment and related storage medium
CN104504487A (en) Method and system for tracing service object information between platforms
CN111161030A (en) Block chain-based dealer supply chain finance implementation method, equipment and medium
CN111008853A (en) Block chain-based fast-selling product tracing method, equipment and medium
CN110930170A (en) Block chain-based quality tracing method, equipment and medium for wine products
CN112036914A (en) Block chain-based edible agricultural product quality certificate management method, equipment and medium
CN111104463A (en) Block chain-based carbon emission management method, equipment and medium
CN111199350A (en) Block chain-based supervision and spot check method, equipment and medium
CN110930196A (en) Block chain-based electronic card issuing method, device and medium
CN110069937A (en) Data source tracing method, system and device based on block chain
CN110097195A (en) A kind of platform and equipment, medium of the management of total factor qualitative data
CN111091392A (en) Furniture tracing method, equipment and medium based on block chain
CN111274608A (en) Block chain-based enterprise authority management method, equipment and medium
CN111125754A (en) Tobacco source tracing method, equipment and medium based on block chain double-chain structure
CN111080314A (en) Block chain-based wholesale market quality tracing method, equipment and medium
CN117196646A (en) Supplier qualification auditing method, equipment and medium
CN111161049A (en) Block chain-based supply chain distributor trust granting method, equipment and medium
Marchesi Automatic Generation of a Blockchain-based Drug Supply Chain Management System
CN114491662A (en) Block chain-based data asset auditing method, system and equipment
Unurlu The integration of the blockchain technology into wine tourism
CN110992061A (en) Block chain-based product quality authentication method, equipment and medium
CN112579742A (en) Block chain-based enterprise message loss determination method, equipment and medium
CN111292071A (en) Contract settlement management method, device and medium based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200824

Address after: Room 1-2301, Building 7, North District, Shandong Design and Creative Industry Park, No. 868 Tangye West Road, Licheng District, Jinan City, Shandong Province, 250102

Applicant after: SHANDONG INSPUR QUALINK TECHNOLOGY Co.,Ltd.

Address before: Room 3110, S01 building, Langchao building, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province 250101

Applicant before: Shandong Aicheng Network Information Technology Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination