Data transmission method and system among multiple sorting devices

By building a LAN and virtual space array in the data transmission system between multiple sorting equipment, using single-point verification function and path control function, the abnormal or tampering problems of operation instructions during transmission are solved, and the security of data transmission and normal operation between devices are achieved.

CN120111081AActive Publication Date: 2025-06-06HU NAN XIAN HUI ZHI NENG KE JI YOU XIAN GONG SI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510588022.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-06-06
Estimated Expiration
2045-05-08

AI Technical Summary

Technical Problem

During the data transmission between multiple sorting equipment, abnormal operation instructions or tampered with will cause the equipment to fail to work normally, resulting in economic losses and work stagnation.

Method used

By building a local area network and virtual space array of sorting equipment, randomly transmit test data, single-point verification function and path control function, determine the data transmission path and verify it, ensuring the validity of the data during the transmission process.

Benefits of technology

It effectively prevents abnormal or tampering of operating instructions during transmission, ensures the normal operation between sorting equipment and the security of data transmission, and avoids economic losses and work interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120111081A_ABST
    Figure CN120111081A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of data transmission, and particularly relates to a data transmission method and system among multiple sorting devices, and the method comprises the steps: constructing a sorting device local area network based on each gateway; constructing a virtual space array of the sorting equipment, marking the position of each sorting equipment, carrying out random transmission of test data, and recording the test data; single-point verification functions are constructed, a data processing center randomly obtains multiple groups of test data, a path control function is constructed, and all the single-point verification functions are stored; and determining a transmission path of the to-be-sent data, transmitting the to-be-sent data, and verifying the validity of the data in the process. According to the method, the data needing to be transmitted is spread in the local area network in a mode of constructing the local area network, the flow path of the data is randomly limited, data single-point verification is performed once based on the independent sorting equipment every time the data arrives at one sorting equipment, and whether the data is valid or not is judged according to the verification result, so that the security of the data is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data transmission, and in particular relates to a data transmission method and system between multiple sorting devices. Background Art

[0002] Data transmission between multiple sorting devices refers to the efficient information exchange between different sorting devices in the logistics automation system through various communication technologies (such as wireless communication, industrial Ethernet, 5G, edge computing, and message queue middleware). This transmission method ensures that key data such as status, task instructions, and processing results can be shared in real time between devices, thereby coordinating work, optimizing processes, improving efficiency, and enhancing the overall safety and reliability of the system. Through effective data transmission, the logistics system can better cope with complex and changing working environments and achieve seamless connection from receiving, identification, classification to packaging.

[0003] In the sorting work, the amount of data transmitted for the operating instructions used to control the equipment is not large, but once the operating instructions are abnormal or tampered with, the sorting equipment will not be able to work normally or even interfere with each other, which will cause great economic losses and affect the normal progress of the sorting work. Summary of the invention

[0004] The purpose of the present invention is to provide a data transmission method between multiple sorting devices, aiming to solve the problem that once an operation instruction is abnormal or tampered with, the sorting devices will not be able to work normally or even interfere with each other, which will cause great economic losses and affect the normal progress of the sorting work.

[0005] The present invention is implemented as follows: a data transmission method between multiple sorting devices, the method comprising: A sorting equipment LAN is constructed based on each gateway. The connection relationship between each sorting equipment and the gateway is recorded in the sorting equipment LAN. The sorting equipment LAN includes a data processing center. Construct a virtual space array of sorting equipment, mark the location of each sorting equipment, randomly transmit test data, and record the test data received by each sorting equipment; A single-point verification function is constructed based on the obtained test data. The data processing center randomly obtains multiple groups of test data and constructs a path control function. The data processing center stores all single-point verification functions. The transmission path of the data to be sent is determined according to the path control function, and the data to be sent is transmitted. During this process, temporary verification data sent from the sorting equipment is received to verify the validity of the data.

[0006] Preferably, the steps of constructing a virtual space array of sorting devices, marking the position of each sorting device, randomly transmitting test data, and recording the test data received by each sorting device specifically include: Constructing a virtual space array of sorting devices, determining the serial number of each sorting device, marking it in each virtual space array of sorting devices, and randomly selecting a sorting device as a starting device; Read the real-time value, use the real-time value as a variable, determine the flow target of the test data, and transfer the test data based on the flow target; When the sorting device receives the test data, it processes the test data according to the preset rules and forwards it again until the number of test data received by all sorting devices reaches the preset value.

[0007] Preferably, the steps of constructing a single point verification function according to the obtained test data, the data processing center randomly acquiring multiple groups of test data, constructing a path control function, and the data processing center storing all single point verification functions specifically include: Extract multiple test data received by each sorting device, record the test data number and the corresponding test data content, and generate test data coordinates, where the horizontal coordinate of the test data coordinates is the test data number and the vertical coordinate is the test data content; Import the test data coordinates corresponding to each sorting device into the data fitting tool to generate the corresponding single-point verification function; Multiple groups of test data are randomly acquired through the data processing center, and function fitting is performed through the data fitting tool to obtain the path control function, and the path control function and all single-point verification functions are stored.

