Intelligent contract management method and system for cargo receipt circulation

By using a smart contract system to verify credentials, encrypt and construct documents, and monitor their status for cargo document transfer requests, the system solves the problems of low document transfer efficiency, easy loss, and easy tampering in existing technologies. It enables efficient and reliable document management with multi-node collaboration, improving the transparency and business adaptability of the supply chain.

CN121304010APending Publication Date: 2026-01-09SHENZHEN QIANHAIZEJIN IND & FINANCE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202511339033.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-18
Publication Date
2026-01-09

AI Technical Summary

Technical Problem

Existing document management methods rely on paper or centralized electronic systems, which suffer from low circulation efficiency, easy loss, difficulty in traceability, and easy tampering, making them unsuitable for modern supply chain scenarios with multi-node collaboration and high real-time requirements.

Method used

By using a smart contract system to verify, encrypt, monitor the status, and identify delivery vouchers for cargo document transfer requests, the system enables multi-node collaboration and state-driven automatic document generation and transfer. Utilizing the immutability and traceability of smart contracts, it generates and transmits multi-layered encrypted document vouchers.

Benefits of technology

It significantly improves the efficiency and accuracy of cargo document circulation, ensures transparency and credibility in the circulation process, reduces trust costs and communication delays between entities, and enhances business adaptability and anomaly handling capabilities in complex supply chain scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121304010A_ABST
    Figure CN121304010A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent contract management method and system for cargo receipt circulation, and the method comprises the steps: carrying out the certificate verification of a cargo receipt circulation request of a certificate initiation node through an intelligent contract system, generating a first receipt certificate, and transmitting the first receipt certificate to a certificate confirmation node for signing; receiving signing information of the voucher confirmation node, generating a second document voucher, sending the second document voucher to a first execution node, and monitoring cargo state information; according to the cargo state information, generating a third document voucher, sending the third document voucher to a second execution node, and obtaining transfer state information; and carrying out delivery voucher identification based on the transfer state information, generating a fourth document voucher, sending the fourth document voucher to a voucher receiving node for confirmation, and completing document circulation. According to the method, automatic receipt generation and circulation of multi-node collaboration and state driving can be realized, and trust cost and communication delay across subjects are greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cargo document technology, and in particular to a smart contract management method and system for cargo document circulation. Background Technology

[0002] With the development of smart contract technology, how to automate, trace, and prevent tampering of document flow has become an important research direction for improving supply chain transparency and operational efficiency. Existing document management methods mostly rely on paper or centralized electronic document systems, which suffer from low flow efficiency, easy loss, difficulty in traceability, and susceptibility to tampering. These methods typically only focus on the static storage or partial digitization of documents, lacking the collaborative management capabilities for the dynamic flow of documents throughout their entire lifecycle. This results in high cross-entity trust costs, delayed state synchronization, and difficulties in handling anomalies, making them unsuitable for modern supply chain scenarios with multi-node collaboration and high real-time requirements. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this application provides a smart contract management method and system for the circulation of goods documents, which can realize the automatic generation and circulation of documents with multi-node collaboration and state-driven operation, and significantly reduce the trust cost and communication delay between cross-entities.

[0004] This invention provides a smart contract management method for the circulation of goods documents, comprising: The smart contract system verifies the document transfer request of the document initiating node, generates the first document document, and sends it to the document confirmation node for signing. Receive the signing information from the voucher confirmation node, generate a second document voucher, send it to the first execution node, and monitor the cargo status information; Based on the cargo status information, a third document is generated and sent to the second execution node to obtain the transit status information; Based on the transit status information, delivery voucher identification is performed, a fourth document voucher is generated, and sent to the voucher receiving node for confirmation, thus completing the document flow.

[0005] Furthermore, the step of verifying the document transfer request from the document initiating node through the smart contract system, generating a first document document, and sending it to the document confirmation node for signing includes: The smart contract system performs signature verification and format compliance checks on the goods document transfer request to obtain verification request data. Based on the verification request data, extract cargo attributes and circulation rule parameters to generate an initial draft voucher; Based on the verification request data, the initial voucher draft is encrypted and constructed to obtain the first document voucher; The first document voucher is sent to the voucher confirmation node for digital signing via the communication interface of the smart contract system.

[0006] Further, the step of encrypting and constructing the initial document draft based on the verification request data to obtain the first document document includes: Extract the encrypted elements from the verification request data, integrate the elements, and generate encrypted credential elements; The initial draft voucher is structured and format-converted based on the voucher encryption elements to generate voucher data blocks; Based on the credential data block and the credential encryption elements, an anti-tampering credential identifier is obtained by performing an anti-tampering conversion. The voucher data block is constructed based on the tamper-proof voucher identifier to obtain the first document voucher.

[0007] Further, the process of receiving the signature information from the voucher confirmation node, generating a second document voucher, sending it to the first execution node, and monitoring the cargo status information includes: The system receives encrypted information sent by the credential confirmation node, performs integrity decryption verification, and obtains the signing information. The signature association and timeliness of the first document are verified based on the signature information to obtain a verified association document. Based on the verification associated voucher, the first document voucher is logically reconstructed to generate a reconstructed document; The signature information and the reconstructed document are merged to generate the second document voucher; The smart contract system sends the second document to the first execution node and monitors the cargo status information of the first execution node.

[0008] Further, the step of generating a third document based on the cargo status information and sending it to the second execution node to obtain transit status information includes: The cargo status information is parsed to obtain the cargo location identifier and cargo integrity identifier; Based on preset cargo transfer conditions, the cargo location identifier and cargo integrity identifier are used to construct vouchers to obtain a third document voucher; Based on the third document voucher, the node permission of the second execution node is verified to obtain node verification information; The cargo transfer task is allocated using the node verification information and the third document voucher to obtain transfer task information. Based on the transfer task information, the node behavior of the second execution node is monitored, and the transfer status information is obtained by integration.

[0009] Furthermore, the third document is constructed by constructing vouchers for the cargo location identifier and the cargo integrity identifier based on preset cargo transfer conditions, including: The cargo location identifier is matched with transfer nodes to obtain the target node identifier; The document compliance verification is performed on the cargo integrity identifier to obtain the cargo status identifier; Based on the cargo transfer conditions, the target node identifier is verified for permissions to obtain node permission information; Based on the node permission information and the cargo status identifier, contract conditions are matched to obtain contract execution conditions; Based on the contract execution conditions, the target node identifier and the cargo status identifier are used to generate the third document voucher.

[0010] Further, the step of identifying delivery vouchers based on the transit status information, generating a fourth document voucher, and sending it to the voucher receiving node for confirmation to complete the document flow includes: The transit status information is parsed and verified to obtain cargo location data and transportation information; Based on the cargo location data and the transportation information, a path consistency check is performed to generate transportation determination information; Based on the transportation determination information, the third document is verified for delivery triggering, and a delivery triggering event is generated. Based on the delivery trigger event, perform signature encapsulation and voucher reconstruction to generate the fourth document voucher; The fourth document is sent to the document receiving node for distributed ledger recording, completing the entire document flow process.

[0011] Further, the step of performing path consistency verification based on the cargo location data and the transportation information to generate transportation determination information includes: The waybill route terms are parsed from the cargo location data and the transportation information to obtain the agreed node sequence; The node status is compared with the cargo location data according to the agreed node sequence to obtain the path node fulfillment information; Based on the performance information of the path nodes, the document terms are judged to obtain a preliminary conclusion on the path. Based on the transportation information, the preliminary conclusion of the route is corrected for transportation anomalies and the contract status is constructed to generate the transportation determination information.

