A cross-border logistics relay chain distribution method and system based on blockchain
By using relay chains to transmit logistics information data in the blockchain and conduct accuracy analysis, the problem of delay and instability in cross-border logistics information transmission is solved, and accurate and efficient transmission of cross-border logistics information and data accuracy early warning are achieved. , improving the efficiency and transparency of logistics distribution.
Patent Information
- Application Number
- CN202410605710.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, there are delays and instability in cross-border logistics information transmission, making it difficult to accurately and efficiently detect information transmission problems, affecting logistics distribution efficiency.
When the transmission blockchain transmits logistics information data to the relay chain, the accuracy parameter data of the data received by the relay chain is obtained. When the conditions are analyzed and met, the information data is transmitted to the receiving blockchain through the relay chain, and during the transmission process Conduct data acquisition and analysis to achieve early warning reminders of data accuracy and content accuracy.
The accurate and efficient transmission of cross-border logistics information is achieved, data transmission errors are avoided, and the reliability and transparency of logistics information distribution are improved.
Smart Images

Figure CN118570978B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a cross-border logistics relay chain distribution method and system based on blockchain. Background Art
[0002] Blockchain technology is a decentralized distributed database technology that achieves secure data transmission and storage through encryption algorithms and network consensus mechanisms. The core advantage of blockchain lies in decentralization, which can achieve data transparency, traceability and immutability, thereby solving the security and trust problems existing in centralized systems. Relay chain is a special type of blockchain that adds relay nodes on the basis of the original blockchain. These relay nodes are responsible for cross-network and cross-regional data transmission and synchronization. Relay chain can effectively solve the expansion problem existing in the blockchain network and improve the transaction processing capacity and performance of the network. Cross-border logistics involves multiple countries and regions. In the existing cross-border logistics system, the tracking and processing of logistics information is somewhat complex, especially when sharing information between multiple participants (such as logistics companies, customs, merchants, etc.). Traditional cross-border logistics management methods have problems such as information opacity, difficulty in tracking, and low efficiency. These problems have led to an increase in logistics costs and also affected the quality of logistics services and customer experience. Therefore, a method and system that can improve logistics transparency, reduce transaction costs and improve efficiency is needed.
[0003] The existing cross-border logistics distribution system distributes goods across borders through various physical transportation methods such as sea, air, and land transportation, involving multiple intermediary links such as freight forwarders and customs brokers to realize cross-border logistics distribution functions.
[0004] For example, the invention patent announcement with announcement number: CN112199732B discloses a blockchain-based air logistics electronic waybill management method, which includes: using the alliance chain method on the electronic waybill data to synchronize the electronic waybill data faster, and connecting various enterprises and government agencies in the entire logistics loop through the alliance chain. Each participant confirms and rejects the electronic waybill data through a consensus algorithm, and utilizes the tamper-proof nature of blockchain data to make the air waybill information trusted by each node, and manage the flow of electronic waybills between the nodes of each participant.
[0005] For example, a patent application with publication number: CN114756899A discloses a blockchain-based logistics system, including: a consignment node sends consignment information to a carrier node; the carrier node receives the consignment information, obtains information proof of the consignment, verifies the information proof and the consignment information, and if the verification is passed, sends a first communication key to the consignment node, and the right to control the consignment belongs to the consignment node; the financial node verifies the information of the consignment node, and if the verification is passed, settles the payment to the consignment node, generates first transaction information, and synchronizes the first transaction information to the blockchain; the carrier node confirms the first transaction information, destroys the first communication key, and sends a second communication key to the financial node, and the right to control the consignment belongs to the financial node; the receiving node pays an electronic ransom and generates a second transaction information, and the second transaction information is synchronized to the blockchain; the carrier node confirms the second transaction information, destroys the second communication key, sends a third communication key to the receiving node, and the right to control the consignment belongs to the receiving node.
[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:
[0007] In the existing technology, cross-border logistics is transported through various means and channels. Logistics information is difficult to track and may be intercepted or leaked during transmission. Logistics information may be delayed and unstable during cross-border network connections, affecting the distribution of cross-border logistics. It is difficult to accurately and efficiently detect problems in cross-border logistics information transmission. Summary of the invention
[0008] The embodiments of the present application provide a blockchain-based cross-border logistics relay chain distribution method and system, which solves the problem in the prior art that it is difficult to accurately and efficiently detect problems with information transmission in cross-border logistics, and achieves accurate and efficient detection of problems with information transmission in cross-border logistics.
[0009] The embodiment of the present application provides a cross-border logistics relay chain distribution method based on blockchain, comprising the following steps: obtaining logistics information data of cross-border logistics; storing the logistics information data in a transmission blockchain; transmitting the logistics information data from the transmission blockchain to the relay chain; acquiring data in the process of transmitting the logistics information data from the transmission blockchain to the relay chain to obtain parameter data of the accuracy of the data received by the relay chain; analyzing the data received by the relay chain according to the parameter data of the accuracy of the data received by the relay chain; when the data received by the relay chain meets the conditions, transmitting the logistics information data to the receiving blockchain through the relay chain; acquiring data in the process of transmitting the logistics information data from the relay chain to the receiving blockchain and analyzing the accuracy of the data sent by the relay chain and the accuracy of the data content; and issuing early warning reminders according to the accuracy of the data sent by the relay chain and the accuracy of the data content.
[0010] Furthermore, the specific analysis process of analyzing the relay link received data situation according to the relay link received data accuracy parameter data is: obtaining the relay link received data accuracy parameter data; normalizing the relay link received data accuracy parameter data; obtaining the relay link received data accuracy index according to the normalized relay link received data accuracy parameter data analysis, and the relay link received data accuracy index is used to reflect the accuracy of the relay link received data; analyzing the relay link received data situation according to the relay link received data accuracy index.
[0011] Furthermore, the specific analysis process of analyzing the relay link received data situation according to the relay link received data accuracy index is: obtaining the relay link received data accuracy index, obtaining the relay link received data accuracy threshold, comparing the relay link received data accuracy index with the relay link received data accuracy threshold, when the relay link received data accuracy index is greater than the relay link received data accuracy threshold, it indicates that the relay chain accurately receives the data; when the relay link received data accuracy index is not greater than the relay link received data accuracy threshold, it indicates that an error occurs in the relay chain during the data reception process.
[0012] Furthermore, the specific analysis process of transmitting the logistics information data to the receiving blockchain through the relay chain when the data reception situation of the relay chain meets the conditions is as follows: when the data reception situation of the relay chain indicates that the relay chain accurately receives the data, it indicates that the data reception situation of the relay chain meets the conditions, and the logistics information data is transmitted to the receiving blockchain through the relay chain; when the data reception situation of the relay chain indicates that an error occurs in the data reception process of the relay chain, it indicates that the data reception situation of the relay chain does not meet the conditions, and the relay chain conveys the instruction to retransmit the logistics information data to the transmitting blockchain, and repeats the step of transmitting the logistics information data to the relay chain to analyze the relay link data reception situation according to the relay link data reception accuracy parameter data, and when the data reception situation of the relay chain indicates that the relay chain accurately receives the data, when the data reception situation of the relay chain meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain.
[0013] Furthermore, the specific analysis process of the accuracy of the data sent by the relay chain is as follows: in the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired to obtain the parameter data of the accuracy of the data sent by the relay chain; data processing is performed on the parameter data of the accuracy of the data sent by the relay chain; the processed parameter data of the accuracy of the data sent by the relay chain is analyzed to obtain the accuracy index of the data sent by the relay chain, and the accuracy index of the data sent by the relay chain is used to reflect the accuracy of the data sent by the relay chain; the accuracy of the data sent by the relay chain is analyzed according to the accuracy index of the data sent by the relay chain.
[0014] Furthermore, the specific analysis process of the data content accuracy is as follows: in the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired to obtain data content accuracy parameter data; data content accuracy parameter data is cleaned and preprocessed; data content accuracy parameter data is analyzed after data cleaning and preprocessing to obtain a data content accuracy index, and the data content accuracy index is used to reflect the accuracy of the data content; and the data content accuracy is analyzed according to the data content accuracy index.
[0015] Furthermore, the specific analysis process of analyzing the accuracy of the data sent by the relay chain according to the accuracy index of the data sent by the relay chain is: obtaining the accuracy index of the data sent by the relay chain, obtaining the threshold value of the data sent by the relay chain, and when the accuracy index of the data sent by the relay chain is greater than the threshold value of the data sent by the relay chain, it indicates that the transmission process of the logistics information data transmitted by the relay chain to the receiving blockchain is carried out accurately; when it is in other situations, it indicates that an error occurs in the transmission process of the logistics information data transmitted by the relay chain to the receiving blockchain; the specific analysis process of analyzing the accuracy of the data content according to the data content accuracy index is: obtaining the data content accuracy index, obtaining the data content accuracy threshold value, when the data content accuracy index is less than the data content accuracy threshold value, it indicates that the content of the logistics information data transmitted by the relay chain to the receiving blockchain is accurate; when it is in other situations, it indicates that the content of the logistics information data transmitted by the relay chain to the receiving blockchain is inaccurate.
[0016] Furthermore, the specific analysis process of issuing early warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content is as follows: when the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain is accurate and the content of the logistics information data transmitted by the relay chain to the receiving blockchain is accurate, it indicates that the logistics information data of the cross-border logistics is accurately distributed, and no early warning reminder is issued; when an error occurs in the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain and one or more of the logistics information data content transmitted by the relay chain to the receiving blockchain is inaccurate, it indicates that the logistics information data of the cross-border logistics is not accurately distributed, and an early warning reminder is issued.
[0017] Furthermore, the specific method for obtaining the relay link received data accuracy index is: obtaining the number of relay chains and numbering the relay chains; obtaining the number of transmission blockchains and numbering the transmission blockchains; performing multiple data acquisitions when the relay link is received and sent, obtaining the number of data acquisitions, and numbering the number of data acquisitions; obtaining the relay link received data accuracy parameter data; constructing a relay link received data accuracy index calculation formula based on the relay link received data accuracy index parameter data; the specific relay link received data accuracy index calculation formula is:
[0018]
[0019] In the formula, It is an indicator of the accuracy of the data received by the relay chain when the z0th relay chain receives data from the f0th transmission blockchain. z0=1, 2, ..., z, z0 is the relay chain number, z is the total number of relay chains, f0=1, 2, ..., f, f0 is the transmission blockchain number, f is the total number of transmission blockchains, It represents the time it takes for the relay chain to receive data when the z0th relay chain receives data from the f0th transmission blockchain for the s0th data acquisition. s0=1, 2, ..., s, s0 is the number of data acquisition times, s represents the total number of data acquisition times, It represents the memory occupied by the relay chain receiving data when the z0th relay chain receives data from the f0th transmission blockchain for the s0th data acquisition. It is expressed as the number of times the relay chain receives data when the z0th relay chain receives data from the f0th transmission blockchain for the s0th data acquisition. It is expressed as the standard time consumed by the relay chain to receive data when the z0th relay chain receives data from the f0th transmission blockchain. It is represented by the memory occupied by the transmission blockchain when the z0th relay chain receives data from the f0th transmission blockchain. It is represented by the number of times the transmission blockchain sends data when the z0th relay chain receives data from the f0th transmission blockchain. d1 is represented by the weight ratio of the time consumed by the relay link to receive data in the relay link received data accuracy index. d2 is represented by the weight ratio of the memory occupied by the relay link received data in the relay link received data accuracy index. d3 is represented by the weight ratio of the number of times the relay link receives data in the relay link received data accuracy index.
[0020] The embodiment of the present application provides a cross-border logistics relay chain distribution system based on blockchain, including: a logistics data acquisition module, a data storage module, a relay chain receiving module, a relay chain transmission module, a receiving accuracy analysis module, a judgment module, a data accuracy analysis module and an early warning module; the logistics data acquisition module is used to acquire logistics information data of cross-border logistics; the data storage module is used to store logistics information data in a transmission blockchain; the relay chain receiving module is used to transmit logistics information data from the transmission blockchain to the relay chain; the relay chain transmission module is used to acquire data in the process of transmitting logistics information data from the transmission blockchain to the relay chain, and obtain the parameter data of the accuracy of the received data of the relay chain; the receiving accuracy analysis module is used to analyze the situation of the received data of the relay chain according to the parameter data of the accuracy of the received data of the relay chain; the judgment module is used to transmit the logistics information data to the receiving blockchain through the relay chain when the situation of the received data of the relay chain meets the conditions; the data accuracy analysis module is used to acquire data and analyze the accuracy of the data sent by the relay chain and the accuracy of the data content in the process of the relay chain transmitting the logistics information data to the receiving blockchain; the early warning module is used to issue an early warning reminder according to the accuracy of the data sent by the relay chain and the accuracy of the data content.
[0021] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0022] 1. By acquiring data during the process of transmitting logistics information data from the transmission blockchain to the relay chain, the accuracy parameter data of the data received by the relay chain is obtained, and the relay chain receiving data situation is analyzed according to the accuracy parameter data of the data received by the relay chain. When the relay chain receiving data situation meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain, so that in the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired and the accuracy of the data sent by the relay chain and the accuracy of the data content are analyzed, thereby realizing early warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content, which effectively solves the problem in the existing technology that it is difficult to accurately and efficiently discover problems in information transmission of cross-border logistics.
[0023] 2. By analyzing the data received by the relay chain according to the accuracy parameter data of the relay chain data received, when the data received by the relay chain meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain, thereby avoiding subsequent data transmission operations when an error occurs in the data receiving process of the relay chain, thereby avoiding causing more data transmission errors.
[0024] 3. By analyzing the accuracy of the data sent by the relay chain and the accuracy of the data content, early warning reminders will be issued when errors occur in the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain, and when one or more of the logistics information data content transmitted by the relay chain to the receiving blockchain is inaccurate. This will enable staff to promptly discover problems in the distribution of cross-border logistics information and conduct inspections and maintenance to avoid more mistakes. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A flowchart of a cross-border logistics relay chain distribution method based on blockchain provided in an embodiment of the present application;
[0026] Figure 2 A graph showing the accuracy of data content provided by the embodiment of the present application;
[0027] Figure 3 A schematic diagram of the structure of a cross-border logistics relay chain distribution system based on blockchain provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The embodiment of the present application solves the problem in the prior art that it is difficult to accurately and efficiently discover problems in information transmission of cross-border logistics by providing a cross-border logistics relay chain distribution method and system based on blockchain. By acquiring data in the process of transmitting logistics information data from the transmission blockchain to the relay chain, the accuracy parameter data of the relay chain received data is obtained, and the relay chain received data situation is analyzed according to the accuracy parameter data of the relay chain received data. When the relay chain received data situation meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain, so that in the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired and the accuracy of the data sent by the relay chain and the accuracy of the data content are analyzed, thereby realizing early warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content, so as to achieve the effect of transmitting only accurate logistics information data, so that cross-border logistics can be accurately distributed based on the accurate logistics information data.
[0029] The technical solution in the embodiment of the present application is to solve the above-mentioned problem that it is difficult to accurately and efficiently find problems in information transmission of cross-border logistics. The overall idea is as follows:
[0030] By acquiring logistics information data of cross-border logistics; storing logistics information data in the transmission blockchain; transmitting logistics information data from the transmission blockchain to the relay chain; acquiring data in the process of transmitting logistics information data from the transmission blockchain to the relay chain to obtain the parameter data of the accuracy of the received data of the relay chain; normalizing the parameter data of the accuracy of the received data of the relay chain; analyzing the parameter data of the accuracy of the received data of the relay chain according to the normalized parameter data of the accuracy of the received data of the relay chain to obtain the accuracy index of the received data of the relay chain, and analyzing the situation of the received data of the relay chain according to the accuracy index of the received data of the relay chain; when the situation of the received data of the relay chain indicates that the relay chain accurately receives the data, the logistics information data is transmitted to the receiving blockchain through the relay chain; acquiring data in the process of the relay chain transmitting the logistics information data to the receiving blockchain to obtain the parameter data of the accuracy of the data sent by the relay chain; Data processing is performed on the parameter data of data accuracy sent by the relay chain; the parameter data of data accuracy sent by the relay chain after data processing is analyzed to obtain the relay chain data accuracy index; the accuracy of the data sent by the relay chain is analyzed according to the relay chain data accuracy index; data acquisition is performed in the process of the relay chain transmitting logistics information data to the receiving blockchain to obtain the parameter data of data content accuracy; data cleaning and preprocessing are performed on the parameter data of data content accuracy; the parameter data of data content accuracy is analyzed after data cleaning and preprocessing to obtain the data content accuracy index; the data content accuracy is analyzed according to the data content accuracy index; early warning reminders are issued according to the accuracy of the data sent by the relay chain and the accuracy of the data content, so as to achieve the effect of accurately and efficiently discovering problems in information transmission of cross-border logistics.
[0031] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0032] like Figure 1 As shown, it is a flow chart of a cross-border logistics relay chain distribution method based on blockchain provided by an embodiment of the present application, and the method includes the following steps: obtaining logistics information data of cross-border logistics; storing the logistics information data in a transmission blockchain; transmitting the logistics information data from the transmission blockchain to the relay chain; acquiring data in the process of transmitting the logistics information data from the transmission blockchain to the relay chain to obtain the parameter data of the accuracy of the data received by the relay chain; analyzing the data received by the relay chain according to the parameter data of the accuracy of the data received by the relay chain; when the data received by the relay chain meets the conditions, transmitting the logistics information data to the receiving blockchain through the relay chain; acquiring data and analyzing the accuracy of the data sent by the relay chain and the accuracy of the data content in the process of transmitting the logistics information data from the relay chain to the receiving blockchain; and issuing early warning reminders according to the accuracy of the data sent by the relay chain and the accuracy of the data content.
[0033] In this embodiment, many existing cross-border distribution methods rely on centralized service providers, and centralized entities may become targets of attack or may abuse their control over data. Using blockchain technology to create a decentralized cross-border distribution system, blockchain provides a way to conduct transactions without trusting third parties. Through its distributed ledger and smart contract functions, it can improve transparency, reduce costs, and ensure the immutability of transactions. In addition, combined with relay chain technology, it can solve the delay and stability problems in cross-border data transmission, thereby providing a more efficient solution for cross-border logistics and content distribution.
[0034] Furthermore, the specific analysis process of analyzing the relay link reception data situation according to the relay link reception data accuracy parameter data is: obtaining the relay link reception data accuracy parameter data; normalizing the relay link reception data accuracy parameter data; obtaining the relay link reception data accuracy index according to the normalized relay link reception data accuracy parameter data, the relay link reception data accuracy index is used to reflect the accuracy of the relay link reception data; analyzing the relay link reception data situation according to the relay link reception data accuracy index.
[0035] In this embodiment, the relay link received data accuracy parameter data is normalized to scale the relay link received data accuracy parameter data, and the normalization process includes linear normalization and logarithmic normalization, and each data is converted using a determined normalization method to avoid unnecessary deviations introduced by subsequent operations. Missing values are deleted from the data set before normalization to avoid erroneous results. By normalizing the relay link received data accuracy parameter data, the data of the relay link received data accuracy parameter data are in the same magnitude and range, which is conducive to the process of calculating the relay link received data accuracy index more accurately, and a relay link received data accuracy index with higher accuracy is obtained.
[0036] Furthermore, the accuracy index of the relay link received data can be obtained by a variety of methods, including but not limited to: using statistical methods, such as calculating the mean squared error (MSE) to evaluate data accuracy, using Poisson distribution or exponential distribution to estimate error rate and delay, and using various consistency protocols to test strong consistency, combining the above indicators to comprehensively evaluate the accuracy of the relay link received data, and obtain the accuracy index of the relay link received data. The accuracy index of the relay link received data can also be obtained by calculation. The specific method for obtaining the accuracy index of the relay link received data is: obtain the number of relay chains and number the relay chains; obtain the number of transmission blockchains and number the transmission blockchains; perform multiple data acquisitions when the relay link is received and sent, obtain the number of data acquisitions, and number the number of data acquisitions; obtain the accuracy parameter data of the relay link received data; construct the calculation formula of the relay link received data accuracy index based on the parameter data of the relay link received data accuracy index; the specific calculation formula of the relay link received data accuracy index is:
[0037]
[0038] In the formula, It is an indicator of the accuracy of the data received by the relay chain when the z0th relay chain receives data from the f0th transmission blockchain. z0=1, 2, ..., z, z0 is the relay chain number, z is the total number of relay chains, f0=1, 2, ..., f, f0 is the transmission blockchain number, f is the total number of transmission blockchains, It represents the time it takes for the relay chain to receive data when the z0th relay chain receives data from the f0th transmission blockchain for the s0th data acquisition. s0=1, 2, ..., s, s0 is the number of data acquisition times, s represents the total number of data acquisition times, It represents the memory occupied by the relay chain receiving data when the z0th relay chain receives data from the f0th transmission blockchain for the s0th data acquisition. It is expressed as the number of times the relay chain receives data when the z0th relay chain receives data from the f0th transmission blockchain for the s0th data acquisition. It is expressed as the standard time consumed by the relay chain to receive data when the z0th relay chain receives data from the f0th transmission blockchain. It is represented by the memory occupied by the transmission blockchain when the z0th relay chain receives data from the f0th transmission blockchain. It is represented by the number of times the transmission blockchain sends data when the z0th relay chain receives data from the f0th transmission blockchain. d1 is represented by the weight ratio of the time consumed by the relay link to receive data in the relay link received data accuracy index. d2 is represented by the weight ratio of the memory occupied by the relay link received data in the relay link received data accuracy index. d3 is represented by the weight ratio of the number of times the relay link receives data in the relay link received data accuracy index.
[0039] In this embodiment, in principal component analysis (PCA), the proportion of weights is determined by retaining the variance of the features to obtain specific values of d1, d2 and d3. The value ranges of d1, d2 and d3 are all (0, 1), and the sum of d1, d2 and d3 is equal to 1.
[0040] Under normal circumstances, the duration of data transmission is related to the memory occupied by the data. The larger the data, the longer the transmission time. Therefore, when the memory occupied by the relay link receiving data is larger, the relay link receiving data consumes longer time, and when the memory occupied by the relay link receiving data is smaller, the relay link receiving data consumes shorter time. The algorithm of this embodiment uses nonlinear transformation, which can help smooth the impact of outliers and reduce the distortion of the overall evaluation by extreme cases. Nonlinear transformation helps to improve the robustness of the evaluation, making the calculated relay link receiving data accuracy index more stable and reliable.
[0041] By using the NTP server to synchronize the time of the network device and recording the transmission time of the data packet, the time taken by the relay link to receive data is obtained, that is, the time consumed by the relay link to receive data. The time taken by the relay link to receive data under normal circumstances is the standard time consumed by the relay link to receive data. The memory occupied by the data is obtained by obtaining the attributes of the data received by the relay link, that is, the memory occupied by the data received by the relay link. The memory occupied by the data transmitted by the transmission blockchain is obtained by obtaining the attributes of the data transmitted by the transmission blockchain. The number of times the relay link receives data and the number of times the transmission blockchain transmits data are obtained through the counter, that is, the number of times the relay link receives data and the number of times the transmission blockchain sends data are obtained.
[0042] Furthermore, the specific analysis process of analyzing the relay link received data situation according to the relay link received data accuracy index is: obtaining the relay link received data accuracy index, obtaining the relay link received data accuracy threshold, comparing the relay link received data accuracy index with the relay link received data accuracy threshold, when the relay link received data accuracy index is greater than the relay link received data accuracy threshold, it indicates that the relay chain accurately receives the data; when the relay link received data accuracy index is not greater than the relay link received data accuracy threshold, it indicates that an error occurs in the relay chain during data reception.
[0043] In this embodiment, the larger the relay link received data accuracy index is, the higher the accuracy of the relay link received data is, and the more accurate the transmission of cross-border logistics information between the transmission blockchain and the relay chain is; the smaller the relay link received data accuracy index is, the lower the accuracy of the relay link received data is, and the more inaccurate the transmission of cross-border logistics information between the transmission blockchain and the relay chain is.
[0044] According to the historical data, the relay link received data accuracy threshold is obtained, and the relay link received data accuracy threshold is δ = arccot (0.05). The relay link received data accuracy index is compared with the relay link received data accuracy threshold. When the relay link received data accuracy index is greater than the relay link received data accuracy threshold, that is, When , it means that the relay chain receives data accurately; when the relay chain receiving data accuracy index is not greater than the relay chain receiving data accuracy threshold, that is , it means that an error occurred in the relay chain while receiving data.
[0045] Furthermore, when the relay chain receives data and satisfies the conditions, the specific analysis process of transmitting the logistics information data to the receiving blockchain through the relay chain is as follows: when the relay chain receives data as indicated by the relay chain accurately receiving data, it indicates that the relay chain receives data and satisfies the conditions, and the logistics information data is transmitted to the receiving blockchain through the relay chain; when the relay chain receives data as indicated by an error occurring in the relay chain during data reception, it indicates that the relay chain receives data and does not satisfy the conditions, and the relay chain conveys instructions to the transmitting blockchain to retransmit the logistics information data, and repeats the process of the transmitting blockchain transmitting the logistics information data to the relay chain until the step of analyzing the relay chain receives data according to the relay chain receives data accuracy parameter data, and when the relay chain receives data as indicated by the relay chain accurately receiving data, and when the relay chain receives data and satisfies the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain.
[0046] In this embodiment, when the relay chain receives data, the data receiving process is carried out accurately, and the next transmission can be carried out, and the logistics information data is transmitted to the receiving blockchain through the relay chain; when the relay chain receives data, the relay chain receives data, indicating that an error occurs in the relay chain during the data receiving process, indicating that there is a problem in the data receiving process, and the next transmission cannot be carried out directly. The relay chain conveys the instruction to retransmit the logistics information data to the transmission blockchain, and repeats the transmission blockchain to transmit the logistics information data to the relay chain to analyze the relay chain receiving data according to the relay chain receiving data accuracy parameter data. When the relay chain receives data, the data receiving process is carried out accurately, and the next transmission can be carried out, and the logistics information data is transmitted to the receiving blockchain through the relay chain. By monitoring the process of transmitting data from the transmission blockchain to the relay chain, more subsequent errors are prevented on the basis of transmission errors, and the accuracy and reliability of cross-border logistics information transmission are improved.
[0047] Furthermore, the specific analysis process of the accuracy of the data sent by the relay chain is as follows: in the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired to obtain the parameter data of the accuracy of the data sent by the relay chain; data processing is performed on the parameter data of the accuracy of the data sent by the relay chain; the processed parameter data of the accuracy of the data sent by the relay chain is analyzed to obtain the accuracy index of the data sent by the relay chain, and the accuracy index of the data sent by the relay chain is used to reflect the accuracy of the data sent by the relay chain; the accuracy of the data sent by the relay chain is analyzed according to the accuracy index of the data sent by the relay chain.
[0048] In this embodiment, the data of the parameter data of the accuracy of the data sent by the relay chain is processed, and the data processing includes: cleaning the data, removing duplicate, erroneous and irrelevant data, and improving the data quality; integrating the data, integrating the data from different sources; converting the data, formatting, encoding, aggregating and other operations on the data to meet the analysis requirements. By processing the parameter data of the accuracy of the data sent by the relay chain, the data quality and accuracy are improved, which is conducive to obtaining a more accurate indicator of the accuracy of the data sent by the relay chain based on the more accurate parameter data of the accuracy of the data sent by the relay chain. It is conducive to more carefully analyzing the accuracy of the data sent by the relay chain based on the indicator of the accuracy of the data sent by the relay chain.
[0049] The accuracy index of data sent by the relay chain can be obtained in the following ways, including: calculating the error rate by comparing the difference between the sent data and the actually received data; mean square error is a method to measure the difference between the predicted value and the actual value, which calculates the average of the square of the difference between the predicted value and the actual value, and the performance of the relay chain is evaluated by MSE; signal-to-noise ratio is the ratio of signal strength to noise strength, and the clarity and accuracy of data transmitted by the relay chain are evaluated by SNR; the accuracy of the data sent by the relay chain is comprehensively evaluated by combining the above indicators to obtain the accuracy index of the data sent by the relay chain. The accuracy index of data sent by the relay chain can also be obtained by the following method. The specific method for obtaining the accuracy index of data sent by the relay chain is: obtain the number of relay chains and number the relay chains; obtain the number of receiving blockchains and number the receiving blockchains; obtain data multiple times when the relay chain receives and sends, obtain the number of data acquisitions, and number the number of data acquisitions; obtain the accuracy parameter data of data sent by the relay chain; construct the calculation formula of the accuracy index of data sent by the relay chain according to the accuracy parameter data of data sent by the relay chain; the specific calculation formula of the accuracy index of data sent by the relay chain is:
[0050]
[0051] In the formula, It is an indicator of the accuracy of the data sent by the relay chain when the z0th relay chain transmits data to the j0th receiving blockchain. z0=1, 2, ..., z, z0 is the relay chain number, z is the total number of relay chains, j0=1, 2, ..., j, j0 is the receiving blockchain number, j is the total number of receiving blockchains, It is the time it takes for the relay chain to send data when the z0th relay chain and the j0th receiving blockchain perform data transmission for the s0th data acquisition. s0 = 1, 2, ..., s, s0 is the number of data acquisition times, s is the total number of data acquisition times, It represents the memory occupied by the relay chain sending data when the z0th relay chain and the j0th receiving blockchain perform data transmission for the s0th data acquisition. It is expressed as the number of times the relay chain sends encrypted data when the z0th relay chain and the j0th receiving blockchain perform data transmission for the s0th data acquisition. It is expressed as the reference value of the time it takes for the relay chain to send data when the z0th relay chain transmits data to the j0th receiving blockchain. It is represented by the memory occupied by the receiving blockchain when the z0th relay chain transmits data to the j0th receiving blockchain. It is represented as the reference value of the number of encryption times the relay chain sends data when the z0th relay chain transmits data with the j0th receiving blockchain. t1 is represented as the weight ratio of the time consumed by the relay chain to send data in the accuracy index of the relay chain sending data. t2 is represented as the weight ratio of the memory occupied by the relay chain sending data in the accuracy index of the relay chain sending data. t3 is represented as the weight ratio of the number of encryption times the relay chain sends data in the accuracy index of the relay chain sending data.
[0052] Feature selection is performed through random forest model and Lasso regression to determine the importance of the time consumed by the relay chain to send data, the memory occupied by the relay chain to send data, and the number of times the relay chain to send data is encrypted, and the specific values of t1, t2 and t3 are obtained. The value range of t1, t2 and t3 is (0, 1), and the sum of t1, t2 and t3 is equal to 1.
[0053] During normal data transmission, there is a positive correlation between the time it takes for the relay chain to send data and the memory occupied by the relay chain to send data. The larger the memory occupied by the relay chain to send data, the longer it takes for the relay chain to send data. The accuracy index of the data sent by the relay chain is obtained by analyzing from three perspectives: the time it takes for the relay chain to send data, the memory occupied by the relay chain to send data, and the number of times the relay chain sends data to be encrypted, so that the accuracy index of the data sent by the relay chain is considered more comprehensively. The algorithm of this embodiment uses nonlinear transformation, which can help smooth the impact of outliers in the time it takes for the relay chain to send data, the memory occupied by the relay chain to send data, and the number of times the relay chain sends data to be encrypted, and reduce the distortion of the overall evaluation due to extreme cases.
[0054] The transmission process between the relay chain and the receiving blockchain is monitored through the operating system timing service and the timing function in the application to obtain the duration of the relay chain sending data and the duration of the relay chain sending data under normal circumstances, that is, to obtain the duration consumed by the relay chain to send data and the reference value of the duration consumed by the relay chain to send data. The number of encryption times in the transmission process between the relay chain and the receiving blockchain is counted by the data recorder to obtain the number of encryption times of the relay chain sending data and the number of encryption times of the relay chain sending data under normal circumstances, that is, to obtain the number of encryption times of the relay chain sending data and the reference value of the number of encryption times of the relay chain sending data. The memory occupied by the relay chain sending data and the memory occupied by the receiving blockchain receiving data during the transmission process between the relay chain and the receiving blockchain are analyzed by the data analysis algorithm to obtain the memory occupied by the relay chain sending data and the memory occupied by the receiving blockchain receiving data.
[0055] Furthermore, the specific analysis process of the data content accuracy is as follows: in the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired to obtain the data content accuracy parameter data; data cleaning and preprocessing are performed on the data content accuracy parameter data; data content accuracy indicators are analyzed after data cleaning and preprocessing to obtain data content accuracy indicators, which are used to reflect the accuracy of the data content; and data content accuracy is analyzed according to the data content accuracy indicators.
[0056] In this embodiment, data content accuracy parameter data is cleaned and preprocessed, including: filling or deleting missing data in the data content accuracy parameter data; identifying and selecting to retain, fill or delete outliers in the data content accuracy parameter data; identifying and correcting data entry errors. By performing data cleaning and preprocessing on the data content accuracy parameter data, the cleaned data quality is higher, the accuracy and reliability of the data content accuracy parameter data can be directly improved, and by processing outliers and errors, data deviations can be reduced, making the data content accuracy index more fair and consistent, and the preprocessed data is easier to process and analyze, which can save time and computing resources.
[0057] The data content accuracy index can be obtained by the following methods, including: applying hypothesis tests (such as t-tests or chi-square tests) to determine whether there are significant differences in data accuracy, calculating the variability and standard deviation of the data to evaluate the volatility of data changes in the entire relay chain; calculating the change in information entropy during data transmission to evaluate the degree of reduction in information accuracy; combining the above content, comprehensively evaluating the accuracy of the data content, and obtaining the data content accuracy index. The data content accuracy index can also be obtained by calculation. The specific method for obtaining the data content accuracy index is: obtaining data content accuracy parameter data; constructing a data content accuracy index calculation formula based on the data content accuracy parameter data; the specific data content accuracy index calculation formula is:
[0058]
[0059] In the formula, It is expressed as the data content accuracy index when the z0th relay chain and the j0th receiving blockchain transmit data. It is represented as the data transmission between the z0th relay chain and the j0th receiving blockchain. The data sent by the relay chain at the s0th data acquisition represents the logistics weight. It is represented as the data sent by the relay chain when the z0th relay chain and the j0th receiving blockchain perform data transmission, representing the logistics volume. It is expressed as the reference value of logistics weight when the z0th relay chain and the j0th receiving blockchain transmit data. It is expressed as the reference value of the logistics volume when the z0th relay chain transmits data with the j0th receiving blockchain. m1 is expressed as the weight ratio of the time consumed by the relay chain to send data in the accuracy index of the relay chain sending data. m2 is expressed as the weight ratio of the memory occupied by the relay chain sending data in the accuracy index of the relay chain sending data.
[0060] In the neural network, the gradient of the loss function for each weight is calculated through the back propagation algorithm to adjust the weights and obtain the specific values of m1 and m2. The value range of m1 and m2 is (0, 1), and the sum of m1 and m2 is equal to 1.
[0061] The data sent by the relay chain indicates that the logistics weight and the data sent by the relay chain indicate that the logistics volume are positively correlated. The greater the logistics weight, the greater the logistics volume, and the smaller the logistics weight, the smaller the logistics volume. The algorithm of this embodiment uses nonlinear transformation, which can help smooth the influence of outliers in the logistics weight and logistics volume represented by the data sent by the relay chain, reduce the distortion of the overall evaluation by extreme cases, and make the calculated accuracy index of the data sent by the relay chain more stable and reliable.
[0062] The data sent by the relay chain is read by the computer to obtain the data sent by the relay chain to represent the logistics weight and the data sent by the relay chain to represent the logistics volume. The length, width and height of the object are directly measured by rulers, tape measures and other tools, and then the volume is calculated to obtain the logistics volume reference value. The weight data of the cross-border logistics itself is obtained by the weighing sensor, which is the logistics weight reference value.
[0063] like Figure 2 As shown, it is a curve chart of the data content accuracy index provided in the embodiment of the present application, with the data sent by the relay chain to represent the logistics weight as the independent variable, and the data content accuracy index as the dependent variable. Through the increase and decrease analysis of curve Z, curve X and curve C, it can be known that when the data sent by the relay chain to represent the logistics weight is closer to the logistics weight reference value, the smaller the data content accuracy index is, and the higher the data content accuracy is; when the data sent by the relay chain to represent the logistics weight is farther away from the logistics weight reference value, the larger the data content accuracy index is, and the lower the data content accuracy is. The statistical table of data content accuracy index related data is shown in Table 1:
[0064] Table 1 Statistics of data content accuracy indicators
[0065]
[0066] It can be seen from Table 1 that in curve Z, when other parameters are the same, the closer the data sent by the relay chain to the logistics weight and the logistics weight reference value is, that is, when the data sent by the relay chain to the logistics weight is 12 tons, 15 tons and 18 tons respectively, the data content accuracy index is 0.289, 0.35 and 0.46 respectively, and the data content accuracy index gradually increases; similarly, when the data sent by the relay chain to the logistics weight and the logistics weight reference value is closer, the regional abnormality evaluation index is smaller. The above changes are also true for curves X and C.
[0067] For curve Z, curve X and curve C, when the data sent by the relay chain of curve Z, curve X and curve C indicate that the logistics weight is 15 tons, when the data sent by the relay chain of curve Z, curve X and curve C indicate that the logistics volume is 10 cubic meters, 12 cubic meters and 15 cubic meters respectively, and other parameters are consistent, the data content accuracy indicators of curve Z, curve X and curve C are 0.35, 0.43 and 0.5 respectively. It can be seen that when the data sent by the relay chain indicates that the logistics weight is consistent with other parameters, the greater the difference between the data sent by the relay chain indicating that the logistics volume is and the logistics volume reference value, the greater the data content accuracy indicator.
[0068] Furthermore, the specific analysis process of analyzing the accuracy of the data sent by the relay chain according to the accuracy index of the data sent by the relay chain is as follows: obtaining the accuracy index of the data sent by the relay chain, obtaining the threshold value of the data sent by the relay chain, and when the accuracy index of the data sent by the relay chain is greater than the threshold value of the data sent by the relay chain, it indicates that the transmission process of the logistics information data transmitted by the relay chain to the receiving blockchain is accurate; when it is in other situations, it indicates that an error occurs in the transmission process of the logistics information data transmitted by the relay chain to the receiving blockchain; the specific analysis process of analyzing the accuracy of the data content according to the data content accuracy index is as follows: obtaining the data content accuracy index, obtaining the data content accuracy threshold value, and when the data content accuracy index is less than the data content accuracy threshold value, it indicates that the logistics information data content transmitted by the relay chain to the receiving blockchain is accurate; when it is in other situations, it indicates that the logistics information data content transmitted by the relay chain to the receiving blockchain is inaccurate.
[0069] In this embodiment, the accuracy index threshold of the relay chain data sent is obtained by acquiring historical data and analyzing it in combination with the corresponding actual situation. The accuracy index threshold of the relay chain data sent is When the accuracy index of the data sent by the relay chain is greater than the accuracy index threshold of the data sent by the relay chain, that is, When , it means that the relay chain transmits the logistics information data to the receiving blockchain accurately. When it is in other situations, that is, , it means that an error occurs in the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain; the data content accuracy threshold is obtained by obtaining historical data and conducting experiments. When the data content accuracy index is less than the data content accuracy threshold, , it means that the logistics information data content transmitted by the relay chain to the receiving blockchain is accurate. When it is in other situations, that is, , it means that the logistics information data content transmitted by the relay chain to the receiving blockchain is inaccurate.
[0070] Furthermore, the specific analysis process for issuing early warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content is as follows: when the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain is accurate and the content of the logistics information data transmitted by the relay chain to the receiving blockchain is accurate, it means that the logistics information data of the cross-border logistics is accurately distributed, and no early warning reminder is issued; when an error occurs in the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain and one or more of the logistics information data contents transmitted by the relay chain to the receiving blockchain are inaccurate, it means that the logistics information data of the cross-border logistics is not accurately distributed, and an early warning reminder is issued.
[0071] In this embodiment, when an error occurs in the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain, and one or more of the logistics information data transmitted by the relay chain to the receiving blockchain is inaccurate, it means that the logistics information data of the cross-border logistics has not been accurately distributed, and an early warning reminder is issued, so that the staff can promptly notice the problems in the information transmission of cross-border logistics, and perform maintenance and other processing operations in time to avoid more erroneous transmissions and reduce economic losses and waste of time caused by erroneous transmissions.
[0072] like Figure 3As shown, it is a structural schematic diagram of a cross-border logistics relay chain distribution system based on blockchain provided by an embodiment of the present application. A cross-border logistics relay chain distribution system based on blockchain provided by an embodiment of the present application includes: a logistics data acquisition module, a data storage module, a relay chain receiving module, a relay chain transmission module, a receiving accurate analysis module, a judgment module, a data accurate analysis module and an early warning module; logistics data acquisition module: used to obtain logistics information data of cross-border logistics data storage module: used to store logistics information data in the transmission blockchain; relay chain receiving module: used to transmit logistics information data from the transmission blockchain to the relay chain; relay chain transmission module: used to transmit the logistics information data in the transmission blockchain In the process of transmitting logistics information data to the relay chain, data is acquired to obtain the accuracy parameter data of the data received by the relay chain; the receiving accuracy analysis module is used to analyze the data received by the relay chain according to the accuracy parameter data of the data received by the relay chain; the judgment module is used to transmit the logistics information data to the receiving blockchain through the relay chain when the conditions of the data received by the relay chain are met; the data accuracy analysis module is used to acquire data and analyze the accuracy of the data sent by the relay chain and the accuracy of the data content in the process of transmitting the logistics information data to the receiving blockchain; the early warning module is used to issue early warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content.
[0073] To summarize, the embodiment of the present application analyzes the relay chain receiving data situation according to the relay chain receiving data accuracy parameter data, and when the relay chain receiving data situation meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain, thereby avoiding subsequent data transmission operations when an error occurs in the relay chain receiving data process, thereby avoiding causing more data transmission errors.
[0074] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0075] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0076] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0077] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0078] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0079] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A cross-border logistics relay chain distribution method based on blockchain, characterized in that: The following steps are involved: Obtain logistics information data for cross-border logistics; Store logistics information data into the transmission blockchain; The transmission blockchain transmits logistics information data to the relay chain; Acquire data during the process of transmitting logistics information data from the transmission blockchain to the relay chain, and obtain the accuracy parameter data of the relay chain received data; Analyze the relay link receiving data situation according to the relay link receiving data accuracy parameter data; When the relay chain receives data that meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain; During the process of the relay chain transmitting logistics information data to the receiving blockchain, data acquisition and analysis are performed on the accuracy of the data sent by the relay chain and the accuracy of the data content; Provide early warning reminders based on the accuracy of data sent by the relay chain and the accuracy of data content; The specific analysis process of analyzing the relay link reception data situation according to the relay link reception data accuracy parameter data is as follows: Obtain the accuracy parameter data of the relay link received data; Normalize the accuracy parameter data of the relay link received data; Obtaining a relay link received data accuracy index according to the normalized relay link received data accuracy parameter data analysis, wherein the relay link received data accuracy index is used to reflect the accuracy of the relay link received data; Analyze the relay link reception data situation according to the relay link reception data accuracy index; The specific method for obtaining the accuracy index of the relay link received data is as follows: Get the number of relay chains and number the relay chains; Get the number of transmitted blockchains and number the transmitted blockchains; Perform multiple data acquisitions when the relay link is receiving and sending, obtain the number of data acquisitions, and number the number of data acquisitions; Obtain the accuracy parameter data of the relay link received data; Constructing a calculation formula for the accuracy index of the relay link reception data according to the parameter data of the accuracy index of the relay link reception data; The specific calculation formula for the accuracy of the relay link received data is: ; In the formula, Expressed as The relay chain and The accuracy index of the data received by the relay chain when the transmission blockchain receives data. , is the relay chain number, Expressed as the total number of relay chains, , To transmit the blockchain number, Expressed as the total number of transferred blockchains, Expressed as The relay chain and The first block chain to receive data The time it takes for the relay link to receive data during the data acquisition. , The number of times the data is obtained. Represents the total number of data acquisitions, Expressed as The relay chain and The first block chain to receive data The memory occupied by the relay link receiving data when acquiring data. Expressed as The relay chain and The first block chain to receive data The number of times the relay link receives data during data acquisition, Expressed as The relay chain and The standard time it takes for a relay chain to receive data when a transmission blockchain receives data. Expressed as The relay chain and The memory occupied by the transmission blockchain transmission data when receiving data from the transmission blockchain, Expressed as The relay chain and The number of times the transmission blockchain sends data when the transmission blockchain receives data, It is expressed as the weight ratio of the time consumed by the relay link to receive data in the accuracy index of the relay link receiving data. It is expressed as the weight ratio of the memory occupied by the relay link received data in the relay link received data accuracy index. It is expressed as the weight ratio of the number of times the relay link receives data in the relay link receiving data accuracy index.
2. A cross-border logistics relay chain distribution method based on blockchain as claimed in claim 1, characterized in that: The specific analysis process of analyzing the relay link reception data situation according to the relay link reception data accuracy index is as follows: Obtaining a relay chain received data accuracy indicator, obtaining a relay chain received data accuracy threshold, comparing the relay chain received data accuracy indicator with the relay chain received data accuracy threshold, and when the relay chain received data accuracy indicator is greater than the relay chain received data accuracy threshold, it indicates that the relay chain accurately receives data; When the relay chain received data accuracy index is not greater than the relay chain received data accuracy threshold, it indicates that an error occurs in the relay chain during data reception.
3. A cross-border logistics relay chain distribution method based on blockchain as claimed in claim 1, characterized in that: When the relay chain receives data that meets the conditions, the specific analysis process of transmitting logistics information data to the receiving blockchain through the relay chain is as follows: When the relay chain receives data, it means that the relay chain receives data accurately, which means that the relay chain receives data and satisfies the conditions, and the logistics information data is transmitted to the receiving blockchain through the relay chain; When the data receiving situation of the relay chain indicates that an error occurs in the data receiving process of the relay chain, it means that the data receiving situation of the relay chain does not meet the conditions. The relay chain conveys the instruction of retransmitting the logistics information data to the transmission blockchain, and repeats the step of transmitting the logistics information data to the relay chain to analyze the data receiving situation of the relay chain according to the parameter data of the accuracy of the data received by the relay chain. When the data receiving situation of the relay chain indicates that the relay chain accurately receives the data, when the data receiving situation of the relay chain meets the conditions, the logistics information data is transmitted to the receiving blockchain through the relay chain.
4. A cross-border logistics relay chain distribution method based on blockchain as claimed in claim 1, characterized in that: The specific analysis process of the accuracy of the data sent by the relay chain is as follows: In the process of the relay chain transmitting the logistics information data to the receiving blockchain, data is acquired to obtain the accuracy parameter data of the data sent by the relay chain; Process the accuracy parameter data of the data sent by the relay chain; Analyze the relay chain data sending accuracy parameter data after data processing to obtain the relay chain data sending accuracy index, where the relay chain data sending accuracy index is used to reflect the accuracy of the relay chain sending data; Analyze the accuracy of data sent by the relay chain based on the accuracy index of data sent by the relay chain.
5. A cross-border logistics relay chain distribution method based on blockchain as claimed in claim 4, characterized in that: The specific analysis process of the accuracy of the data content is as follows: In the process of transmitting logistics information data to the receiving blockchain, the data is acquired to obtain the parameter data of data content accuracy; Perform data cleaning and preprocessing on the data content accuracy parameter data; After data cleaning and preprocessing, the data content accuracy parameter data is analyzed to obtain a data content accuracy index, which is used to reflect the accuracy of the data content; Analyze the accuracy of data content based on data content accuracy indicators.
6. A cross-border logistics relay chain distribution method based on blockchain as claimed in claim 5, characterized in that: The specific analysis process of analyzing the accuracy of the data sent by the relay chain according to the accuracy index of the data sent by the relay chain is as follows: Obtain the relay chain data sending accuracy index, obtain the relay chain data sending accuracy index threshold, when the relay chain data sending accuracy index is greater than the relay chain data sending accuracy index threshold, it means that the relay chain transmits the logistics information data to the receiving blockchain accurately, when it is in other situations, it means that the relay chain transmits the logistics information data to the receiving blockchain. Errors occur in the transmission process; The specific analysis process of analyzing the accuracy of data content according to the data content accuracy index is as follows: Get the data content accuracy index and the data content accuracy threshold. When the data content accuracy index is less than the data content accuracy threshold, it means that the logistics information data content transmitted by the relay chain to the receiving blockchain is accurate. When it is in other situations, it means that the logistics information data content transmitted by the relay chain to the receiving blockchain is inaccurate.
7. A cross-border logistics relay chain distribution method based on blockchain as claimed in claim 1, characterized in that: The specific analysis process of providing early warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content is as follows: When the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain is carried out accurately and the content of the logistics information data transmitted by the relay chain to the receiving blockchain is accurate, it means that the logistics information data of cross-border logistics is accurately distributed and no early warning reminder is issued; When an error occurs in the transmission process of the relay chain transmitting the logistics information data to the receiving blockchain, or when one or more of the logistics information data transmitted by the relay chain to the receiving blockchain is inaccurate, it means that the logistics information data of the cross-border logistics has not been accurately distributed, and an early warning reminder is issued.
8. A cross-border logistics relay chain distribution system based on blockchain, used to execute the cross-border logistics relay chain distribution method based on blockchain according to any one of claims 1 to 7, characterized in that: include: Logistics data acquisition module, data storage module, relay chain receiving module, relay chain transmission module, receiving accurate analysis module, judgment module, data accurate analysis module and early warning module; The logistics data acquisition module is used to obtain logistics information data of cross-border logistics. The data storage module is used to store logistics information data into the transmission blockchain; The relay chain receiving module is used to transmit the logistics information data from the blockchain to the relay chain; The relay chain transmission module is used to acquire data during the process of transmitting logistics information data from the transmission blockchain to the relay chain, and obtain the accuracy parameter data of the relay chain received data; The receiving accuracy analysis module is used to analyze the relay link receiving data according to the relay link receiving data accuracy parameter data; The judgment module is used to transmit the logistics information data to the receiving blockchain through the relay chain when the relay chain receives the data and the conditions are met; The data accuracy analysis module is used to obtain data and analyze the accuracy of the data sent by the relay chain and the accuracy of the data content when the relay chain transmits the logistics information data to the receiving blockchain; The warning module is used to issue warning reminders based on the accuracy of the data sent by the relay chain and the accuracy of the data content.
