Block chain-based supply chain data verification method and system

Identity authentication and data verification of IoT devices through blockchain solves the problem of authenticity and security of supply chain data, achieving rapid data verification and the reliability of financial financing.

CN118677616AActive Publication Date: 2024-09-20TIANJIN UNIV

Patent Information

Application Number
CN202310265703.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-09-20
Estimated Expiration
2043-03-20

AI Technical Summary

Technical Problem

Blockchain technology cannot effectively verify the authenticity of off-chain data, making supply chain data unreliable in financial financing and management, making it difficult to achieve rapid verification and secure transmission of data.

Method used

Root certificates are issued to IoT devices through the blockchain, their identity information is mapped and stored in fragments, and smart contracts and supply chain management systems are used for data verification to ensure the authenticity and consistency of the data.

Benefits of technology

It improves the authenticity and security of supply chain data, realizes rapid verification and trusted transmission of data, and solves off-chain data authenticity and financial financing problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677616A
    Figure CN118677616A
Patent Text Reader

Abstract

The invention discloses a supply chain data verification method and system based on a block chain, and relates to the field of data security, and the method comprises the steps that an Internet of Things device sends Internet of Things device identity information to a block chain; the block chain extracts fragmented information from a plurality of preset full-quantity nodes according to the received identity information of the Internet of Things equipment, and combines the plurality of pieces of fragmented information into a root certificate of the Internet of Things equipment according to a set rule; a mapping relationship between the identity information of the Internet of Things equipment and a root certificate of the Internet of Things equipment is stored in the block chain; the block chain performs identity authentication based on the mapping relation verification combination; after the identity authentication is passed, the block chain collects data from the Internet of Things device and records the data as first data, and obtains data corresponding to the first data from the supply chain management system and records the data as second data; and the block chain performs data verification on the first data and the second data by using the smart contract, and outputs a verification result. The authenticity of the supply chain data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data security technology, and in particular to a supply chain data verification method and system based on blockchain. Background Art

[0002] At present, blockchain technology has experienced more than ten years of development. Its ledger consistency, joint maintenance, and consensus algorithm ensure the authenticity of on-chain data, but the authenticity of off-chain data has not been resolved so far. At the same time, combined with the needs of supply chain management, blockchain cannot achieve effective on-chain verification of data from different sources, and cannot promote the development of a trusted supply chain management ecosystem.

[0003] From the perspective of supply chain business, the supply chain has a strong demand for timely, authentic and accurate data, because it is necessary to establish a seamless data link between all production, distribution, procurement and after-sales services. Although a closed loop of business data for the entire chain has been established, the data does not have the ability to self-certify, so it cannot be used as a reliable basis for providing financial institutions in supply chain financial financing, and financing for small and medium-sized enterprises is even more difficult. How to achieve data security from the source, transmission, and storage has become the key, and how to achieve multi-dimensional data authenticity verification has become a problem that needs to be solved urgently. Summary of the invention

[0004] The purpose of the present invention is to provide a blockchain-based supply chain data verification method and system, which improves the authenticity of the supply chain data.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A blockchain-based supply chain data verification method, comprising:

[0007] The blockchain issues a root certificate to the IoT device, mapping the identity information of the IoT device with the root certificate of the IoT device;

[0008] The blockchain fragments and stores the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device into multiple preset full nodes;

[0009] The IoT device sends the IoT device identity information to the blockchain;

[0010] The blockchain extracts fragmented information from multiple preset full nodes based on the received identity information of the IoT device, and combines the multiple fragmented information for identity authentication according to the set rules;

[0011] When the IoT device passes the identity authentication, the blockchain collects data from the IoT device, recorded as first data, and obtains data corresponding to the first data from the supply chain management system, recorded as second data;

[0012] The blockchain uses a smart contract to verify the first data and the second data and output a verification result; the smart contract is used to verify whether the first data and the second data are consistent according to a set verification model; the verification result is data consistency or data inconsistency.

[0013] Optionally, for a cargo transportation scenario, the IoT device includes a carrier device, a receiver device, and a vehicle; the carrier device is used to identify cargo owner information, and the receiver device is used to identify vehicle information;

[0014] The first data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee; the second data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee.

[0015] Optionally, the set verification model is used to verify whether the consignor information, carrier information, vehicle information and consignee information in the first data correspond to and are consistent with the consignor information, carrier information, vehicle information and consignee information in the second data.

[0016] Optionally, the IoT device identity information is an IoT device ID.

