A data transmission method and system for multi-wireless link aggregation
Through multi-wireless link aggregation technology, the WRR algorithm is used to select high-bandwidth wireless links and divide data packets, which solves the problem of insufficient bandwidth of 5G wireless message links and realizes high-speed data transmission and encryption.
Patent Information
- Application Number
- CN202510274473.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-08
- 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.
The data transmission method of multi-wireless link aggregation is adopted, and the weighted values of each wireless communication link are calculated through the WRR algorithm, the link with the highest transmission rate is selected as the wireless message link, and the data packets are divided into multiple message queues, and the transmission is simultaneously transmitted through multiple wireless links and aggregated at the receiving end.
It realizes high-speed transmission and encryption of data packets, meets the demand for high bandwidth in some industries, and improves the data transmission rate.
Smart Images

Figure CN119789176A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission, and in particular to a data transmission method and system for multi-wireless link aggregation. Background Art
[0002] With the increase in the amount of data message transmission in different fields, if currently configured according to conventional methods, the uplink bandwidth of a 5G wireless message 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 industry needs. For example, for the virtual power plant industry, virtual power plants need to obtain official power grid data from the State Grid Corporation of China and other official sources, as well as transaction data within the virtual power plant, and process and update the power grid data and transaction data. The data update rate within the virtual power plant is measured in seconds or even milliseconds. Therefore, the current wide uplink rate is difficult to meet the needs of virtual power plants for electricity price transactions and high-speed data transmission, and it is difficult to adapt to the needs of industry development. Summary of the invention
[0003] In view of the shortcomings 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 message link is difficult to meet the needs of high-speed data transmission in some industries.
[0004] To achieve the above object, the present invention provides the following technical solutions: A data transmission method for multi-wireless link aggregation, the data transmission method specifically comprising 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; 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.
[0005] Preferably, 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.
[0006] Preferably, 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.
[0007] Preferably, 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.
[0008] Preferably, 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.
[0009] Preferably, 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.
[0010] The technical solution also provides a system for implementing the data transmission method, the system comprising: a processor and a memory, the memory being used to store a computer program, and the computer program implementing the data transmission method of multi-radio link aggregation when executed by the processor.
[0011] Compared with the prior art, the present invention provides a data transmission method and system for multi-wireless link aggregation, which has the following beneficial effects: 1. The present invention calculates the WRR weighted value of each wireless communication link based on the WRR algorithm, and selects several wireless communication links with the highest transmission rate as wireless message links. Then, based on the WRR weighted value, the data message to be transmitted is divided into several message queues to achieve segmentation and encryption of the data message, and the message data in the message queue is transmitted through the corresponding wireless message link, so that the data message is transmitted through multiple wireless message links at the same time. When the message data is received by the receiving end, the message data in the message queue is extracted based on the WRR value and aggregated to obtain an aggregated message, thereby achieving high-speed transmission and encryption of the data message.
[0012] 2. The present invention sets a number of wireless message links and message queues based on WRR weighted values, and divides the data messages to distribute them to different message queues respectively, and then transmits the message data in the message queues through the corresponding wireless message links, thereby achieving the purpose of multiple wireless message links transmitting the same data message at the same time, greatly improving the transmission rate of the data message, and realizing the encryption of the data message at the same time.
[0013] 3. The present invention obtains the type of data in the data message to split the data message into several individual messages, and corresponds the individual messages to the message queues, and then divides the individual messages into corresponding message queues according to the WRR weighted value, so as to fully realize the utilization of the set wireless message link bandwidth and improve the transmission rate of the data message. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 It is a flow chart of the data transmission method of multi-radio link aggregation of the present invention; Figure 2 The schematic diagram of the present invention is to divide the data message to be sent by the WRR algorithm; Figure 3 This is a schematic diagram of the present invention for aggregating received message data using a WRR algorithm. DETAILED DESCRIPTION
[0015] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods, so that 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.
[0016] Those skilled in the art can understand that all or part of the steps in the following embodiments can be completed by instructing the relevant hardware through a program, so the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can be in 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 codes.
[0017] In order to solve the problem that the bandwidth of the current 5G wireless message link is difficult to meet the needs of high-speed data transmission in some industries, the present invention provides a data transmission method of multi-wireless link aggregation. Based on wireless network technology, the data messages to be transmitted are divided at the sending end through wireless link aggregation to be transmitted through several wireless links, and are aggregated at the receiving end to obtain a complete data message, so that the transmission of the same data message is jointly realized by setting several wireless links to improve the data transmission rate. On the one hand, high-speed data transmission is realized, and on the other hand, a certain encryption function is provided to realize the encryption needs of data in some industries, such as Figure 1 As shown, the transmission method specifically includes the following steps: S1. Obtain a data message to be transmitted; the data message is in a data transmission queue; S2. Acquire several wireless communication links for data transmission and assign different WRR weighted values to them respectively, and select several wireless communication links as wireless message links based on the WRR weighted values; after setting several prepared wireless communication links, since the data transmission rate of the wireless communication link is affected by various factors, in order to further determine the data transmission rate of each wireless communication link in real time, select several wireless communication links with higher data transmission rates as wireless message links for transmitting the data message to be currently transmitted, so as to achieve efficient transmission of the data message, the specific steps of selecting several wireless communication links with higher data transmission rates are as follows: 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, setting a WRR threshold, and selecting several wireless communication links with the largest WRR weighted values greater than the WRR threshold as wireless message links. Generally, the WRR threshold is set to 0. Alternatively, the WRR weighted value with the smallest value that can meet the data transmission requirement can be used as the WRR threshold according to the actual data transmission situation of the wireless communication link and the corresponding WRR weighted value. 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. Theoretically, the more wireless message links there are, the higher the data transmission rate. However, the process of splitting the message data in the data message into each wireless message link in turn for data transmission is based on the computing power of the CPU. When the computing power required for the number of wireless message links is higher than the computing power of the CPU, it may cause the time required for the process of splitting the message data in the data message into each wireless message link in turn for data transmission to be longer, which will reduce the overall data transmission rate. Therefore, in order to maximize the transmission rate of the data message, the number of wireless message links is adapted to the computing power of the processor to split the message data in the data message into each wireless message link in turn for data transmission. For example, the currently used Rockchip RK3588 chip has a built-in dynamic configuration of 4 3 ARM Coretex-A76 and 4 ARM Coretex-A55 CPU cores, and 1 Mali-G610 GPU, 1 NPU with 6TOPsAI 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.
[0018] In addition, the traditional WRR algorithm distributes 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 encrypt and split each data message, and transmit the split single data message through multiple wireless message links at the same time to improve the transmission rate of a single data message, such as Figure 2 As shown in the figure, the specific steps of splitting a single data message into several message queues and transmitting them are as follows: 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 scheduling rules, and splitting data packets into various packet queues based on WRR weighted values; 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 corresponded to different packet queues according to several types of data such as video, audio and text data, but if the number of wireless packet links is 5, the image data includes three types of data, video, audio and text, if they correspond to three wireless packet links respectively, then there are still two 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, for example, for plain text data, if the plain text data is allowed to be split, if it is transmitted only through one wireless packet link, then the plain text data 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: S341, defining the data in the data message into several types, and splitting the data message into several monomer messages, each monomer message corresponding to one type of data in the data message; S342. According to the total number of message queues, a number of message queues corresponding to each single message are respectively set. Single messages and message queues may correspond one to one. One single message may correspond to multiple message queues. Multiple single messages may correspond to the same message queue. The message queues may be set specifically according to the data messages to be transmitted. For example, when the data messages are image data and plain text data, the corresponding modes of single messages and message queues may be different. 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.
[0019] 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.
[0020] 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 it into an aggregate message in 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 link to obtain a complete data message, that is, an aggregate message, such as Figure 3 As shown, the acquisition of the aggregated message specifically includes the following steps: 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.
[0021] The present invention calculates the WRR weighted value of each wireless communication link based on the WRR algorithm, selects several wireless communication links with the highest transmission rate as wireless message links, and then divides the data messages to be transmitted into several message queues based on the WRR weighted value, realizes the segmentation and encryption of the data messages, and transmits the message data in the message queue through the corresponding wireless message link, so that the data message is transmitted through multiple wireless message links at the same time. When the message data is received by the receiving end, the message data in the message queue is extracted based on the WRR value and aggregated to obtain the aggregated message, thereby realizing the high-speed transmission and encryption of the data message.
[0022] The above implementation methods have been described in detail. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on 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; 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 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.
5. The data transmission method according to claim 4, 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.
6. 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.
7. A system for implementing the data transmission method according to any one of claims 1 to 6, 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 according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Uplink bandwidth allocation method and system for WiMAX system
CN101820686A
Link aggregation routing method and device
CN102098740A
Method, device and system for self-adaptation multiple-link aggregation
CN103618678A
Message processing method and device and storage medium
CN114500402A
Communication method and device, equipment and storage medium
CN116056115A