[0012] The present invention also provides a smart contract management system for the circulation of goods documents, applied to the smart contract management method for the circulation of goods documents described in any one of the above-mentioned methods, comprising: The acquisition module is used to verify the document transfer request of the document initiating node through the smart contract system, generate the first document document, and send it to the document confirmation node for signing. The analysis module is used to receive the signing information of the voucher confirmation node, generate a second document voucher, send it to the first execution node, and monitor the cargo status information. The processing module is used to generate a third document voucher based on the cargo status information and send it to the second execution node to obtain the transfer status information; The construction module is used to identify delivery vouchers based on the transfer status information, generate a fourth document voucher, send it to the voucher receiving node for confirmation, and complete the document flow.

[0013] The technical solution of the smart contract management method and system for the circulation of goods documents provided in this application may include the following beneficial effects: This application automates the verification and processing of document transfer requests through a smart contract system, achieving end-to-end electronic and automated management. This significantly improves the efficiency and accuracy of document transfer, overcoming the inefficiencies and error-prone nature of traditional paper-based or centralized systems. Leveraging the immutability and traceability of smart contracts, dynamic tracking and status synchronization of each document throughout its entire lifecycle are achieved, ensuring high transparency and reliability in the transfer process and effectively solving the problems of document loss, difficulty in traceability, and tampering in traditional methods. By incorporating real-time cargo and transit status information into the smart contract's judgment logic, multi-node collaboration and state-driven automatic document generation and transfer are achieved, significantly reducing trust costs and communication delays between entities and improving business adaptability and anomaly handling capabilities in complex supply chain scenarios. Through automatic identification and final confirmation of delivery vouchers, closed-loop management of document transfer is completed, ensuring clear responsibilities and auditable processes, providing a reliable, efficient, and secure document collaborative management mechanism for supply chain participants.

[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0015] The above and other objects, features and advantages of this application will become more apparent from the more detailed description of exemplary embodiments thereof in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments thereof.

[0016] Figure 1 A flowchart of a smart contract management method for the circulation of goods documents provided in this application; Figure 2 This application provides a structural diagram of a smart contract management system for the circulation of goods documents. Detailed Implementation

[0017] Preferred embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0018] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0019] It should be understood that although the terms "first," "second," "third," etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0020] Reference Figure 1 As shown, the present invention provides a smart contract management method for the circulation of goods documents, including: Step S1: Verify the document transfer request of the document initiating node through the smart contract system, generate the first document document, and send it to the document confirmation node for signing; Step S2: Receive the signature information from the voucher confirmation node, generate the second document voucher, send it to the first execution node, and monitor the cargo status information; Step S3: Based on the cargo status information, generate a third document voucher and send it to the second execution node to obtain the transfer status information; Step S4: Based on the transfer status information, identify the delivery voucher, generate the fourth document voucher, send it to the voucher receiving node for confirmation, and complete the document transfer.

[0021] Based on the steps described above, the detailed process is as follows: Step S1: After receiving a goods document transfer request submitted by the credential initiating node, the smart contract system executes a credential verification process. This process includes verifying the validity of the digital signature of the request data and checking the compliance of the message format to ensure that the request source is trustworthy and the data structure conforms to predefined specifications.

[0022] After successful verification, the system extracts the cargo attribute parameters (such as cargo code, category, and quantity) and circulation rule parameters (such as allowed circulation paths and validity periods) contained in the request, and generates an initial draft voucher accordingly. The initial draft voucher is then encrypted to form the first document voucher. This process uses an asymmetric encryption algorithm to encrypt the core fields of the voucher and adds a digital timestamp and initiating node identifier.

[0023] The first document is transmitted to the document verification node via the communication interface of the smart contract system, requesting digital signing. The document verification node uses its private key to sign the document's hash value, forming a legally valid electronic signature document.

[0024] Step S2: The smart contract system receives the signing information returned by the credential confirmation node. This information includes the digital signature and timestamp of the first document credential. The system performs integrity decryption verification on the signing information, confirms the validity of the signature by decrypting it with the public key, and verifies whether the timestamp is within its validity period.

[0025] After successful verification, the signed data is linked to the first document voucher to ensure the immutability of the voucher status and signing action. Based on the binding result, the voucher content is logically reconstructed to generate a reconstructed document containing the confirmation node's signing status.

[0026] The reconstructed document and signing information are hashed together to generate a second document voucher. This voucher simultaneously records the original hash of the first document voucher and the identity identifier of the confirming node. The second document voucher is transmitted to the first execution node via the smart contract's automatic distribution mechanism, activating the cargo status monitoring module. The monitoring module acquires real-time cargo status data (such as geolocation sensor readings, temperature and humidity records) through an IoT interface and dynamically associates and stores the status information with the second document voucher.

[0027] Step S3: The smart contract system generates a third-party document based on the cargo status information provided by the first execution node. The cargo status information, collected via IoT devices, includes cargo location coordinates, environmental parameters, and physical status data. The system parses and processes the raw status data, extracting the cargo's current location identifier and integrity check code. The current location identifier is matched against a predefined geofence of the transit node to determine the next node identifier that meets the transit conditions. The integrity check code is compared with the cargo preservation clauses agreed upon in the document to generate a cargo status compliance identifier.

[0028] The system calls upon the pre-defined cargo transfer condition rule base within the smart contract, performs logical judgments based on node identifiers and status identifiers, and generates a third document voucher containing transfer task instructions and permission constraints. This voucher is then encapsulated with a digital signature and transmitted to the second execution node. Upon receiving the voucher, the second execution node must complete identity authentication and permission verification. Node operation logs and sensor data generated during its execution process are recorded in real time and integrated to form transfer status information containing time series and geographical information, which is then fed back to the smart contract system.

[0029] Step S4: The smart contract system performs multi-dimensional verification of the transit status information reported by the second execution node. The verification process includes transit route consistency verification and data credibility assessment. By comparing the actual transit trajectory with a predefined route node sequence, a route deviation coefficient and performance score are generated. The system simultaneously detects abnormal fluctuations in transit environment parameters and the physical state of the goods, triggering a risk assessment based on the integrity verification rule base. Based on the verification results, transit judgment information is generated, which includes a route compliance conclusion and anomaly event identifiers. The system associates and maps the transit judgment information with third-party documentation, automatically activating a delivery trigger event when pre-defined delivery conditions are met.

[0030] The delivery-triggered event drives the smart contract execution of the credential reconstruction process, merging the hash values ​​of all previous credentials, node signing records, and status verification results to generate a fourth credential. This final credential is synchronously stored across multiple nodes using distributed ledger technology and transmitted to the credential receiving node. After the credential receiving node makes its final confirmation of the credential content, the complete document flow process is irreversibly recorded under the blockchain network consensus mechanism.

[0031] This application provides a smart contract management method for the circulation of goods documents. By using a smart contract system to automatically verify and process document circulation requests, it achieves full-process electronic and automated management, significantly improving the efficiency and accuracy of goods document circulation and overcoming the inefficiencies and errors of traditional paper-based or centralized systems. Utilizing the immutability and traceability of smart contracts, it enables dynamic tracking and status synchronization of each document throughout its entire lifecycle, ensuring high transparency and trustworthiness in the circulation process and effectively solving the problems of easy document loss, difficulty in tracing, and tampering in traditional methods. By incorporating real-time goods status information and transit status information into the smart contract's judgment logic, it achieves multi-node collaboration and state-driven automatic document generation and circulation, significantly reducing trust costs and communication delays between entities and improving business adaptability and anomaly handling capabilities in complex supply chain scenarios.

[0032] In one embodiment, a smart contract system verifies the document transfer request from the document initiating node, generates a first document document, and sends it to the document confirmation node for signing, including: Once the document transfer request initiated by the credential initiating node arrives at the smart contract system, the digital signature verification mechanism is immediately activated. This verification process employs an asymmetric encryption system, using the public key reserved by the credential initiating node during registration to decrypt the digital signature attached to the request, calculate the hash value of the request data, and compare it with the actual hash value calculated from the original request body.