[0008] Preferably, the step of determining the transmission path of the data to be sent according to the path control function and transmitting the data to be sent, during which temporary verification data sent from the sorting device is received and the step of verifying the validity of the data specifically includes: Obtain the data to be sent, import one or more random variables into the path control function, and generate a control random code through the path control function; Extract identity characters from the control random code, determine the transmission path of the data to be sent according to the order of appearance of the identity characters, and transmit according to the transmission path. When the data to be sent arrives at a sorting device, a set of verification strings is generated based on the corresponding single-point verification data and transmitted to the data processing center; Receive all verification strings, generate temporary verification data, verify the validity of the temporary verification data, and send execution instructions to the sorting equipment when the verification passes.

[0009] Preferably, when the verification fails, the transmission interval segment where the data is abnormal is determined based on the received temporary verification data, the transmission interval segment is marked, and relevant personnel are notified to handle the abnormality.

[0010] Another object of the present invention is to provide a data transmission system between multiple sorting devices, the system comprising: A local area network construction module is used to construct a sorting equipment local area network based on each gateway. The connection relationship between each sorting equipment and the gateway is recorded in the sorting equipment local area network. The sorting equipment local area network includes a data processing center; The simulation test module is used to construct a virtual space array of sorting equipment, mark the position of each sorting equipment, perform random transmission of test data, and record the test data received by each sorting equipment; The function building module is used to build a single-point verification function based on the obtained test data. The data processing center randomly obtains multiple groups of test data and builds a path control function. The data processing center stores all single-point verification functions. The data verification module is used to determine the transmission path of the data to be sent according to the path control function, and transmit the data to be sent. During this process, it receives temporary verification data sent from the sorting equipment to verify the validity of the data.

[0011] Preferably, the simulation test module includes: The device numbering unit is used to construct a virtual space array of sorting devices, determine the number of each sorting device, mark it in each virtual space array of sorting devices, and randomly select a sorting device as the starting device; A first data transmission unit is used to read the real-time value, use the real-time value as a variable, determine the flow target of the test data, and transmit the test data based on the flow target; The data forwarding unit is used to process the test data according to preset rules when the sorting device receives the test data, and forward the test data again until the amount of test data received by all sorting devices reaches a preset value.

[0012] Preferably, the function building module includes: A data extraction unit is used to extract multiple test data received by each sorting device, record the test data number and the corresponding test data content, and generate test data coordinates, where the horizontal coordinate of the test data coordinate is the test data number and the vertical coordinate is the test data content; A single-point function building unit is used to import the test data coordinates corresponding to each sorting device into the data fitting tool, thereby generating a corresponding single-point verification function; The control function construction unit is used to randomly obtain multiple groups of test data through the data processing center, perform function fitting through the data fitting tool, obtain the path control function, and store the path control function and all single-point verification functions.

[0013] Preferably, the data verification module includes: A code generation unit, used for obtaining data to be sent, importing one or more random variables into a path control function, and generating a control random code through the path control function; The second data transmission unit is used to extract the identity characters from the control random code, determine the transmission path of the data to be sent according to the appearance order of the identity characters, and transmit the data according to the transmission path. When the data to be sent arrives at a sorting device, a set of verification character strings is generated based on the corresponding single-point verification data, and transmitted to the data processing center; The validity verification unit is used to receive all verification character strings, generate temporary verification data, verify the validity of the temporary verification data, and send an execution instruction to the sorting device when the verification passes.

[0014] Preferably, when the verification fails, the transmission interval segment where the data is abnormal is determined based on the received temporary verification data, the transmission interval segment is marked, and relevant personnel are notified to handle the abnormality.

[0015] The present invention provides a data transmission method between multiple sorting devices. By constructing a local area network, the data to be transmitted is propagated within the local area network, and the flow path of the data is randomly limited. Each time the data reaches a sorting device, a single-point data verification is performed based on an independent sorting device. Whether the data is valid is determined based on the verification result, thereby ensuring the security of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flow chart of a data transmission method between multiple sorting devices provided by an embodiment of the present invention; Figure 2 A flowchart of the steps of constructing a virtual space array of sorting devices, marking the position of each sorting device, randomly transmitting test data, and recording the test data received by each sorting device provided by an embodiment of the present invention; Figure 3 A flowchart of the steps of constructing a single-point verification function according to the obtained test data, the data processing center randomly acquiring multiple groups of test data, constructing a path control function, and the data processing center storing all single-point verification functions provided by an embodiment of the present invention; Figure 4A flowchart of the steps of determining a transmission path for data to be sent according to a path control function and transmitting the data to be sent, during which temporary verification data sent from a sorting device is received and the validity of the data is verified, provided in an embodiment of the present invention; Figure 5 An architectural diagram of a data transmission system between multiple sorting devices provided by an embodiment of the present invention; Figure 6 An architecture diagram of a simulation test module provided by an embodiment of the present invention; Figure 7 An architecture diagram of a function building module provided by an embodiment of the present invention; Figure 8 An architectural diagram of a data verification module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0018] like Figure 1 FIG. 1 is a flowchart of a method for data transmission between multiple sorting devices provided by an embodiment of the present invention, the method comprising: S100, constructing a sorting device local area network based on each gateway, recording the connection relationship between each sorting device and the gateway in the sorting device local area network, and including a data processing center in the sorting device local area network.