[0017] Optionally, the number of the preset full nodes is an odd number.

[0018] The present invention discloses a supply chain data verification system based on blockchain, comprising: an Internet of Things device, a blockchain and a supply chain management system; the Internet of Things device and the supply chain management system are both connected to the blockchain;

[0019] The blockchain is used to issue a root certificate to an IoT device, and map the identity information of the IoT device to the root certificate of the IoT device;

[0020] The blockchain is also used to fragment and store the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device into multiple preset full nodes;

[0021] IoT devices are used to send IoT device identity information to the blockchain;

[0022] The blockchain is also used to extract fragmented information from multiple preset full nodes based on the received identity information of the IoT device, and combine the multiple fragmented information for identity authentication according to the set rules;

[0023] When the IoT device passes identity authentication, the blockchain is also used to collect data from the IoT device, recorded as first data, and obtain data corresponding to the first data from the supply chain management system, recorded as second data;

[0024] The blockchain is also used to perform data verification on the first data and the second data using a smart contract and output a verification result; the smart contract is used to verify whether the first data and the second data are consistent according to a set verification model; the verification result is data consistency or data inconsistency.

[0025] Optionally, for a cargo transportation scenario, the IoT device includes a carrier device, a receiver device, and a vehicle; the carrier device is used to identify cargo owner information, and the receiver device is used to identify vehicle information;

[0026] The first data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee; the second data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee.

[0027] Optionally, the set verification model is used to verify whether the consignor information, carrier information, vehicle information and consignee information in the first data correspond to and are consistent with the consignor information, carrier information, vehicle information and consignee information in the second data.

[0028] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0029] The present invention verifies the legitimacy of the identity of the Internet of Things device by extracting the root certificate stored in fragmented form, and verifies the data collected by the Internet of Things device and the data stored in the supply chain management system through a smart contract, thereby verifying the authenticity of the data collected by the Internet of Things device and the data stored in the supply chain management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0031] Figure 1 A flowchart of a supply chain data verification method based on blockchain is provided for an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the structure of a supply chain data verification system based on blockchain is provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] The purpose of the present invention is to provide a blockchain-based supply chain data verification method and system, which improves the authenticity of the supply chain data.

[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0036] Example 1

[0037] This embodiment provides a blockchain-based supply chain data verification method, such as Figure 1 As shown, the method includes:

[0038] Step 101: The blockchain issues a root certificate to the IoT device, and maps the identity information of the IoT device with the root certificate of the IoT device.

[0039] Step 102: The blockchain fragments and stores the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device into multiple preset full nodes.

[0040] Step 103: The IoT device sends the IoT device identity information to the blockchain.

[0041] Step 104: The blockchain extracts fragmented information from multiple preset full nodes based on the received identity information of the IoT device, and combines the multiple fragmented information for identity authentication according to the set rules.

[0042] Among them, step 104 specifically includes: combining multiple fragmented information according to the set rules to obtain the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device. If the identity information of the IoT device obtained by combining is consistent with the identity information of the IoT device sent by the IoT device to the blockchain, the identity of the IoT device is legal and the following steps are continued; otherwise, the identity of the IoT device is illegal and the subsequent steps are not executed.

[0043] The IoT device identity information is the IoT device ID.

[0044] The number of the preset full nodes is an odd number. The number of the preset full nodes is 3 or 5.

[0045] This embodiment extracts fragmented certificate information from three or five preset full nodes according to the IoT device ID, combines the extracted fragmented certificate information according to set rules, and obtains a combined root certificate.

[0046] Step 105: After the IoT device passes identity authentication, the blockchain collects data from the IoT device, recorded as first data, and obtains data corresponding to the first data from the supply chain management system, recorded as second data.

[0047] Step 106: The blockchain uses a smart contract to verify the first data and the second data and output a verification result; the smart contract is used to verify whether the first data and the second data are consistent according to a set verification model; the verification result is data consistency or data inconsistency.

[0048] When the verification result is that the data is consistent, the data subsequently collected by the IoT device is stored in the blockchain and the supply chain management system respectively.

[0049] For the cargo transportation scenario, the IoT devices include cargo owner devices, carrier devices, recipient devices and vehicles; the carrier devices are used to identify cargo owner information, and the recipient devices are used to identify vehicle information.

[0050] The first data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee; the second data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee.

[0051] The set verification model is used to verify whether the consignor information, carrier information, vehicle information and consignee information in the first data correspond to and are consistent with the consignor information, carrier information, vehicle information and consignee information in the second data.