[0033] After the digital signature verification is successful, the format compliance verification stage begins. The format verification strictly follows predefined specifications, reviewing each item in the request message for the existence of required fields, consistency of field data types, validity of numerical ranges, and correctness of encoding format.

[0034] Mandatory validation is implemented for specific business fields of cargo documents, including but not limited to the ISO standard format of cargo number, the industry standard structure of transport terms code, and the standard format of timestamp.

[0035] Intermediate results from all verification steps are recorded in real time to the verification log, ultimately generating verification request data containing the original request data, verification status identifier, timestamp, and verifier's digital signature. This data block is organized using a blockchain Merkle tree structure to ensure that any single point of modification is detected.

[0036] The verification request data is pushed to the credential generation engine for structured parsing. The parsing process, based on predefined cargo attribute extraction rules, precisely separates the basic cargo attribute set from the payload of the verification request data. This includes weight and volume data, chemical property identifiers, and dangerous goods classification codes from the cargo physical characteristics dimension, as well as cargo value declarations, insurance policy indexes, and customs classification codes from the commercial attributes dimension.

[0037] The synchronously extracted flow rule parameters cover core business rules such as transportation route constraints, transit node access rules, temperature and humidity control thresholds, and timeliness requirements. The extraction algorithm adopts deep feature extraction technology based on a rule engine, combining multi-level regular expression matching with a semantic analysis model to ensure the completeness and accuracy of attribute extraction.

[0038] After all extracted parameters are normalized, they are reorganized according to the international shipping document standard UN / CEFACT format to form an initial draft document containing standard header information, cargo attribute blocks, flow rule blocks, and metadata auxiliary areas. This draft document embeds digital watermarking technology, and its structural hash value is recorded in real time to a distributed ledger for audit traceability.

[0039] The encryption construction process employs a layered encryption architecture to securely harden the initial draft credential. The first layer of encryption targets the core business data of the credential, using the AES-256 algorithm combined with a dynamic session key extracted from the verification request data for symmetric encryption, ensuring the confidentiality of goods attributes and flow rule parameters. The second layer of encryption implements a digital envelope mechanism, using the public key of the credential confirmation node to perform asymmetric encryption on the aforementioned symmetric key, forming a secure key transmission channel. The third layer of protection uses the SHA-256 hash algorithm to generate a digital fingerprint for the encrypted credential data. This fingerprint is bound to the digital certificate of the credential initiating node to generate a digital signature. A trusted time source provided by a timestamp server is synchronously integrated during the encryption process to ensure that all encryption operations have accurate time anchors.

[0040] The generated first document is encapsulated in a standard format, containing an encrypted document body, a digital envelope structure, a digital signature block, and a timestamp token. The entire encryption process is completed within a hardware security module, ensuring that all key materials never leave the secure encryption environment.

[0041] The smart contract system activates a highly reliable communication interface to execute credential transmission tasks. The communication interface employs a dual-channel redundancy design: the primary channel transmits credentials via a blockchain P2P network, while the backup channel provides HTTPS secure transmission through an enterprise-grade API gateway. The transmission protocol follows the OASIS DSS standard, implementing digital document transmission specifications at the application layer and TLS 1.3 encrypted tunnel protection at the transport layer. The first credential is encapsulated in an encrypted message format conforming to RFC 5652, with an additional transmission integrity protection mechanism—the sender calculates the SHA-256 hash value of the credential data and transmits it with the message; the receiver verifies data integrity through hash comparison.

[0042] The transmission process incorporates an intelligent routing algorithm that selects the optimal transmission path in real time based on network conditions, ensuring low latency and high reliability in document transmission. Once the credential arrives at the confirmation node, the system automatically triggers the digital signing process. The confirmation node uses the private key in its hardware security module to digitally sign the credential hash value, generating a standard-compliant digital signature block and returning it to the smart contract system.

[0043] This embodiment combines a layered encryption architecture with a digital envelope mechanism to achieve multiple layers of protection for credential data, effectively preventing data leakage and tampering risks. The collaborative operation of dynamic session keys and hardware security modules ensures that key materials remain in a secure environment throughout the process, significantly improving the reliability of encryption operations. A dual-channel redundant communication design and intelligent routing algorithms guarantee high availability and integrity of credential transmission, avoiding transmission interruptions caused by single points of failure. The integration of digital signature and timestamp technologies provides non-repudiation and time-based reliability for credential operations, enhancing legal validity. The application of standardized message formats and transmission protocols ensures good interoperability and scalability of the system.

[0044] In one embodiment, an initial draft credential is encrypted and constructed based on verification request data to obtain a first document credential, including: The encrypted elements contained in the verification request data are systematically extracted. These elements include the encryption algorithm identifier, key version number, initialization vector data, and digital certificate serial number. The extraction process employs rule-based element recognition technology, using a predefined encrypted metadata template to perform a structured scan of the verification request data, accurately identifying the algorithm configuration parameters distributed in the data header and the key identification information embedded in the digital signature block. In the element integration stage, the extracted discrete encrypted elements are reassembled according to standards to generate a set of credential encrypted elements containing a complete description of the encryption strategy.

[0045] This set not only contains the technical parameters required for encryption operations but also integrates security policy identifiers related to credential types, such as the operating mode specification of symmetric encryption algorithms, the selection of padding schemes for asymmetric encryption, and the configuration of the number of iterations for hash algorithms. The integrated credential encryption elements are serialized using ASN.1 encoding format to form a machine-readable security policy description document, providing a complete configuration foundation for subsequent encryption operations.

[0046] The initial draft voucher is transformed according to the structured encoding rules specified in the voucher encryption elements. The encoding process first marks the business data elements in the draft with type and length according to standard BER encoding rules, achieving a self-descriptive structured organization of the data. Then, according to the data format requirements specified in the encryption elements, the encoded data stream is converted into a standard CBOR compressed binary format, significantly reducing data volume while maintaining complete semantic information. The format conversion stage introduces data normalization processing, standardizing all string fields and uniformly converting the byte order of numeric fields to ensure consistency in data processing across different platforms. The generated voucher data block contains the fully structured voucher content, encoded metadata header, and an integrity check code. This check code is generated using an algorithm based on the key material in the voucher encryption elements, providing initial integrity protection for the data block.

[0047] The voucher data block and the voucher encryption elements work together in the anti-tampering process. This process employs a multi-layered protection mechanism: First, a digital fingerprint of the voucher data block is generated based on the hash algorithm specified in the voucher encryption elements. This fingerprint is then bound and calculated with key cargo status data, including core elements such as cargo number, current transportation stage identifier, and the digital identity of the responsible party.

[0048] A trusted time source provided by a timestamp server is introduced, and the time information is combined with a digital fingerprint through a joint hash operation to generate a time-bound integrity verification value. Finally, the sequence information of the flow path nodes and the integrity verification value are combined and encrypted, and asymmetric encryption protection is implemented using the public key of the credential confirmation node. The generated tamper-proof credential identifier contains the encrypted integrity verification value, timestamp signature, and path verification data, forming a verifiable credential anti-counterfeiting identifier. This identifier establishes a bidirectional association with the original credential data block; any modification to the credential content will cause the identifier verification to fail.

[0049] The document construction process combines the tamper-proof document identifier with the document data block. The combination operation employs a layered nested structure: the inner layer is the encrypted document data block, the middle layer embeds the tamper-proof document identifier and its verification metadata, and the outer layer adds document header information including document type identifier, version number, generation timestamp, and relevant node digital certificates. The construction process strictly adheres to international electronic document standards for freight transport, ensuring that the generated documents comply with industry standards.

