Logistics data tracing method based on block chain

By scanning the logistics data traceability code and identifying image information, combining transportation and planned transportation nodes, determining the standards of logistics data and generating processing instructions, the problem of low traceability accuracy of logistics data in the existing technology is solved, and the accurate identification of real-time logistics data is achieved and intelligent regulation.

CN119273264AInactive Publication Date: 2025-01-07XIAN JIAOTONG ENG COLLEGE

Patent Information

Application Number
CN202411787726.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-01-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art cannot realize accurate identification and intelligent regulation of existing problems based on real-time logistics data, resulting in low accuracy of logistics data traceability.

Method used

By scanning the logistics data traceability code, identifying image information, issuing logistics data traceability requests, recording traceability time nodes, obtaining transportation and planned transportation nodes, determining whether transportation meets the standards, and generating processing instructions based on the differences, adjusting logistics plans to improve traceability accuracy.

Benefits of technology

It realizes accurate identification and intelligent regulation of logistics data traceability, improves the accuracy of logistics data traceability, and ensures the accuracy of real-time data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119273264A_ABST
    Figure CN119273264A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of logistics traceability, in particular to a logistics data traceability method based on a block chain, and the method comprises the steps: scanning a logistics data traceability code, intercepting image information with an identification code, recognizing the image information with the identification code, transmitting a traceability request, and recording a traceability time node. Obtaining a positioning time node and a corresponding transportation node of the cargo, a planned time node and a corresponding planned transportation node, and judging whether the transportation of the cargo meets the standard or not based on the transportation node and the planned transportation node; when it is judged that the cargo transportation does not conform to the standard, the reason for the non-conforming standard is determined, a corresponding processing instruction is generated, and the processing instruction is conveyed to the corresponding part so that the part receiving the instruction can re-determine the operation parameters of the part to obtain a complete logistics plan. According to the invention, accurate identification and intelligent regulation and control of existing problems based on real-time logistics data during tracing are effectively realized, and the accuracy of logistics data tracing is effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics traceability technology, and in particular to a logistics data traceability method based on blockchain. Background Art

[0002] Blockchain technology records every link in the logistics process through a distributed ledger to ensure that the information is transparent and cannot be tampered with. The data on each node is encrypted and stored on the blockchain, and any modifications will be recorded, thereby ensuring the authenticity and integrity of the data. Through blockchain technology, information transmission in the logistics process is more efficient, reducing the problems of intermediate links and information fragmentation. Enterprises can obtain logistics information in real time, reduce communication costs and time, and improve overall logistics efficiency. Blockchain technology can record the entire process information of product production, processing, transportation, etc. Consumers can obtain detailed information on products by scanning QR codes, etc., to ensure the source and quality of the products and enhance consumer trust in the products. At present, blockchain has broad application prospects in the logistics industry.

[0003] China Patent Publication No.: CN113435815B, discloses a blockchain-based express logistics traceability system and method, the express logistics traceability system includes a blockchain, a data update module, a data entry module, and a traceability QR code. The data update module collects data on express parcels and internal objects and forms a data packet. The data entry module transmits the data packet to the blockchain. The blockchain integrates several data packets transmitted by the data entry module into an express database, and the blockchain generates a traceability QR code linked to the express database. The external device checks the data in the express database through the traceability QR code, and the data update module collects data on the outer packaging and internal objects of the express. Every time it arrives at a station, the data update module will update and collect data once, and transmit it to the blockchain through the data entry module. When there is a problem with the express, by checking the data in the express database, the source of the problem can be queried. It can be seen that the above-mentioned logistics traceability system collects and updates data every time the express package arrives at a station, so that when there is a problem with the express delivery, customers can scan the traceability QR code to find the source of the problem, thereby facilitating returns, exchanges, and economic compensation. However, the above-mentioned solution cannot achieve accurate identification and intelligent regulation of existing problems based on real-time logistics data during tracing, and thus cannot guarantee the accuracy of logistics data tracing. Summary of the invention

[0004] To this end, the present invention provides a blockchain-based logistics data traceability method to overcome the problem of low accuracy of logistics data tracing due to the inability to accurately identify and intelligently regulate existing problems based on real-time logistics data during tracing in the prior art.

