Data transmission method and device based on multiple channels, equipment, medium and product
By acquiring the transmission interface status information, optimizing the data allocation ratio using a genetic algorithm, and transmitting data in parallel, combined with BBR and FEC algorithms, the problem of insufficient transmission speed and stability of a single interface is solved, achieving efficient and stable multi-channel data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, data transmission between devices typically relies on a single communication interface, resulting in limited transmission speed and insufficient stability, making it difficult to meet the transmission needs of large files.
By acquiring the transmission status information of each valid transmission interface in real time, optimizing the data allocation ratio based on the genetic algorithm, and adopting multi-channel parallel transmission, combined with the BBR algorithm and FEC algorithm for data adjustment and error correction, the stability and efficiency of data transmission are ensured.
It significantly improves the efficiency and stability of data transmission, reduces the probability of interruption, and can meet the transmission needs of large files.
Smart Images

Figure CN121815335A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a multi-channel data transmission method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Technology
[0002] With the widespread adoption of mobile devices, the demand for data transfer between devices is rapidly increasing. Existing technologies typically rely on a single communication interface for data transfer, such as Wi-Fi, Bluetooth, and NFC (Near Field Communication), which limits transmission speed, reduces stability, and makes it difficult to meet the needs of transferring large files. Summary of the Invention
[0003] This invention provides a multi-channel data transmission method, apparatus, device, medium, and product to solve the technical problem that existing technologies cannot meet the transmission needs of large-sized files.
[0004] To address the aforementioned technical problems, a first aspect of this invention provides a multi-channel data transmission method, comprising: Real-time acquisition of transmission status information for each currently valid transmission interface; Based on the transmission status information, data is allocated to each of the valid transmission interfaces to obtain the transmission data allocation ratio of each of the valid transmission interfaces. Based on the data allocation ratio, data is transmitted in parallel using each of the effective transmission interfaces.
[0005] As a preferred embodiment, the step of allocating data to each of the valid transmission interfaces based on the transmission status information to obtain the transmission data allocation ratio of each of the valid transmission interfaces specifically includes: Based on the transmission status information, an initialization population corresponding to each of the effective transmission interfaces is generated; wherein, each individual in the initialization population is composed of different initialization data allocation ratios for each of the effective transmission interfaces; Using the initial population as the current population, and according to the preset data transmission optimization target, a genetic algorithm is used to iteratively optimize the data allocation ratio of each effective transmission interface to obtain the data transmission allocation ratio of each effective transmission interface.
[0006] As a preferred embodiment, the step of using the initialized population as the current population and employing a genetic algorithm to iteratively optimize the data allocation ratio of each effective transmission interface according to a preset data transmission optimization target, thereby obtaining the data allocation ratio of each effective transmission interface, specifically includes: Based on the data transmission optimization objective, determine the fitness function; According to the fitness function, calculate the fitness value of each individual in the current population, and select at least two parent individuals from the current population based on the fitness value; At least two parent individuals are crossover processed to generate at least two child individuals; Each of the offspring individuals is subjected to mutation processing to generate at least two mutated individuals; Based on each of the mutated individuals, the current population is updated, and the step of calculating the fitness value of each individual in the current population is re-executed based on the updated current population until the number of updates to the current population reaches the preset number of iterations or the fitness value of each individual in the current population converges. Based on the individual with the highest fitness value in the current population, the data allocation ratio for each effective transmission interface is obtained.
[0007] As a preferred embodiment, generating the initial population corresponding to each of the effective transmission interfaces based on the transmission status information specifically includes: Based on the transmission status information, the network performance of each valid transmission interface is sorted to obtain the network performance ranking of each valid transmission interface. Based on the network performance ranking, an initial population corresponding to each of the effective transmission interfaces is generated; wherein, the effective transmission interface with the lowest network performance ranking has the smallest initial data allocation ratio.
[0008] As a preferred embodiment, the method further includes: The BBR algorithm is used to adjust the data transmission rate and congestion window of each of the effective transmission interfaces, so as to perform parallel data transmission using each of the effective transmission interfaces according to the adjusted data transmission rate and the adjusted congestion window.
[0009] As a preferred embodiment, the adjustment of the data transmission rate and congestion window of each effective transmission interface using the BBR algorithm specifically includes: Real-time measurement of packet loss rate, round-trip time of data packets, and number of ACK packets received within the round-trip time of data packets at the effective transmission interface; The current network bottleneck bandwidth is determined based on the ratio of the number of ACK messages received to the round-trip time of the data packets. Based on the network bottleneck bandwidth, the data packet round-trip time, and the preset maximum congestion window, determine the current target congestion window, and use the target congestion window to adjust the congestion window of the effective transmission interface; Based on the network bottleneck bandwidth and the current network congestion status, the data transmission rate of the effective transmission interface is adjusted; wherein, the network congestion status is determined based on the packet loss rate or the data packet round-trip time.
[0010] As a preferred embodiment, the method further includes: When a packet loss event is detected on any valid transmission interface based on the packet loss rate, the congestion window of the valid transmission interface is adjusted according to a preset congestion window reduction ratio.
[0011] As a preferred embodiment, the real-time acquisition of the transmission status information of each currently valid transmission interface specifically includes: According to a preset status data packet transmission period, a first status data packet is sent to the data receiving end; wherein, the first status data packet carries status data packet transmission information, current timestamp, transmission interface identifier, status data packet sequence number and priority processing flag; the first status data packet is used to instruct the data receiving end to send back a second status data packet carrying the status data packet transmission information and status data packet reception information; When the second status data packet fed back by the data receiving end is received, the transmission status information of each of the current valid transmission interfaces is obtained based on the status data packet sending information and the status data packet receiving information in the second status data packet.
[0012] As a preferred embodiment, the status data packet transmission period during peak data transmission periods is shorter than the status data packet transmission period during off-peak data transmission periods; The peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is greater than or equal to a preset traffic threshold, and the non-peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is less than the preset traffic threshold.
[0013] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: The FEC algorithm is used to perform error correction coding on the current data to be transmitted, generating FEC-coded data to be transmitted. The parallel data transmission using each of the effective transmission interfaces specifically refers to: The FEC-encoded data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
[0014] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: Perform CRC calculation on the current data to be transmitted to generate a CRC check value; wherein, the CRC check value is used to instruct the data receiving end to perform CRC check on the received data to be transmitted.
[0015] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: According to the preset transmission priorities corresponding to different data types, QoS tags are added to each data in the current data to be transmitted; wherein, the QoS tag of any data in the data to be transmitted corresponds to the transmission priority corresponding to the data type of that data. The parallel data transmission using each of the effective transmission interfaces further includes: Based on the QoS tags of each data in the data to be transmitted, determine the transmission order of each data in the data to be transmitted; According to the transmission order, the data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
[0016] A second aspect of the present invention provides a multi-channel data transmission device, comprising: The transmission status information monitoring module is used to obtain the transmission status information of each valid transmission interface in real time. The data allocation module is used to allocate data to each of the valid transmission interfaces based on the transmission status information, and obtain the data allocation ratio of each of the valid transmission interfaces. The data transmission module is used to perform parallel data transmission using each of the effective transmission interfaces based on the data transmission allocation ratio.
[0017] A third aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-channel data transmission method described in any of the first aspects.
[0018] A fourth aspect of the present invention provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the multi-channel data transmission method described in any of the first aspects.
[0019] A fifth aspect of the present invention provides a computer program product, including a computer program / instructions, wherein when the computer program / instructions are executed by a processor, the steps of the multi-channel data transmission method described in any of the first aspects are implemented.
[0020] Compared with the prior art, the beneficial effect of the embodiments of the present invention is that by allocating data to each effective transmission interface based on the transmission status information of each effective transmission interface at present, and then transmitting data in parallel through each effective transmission interface after data allocation, the transmission efficiency and stability of the data to be transmitted at each moment can be significantly improved, ensuring the continuity of data transmission, effectively reducing the probability of data transmission interruption, and thus meeting the transmission needs of large files. Attached Figure Description
[0021] Figure 1 This is a flowchart illustrating a multi-channel data transmission method in an embodiment of the present invention. Figure 2 This is a schematic diagram of the structure of a multi-channel data transmission device in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of the electronic device in an embodiment of the present invention. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] Please see Figure 1 The first aspect of this invention provides a multi-channel data transmission method, comprising the following steps S1 to S3: Step S1: Obtain the transmission status information of each valid transmission interface in real time.
[0024] It is worth noting that, to ensure the stability of subsequent data transmission, this embodiment first needs to scan all communication interfaces on the device to identify those that are enabled, and then designate these interfaces as the currently valid transmission interfaces. Since different valid transmission interfaces are affected by environmental factors, their network performance varies at any given time, resulting in differences in data transmission rates and stability. Therefore, this embodiment needs to obtain the transmission status information of each valid transmission interface to identify its network performance.
[0025] In this embodiment, the communication interface of the device includes, but is not limited to, Wi-Fi interface, Bluetooth interface and cellular data interface, and is not specifically limited in this embodiment.
[0026] Step S2: Based on the transmission status information, data is allocated to each of the valid transmission interfaces to obtain the transmission data allocation ratio of each of the valid transmission interfaces.
[0027] Specifically, after obtaining the transmission status information of each valid transmission interface, the real-time network performance of each valid transmission interface can be evaluated, and valid transmission interfaces with low or unstable network performance can be identified. Data can then be allocated to each valid transmission interface to ensure that valid transmission interfaces with good network performance and stable data transmission can be allocated a higher proportion of transmission data. This ensures the efficiency and stability of parallel data transmission and effectively reduces the probability of data transmission interruption.
[0028] Step S3: Based on the data allocation ratio, perform parallel data transmission using each of the effective transmission interfaces.
[0029] Specifically, after confirming the data transmission allocation ratio of each valid transmission interface, the current data to be transmitted is allocated to each valid transmission interface for parallel data transmission according to the ratio. Compared with the method of using a single communication interface for data transmission, on the one hand, it can make full use of the resources of different data transmission channels for data transmission, thereby improving the efficiency of data transmission. On the other hand, when the network performance of a certain communication interface deteriorates or the data transmission is unstable, data transmission can still be completed by increasing the data transmission allocation ratio of the other communication interfaces, effectively solving the problems of insufficient transmission speed and stability in the case of a single communication interface.
[0030] The multi-channel data transmission method provided in this invention allocates data to each valid transmission interface based on the current transmission status information of each valid transmission interface, and then transmits data in parallel through each valid transmission interface after data allocation. This significantly improves the transmission efficiency and stability of data to be transmitted at each moment, ensures the continuity of data transmission, effectively reduces the probability of data transmission interruption, and thus meets the transmission needs of large files.
[0031] As a preferred embodiment, the step of allocating data to each of the valid transmission interfaces based on the transmission status information to obtain the transmission data allocation ratio of each of the valid transmission interfaces specifically includes: Based on the transmission status information, an initialization population corresponding to each of the effective transmission interfaces is generated; wherein, each individual in the initialization population is composed of different initialization data allocation ratios for each of the effective transmission interfaces; Using the initial population as the current population, and according to the preset data transmission optimization target, a genetic algorithm is used to iteratively optimize the data allocation ratio of each effective transmission interface to obtain the data transmission allocation ratio of each effective transmission interface.
[0032] Specifically, based on the transmission status information of each valid transmission interface, this embodiment can initially and randomly generate the initial data allocation ratio for each valid transmission interface. Each initial data allocation ratio for a valid transmission interface constitutes an individual, and the sum of the initial data allocation ratios in each individual must be 1. By randomly generating different combinations of initial data allocation ratios for each valid transmission interface, different individuals can be formed, allowing multiple individuals to collectively form an initialization population. Preferably, the initialization population includes 10 different individuals.
[0033] For example, assuming that the current effective transmission interfaces include Wi-Fi interface, Bluetooth interface and cellular data interface, the randomly generated initial individual consists of three genes, representing the initial data allocation ratio of Wi-Fi interface, cellular data interface and Bluetooth interface respectively. One of the individuals is [0.4,0.3,0.3], which means that 40% of the data to be transmitted is transmitted through Wi-Fi interface, 30% of the data to be transmitted is transmitted through cellular data interface and 30% of the data to be transmitted is transmitted through Bluetooth interface.
[0034] Furthermore, using the initial population as the current population, a genetic algorithm is used to iteratively optimize the data allocation ratio of each effective transmission interface according to the preset data transmission optimization goal. This allows the current population to continuously evolve towards the data transmission optimization goal, ultimately determining the optimal data allocation ratio of each effective transmission interface that satisfies the data transmission optimization goal.
[0035] It is worth noting that the data transmission optimization objective in this embodiment is determined based on the current data transmission requirements. For example, it may be to maximize the data transmission rate, minimize the packet loss rate, minimize the data transmission energy consumption, etc. This embodiment does not make any specific limitations here.
[0036] This invention sets a data transmission optimization target and uses a genetic algorithm to iteratively optimize the data allocation ratio of each effective transmission interface to determine the data allocation ratio of each effective transmission interface. This allows the data allocation ratio of each effective transmission interface to be adjusted according to the current data transmission requirements, thereby improving the flexibility and stability of data transmission.
[0037] As a preferred embodiment, the step of using the initialized population as the current population and employing a genetic algorithm to iteratively optimize the data allocation ratio of each effective transmission interface according to a preset data transmission optimization target, thereby obtaining the data allocation ratio of each effective transmission interface, specifically includes: Based on the data transmission optimization objective, determine the fitness function; According to the fitness function, calculate the fitness value of each individual in the current population, and select at least two parent individuals from the current population based on the fitness value; At least two parent individuals are crossover processed to generate at least two child individuals; Each of the offspring individuals is subjected to mutation processing to generate at least two mutated individuals; Based on each of the mutated individuals, the current population is updated, and the step of calculating the fitness value of each individual in the current population is re-executed based on the updated current population until the number of updates to the current population reaches the preset number of iterations or the fitness value of each individual in the current population converges. Based on the individual with the highest fitness value in the current population, the data allocation ratio for each effective transmission interface is obtained.
[0038] Specifically, after determining the data transmission optimization objective corresponding to the current data transmission requirements, the fitness function can be further determined. For example, if the current data transmission optimization objective is to maximize the data transmission rate while ensuring data transmission stability, the fitness function can be set as a weighted sum of the data transmission rate and the packet loss rate, such as: Fitness = αS + βL, where Fitness is the fitness value, S is the data transmission rate, α is the trade-off coefficient corresponding to the data transmission rate, L is the packet loss rate, and β is the trade-off coefficient corresponding to the packet loss rate. α is greater than β to accommodate the data transmission requirement that prioritizes data transmission rate. It is worth noting that since this embodiment requires optimizing the data transmission allocation ratio of each effective transmission interface, the data transmission optimization objective is a holistic optimization objective. Taking the above fitness function as an example, the data transmission rate is the combined data transmission rate of each effective transmission interface, and the packet loss rate is the combined packet loss rate of each effective transmission interface. For each individual, the data allocation ratio of each effective transmission interface is fixed, and the transmission status information of each effective transmission interface is also fixed. Therefore, by using the data allocation ratio to perform a weighted summation of the corresponding transmission status information (such as data transmission rate, packet loss rate, etc.), a comprehensive transmission status information can be obtained.
[0039] Furthermore, based on this fitness function, this embodiment can calculate the fitness value of each individual in the current population and select at least two individuals with better performance as parent individuals. It can be understood that for each individual, the higher the fitness value, the better the performance. For example, in the data transmission optimization objective that prioritizes data transmission rate, since a higher data transmission rate is better and the value of data transmission rate is much greater than the value of packet loss rate, the individual with a higher fitness value performs better under this data transmission optimization objective. If the data transmission optimization objective prioritizes packet loss rate and data transmission power consumption, since a lower packet loss rate and data transmission power consumption are better, the fitness function can be set based on the reciprocal of packet loss rate and the reciprocal of data transmission power consumption to ensure that the individual with better performance has a higher fitness value.
[0040] In one embodiment, a roulette wheel selection method is used to select at least two parent individuals from the current population. The probability of each individual being selected is proportional to its fitness value, and the probability of being selected can be determined by the proportion of its fitness value to the overall fitness value of the population.
[0041] Furthermore, for any two selected parent individuals, gene crossover is performed. For example, the gene loci to be crossover are predefined, and then a single-point crossover is performed on any two parent individuals. For example, if the current two parent individuals are [0.4,0.3,0.3] and [0.3,0.4,0.3], and the second gene locus is selected as the crossover site, then the resulting offspring individuals will be [0.4,0.4,0.3] and [0.3,0.3,0.3].
[0042] Furthermore, since the offspring individuals obtained after crossover may have a sum of data allocation ratios that are not equal to 1, it is necessary to perform mutation processing on each offspring individual to ensure that the sum of data allocation ratios is 1. For example, the offspring individuals [0.4, 0.4, 0.3] and [0.3, 0.3, 0.3] mentioned above can be mutated into [0.4, 0.35, 0.25] and [0.3, 0.35, 0.35], respectively. In addition, offspring individuals whose sum of data allocation ratios is 1 can also be mutated, thereby avoiding the occurrence of local optima.
[0043] Furthermore, the currently generated mutated individuals are added to the current population, and individuals with poor performance are eliminated accordingly. While maintaining the same number of individuals in the current population, the current population continues to evolve. Then, the genetic algorithm is re-executed until the current population has been updated a preset number of iterations or the fitness values of each individual in the current population have stabilized. If the change in the total fitness value of the population over N consecutive iterations is less than a preset fitness change threshold, or the change in the fitness value of each individual in the population over N consecutive iterations is less than a preset fitness change threshold, then the fitness values of each individual in the current population are considered to have converged. N is a positive integer greater than or equal to 2, and this embodiment does not impose specific limitations on it.
[0044] Furthermore, after the genetic algorithm ends, the individual with the highest fitness value in the current population is the optimal individual, and each gene locus in the optimal individual is the optimal data allocation ratio for each effective transmission interface.
[0045] This invention, through continuous selection, crossover, mutation, and replacement of individuals in the current population based on the current data transmission optimization goal, enables the current population to continuously evolve towards the data transmission optimization goal, ultimately obtaining the optimal data transmission allocation ratio for each effective transmission interface, which can meet the current data transmission requirements and improve the flexibility of data transmission.
[0046] As a preferred embodiment, generating the initial population corresponding to each of the effective transmission interfaces based on the transmission status information specifically includes: Based on the transmission status information, the network performance of each valid transmission interface is sorted to obtain the network performance ranking of each valid transmission interface. Based on the network performance ranking, an initial population corresponding to each of the effective transmission interfaces is generated; wherein, the effective transmission interface with the lowest network performance ranking has the smallest initial data allocation ratio.
[0047] Specifically, to ensure that the population evolves towards the data transmission optimization goal during the genetic algorithm process and to reduce the number of invalid iterations, this embodiment first needs to rank the network performance of each effective transmission interface based on transmission status information. It is worth noting that this embodiment does not specifically limit the method of ranking network performance. For example, this embodiment can rank network performance based on the current data transmission optimization goal. If the current data transmission optimization goal is to maximize the data transmission rate, then the data transmission rate of each effective transmission interface is directly used as the network performance ranking indicator; the higher the data transmission rate, the higher the network performance ranking. Alternatively, this embodiment can also use machine learning algorithms, such as cluster analysis, decision tree algorithms, neural networks, etc., to comprehensively evaluate the network performance based on the transmission status information of each effective transmission interface, and finally determine the network performance ranking of each effective transmission interface. Alternatively, this embodiment can also use historical data and time series analysis methods to predict the network performance of each effective transmission interface in future data transmission periods based on the current transmission status information of each effective transmission interface and rank them, thereby enabling timely detection and handling of potential communication channel performance degradation or failures.
[0048] Furthermore, for effective transmission interfaces with higher network performance rankings, a higher initial data allocation ratio is assigned to them during population initialization. This guides the genetic algorithm towards optimizing data transmission during population initialization. Conversely, if effective transmission interfaces with lower network performance rankings are assigned a high initial data allocation ratio, the genetic algorithm may need to iterate multiple times to gradually reduce the data allocation ratio for these interfaces, increasing the number of iterations.
[0049] For example, suppose that at some point, the Wi-Fi signal suddenly becomes unstable, causing a decrease in the data transmission rate and an increase in the data loss rate of the Wi-Fi interface. In this case, the genetic algorithm will tend to reduce the data allocation ratio of the Wi-Fi interface and increase the allocation ratio of the cellular data interface and Bluetooth interface to maintain overall transmission efficiency. If high-priority data (such as emergency alarm information) needs to be transmitted first, the genetic algorithm can dynamically adjust the channel allocation ratio by adjusting the fitness function to give higher weight to high-priority data, thereby ensuring the timely transmission of critical data. Considering the limited power resources, for power-sensitive applications, such as battery-powered mobile devices, the genetic algorithm can also incorporate power consumption as part of the fitness function to dynamically adjust data allocation and extend device battery life. Through the genetic algorithm, the allocation ratio of data to be transmitted on different transmission channels can be effectively adjusted dynamically according to real-time network conditions and data transmission needs, thereby optimizing the efficiency, stability, and energy consumption of data transmission.
[0050] It is worth noting that even after adjusting the data allocation strategy, this embodiment continues to monitor the transmission status information of each valid transmission interface. By periodically adjusting the data allocation strategy, the continuity and stability of data transmission can be ensured. For example, suppose that at a certain moment, monitoring the transmission status information of each valid transmission interface reveals a decrease in the signal strength and data transmission rate of a certain Wi-Fi interface, while the performance of the Bluetooth interface remains relatively stable. In this case, the data allocation strategy can be adjusted to transfer a portion of the data traffic originally allocated to the Wi-Fi interface to the Bluetooth interface, while simultaneously reducing the data transmission rate of the Wi-Fi interface. This reduces packet loss and retransmissions, maintains overall transmission efficiency, and achieves refined management and optimization of multi-channel data transmission, ensuring efficient, stable, and secure data transmission in complex and ever-changing network environments.
[0051] This invention, through ranking the network performance of each valid transmission interface based on transmission status information and initializing the population according to the network performance ranking of each valid transmission interface, can reduce the number of invalid iterations of the genetic algorithm, guide the genetic algorithm to better optimize in the direction of data transmission optimization, thereby reducing the optimization time of the genetic algorithm and improving the efficiency of data transmission.
[0052] As a preferred embodiment, the method further includes: The BBR algorithm is used to adjust the data transmission rate and congestion window of each of the effective transmission interfaces, so as to perform parallel data transmission using each of the effective transmission interfaces according to the adjusted data transmission rate and the adjusted congestion window.
[0053] Specifically, this embodiment employs the BBR algorithm (Bottleneck Bandwidth and Round-trip Propagation Time) for congestion control in data transmission. The BBR algorithm can more accurately estimate the network bottleneck bandwidth, reducing packet queuing delays and thus achieving more efficient transmission in high-bandwidth, low-latency network environments. This embodiment calculates the current network bottleneck bandwidth using the BBR algorithm and uses this as a reference for subsequent data transmission. Once network congestion is detected, a backoff phase is initiated, gradually reducing the data transmission rate of the effective transmission interfaces until the network congestion is eliminated. After the backoff phase, data is transmitted at the optimal rate to ensure effective utilization of network resources. Furthermore, based on the BBR algorithm, the congestion window corresponding to each effective transmission interface can be adjusted to control the amount of unacknowledged data and avoid network congestion.
[0054] As a preferred embodiment, the adjustment of the data transmission rate and congestion window of each effective transmission interface using the BBR algorithm specifically includes: Real-time measurement of packet loss rate, round-trip time of data packets, and number of ACK packets received within the round-trip time of data packets at the effective transmission interface; The current network bottleneck bandwidth is determined based on the ratio of the number of ACK messages received to the round-trip time of the data packets. Based on the network bottleneck bandwidth, the data packet round-trip time, and the preset maximum congestion window, determine the current target congestion window, and use the target congestion window to adjust the congestion window of the effective transmission interface; Based on the network bottleneck bandwidth and the current network congestion status, the data transmission rate of the effective transmission interface is adjusted; wherein, the network congestion status is determined based on the packet loss rate or the data packet round-trip time.
[0055] Specifically, based on the BBR algorithm, this embodiment can measure the packet loss rate of the effective transmission interface, the round-trip time of data packets, and the number of ACK packets received within the round-trip time of data packets by actively sending probe data packets to the data receiving end and receiving ACK (Acknowledge Character) messages fed back by the data receiving end.
[0056] Furthermore, the current network bottleneck bandwidth is determined by measuring the arrival rate of ACK packets, expressed as: B=ACK count / RTT; where B is the network bottleneck bandwidth, ACK count RTT is the number of ACK messages received during the round-trip time of a data packet. RTT is the round-trip time of a data packet, which is the time it takes for a data packet to travel from the data sender to the data receiver and back.
[0057] Furthermore, in this embodiment, the size of the congestion window is adjusted according to the network bottleneck bandwidth and the round-trip time of data packets to avoid network congestion. The calculation expression for the target congestion window is: w=min(B×RTT,MaxWindow), where w is the target congestion window and MaxWindow is the preset maximum congestion window.
[0058] Furthermore, the current network congestion status is determined based on the measured packet loss rate or round-trip time. For example, when the packet loss rate exceeds a preset threshold or the round-trip time exceeds a preset threshold, the network is considered congested. Understandably, during the probing phase of the BBR algorithm, the data transmission rate of the effective transmission interface is continuously increased to the network bottleneck bandwidth to probe the network's carrying capacity. When the network is congested, the data transmission rate of the effective transmission interface is adjusted to half the network bottleneck bandwidth to quickly clear the network queue. During the steady-state phase of the BBR algorithm, the network bandwidth is relatively stable. Therefore, the data transmission rate of the effective transmission interface is gradually adjusted to approach the network bottleneck bandwidth according to a preset data transmission rate adjustment ratio to avoid approaching the bottleneck bandwidth too quickly. At this point, the data transmission rate must be less than the network bottleneck bandwidth to leave some margin to avoid network congestion.
[0059] This invention employs the BBR algorithm for real-time congestion control during data transmission, which avoids prolonged network congestion and ensures stable and efficient data transmission.
[0060] As a preferred embodiment, the method further includes: When a packet loss event is detected on any valid transmission interface based on the packet loss rate, the congestion window of the valid transmission interface is adjusted according to a preset congestion window reduction ratio.
[0061] Specifically, this embodiment can predefine a packet loss rate threshold to determine whether the current packet loss rate indicates a packet loss event. When a packet loss event occurs, this embodiment reduces the congestion window of the effective transmission interface where the packet loss event occurred according to a preset congestion window reduction ratio to respond to the current network congestion phenomenon, thereby eliminating network congestion more quickly.
[0062] As a preferred embodiment, the real-time acquisition of the transmission status information of each currently valid transmission interface specifically includes: According to a preset status data packet transmission period, a first status data packet is sent to the data receiving end; wherein, the first status data packet carries status data packet transmission information, current timestamp, transmission interface identifier, status data packet sequence number and priority processing flag; the first status data packet is used to instruct the data receiving end to send back a second status data packet carrying the status data packet transmission information and status data packet reception information; When the second status data packet fed back by the data receiving end is received, the transmission status information of each of the current valid transmission interfaces is obtained based on the status data packet sending information and the status data packet receiving information in the second status data packet.
[0063] Specifically, the data transmission in this embodiment of the invention is based on the ATP (Adaptive Transmission Protocol). During the initialization phase of the ATP protocol, the state data packet transmission period needs to be set. After determining all valid transmission interfaces participating in the transmission, an identifier is assigned to each valid transmission interface to facilitate data correspondence in the state data packets. Furthermore, the key required for the encryption algorithm needs to be initialized to ensure that a valid encryption key can be obtained before each state data packet transmission. Simultaneously, a key periodic replacement mechanism is implemented, selecting the most suitable compression algorithm based on network conditions and data type to ensure a balance between compression efficiency and decompression time. Additionally, a state packet priority queue needs to be set up, defining the queue's capacity, overflow handling strategy, and queue management algorithm, such as FIFO (First In, First Out), LIFO (Last In, First Out), or a priority queue.
[0064] In this embodiment, the transmission status information includes at least signal strength, data transmission rate, and packet loss rate. Therefore, it is necessary to monitor this transmission status information in real time through the sending and receiving of status data packets. In addition to containing status data packet transmission information for measuring this transmission status information, the first transmitted status data packet also needs to carry a current timestamp, transmission interface identifier, status data packet sequence number, and priority processing flag. This facilitates data sorting and synchronization at the data receiving end and ensures that status data packets are prioritized for processing during network congestion, guaranteeing timely optimization of the data transmission ratio. It is worth noting that the status data packet transmission information in this embodiment includes, but is not limited to, signal strength, transmission time, and transmission rate.
[0065] Furthermore, to ensure the security of status data packet transmission, this embodiment sequentially compresses and encrypts the first status data packet before sending it to the data receiving end. Upon receiving the first status data packet, the data receiving end sequentially decrypts and decompresses it to recover the original data. Then, it uses a second status data packet to feed back status data packet transmission and reception information. It is understood that the status data packet reception information includes, but is not limited to, reception time and reception error information. Based on the transmission and reception times, the current data transmission rate with the data receiving end can be measured, and based on the reception error information, the current packet loss rate can be measured. For the data receiving end, once an error is detected, it immediately requests a retransmission or takes other corrective measures.
[0066] In this embodiment, in addition to encrypting state data packets, the ATP protocol also supports end-to-end encryption to ensure the integrity and confidentiality of data during transmission and prevent man-in-the-middle attacks and data leaks.
[0067] This invention enables dynamic and accurate channel quality perception by periodically sending first status data packets to monitor the transmission status information of each valid transmission interface in real time, thereby improving the accuracy of data allocation to each valid transmission interface.
[0068] As a preferred embodiment, the status data packet transmission period during peak data transmission periods is shorter than the status data packet transmission period during off-peak data transmission periods; The peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is greater than or equal to a preset traffic threshold, and the non-peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is less than the preset traffic threshold.
[0069] Specifically, this embodiment can automatically shorten the status data packet sending cycle during peak data transmission periods and adjust the data transmission allocation ratio of each effective transmission interface in a timely manner, thereby enabling timely response to the changing network environment during peak data transmission periods. During off-peak data transmission periods, it can automatically extend the status data packet sending cycle, thereby reducing network load.
[0070] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: The FEC algorithm is used to perform error correction coding on the current data to be transmitted, generating FEC-coded data to be transmitted. The parallel data transmission using each of the effective transmission interfaces specifically refers to: The FEC-encoded data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
[0071] Specifically, the FEC (Forward Error Correction) algorithm adds redundant information to the original data, enabling the data receiver to detect and correct errors during transmission without relying on retransmission. For the data to be transmitted, it is divided into multiple data blocks, and then the FEC algorithm is used to generate corresponding redundant blocks, which are sent along with the original data blocks. At the data receiver, the received data blocks and redundant blocks are decoded, enabling the detection and correction of a certain number of errors. Even if some data blocks are lost or corrupted during transmission, the original data can be recovered.
[0072] This invention employs the FEC algorithm to perform error correction coding on the current data to be transmitted, thereby increasing data redundancy and improving the fault tolerance of data transmission.
[0073] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: Perform CRC calculation on the current data to be transmitted to generate a CRC check value; wherein, the CRC check value is used to instruct the data receiving end to perform CRC check on the received data to be transmitted.
[0074] Specifically, in this embodiment, before sending the data to be transmitted, a CRC (Cyclic Redundancy Check) calculation is first performed to generate a CRC check value. This CRC check value is then sent along with the data to be transmitted to the data receiving end. At the data receiving end, the CRC value of the received data is recalculated and compared with the received CRC check value. If they match, the received data is considered complete and error-free; if they do not match, it indicates that an error occurred during the transmission of the received data.
[0075] By performing CRC verification on the data to be transmitted, this embodiment of the invention can ensure the integrity of the data to be transmitted and facilitate the data receiving end to quickly detect data errors that have occurred during transmission.
[0076] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: According to the preset transmission priorities corresponding to different data types, QoS tags are added to each data in the current data to be transmitted; wherein, the QoS tag of any data in the data to be transmitted corresponds to the transmission priority corresponding to the data type of that data. The parallel data transmission using each of the effective transmission interfaces further includes: Based on the QoS tags of each data in the data to be transmitted, determine the transmission order of each data in the data to be transmitted; According to the transmission order, the data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
[0077] Specifically, this embodiment incorporates a QoS (Quality of Service) strategy to prioritize the transmission of critical data. This means that different data types are pre-defined with corresponding transmission priorities. Critical data, such as video streams, voice call data, and sensor monitoring data, have higher transmission priorities to ensure a better user experience. Based on the transmission priorities corresponding to different data types, a corresponding QoS tag can be added to each piece of data to be transmitted, representing its transmission priority. This allows for the priority transmission of critical data during parallel data transmission.
[0078] In this embodiment of the invention, by employing the ATP protocol, multi-path data transmission can be supported. Based on the transmission status information of each effective transmission interface, the data transmission allocation ratio can be reasonably set, thereby distributing the current data to be transmitted to multiple transmission channels for transmission, thus improving data transmission efficiency. A congestion control algorithm is adopted to ensure that when network congestion occurs, the data transmission rate and congestion window of the effective transmission interface can be quickly adjusted to avoid further exacerbation of network congestion. When data is transmitted in parallel, QoS policies can be combined to ensure the priority transmission of critical data.
[0079] Please see Figure 2 A second aspect of the present invention provides a multi-channel data transmission device 100, comprising: The transmission status information monitoring module 11 is used to obtain the transmission status information of each valid transmission interface in real time. The data allocation module 12 is used to allocate data to each of the effective transmission interfaces based on the transmission status information, and obtain the data allocation ratio of each of the effective transmission interfaces. The data transmission module 13 is used to perform parallel data transmission using each of the effective transmission interfaces based on the data transmission allocation ratio.
[0080] As a preferred embodiment, the transmission data allocation module 12 is used to allocate data to each of the valid transmission interfaces based on the transmission status information, and to obtain the transmission data allocation ratio of each of the valid transmission interfaces, specifically including: Based on the transmission status information, an initialization population corresponding to each of the effective transmission interfaces is generated; wherein, each individual in the initialization population is composed of different initialization data allocation ratios for each of the effective transmission interfaces; Using the initial population as the current population, and according to the preset data transmission optimization target, a genetic algorithm is used to iteratively optimize the data allocation ratio of each effective transmission interface to obtain the data transmission allocation ratio of each effective transmission interface.
[0081] As a preferred embodiment, the data allocation module 12 is used to take the initial population as the current population, and according to a preset data transmission optimization target, iteratively optimize the data allocation ratio of each effective transmission interface using a genetic algorithm to obtain the data allocation ratio of each effective transmission interface, specifically including: Based on the data transmission optimization objective, determine the fitness function; According to the fitness function, calculate the fitness value of each individual in the current population, and select at least two parent individuals from the current population based on the fitness value; At least two parent individuals are crossover processed to generate at least two child individuals; Each of the offspring individuals is subjected to mutation processing to generate at least two mutated individuals; Based on each of the mutated individuals, the current population is updated, and the step of calculating the fitness value of each individual in the current population is re-executed based on the updated current population until the number of updates to the current population reaches the preset number of iterations or the fitness value of each individual in the current population converges. Based on the individual with the highest fitness value in the current population, the data allocation ratio for each effective transmission interface is obtained.
[0082] As a preferred embodiment, the transmission data allocation module 12 is used to generate an initial population corresponding to each of the effective transmission interfaces based on the transmission status information, specifically including: Based on the transmission status information, the network performance of each valid transmission interface is sorted to obtain the network performance ranking of each valid transmission interface. Based on the network performance ranking, an initial population corresponding to each of the effective transmission interfaces is generated; wherein, the effective transmission interface with the lowest network performance ranking has the smallest initial data allocation ratio.
[0083] As a preferred embodiment, the device is further used for: The BBR algorithm is used to adjust the data transmission rate and congestion window of each of the effective transmission interfaces, so as to perform parallel data transmission using each of the effective transmission interfaces according to the adjusted data transmission rate and the adjusted congestion window.
[0084] As a preferred embodiment, the device is used to adjust the data transmission rate and congestion window of each of the effective transmission interfaces using the BBR algorithm, specifically including: Real-time measurement of packet loss rate, round-trip time of data packets, and number of ACK packets received within the round-trip time of data packets at the effective transmission interface; The current network bottleneck bandwidth is determined based on the ratio of the number of ACK messages received to the round-trip time of the data packets. Based on the network bottleneck bandwidth, the data packet round-trip time, and the preset maximum congestion window, determine the current target congestion window, and use the target congestion window to adjust the congestion window of the effective transmission interface; Based on the network bottleneck bandwidth and the current network congestion status, the data transmission rate of the effective transmission interface is adjusted; wherein, the network congestion status is determined based on the packet loss rate or the data packet round-trip time.
[0085] As a preferred embodiment, the device is further used for: When a packet loss event is detected on any valid transmission interface based on the packet loss rate, the congestion window of the valid transmission interface is adjusted according to a preset congestion window reduction ratio.
[0086] As a preferred embodiment, the transmission status information monitoring module 11 is used to acquire the transmission status information of each valid transmission interface in real time, specifically including: According to a preset status data packet transmission period, a first status data packet is sent to the data receiving end; wherein, the first status data packet carries status data packet transmission information, current timestamp, transmission interface identifier, status data packet sequence number and priority processing flag; the first status data packet is used to instruct the data receiving end to send back a second status data packet carrying the status data packet transmission information and status data packet reception information; When the second status data packet fed back by the data receiving end is received, the transmission status information of each of the current valid transmission interfaces is obtained based on the status data packet sending information and the status data packet receiving information in the second status data packet.
[0087] As a preferred embodiment, the status data packet transmission period during peak data transmission periods is shorter than the status data packet transmission period during off-peak data transmission periods; The peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is greater than or equal to a preset traffic threshold, and the non-peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is less than the preset traffic threshold.
[0088] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the apparatus is further configured to: The FEC algorithm is used to perform error correction coding on the current data to be transmitted, generating FEC-coded data to be transmitted. The data transmission module 13 is used to perform parallel data transmission using each of the effective transmission interfaces, specifically: The FEC-encoded data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
[0089] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the apparatus is further configured to: Perform CRC calculation on the current data to be transmitted to generate a CRC check value; wherein, the CRC check value is used to instruct the data receiving end to perform CRC check on the received data to be transmitted.
[0090] As a preferred embodiment, before performing parallel data transmission using each of the effective transmission interfaces, the apparatus is further configured to: According to the preset transmission priorities corresponding to different data types, QoS tags are added to each data in the current data to be transmitted; wherein, the QoS tag of any data in the data to be transmitted corresponds to the transmission priority corresponding to the data type of that data. The data transmission module 13 is used to perform parallel data transmission using each of the effective transmission interfaces, and specifically further includes: Based on the QoS tags of each data in the data to be transmitted, determine the transmission order of each data in the data to be transmitted; According to the transmission order, the data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
[0091] The multi-channel data transmission device 100 provided in this embodiment of the invention allocates data to each valid transmission interface based on the current transmission status information of each valid transmission interface, and transmits data in parallel through each valid transmission interface after data allocation. This can significantly improve the transmission efficiency and stability of data to be transmitted at each time, ensure the continuity of data transmission, effectively reduce the probability of data transmission interruption, and thus meet the transmission needs of large files.
[0092] Please see Figure 3 The third aspect of the present invention provides an electronic device 200, including a memory 22, a processor 21, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, it implements the multi-channel data transmission method described in any embodiment of the first aspect.
[0093] For example, the computer program may be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the electronic device 200.
[0094] The electronic device 200 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 200 and does not constitute a limitation on the electronic device 200. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the electronic device 200 may also include input / output devices, network access devices, buses, etc.
[0095] The processor 21 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor 21 can be any conventional processor 21. The processor 21 is the control center of the electronic device 200, connecting various parts of the electronic device 200 via various interfaces and lines.
[0096] The memory 22 can be used to store the computer programs and / or modules. The processor 21 implements various functions of the electronic device 200 by running or executing the computer programs and / or modules stored in the memory 22 and calling the data stored in the memory 22. The memory 22 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0097] A fourth aspect of the present invention provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the multi-channel data transmission method described in any embodiment of the first aspect.
[0098] A fifth aspect of the present invention provides a computer program product, including a computer program / instructions, wherein when the computer program / instructions are executed by a processor, the steps of the multi-channel data transmission method described in any embodiment of the first aspect are implemented.
[0099] Wherein, if the modules / units integrated in the electronic device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0100] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A multi-channel data transmission method, characterized in that, include: Real-time acquisition of transmission status information for each currently valid transmission interface; Based on the transmission status information, data is allocated to each of the valid transmission interfaces to obtain the transmission data allocation ratio of each of the valid transmission interfaces. Based on the data allocation ratio, data is transmitted in parallel using each of the effective transmission interfaces.
2. The multi-channel data transmission method as described in claim 1, characterized in that, The step of allocating data to each of the valid transmission interfaces based on the transmission status information to obtain the transmission data allocation ratio for each of the valid transmission interfaces specifically includes: Based on the transmission status information, an initialization population corresponding to each of the effective transmission interfaces is generated; wherein, each individual in the initialization population is composed of different initialization data allocation ratios for each of the effective transmission interfaces; Using the initial population as the current population, and according to the preset data transmission optimization target, a genetic algorithm is used to iteratively optimize the data allocation ratio of each effective transmission interface to obtain the data transmission allocation ratio of each effective transmission interface.
3. The multi-channel data transmission method as described in claim 2, characterized in that, The step of using the initialized population as the current population and employing a genetic algorithm to iteratively optimize the data allocation ratio of each effective transmission interface according to a preset data transmission optimization goal, to obtain the data allocation ratio of each effective transmission interface, specifically includes: Based on the data transmission optimization objective, determine the fitness function; According to the fitness function, calculate the fitness value of each individual in the current population, and select at least two parent individuals from the current population based on the fitness value; At least two parent individuals are crossover processed to generate at least two child individuals; Each of the offspring individuals is subjected to mutation processing to generate at least two mutated individuals; Based on each of the mutated individuals, the current population is updated, and the step of calculating the fitness value of each individual in the current population is re-executed based on the updated current population until the number of updates to the current population reaches the preset number of iterations or the fitness value of each individual in the current population converges. Based on the individual with the highest fitness value in the current population, the data allocation ratio for each effective transmission interface is obtained.
4. The multi-channel data transmission method as described in claim 2, characterized in that, The step of generating an initial population corresponding to each of the valid transmission interfaces based on the transmission status information specifically includes: Based on the transmission status information, the network performance of each valid transmission interface is sorted to obtain the network performance ranking of each valid transmission interface. Based on the network performance ranking, an initial population corresponding to each of the effective transmission interfaces is generated; wherein, the effective transmission interface with the lowest network performance ranking has the smallest initial data allocation ratio.
5. The multi-channel data transmission method as described in claim 1, characterized in that, The method further includes: The BBR algorithm is used to adjust the data transmission rate and congestion window of each of the effective transmission interfaces, so as to perform parallel data transmission using each of the effective transmission interfaces according to the adjusted data transmission rate and the adjusted congestion window.
6. The multi-channel data transmission method as described in claim 5, characterized in that, The adjustment of the data transmission rate and congestion window of each effective transmission interface using the BBR algorithm specifically includes: Real-time measurement of packet loss rate, round-trip time of data packets, and number of ACK packets received within the round-trip time of data packets at the effective transmission interface; The current network bottleneck bandwidth is determined based on the ratio of the number of ACK messages received to the round-trip time of the data packets. Based on the network bottleneck bandwidth, the data packet round-trip time, and the preset maximum congestion window, determine the current target congestion window, and use the target congestion window to adjust the congestion window of the effective transmission interface; Based on the network bottleneck bandwidth and the current network congestion status, the data transmission rate of the effective transmission interface is adjusted; wherein, the network congestion status is determined based on the packet loss rate or the data packet round-trip time.
7. The multi-channel data transmission method as described in claim 6, characterized in that, The method further includes: When a packet loss event is detected on any valid transmission interface based on the packet loss rate, the congestion window of the valid transmission interface is adjusted according to a preset congestion window reduction ratio.
8. The multi-channel data transmission method as described in claim 1, characterized in that, The real-time acquisition of the transmission status information of each valid transmission interface specifically includes: According to a preset status data packet transmission period, a first status data packet is sent to the data receiving end; wherein, the first status data packet carries status data packet transmission information, current timestamp, transmission interface identifier, status data packet sequence number and priority processing flag; the first status data packet is used to instruct the data receiving end to send back a second status data packet carrying the status data packet transmission information and status data packet reception information; When the second status data packet fed back by the data receiving end is received, the transmission status information of each of the current valid transmission interfaces is obtained based on the status data packet sending information and the status data packet receiving information in the second status data packet.
9. The multi-channel data transmission method as described in claim 8, characterized in that, The status data packet transmission period is shorter during peak data transmission periods than during off-peak data transmission periods; The peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is greater than or equal to a preset traffic threshold, and the non-peak data transmission period is the period during which the data transmission traffic of the effective transmission interface is less than the preset traffic threshold.
10. The multi-channel data transmission method as described in claim 1, characterized in that, Before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: The FEC algorithm is used to perform error correction coding on the current data to be transmitted, generating FEC-coded data to be transmitted. The parallel data transmission using each of the effective transmission interfaces specifically refers to: The FEC-encoded data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
11. The multi-channel data transmission method as described in claim 1, characterized in that, Before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: Perform CRC calculation on the current data to be transmitted to generate a CRC check value; wherein, the CRC check value is used to instruct the data receiving end to perform CRC check on the received data to be transmitted.
12. The multi-channel data transmission method as described in claim 1, characterized in that, Before performing parallel data transmission using each of the effective transmission interfaces, the method further includes: According to the preset transmission priorities corresponding to different data types, QoS tags are added to each data in the current data to be transmitted; wherein, the QoS tag of any data in the data to be transmitted corresponds to the transmission priority corresponding to the data type of that data. The parallel data transmission using each of the effective transmission interfaces further includes: Based on the QoS tags of each data in the data to be transmitted, determine the transmission order of each data in the data to be transmitted; According to the transmission order, the data to be transmitted is transmitted in parallel using each of the effective transmission interfaces.
13. A multi-channel data transmission device, characterized in that, include: The transmission status information monitoring module is used to obtain the transmission status information of each valid transmission interface in real time. The data allocation module is used to allocate data to each of the valid transmission interfaces based on the transmission status information, and obtain the data allocation ratio of each of the valid transmission interfaces. The data transmission module is used to perform parallel data transmission using each of the effective transmission interfaces based on the data transmission allocation ratio.
14. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the multi-channel-based data transmission method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the multi-channel-based data transmission method according to any one of claims 1 to 12.
16. A computer program product, characterized in that, It includes a computer program / instructions that, when executed by a processor, implement the steps of the multi-channel data transmission method according to any one of claims 1 to 12.