[0050] The generated first document is encapsulated in a digital envelope structure, containing encrypted cargo details, an anti-tampering verification mechanism, a digital signature block, and transmission metadata. This document possesses complete verifiability features, supporting subsequent verification of the authenticity of cargo information, traceability of the flow path, and non-repudiation of related responsibilities.

[0051] This embodiment effectively ensures the integrity and authenticity of voucher data during its circulation process by employing a multi-layered protection mechanism combined with a hash algorithm, preventing unauthorized tampering. Utilizing a trusted time source provided by a timestamp server, precise time anchors are provided for each operational step, enhancing the timeliness and traceability of voucher data. The application of a digital envelope structure and asymmetric encryption technology achieves end-to-end protection during data transmission, significantly improving the security of goods information. A two-way association mechanism between the tamper-proof voucher identifier and the original data block ensures that any modification operation is detected promptly, improving system reliability. The implementation of standardized voucher formats and industry standards guarantees good interoperability, facilitating collaborative work among different participants.

[0052] In one embodiment, receiving the signature information from the voucher confirmation node, generating a second document voucher, sending it to the first execution node, and monitoring the cargo status information include: The smart contract system receives an encrypted packet from the credential verification node. This packet is encapsulated in a digital envelope structure and contains encrypted signing data and related verification metadata. The decryption and verification process first uses the smart contract system's private key to decrypt the outer structure of the digital envelope, obtaining a symmetric session key. Then, this session key is used to decrypt the core encrypted data, yielding the original signed information. The integrity verification phase compares the hash value of the decrypted data, calculating the hash value of the current data and verifying it against the original hash signature attached to the packet.

[0053] The verification process also checks the validity of the digital timestamp to ensure that the signed information does not exceed the predetermined valid time window. The final signed information includes the digital signature of the credential confirmation node, the signing timestamp, the node's identity certificate, and related audit trail data. This data is organized in a structured JSON format for easy use in subsequent processing stages.

[0054] The digital signature data in the signing information is extracted for association verification. The verification process first decrypts the digital signature using the public key of the credential confirmation node to obtain the hash value of the first document credential. This hash value is then precisely matched with the actual hash value of the first document credential stored in the system to confirm that the signing operation indeed targets the specified credential object.

[0055] The timeliness verification process checks the time interval between the signing timestamp and the first document's generation timestamp to ensure the signing operation is completed within the preset valid signing timeframe. During verification, the digital certificate status of the document confirmation node is also checked to ensure the certificate has not expired or been revoked. All verification results are recorded in a verification report, which, along with the original signing information and the first document's metadata, generates a verification-related credential. This credential uses a digital signature to ensure its integrity and includes a complete record of the verification process, verification conclusions, and related evidence chain data.

[0056] The verification conclusions in the related vouchers are logically integrated with the original data of the first document voucher. The reconstruction process adaptively adjusts the data structure of the first document voucher based on the verification results, associating and mapping the verified digital signatures and timestamps with the original voucher data. The reconstruction operation follows the data specifications for international freight transport documents, reorganizing core elements such as cargo information blocks, transit path data, and responsible party identifiers within the voucher.

[0057] In particular, the structure of fields involving multiple signatures has been optimized, a digital signature verification index field has been added, and a two-way association mechanism between signature information and voucher content has been established. The reconstructed document contains complete historical voucher traceability information, and operation records and verification evidence are retained for each data modification step, forming a verifiable document structure with complete audit trail functionality.

[0058] Key data elements in the signed information are deeply integrated with the reconstructed document. The integration process uses data mapping technology to establish precise relationships between the digital signature data, timestamp information, and certificate information in the signed information and the corresponding fields in the reconstructed document.

[0059] The data elements are standardized and reorganized through transformation rules to ensure that the merged voucher content conforms to industry data exchange standards. Special emphasis is placed on maintaining data integrity and consistency during the content fusion process, and digital fingerprints are generated and recorded for all fusion operations.

[0060] The generated second document credential is encapsulated in a digital envelope structure, containing encrypted merged data, a digital signature block, verification index information, and related metadata descriptions. This credential supports multi-party verification requirements and possesses complete evidence chain characteristics.

[0061] The second document voucher contains the following core elements: Voucher Body Data: Inherited from the reconstructed document's business data, including cargo information, flow rules, and transportation terms. Signature Verification Block: Contains the digital signature sets of all signatories, corresponding verification indexes, and timestamp sequences. Certificate Information Module: Stores the digital certificates and certificate verification data of relevant nodes. Audit Trail Log: Records the entire operation history and verification results from the first document voucher to the current document.

[0062] The second document is sent to the first execution node via a distributed transmission mechanism using smart contracts. End-to-end encryption is employed during transmission, using the first execution node's public key to encrypt the document data, ensuring data confidentiality during transmission. An additional integrity protection mechanism verifies the integrity of the data transmission through hash value comparison. Upon delivery of the document, the smart contract system initiates a cargo status monitoring process, collecting key information such as the cargo's geographical location, environmental parameters, and transportation status indicators in real time via an IoT interface. The monitoring data is correlated with the second document, forming a complete cargo status tracking record. All status information is uploaded to a distributed ledger storage in real time, providing data support for subsequent document circulation.

[0063] The specific tasks and detailed process of the first execution node: The first execution node, as the starting execution unit for cargo transportation, mainly includes three core tasks: document receipt and verification, cargo loading execution, and status data collection.

[0064] In the document receipt and verification phase, the first execution node uses its private key to decrypt the received encrypted document data, obtaining the complete content of the second document document. The document is then subjected to integrity verification, including digital signature verification, certificate chain verification, and timestamp validity checks. Upon successful verification, the node extracts key data from the document, such as cargo information, transportation requirements, and operating procedures, integrates them, and obtains cargo status information, which serves as the basis for subsequent execution.

[0065] During the cargo shipment execution phase, the first execution node organizes specific cargo shipment operations according to the document requirements. This includes verifying the consistency between the physical goods and the document description, packaging the goods according to transportation requirements, and applying physical anti-counterfeiting labels. Detailed operation records are generated for all shipment operations, including operation time, responsible person, and operation result. These records are digitally signed and stored in association with the documents.

[0066] Status monitoring is achieved through a multi-dimensional sensor network. Environmental sensors are deployed inside cargo packaging or transport containers to monitor parameters such as temperature, humidity, vibration, and tilt in real time; GPS positioning devices are installed on transport vehicles to track geographical location information in real time; RFID or QR code scanning points are set up at key transportation links to record the cargo turnover status. All sensor data is uploaded to the smart contract system in real time through an encrypted transmission channel and linked with the corresponding voucher data.

[0067] The monitoring data processing employs intelligent analysis algorithms to perform real-time analysis and processing of the collected raw data. Geographic location data is compared with preset transportation routes to generate a route compliance report; environmental parameter data is compared with transportation requirements to generate an environmental adaptability assessment; and transportation status data is compared with timeliness requirements to generate a transportation progress analysis. All analysis results are updated in real-time to a distributed ledger for relevant parties to query and verify.

[0068] An anomaly handling mechanism monitors potential anomalies in real time. When monitored data exceeds preset thresholds, an early warning mechanism is automatically triggered, sending warning information to relevant responsible parties and recording details of the anomaly. In cases of major anomalies, emergency response procedures will be initiated, including protective measures such as freezing credential status and requiring re-verification.