[0019] In this step, a sorting device LAN is constructed based on each gateway. In the sorting device LAN, one gateway corresponds to multiple sorting devices, and all gateways are connected to the data processing center. When internal data transmission is performed, the data processing center is used to issue data transmission instructions, and the sorting device transmits the data to be sent according to the data transmission instructions. In the sorting device LAN, the gateway to which each sorting device is connected is clearly defined, so each sorting device can transmit data with any sorting device in the sorting device LAN.

[0020] S200, constructing a virtual space array of sorting devices, marking the position of each sorting device, performing random transmission of test data, and recording the test data received by each sorting device.

[0021] In this step, a virtual space array of sorting equipment is constructed. The virtual space array of sorting equipment is constructed in a three-dimensional space and is a spherical structure as a whole. All sorting equipment are marked on the spherical structure. The data transmission relationship between the sorting equipment on the spherical structure will be directly mapped to the sorting equipment local area network. For example, in the virtual space array of sorting equipment, sorting equipment A transmits data to sorting equipment B, then in the actual sorting equipment local area network, the corresponding sorting equipment A transmits the corresponding test data to sorting equipment B. In this process, each sorting equipment records the test data passing through itself. In the process of data transmission, data is randomly transmitted in the virtual space array of sorting equipment, and then the test data is randomly transmitted between sorting equipment to obtain randomly generated test data.

[0022] S300, constructing a single-point verification function according to the obtained test data, the data processing center randomly obtains multiple groups of test data, constructs a path control function, and the data processing center stores all single-point verification functions.

[0023] In this step, a single-point verification function is constructed according to the obtained test data. Since the test data is randomly generated, the single-point verification function generated based on the test data is completely random, and the specific information of the single-point verification function cannot be determined externally through the rules of data transmission. Similarly, the data processing center randomly collects multiple groups of test data from each sorting device, and performs function fitting based on the collected test data to obtain a path control function. The path control function is used to generate a random path in the subsequent data transmission process. The data processing center stores all single-point verification functions for identity authentication.

[0024] S400, determining a transmission path for the data to be sent according to the path control function, and transmitting the data to be sent. During this process, receiving temporary verification data sent from the sorting device to verify the validity of the data.

[0025] In this step, the transmission path of the data to be sent is determined according to the path control function, and one or more random variables are imported into the path control function. The source of the random variables can be the data to be sent. Specifically, a preset number of binary characters are intercepted from the data to be sent, converted into decimal characters, and imported into the path control function as random variables. The transmission path of the current data to be sent is determined according to the calculated value of the path control function, and the data to be sent is transmitted according to the transmission path. When the data to be sent passes through a designated sorting device, a single-point verification is performed through a single-point verification function corresponding to the sorting device, and the verification result is sent to the data processing center. The data processing center analyzes all the verification results to determine the validity of the data. When the data is valid, the corresponding sorting device sends an execution instruction. The execution instruction is a one-way instruction and only supports being sent directly from the data control center to the designated sorting device through a gateway. When the sorting device receives the execution instruction, it executes the currently received data to be sent.

[0026] like Figure 2 As shown, as a preferred embodiment of the present invention, the steps of constructing a virtual space array of sorting devices, marking the position of each sorting device, randomly transmitting test data, and recording the test data received by each sorting device specifically include: S201, constructing a virtual space array of sorting devices, determining the serial numbers of various sorting devices, marking them in the virtual space arrays of various sorting devices, and randomly selecting a sorting device as a starting device.

[0027] In this step, a virtual space array of sorting equipment is constructed. Specifically, a three-dimensional space is constructed, a sphere is generated in the three-dimensional space, the total number of sorting equipment is counted, and a corresponding number of coordinate points are set in the sphere. The coordinate points are evenly distributed at various positions on the sphere. Each coordinate point corresponds to the number of a sorting equipment, so each sorting equipment will correspond to a coordinate, and a sorting equipment is randomly selected from all the above sorting equipment as the starting equipment.

[0028] S202, reading the real-time time value, using the real-time time value as a variable, determining the flow target of the test data, and transferring the test data based on the flow target.