[0005] To achieve the above purpose, the present invention provides a blockchain-based logistics data tracing method, comprising: Scan the logistics data traceability code and capture the image information with the identification code; Identify the image information with the identification code, issue a logistics data tracing request, and record the tracing time node when the logistics data tracing request is issued; According to the logistics plan, the positioning time node closest to the traceability time node of the goods is obtained to obtain a transportation node corresponding to the positioning time node, and the planned time node of the goods under the corresponding positioning time node is obtained to obtain a planned transportation node corresponding to the planned time node; Determining whether the transportation of the goods meets the standards based on the transportation node and the planned transportation node, and determining the reason for not meeting the standards based on the transportation node and the planned transportation node when it is determined that the transportation of the goods does not meet the standards; After the cause is determined, a corresponding processing instruction is generated based on the determined cause; Transmitting the corresponding processing instructions to the corresponding components so that the components receiving the instructions redefine their operating parameters to obtain a complete logistics plan; When it is determined that the transportation of the goods meets the standards, a request for logistics data tracing is completed and logistics data tracing information is output.

[0006] Furthermore, the data traceability code is generated by integrating several logistics data packets into a logistics database through blockchain and then linking the logistics database; The logistics plan includes several planned time nodes and the planned transportation nodes corresponding to each planned time node. During the actual transportation process, several positioning time nodes are determined based on each planned time node, and the transportation nodes of the real-time goods under the positioning time nodes are updated in real time.

[0007] Further, the process of determining whether the transportation of goods meets the standard based on the transportation node and the planned transportation node includes: Calculating the straight-line distance between the transport nodes and the transport nodes, and recording the obtained straight-line distance as the transport node distance, and determining whether the transportation of the goods meets the standard according to the comparison result of the transport node distance and the corresponding preset transport node distance; When the transport node distance is less than or equal to the first preset transport node distance, it is determined that the transport of the goods meets the standard, the traceability request for the logistics data is completed, and the logistics data traceability information is output; When the transport node distance is greater than the first preset transport node distance and less than or equal to the second preset transport node distance, it is determined that the transport of the goods does not meet the standard, and based on the difference between the tracing time node and the positioning time node closest to the tracing time node, it is determined whether the positioning time node for the transport of the goods meets the standard; When the transportation node distance is greater than the second preset transportation node distance, it is determined that the transportation of the goods does not meet the standards, and the reason why the transportation of the goods does not meet the standards is determined based on the transportation node distance difference, wherein the transportation node distance difference is the difference between the transportation node distance and the pre-stored second preset transportation node distance.

[0008] Further, the process of determining whether the positioning time node for cargo transportation meets the standard based on the difference between the tracing time node and the positioning time node closest to the tracing time node includes: Determine the positioning time node that is closest to the tracing time node; Calculate the difference between the tracing time node and the positioning time node, and record the obtained difference as the time node difference, and determine whether the positioning time node for cargo transportation meets the standard according to the comparison result of the time node difference and the preset time node difference; When the time node difference is greater than the preset time node difference, it is determined that the positioning time node for cargo transportation does not meet the standard, and the positioning frequency of the positioning time node is increased based on the time node difference ratio, wherein the time node difference ratio is the ratio of the pre-stored preset time node difference to the time node difference; When the time node difference is less than or equal to the preset time node difference, it is determined that the positioning time node for cargo transportation meets the standard, and the reason why the cargo transportation does not meet the standard is determined based on the transportation node distance difference.

[0009] Further, the process of increasing the positioning frequency of the positioning time node based on the time node difference ratio includes: Comparing the time node difference ratio with a pre-stored preset time node difference ratio; The positioning frequency is increased based on the time node difference ratio, and the increase amplitude of the positioning frequency is proportional to the time node difference ratio.