[0069] This embodiment achieves verifiable monitoring of the entire cargo transportation process through the collaborative operation of a smart contract system and a multi-dimensional sensor network, ensuring the real-time association and immutability of logistics data and electronic vouchers. End-to-end encrypted transmission and digital signature verification mechanisms guarantee the integrity and confidentiality of voucher transmission, preventing unauthorized access and data leakage. Intelligent analysis algorithms perform real-time comparative analysis of transportation routes, environmental parameters, and timeliness requirements, automatically generating compliance reports and anomaly warnings, improving the transparency and reliability of the transportation process. Automatic triggering of anomaly handling mechanisms and activation of emergency procedures ensure timely response and resolution of issues, reducing cargo transportation risks.

[0070] In one embodiment, a third document is generated based on the cargo status information and sent to the second execution node to obtain transit status information, including: Cargo status information originates from real-time monitoring data collected by IoT sensors, including multi-dimensional information such as geographic location coordinates, environmental parameter readings, and physical status indicators. The status resolution process employs a rule-based data processing workflow to filter noise and remove outliers from the raw sensor data, ensuring data quality meets analytical requirements. Geographic location data is converted into standardized location identifiers using a GPS coordinate resolution algorithm. These identifiers include latitude and longitude information, geofence area codes, and location reliability scores.

[0071] Environmental parameter data is normalized according to cargo characteristics; temperature and humidity readings are converted into industry-standard rating labels; vibration and tilt data are used to generate physical condition assessment scores through pattern recognition algorithms. The integrity verification process compares the current status data with preset transportation conditions, generating an integrity label that includes a cargo integrity score, environmental compliance label, and abnormal event records. All analysis results are organized in a structured data format, and a bidirectional correlation is established between location labels and integrity labels, forming a traceable status analysis record.

[0072] Cargo transshipment conditions are predefined in the smart contract's rule base, including business rules such as transportation route constraints, environmental requirement thresholds, and timeliness standards. The credential construction process first matches the cargo location identifier with the route plan in the transshipment conditions, generating a location verification conclusion that conforms to the current transportation stage. The integrity identifier is then compared with cargo preservation requirements, producing integrity verification results that include environmental compliance certification and physical condition assessment.

[0073] The construction process employs a dynamic credential generation mechanism, combining location verification results, integrity verification results, and the hash value of the original status data to form the core content of the credential data. This core content undergoes digital signature encryption, is appended with a timestamp sequence and verification metadata, and finally generates a third-party document credential. The credential structure conforms to international electronic freight transport document standards, including machine-readable business data blocks, a verifiable security identifier area, and an expandable metadata area, supporting the automated processing and verification needs of subsequent stages.

[0074] The third document contains the identity identifier and permission constraints of the second execution node. The permission verification process first extracts the node's public key certificate and role permission description from the document. The verification system confirms the validity and current status of the certificate by querying the distributed identity registry, and checks the integrity of the certificate chain and the validity of the signature. The permission matching step compares the operation permissions declared by the node with the allowed operation set defined in the document, and generates a permission matching report.

[0075] The verification process also examines the node's historical behavior records, including past task completion status, anomaly occurrence rate, and other performance indicators, to form a comprehensive trust assessment. The final node verification information includes the identity verification result, the scope of permissions granted, the trust rating score, and the verification timestamp. This information is digitally signed to form an auditable verification credential.

[0076] The node verification information and the third document are used together to input the task allocation, generating specific transfer task instructions. The allocation process first determines the types of operations and restrictions that the second execution node can perform based on the permission grant scope in the verification information. Then, it parses the cargo characteristic data, transportation requirements, and timeliness constraints in the third document to generate a task parameter set.

[0077] The task allocation algorithm comprehensively considers factors such as the current location of nodes, resource availability, and load conditions to optimize and generate task execution plans. The final output transfer task information includes detailed work instructions, quality requirements, completion deadlines, reporting requirements, and exception handling procedures. This information is encapsulated into a machine-readable task description document and transmitted securely via a digital envelope mechanism.

[0078] Specifically, the transfer task instructions clearly stipulate the loading and unloading operation specifications, transportation route requirements, transfer node sequence, and special situation handling procedures; the quality requirements standards define the cargo preservation conditions in detail, including physical parameters such as temperature and humidity control range, vibration acceleration threshold, and tilt angle limit; the completion time limit sets the time window for each transportation stage, including time constraints such as start time, estimated arrival time, and maximum allowable delay threshold; the reporting requirements stipulate the communication specifications such as status update frequency, data format standards, and abnormal event reporting time limits; the abnormal handling procedures clearly define the handling plans for various emergencies, including emergency guidelines such as equipment failure response measures, environmental change response plans, and cargo emergency protection procedures.

[0079] All these task parameters are digitally encoded, organized in a machine-readable structured data format, and encrypted during transmission using a digital envelope mechanism to ensure the integrity and confidentiality of task information. A verification mechanism is simultaneously generated during task allocation, setting quantifiable completion indicators and verification standards for each task element, providing an evaluation basis for subsequent node behavior monitoring.

[0080] The second execution node's node behavior during cargo transfer encompasses multiple dimensions of operational activities. Vehicle operation behaviors include driving operations such as recording vehicle start and stop times, monitoring speed, and detecting route deviations; cargo handling behaviors involve physical operations such as recording loading and unloading timestamps, checking compliance with handling operation standards, and verifying cargo fixation status; environmental control behaviors include environmental management operations such as recording temperature and humidity control equipment operation and monitoring the implementation of protective measures; and communication and reporting behaviors include information exchange operations such as ensuring timely status updates, complete data reporting, and standardized reporting of abnormal events.

[0081] Node behavior monitoring is achieved through a multi-source data acquisition system. The vehicle-mounted terminal records real-time vehicle operating parameters, including engine status, speed, and fuel consumption; cargo sensors continuously monitor changes in physical state, including vibration frequency, tilt angle, and pressure distribution; environmental monitoring equipment collects environmental parameters such as temperature, humidity, light intensity, and gas concentration; and the GPS positioning system provides precise location trajectory recording. All monitoring data is transmitted in real-time to the smart contract platform via an encrypted communication channel.

[0082] The integration and processing of transit status information employs multi-level data fusion technology. Raw monitoring data undergoes preprocessing, including data cleaning, format standardization, and timestamp alignment. Feature extraction is then performed, extracting key indicators from the massive dataset, such as average driving speed, maximum vibration amplitude, and temperature and humidity fluctuation range. The data correlation stage compares the extracted feature indicators with the transit task requirements to generate an execution compliance assessment. An anomaly detection algorithm automatically identifies data points deviating from the normal range and marks potential problem areas.

[0083] Special emphasis is placed on data credibility verification during the status information integration process. Cross-validation mechanisms are used to compare similar data collected from different sensors to ensure data consistency; time series analysis is employed to check the logical rationality of the data; and digital signature verification guarantees the authenticity of the data source. The final generated transit status information includes a panoramic view of the transportation trajectory, environmental parameter change curves, operation timeline logs, a list of abnormal events, and an overall execution evaluation report.

[0084] The status information is organized in a hierarchical structure: the base layer contains the hash values ​​of the raw monitoring data; the analysis layer provides feature indicators and evaluation results; and the summary layer generates an overall overview of the execution status. All data blocks are protected for integrity using a Merkle tree structure, ensuring that any data tampering can be detected. The integrated transit status information provides a complete and reliable data foundation for subsequent delivery credential identification, supporting the automated decision-making and execution of smart contracts.

[0085] This embodiment combines multi-dimensional node behavior monitoring with multi-source data acquisition technology to achieve verifiable tracking of the entire cargo transfer process, ensuring that all operational actions are traceable. The use of data fusion and cross-validation mechanisms effectively improves the accuracy and reliability of status information, preventing data tampering and information distortion. Intelligent anomaly detection and early warning mechanisms promptly identify deviations during transportation, reducing the risk of cargo damage. Complete transfer status records provide reliable data support for subsequent processes, enhancing the transparency and traceability of the entire document flow. Standardized status information formats ensure interoperability between different systems, improving supply chain collaboration efficiency. The overall solution significantly improves the automation level of transportation management while ensuring cargo safety.

