A rural logistics transportation information security sharing method and system
By splitting data packets into different priorities and encrypting them for uploading in the blockchain of the rural logistics transportation information platform, the problem of poor security of the rural logistics information sharing platform is solved, and information security sharing and efficient uploading are achieved under the condition of limited hardware resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA DESIGN GROUP CO LTD
- Filing Date
- 2025-08-07
- Publication Date
- 2026-04-21
AI Technical Summary
Rural logistics and transportation information sharing suffers from poor security due to inadequate hardware resources. Furthermore, differences in format and encryption methods during information transmission between different systems make effective and secure information sharing difficult.
A blockchain platform for secure information sharing in rural logistics transportation is constructed by splitting data packets into sub-data packets of different priorities and encrypting and uploading them based on the network conditions of edge nodes and the priorities of the sub-data packets. By utilizing the blockchain structure of edge chains and core chains, secure information sharing is achieved.
Given the limited hardware resources at edge nodes, prioritizing the uploading of critical information improves the security and efficiency of information sharing, reduces the pressure on network resource allocation, and ensures the secure sharing of logistics and transportation information.
Smart Images

Figure CN120856657B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of edge data transmission technology, specifically to a method and system for secure sharing of information in rural logistics transportation. Background Technology
[0002] Due to the large number of rural areas and their varying distribution patterns based on geographical environment, rural logistics transportation primarily involves delivery in the order of county, township, and village. Compared to urban logistics, the number of waybills in rural areas is relatively small. Therefore, in logistics transportation, later logistics nodes (such as townships and villages) can reduce transportation costs and improve efficiency by unifying the delivery of waybills from different logistics companies.
[0003] When transporting goods from multiple logistics companies in a unified manner, it is necessary to share the logistics status of the goods with each of the different logistics companies in real time. However, the information platforms of different logistics companies may be different, which may pose certain difficulties in information sharing, including differences in data formats and encryption methods.
[0004] Existing technologies, by combining blockchain technology, construct multi-enterprise collaborative logistics information sharing platforms to achieve secure sharing of logistics transportation information. Simultaneously, simple attribute verification ensures secure information sharing. However, because this platform involves multi-party collaboration, logistics information typically needs to be transmitted between different systems. Furthermore, the limited hardware resources of rural logistics nodes result in poor security during information sharing. Therefore, a secure sharing method and system for rural logistics transportation information is needed. Summary of the Invention
[0005] To address the technical problem of poor security in rural logistics information sharing platforms due to limited hardware resources, the present invention aims to provide a method and system for secure sharing of rural logistics transportation information. The specific technical solution adopted is as follows:
[0006] In a first aspect, the present invention provides a method for securely sharing rural logistics and transportation information. The method includes: constructing a blockchain for a secure sharing platform of rural logistics and transportation information, the blockchain comprising several core nodes on a core chain and several edge nodes on an edge chain; the edge nodes on the edge chain are used to acquire the rural logistics and transportation information, which includes several data packets; splitting the data packets into sub-data packets of different priorities; uploading the sub-data packets from the edge nodes to the core nodes according to the network status of the edge nodes and the priorities of the sub-data packets; and securely sharing the rural logistics and transportation information uploaded to the core nodes.
[0007] Furthermore, the data packet is split into sub-data packets of different priorities, specifically including: splitting the data packet into critical sub-data packets and non-critical sub-data packets, wherein the priority of the critical sub-data packets is greater than the priority of the non-critical sub-data packets.
[0008] Furthermore, the data packet includes several data segments, and a key index for each data segment is determined based on the information of the data segments; data segments with a key index greater than a preset threshold are clustered to form the key sub-data packets; other data segments in the data packet constitute the non-key sub-data packets.
[0009] Furthermore, the key index of each data segment is determined based on the information of the data segments. Specifically, this includes: extracting features from the user demand and cargo transportation demand in the i-th data packet to obtain demand information; standardizing the demand information based on the information tags in the i-th data packet; matching the standardized demand information with the information tags of the j-th data segment in the i-th data packet to obtain demand data, where the key index of the demand data is 1, i.e., the key index of the j-th data segment is 1; and determining the key index of the j'-th data segment based on the query frequency of the information tags of the j'-th data segment in the historical transportation process. Wherein, the i-th data packet is any one of the several data packets, and i is a positive integer; the j-th data segment is any data segment in the i-th data packet containing demand information, and j is a positive integer; the j'-th data segment is any data segment in the i-th data packet other than the j-th data segment, and j' is a positive integer.
[0010] Furthermore, based on the network status of the edge nodes and the priority of the sub-data packets, the sub-data packets of the edge nodes are uploaded to the core nodes; specifically, this includes: encrypting and uploading key sub-data packets based on the real-time network quality of the edge nodes; and dynamically uploading data packets based on real-time network fluctuations.
[0011] Furthermore, based on the real-time network quality of the edge node, key sub-data packets are encrypted and uploaded. Specifically, this includes: determining the priority order of all key sub-data packets on the edge node based on the sum of the key indices of all data segments within the key sub-data packet; obtaining the real-time network quality of the current edge node at time t by analyzing the real-time network quality of the current edge node; determining the pre-allocated bandwidth of the i-th key sub-data packet based on the number of key sub-data packets on the current edge node, the bandwidth of the current edge node at time t, and the real-time network quality of the current edge node at time t; and encrypting and uploading all key sub-data packets on the current edge node based on the priority order of all key sub-data packets on the edge node and the pre-allocated bandwidth of the i-th key sub-data packet.
[0012] Furthermore, data packets are dynamically uploaded based on real-time network fluctuations; specifically, this includes: determining the necessity of restarting the i-th non-critical sub-data packet based on its storage time and memory usage; inserting the i-th non-critical sub-data packet into the upload sequence of critical sub-data packets based on its restart necessity; and repeatedly traversing all non-critical sub-data packets to achieve the upload of non-critical sub-data packets.
[0013] Furthermore, the data packets are dynamically uploaded based on real-time network fluctuations; this also includes: determining the network change trend at time t based on the real-time network quality of the current edge node at time t and time t-1; determining the relative trend of the current edge node at time t based on the network change trend at time t and the average network change trend over a preset time period; marking the data packets being uploaded if the relative trend of the current edge node at time t is within a preset range; determining the marking insertion frequency by combining the relative trend of the current edge node at time t and the upload frequency of the current data packets; marking and inserting the tags into the data packets being uploaded according to the marking insertion frequency; and stopping data upload if the relative trend of the current edge node at time t is less than the preset range.
[0014] Furthermore, information security sharing of rural logistics and transportation information uploaded to the core node is implemented, specifically including: obtaining the encryption key of the data packet uploaded by each edge node; splitting the encryption key into 3 fragments and distributing them to the enterprise nodes of the core chain through a threshold signature algorithm; when any enterprise node needs to access the data, it sends an application to other enterprise nodes, and access to the logistics and transportation information is allowed when the number of fragments is greater than or equal to 2.
[0015] Secondly, the present invention is a rural logistics transportation information security sharing system. The aforementioned method, the system comprising: a rural logistics transportation information security sharing platform blockchain, the blockchain including several core nodes on a core chain and several edge nodes on an edge chain; the edge nodes on the edge chain are used to acquire the rural logistics transportation information, the rural logistics transportation information including several data packets; and are also used to split the data packets into sub-data packets of different priorities, and upload the sub-data packets of the edge nodes to the core nodes according to the network status of the edge nodes and the priorities of the sub-data packets; the core nodes on the core chain are used to perform information security sharing of the rural logistics transportation information uploaded to the core nodes.
[0016] The present invention has the following beneficial effects:
[0017] This invention achieves a reasonable allocation of network resources under the limited hardware resources of edge nodes by splitting data packets into sub-data packets of different priorities and queuing them for uploading according to their priorities. This ensures the reliable uploading of high-priority data, that is, prioritizing the uploading of key information in logistics and transportation information, thereby realizing the secure sharing of logistics and transportation information.
[0018] This invention addresses the limitation of poor hardware resources at the edge nodes of the rural logistics information sharing platform by splitting data packets (each data packet representing a complete waybill) in rural logistics transportation information into sub-data packets of different priorities. The upload priority of sub-data packets containing more important information is set higher than that of sub-data packets containing less important information. This ensures that sub-data packets containing more important information are uploaded first, thereby guaranteeing the uploading and sharing of logistics transportation information even with limited hardware resources at the edge nodes.
[0019] This invention enhances the information sharing capabilities of rural logistics and transportation by constructing an edge chain in rural areas and connecting it to the core chain. During data upload, bandwidth is pre-allocated for order information based on real-time network conditions, improving data packet upload efficiency. Simultaneously, real-time analysis of network quality trends helps determine potential network disconnections and adjusts strategies for temporarily stored and uploaded data based on these changes, thereby improving both upload efficiency and security. Attached Figure Description
[0020] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic flowchart of a method for secure sharing of rural logistics transportation information provided in one embodiment of the present invention;
[0022] Figure 2 This is a schematic diagram of a blockchain structure in one embodiment of the present invention;
[0023] Figure 3 This is a schematic diagram of the structure of a rural logistics transportation information security sharing system provided in one embodiment of the present invention. Detailed Implementation
[0024] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of a rural logistics transportation information security sharing method and system proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0026] It should be noted that, in order to ensure that the calculation results are meaningful, when performing fractional operations, if the denominator is 0, a parameter adjustment factor greater than 0 needs to be added to the denominator to prevent the denominator from being 0. The value of the parameter adjustment factor shall be set by the implementer according to the actual situation, and this application does not impose any special restrictions.
[0027] The following description, in conjunction with the accompanying drawings, details the specific scheme of a rural logistics transportation information security sharing method and system provided by the present invention.
[0028] Please see Figure 1 The diagram illustrates a flowchart of a method for secure information sharing in rural logistics transportation according to an embodiment of the present invention. The method includes:
[0029] First, a blockchain platform for secure information sharing in rural logistics transportation is constructed. This blockchain comprises several core nodes on the core chain and several edge nodes on the edge chain. The edge nodes on the edge chain are used to acquire rural logistics transportation information, which includes several data packets. Each data packet represents a complete waybill information. Below is an example of a data packet (also representing a complete waybill information), see Table 1.
[0030] Table 1
[0031] Goods ID P2024X Category vaccine Temperature control requirements 2-8℃ Current location N32°04`E118°46` Current temperature 5℃ Update time 2024-03-20 14:30 consignee plum* Last four digits of phone number 1234 Signature requirements I signed for it. carrier A Logistics Waybill number YD202403200001
[0032] Secondly, the data packet is split into sub-data packets of different priorities; in this embodiment of the invention, two priorities are set. The data packet is split into critical sub-data packets and non-critical sub-data packets, with the priority of the critical sub-data packets being higher than that of the non-critical sub-data packets.
[0033] The data packet contains several data segments. Each data segment includes an information tag and information content. The information content corresponds to the information tag. The information tag can be understood as a category in the express delivery information, such as "Goods ID," "Carrier," and "Waybill Number" in the example data packet above. Among them, "Goods ID" and "P2024X" form one data segment, where "Goods ID" represents the information tag and "P2024X" represents the information content; "Signature Requirements" and "Personal Signature" form another data segment, where "Signature Requirements" represents the information tag and "Personal Signature" represents the information content.
[0034] The data packet contains several data segments. A critical index is determined for each data segment based on its information. Data segments with a critical index greater than a preset threshold are clustered to form critical sub-data packets; the other data segments within the data packet constitute non-critical sub-data packets.
[0035] The key indices for each data segment are determined based on the information in the data segment. The method for determining the key indices is as follows:
[0036] Feature extraction is performed on the user demand and cargo transportation demand in the i-th data packet to obtain demand information. The demand information is standardized based on the information tags within the i-th data packet. The standardized demand information is matched with the information tags of the j-th data segment within the i-th data packet to obtain demand data. The key index of the demand data is 1, meaning the key index of the j-th data segment is 1. The key index of the j'-th data segment is determined based on the query frequency of the information tags of the j'-th data segment in historical transportation processes. In this embodiment, the i-th data packet is any one of several data packets, where i is a positive integer; the j-th data segment is any data segment in the i-th data packet containing demand information, where j is a positive integer; and the j'-th data segment is any data segment in the i-th data packet other than the j-th data segment, where j' is a positive integer.
[0037] Based on the network conditions of the edge nodes and the priority of the sub-data packets, the sub-data packets of the edge nodes are uploaded to the core nodes; specifically including:
[0038] 1. Based on the real-time network quality of the edge nodes, encrypt and upload key sub-data packets.
[0039] The priority order of all key sub-data packets on the edge node is determined based on the sum of the key indices of all data segments within the key sub-data packet. The real-time network quality of the current edge node at time t is obtained by analyzing the real-time network quality of the current edge node. The pre-allocated bandwidth for the i-th key sub-data packet is determined based on the number of key sub-data packets on the current edge node, the bandwidth of the current edge node at time t, and the real-time network quality of the current edge node at time t. All key sub-data packets on the current edge node are encrypted and uploaded according to the priority order of all key sub-data packets on the edge node and the pre-allocated bandwidth for the i-th key sub-data packet.
[0040] 2. Dynamically upload data packets based on real-time network fluctuations.
[0041] 2.1. Based on the storage time and memory usage of the i-th non-critical sub-data packet, determine the necessity of restarting the i-th non-critical sub-data packet. Based on the restart necessity of the i-th non-critical sub-data packet, insert it into the upload sequence of the critical sub-data packets; repeatedly traverse all non-critical sub-data packets to achieve the upload of non-critical sub-data packets.
[0042] 2.2. Based on the real-time network quality of the current edge node at time t and time t-1, determine the network change trend at time t. Based on the network change trend at time t and the average network change trend over a preset time period, determine the relative trend of the current edge node at time t.
[0043] If the relative trend of the current edge node at time t is within a preset range, the data packets being uploaded are marked. When the relative trend of the current edge node at time t is within the preset range, it indicates that the network condition of the current edge node is relatively average, but uploading can still continue, although there is a risk of interruption. Therefore, it is necessary to mark the data packets being uploaded to ensure continuity in the event of a sudden interruption. The marking insertion frequency is determined by combining the relative trend of the current edge node at time t and the upload frequency of the current data packets. Based on the marking insertion frequency, the data packets being uploaded are marked and inserted.
[0044] If the relative trend of the current edge node at time t is less than a preset range, then data upload will stop. If the relative trend of the current edge node at time t is less than a preset range, it indicates that the network condition of the current edge node is very poor and unsuitable for data upload, therefore data upload will stop.
[0045] Finally, information security sharing is implemented for rural logistics and transportation information uploaded to the core node.
[0046] Obtain the encryption key for the data packets uploaded by each edge node. Split the encryption key into 3 shards and distribute them to the enterprise nodes of the core chain using a threshold signature algorithm. When any enterprise node needs to access data, it sends a request to other enterprise nodes. Access to logistics and transportation information is permitted when the number of shards is greater than or equal to 2.
[0047] This invention, through the method of splitting data packets into sub-data packets of different priorities and queuing them for uploading according to their priorities, achieves a reasonable allocation of network resources under the condition of limited hardware resources of edge nodes. This reliably ensures the uploading of high-priority data, that is, the priority uploading of key information in logistics and transportation information, thereby realizing the secure sharing of logistics and transportation information.
[0048] In this embodiment of the rural logistics information sharing platform, given the limited hardware resources of the edge nodes, the data packets (each data packet representing a complete waybill) in rural logistics transportation information are split into sub-data packets of different priorities. The upload priority of sub-data packets containing more important information is set higher than that of sub-data packets containing less important information. This prioritizes the upload of sub-data packets containing more important information, ensuring the uploading and sharing of logistics transportation information even with limited hardware resources at the edge nodes.
[0049] The present invention also provides another method embodiment, which reduces the pressure on edge nodes by constructing a blockchain structure of core chain and edge chain, with the edge chain only performing data upload and temporary storage. At the same time, by analyzing the network conditions during data upload, changes in network quality can be predicted, and targeted adjustments can be made to information sharing to improve data security.
[0050] This invention aims to improve the utilization rate of logistics resources in rural areas by combining goods from different logistics companies through unified transportation, thereby reducing empty vehicle rates and improving logistics efficiency. During this process, logistics companies build an information-sharing platform, allowing all parties to query logistics progress, cargo location, and other information in real time. However, due to the limitations of hardware resources at rural logistics nodes and the need to share logistics information with various system terminals via blockchain, the security of logistics information is relatively poor. For example, the hardware resources of rural nodes are insufficient to support high-strength encryption; during the sharing of logistics information among various systems, standardization is required due to differences in platform systems, leading to information gaps during the standardization process; and because information on the blockchain is immutable and easily accessible throughout the transportation chain, insufficient encryption may result in the leakage of sensitive information.
[0051] Step 1: Build a rural logistics transportation sharing platform and collect relevant information during the transportation process.
[0052] Edge servers, i.e., the edge chains of the blockchain, are deployed at township-level nodes (township logistics stations). County-level nodes are connected to the core chain of the logistics and transportation information sharing platform, and the edge chains of county-level nodes are connected to the edge chains of each township-level node. A schematic diagram of the blockchain structure is shown below. Figure 2 As shown.
[0053] Collect cargo information during rural logistics transportation:
[0054] Before goods are transported, staff at the county-level node obtain detailed information about the goods, including the recipient's address, contact information, customer requirements, and delivery time, generating a corresponding data package with a corresponding goods ID. When transport begins, node staff scan the QR code or barcode on the goods to upload a data package containing the goods ID, location, target node, and time. Once the goods arrive at a logistics node, location and environmental sensors (such as GPS, temperature and humidity sensors) installed on the transport vehicle acquire logistics transportation information data packages. Upon arrival at the target logistics node, node staff scan the QR code or barcode on the goods to generate a data package containing the goods ID, location, and time. Each time a data package is acquired, it is uploaded to the blockchain edge node via the nearest node (uploading the edge node's information to its storage area). The data packages corresponding to each goods ID are integrated to generate a logistics transportation information package for that goods. Network parameters for each edge node are acquired in real time, including real-time bandwidth, real-time upload speed, and packet loss rate. This completes the blockchain construction and logistics transportation information collection for the rural logistics transportation information sharing platform.
[0055] Step 2: Uploading edge chain information to the logistics transportation information sharing platform (uploading the information of edge nodes to the blockchain).
[0056] 1. Identify the key sub-data packets of the data packets obtained by each node on the block edge chain.
[0057] In the process of sharing rural logistics and transportation information, the poor network and hardware resources of edge nodes sometimes prevent them from uploading complete data packets like nodes on the core chain. Therefore, to update the logistics status of goods in a timely manner, the complete data packet is divided into multiple sub-data packets based on different cargo transportation needs and customer requirements. Finally, the key sub-data packets are uploaded, and the complete data packet is stored at the edge nodes, reducing the encryption and sharing burden on the edge nodes.
[0058] 1.1 First, the user requirements and cargo transportation requirements in the i-th data packet are extracted using the existing algorithm (regular expression method), i.e., the requirement information.
[0059] 1.2 Subsequently, the demand information is standardized based on the information tags within the i-th data packet (the information tags uniformly refer to the category of express delivery information, such as the goods ID, category, time, current temperature, and required temperature in the aforementioned method embodiments). For example, when a customer or goods have a temperature requirement, the demand information is standardized as "current temperature".
[0060] 1.3 The standardized requirement information is matched with the information tag of the j-th data segment in the i-th data packet to obtain the requirement data.
[0061] 1.4 For the j'-th data segment excluding demand data, obtain its key index G based on its contribution to the transportation process. i_j The requirement information must be uploaded, so first filter the requirement information according to the requirements; then, classify the remaining information by importance, combine the key sub-data packets, and upload them subsequently; G i_j′ This means that information that is more likely to be searched is uploaded first, based on its level of attention.
[0062] G i_j ′=f j ′
[0063] Among them, f j ' represents the frequency with which the information tag corresponding to the j'-th data segment was queried during the historical transportation process. A higher query frequency indicates greater importance during transportation or to the user.
[0064] It should be noted that the key index for the demand data is 1.
[0065] 1.5 Perform K-means clustering (G) on all data segments within the i-th data packet. i_j If the key index information of all data segments in the i-th data packet is greater than 0.6, then the key sub-data packet is obtained. The key index information of all data segments in the i-th data packet is clustered, and those exceeding a preset threshold are grouped into one group. In this embodiment of the invention, data segments with key index information greater than 0.6 are grouped into one group, and this group of data segments constitutes the key sub-data packet.
[0066] In addition: key sub-data packets include the requirements for the transportation of a particular express shipment: for example, "temperature requirement": "2-8℃", "signature requirement": "personal inspection".
[0067] 2. Based on the real-time network quality of the edge nodes, key sub-data packets are encrypted and dynamically uploaded.
[0068] The sharing of logistics and transportation information relies on network transmission. However, in rural logistics and transportation, some peripheral nodes often experience poor network stability and quality, which can easily lead to the inability to upload complete logistics and transportation information to the information sharing platform in a timely manner, resulting in information lag.
[0069] In the logistics and transportation process, the speed of information sharing has a significant impact on subsequent logistics and transportation arrangements and the determination of cargo status. Therefore, in order to improve the information sharing effect of edge nodes, data packets are dynamically encrypted based on network quality.
[0070] 2.1 Divide all data packets temporarily stored at the current edge node into critical sub-data packets and non-critical sub-data packets. Sort the upload order of all critical sub-data packets according to the criticality index G of the data segments within each critical sub-data packet. i_j The sums of these values are arranged in descending order to obtain the upload sequence of the data packets. Each key sub-data packet contains multiple data segments; each segment has been assigned a key index during the filtering process; these key indices are then summed. The key sub-data packet includes data segments with a key index of 1.
[0071] It should be noted that non-critical sub-data packets are not urgent, so they are temporarily stored in the edge node and uploaded when the network has sufficient capacity.
[0072] 2.2 Subsequently, the real-time network quality of the current edge node is analyzed. The specific steps are as follows:
[0073] 2.2.1 Calculate the bandwidth B at time t up_t (Upload bandwidth) and real-time upload speed v up_t The difference, i.e., the bandwidth surplus Y at time t. up_t ;
[0074] Y up_t =B up_t -v up_t
[0075] It should be noted that since edge nodes only handle data uploading and temporary data storage during information sharing, lower resources are allocated to download speeds in order to maximize upload capacity. Bandwidth margin Y up_t The larger the value, the greater the amount of data that can be uploaded in real time.
[0076] 2.2.2 Obtain the average bandwidth surplus for the day Calculate the upload bandwidth stability σ at time t. up_t ;
[0077]
[0078] Where T represents the number of times data has been collected that day.
[0079] 2.2.3 Combining the packet loss rate μ at time t during upload up_t To obtain the real-time network quality Z of the current edge node. t , where norm represents linear normalization.
[0080]
[0081] 2.3 Based on the determined edge node network quality at time t, bandwidth is pre-allocated for the critical sub-data packets to obtain the pre-allocated bandwidth BY for the i-th critical sub-data packet. t,i ;
[0082]
[0083] Where n represents the number of critical sub-data packets that the edge node is queuing to upload at time t; (1-Z t This represents the reduction factor for pre-allocating bandwidth to each critical sub-data packet. The higher the network quality, the smaller the reduction, reserving a certain amount of bandwidth to improve the stability of data upload.
[0084] 2.4 Each critical sub-data packet is configured according to its corresponding pre-allocated bandwidth, combined with the critical index G of the j'-th data segment. i_j Prioritize encrypting data segments with larger critical indices (using symmetric encryption algorithms such as AES).
[0085] 2.5 After encrypting the data, the key sub-data packets are uploaded sequentially to the parent node of the current edge node.
[0086] It should be noted that when the upper-level edge node receives the data uploaded by the lower-level edge node, it decrypts the data packet and stores the content information locally.
[0087] 2.6 Repeat the above steps, i.e., steps 2.4-2.5, based on the network quality of the edge node, to construct new key sub-data packets and re-encrypt and upload them.
[0088] It should be noted that the data packets uploaded from the lower-level nodes to this edge node are all critical data, so the data packets are not reconstructed, but only the bandwidth is pre-allocated.
[0089] 3. Dynamically upload data packets based on real-time network fluctuations.
[0090] When data is uploaded from edge nodes, the network quality of the nodes may fluctuate significantly, such as network connection drops and reconnections, node disconnections and reconnections, and changes in the amount of data uploaded. Based on these varying network quality conditions, the data upload strategy for edge nodes is adjusted to ensure data security and improve upload efficiency.
[0091] During data packet encryption and uploading, in order to improve the upload rate of critical data, a portion of non-critical data is still retained in the edge nodes. When the network quality stabilizes or improves (with a large bandwidth margin), the upload of this portion of data is restarted to ensure the integrity of order data in the core chain.
[0092] 3.11 Calculate the restart necessity X of the i-th non-critical sub-data packet (which, together with the i-th critical sub-data packet, constitutes a complete data packet for a package). i The longer the storage time of non-critical sub-data packets, the better. i And the memory usage of the data packet R i The higher the value, the greater the necessity of restarting (X). i The higher;
[0093] X i =norm(L i ×R i 3.12 Based on the restart necessity X of the i-th non-critical sub-data packet i This is inserted into the upload sequence of the data packet;
[0094] 3.13 Repeat step 3.12 to restart the upload of non-critical sub-data packets.
[0095] When network quality becomes unstable or degrades, the upload speed of edge nodes is adaptively adjusted based on the trend and magnitude of network quality changes. up Meanwhile, the data currently being uploaded is marked to avoid data loss due to sudden network disconnection, and the data is re-uploaded based on the marked data after the network is reconnected, thus improving upload efficiency.
[0096] 3.21 When edge nodes upload data, they should consider the real-time network quality Z. t Calculate the network change trend K at time t. t ;
[0097]
[0098] Where t represents the fixed interval for data acquisition. When K t A value greater than 0 indicates that network quality is improving; conversely, a value greater than 0 indicates that network quality is declining. t A value less than 0 indicates that network quality has begun to decline.
[0099] 3.22 Furthermore, combining the network change trends K at multiple time points... t Calculate the relative trend KX of the current edge node at time t. t ;
[0100]
[0101] in, This represents the average value of the network trend in the hour preceding time t; norm() represents the normalization function with a range of [0, 1].
[0102] 3.23 Subsequently, a threshold is set to judge the relative trend of the edge nodes at time t. When 0.1 ≤ KX t When the value is less than 0.3, the network is considered to be highly volatile, and data packets that are being uploaded are marked to prevent sudden disconnection.
[0103] 3.24 Furthermore, for critical sub-data packets currently being transmitted, markers are set during the upload process;
[0104] It should be noted that adding tags to data packets increases their memory usage. Therefore, when network quality is good, prioritize uploading critical data and reduce the frequency of tag insertion to avoid excessive unnecessary data. Conversely, when network quality is poor, prioritize ensuring stable data uploads and increase the frequency of tag insertion to avoid data upload progress loss due to disconnection.
[0105] 3.25 Combining the relative trend KX at time t t Calculate the insertion frequency f of the markers in the data packet. t ;
[0106] f t =KX t ×f max
[0107] Among them, f max This indicates the maximum insertion frequency that the current data packet can accept, i.e., the upload frequency of the current data packet.
[0108] 3.26 Finally, combining the insertion frequency f of the marker... t Upload the key sub-data packets.
[0109] It should be noted that when KX t When the value is less than 0.1, the network is considered unsuitable for continued data transmission, and data packet uploading is stopped.
[0110] This completes the uploading of logistics and transportation information for edge nodes.
[0111] Step 3: Encrypt the data packets uploaded by the edge nodes in the core chain.
[0112] Through the above steps, rural logistics and transportation information from all edge nodes is uploaded to the core chain of the blockchain. Once the information is uploaded to the core chain, it is encrypted.
[0113] Because rural logistics transportation involves unified distribution to multiple enterprises, the feedback information includes the information needed by each enterprise. Therefore, there is a high risk of information leakage when information is shared.
[0114] By segmenting and encrypting logistics and transportation information, the risk of information leakage is reduced. The specific steps are as follows:
[0115] First, obtain the encryption key for the data packets uploaded by each edge node;
[0116] Subsequently, the encryption key is split into U fragments (U≥3) and distributed to authorized enterprise nodes (such as shippers, recipients, and regulators) on the core chain using the Threshold Signature (TSS) algorithm;
[0117] Furthermore, when an enterprise node needs to access data, it sends a request to other enterprise nodes. Access to logistics and transportation information is allowed when the number of shards U≥2.
[0118] This invention improves the information sharing capabilities of rural logistics and transportation by building an edge chain in rural areas and connecting it to the core chain. During data upload, bandwidth is pre-allocated for order information based on real-time network conditions, improving data packet upload efficiency. Simultaneously, real-time analysis of network quality trends helps determine potential network disconnections and adjusts strategies for temporarily stored and uploaded data based on these network changes, enhancing both upload efficiency and security.
[0119] Based on the same inventive concept as the above-described method embodiments, this invention provides a rural logistics transportation information security sharing system, such as... Figure 3 As shown, it includes:
[0120] The rural logistics and transportation information security sharing platform is a blockchain, which includes several core nodes on the core chain and several edge nodes on the edge chain.
[0121] Edge nodes on the edge chain are used to acquire rural logistics and transportation information, which includes several data packets. They are also used to split the data packets into sub-data packets of different priorities, and upload the sub-data packets of the edge nodes to the core nodes according to the network conditions of the edge nodes and the priorities of the sub-data packets.
[0122] The core nodes on the core chain are used for secure information sharing of rural logistics and transportation information uploaded to the core nodes.
[0123] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0124] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.
Claims
1. A method for secure information sharing in rural logistics transportation, characterized in that, The method includes: A blockchain platform for secure sharing of rural logistics and transportation information is constructed. The blockchain includes several core nodes on the core chain and several edge nodes on the edge chain. The edge nodes on the edge chain are used to obtain rural logistics and transportation information, which includes several data packets. Split the data packet into sub-data packets of different priorities; Based on the network conditions of the edge nodes and the priority of the sub-data packets, the sub-data packets of the edge nodes are uploaded to the core nodes. Specifically, this includes: encrypting and uploading key sub-data packets based on the real-time network quality of the edge nodes; and dynamically uploading data packets based on real-time network fluctuations. Securely share rural logistics and transportation information uploaded to core nodes; The data packet is split into sub-data packets of different priorities, specifically including: splitting the data packet into critical sub-data packets and non-critical sub-data packets, with the priority of critical sub-data packets being higher than that of non-critical sub-data packets; The data packet contains several data segments. The key index of each data segment is determined based on the information of the data segments. Data segments with a key index greater than a preset threshold are clustered to form key sub-data packets. Other data segments in the data packet constitute non-key sub-data packets. The key index for each data segment is determined based on the information in the data segments. Specifically, this includes: extracting features from user demand and cargo transportation demand in the i-th data packet to obtain demand information; standardizing the demand information based on the information tags in the i-th data packet; matching the standardized demand information with the information tags of the j-th data segment in the i-th data packet to obtain demand data, where the key index of the demand data is 1, i.e., the key index of the j-th data segment is 1; and determining the key index of the j'-th data segment based on the query frequency of the information tags of the j'-th data segment in historical transportation processes. Here, the i-th data packet is any one of several data packets, where i is a positive integer; the j-th data segment is any data segment in the i-th data packet containing demand information, where j is a positive integer; and the j'-th data segment is any data segment in the i-th data packet other than the j-th data segment, where j' is a positive integer. Based on the real-time network quality of the edge node, key sub-data packets are encrypted and uploaded. Specifically, this includes: determining the priority order of all key sub-data packets on the edge node based on the sum of the key indices of all data segments within the key sub-data packets; obtaining the real-time network quality of the current edge node at time t by analyzing the real-time network quality of the current edge node; determining the pre-allocated bandwidth of the i-th key sub-data packet based on the number of key sub-data packets on the current edge node, the bandwidth of the current edge node at time t, and the real-time network quality of the current edge node at time t; and encrypting and uploading all key sub-data packets on the current edge node based on the priority order of all key sub-data packets on the edge node and the pre-allocated bandwidth of the i-th key sub-data packet. Dynamically upload data packets based on real-time network fluctuations, specifically including: determining the necessity of restarting the i-th non-critical sub-data packet based on its storage time and memory usage; inserting the i-th non-critical sub-data packet into the upload sequence of critical sub-data packets based on its restart necessity; and repeatedly traversing all non-critical sub-data packets to achieve the upload of non-critical sub-data packets. Dynamically uploading data packets based on real-time network fluctuations also includes: determining the network change trend at time t based on the real-time network quality of the current edge node at time t and time t-1; determining the relative trend of the current edge node at time t based on the network change trend at time t and the average network change trend over a preset period; marking the data packets being uploaded if the relative trend of the current edge node at time t is within a preset range; determining the marking insertion frequency by combining the relative trend of the current edge node at time t and the upload frequency of the current data packets; inserting markings into the data packets being uploaded according to the marking insertion frequency; and stopping data upload if the relative trend of the current edge node at time t is less than the preset range.
2. The method for secure information sharing in rural logistics transportation according to claim 1, characterized in that, Information security sharing of rural logistics and transportation information uploaded to the core node includes: Obtain the encryption key for the data packets uploaded by each edge node; The encryption key is split into 3 shards and distributed to enterprise nodes on the core chain using a threshold signature algorithm; When any enterprise node needs to access data, it sends a request to other enterprise nodes. Access to logistics and transportation information is allowed when the number of shards is greater than or equal to 2.
3. A rural logistics transportation information security sharing system, characterized in that, Based on the method according to any one of claims 1-2, the system comprises: The rural logistics and transportation information security sharing platform blockchain includes several core nodes located on the core chain and several edge nodes located on the edge chain; The edge nodes on the edge chain are used to acquire the rural logistics transportation information, which includes several data packets; they are also used to split the data packets into sub-data packets of different priorities, and upload the sub-data packets of the edge nodes to the core nodes according to the network status of the edge nodes and the priority of the sub-data packets. The core nodes on the core chain are used to securely share rural logistics and transportation information uploaded to the core nodes.
Citation Information
Patent Citations
A blockchain-based vehicle-road collaborative data security sharing method and system
CN119743243A
Bus network data transmission control method based on priority scheduling
CN120034407A