[0010] Further, the process of determining the reason why the transportation of the goods does not meet the standards based on the transportation node distance difference includes: Comparing the transport node distance difference with a pre-stored preset transport node distance difference; When the transport node distance difference is less than or equal to the first preset transport node distance difference, determining that the reason why the transport of the goods does not meet the standard is that the road condition does not meet the standard, and determining a corresponding processing method based on the variance of the average moving speed of the goods; When the transport node distance difference is greater than the first preset transport node distance difference and less than or equal to the second preset transport node distance difference, the reason why the transport of the goods does not meet the standards is determined based on the curve area, wherein a time-total distance curve of the transport node and the terminal transport node changing with time is generated during the actual transportation of the goods, and a corresponding preset plan curve is generated synchronously when the data traceability code is generated, and the curve area is the area enclosed by the time-total distance curve and the pre-stored preset plan curve; When the transport node distance difference is greater than the second preset transport node distance difference, it is determined that the reason why the transportation of the goods does not meet the standards is that the transmission speed of the data packet transmitted to the blockchain does not meet the standards, and the number of splits for the data packet is determined based on the ratio of the average memory of the data packet to the average flow during the transmission process.

[0011] Furthermore, the process of determining the corresponding processing method based on the variance of the average moving speed of the goods includes: determining the variance of the average speed of movement of the cargo; comparing the variance with a pre-stored preset variance; When the variance is less than or equal to the preset variance, the number of planned time nodes is increased based on the variance of the average moving speed of the goods; When the variance is greater than the preset variance, the logistics plan is updated.

[0012] Furthermore, the process of increasing the number of planned time nodes based on the variance of the average moving speed of the goods includes: Calculating the difference between the pre-stored preset variance and the variance, and recording the obtained difference as the variance difference; The number of the planned time nodes is increased based on the variance difference, and the increase in the number is proportional to the variance difference.

[0013] Further, the process of determining the reason why the transportation of the goods does not meet the standards based on the curve area includes: Compare the curve area with the pre-stored preset curve area; When the curve area is less than or equal to the preset curve area, determining a corresponding processing method based on the variance of the average moving speed of the goods; When the curve area is greater than the preset curve area, the number of splits for the data packet is determined based on the ratio of the average memory of the data packet to the average flow during the transmission process.

[0014] Further, the process of determining the number of splits for the data packet based on the ratio of the average memory of the data packet to the average flow during the transmission process includes: determining an average memory of the data packet; determining the average flow rate during the transmission; Calculating a ratio of an average memory of the data packet to the average flow rate during transmission, and recording the obtained ratio as an average ratio; The number of splits for the data packet is increased based on the average ratio, and the increase in the number of splits is proportional to the average ratio.

[0015] Compared with the prior art, the beneficial effect of the present invention lies in that the present invention determines whether the transportation of goods meets the standards based on the transportation nodes and the planned transportation nodes, and determines the reasons for not meeting the standards based on the transportation nodes and the planned transportation nodes when it is determined that the transportation of goods does not meet the standards. After the reasons are determined, corresponding processing instructions are generated based on the determined reasons, which effectively realizes the accurate identification of existing problems based on real-time logistics data during tracing, transmits the corresponding processing instructions to the corresponding components so that the components receiving the instructions re-determine their operating parameters to obtain a complete logistics plan, effectively completes the intelligent regulation of existing problems based on real-time logistics data during tracing, and effectively ensures the accuracy of logistics data tracing.

[0016] Furthermore, the data traceability code is generated by linking the logistics database through the blockchain, which ensures the accuracy of real-time logistics data during traceability. The logistics plan includes several planned time nodes, several planned transportation nodes, several positioning time nodes and several transportation nodes, which helps to accurately identify existing problems based on real-time logistics data during traceability, further ensuring the accuracy of logistics data traceability.

[0017] Furthermore, when it is determined that the transportation of goods does not meet the standards, the positioning time node for the transportation of goods meets the standards based on the time node difference, so as to more accurately determine the reasons for the non-compliance with the standards for the transportation of goods and avoid misjudgment. While further realizing the accurate identification of existing problems based on real-time logistics data during traceability, the accuracy of logistics data traceability is further guaranteed.

[0018] Furthermore, when it is determined that the positioning time node for cargo transportation does not meet the standards, the positioning frequency of the positioning time node is increased based on the time node difference ratio, so as to avoid the occurrence of non-compliance with the standards for cargo transportation due to the positioning frequency of the positioning time node not meeting the standards. This further realizes the intelligent regulation of existing problems based on real-time logistics data during traceability, and further ensures the accuracy of logistics data traceability.