[0086] In one embodiment, a third document is generated by constructing vouchers for cargo location identifiers and cargo integrity identifiers based on preset cargo transfer conditions, including: Cargo location identifiers include spatial positioning information such as latitude and longitude coordinates, geofence area codes, and location reliability scores. The transshipment node matching process is based on predefined transportation route planning data, performing spatial correlation analysis between the real-time acquired location identifiers and the route node database.

[0087] The matching algorithm first calculates the spatial distance and reachability indices between the current location and each candidate node, generating preliminary matching results. Then, it verifies path continuity by combining the topology of the transportation route and node connectivity relationships, ensuring that the matching results match the actual logistics flow. The matching process also considers node type and functional characteristics, distinguishing between different types of nodes such as transit warehouses, distribution centers, and border checkpoints, and selecting appropriate target nodes based on the current stage of cargo transportation.

[0088] The generated target node identifier includes a unique node code, node type classification, spatial location description, and matching confidence score. This identifier establishes a bidirectional association with the cargo location identifier, forming a verifiable node matching record.

[0089] The cargo integrity label includes multi-dimensional assessment data such as cargo condition score, environmental compliance label, and abnormal event records. The document compliance verification process systematically verifies each assessment indicator in the integrity label according to predefined transportation quality standards and industry regulations. The verification process first compares the cargo condition score with the quality thresholds stipulated in the transportation contract to generate a quality compliance conclusion. The environmental compliance verification step checks whether environmental parameters such as temperature, humidity, vibration, and tilt are within permissible ranges, generating an environmental control assessment result.

[0090] Abnormal event records are categorized and compared with emergency response plan requirements to generate an anomaly handling compliance evaluation. All verification results are weighted and summarized to form a comprehensive cargo status identifier. This identifier adopts a standardized rating system, including core indicators such as quality status rating, environmental control score, and anomaly handling evaluation, providing a verified status data foundation for subsequent voucher construction.

[0091] The cargo transshipment conditions predefine the operational permission scope and constraints for each type of node. The permission verification process first extracts the node type code and functional characteristic description from the target node identifier and matches them with the permission rules in the transshipment conditions. The verification mechanism checks whether the node possesses the necessary qualifications to handle the current cargo category, including professional certifications such as special cargo transportation permits and dangerous goods handling qualifications. Simultaneously, it verifies the legality and sequential rationality of the node within the current transportation route, ensuring that node switching conforms to the predetermined logistics process.

[0092] Permission verification also involves node resource availability assessment, including real-time resource status checks such as storage capacity, processing power, and equipment status. The final generated node permission information includes an operation permission list, resource constraints, time limits, and verification timestamps. This information is encrypted with digital signatures to form auditable permission credentials.

[0093] Node permission information and cargo status identifiers are input into the contract condition matching engine to perform multi-dimensional condition compliance analysis. The matching process first maps the node permission list to the cargo status requirements to determine the degree of matching between the scope of operations that the node can perform and the processing requirements of the cargo. Then, a resource demand and supply matching analysis is performed, comparing the resource conditions required for cargo processing with the available resources of the node to generate a resource suitability assessment.

[0094] The contract compliance check verifies whether all operational conditions meet the execution standards stipulated in the smart contract, including key clauses such as quality assurance requirements, timeliness commitments, and security measures. The matching results are weighted and prioritized to generate specific contract execution conditions. These conditions clearly define node operation specifications, quality monitoring requirements, anomaly handling procedures, and completion standards.

[0095] The contract execution conditions, target node identifier, and cargo status identifier serve as core data inputs in the certificate generation process. The generation mechanism first structurally integrates these three types of data, establishing a mapping relationship between them. The certificate content is organized using a layered architecture: the base layer contains original identifier data and verification information; the execution layer records detailed contract execution conditions and operational specifications; and the verification layer provides a data integrity protection mechanism.

[0096] Digital signature technology is used during the voucher generation process to individually encrypt and protect key data blocks, ensuring the voucher's immutability. The final generated third-party voucher adopts a standardized electronic document format, containing complete node operation authorization, cargo status authentication, execution condition details, and verification data, providing an authoritative execution basis and verification foundation for subsequent cargo transfer operations.

[0097] This embodiment achieves multi-layered security protection for credential data through the combined application of a layered encryption architecture and a digital envelope mechanism, effectively preventing the risk of data leakage and tampering during transmission and storage. A collaborative mechanism of node permission verification and contract condition matching ensures that operations at each transit stage comply with preset business rules and permission constraints, improving the overall compliance and reliability of the process. Real-time verification of cargo status identification and location information establishes a complete cargo traceability system, enhancing the transparency and traceability of the transportation process. An intelligent contract execution condition generation mechanism can automatically adapt to the needs of different transportation scenarios, improving the system's adaptability and flexibility.

[0098] In one embodiment, delivery voucher identification is performed based on transit status information, a fourth document voucher is generated, and sent to the voucher receiving node for confirmation to complete the document flow, including: The transit status information includes multi-source heterogeneous data, covering elements such as GPS positioning records, sensor monitoring data, operation timestamp sequences, and environmental parameter logs. The parsing process employs a layered processing mechanism. The raw data is first standardized in format, unifying the time base and coordinate reference system. The trusted verification stage implements multiple checks: digital signature verification ensures the authenticity of the data source, timestamp sequence checks ensure the timeliness of the data, and hash value comparison confirms the integrity of the data.

[0099] The cargo location data extraction process integrates multi-dimensional positioning information, including GPS coordinates, base station positioning data, and Wi-Fi positioning signals. A weighted algorithm is used to generate a high-precision location estimate, accompanied by a positioning accuracy indicator and a reliability score. Transportation information analysis extracts key transportation parameters from operation logs, including vehicle identification, mileage records, speed variation curves, energy consumption data, and other operational indicators. This is combined with environmental sensor data to generate a complete picture of the transportation process. All analysis results are structured and organized, establishing a spatiotemporal correlation between location data and transportation information to form a verifiable transportation status record.

[0100] Route consistency verification is based on predefined transportation route planning data and contractually agreed route requirements. The verification process first establishes a digital twin model of the transportation route, decomposing the planned route into a series of route segments and key waypoints. Cargo location data is then subjected to spatiotemporal matching analysis with the route model to calculate consistency indicators such as deviation between the actual trajectory and the planned route, node arrival time deviation, and route coverage. Finally, operational parameters in the transportation information are compared with route requirements for compliance, including operational compliance indicators such as speed limit adherence, rest time compliance, and avoidance of prohibited areas.

[0101] The consistency assessment employs a multi-factor weighted algorithm, comprehensively considering factors such as the degree of path deviation, the magnitude of time deviation, and the severity of violations to generate a comprehensive score. An anomaly detection mechanism identifies transportation behaviors that significantly deviate from expectations, including unusual stops, route deviations, and abnormal speeds. The final transportation judgment information includes a path compliance score, a list of anomalies, compliance conclusions, and improvement suggestions. This information is digitally signed to ensure its authenticity and integrity, providing an authoritative basis for subsequent delivery decisions.

[0102] Transportation determination information and third-party documentation jointly participate in the delivery trigger verification process. The verification mechanism first extracts the route compliance score and compliance conclusion from the transportation determination information and matches them with the delivery conditions agreed upon in the third-party documentation. The matching process focuses on verifying key delivery conditions such as whether the goods have been transported along the predetermined route, whether environmental parameters meet preservation requirements, and whether timeliness meets agreed standards. The list of abnormal events is reviewed in detail to assess the severity of the abnormal events and their impact on the status of the goods, determining whether they affect the fulfillment of delivery conditions.