[0029] In this step, the real-time time value is read, and characters of a preset length in the real-time time value are extracted. Specifically, the real-time time value is in seconds, and the precision is 6 decimal places. Then, the value of the six decimal places of the real-time time value is extracted and used as a variable. It is divided into three parts, namely, X-axis characters, Y-axis characters and Z-axis characters. The three groups of characters correspond to the first and second digits, the third and fourth digits, and the fifth and sixth digits after the decimal point, respectively. A simple example is that the six digits after the decimal point of the real-time time value are T1T2T3T4T5T6, then the X-axis characters are T1T2, the Y-axis characters are T3T4, and the Z-axis characters are T5T6. Taking the coordinates of the starting device (represented by the first device) as an example, according to the X-axis characters, Y-axis characters, The character and Z-axis character rotate the coordinate point where the starting device is located. The rotation angle around the X-axis is 360*T1T2 / 100, the rotation angle around the Y-axis is 360*T3T4 / 100, and the rotation angle around the Z-axis is 360*T5T6 / 100. At this time, a new coordinate point is obtained, and the coordinates corresponding to the sorting device (represented by the second device) closest to the new coordinate point are determined, and the sorting device is selected. The above process shows that the test data is sent from the first device to the second device, then based on the corresponding sorting device LAN, the test data is synchronously transmitted, and the time value of the data arriving at the second device is recorded. The time value is subsequently used as the real-time time value for the next round of data transmission. The starting content of the test data is the number of the starting device.

[0030] S203, when the sorting device receives the test data, it processes the test data according to a preset rule and forwards it again until the amount of test data received by all sorting devices reaches a preset value.

[0031] In this step, when the sorting device receives the test data, the test data is processed according to the preset rules. Specifically, each time the test data arrives at a sorting device, the value in the test data is added to the number of the current sorting device to obtain new test data. For example, if the number of the starting device is N1 and the number of the second device is N2, then the content of the test data received by the starting device is N1, and the test data received by the second device is N1+N2. The test data is continuously transmitted according to the above steps until each sorting device records at least a preset number of test data, such as at least 5 groups of test data are recorded, and the values ​​in the test data are B1, B2, B3, B4 and B5 respectively.

[0032] like Figure 3 As shown, as a preferred embodiment of the present invention, the steps of constructing a single point verification function according to the obtained test data, the data processing center randomly obtaining multiple groups of test data, constructing a path control function, and the data processing center storing all single point verification functions specifically include: S301, extract multiple test data received by each sorting device, record the test data number and the corresponding test data content, and generate test data coordinates, where the horizontal coordinate of the test data coordinates is the test data number and the vertical coordinate is the test data content.

[0033] In this step, multiple test data received by each sorting device are extracted to construct test data coordinates. For example, five groups of test data received by a sorting device are B1, B2, B3, B4 and B5, and the order in which the five groups of test data are recorded is B2, B1, B5, B4 and B3. Then, the constructed test data coordinates are (1, B2), (2, B1), (3, B5), (4, B4), (5, B3).

[0034] S302, importing the test data coordinates corresponding to each sorting device into the data fitting tool, thereby generating a corresponding single-point verification function.

[0035] In this step, the test data coordinates corresponding to each sorting device are imported into the data fitting tool. The data fitting tool can be matlab or CurveFitter. Since the values ​​in the test data are increasing, a polynomial function can be used for fitting. Different fitting accuracies can be set to different times for fitting to obtain a single-point verification function, such as .

[0036] S303, randomly acquiring multiple groups of test data through the data processing center, performing function fitting through a data fitting tool to obtain a path control function, and storing the path control function and all single-point verification functions.

[0037] In this step, multiple groups of test data are randomly acquired through the data processing center, one group of test data is acquired each time, such as the test data acquired from 1 to 5 times are C1, C2, C3, C4 and C5 respectively. Similarly, five groups of coordinates are constructed, and the path control function is fitted by the corresponding data fitting tool. All sorting devices send the obtained single-point verification function to the data processing center for storage. In order to ensure data security, the single-point verification function and the path control function are updated regularly.

[0038] like Figure 4 As shown, as a preferred embodiment of the present invention, the transmission path of the data to be sent is determined according to the path control function, and the data to be sent is transmitted. In this process, the temporary verification data sent by the sorting device is received, and the step of verifying the validity of the data specifically includes: S401, obtaining data to be sent, importing one or more random variables into a path control function, and generating a control random code through the path control function.

[0039] In this step, the data to be sent is obtained and processed to obtain random variables. Specifically, one or more binary characters can be intercepted from the data to be sent and converted into decimal characters to obtain random variables, which are substituted into the path control function one by one, and a calculated value is obtained each time, which is used as the control random code.

[0040] S402, extracting identity characters from the control random code, determining the transmission path of the data to be sent according to the order of appearance of the identity characters, and transmitting the data according to the transmission path. When each data to be sent arrives at a sorting device, a set of verification strings is generated based on the corresponding single-point verification data and transmitted to the data processing center.