[0019] Furthermore, when it is determined that the transportation of goods does not meet the standards, the reason why the transportation of goods does not meet the standards is determined based on the difference in distance between the transportation nodes. This enables a specific determination of the reason why the transportation of goods does not meet the standards, while further realizing accurate identification of existing problems based on real-time logistics data during traceability, and further ensuring the accuracy of logistics data traceability.

[0020] Furthermore, when it is determined that the reason why the transportation of goods does not meet the standards is that the road conditions do not meet the standards, the corresponding processing method is determined based on the variance of the average moving speed of the goods, thereby avoiding the occurrence of misjudgment between the planned time node not meeting the standards and the logistics plan not meeting the standards. While further realizing the accurate identification of existing problems based on real-time logistics data during traceability, the accuracy of logistics data traceability is further guaranteed.

[0021] Furthermore, when the variance is less than or equal to the preset variance, the number of planned time nodes is increased based on the variance of the average moving speed of the goods, thereby avoiding the occurrence of non-compliance with the standards for cargo transportation due to the number of planned time nodes not meeting the standards. This further realizes the intelligent regulation of existing problems based on real-time logistics data during traceability, and further ensures the accuracy of logistics data traceability.

[0022] Furthermore, when the transport node distance difference is greater than the first preset transport node distance difference and less than or equal to the second preset transport node distance difference, the reason for the transportation of goods not meeting the standards is determined based on the curve area, thereby avoiding the occurrence of misjudgment between the road conditions not meeting the standards and the transmission of blockchain data packets not meeting the standards. This further realizes the accurate identification of existing problems based on real-time logistics data during traceability, and further ensures the accuracy of logistics data traceability.

[0023] Furthermore, when it is determined that the reason why the transportation of goods does not meet the standards is that the transmission of the blockchain data packet does not meet the standards, the number of splits for the data packet is determined based on the average ratio, thereby avoiding the occurrence of non-compliance with the standards for the transportation of goods due to the transmission of the data packet not meeting the standards. While further realizing the intelligent regulation of existing problems based on real-time logistics data during traceability, the accuracy of logistics data traceability is further guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A structural block diagram of a system using a blockchain-based logistics data traceability method; Figure 2 This is a flow chart of the blockchain-based logistics data tracing method of the present invention; Figure 3A flow chart of the present invention for determining whether the transportation of goods meets the standards and determining whether the positioning time node meets the standards; Figure 4 A flow chart of determining the reasons why the transportation of goods does not meet the standards according to the present invention. DETAILED DESCRIPTION

[0025] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0026] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0027] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0028] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0029] See also Figure 1As shown, it is a structural block diagram of a system using a blockchain-based logistics data traceability method. The structure of the embodiment of the present invention includes a terminal layer, an acquisition layer, a tracking layer, a storage layer, an analysis layer and an execution layer; wherein the terminal layer includes a number of query terminals for scanning the logistics data traceability code and intercepting the image information with the identification code; the acquisition layer is connected to the terminal layer, the tracking layer and the storage layer, for identifying the image information with the identification code, issuing a logistics data traceability request, and recording the traceability time node of issuing the logistics data traceability request. The acquisition layer is also used to obtain the positioning time node closest to the traceability time node of the goods according to the logistics plan, so as to obtain the transportation node corresponding to the positioning time node, and obtain the planned time node of the goods under the corresponding positioning time node, so as to obtain the planned time node. The analysis layer is connected to the acquisition layer and the storage layer to determine whether the transportation of the goods meets the standards based on the transportation node and the planned transportation node, and to determine the reasons for not meeting the standards based on the transportation node and the planned transportation node when it is determined that the transportation of the goods does not meet the standards; the analysis layer is also used to generate corresponding processing instructions based on the determined reasons after completing the determination of the reasons; the execution layer is connected to the analysis layer to transmit the corresponding processing instructions to the corresponding components so that the components receiving the instructions re-determine their operating parameters; the storage layer is connected to the acquisition layer, the tracking layer and the analysis layer to store the logistics plan and the corresponding preset standards.

