A blockchain-based Internet of Things information management method and system
By adopting blockchain technology in the Internet of Things information system, data security and information transparency are ensured, data security risks and information opacity in traditional systems are solved, and the efficiency and reliability of logistics and transportation are improved.
Patent Information
- Application Number
- CN202411620407.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-14
AI Technical Summary
Traditional IoT information systems have problems such as data security risks, opaque information, high payment costs and difficulty in handling disputes, which affect the efficiency and reliability of logistics and transportation.
The blockchain-based IoT information management method is adopted to ensure data security through the blockchain consensus algorithm, and the identity check and information verification on the chain are used to control IoT information, and the business process is automated and transparent through smart contracts.
It effectively ensures the data security and information transparency of the logistics and transportation system, reduces payment and settlement costs, simplifies dispute handling, and improves the efficiency and reliability of logistics and transportation.
Smart Images

Figure CN119155319B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based Internet of Things information management method and system. Background Art
[0002] In the existing IoT information system, it is usually built on traditional Internet technology, including data layer, application layer and user interface layer. These layers are interdependent, forming the overall centralized architecture of the IoT. The data layer is responsible for data collection and transmission, the application layer is responsible for data processing and analysis, and the user interface layer is responsible for data display and operation. This architecture has played a role in improving production efficiency, reducing costs and improving product quality. However, since the entire IoT system requires the participation of multiple parties, the use of such a centralized architecture has information security weaknesses and potential risks to data security. Once an information system is attacked, it may lead to data leakage, property loss and even system crash.
[0003] Traditional IoT information systems that do not use blockchain technology may face data security risks, information opacity, high payment costs, and difficulty in dispute resolution, which will affect the efficiency and reliability of logistics and transportation.
[0004] High payment and settlement costs: The traditional logistics and transportation payment and settlement process may be cumbersome and time-consuming, requiring the use of multiple intermediaries and third-party institutions for fund settlement. This approach will increase transaction costs and time costs, and reduce the efficiency of logistics and transportation.
[0005] Difficulty in dispute resolution: Without the support of blockchain technology, it may be difficult to resolve disputes and disputes in logistics and transportation. The lack of reliable data evidence and unalterable records may make it difficult to resolve disputes and affect partnerships and trust.
[0006] Information islands: Traditional logistics and transportation systems may have information islands, and different participants cannot effectively share and collaborate on information. The lack of a unified data platform and standardized information exchange mechanism may lead to information isolation and poor communication.
[0007] In traditional IoT systems, data may be at risk of being tampered with or leaked. Without the data protection mechanism of blockchain technology, information may be inaccurate and unreliable, increasing the risk of data security. In addition, information is opaque and lacks full supervision and real-time monitoring of blockchain technology. Information transmission during transportation may not be transparent and reliable enough, and the location, status and flow of information cannot be accurately understood, affecting the operational efficiency of the entire supply chain. Summary of the invention
[0008] In order to solve the data security risks that traditional Internet of Things systems may face, the present invention provides an Internet of Things information management method and system based on blockchain, which uses the consensus algorithm of blockchain to ensure data security, and manages Internet of Things information through identity verification and information verification on the chain. By logically linking, the safe operation of services is guaranteed and operating costs are reduced.
[0009] The present invention discloses an Internet of Things information management method based on blockchain, which includes: identity verification and business execution process in the Internet of Things business process, and Internet of Things logistics information authentication code generation and chain-up process;
[0010] The identity verification and business execution process in the IoT business process includes:
[0011] The business initiator generates his own public key and adds the public key to the IoT control information;
[0012] The initiator packages the order information and the operations to be performed, and digitally signs the packaged information using his or her own private key to generate a digital signature string;
[0013] The initiator's public key, order information and operation information, as well as the digitally signed string are packaged together in the IoT control information;
[0014] The packaged IoT control information interacts with the identity verification contract on the chain. The smart contract is used to record the packaged IoT control information.
[0015] The auditor extracts the information package submitted by the business initiator from the identity verification contract, parses the public key used by the initiator through the digital signature and the original information, and then compares it with the public key in the IoT control information to complete the verification of the business initiator's identity and manually review the rationality of the operation;
[0016] The auditor calls the identity audit contract, submits the audit results, and interacts with the audit contract through transactions. The identity audit contract completes the call to the business processing contract by judging the audit results, and the business processing contract automatically completes the business processing process;
[0017] The IoT logistics information authentication code generation and chaining process includes:
[0018] Extract IoT information summary information; extract time information as timestamp; generate random plaintext protection code; splice IoT information DNA string; perform hash operation to convert into encrypted information; use private key to generate digital signature; fill in transaction attachment information; node miners package transactions into blocks; network nodes confirm transactions in blocks.
[0019] Furthermore, extracting the summary information of the Internet of Things information includes:
[0020] The Hash algorithm is used to perform summary processing on the IoT information to generate a hash value of a fixed length; the generated hash value is converted into a string form, and the hash value in the string form is used as the unique identifier of the IoT information.
[0021] Further, extracting the time information as a timestamp includes:
[0022] Gets the current date and time and converts it to a string format as a timestamp. The timestamp contains time zone information to ensure consistency and verifiability around the world.
[0023] Furthermore, the generating of a random plaintext protection code includes:
[0024] The recipient uses the password generator to generate a random plaintext protection code according to the preset password complexity requirements;
[0025] The generated random plaintext protection code is combined with the custom user ID or transaction ID information to form a string protection code that uniquely identifies the IoT information;
[0026] The protection code string obtained after the combination cannot be used to infer the original random password or custom information.
[0027] Furthermore, the spliced IoT information DNA string includes:
[0028] The identifier generated by extracting the IoT information summary information, the timestamp corresponding to the extraction time information, and the random plaintext protection code are spliced in a predetermined format to form an IoT information DNA string; the splicing format uses separators to distinguish different information segments.
[0029] Furthermore, the Hash operation is converted into encrypted information, including:
[0030] Hash operation is performed on the DNA string of IoT information to convert the plaintext string into encrypted information; the encrypted information is one-way, that is, the original DNA string cannot be derived from the encrypted information without the private key.
[0031] Further, the use of a private key to generate a digital signature includes:
[0032] The encrypted DNA string is digitally signed using the recipient's private key to generate a digital signature. The digital signature is generated using an asymmetric encryption algorithm to ensure that only the corresponding public key can verify the validity of the signature.
[0033] The filling transaction ancillary information includes:
[0034] The digital signature and the encrypted DNA string are filled into the transaction together as the digital copyright transaction authentication code and as the supplementary information of the transaction; the format of the supplementary information complies with the requirements of the blockchain network, which includes the necessary header information and data structure.
[0035] Furthermore, the node miner packages the transaction into a block, including:
[0036] After the transaction is sent to the blockchain network, it is verified by the node miners and packaged and included in the new block; the packaging process follows the consensus mechanism of the blockchain network to ensure the validity and legality of the transaction.
[0037] Furthermore, the network node confirms the transaction in the block, including:
[0038] The blocks containing digital signatures and encrypted information are confirmed by network nodes. After all transactions in the blocks are confirmed, the digital copyright information will remain permanently in the blockchain database. The network node confirmation process includes the verification of blocks and transactions to ensure that transactions comply with network rules and protocols. The verification of blocks includes checking the validity of digital signatures and the consistency of hash operations. If the transaction is confirmed, it will be synchronized to all nodes in the network to ensure the immutability and transparency of the transaction.
[0039] The present invention also discloses an Internet of Things information management system based on blockchain, which includes: a data chain, an order platform node, a transportation platform node, a storage platform node and a review node; the order platform node, the transportation platform node, the storage platform node and the review node are connected through the data chain;
[0040] The order platform node is used to store order information and status in the blockchain in the form of smart contracts; the modification and confirmation of orders are owned by operators with corresponding permissions; orders include creation, review, execution, and completion status; when an order is created, the corresponding operator packages the order information and records it on the blockchain through transactions; when an order exists, the corresponding operator packages the order information and the operations to be performed, and uploads the packaged data package to the review contract; the auditor reads the status in the audit contract, parses the data package, confirms the identity of the person who uploaded the data package, makes a judgment on the rationality of the operation and completes the review; finally, after the review is completed, the review contract sends the transaction to the real business contract to complete the business processing;
[0041] The transportation platform node is used to perform corresponding offline operations through actual business contracts, including preparing for transportation, completing transportation, settling accounts, and ending orders;
[0042] The warehouse platform node is used to update the warehouse database by reading the data in the audit contract and business contract, thus completing the closed loop of the entire data chain;
[0043] The review node is used to directly read the contract status of each link, track the review and execution status of the Internet of Things through the contract status, and achieve timely judgment and management.
[0044] Due to the adoption of the above technical solution, the present invention has the following advantages:
[0045] 1. Combine the logistics and transportation system with blockchain technology and use smart contracts to make agreements. Blockchain technology can effectively ensure the accurate and complete record of the logistics and transportation system, while ensuring the transparency of logistics information, making it easier to handle disputes and realize information sharing and collaboration among different participants. With the support of blockchain technology, taking distributed accounting as an example, payment and settlement costs are significantly reduced, which improves the efficiency and reliability of logistics and transportation.
[0046] 2. Reconstruct the IoT information system through blockchain technology, use the blockchain consensus algorithm to ensure data security, and manage IoT information through identity verification and information verification on the chain. By logically chaining, ensure the safe operation of services and reduce operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0048] Figure 1 A schematic diagram of the identity verification and service execution process in the Internet of Things service process according to an embodiment of the present invention;
[0049] Figure 2 The figure is a schematic diagram of the process of generating and uploading the IoT logistics information authentication code according to an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.
[0051] See also Figure 1 and Figure 2, the present invention provides an embodiment of an Internet of Things information management method based on blockchain, which includes: identity verification and business execution process in the Internet of Things business process, and Internet of Things logistics information authentication code generation and chain-up process;
[0052] The identity verification and business execution process in the IoT business process includes:
[0053] S1. The business initiator generates his own public key and adds the public key to the IoT control information;
[0054] Specifically, S1 includes:
[0055] Generate public key: The service initiator uses the ECC (elliptic curve cryptography) encryption algorithm to generate a pair of public and private keys. The public key generation parameters include key length, encryption algorithm version, etc.
[0056] Add the public key to the IoT control information: embed the generated public key in the data structure of the IoT control information in Base64 encoding, and name the field "InitiatorPublicKey".
[0057] Regarding the completion of secret key generation, the public / private key pair is derived by the elliptic encryption algorithm. The private key can be derived from the public key through the algorithm, but the public key cannot be derived from the private key. After the data is encrypted with the private key, the public key can be derived from the original data and the encrypted string.
[0058] S2. The initiator packages the order information and the operations to be performed (cancel, modify, execute), and digitally signs the packaged information using his / her private key to generate a digital signature string;
[0059] Specifically, S2 includes:
[0060] The data is packaged in a string concatenated manner, and the Chinese characters and symbols contained in the information are encoded using GBK. After parsing, the IoT control information contains the initiator's public key, order information, order operation code, and a signature string of the order information and code using the initiator's private key.
[0061] a) Order information packaging: concatenate the order information (order number, product name, quantity, etc.) and the operation code ("01" for cancel, "02" for modify, and "03" for execute) in the string format of "order information|operation code".
[0062] b) Digital signature: Use the private key of the initiator to digitally sign the concatenated string, and the signature algorithm is SHA256withRSA. The generated digital signature string is expressed in Base64 encoding.
[0063] c) Encoding method: For Chinese characters and special symbols, GBK encoding is used for encoding.
[0064] S3, package the initiator's public key, order information and operation information, and the digitally signed string together in the IoT control information;
[0065] Specifically, S3 includes:
[0066] In the contract, anti-counterfeiting information and identification are added to the packaged IoT control information, including world time, other signatures, etc. The added anti-counterfeiting information is effective in preventing information retransmission and controlling operation permissions.
[0067] A1) Packaging IoT control information: Integrate the initiator’s public key, order information, operation information, and digital signature string into a JSON format data packet.
[0068] B1) Add anti-counterfeiting information: Add anti-counterfeiting information to the data packet in the contract: world timestamp (UTC time) and unique identifier (UUID).
[0069] C1) Adding flags: Adding operation permission flags to data packages. “01” stands for executable and “02” stands for view only.
[0070] S4. Contracts include audit contracts and business contracts. Audit contracts can call business contracts. The main purpose of audit contracts is to complete the storage of order information and the audit of order behavior (modification, cancellation, execution). After the auditor completes the offline audit, the real business contract can be directly called through the audit contract. The business contract realizes the actual change of order status, and the business contract can only be called by the audit contract. At this time, the packaged IoT control information interacts with the identity audit contract on the chain, and the smart contract is used to record the packaged IoT control information; the information that has been on the chain will be recorded in the blockchain data, and the entire operation process can be restored through data extraction.
[0071] S4 specifically includes:
[0072] A2) Audit contracts and business contracts: Audit contracts and business contracts are written in Solidity and deployed on blockchain platforms such as Ethereum.
[0073] B2) Audit contract calls business contract: Define a function in the audit contract to call the relevant functions of the business contract.
[0074] C2) Recording information: Smart contracts store packaged data packets on the blockchain, including order information, operation information, and digital signatures.
[0075] S5. The auditor extracts the information package submitted by the business initiator from the identity verification contract, parses the public key used by the initiator through the digital signature and the original information, and then compares it with the public key in the IoT control information to complete the identity verification of the business initiator, and manually reviews the rationality of the operation; during the operation, the contract automatically completes the remaining verifications, including time verification, order number verification, and other anti-counterfeiting information verification.
[0076] S5 specifically includes:
[0077] A3) Extracting information package: The auditor obtains the information package submitted by the initiator by calling the query interface of the identity verification contract.
[0078] B3) Identity verification: Use the public key to decrypt the digital signature, obtain the original text, and compare it with the order information and operation code in the information package to verify the correctness of the public key.
[0079] C3) Review the rationality of operations: Manually review the rationality of order operations, including order status, operation permissions, etc.
[0080] S6. The auditor calls the identity audit contract, submits the audit results, and interacts with the audit contract through transactions. The identity audit contract completes the call to the business processing contract by judging the audit results, and the business processing contract automatically completes the business processing process;
[0081] S6 specifically includes:
[0082] A4) Submit audit results: The auditor uploads the audit results ("passed", "rejected") through the submission interface of the identity audit contract.
[0083] B4) Transaction Interaction: The audit results interact with the audit contract through blockchain transactions to ensure the traceability of the audit process.
[0084] C4) Business processing contract call: The identity verification contract calls the corresponding function of the business processing contract based on the verification results and automatically completes the change of order status.
[0085] Security checks and logic rules are set in the contract. The contract is deployed on the enterprise's private node, which improves the security of the service. The data is stored in each node, and mutual backup is completed. The interactive data can be read or traced back through the blockchain transaction information, which improves the security of the data.
[0086] The IoT logistics information authentication code generation and chaining process includes the following steps:
[0087] S101. Extracting IoT information summary information;
[0088] Use the standard SHA-256 hash algorithm to perform summary processing on IoT information and generate a hash value of fixed length. b) The generation of summary information includes inputting the original data into the Hash function and obtaining the hash value through a series of calculations to ensure that a small change in the input data leads to a significant change in the hash value to ensure the integrity and consistency of the data. The generated hash value is converted into a string form as the unique identifier of the IoT information.
[0089] S102. Extract time information as a timestamp;
[0090] Use the international standard UTC time format to programmatically obtain the current date and time and convert it to a string format. The timestamp has a precision of seconds to ensure the accuracy of the time proof. The timestamp format is "YYYY-MM-DDTHH:MM:SSZ". The timestamp string contains time zone information to ensure consistency and verifiability worldwide.
[0091] S103. Generate a random plaintext protection code;
[0092] The recipient uses a password generator to generate a random plaintext protection code according to the preset password complexity requirements (including uppercase and lowercase letters, numbers, and special characters). The generated random plaintext protection code is combined with the custom user ID or transaction ID information to form a string protection code that uniquely identifies the IoT information. The combination method uses a complex HMAC algorithm, and the combined protection code string has higher security and irreversibility, that is, the original random password or custom information cannot be deduced from the result.
[0093] S104. Splicing IoT information DNA string;
[0094] The summary information identifier (string) generated in S101, the time information (timestamp in string format) obtained in S102, and the random protection code (string) generated in S103 are concatenated in a predetermined format to form a DNA string of IoT information. The concatenation format includes clear separators and uses the format of "summary information | timestamp | random protection code combined with information identifier" to distinguish different information segments. The DNA string is unique and verifiable to prove the validity and integrity of IoT digital information.
[0095] S105. Perform a hash operation to convert the information into encrypted information;
[0096] Perform a hash operation on the IoT information DNA string obtained in step 4, and use the SHA-256 hash algorithm to convert the plaintext string into encrypted information. The encrypted information is one-way, and the original DNA string cannot be derived from the encrypted information without the private key.
[0097] S106. Generate a digital signature using the private key;
[0098] The encrypted DNA string is digitally signed using the recipient's private key to generate a digital signature. The digital signature is generated using an asymmetric encryption algorithm, such as RSA or ECDSA, to ensure that only the corresponding public key can verify the validity of the signature.
[0099] S107. Fill in transaction ancillary information;
[0100] The digital signature in S106 and the encrypted DNA string in S105 are filled into the transaction as the digital copyright transaction authentication code as the supplementary information of the transaction. The format of the supplementary information meets the requirements of the blockchain network, including the necessary header information and data structure.
[0101] S108. Node miners package transactions into blocks;
[0102] After the transaction is sent to the blockchain network, it is verified by the node miners and packaged into a new block. The packaging process follows the consensus mechanism of the blockchain network to ensure the validity and legitimacy of the transaction.
[0103] S109. Network nodes confirm transactions in the block;
[0104] The block containing the digital signature and encrypted information is confirmed by the network node. After all transactions in the block are confirmed, the digital copyright information will be permanently retained in the blockchain database. The network node confirmation process includes the verification of the block and the verification of the transaction to ensure that the transaction complies with the network rules and protocols. The verification of the block includes checking the validity of the digital signature and the consistency of the hash operation; once the transaction is confirmed, it will be synchronized to all nodes in the network to ensure the immutability and transparency of the transaction.
[0105] In this embodiment, different HASH algorithms and digital signature methods can be used for encryption. At the same time, more production data in actual production can be added for verification. In the audit stage, a multi-signature solution can be used to replace the single-signature method to improve the accuracy and operability of authentication.
[0106] The present invention also provides an embodiment of an Internet of Things information management system based on blockchain, which includes: a data chain, an order platform node, a transportation platform node, a storage platform node and a review node; the order platform node, the transportation platform node, the storage platform node and the review node are connected through the data chain;
[0107] The order platform node is used to store order information and status in the blockchain in the form of smart contracts; the modification and confirmation of orders are owned by operators with corresponding permissions; orders include creation, review, execution, and completion status; when an order is created, the corresponding operator packages the order information and records it on the blockchain through transactions; when an order exists, the corresponding operator packages the order information and the operations to be performed, and uploads the packaged data package to the review contract; the auditor reads the status in the audit contract, parses the data package, confirms the identity of the person who uploaded the data package, makes a judgment on the rationality of the operation and completes the review; finally, after the review is completed, the review contract sends the transaction to the real business contract to complete the business processing;
[0108] The transportation platform node is used to perform corresponding offline operations through actual business contracts, including preparing for transportation, completing transportation, settling accounts, and ending orders;
[0109] The warehouse platform node is used to update the warehouse database by reading the data in the audit contract and business contract, thus completing the closed loop of the entire data chain;
[0110] The review node is used to directly read the contract status of each link, track the review and execution status of the Internet of Things through the contract status, and achieve timely judgment and management.
[0111] In this embodiment, the Internet of Things information system based on blockchain is established: the Ethereum private chain structure is adopted. Since the order information and various production data belong to the technical secrets of the enterprise, the security of the order information and production data is ensured, and the reading of the data is only saved within the enterprise. Therefore, a private chain structure is used to establish multiple Ethereum nodes within the enterprise, which are connected through communication and identification between networks to complete the broadcast and consensus of information. Ethereum supports the writing of smart contracts, so the business logic and identity recognition functions of the enterprise can be completed on the chain. In actual deployment, other blockchain architectures with smart contract functions can be used, such as Solana (public chain), Aptos (first-layer blockchain platform), etc.
[0112] Through the method of the above embodiment, the enterprise builds an Internet of Things information management system based on blockchain through decentralized nodes. The data of each node can be backed up with each other, and the entire system can still operate normally if a single node is damaged or invaded. The cost of maintaining node security will be greatly reduced, and based on the characteristics of blockchain, even if all nodes are devastated by data damage at the same time, the data nodes on the cloud can still be used to fully restore the data, thereby improving data availability. The upgrade and modification of the Internet of Things information management system can be completed in the form of a new contract or proxy contract, reducing the service downtime during system upgrades and the development and maintenance time for system logic reconstruction. In terms of operation, the permission restrictions implemented by the code reduce the possibility of human operational errors and illegal operations, and the encryption and confirmation of data are completed by cryptography, which improves the security of data transmission and the overall stability of the Internet of Things logistics and transportation system.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A blockchain-based Internet of Things information management method, characterized in that: include: Identity verification and business execution process in IoT business process, IoT logistics information authentication code generation and chain upload process; The identity verification and business execution process in the IoT business process includes: The business initiator generates his own public key and adds the public key to the IoT control information; The initiator packages the order information and the operations to be performed, and digitally signs the packaged information using his or her own private key to generate a digital signature string; The initiator's public key, order information and operation information, as well as the digitally signed string are packaged together in the IoT control information; The packaged IoT control information interacts with the identity verification contract on the chain. The smart contract is used to record the packaged IoT control information. The auditor extracts the information package submitted by the business initiator from the identity verification contract, parses the public key used by the initiator through the digital signature and the original information, and then compares it with the public key in the IoT control information to complete the verification of the business initiator's identity and manually review the rationality of the operation; The auditor calls the identity audit contract, submits the audit results, and interacts with the audit contract through transactions. The identity audit contract completes the call to the business processing contract by judging the audit results. The business processing contract will automatically execute the corresponding transaction business process based on the audit results to ensure the automation and security of the entire business processing link; The IoT logistics information authentication code generation and chaining process includes: Extract IoT information summary information; extract time information as timestamp; generate random plaintext protection code; splice IoT information DNA string; perform hash operation to convert into encrypted information; use private key to generate digital signature; fill transaction attachment information; node miners pack transactions into blocks; network nodes confirm transactions in blocks; The method of using a private key to generate a digital signature includes: The encrypted DNA string is digitally signed using the recipient's private key to generate a digital signature. The digital signature is generated using an asymmetric encryption algorithm to ensure that only the corresponding public key can verify the validity of the signature. The filling transaction ancillary information includes: The digital signature and the encrypted DNA string are filled into the transaction together as the digital copyright transaction authentication code and as the supplementary information of the transaction; the format of the supplementary information complies with the requirements of the blockchain network, which includes header information and data structure.
2. The method according to claim 1, characterized in that The extracting of IoT information summary information includes: The Hash algorithm is used to perform summary processing on the IoT information to generate a hash value of a fixed length; the generated hash value is converted into a string form, and the hash value in the string form is used as the unique identifier of the IoT information.
3. The method according to claim 1, characterized in that The extracting time information as a timestamp includes: Gets the current date and time and converts it to a string format as a timestamp. The timestamp contains time zone information to ensure consistency and verifiability around the world.
4. The method according to claim 1, characterized in that: The generating of a random plaintext protection code comprises: The recipient uses the password generator to generate a random plaintext protection code according to the preset password complexity requirements; The generated random plaintext protection code is combined with the custom user ID or transaction ID information to form a string protection code that uniquely identifies the IoT information; The protection code string obtained after the combination cannot be used to infer the original random password or custom information.
5. The method according to claim 1, characterized in that The spliced IoT information DNA string includes: The identifier generated by extracting the IoT information summary information, the timestamp corresponding to the extraction time information, and the random plaintext protection code are spliced in a predetermined format to form an IoT information DNA string; the splicing format uses separators to distinguish different information segments.
6. The method according to claim 1, characterized in that The Hash operation is converted into encrypted information, including: Hash operation is performed on the DNA string of IoT information to convert the plaintext string into encrypted information; the encrypted information is one-way, that is, the original DNA string cannot be derived from the encrypted information without the private key.
7. The method according to claim 1, characterized in that The node miners package transactions into blocks, including: After the transaction is sent to the blockchain network, it is verified by the node miners and packaged and included in the new block; the packaging process follows the consensus mechanism of the blockchain network to ensure the validity and legality of the transaction.
8. The method according to claim 1, characterized in that: The network node confirms the transactions in the block, including: The blocks containing digital signatures and encrypted information are confirmed by network nodes. After all transactions in the blocks are confirmed, the digital copyright information will remain permanently in the blockchain database. The network node confirmation process includes the verification of blocks and transactions to ensure that transactions comply with network rules and protocols. The verification of blocks includes checking the validity of digital signatures and the consistency of hash operations. If the transaction is confirmed, it will be synchronized to all nodes in the network to ensure the immutability and transparency of the transaction.
9. A blockchain-based Internet of Things information management system, when applied to a logistics transportation system, is used to implement the method described in any one of claims 1 to 8, characterized in that: include: Data chain, order platform node, transportation platform node, storage platform node and review node; The order platform node, transportation platform node, storage platform node and review node are connected through a data link; The order platform node is used to store order information and status in the blockchain in the form of smart contracts. The modification and confirmation of orders are owned by operators with corresponding permissions. Orders include creation, review, execution, and completion status. When an order is created, the corresponding operator packages the order information and records it on the blockchain through transactions; when an order exists, the corresponding operator packages the order information and the operations that need to be performed, and uploads the packaged data package to the audit contract; the auditor reads the status in the audit contract, parses the data package, confirms the identity of the person who uploaded the data package, makes a judgment on the rationality of the operation and completes the audit; finally, after the audit is completed, the audit contract sends the transaction to the real business contract to complete the business processing; The transportation platform node is used to perform corresponding offline operations through actual business contracts, including preparing for transportation, completing transportation, settling accounts, and ending orders; The warehouse platform node is used to update the warehouse database by reading the data in the audit contract and business contract, thus completing the closed loop of the entire data chain; The review node is used to directly read the contract status of each link, track the review and execution status of the Internet of Things through the contract status, and achieve timely judgment and management.
Citation Information
Patent Citations
Transaction order circulation system and method based on block chain technology
CN110414936A
Account checking data chaining method based on block chain intelligent contract
CN112069262A