[0041] In this step, identity characters are extracted from the control random code, and character selection is performed on the calculated value. According to the total number of sorting devices, identity characters of corresponding digits are selected each time. For example, if the total number of sorting devices is 90, a two-digit character is selected from the calculated value each time in order from left to right. If the calculated value is M1M2M3M4M5M6, five groups of characters are obtained after selection, namely M1M2, M2M3, M3M4, M4M5 and M5M6. According to the characters, the corresponding sorting devices are determined as transmission nodes of the transmission path, and the transmission is performed according to the transmission path. When the data to be sent arrives at a sorting device each time, when the sorting device receives the data to be sent, the data to be sent is downsampled according to the preset rules. The downsampling can be performed for multiple rounds until the amount of the data to be sent after downsampling (represented by the downsampled data) is less than the preset value. The downsampled data is converted into decimal characters and imported into the corresponding single-point verification function to obtain a verification string, and the verification string is sent to the data processing center.

[0042] S403, receiving all verification character strings, generating temporary verification data, verifying the validity of the temporary verification data, and sending an execution instruction to the sorting device when the verification passes.

[0043] In this step, all verification character strings are received and spliced ​​in the order of receiving to obtain temporary verification data. Since all single-point verification data are recorded in the data processing center and the data transmission path is determined, the entire transmission process can be simulated in the data processing center. In this process, the single-point verification function is calculated to obtain a simulation character string, and the simulation character string is spliced ​​to obtain the data to be verified. If the data to be verified is the same as the temporary verification data, it means that during the entire data transmission process, the data to be sent has not been tampered with and the propagation path has not changed, and execution is allowed. Through the above process, not only the validity of the data can be guaranteed, but also the abnormal interval segment can be determined when the data transmission is abnormal, so as to facilitate the abnormal location of the entire sorting equipment local area network. When the verification fails, the transmission interval segment where the data is abnormal is determined according to the received temporary verification data, the transmission interval segment is marked, and the relevant personnel are notified to handle the exception, which greatly improves the security of data transmission.

[0044] like Figure 5 As shown, a data transmission system between multiple sorting devices provided by an embodiment of the present invention includes: The local area network construction module 100 is used to construct a sorting device local area network based on each gateway. The connection relationship between each sorting device and the gateway is recorded in the sorting device local area network. The sorting device local area network includes a data processing center.

[0045] In this system, the LAN construction module 100 constructs a sorting device LAN based on each gateway. In the sorting device LAN, one gateway corresponds to multiple sorting devices, and all gateways are connected to the data processing center. When performing internal data transmission, the data processing center is used to issue data transmission instructions, and the sorting device transmits the data to be sent according to the data transmission instructions. In the sorting device LAN, the gateway to which each sorting device is connected is clearly defined, so each sorting device can transmit data with any sorting device in the sorting device LAN.

[0046] The simulation test module 200 is used to construct a virtual space array of sorting devices, mark the position of each sorting device, perform random transmission of test data, and record the test data received by each sorting device.

[0047] In this system, the simulation test module 200 constructs a virtual space array of sorting equipment. The virtual space array of sorting equipment is constructed in a three-dimensional space and is a spherical structure as a whole. All sorting equipment are marked on the spherical structure. The data transmission relationship between the sorting equipment on the spherical structure will be directly mapped to the sorting equipment local area network. For example, in the virtual space array of sorting equipment, sorting equipment A transmits data to sorting equipment B, then in the actual sorting equipment local area network, the corresponding sorting equipment A transmits the corresponding test data to sorting equipment B. In this process, each sorting equipment records the test data passing through itself. In the process of data transmission, data is randomly transmitted in the virtual space array of sorting equipment, and then the test data is randomly transmitted between sorting equipment to obtain randomly generated test data.

[0048] The function construction module 300 is used to construct a single-point verification function according to the obtained test data. The data processing center randomly obtains multiple groups of test data, constructs a path control function, and the data processing center stores all single-point verification functions.

[0049] In this system, the function construction module 300 constructs a single-point verification function based on the obtained test data. Since the test data is randomly generated, the single-point verification function generated based on the test data is completely random, and the outside cannot determine the specific information of the single-point verification function through the rules of data transmission. Similarly, the data processing center randomly collects multiple groups of test data from each sorting device, and performs function fitting based on the collected test data to obtain a path control function. The path control function is used to generate a random path in the subsequent data transmission process. The data processing center stores all single-point verification functions for identity authentication.

[0050] The data verification module 400 is used to determine the transmission path of the data to be sent according to the path control function, and transmit the data to be sent. During this process, it receives temporary verification data sent from the sorting device to verify the validity of the data.

[0051] In the present system, the data verification module 400 determines the transmission path of the data to be sent according to the path control function, and imports one or more random variables into the path control function. The source of the random variable can be the data to be sent. Specifically, a preset number of binary characters are intercepted from the data to be sent, converted into decimal characters, and imported into the path control function as random variables. The transmission path of the current data to be sent is determined according to the calculated value of the path control function, and the data to be sent is transmitted according to the transmission path. When the data to be sent passes through a designated sorting device, a single-point verification is performed through a single-point verification function corresponding to the sorting device, and the verification result is sent to the data processing center. The data processing center analyzes all the verification results to determine the validity of the data. When the data is valid, the corresponding sorting device sends an execution instruction. The execution instruction is a one-way instruction and only supports being sent directly from the data control center to the designated sorting device through a gateway. When the sorting device receives the execution instruction, it executes the currently received data to be sent.