[0030] See also Figure 2 As shown, it is a flow chart of the logistics data tracing method based on blockchain of the present invention. The method of the embodiment of the present invention includes: Scan the logistics data traceability code and capture the image information with the identification code; Identify the image information with the identification code, issue a logistics data tracing request, and record the tracing time node when the logistics data tracing request is issued; According to the logistics plan, the positioning time node closest to the traceability time node of the goods is obtained to obtain a transportation node corresponding to the positioning time node, and the planned time node of the goods under the corresponding positioning time node is obtained to obtain a planned transportation node corresponding to the planned time node; Determining whether the transportation of the goods meets the standards based on the transportation node and the planned transportation node, and determining the reason for not meeting the standards based on the transportation node and the planned transportation node when it is determined that the transportation of the goods does not meet the standards; After the cause is determined, a corresponding processing instruction is generated based on the determined cause; Transmitting the corresponding processing instructions to the corresponding components so that the components receiving the instructions redefine their operating parameters to obtain a complete logistics plan; When it is determined that the transportation of goods meets the standards, the logistics data traceability request is completed and the logistics data traceability information is output.

[0031] Please continue reading Figure 2 As shown, the data traceability code in the embodiment of the present invention is generated by integrating several logistics data packets into a logistics database through blockchain and then linking the logistics database; The logistics plan includes several planned time nodes and the planned transportation nodes corresponding to each planned time node. During the actual transportation process, several positioning time nodes are determined based on each planned time node, and the transportation nodes of the real-time goods under the positioning time nodes are updated in real time.

[0032] See also Figure 3 As shown, it is a flow chart of determining whether the transportation of goods meets the standards and determining whether the positioning time node meets the standards according to the present invention. The process of determining whether the transportation of goods meets the standards based on the transportation node and the planned transportation node according to the embodiment of the present invention includes: Calculating the straight-line distance between the transport nodes and the transport nodes, and recording the obtained straight-line distance as the transport node distance, and determining whether the transportation of the goods meets the standard according to the comparison result of the transport node distance and the corresponding preset transport node distance; When the transport node distance is less than or equal to the first preset transport node distance D1, it is determined that the transport of the goods meets the standard, the traceability request for the logistics data is completed, and the logistics data traceability information is output, wherein the first preset transport node distance D1 in this embodiment is 8 km; When the transport node distance is greater than the first preset transport node distance D1 and less than or equal to the second preset transport node distance D2, it is determined that the transport of the goods does not meet the standard, and based on the difference between the tracing time node and the positioning time node closest to the tracing time node, it is determined whether the positioning time node for the transport of the goods meets the standard, wherein the second preset transport node distance D2 in this embodiment is 60 km; When the transport node distance is greater than the second preset transport node distance D2, it is determined that the transportation of the goods does not meet the standards, and the reason why the transportation of the goods does not meet the standards is determined based on the transport node distance difference, wherein the transport node distance difference is the difference between the transport node distance and the pre-stored second preset transport node distance.

[0033] Please continue reading Figure 3As shown, the process of determining whether the positioning time node for cargo transportation meets the standard based on the difference between the tracing time node and the positioning time node closest to the tracing time node in the embodiment of the present invention includes: Determine the positioning time node that is closest to the tracing time node; Calculate the difference between the tracing time node and the positioning time node, and record the obtained difference as the time node difference, and determine whether the positioning time node for cargo transportation meets the standard according to the comparison result of the time node difference and the preset time node difference; When the time node difference is greater than the preset time node difference △T, it is determined that the positioning time node for cargo transportation does not meet the standard, and the positioning frequency of the positioning time node is increased based on the time node difference ratio, wherein the time node difference ratio is the ratio of the pre-stored preset time node difference to the time node difference, wherein the preset time node difference △T in this embodiment is 10.5h; When the time node difference is less than or equal to the preset time node difference ΔT, it is determined that the positioning time node for cargo transportation meets the standard, and the reason why the cargo transportation does not meet the standard is determined based on the transportation node distance difference.

