A data transmission method and system for multi-wireless link aggregation
Through multi-wireless link aggregation technology, the wireless communication link is selected and sorted by WRR weighted values, and data packets are divided and transmitted, solving the problem of insufficient bandwidth of 5G wireless packet links, realizing high-speed transmission and encryption of data packets, and meeting the high bandwidth needs of industries such as virtual power plants.
Patent Information
- Application Number
- CN202510274473.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2045-03-10
AI Technical Summary
The current bandwidth of 5G wireless message links is difficult to meet the high-speed data transmission needs of some industries such as virtual power plants, especially in terms of electricity price transactions and data updates.
The data transmission method of multi-wireless link aggregation is adopted, and the wireless communication link is calculated and sorted through WRR weighting values, several wireless communication links with the highest transmission rate are selected, and the data packets are divided into the corresponding message queue, and data is transmitted simultaneously through multiple wireless message links, and finally aggregation is performed on the receiving end.
It realizes high-speed transmission and encryption of data packets, meets the needs of high bandwidth and high speed in industries such as virtual power plants, and improves data transmission efficiency.
Smart Images

Figure CN119789176B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission, and specifically to a data transmission method and system for multi-wireless link aggregation. Background Art
[0002] With the increase in the volume of data packets transmitted in different fields, currently, according to the conventional configuration, the uplink bandwidth of 1 5G wireless packet link allocated by Chinese operators to private network users is approximately between 100M and 500MBps. For some industries with high bandwidth requirements, this data transmission rate is difficult to meet the industry's needs. For example, in the virtual power plant industry, the virtual power plant needs to obtain official grid data such as that of the Southern Power Grid and the State Grid, as well as transaction data within the virtual power plant, and process and update the grid data and transaction data, etc. The data update rate within the virtual power plant is in seconds or even milliseconds. Therefore, the current uplink rate of the width is difficult to meet the requirements of electricity price transactions and high-speed data transmission in the virtual power plant, and it is difficult to adapt to the needs of industry development. Summary of the Invention
[0003] Aiming at the deficiencies of the prior art, the present invention provides a data transmission method and system for multi-wireless link aggregation, which solves the problem that the bandwidth of the current 5G wireless packet link is difficult to meet the requirements of high-speed data transmission in some industries.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] A data transmission method for multi-wireless link aggregation, the data transmission method specifically includes the following steps:
[0006] S1. Obtain the data packet to be transmitted;
[0007] S2. Obtain several wireless communication links for data transmission and assign different WRR weighting values to them respectively, and select several wireless communication links based on the WRR weighting values as wireless packet links;
[0008] S3. The sending end sorts the wireless packet links based on the WRR weighting value, and sequentially splits the packet data in the data packet into each wireless packet link for data transmission;
[0009] S4. The receiving end polls and extracts the packet data in each wireless packet link based on the WRR weighting value until the packet data in each wireless packet link is 0, and aggregates them into an aggregated packet according to the extraction order.
[0010] Preferably, in step S2, it specifically includes the following steps:
[0011] S21. Obtain several wireless communication links for data transmission;
[0012] S22. Calculate the WRR weighted values of several wireless communication links based on the WRR algorithm;
[0013] S23. Set a WRR threshold, and select several wireless communication links with the largest WRR weighted values greater than the WRR threshold as wireless message links.
[0014] Preferably, in step S23, the number of the wireless message links is adapted to the computing power of the processor to sequentially split the message data in the data message into each wireless message link for data transmission.
[0015] Preferably, in step S3, it specifically includes the following steps:
[0016] S31. Store the data message to be transmitted in the memory stack;
[0017] S32. Perform priority sorting on the wireless message links based on the WRR weighted values;
[0018] S33. Set several message queues equal to the number of wireless message links, and correspond and sort the message queues with the sorted wireless message links one by one;
[0019] S34. Set a scheduling rule, and split the data message into each message queue based on the WRR weighted values;
[0020] S35. The sending end sends the message data in each message queue through the corresponding wireless message link, and adds the WRR weighted value of the corresponding wireless message link.
[0021] Preferably, in step S34, it specifically includes the following steps:
[0022] S341. Define the data in the data message as several types, and split the data message into several single messages;
[0023] S342. Set several message queues corresponding to each single message respectively according to the total number of message queues;
[0024] S343. Set several first schedulers at the sending end, and set the first message reading pointers of the first schedulers at the first message data of each single message respectively;
[0025] S344. The first message reading pointer sequentially reads each message data of the single message, and circularly stores the read several message data into the sorted each message queue according to the WRR weighted values;
[0026] S345. Judge whether the first message reading pointer has read all the message data in the message data;
[0027] If so, go to step S35;
[0028] If not, return to step S344.
[0029] Preferably, in step S4, it specifically includes the following steps:
[0030] S41. The receiving end obtains the message queues transmitted in each wireless message link;
[0031] S42. Sort the message queues according to the numerical values of the WRR weight values in the message queues;
[0032] S43. Set a second scheduler at the receiving end, and set the second message reading pointer of the second scheduler on the first message data of the first message queue;
[0033] S44. The second message reading pointer sequentially reads the first several message data of each message queue according to the sorting order of the message queues and the WRR weight values;
[0034] S45. Aggregate the read message data according to the extraction sequence until the message data in each message queue has been read to obtain an aggregated message.
[0035] This technical solution also provides a system for implementing the data transmission method. The system includes: a processor and a memory. The memory is used to store a computer program. When the computer program is executed by the processor, the multi-wireless link aggregation data transmission method is implemented.
[0036] Compared with the prior art, the present invention provides a multi-wireless link aggregation data transmission method and system, which have the following beneficial effects:
[0037] 1. Based on the WRR algorithm, the present invention calculates the WRR weight values of each wireless communication link, selects several wireless communication links with the highest transmission rates as wireless message links, and then divides the data messages to be transmitted into several message queues based on the WRR weight values, realizing the segmentation and encryption of the data messages, and transmitting the message data in the message queues through the corresponding wireless message links, so as to transmit the data messages simultaneously through multiple wireless message links. When the message data is received by the receiving end, the message data in the message queues can be extracted and aggregated based on the WRR value to obtain an aggregated message, thus realizing the high-speed transmission and encryption of the data messages.
[0038] 2. The present invention sets a number of wireless message links and message queues based on the WRR weight value, splits the data message, and distributes it to different message queues respectively. Subsequently, the message data in the message queue is transmitted through the corresponding wireless message link, so as to achieve the purpose of multiple wireless message links transmitting the same data message simultaneously, greatly improving the transmission rate of the data message and realizing the encryption of the data message at the same time.
[0039] 3. The present invention obtains the type of data in the data message, splits the data message into several single messages, corresponds the single messages to the message queues, and then divides the single messages into the corresponding message queues respectively through the WRR weight value, so as to make full use of the bandwidth of the set wireless message link and improve the transmission rate of the data message. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation of the present application. In the drawings:
[0041] Figure 1 is a flowchart of the data transmission method for multi-wireless link aggregation of the present invention;
[0042] Figure 2 is a schematic diagram of splitting the data message to be sent by the WRR algorithm of the present invention;
[0043] Figure 3 is a schematic diagram of aggregating the received message data by the WRR algorithm of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the drawings and specific embodiments. Thereby, the implementation process of how the present application uses technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
[0045] Those of ordinary skill in the art can understand that all or part of the steps in the following embodiments can be completed by instructing relevant hardware through a program. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0046] To solve the problem that the bandwidth of the current 5G wireless message link is difficult to meet the high-speed data transmission requirements of some industries, the present invention provides a data transmission method for multi-wireless link aggregation. Based on wireless network technology, through the method of wireless link aggregation, the data packets to be transmitted are segmented at the sending end to be transmitted through several wireless links, and aggregated at the receiving end to obtain complete data packets, so as to jointly realize the transmission of the same data packet by setting several wireless links, so as to improve the data transmission rate. On the one hand, it realizes the high-speed transmission of data, and on the other hand, it also provides a certain encryption function to meet the encryption requirements of some industry data, such as Figure 1 As shown, the transmission method specifically includes the following steps:
[0047] S1. Obtain the data packet to be transmitted; the data packet is located in the data transmission queue;
[0048] S2. Obtain several wireless communication links for data transmission and assign different WRR weight values to them respectively. Based on the WRR weight values, select several wireless communication links as wireless message links. After setting several prepared wireless communication links, since the data transmission rate of the wireless communication links is affected by various factors, in order to further determine the data transmission rate of each wireless communication link in real time, so as to select several wireless communication links with higher data transmission rates as the wireless message links for the current data packet to be transmitted, so as to realize the efficient transmission of the data packet. The specific steps of selecting several wireless communication links with higher data transmission rates are as follows:
[0049] S21. Obtain several wireless communication links for data transmission;
[0050] S22. Calculate the WRR weight values of several wireless communication links based on the WRR algorithm;
[0051] S23. Set the WRR threshold, and select several wireless communication links with the largest WRR weight values greater than the WRR threshold as wireless message links. Generally, the WRR threshold is set to 0, or according to the actual data transmission situation of the wireless communication links and the corresponding WRR weight values, the smallest WRR weight value that can meet the data transmission requirements can be used as the WRR threshold,
[0052] S3. The sender sorts the wireless message links based on the WRR weight value, and sequentially splits the message data in the data message into each wireless message link for data transmission. Theoretically, the more the number of wireless message links, the higher the data transmission rate. However, the process of sequentially splitting the message data in the data message into each wireless message link for data transmission is based on the computing power of the CPU. When the computing power required by the number of wireless message links is higher than the computing power of the CPU, it may cause a longer time required for the process of sequentially splitting the message data in the data message into each wireless message link for data transmission. At this time, the overall data transmission rate will be reduced instead. Therefore, in order to maximize the transmission rate of the data message, the number of the wireless message links should be adapted to the computing power of the processor for sequentially splitting the message data in the data message into each wireless message link for data transmission. For example, the current Rockchip RK3588 chip has 4 ARM Coretex-A76 and 4 ARM Coretex-A55 CPU cores dynamically configured, 1 Mali-G610 GPU, and 1 NPU with 6TOPs AI computing power, supporting INT4 / INT8 / INT16 / FP16. With the support of this hardware, the optimal number of wireless message links that can be set is 5.
[0053] In addition, the traditional WRR algorithm disperses several data messages to be transmitted into different message queues, while the present invention needs to split a single data message into several message queues to implement encryption and segmentation of each data message, and simultaneously transmit the segmented single data message through multiple wireless message links to improve the transmission rate of a single data message. As Figure 2 shown, the specific steps of splitting a single data message into several message queues and transmitting are as follows:
[0054] S31. Store the data message to be transmitted in the memory stack;
[0055] S32. Sort the wireless message links based on the WRR weight value for priority;
[0056] S33. Set several message queues equal to the number of wireless message links, and correspond and sort the message queues with the sorted wireless message links one by one;
[0057] S34. Set the scheduling rules and split the data packets into each packet queue based on the WRR weight value; for different data, the scheduling rules are different. For example, for image data, it may include several types of data such as video, audio, and text data. At this time, the image data can be respectively corresponding to different packet queues according to several types of data such as video, audio, and text data. However, if the number of wireless packet links is 5 and the image data contains 3 types of data: video, audio, and text, if they are respectively corresponding to 3 wireless packet links, then there are still 2 wireless packet links unused, resulting in bandwidth waste. If there are 6 types of data, then one type of data and at least one other type of data need to be transmitted using the same wireless packet link. Another example is for pure text data. If the pure text data allows splitting and is transmitted through only one wireless packet link, then it cannot be transmitted through multiple wireless packet links. Therefore, a specific method for fully utilizing the bandwidth of multiple wireless packet links to transmit data packets is provided. The method specifically includes the following steps:
[0058] S341. Define the data in the data packet as several types and split the data packet into several single-packet messages, with each single-packet message corresponding to one type of data in the data packet;
[0059] S342. Set several packet queues corresponding to each single-packet message respectively according to the total number of packet queues. The single-packet message and the packet queue can be in one-to-one correspondence, one single-packet message can correspond to multiple packet queues, or multiple single-packet messages can correspond to the same packet queue, which is specifically set according to the data packet to be transmitted. For example, when the data packet is image data and pure text data, the corresponding method between the single-packet message and the packet queue may be different;
[0060] S343. Set several first schedulers at the sending end and set the first packet reading pointers of the first schedulers at the first packet data of each single-packet message respectively;
[0061] S344. The first packet reading pointer sequentially reads each packet data of the single-packet message and cyclically stores the several packet data read according to the WRR weight value into each sorted packet queue in turn;
[0062] S345. Determine whether the first packet reading pointer has read all the packet data in the packet data;
[0063] If so, go to step S35;
[0064] If not, return to step S344.
[0065] S35. The sending end sends the message data in each message queue through the corresponding wireless message link and adds the WRR weighted value of the corresponding wireless message link.
[0066] S4. The receiving end polls and extracts the message data in each wireless message link based on the WRR weighted value until the message data in each wireless message link is 0, and aggregates them into an aggregated message according to the extraction order. When the data message is transmitted to the receiving end through several wireless message links, it is necessary to aggregate the message data in the wireless message links to obtain a complete data message, that is, an aggregated message. As Figure 3 shown, the acquisition of the aggregated message specifically includes the following steps:
[0067] S41. The receiving end obtains the message queues transmitted in each wireless message link;
[0068] S42. Sort the message queues according to the numerical values of the WRR weighted values in the message queues;
[0069] S43. Set a second scheduler at the receiving end and set the second message reading pointer of the second scheduler on the first message data of the first message queue;
[0070] S44. The second message reading pointer sequentially reads the first several message data of each message queue according to the sorting order of the message queues and the WRR weighted value;
[0071] S45. Aggregate the read message data according to the extraction order until the message data in each message queue has been read to obtain an aggregated message.
[0072] The present invention calculates the WRR weighted values of each wireless communication link based on the WRR algorithm, selects several wireless communication links with the highest transmission rates as wireless message links, then divides the data message to be transmitted into several message queues based on the WRR weighted values, realizes the segmentation and encryption of the data message, and transmits the message data in the message queues through the corresponding wireless message links, so as to transmit the data message through multiple wireless message links simultaneously. When the message data is received by the receiving end, the aggregated message can be obtained by extracting the message data in the message queue based on the WRR value and aggregating them, thus realizing the high-speed transmission and encryption of the data message.
[0073] The above embodiments have introduced the present invention in detail. Specific examples are used in this article to elaborate on the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A data transmission method for multi-wireless link aggregation, characterized in that: The data transmission method specifically comprises the following steps: S1, obtain the data message to be transmitted; S2, obtaining several wireless communication links for data transmission and assigning different WRR weighted values to them respectively, and selecting several wireless communication links as wireless message links based on the WRR weighted values; S3, the sending end sorts the wireless message links based on the WRR weighted value, and splits the message data in the data message into each wireless message link in turn for data transmission; In step S3, the following steps are specifically included: S31, storing the data message to be transmitted in the memory stack; S32, prioritizing the wireless message links based on the WRR weighted values; S33, setting a number of message queues equal to the number of wireless message links, and matching the message queues with the sorted wireless message links one by one and sorting them; S34, setting a scheduling rule, and splitting the data packets into various packet queues based on the WRR weighted values; S35, the sending end sends the message data in each message queue through the corresponding wireless message link, and adds the WRR weighted value of the corresponding wireless message link; S4. The receiving end polls and extracts the message data in each wireless message link based on the WRR weight value until the message data in each wireless message link is 0, and aggregates the message data into an aggregate message in the extraction order.
2. The data transmission method according to claim 1, characterized in that: In step S2, the following steps are specifically included: S21, obtaining a plurality of wireless communication links for data transmission; S22, calculating WRR weighted values of a plurality of wireless communication links based on the WRR algorithm; S23: Set a WRR threshold, and select several wireless communication links with the largest WRR weighted values greater than the WRR threshold as wireless message links.
3. The data transmission method according to claim 2, characterized in that: In step S23, the number of the wireless message links is adapted to the computing power of the processor for sequentially splitting the message data in the data message into each wireless message link for data transmission.
4. The data transmission method according to claim 1, characterized in that: In step S34, the following steps are specifically included: S341, defining the data in the data message into several types, and splitting the data message into several single messages; S342, respectively setting a number of message queues corresponding to each single message according to the total number of message queues; S343, setting a plurality of first schedulers at the transmitting end, and setting the first message reading pointers of the first schedulers at the first message data of each monomer message respectively; S344, the first message reading pointer reads each message data of the single message in sequence, and stores the read message data in a circular manner into each sorted message queue in sequence according to the WRR weight value; S345, determining whether the first message reading pointer has read all message data in the message data; If yes, proceed to step S35; If not, return to step S344.
5. The data transmission method according to claim 1, characterized in that: In step S4, the following steps are specifically included: S41, the receiving end obtains the message queue transmitted in each wireless message link; S42, sorting the message queues according to the numerical values of the WRR weighted values in the message queues; S43, setting a second scheduler at the receiving end, and setting a second message reading pointer of the second scheduler to the first message data of the first message queue; S44, the second message reading pointer reads the first several message data of each message queue in sequence according to the sorting order of the message queue and the WRR weight value; S45 , aggregating the read message data according to the extraction sequence until all the message data in each message queue has been read, so as to obtain an aggregated message.
6. A system for implementing the data transmission method according to any one of claims 1 to 5, characterized in that: It comprises a processor and a memory, the memory is used to store a computer program, and when the computer program is executed by the processor, the data transmission method for multi-radio link aggregation as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Link aggregation routing method and device
CN102098740A