[0052] like Figure 6 As shown, as a preferred embodiment of the present invention, the simulation test module 200 includes: The device numbering unit 201 is used to construct a virtual space array of sorting devices, determine the number of each sorting device, mark it in each virtual space array of sorting devices, and randomly select a sorting device as a starting device.

[0053] In this module, the device numbering unit 201 constructs a virtual space array of sorting devices. Specifically, a three-dimensional space is constructed, a sphere is generated in the three-dimensional space, the total number of sorting devices is counted, and a corresponding number of coordinate points are set in the sphere. The coordinate points are evenly distributed at various positions on the sphere. Each coordinate point corresponds to the number of a sorting device, so each sorting device will correspond to a coordinate, and a sorting device is randomly selected from all the above sorting devices as the starting device.

[0054] The first data transmission unit 202 is used to read the real-time value, use the real-time value as a variable, determine the flow target of the test data, and transmit the test data based on the flow target.

[0055] In this module, the first data transmission unit 202 reads the real-time time value and extracts characters of a preset length from the real-time time value. Specifically, the real-time time value is in seconds and has an accuracy of 6 decimal places. Then, the value of the six decimal places of the real-time time value is extracted and used as a variable. The value is divided into three parts, namely, X-axis characters, Y-axis characters, and Z-axis characters. The three groups of characters correspond to the first and second digits, the third and fourth digits, and the fifth and sixth digits after the decimal point, respectively. A simple example is that the six digits after the decimal point of the real-time time value are T1T2T3T4T5T6, then the X-axis characters are T1T2, the Y-axis characters are T3T4, and the Z-axis characters are T5T6. Taking the coordinates of the starting device (represented by the first device) as an example, according to the X The axis character, Y-axis character and Z-axis character rotate the coordinate point where the starting device is located. The rotation angle around the X-axis is 360*T1T2 / 100, the rotation angle around the Y-axis is 360*T3T4 / 100, and the rotation angle around the Z-axis is 360*T5T6 / 100. At this time, a new coordinate point is obtained, and the coordinates corresponding to the sorting device (represented by the second device) closest to the new coordinate point are determined, and the sorting device is selected. The above process shows that the test data is sent from the first device to the second device, then based on the corresponding sorting device LAN, the test data is synchronously transmitted, and the time value of the data arriving at the second device is recorded. The time value is subsequently used as the real-time time value for the next round of data transmission. The starting content of the test data is the number of the starting device.

[0056] The data forwarding unit 203 is used to process the test data according to a preset rule when the sorting device receives the test data, and forward the test data again until the amount of test data received by all the sorting devices reaches a preset value.

[0057] In this module, when the sorting device receives the test data, the data forwarding unit 203 processes the test data according to the preset rules. Specifically, each time the test data arrives at a sorting device, the value in the test data is added to the number of the current sorting device to obtain new test data. For example, if the number of the starting device is N1 and the number of the second device is N2, then the content of the test data received by the starting device is N1, and the test data received by the second device is N1+N2. The test data is continuously transmitted according to the above steps until each sorting device records at least a preset number of test data, such as at least 5 groups of test data are recorded, and the values ​​in the test data are B1, B2, B3, B4 and B5 respectively.

[0058] like Figure 7 As shown, as a preferred embodiment of the present invention, the function construction module 300 includes: The data extraction unit 301 is used to extract multiple test data received by each sorting device, record the test data number and the corresponding test data content, and generate test data coordinates, where the horizontal coordinate of the test data coordinate is the test data number and the vertical coordinate is the test data content.

[0059] In this module, the data extraction unit 301 extracts multiple test data received by each sorting device to construct test data coordinates. For example, five groups of test data received by a sorting device are B1, B2, B3, B4 and B5, and the order in which the five groups of test data are recorded is B2, B1, B5, B4 and B3. Then, the constructed test data coordinates are (1, B2), (2, B1), (3, B5), (4, B4), (5, B3).

[0060] The single-point function construction unit 302 is used to import the test data coordinates corresponding to each sorting device into the data fitting tool, so as to generate the corresponding single-point verification function.

[0061] In this module, the single-point function construction unit 302 imports the test data coordinates corresponding to each sorting device into the data fitting tool. The data fitting tool can use matlab or CurveFitter. Since the values ​​in the test data are increasing, a polynomial function can be used for fitting. Different fitting accuracies can be set to different times for fitting to obtain a single-point verification function, such as .

[0062] The control function construction unit 303 is used to randomly obtain multiple groups of test data through the data processing center, perform function fitting through a data fitting tool, obtain a path control function, and store the path control function and all single-point verification functions.