[0103] The verification process simultaneously checks the completeness and validity of the signatures of all relevant parties to ensure that the delivery operation is legally authorized. When all verification conditions meet preset thresholds, the system automatically generates a delivery trigger event. This event includes a delivery timestamp, a summary of the verification result, relevant party identifiers, and the basis for the event trigger, and uses digital signatures to ensure the non-repudiation of the event record.

[0104] The delivery trigger event serves as a core input in the generation of the fourth document. The signature encapsulation stage first performs structured encoding on the delivery trigger event, then uses a digital envelope mechanism to encrypt and protect the event data. An association mapping is established between the event data and the third document, and hash chain technology ensures the verifiability of the data inheritance relationship. The document reconstruction process integrates key data generated from all previous processes, including cargo status records, transportation trajectory information, operation logs, and verification results.

[0105] The refactoring adopts a modular architecture to organize the voucher content: the basic information module retains the original document data; the execution record module contains the full-process operation log; the verification information module stores all verification results and signature data; and the event record module specifically records delivery trigger events and related evidence. The final generated fourth document voucher adopts a standardized data encapsulation format, contains complete process traceability information and multi-party digital signatures, forming a legally valid delivery voucher.

[0106] The fourth document credential is sent to the receiving node via a secure transmission protocol. End-to-end encryption is used during transmission, employing the receiving node's public key to encrypt the credential data and ensure confidentiality. Integrity protection mechanisms utilize digital signatures and hash value verification to guarantee lossless data transmission. The receiving node performs final verification of the fourth document credential, checking the integrity of the credential structure, the validity of the digital signature, and the consistency of the data logic. Upon successful verification, the credential data is submitted to the distributed ledger network for consensus verification and permanent storage.

[0107] The ledger recording process employs a multi-node consensus mechanism to ensure data immutability. All relevant nodes synchronously store copies of vouchers, forming a distributed evidence storage system. Upon completion of the ledger recording, the system generates a process completion confirmation event. This event includes the final voucher information, recording time, and node confirmation information, marking the formal completion of the entire document flow. All operation records and verification data generated throughout the process are permanently recorded in the distributed ledger, providing a complete data foundation for subsequent auditing and traceability.

[0108] This embodiment utilizes an automated delivery triggering mechanism implemented through smart contracts. This mechanism accurately verifies delivery conditions based on transportation determination information, ensuring the standardization and timeliness of the goods delivery process. Digital signature encapsulation and voucher reconstruction technologies are employed to organically combine delivery triggering events with historical voucher data, generating a fourth document voucher with complete traceability capabilities. A distributed ledger recording mechanism enables multi-party consensus storage of voucher data, guaranteeing the immutability and verifiability of document flow results. End-to-end encrypted transmission and integrity protection measures effectively prevent the risk of data leakage and tampering during transmission.

[0109] In one embodiment, route consistency verification is performed based on cargo location data and transportation information to generate transportation determination information, including: The waybill route terms parsing process is based on predefined transportation agreement terms and route planning data in the smart contract. The parsing mechanism first extracts route constraints from the transportation information, including a list of mandatory nodes, prohibited areas, and routing strategies such as preferred route selection. Cargo location data provides spatiotemporal information of the actual transportation trajectory, which is then matched with the route terms. The generation of the agreed-upon node sequence uses a topological sorting algorithm to decompose the transportation path into an ordered sequence of nodes, each containing detailed attributes such as spatial coordinate range, dwell time requirements, and operation type definitions.

[0110] The parsing process simultaneously considers transportation timeliness clauses, calculating the optimal time window and maximum allowable delay threshold between each node. The generated agreed-upon node sequence adopts a standardized coding format, including unique node identifiers, geofencing descriptions, time constraints, and operational specifications, providing a benchmark for subsequent node status comparisons. The entire parsing process ensures the completeness and accuracy of the route clauses, providing clear execution standards for transportation process monitoring.

[0111] The agreed-upon node sequence and real-time acquired cargo location data participate in the node status comparison process. The comparison mechanism establishes a spatiotemporal matching model, determining the inclusion relationship between cargo location coordinates and node geofences to ascertain whether the cargo has entered the designated node area. Time-dimensional analysis checks the degree of conformity between the actual arrival time and the planned time window, calculating the time deviation value.

[0112] The node status assessment employs a multi-indicator comprehensive evaluation system: spatial compliance measures location accuracy, temporal compliance assesses timeliness, and operational integrity checks whether the required operations are executed in a standardized manner. Performance information records detail the actual execution status of each node, including arrival timestamps, dwell time, operation completion status, and abnormal event records, among other key data.

[0113] The path node performance information generated during the comparison process is organized in a structured data format, including node execution scores, deviation analysis reports, compliance conclusions, and improvement suggestions, providing a detailed record of execution status for subsequent path determination. All performance information is attached with digital signatures and timestamps to ensure the authenticity and immutability of the data.

[0114] The route node performance information includes actual execution data and compliance assessment results for each node. The document clause judgment process compares and analyzes this data with the requirements of the terms in the transportation contract. The judgment mechanism first extracts the route execution standards from the document clauses, including key indicators such as node arrival time tolerance, dwell time limits, and operational standard requirements. The performance data of each node is matched with the corresponding clauses to calculate the degree of compliance and generate a node-level compliance score.

[0115] Route continuity analysis examines the connections between nodes, verifying the coherence and logical rationality of the transportation trajectory. Anomaly impact assessment analyzes the degree of influence of any deviation on overall transportation quality, distinguishing between minor deviations and major breaches. Based on the combined assessment results of all nodes, a weighted algorithm is used to generate an overall route execution score, leading to preliminary conclusions. These conclusions include an overall evaluation of route execution, analysis of key node performance, anomaly impact assessment, and improvement suggestions, providing a foundation for subsequent transportation decisions.

[0116] The transportation information provides complete data on the transportation process, including detailed information such as real-time operating parameters, environmental monitoring records, and operation logs. The anomaly correction process first identifies anomaly patterns in the transportation information, including records of sudden events, equipment malfunction alarms, and special circumstances such as abnormal environmental changes. These anomaly data are then correlated with the preliminary route conclusions to assess the actual impact of the anomalies on route execution.

[0117] The correction algorithm adjusts the scores and evaluations in the initial conclusions based on the severity and duration of the anomalies. The contract state construction phase then matches the corrected conclusions with the smart contract terms to generate a complete contract state description, including an assessment of contract performance, determination of liability for breach of contract, and triggering conditions for compensation mechanisms. The final transportation judgment information employs a multi-dimensional indicator system, including the final route execution score, anomaly handling conclusions, contract state identifiers, and a legal validity statement, providing authoritative and comprehensive judgment criteria for subsequent delivery decisions.

[0118] This embodiment utilizes an automated route consistency verification mechanism implemented through smart contracts. This mechanism accurately compares the actual transportation trajectory with the agreed route terms, ensuring the standardization and traceability of the transportation process. Employing multi-dimensional node status comparison technology, it comprehensively evaluates the accuracy of spatial location and the compliance with temporal execution, generating objective route node performance information. An intelligent correction algorithm based on transportation anomaly data can reasonably adjust route evaluation conclusions, improving the accuracy and fairness of the judgment results. The contract state construction mechanism precisely matches the route execution status with the smart contract terms, providing a reliable basis for determining breach of contract liability and triggering compensation mechanisms.