[0052] For the cargo transportation scenario, a blockchain-based supply chain data verification method includes the following steps.

[0053] (1) Cargo carrier identification process:

[0054] The carrier's device ID is sent to the blockchain for identity verification. After verification, the carrier holds the carrier's device to scan the code, accepts the order, and obtains the cargo owner's information through scanning. The cargo owner's information includes the bill of lading code, and the cargo owner's information is sent to the blockchain.

[0055] The blockchain verifies the authenticity of the consignor information and the carrier information based on the consignor information.

[0056] (2) Transportation vehicle identification process:

[0057] The shipper's device ID is sent to the blockchain for identity verification. After verification, the shipper uses the shipper's device to scan the code and obtain the carrier's vehicle information, which includes the vehicle code, fuel level, and location information.

[0058] Blockchain verifies the authenticity of vehicle information.

[0059] (3) Goods acceptance and identification process:

[0060] The recipient's device ID is sent to the blockchain for identity verification. After verification, the recipient scans the code with the recipient's device to obtain the carrier's vehicle information and cargo owner information.

[0061] The blockchain verifies the authenticity of the combination of vehicle information and cargo owner information (cargo code + vehicle code = combination code).

[0062] This embodiment realizes a one-to-one correspondence between the information of the cargo owner, the carrier, the vehicle and the consignee, thereby preventing the inconsistency between the person and the vehicle and preventing disputes over the loss of goods after signing for them.

[0063] When auditing supply chain data, a supply chain data verification method based on blockchain in the present invention is suitable for verifying the authenticity of supply chain data.

[0064] The present invention integrates blockchain, the Internet of Things and a supply chain management system to form a cross-validation architecture. The cross-validation architecture of the present invention adopts microservices and modular design (providing a management mechanism and operating environment covering service registration, discovery, communication, and calling, and supporting the development and deployment of "loosely coupled" applications based on the integration of microservice units), and has strong scalability and redundancy. First, blockchain is used as the data base, and seamlessly integrated with the Internet of Things and supply chain management through full nodes and node authentication. Full nodes are used for transactions, and distributed ledgers are generated regularly and sent to other nodes. The transaction information in each ledger received is voted, and the information that meets the preset voting conditions is packaged as consensus result information, which is sent to other nodes. After receiving the information, voting is stopped and the information is stored. Secondly, the Internet of Things and the supply chain management system are authenticated by the blockchain node authentication method to achieve the locking of the device-data identity. Finally, smart contracts are used to verify the authenticity of multiple data for specific data or time periods, and a verification warning mechanism is provided to ensure that the data between multiple parties is authentic and reliable.

[0065] The present invention adopts a variety of technical means such as Internet of Things device information collection, data warehouse technology (ETL) data collection, etc. to complete the collection of large-scale, deep-level, heterogeneous data, and cooperates with protocol parsing technology and edge computing technology, relying on protocol conversion technology to realize the normalization and edge integration of multi-source heterogeneous data, realize the aggregation processing of underlying data, and realize the integration of data into the platform.

[0066] The verification data is encrypted using the encryption algorithms of SM2, SM4 and SM3. The storage of the verified structured and unstructured data is realized through the distributed book storage technology / blockchain technology to ensure the storage security of the data. Based on the verification rules, the present invention obtains and complies with the compliance review of credible production and transaction data in the form of a smart contract software program. It provides an effective data means for supply chain data management and monitoring.

[0067] The present invention provides a supply chain data verification method based on blockchain, which adopts identity verification and data verification to solve the problem of poor database storage security and reliability, making the data authentic and reliable. At the same time, it combines with smart contracts to complete the verification process in seconds, and adopts rule customization to adapt to data authenticity verification in more supply chain scenarios.

[0068] Example 2

[0069] This embodiment provides a supply chain data verification system based on blockchain, such as Figure 2 As shown, the system includes: an Internet of Things device, a blockchain and a supply chain management system; the Internet of Things device and the supply chain management system are both connected to the blockchain.

[0070] The blockchain is used to issue a root certificate to an IoT device, and map the identity information of the IoT device to the root certificate of the IoT device;

[0071] The blockchain is also used to fragment and store the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device into multiple preset full nodes;

[0072] IoT devices are used to send IoT device identity information to the blockchain;

[0073] The blockchain is also used to extract fragmented information from multiple preset full nodes based on the received identity information of the IoT device, and combine the multiple fragmented information for identity authentication according to the set rules;