[0063] In this module, the control function construction unit 303 randomly obtains multiple groups of test data through the data processing center, and obtains one group of test data each time. For example, the test data obtained from 1 to 5 times are C1, C2, C3, C4 and C5 respectively. Similarly, five groups of coordinates are constructed, and the path control function is fitted by the corresponding data fitting tool. All sorting devices send the obtained single-point verification function to the data processing center for storage. In order to ensure data security, the single-point verification function and the path control function are updated regularly.

[0064] like Figure 8 As shown, as a preferred embodiment of the present invention, the data verification module 400 includes: The code generation unit 401 is used to obtain data to be sent, import one or more random variables into the path control function, and generate a control random code through the path control function.

[0065] In this module, the code generation unit 401 obtains the data to be sent, and processes the data to be sent to obtain a random variable. Specifically, one or more binary characters can be intercepted from the data to be sent, and converted into decimal characters to obtain a random variable, which is substituted into the path control function one by one, and a calculated value is obtained each time, which is used as the control random code.

[0066] The second data transmission unit 402 is used to extract identity characters from the control random code, determine the transmission path of the data to be sent according to the appearance order of the identity characters, and transmit the data according to the transmission path. Every time the data to be sent arrives at a sorting device, a group of verification strings is generated based on the corresponding single-point verification data and transmitted to the data processing center.

[0067] In this module, the second data transmission unit 402 extracts the identity character from the control random code, performs character selection on the calculated value, and selects the identity character of the corresponding digit each time according to the total number of sorting devices. For example, if the total number of sorting devices is 90, a two-digit character is selected from the calculated value each time in order from left to right. If the calculated value is M1M2M3M4M5M6, then after selection, 5 groups of characters are obtained, namely M1M2, M2M3, M3M4, M4M5 and M5M6. The corresponding sorting device is determined as the transmission node of the transmission path according to the character, and the transmission is performed according to the transmission path. When the data to be sent arrives at a sorting device each time, when the sorting device receives the data to be sent, the data to be sent is downsampled according to the preset rules. The downsampling can be performed for multiple rounds until the amount of the data to be sent (represented by the downsampled data) after downsampling is less than the preset value, the downsampled data is converted into decimal characters, and imported into the corresponding single-point verification function to obtain a verification string, and the verification string is sent to the data processing center.

[0068] The validity verification unit 403 is used to receive all verification character strings, generate temporary verification data, verify the validity of the temporary verification data, and send an execution instruction to the sorting device when the verification is passed.

[0069] In this module, the validity check unit 403 receives all verification character strings, splices them in the order of receiving, and obtains temporary verification data. Since all single-point verification data are recorded in the data processing center and the data transmission path is determined, the entire transmission process can be simulated in the data processing center. In this process, the single-point verification function is calculated to obtain a simulation character string, and the simulation character string is spliced ​​to obtain the data to be verified. If the data to be verified is the same as the temporary verification data, it indicates that during the entire data transmission process, the data to be sent has not been tampered with and the propagation path has not changed, and execution is allowed. Through the above process, not only the validity of the data can be guaranteed, but also the abnormal interval segment can be determined when the data transmission is abnormal, so as to facilitate the abnormal location of the entire sorting equipment local area network. When the verification fails, the transmission interval segment where the data is abnormal is determined according to the received temporary verification data, the transmission interval segment is marked, and the relevant personnel are notified to handle the exception, which greatly improves the security of data transmission.

