A data link aggregation method, device, storage medium and aggregation device
By receiving and aggregating data packets from multiple terminal devices and determining the LTE module using delay and bandwidth detection algorithms, the problems of poor customization of aggregation strategies and insufficient load balancing in the prior art are solved, and the stability and flexibility of data transmission are achieved Sex improvement.
Patent Information
- Application Number
- CN202111429553.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-11-29
AI Technical Summary
The existing multi-network aggregation technology based on Linux cannot customize aggregation strategies, and the support is different, and the reverse load balancing of bandwidth cannot be achieved, resulting in insufficient stability and flexibility of data transmission.
By receiving data packets sent by multiple terminal devices, aggregation generates aggregated data packets, and sends them to the aggregation server through multiple long-term evolution LTE modules. The corresponding LTE module for each packet is determined using a delay detection algorithm and a bandwidth detection algorithm. , to achieve link bandwidth aggregation and load balancing.
It improves the stability and flexibility of data transmission, and can aggregate the wireless link bandwidth of multiple LTE modules into a one-way, meeting the bandwidth and delay requirements of different service needs.
Smart Images

Figure CN114125935B_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of communication technology, and in particular to a data link aggregation method, device, storage medium and aggregation equipment. [Background technology]
[0002] In the related technology, the Linux-based multi-network port aggregation technology uses the network port aggregation function of the Linux kernel to perform data link aggregation. This function is relatively simple to use and the aggregation strategy cannot be customized. It can only be performed based on the options set by the kernel. Various Linux distributions have different support for it and also have requirements for the type of network port devices. Most strategies cannot achieve reverse load balancing of bandwidth, which reduces the stability and flexibility of data transmission. [Summary of the invention]
[0003] In view of this, embodiments of the present invention provide a data link aggregation method, apparatus, storage medium, and aggregation device to improve the stability and flexibility of data transmission.
[0004] On the one hand, an embodiment of the present invention provides a data link aggregation method, including:
[0005] Receiving a data packet corresponding to each terminal device sent by multiple terminal devices;
[0006] Aggregating a plurality of the data packets to generate an aggregated data packet;
[0007] The aggregated data packet is sent to an aggregation server through a plurality of Long Term Evolution (LTE) modules.
[0008] Optionally, sending the aggregated data packet to an aggregation server through multiple long term evolution LTE modules includes:
[0009] Decomposing the aggregated data packet into data packets corresponding to each terminal device;
[0010] Determine the LTE module corresponding to each data packet through delay detection algorithm and bandwidth detection algorithm;
[0011] The data packet corresponding to each terminal device is sent to the aggregation server through the LTE module corresponding to each data packet, so that the aggregation server aggregates the received multiple data packets to obtain the aggregated data packet.
[0012] Optionally, determining the LTE module corresponding to each data packet by using a delay detection algorithm and a bandwidth detection algorithm includes:
[0013] The delay detection algorithm is used to calculate the acquired sending time and return time to generate a delay priority order;
[0014] The bandwidth detection algorithm is used to calculate the packet loss rate and the amount of data sent and received per unit time to generate the link bandwidth.
[0015] The LTE module corresponding to each data packet is determined according to the link bandwidth and the delay priority order.
[0016] Optionally, the step of calculating the acquired sending time and return time by using a delay detection algorithm to generate a delay priority order includes:
[0017] Send the stored multiple statistical packages to the aggregation server and obtain the sending time corresponding to each statistical package;
[0018] Receive feedback information corresponding to each of the statistical packages sent by the aggregation server, and obtain the return time corresponding to each piece of feedback information.
[0019] Optionally, calculating the acquired sending time and return time by using a delay detection algorithm to generate a delay priority order includes:
[0020] Calculate the difference between the return time corresponding to each feedback information and the sending time corresponding to each statistical package;
[0021] Generate a time delay corresponding to each statistical packet according to the difference;
[0022] A delay priority order is generated according to the multiple delays.
[0023] Optionally, calculating the acquired packet loss rate and the amount of data sent and received per unit time by a bandwidth detection algorithm to generate the link bandwidth includes:
[0024] Determine whether its own state is startup state, business state or idle state;
[0025] If it is determined that the state of the link is the startup state, the link bandwidth corresponding to each link is calculated according to the amount of data received and sent per unit time corresponding to each link;
[0026] If the state is determined to be a service state, the link bandwidth corresponding to each link is calculated according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link;
[0027] If the state of the link is determined to be an idle state, the link bandwidth corresponding to each link is calculated according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link.
[0028] Optionally, determining the LTE module corresponding to each data packet according to the link bandwidth and the delay priority order includes:
[0029] Generate a weight corresponding to each link according to the link bandwidth and the delay priority order;
[0030] According to the weight corresponding to each link, the LTE module corresponding to each data packet is determined, and the links correspond to the LTE modules one by one.
[0031] On the other hand, an embodiment of the present invention provides a data link aggregation device, including:
[0032] A receiving module, used for receiving a data packet corresponding to each terminal device sent by multiple terminal devices;
[0033] A generating module, used for aggregating a plurality of the data packets to generate an aggregated data packet;
[0034] The sending module is used to send the aggregated data packet to the aggregation server through multiple long term evolution LTE modules.
[0035] On the other hand, an embodiment of the present invention provides a storage medium, including: the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned data link aggregation method.
[0036] On the other hand, an embodiment of the present invention provides an aggregation device, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, and is characterized in that the program instructions implement the steps of the above-mentioned data link aggregation method when loaded and executed by the processor.
[0037] In the technical solution of the data link aggregation method provided by the embodiment of the present invention, a data packet corresponding to each terminal device sent by multiple terminal devices is received; the multiple data packets are aggregated to generate an aggregated data packet; and the aggregated data packet is sent to an aggregation server through multiple long-term evolution LTE modules. In the technical solution provided by the embodiment of the present invention, the wireless link bandwidths of multiple long-term evolution LTE modules can be aggregated into one, thereby improving the stability and flexibility of data transmission.
Brief Description of the Drawings
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 A flow chart of a data link aggregation method provided by an embodiment of the present invention;
[0040] Figure 2 for Figure 1 A flowchart of sending an aggregated data packet to an aggregation server through multiple long term evolution LTE modules;
[0041] Figure 3 for Figure 2 The flowchart of the LTE module corresponding to each data packet is determined by the delay detection algorithm and the bandwidth detection algorithm;
[0042] Figure 4 A schematic diagram of the structure of a data link aggregation device provided by an embodiment of the present invention;
[0043] Figure 5 for Figure 4 The structural diagram of the sending module;
[0044] Figure 6 A schematic diagram of a polymerization device provided in an embodiment of the present invention. [Specific implementation method]
[0045] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0046] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0048] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0049] The embodiment of the present invention provides a data link aggregation method. Figure 1 A flow chart of a data link aggregation method provided by an embodiment of the present invention, such as Figure 1 As shown, the method includes:
[0050] Step 102: Receive a data packet corresponding to each terminal device sent by multiple terminal devices.
[0051] In the embodiment of the present invention, each step is performed by an aggregation device. For example, the aggregation device is an arm-Linux device.
[0052] In the embodiment of the present invention, the terminal device includes a mobile phone, a tablet computer, a computer or a wearable device. In this step, the multiple terminal devices send a data packet corresponding to each terminal device to the aggregation device.
[0053] Step 104: Aggregate multiple data packets to generate an aggregated data packet.
[0054] Specifically, a plurality of data packets are aggregated through a set aggregation program to generate an aggregated data packet.
[0055] Step 106: Send the aggregated data packet to the aggregation server through multiple Long Term Evolution (LTE) modules.
[0056] In the embodiment of the present invention, the aggregation device can access multiple LTE modules or satellite network access terminals through a USB interface and send the aggregation data packet to the aggregation server.
[0057] In the embodiment of the present invention, the network working environment of each LTE module is separated independently through the network name space on the aggregation device, so that each LTE module can have an independent network environment, obtain an IP address classified by the operator, and can also communicate with the outside world independently within the space.
[0058] In the embodiment of the present invention, after receiving the aggregated data packet on the aggregation server, it is downloaded to the kernel protocol stack through the tap network port, so that it can be sent to the destination address corresponding to the data packet, thereby completing the Ethernet access task from the terminal device to the public network.
[0059] In the embodiment of the present invention, Figure 2 for Figure 1 The flowchart of sending the aggregated data packet to the aggregation server through multiple long term evolution LTE modules is shown in FIG. Figure 2 As shown, step 106 includes:
[0060] Step 1062: Decompose the aggregated data packet into data packets corresponding to each terminal device.
[0061] Step 1064: Determine the LTE module corresponding to each data packet through a delay detection algorithm and a bandwidth detection algorithm.
[0062] In the embodiment of the present invention, Figure 3 for Figure 2 The flowchart of the LTE module corresponding to each data packet is determined by the delay detection algorithm and the bandwidth detection algorithm, as shown in FIG. Figure 3 As shown, step 1064 includes:
[0063] Step S1: Calculate the acquired sending time and return time through a delay detection algorithm to generate a delay priority order.
[0064] In the embodiment of the present invention, before step S1, the steps include: sending the stored multiple statistical packages to the aggregation server and obtaining the sending time corresponding to each statistical package; receiving feedback information corresponding to each statistical package sent by the aggregation server, and obtaining the return time corresponding to each feedback information.
[0065] In the embodiment of the present invention, the statistical package includes the scho package.
[0066] In the embodiment of the present invention, step S2 specifically includes:
[0067] Step A1: Calculate the difference between the return time corresponding to each feedback information and the sending time corresponding to each statistical package.
[0068] Step A2: Generate the delay corresponding to each statistical packet according to the difference.
[0069] As an option, the difference is the delay.
[0070] Step A3: Generate a delay priority order according to multiple delays.
[0071] For example, multiple delays are arranged from small to large to generate a delay priority sequence, wherein the delay priority sequence includes multiple delays.
[0072] Step S2: Calculate the obtained packet loss rate and the amount of data received and sent per unit time through a bandwidth detection algorithm to generate a link bandwidth.
[0073] In the embodiment of the present invention, step S2 specifically includes:
[0074] Step B1, determine whether its own state is the startup state, business state or idle state. If it is determined that its own state is the startup state, execute step B2; if it is determined that its own state is the business state, execute step B3; if it is determined that its own state is the idle state, execute step B4.
[0075] In the embodiment of the present invention, when the aggregation device is started, the state of the aggregation device is the startup state, and step B2 is executed; when the aggregation device is transmitting data, the state of the aggregation device is the service state, and step B3 is executed; when the aggregation device is not transmitting data, the state of the aggregation device is the idle state, and step B4 is executed.
[0076] Step B2: Calculate the link bandwidth corresponding to each link according to the amount of data received and sent per unit time corresponding to each link.
[0077] Specifically, the amount of data sent and received per unit time corresponding to each link is divided by the unit time to generate the link bandwidth corresponding to each link.
[0078] Step B3: Calculate the link bandwidth corresponding to each link according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link.
[0079] Specifically, the difference between the amount of data received and sent per unit time corresponding to each link and the packet loss rate corresponding to each link is divided by the unit time to generate the link bandwidth corresponding to each link.
[0080] Step B4: Calculate the link bandwidth corresponding to each link according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link.
[0081] Specifically, the difference between the amount of data received and sent per unit time corresponding to each link and the packet loss rate corresponding to each link is divided by the unit time to generate the link bandwidth corresponding to each link.
[0082] Step S3: Determine the LTE module corresponding to each data packet according to the link bandwidth and the delay priority order.
[0083] In the embodiment of the present invention, step S3 specifically includes:
[0084] Step C1: Generate a weight corresponding to each link according to the link bandwidth and delay priority order.
[0085] In the embodiments of the present invention, the load balancing sharing ratio of the link is usually determined in combination with the latency and the link bandwidth, and the ratio is defined by weight. For example, if the transmission data has a high requirement for latency, the weight of the latency needs to be increased. Otherwise, the weight of the link bandwidth needs to be increased.
[0086] As an optional solution, the product of the link bandwidth and the first setting parameter is added to the product of the delay in the delay priority order and the second setting parameter to generate the weight corresponding to each link. The first setting parameter and the second setting parameter can be set according to actual conditions. For example, link bandwidth*0.7+delay*0.3=weight corresponding to each link.
[0087] Step C2: Determine the LTE module corresponding to each data packet according to the weight corresponding to each link, and the links correspond to the LTE modules one by one.
[0088] As an optional solution, a link corresponding to a larger weight among weights corresponding to multiple links is selected and determined as the link corresponding to sending the data packet, that is, the LTE module corresponding to sending the data packet.
[0089] Step 1066: Send the data packet corresponding to each terminal device to the aggregation server through the LTE module corresponding to each data packet, so that the aggregation server aggregates the received multiple data packets to obtain an aggregated data packet.
[0090] In the embodiment of the present invention, the aggregation server aggregates multiple received data packets through an aggregation program to obtain an aggregated data packet.
[0091] In the embodiment of the present invention, each link corresponds to a physical network port, each network port has its own IP address, and the data packet in each link is encapsulated with private header information, the header information contains channel information and the serial number of the payload packet, and the aggregation server determines whether the packet is a redundant packet by the serial number, and determines the order and redundancy relationship by the serial number. Since data packets may be lost during transmission, when processing low-latency and high-stability services, purely relying on the retransmission function provided by the network or protocol itself cannot meet the requirements. At this time, it is also necessary to send redundant packets, that is, send the same data packet to the other end through multiple links at the same time, the first packet to arrive is received, and other packets to the same end are discarded to improve the stability of the link and reduce the average delay.
[0092] In the technical solution provided by the embodiment of the present invention, a data packet corresponding to each terminal device sent by multiple terminal devices is received; the multiple data packets are aggregated to generate an aggregated data packet; and the aggregated data packet is sent to an aggregation server through multiple long-term evolution LTE modules. In the technical solution provided by the embodiment of the present invention, the wireless link bandwidths of multiple long-term evolution LTE modules can be aggregated into one, thereby improving the stability and flexibility of data transmission.
[0093] In the technical solution provided by the embodiment of the present invention, the application in the terminal device does not need to do any multi-port processing, and it can be used just like an ordinary router. The technical solution provided by the embodiment of the present invention can have high application value in flood control and rescue, field training, and vehicle communication, can provide a relatively stable wireless link, and can make full use of the existing network infrastructure without relying on additional wireless devices.
[0094] In the technical solution provided by the embodiment of the present invention, bandwidth superposition and data packet redundancy strategies can be customized according to data transmission services, which greatly enhances the flexibility of data transmission and the stability and reliability of data transmission compared with the default network port binding function of Linux.
[0095] In the technical solution provided by the embodiment of the present invention, there is no need to rely on the aggregation function of the Linux kernel state, and the data aggregation and forwarding strategies can be flexibly customized without relying on the policy template fixed with the system. The forward and reverse communications of the aggregation link can achieve load balancing according to the actual needs of the user. The forward and reverse directions of the aggregation link can simultaneously perform load balancing and data packet redundancy.
[0096] In the technical solution provided by the embodiment of the present invention, the network port type can be ignored and all network ports can be managed with a unified interface model. The transmit and receive duty cycles are determined by unified evaluation criteria, thereby greatly simplifying the logical processing and providing flexibility of use. Therefore, the strategy can be customized and can be better applied to different network access devices.
[0097] In the technical solution provided by the embodiment of the present invention, the solution is simple to implement, and the strategy can be flexibly customized in the aggregation program. There is no requirement for network equipment, and it can be used as long as a unified data receiving and sending interface is provided on Linux.
[0098] In the technical solution provided by the embodiment of the present invention, redundant packet sending can be performed according to actual conditions during actual use, so as to shorten or avoid application retransmission time and improve the experience of services with high real-time requirements. For example, for scenarios such as file downloading or watching movies, a strategy for maximizing link bandwidth utilization can be provided. For video conferencing, a packet sending strategy with redundant packet sending and minimum delay detection as a mechanism can be used to cope with application scenarios with high stability and low latency. Therefore, the solution can make relevant trade-offs between link bandwidth and latency to meet its own business needs.
[0099] An embodiment of the present invention provides a data link aggregation device. Figure 4 A schematic diagram of the structure of a data link aggregation device provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the device includes: a receiving module 11, a generating module 12 and a sending module 13.
[0100] The receiving module 11 is used to receive data packets corresponding to each terminal device sent by multiple terminal devices.
[0101] The generating module 12 is used for aggregating a plurality of the data packets to generate an aggregated data packet.
[0102] The sending module 13 is used to send the aggregated data packet to the aggregation server through multiple long term evolution LTE modules.
[0103] In the embodiment of the present invention, Figure 5 for Figure 4 The structural diagram of the sending module 13 is as follows: Figure 5 As shown, the sending module 13 specifically includes: a decomposition submodule 131 , a determination submodule 132 and a sending submodule 133 .
[0104] The decomposition submodule 131 is used to decompose the aggregated data packet into data packets corresponding to each terminal device.
[0105] The determination submodule 132 is used to determine the LTE module corresponding to each data packet through a delay detection algorithm and a bandwidth detection algorithm.
[0106] The sending submodule 133 is used to send the data packet corresponding to each terminal device to the aggregation server through the LTE module corresponding to each data packet, so that the aggregation server aggregates the received multiple data packets to obtain the aggregated data packet.
[0107] In an embodiment of the present invention, the determination submodule 132 is specifically used to calculate the acquired sending time and return time through a delay detection algorithm to generate a delay priority order; calculate the acquired packet loss rate and the amount of data sent and received per unit time through a bandwidth detection algorithm to generate a link bandwidth; and determine the LTE module corresponding to each data packet based on the link bandwidth and the delay priority order.
[0108] In an embodiment of the present invention, the determination submodule 132 is also specifically used to send the stored multiple statistical packages to the aggregation server and obtain the sending time corresponding to each statistical package; receive feedback information corresponding to each of the statistical packages sent by the aggregation server, and obtain the return time corresponding to each feedback information.
[0109] In an embodiment of the present invention, the determination submodule 132 is specifically used to calculate the difference between the return time corresponding to each feedback information and the sending time corresponding to each statistical package; based on the difference, generate the delay corresponding to each statistical package; based on multiple delays, generate a delay priority order.
[0110] In the embodiment of the present invention, the determination submodule 132 is specifically used to determine whether its own state is a startup state, a business state or an idle state; if it is determined that its own state is a startup state, the link bandwidth corresponding to each link is calculated according to the amount of data received and sent per unit time corresponding to each link; if it is determined that its own state is a business state, the link bandwidth corresponding to each link is calculated according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link; if it is determined that its own state is an idle state, the link bandwidth corresponding to each link is calculated according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link.
[0111] In an embodiment of the present invention, the determination submodule 132 is specifically used to generate a weight corresponding to each link according to the link bandwidth and the delay priority order; according to the weight corresponding to each link, the LTE module corresponding to each data packet is determined, and the link corresponds to the LTE module one-to-one.
[0112] In the technical solution provided by the embodiment of the present invention, a data packet corresponding to each terminal device sent by multiple terminal devices is received; the multiple data packets are aggregated to generate an aggregated data packet; and the aggregated data packet is sent to an aggregation server through multiple long-term evolution LTE modules. In the technical solution provided by the embodiment of the present invention, the wireless link bandwidths of multiple long-term evolution LTE modules can be aggregated into one, thereby improving the stability and flexibility of data transmission.
[0113] The data link aggregation device provided in this embodiment can be used to implement the above Figure 1 , Figure 2 and Figure 3 For the data link aggregation method in, the specific description can be found in the embodiment of the above-mentioned data link aggregation method, which will not be repeated here.
[0114] An embodiment of the present invention provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the embodiment of the above-mentioned data link aggregation method. For a specific description, please refer to the embodiment of the above-mentioned data link aggregation method.
[0115] An embodiment of the present invention provides an aggregation device, including a memory and a processor, the memory is used to store information including program instructions, the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the embodiment of the above-mentioned data link aggregation method are implemented. For a specific description, please refer to the embodiment of the above-mentioned data link aggregation method.
[0116] Figure 6 A schematic diagram of a polymerization device provided by an embodiment of the present invention. Figure 6 As shown, the aggregation device 20 of this embodiment includes: a processor 21, a memory 22, and a computer program 23 stored in the memory 22 and executable on the processor 21. When the computer program 23 is executed by the processor 21, the method for data link aggregation in the embodiment is implemented. To avoid repetition, it is not described one by one here. Alternatively, when the computer program is executed by the processor 21, the functions of each model / unit in the data link aggregation device in the embodiment are implemented. To avoid repetition, it is not described one by one here.
[0117] Aggregation device 20 includes, but is not limited to, processor 21 and memory 22. Those skilled in the art will appreciate that Figure 6 This is only an example of the aggregation device 20 and does not constitute a limitation of the aggregation device 20. The aggregation device 20 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the aggregation device may also include input and output devices, network access devices, buses, etc.
[0118] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0119] The memory 22 may be an internal storage unit of the aggregation device 20, such as a hard disk or memory of the aggregation device 20. The memory 22 may also be an external storage device of the aggregation device 20, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the aggregation device 20. Further, the memory 22 may also include both an internal storage unit of the aggregation device 20 and an external storage device. The memory 22 is used to store computer programs and other programs and data required by the aggregation device. The memory 22 may also be used to temporarily store data that has been output or is to be output.
[0120] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0121] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0124] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0125] 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, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A data link aggregation method, characterized in that: include: Receiving a data packet corresponding to each terminal device sent by multiple terminal devices; Aggregating a plurality of the data packets to generate an aggregated data packet; Sending the aggregated data packet to an aggregation server through a plurality of long term evolution LTE modules; The sending the aggregated data packet to the aggregation server through multiple long term evolution LTE modules includes: Decomposing the aggregated data packet into data packets corresponding to each terminal device; Determine the LTE module corresponding to each data packet through delay detection algorithm and bandwidth detection algorithm; Sending the data packet corresponding to each terminal device to the aggregation server through the LTE module corresponding to each data packet, so that the aggregation server aggregates the received multiple data packets to obtain the aggregated data packet; The method of determining the LTE module corresponding to each data packet by using a delay detection algorithm and a bandwidth detection algorithm includes: The delay detection algorithm is used to calculate the acquired sending time and return time to generate a delay priority order; The bandwidth detection algorithm is used to calculate the packet loss rate and the amount of data sent and received per unit time to generate the link bandwidth. The LTE module corresponding to each data packet is determined according to the link bandwidth and the delay priority order.
2. The method according to claim 1, characterized in that The method comprises calculating the acquired sending time and return time by using the delay detection algorithm and generating the delay priority order, comprising: Send the stored multiple statistical packages to the aggregation server and obtain the sending time corresponding to each statistical package; Receive feedback information corresponding to each of the statistical packages sent by the aggregation server, and obtain the return time corresponding to each piece of feedback information.
3. The method according to claim 2, characterized in that The delay detection algorithm is used to calculate the acquired sending time and return time to generate a delay priority order, including: Calculate the difference between the return time corresponding to each feedback information and the sending time corresponding to each statistical package; Generate a time delay corresponding to each statistical packet according to the difference; A delay priority order is generated according to the multiple delays.
4. The method according to claim 1, characterized in that: The bandwidth detection algorithm is used to calculate the obtained packet loss rate and the amount of data sent and received per unit time to generate the link bandwidth, including: Determine whether its own state is startup state, business state or idle state; If it is determined that the state of the link is the startup state, the link bandwidth corresponding to each link is calculated according to the amount of data received and sent per unit time corresponding to each link; If the state is determined to be a service state, the link bandwidth corresponding to each link is calculated according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link; If the state of the link is determined to be an idle state, the link bandwidth corresponding to each link is calculated according to the packet loss rate corresponding to each link and the amount of data received and sent per unit time corresponding to each link.
5. The method according to claim 1, characterized in that The step of determining the LTE module corresponding to each data packet according to the link bandwidth and the delay priority order includes: Generate a weight corresponding to each link according to the link bandwidth and the delay priority order; According to the weight corresponding to each link, the LTE module corresponding to each data packet is determined, and the links correspond to the LTE modules one by one.
6. A data link aggregation device, characterized in that: include: A receiving module, used for receiving a data packet corresponding to each terminal device sent by multiple terminal devices; A generating module, used for aggregating a plurality of the data packets to generate an aggregated data packet; A sending module, used for sending the aggregated data packet to an aggregation server through multiple long term evolution LTE modules; The sending module includes: a decomposition submodule, a determination submodule and a sending submodule; A decomposition submodule, used to decompose the aggregated data packet into data packets corresponding to each terminal device; A determination submodule is used to determine the LTE module corresponding to each data packet through a delay detection algorithm and a bandwidth detection algorithm; A sending submodule, used to send the data packet corresponding to each terminal device to the aggregation server through the LTE module corresponding to each data packet, so that the aggregation server aggregates the received multiple data packets to obtain the aggregated data packet; The determination submodule is specifically used to calculate the acquired sending time and return time through the delay detection algorithm to generate a delay priority order; calculate the acquired packet loss rate and the amount of data sent and received per unit time through the bandwidth detection algorithm to generate a link bandwidth; and determine the LTE module corresponding to each data packet according to the link bandwidth and the delay priority order.
7. A storage medium, characterized in that: include: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute a data link aggregation method according to any one of claims 1 to 5.
8. An aggregation device, comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, characterized in that: When the program instructions are loaded and executed by the processor, the steps of a data link aggregation method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Method for realizing multi-network aggregation
CN113965433A