[0034] Please continue reading Figure 3 As shown, the process of increasing the positioning frequency of the positioning time node based on the time node difference ratio in the embodiment of the present invention includes: Comparing the time node difference ratio with a pre-stored preset time node difference ratio; Increasing the positioning frequency based on the time node difference ratio; When the time node difference ratio is greater than the second preset time node difference ratio △R2, the positioning frequency is increased to 1.18 times the initial positioning frequency, wherein the second preset time node difference ratio △R2 in this embodiment is 75%; When the time node difference ratio is less than or equal to the second preset time node difference ratio △R2 and greater than the first preset time node difference ratio △R1, the positioning frequency is increased to 1.53 times the initial positioning frequency, wherein the first preset time node difference ratio △R1=55% in this embodiment; When the time node difference ratio is less than or equal to the first preset time node difference ratio ΔR1, the positioning frequency is increased to 1.98 times of the initial positioning frequency.

[0035] See also Figure 4 As shown, it is a flow chart of the present invention for determining the reason why the transportation of goods does not meet the standards. The process of determining the reason why the transportation of goods does not meet the standards by the transportation node distance difference in the embodiment of the present invention includes: Comparing the transport node distance difference with a pre-stored preset transport node distance difference; When the transport node distance difference is less than or equal to the first preset transport node distance difference △N1, it is determined that the reason why the transportation of the goods does not meet the standard is that the road condition does not meet the standard, and the corresponding processing method is determined based on the variance of the average moving speed of the goods, where the first preset transport node distance difference △N1 in this embodiment is 15km; When the transport node distance difference is greater than the first preset transport node distance difference △N1 and less than or equal to the second preset transport node distance difference △N2, the reason why the transport of the goods does not meet the standards is determined based on the curve area, wherein the goods generate a time-total distance curve of the transport node and the terminal transport node over time during the actual transportation process, and the corresponding preset plan curve is generated synchronously when the data traceability code is generated, and the curve area is the area enclosed by the time-total distance curve and the pre-stored preset plan curve, wherein the second preset transport node distance difference △N2 in this embodiment is 35km; When the transport node distance difference is greater than the second preset transport node distance difference △N2, it is determined that the reason why the transportation of the goods does not meet the standards is that the transmission speed of the data packet transmitted to the blockchain does not meet the standards, and the number of splits for the data packet is determined based on the ratio of the average memory of the data packet to the average flow during the transmission process.

[0036] Please continue reading Figure 4 As shown, the process of determining the corresponding processing method based on the variance of the average moving speed of the goods in the embodiment of the present invention includes: determining the variance of the average speed of movement of the cargo; comparing the variance with a pre-stored preset variance; When the variance is less than or equal to the preset variance C, the number of planned time nodes is increased based on the variance of the average moving speed of the goods, wherein the preset variance C in this embodiment is 0.18; When the variance is greater than the preset variance C, the logistics plan is updated.

[0037] Please continue reading Figure 4 As shown, the process of increasing the number of planned time nodes based on the variance of the average moving speed of the goods in the embodiment of the present invention includes: Calculating the difference between the pre-stored preset variance and the variance, and recording the obtained difference as the variance difference; Increasing the number of the planned time nodes based on the variance difference; When the variance difference is greater than or equal to the second preset variance difference △V2, the number of the planned time nodes is increased to 1.95 times the number of the initial planned time nodes, wherein the second preset variance difference △V2 in this embodiment is 0.11; When the variance difference is less than the second preset variance difference △V2 and greater than or equal to the first preset variance difference △V1, the number of the planned time nodes is increased to 1.65 times the number of the initial planned time nodes, wherein the first preset variance difference △V1 in this embodiment is 0.08; When the variance difference is less than the first preset variance difference ΔV1, the number of the planned time nodes is increased to 1.35 times the number of the initial planned time nodes.

[0038] Please continue reading Figure 4 As shown, the process of determining the reason why the transportation of goods does not meet the standards based on the curve area in the embodiment of the present invention includes: Compare the curve area with the pre-stored preset curve area; When the curve area is less than or equal to the preset curve area S, the corresponding processing method is determined based on the variance of the average moving speed of the goods, wherein the preset curve area S=915 in this embodiment; When the curve area is greater than the preset curve area S, the number of splits for the data packet is determined based on the ratio of the average memory of the data packet to the average flow during the transmission process.