[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data transmission method between multiple sorting devices, characterized in that: The method comprises: A sorting equipment LAN is constructed based on each gateway. The connection relationship between each sorting equipment and the gateway is recorded in the sorting equipment LAN. The sorting equipment LAN includes a data processing center. Construct a virtual space array of sorting equipment, mark the location of each sorting equipment, randomly transmit test data, and record the test data received by each sorting equipment; A single-point verification function is constructed based on the obtained test data. The data processing center randomly obtains multiple groups of test data and constructs a path control function. The data processing center stores all single-point verification functions. The transmission path of the data to be sent is determined according to the path control function, and the data to be sent is transmitted. During this process, temporary verification data sent from the sorting equipment is received to verify the validity of the data.

2. The data transmission method between multiple sorting devices according to claim 1, characterized in that: The steps of constructing a virtual space array of sorting devices, marking the position of each sorting device, randomly transmitting test data, and recording the test data received by each sorting device specifically include: Constructing a virtual space array of sorting devices, determining the serial number of each sorting device, marking it in each virtual space array of sorting devices, and randomly selecting a sorting device as a starting device; Read the real-time value, use the real-time value as a variable, determine the flow target of the test data, and transfer the test data based on the flow target; When the sorting device receives the test data, it processes the test data according to the preset rules and forwards it again until the number of test data received by all sorting devices reaches the preset value.

3. The data transmission method between multiple sorting devices according to claim 1, characterized in that: The steps of constructing a single point verification function according to the obtained test data, the data processing center randomly acquiring multiple groups of test data, constructing a path control function, and the data processing center storing all single point verification functions specifically include: Extract multiple test data received by each sorting device, record the test data number and the corresponding test data content, and generate test data coordinates, where the horizontal coordinate of the test data coordinates is the test data number and the vertical coordinate is the test data content; Import the test data coordinates corresponding to each sorting device into the data fitting tool to generate the corresponding single-point verification function; Multiple groups of test data are randomly acquired through the data processing center, and function fitting is performed through the data fitting tool to obtain the path control function, and the path control function and all single-point verification functions are stored.

4. The data transmission method between multiple sorting devices according to claim 1, characterized in that: The step of determining the transmission path of the data to be sent according to the path control function and transmitting the data to be sent, during which temporary verification data sent from the sorting device is received and the validity of the data is verified, specifically includes: Obtain the data to be sent, import one or more random variables into the path control function, and generate a control random code through the path control function; Extract identity characters from the control random code, determine the transmission path of the data to be sent according to the order of appearance of the identity characters, and transmit according to the transmission path. When the data to be sent arrives at a sorting device, a set of verification strings is generated based on the corresponding single-point verification data and transmitted to the data processing center; Receive all verification strings, generate temporary verification data, verify the validity of the temporary verification data, and send execution instructions to the sorting equipment when the verification passes.

5. The data transmission method between multiple sorting devices according to claim 4, characterized in that: When the verification fails, the transmission interval segment where the data is abnormal is determined based on the received temporary verification data, the transmission interval segment is marked, and relevant personnel are notified to handle the abnormality.

6. A data transmission system between multiple sorting devices, characterized in that: The system comprises: A local area network construction module is used to construct a sorting equipment local area network based on each gateway. The connection relationship between each sorting equipment and the gateway is recorded in the sorting equipment local area network. The sorting equipment local area network includes a data processing center; The simulation test module is used to construct a virtual space array of sorting equipment, mark the position of each sorting equipment, perform random transmission of test data, and record the test data received by each sorting equipment; The function building module is used to build a single-point verification function based on the obtained test data. The data processing center randomly obtains multiple groups of test data and builds a path control function. The data processing center stores all single-point verification functions. The data verification module is used to determine the transmission path of the data to be sent according to the path control function, and transmit the data to be sent. During this process, it receives temporary verification data sent from the sorting equipment to verify the validity of the data.

7. The data transmission system between multiple sorting devices according to claim 6, characterized in that: The simulation test module includes: The device numbering unit is used to construct a virtual space array of sorting devices, determine the number of each sorting device, mark it in each virtual space array of sorting devices, and randomly select a sorting device as the starting device; A first data transmission unit is used to read the real-time value, use the real-time value as a variable, determine the flow target of the test data, and transmit the test data based on the flow target; The data forwarding unit is used to process the test data according to preset rules when the sorting device receives the test data, and forward the test data again until the amount of test data received by all sorting devices reaches a preset value.

8. The data transmission system between multiple sorting devices according to claim 6, characterized in that: The function building block includes: A data extraction unit is used to extract multiple test data received by each sorting device, record the test data number and the corresponding test data content, and generate test data coordinates, where the horizontal coordinate of the test data coordinate is the test data number and the vertical coordinate is the test data content; A single-point function building unit is used to import the test data coordinates corresponding to each sorting device into the data fitting tool, thereby generating a corresponding single-point verification function; The control function construction unit is used to randomly obtain multiple groups of test data through the data processing center, perform function fitting through the data fitting tool, obtain the path control function, and store the path control function and all single-point verification functions.

9. The data transmission system between multiple sorting devices according to claim 6, characterized in that: The data verification module comprises: A code generation unit, used for obtaining data to be sent, importing one or more random variables into a path control function, and generating a control random code through the path control function; The second data transmission unit is used to extract the identity characters from the control random code, determine the transmission path of the data to be sent according to the appearance order of the identity characters, and transmit the data according to the transmission path. When the data to be sent arrives at a sorting device, a set of verification character strings is generated based on the corresponding single-point verification data, and transmitted to the data processing center; The validity verification unit is used to receive all verification character strings, generate temporary verification data, verify the validity of the temporary verification data, and send an execution instruction to the sorting device when the verification passes.

10. The data transmission system between multiple sorting devices according to claim 9, characterized in that: When the verification fails, the transmission interval segment where the data is abnormal is determined based on the received temporary verification data, the transmission interval segment is marked, and relevant personnel are notified to handle the abnormality.

Citation Information

Patent Citations

  • Equipment security identity authentication method and system based on Internet of Things

    CN116886438A

  • Networking equipment monitoring method and monitoring terminal for network security

    CN118827136A

  • Power transmission pipe gallery distributed state monitoring system and method based on passive Internet of Things

    CN118920704A

  • Data transmission method of routing node and related equipment

    CN119030753A

  • Distributed task processing method and device based on spatio-temporal data complexity and storage medium

    CN119938343A