[0074] When the IoT device passes identity authentication, the blockchain is also used to collect data from the IoT device, recorded as first data, and obtain data corresponding to the first data from the supply chain management system, recorded as second data;

[0075] The blockchain is also used to perform data verification on the first data and the second data using a smart contract and output a verification result; the smart contract is used to verify whether the first data and the second data are consistent according to a set verification model; the verification result is data consistency or data inconsistency.

[0076] For cargo transportation scenarios, the IoT devices include carrier devices, receiver devices, and vehicles; the carrier devices are used to identify cargo owner information, and the receiver devices are used to identify vehicle information;

[0077] The first data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee; the second data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee.

[0078] The set verification model is used to verify whether the consignor information, carrier information, vehicle information and consignee information in the first data correspond to and are consistent with the consignor information, carrier information, vehicle information and consignee information in the second data.

[0079] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0080] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A blockchain-based supply chain data verification method, characterized in that: include: The blockchain issues a root certificate to the IoT device, mapping the identity information of the IoT device with the root certificate of the IoT device; The blockchain fragments and stores the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device into multiple preset full nodes; The IoT device sends the IoT device identity information to the blockchain; The blockchain extracts fragmented information from multiple preset full nodes based on the received identity information of the IoT device, and combines the multiple fragmented information for identity authentication according to the set rules; When the IoT device passes the identity authentication, the blockchain collects data from the IoT device, recorded as first data, and obtains data corresponding to the first data from the supply chain management system, recorded as second data; The blockchain uses a smart contract to verify the first data and the second data, and outputs the verification result; The smart contract is used to verify whether the first data and the second data are consistent according to a set verification model; the verification result is data consistency or data inconsistency.

2. The blockchain-based supply chain data verification method according to claim 1 is characterized in that: For cargo transportation scenarios, the IoT devices include carrier devices, receiver devices, and vehicles; the carrier devices are used to identify cargo owner information, and the receiver devices are used to identify vehicle information; The first data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee; the second data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee.

3. The blockchain-based supply chain data verification method according to claim 2 is characterized in that: The set verification model is used to verify whether the consignor information, carrier information, vehicle information and consignee information in the first data correspond to and are consistent with the consignor information, carrier information, vehicle information and consignee information in the second data.

4. The blockchain-based supply chain data verification method according to claim 1, characterized in that: The IoT device identity information is the IoT device ID.

5. The blockchain-based supply chain data verification method according to claim 1 is characterized in that: The number of the preset full nodes is an odd number.

6. A blockchain-based supply chain data verification system, characterized in that: include: IoT devices, blockchain, and supply chain management systems; The IoT device and the supply chain management system are both connected to the blockchain; The blockchain is used to issue a root certificate to an IoT device, and map the identity information of the IoT device to the root certificate of the IoT device; The blockchain is also used to fragment and store the mapping relationship between the identity information of the IoT device and the root certificate of the IoT device into multiple preset full nodes; IoT devices are used to send IoT device identity information to the blockchain; The blockchain is also used to extract fragmented information from multiple preset full nodes based on the received identity information of the IoT device, and combine the multiple fragmented information for identity authentication according to the set rules; When the IoT device passes identity authentication, the blockchain is also used to collect data from the IoT device, recorded as first data, and obtain data corresponding to the first data from the supply chain management system, recorded as second data; The blockchain is also used to perform data verification on the first data and the second data using a smart contract and output a verification result; The smart contract is used to verify whether the first data and the second data are consistent according to a set verification model; the verification result is data consistency or data inconsistency.

7. The blockchain-based supply chain data verification system according to claim 6, characterized in that: For cargo transportation scenarios, the IoT devices include carrier devices, receiver devices, and vehicles; the carrier devices are used to identify cargo owner information, and the receiver devices are used to identify vehicle information; The first data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee; the second data includes information about the consignee, information about the carrier, information about the vehicle and information about the consignee.

8. The blockchain-based supply chain data verification system according to claim 7, characterized in that: The set verification model is used to verify whether the consignor information, carrier information, vehicle information and consignee information in the first data correspond to and are consistent with the consignor information, carrier information, vehicle information and consignee information in the second data.

Citation Information

Patent Citations

  • Internet of Things equipment identity authentication method and authentication system based on blockchain

    CN110995448A

  • Communication method and device based on block chain

    CN111787020A

  • Information processing method and device, equipment and storage medium

    CN115099814A

Cited By

  • Block chain-based e-commerce supply management method and system

    CN119849861A

  • An e-commerce supply management method and system based on a blockchain

    CN119849861B