[0039] Please continue reading Figure 4 As shown, the process of determining the number of splits for a data packet based on the ratio of the average memory of the data packet to the average flow during the transmission process in the embodiment of the present invention includes: determining an average memory of the data packet; determining the average flow rate during the transmission; Calculating a ratio of an average memory of the data packet to the average flow rate during transmission, and recording the obtained ratio as an average ratio; increasing the number of splits for the data packet based on the average ratio; When the average ratio is greater than a second preset average ratio ΔA2, the number of splits is increased to 1.81 times the initial number of splits, wherein the second preset average ratio ΔA2 in this embodiment is 19min; When the average ratio is less than or equal to the second preset average ratio △A2 and greater than the first preset average ratio △A1, the number of splits is increased to 1.42 times the initial number of splits, wherein the first preset average ratio △A1 in this embodiment is 8min; When the average ratio is less than or equal to the first preset average ratio ΔA1, the number of splits is increased to 1.29 times the initial number of splits.

[0040] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0041] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A blockchain-based logistics data tracing method, characterized in that: include: Scan the logistics data traceability code and capture the image information with the identification code; Identify the image information with the identification code, issue a logistics data tracing request, and record the tracing time node when the logistics data tracing request is issued; According to the logistics plan, the positioning time node closest to the traceability time node of the goods is obtained to obtain a transportation node corresponding to the positioning time node, and the planned time node of the goods under the corresponding positioning time node is obtained to obtain a planned transportation node corresponding to the planned time node; Determining whether the transportation of the goods meets the standards based on the transportation node and the planned transportation node, and determining the reason for not meeting the standards based on the transportation node and the planned transportation node when it is determined that the transportation of the goods does not meet the standards; After the cause is determined, a corresponding processing instruction is generated based on the determined cause; Transmitting the corresponding processing instructions to the corresponding components so that the components receiving the instructions redefine their operating parameters to obtain a complete logistics plan; When it is determined that the transportation of the goods meets the standards, a request for logistics data tracing is completed and logistics data tracing information is output.

2. The blockchain-based logistics data tracing method according to claim 1 is characterized in that: The data traceability code is generated by integrating several logistics data packets into a logistics database through blockchain and then linking the logistics database; The logistics plan includes several planned time nodes and the planned transportation nodes corresponding to each planned time node. During the actual transportation process, several positioning time nodes are determined based on each planned time node, and the transportation nodes of the real-time goods under the positioning time nodes are updated in real time.

3. The blockchain-based logistics data tracing method according to claim 1 is characterized in that: The process of determining whether the transportation of goods meets the standard based on the transportation node and the planned transportation node includes: Calculating the straight-line distance between the transport nodes and the transport nodes, and recording the obtained straight-line distance as the transport node distance, and determining whether the transportation of the goods meets the standard according to the comparison result of the transport node distance and the corresponding preset transport node distance; When the transport node distance is less than or equal to the first preset transport node distance, determining that the transport of the goods meets the standard, completing the traceability request for the logistics data, and outputting the logistics data traceability information; When the transport node distance is greater than the first preset transport node distance and less than or equal to the second preset transport node distance, it is determined that the transport of the goods does not meet the standard, and based on the difference between the tracing time node and the positioning time node closest to the tracing time node, it is determined whether the positioning time node for the transport of the goods meets the standard; When the transportation node distance is greater than the second preset transportation node distance, it is determined that the transportation of the goods does not meet the standards, and the reason why the transportation of the goods does not meet the standards is determined based on the transportation node distance difference, wherein the transportation node distance difference is the difference between the transportation node distance and the pre-stored second preset transportation node distance.

4. The blockchain-based logistics data tracing method according to claim 3 is characterized in that: The process of determining whether the positioning time node for cargo transportation meets the standard based on the difference between the tracing time node and the positioning time node closest to the tracing time node includes: Determine the positioning time node that is closest to the tracing time node; Calculate the difference between the tracing time node and the positioning time node, and record the obtained difference as the time node difference, and determine whether the positioning time node for cargo transportation meets the standard according to the comparison result of the time node difference and the preset time node difference; When the time node difference is greater than the preset time node difference, it is determined that the positioning time node for cargo transportation does not meet the standard, and the positioning frequency of the positioning time node is increased based on the time node difference ratio, wherein the time node difference ratio is the ratio of the pre-stored preset time node difference to the time node difference; When the time node difference is less than or equal to the preset time node difference, it is determined that the positioning time node for cargo transportation meets the standard, and the reason why the cargo transportation does not meet the standard is determined based on the transportation node distance difference.