[0119] Reference Figure 2 As shown, the present invention also provides a smart contract management system for the circulation of goods documents, and a smart contract management method for the circulation of goods documents applied to any of the above-mentioned methods, comprising: The acquisition module is used to verify the document transfer request of the document initiating node through the smart contract system, generate the first document document, and send it to the document confirmation node for signing. The analysis module receives the signing information from the voucher confirmation node, generates a second document voucher, sends it to the first execution node, and monitors the cargo status information. The processing module is used to generate a third document based on the cargo status information and send it to the second execution node to obtain the transfer status information. The construction module is used to identify delivery vouchers based on transit status information, generate a fourth document voucher, and send it to the voucher receiving node for confirmation to complete the document flow.

[0120] This application provides a smart contract management system for the circulation of goods documents. The system automates the verification and processing of document circulation requests through smart contracts, achieving full-process electronic and automated management. This significantly improves the efficiency and accuracy of goods document circulation, overcoming the inefficiencies and error-prone nature of traditional paper-based or centralized systems. Utilizing the immutability and traceability of smart contracts, dynamic tracking and status synchronization of each document throughout its entire lifecycle are achieved, ensuring high transparency and reliability in the circulation process. This effectively solves the problems of document loss, difficulty in tracing, and tampering in traditional methods. By incorporating real-time goods status and transit status information into the smart contract's judgment logic, multi-node collaboration and state-driven automatic document generation and circulation are achieved. This significantly reduces trust costs and communication delays between entities, improving business adaptability and anomaly handling capabilities in complex supply chain scenarios.

[0121] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments concerning the apparatus in the above embodiments, and will not be elaborated further here.

[0122] The solution of this application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of each embodiment have different emphases; parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art should also understand that the actions and modules involved in the specification are not necessarily essential to this application. Furthermore, it is understood that the steps in the method of this application embodiment can be adjusted, combined, and deleted according to actual needs, and the modules in the device of this application embodiment can be combined, divided, and deleted according to actual needs.

[0123] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.

[0124] Alternatively, this application may be implemented as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) storing executable code (or computer program, or computer instruction code) thereon, which, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform part or all of the steps of the methods described above according to this application.

[0125] Those skilled in the art will also understand that the various exemplary logic blocks, modules, circuits, and algorithm steps described in connection with the present application can be implemented as electronic hardware, computer software, or a combination of both.

[0126] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0127] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A smart contract management method for the circulation of goods documents, characterized in that, include: The smart contract system verifies the document transfer request of the document initiating node, generates the first document document, and sends it to the document confirmation node for signing. Receive the signing information from the voucher confirmation node, generate a second document voucher, send it to the first execution node, and monitor the cargo status information; Based on the cargo status information, a third document is generated and sent to the second execution node to obtain the transit status information; Based on the transit status information, delivery voucher identification is performed, a fourth document voucher is generated, and sent to the voucher receiving node for confirmation, thus completing the document flow.

2. The smart contract management method for the circulation of goods documents according to claim 1, characterized in that, The step of verifying the document transfer request from the document initiating node through the smart contract system, generating the first document document, and sending it to the document confirmation node for signing includes: The smart contract system performs signature verification and format compliance checks on the goods document transfer request to obtain verification request data. Based on the verification request data, extract cargo attributes and circulation rule parameters to generate an initial draft voucher; Based on the verification request data, the initial voucher draft is encrypted and constructed to obtain the first document voucher; The first document voucher is sent to the voucher confirmation node for digital signing via the communication interface of the smart contract system.

3. The smart contract management method for the circulation of goods documents according to claim 2, characterized in that, The process of encrypting and constructing the initial document draft based on the verification request data to obtain the first document document includes: Extract the encrypted elements from the verification request data, integrate the elements, and generate encrypted credential elements; The initial draft voucher is structured and format-converted based on the voucher encryption elements to generate voucher data blocks; Based on the credential data block and the credential encryption elements, an anti-tampering credential identifier is obtained by performing an anti-tampering conversion. The voucher data block is constructed based on the tamper-proof voucher identifier to obtain the first document voucher.

4. The smart contract management method for the circulation of goods documents according to claim 1, characterized in that, The process of receiving the signature information from the voucher confirmation node, generating a second document voucher, sending it to the first execution node, and monitoring the cargo status information includes: The system receives encrypted information sent by the credential confirmation node, performs integrity decryption verification, and obtains the signing information. The signature association and timeliness of the first document are verified based on the signature information to obtain a verified association document. Based on the verification associated voucher, the first document voucher is logically reconstructed to generate a reconstructed document; The signature information and the reconstructed document are merged to generate the second document voucher; The smart contract system sends the second document to the first execution node and monitors the cargo status information of the first execution node.

5. The smart contract management method for the circulation of goods documents according to claim 1, characterized in that, The step of generating a third document based on the cargo status information and sending it to the second execution node to obtain transit status information includes: The cargo status information is parsed to obtain the cargo location identifier and cargo integrity identifier; Based on preset cargo transfer conditions, the cargo location identifier and cargo integrity identifier are used to construct vouchers to obtain a third document voucher; Based on the third document voucher, the node permission of the second execution node is verified to obtain node verification information; The cargo transfer task is allocated using the node verification information and the third document voucher to obtain transfer task information. Based on the transfer task information, the node behavior of the second execution node is monitored, and the transfer status information is obtained by integration.

6. The smart contract management method for the circulation of goods documents according to claim 5, characterized in that, The third document is constructed by constructing vouchers for the cargo location identifier and the cargo integrity identifier based on preset cargo transfer conditions, including: The cargo location identifier is matched with transfer nodes to obtain the target node identifier; The document compliance verification is performed on the cargo integrity identifier to obtain the cargo status identifier; Based on the cargo transfer conditions, the target node identifier is verified for permissions to obtain node permission information; Based on the node permission information and the cargo status identifier, contract conditions are matched to obtain contract execution conditions; Based on the contract execution conditions, the target node identifier and the cargo status identifier are used to generate the third document voucher.

7. The smart contract management method for the circulation of goods documents according to claim 1, characterized in that, The step of identifying delivery vouchers based on the transit status information, generating a fourth document voucher, and sending it to the voucher receiving node for confirmation to complete the document flow includes: The transit status information is parsed and verified to obtain cargo location data and transportation information; Based on the cargo location data and the transportation information, a path consistency check is performed to generate transportation determination information; Based on the transportation determination information, the third document is verified for delivery triggering, and a delivery triggering event is generated. Based on the delivery trigger event, perform signature encapsulation and voucher reconstruction to generate the fourth document voucher; The fourth document is sent to the document receiving node for distributed ledger recording, completing the entire document flow process.

8. The smart contract management method for the circulation of goods documents according to claim 7, characterized in that, The step of performing path consistency verification based on the cargo location data and the transportation information to generate transportation determination information includes: The waybill route terms are parsed from the cargo location data and the transportation information to obtain the agreed node sequence; The node status is compared with the cargo location data according to the agreed node sequence to obtain the path node fulfillment information; Based on the performance information of the path nodes, the document terms are judged to obtain a preliminary conclusion on the path. Based on the transportation information, the preliminary conclusion of the route is corrected for transportation anomalies and the contract status is constructed to generate the transportation determination information.

9. A smart contract management system for the circulation of goods documents, characterized in that, The smart contract management method for the flow of goods documents as described in any one of claims 1-7 includes: The acquisition module is used to verify the document transfer request of the document initiating node through the smart contract system, generate the first document document, and send it to the document confirmation node for signing. The analysis module is used to receive the signing information of the voucher confirmation node, generate a second document voucher, send it to the first execution node, and monitor the cargo status information. The processing module is used to generate a third document voucher based on the cargo status information and send it to the second execution node to obtain the transfer status information; The construction module is used to identify delivery vouchers based on the transfer status information, generate a fourth document voucher, send it to the voucher receiving node for confirmation, and complete the document flow.

Citation Information

Cited By

  • Multi-party joint authentication method and device for logistics order, and medium

    CN121723523A