5. The blockchain-based logistics data tracing method according to claim 4 is characterized in that: The process of increasing the positioning frequency of the positioning time node based on the time node difference ratio includes: Comparing the time node difference ratio with a pre-stored preset time node difference ratio; The positioning frequency is increased based on the time node difference ratio, and the increase amplitude of the positioning frequency is inversely proportional to the time node difference ratio.

6. The blockchain-based logistics data tracing method according to claim 4 is characterized in that: The process of determining the reason why the transportation of the goods does not meet the standards based on the transportation node distance difference includes: Comparing the transport node distance difference with a pre-stored preset transport node distance difference; When the transport node distance difference is less than or equal to the first preset transport node distance difference, determining that the reason why the transport of the goods does not meet the standard is that the road condition does not meet the standard, and determining a corresponding processing method based on the variance of the average moving speed of the goods; When the transport node distance difference is greater than the first preset transport node distance difference and less than or equal to the second preset transport node distance difference, the reason why the transport of the goods does not meet the standards is determined based on the curve area, wherein a time-total distance curve of the transport node and the terminal transport node changing with time is generated during the actual transportation of the goods, and a corresponding preset plan curve is generated synchronously when the data traceability code is generated, and the curve area is the area enclosed by the time-total distance curve and the pre-stored preset plan curve; When the transport node distance difference is greater than the second preset transport node distance difference, it is determined that the reason why the transportation of the goods does not meet the standards is that the transmission speed of the data packet transmitted to the blockchain does not meet the standards, and the number of splits for the data packet is determined based on the ratio of the average memory of the data packet to the average flow during the transmission process.

7. The blockchain-based logistics data tracing method according to claim 6 is characterized in that: The process of determining the corresponding processing method based on the variance of the average moving speed of the goods includes: determining the variance of the average speed of movement of the cargo; comparing the variance with a pre-stored preset variance; When the variance is less than or equal to the preset variance, the number of planned time nodes is increased based on the variance of the average moving speed of the goods; When the variance is greater than the preset variance, the logistics plan is updated.

8. The blockchain-based logistics data tracing method according to claim 7 is characterized in that: The process of increasing the number of planned time nodes based on the variance of the average moving speed of the goods includes: Calculating the difference between the pre-stored preset variance and the variance, and recording the obtained difference as the variance difference; The number of the planned time nodes is increased based on the variance difference, and the increase in the number is proportional to the variance difference.

9. The blockchain-based logistics data tracing method according to claim 6 is characterized in that: The process of determining the reason why the transportation of the goods does not meet the standards based on the curve area includes: Compare the curve area with the pre-stored preset curve area; When the curve area is less than or equal to the preset curve area, determining a corresponding processing method based on the variance of the average moving speed of the goods; When the curve area is greater than the preset curve area, the number of splits for the data packet is determined based on the ratio of the average memory of the data packet to the average flow during the transmission process.

10. The blockchain-based logistics data tracing method according to claim 6 is characterized in that: The process of determining the number of splits for a data packet based on the ratio of the average memory of the data packet to the average flow rate during the transmission process includes: determining an average memory of the data packet; determining the average flow rate during the transmission; Calculating a ratio of an average memory of the data packet to the average flow rate during transmission, and recording the obtained ratio as an average ratio; The number of splits for the data packet is increased based on the average ratio, and the increase in the number of splits is proportional to the average ratio.

Citation Information

Patent Citations

  • A blockchain-based express logistics traceability system and method

    CN113435815B

  • Logistics cargo tracking monitoring device and method

    CN106529881A

  • Logistics information tracing method and system based on block chain

    CN113159676A

  • Intelligent air cargo tracing and querying system based on block chain

    CN116167777A

  • E-commerce flower intelligent distribution management method and system based on Internet of Things

    CN118446609A

Cited By

  • Quality tracing system for fabricated building prefabricated parts based on block chain

    CN120338577A