Multi-transmission-path cooperative control method and device, medium and equipment
By obtaining and calculating the performance indicators and path quality of the communication link in real time, dynamically determining the transmission path of data packets, solving the problem that existing communication systems cannot coordinately manage different links, and achieving efficient and stable data transmission.
Patent Information
- Application Number
- CN202510616770.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-06-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing communication systems cannot effectively coordinate the management of the characteristics of different communication links, resulting in data flows that may go incorrectly, have low transmission efficiency, and even cause communication breakage.
By obtaining multiple performance indicators of each preset transmission path in real time, calculating the path quality, and dynamically determining the transmission path of the data packet based on the current transmission strategy, the coordinated management of different communication links is realized.
It effectively solves the problem that different links cannot work together. By intelligently selecting paths, heterogeneous links can cooperate efficiently in the same network, improving the stability, efficiency and reliability of data transmission.
Smart Images

Figure CN120128525A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information and communication technologies, and in particular, to a multi-transmission path collaborative control method, device, medium, and equipment. Background Art
[0002] Different communication links (such as SparkLink, Wi-Fi, 5G, Bluetooth, and wired networks) each have unique characteristics. Among them, SparkLink is good at low-power short-distance communication, Wi-Fi is suitable for high-speed data transmission, 5G has a larger coverage area and lower latency, Bluetooth is mainly used for short-distance device connection, and wired networks are stable but less flexible. However, due to the large differences in the characteristics of these links at the physical layer and the transport layer, traditional communication systems fail to provide good support for these characteristics and cannot achieve effective collaborative management of them. As a result, data streams may take the wrong path, the transmission efficiency is low, and even communication breaks may occur. Summary of the Invention
[0003] Based on this, it is necessary to provide a multi-transmission path collaborative control method, device, medium, and equipment to solve the problem that the existing communication system cannot achieve effective collaborative management of different communication links.
[0004] In a first aspect, an embodiment of the present application provides a multi-transmission path collaborative control method, which is applied to a sending end. The method includes: Obtaining in real time a plurality of performance indicators of each preset transmission path in different dimensions; Calculating the path quality of each preset transmission path based on the plurality of performance indicators; Determining the current transmission strategy, and based on the transmission strategy and the path quality of each preset transmission path, allocating the transmission path of the sharded data packet and performing transmission.
[0005] In one embodiment, the plurality of performance indicators include the acquisition bandwidth, delay, and packet loss rate. Calculating the path quality of each preset transmission path based on the plurality of performance indicators includes: Obtaining the acquisition bandwidth extreme value and the delay extreme value; wherein, the acquisition bandwidth extreme value is the maximum or minimum value of the acquisition bandwidths of a plurality of preset transmission paths, and the delay extreme value is the maximum or minimum value of the delays of a plurality of preset transmission paths; For each preset transmission path, calculating a first ratio between the corresponding acquisition bandwidth and the acquisition bandwidth extreme value, and calculating a second ratio between the corresponding delay and the delay extreme value, and calculating the path quality by weighted calculation according to the first ratio, the second ratio, and the packet loss rate.
[0006] In one embodiment, the determining of the current transmission policy, allocating the transmission paths of the shard data packets based on the transmission policy and the path quality of each preset transmission path and performing transmission includes: If the current transmission policy is a single-path transmission policy, then use the preset transmission path with the highest current path quality as the target path, and allocate all shard data packets to the target path for transmission.
[0007] Use all preset transmission paths other than the target path as alternative paths. Whenever the path quality of the target path is less than a preset quality threshold, use the alternative path with the highest current path quality as the target path.
[0008] In one embodiment, the determining of the current transmission policy, allocating the transmission paths of the shard data packets based on the transmission policy and the path quality of each preset transmission path and performing transmission includes: If the current transmission policy is a multi-path transmission policy, calculate the corresponding allocation ratio based on the path quality of each preset transmission path; wherein, there is a positive correlation between the allocation ratio of each preset transmission path and the corresponding path quality; Allocate the shard data packets based on the allocation ratio and perform transmission.
[0009] In a second aspect, an embodiment of the present application further provides a multi-transmission path cooperative control method, which is applied to a receiving end. The method includes: Receive a plurality of shard data packets; wherein, the plurality of shard data packets are sent through a multi-transmission path cooperative control method applied to a sending end; Sort and reorganize the plurality of shard data packets to obtain a reorganized data packet.
[0010] In one embodiment, after receiving the plurality of shard data packets, it further includes: Obtain the clock offset of the calibration path sent by the sending end, and perform clock calibration based on the clock offset; wherein, the calibration path is the transmission path with the smallest delay among the plurality of preset transmission paths.
[0011] In one embodiment, the performance metric includes delay. The sorting and reorganizing the plurality of shard data packets to obtain the reorganized data includes: Update the receiving time of the target shard data packet according to the delay of the target transmission path to obtain the target receiving time; wherein, the target transmission path is any one of the plurality of preset transmission paths, and the target shard data packet is any one of the shard data packets sent under the target transmission path; Sort according to the target receiving time of each shard data packet, and reorganize all shard data packets according to the sorting result to obtain a reorganized data packet.
[0012] In a third aspect, an embodiment of the present application further provides a multi - transmission - path collaborative control device, which is applied to a sending end. The multi - transmission - path collaborative control device includes: An index acquisition module, configured to acquire multiple performance indexes of each preset transmission path in different dimensions in real time; A path quality calculation module, configured to calculate the path quality of each preset transmission path based on the multiple performance indexes; A transmission module, configured to determine a current transmission strategy, and allocate and transmit the sharded data packets based on the transmission strategy and the path quality of each preset transmission path.
[0013] In a fourth aspect, an embodiment of the present application further provides a multi - transmission - path collaborative control device, which is applied to a receiving end. The multi - transmission - path collaborative control device includes: A data receiving module, configured to receive multiple sharded data packets; wherein, the multiple sharded data packets are sent by using the multi - transmission - path collaborative control method applied to the sending end; A sorting and recombination module, configured to sort and recombine the multiple sharded data packets to obtain a recombined data packet.
[0014] In a fifth aspect, an embodiment of the present application further provides a terminal device. The terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the above - mentioned multi - transmission - path collaborative control method are implemented.
[0015] In a sixth aspect, an embodiment of the present application further provides a computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above - mentioned multi - transmission - path collaborative control method are implemented.
[0016] In a seventh aspect, an embodiment of the present application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer - readable storage medium. A processor of a computer device reads the computer instructions from the computer - readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various alternative implementation manners described in the embodiments of the present application.
[0017] The present invention provides a multi - transmission path collaborative control method, device, medium and equipment. First, it monitors multiple performance indicators of each preset transmission path in real - time, then calculates the path quality based on these indicators, and finally the sender dynamically determines the transmission path of the data packet according to the current transmission strategy and the path quality. The beneficial effect of the present invention is that it can effectively solve the problem that different links in the existing communication system cannot work collaboratively. By intelligently selecting the path through the transmission strategy and path quality, heterogeneous links can efficiently cooperate in the same network, improving the stability, efficiency and reliability of overall data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0019] Wherein: Figure 1 It is a schematic flowchart of the multi - transmission path collaborative control method provided by the first embodiment; Figure 2 It is a schematic flowchart of the multi - transmission path collaborative control method provided by the second embodiment; Figure 3 It is a schematic structural diagram of the multi - transmission path collaborative control device applied to the sender; Figure 4 It is a schematic structural diagram of the multi - transmission path collaborative control device applied to the receiver; Figure 5 It is a structural block diagram of the terminal device. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0021] In the description and claims of this application, as well as in the above-mentioned drawings, terms such as "first", "second", etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products, or devices.
[0022] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of this application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
[0023] Please refer to Figure 1 , Figure 1 The flowchart of the multi-transmission path collaborative control method provided for the first embodiment. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown in the drawings. Specifically, the multi-transmission path collaborative control method provided in this first embodiment is applied to a sending end, which refers to a device or system that initiates data transmission. The sending end may be a server, a router, a gateway, or a terminal device such as a smart phone or a tablet.
[0024] The specific process of this multi-transmission path collaborative control method is as follows: S101, obtain multiple performance indicators of each preset transmission path in different dimensions in real time.
[0025] Among them, the preset transmission path refers to a pre-configured heterogeneous communication link. Exemplarily, the preset transmission path here may at least include five types: XingShan, Wi-Fi, 5G, Bluetooth, and wired path. Different communication links each have unique characteristics. Among them, XingShan is good at low-power short-distance communication, Wi-Fi is suitable for high-speed data transmission, 5G has a larger coverage range and lower latency, Bluetooth is mainly used for short-distance device connection, and although wired networks are stable, they have poor flexibility. The purpose of the present invention is to effectively manage the collaboration of these paths when performing multi-path transmission.
[0026] Among them, the performance indicator here refers to a quantitative indicator for measuring communication quality. Exemplarily, it may include end-to-end transmission delay, effective throughput, bit error rate, and power consumption per unit bit, etc., and can be specifically defined according to actual needs.
[0027] Optionally, extend the Netlink subsystem of Linux to establish efficient communication between user-space processes and the kernel network stack using Netlink Sockets, and achieve real-time monitoring of multiple preset transmission paths. The specific methods include: listening to Traffic Control (TC) to obtain bandwidth information, calculating latency using TCP timestamp, obtaining packet loss rate through network status statistics tools, and combining power consumption monitoring tools to monitor the power consumption per bit. The user-space process listens for network status changes based on non-blocking Netlink Sockets, updates the path quality evaluation data in real time, and provides a basis for optimizing the transmission strategy, thereby improving the stability and efficiency of data transmission.
[0028] S102, calculate the path quality of each preset transmission path based on multiple performance metrics.
[0029] Among them, the path quality is the result of a comprehensive evaluation of each preset transmission path, indicating the degree to which the path is suitable for data transmission under the current conditions.
[0030] Optionally, calculate the path quality in the kernel space. The path quality can be the result of a weighted calculation based on multiple performance metrics. A higher path quality means that the path is suitable for efficient transmission.
[0031] S103, determine the current transmission strategy, and allocate and transmit the sharded data packets based on the transmission strategy and the path quality of each preset transmission path.
[0032] Among them, the transmission strategy determines how to use each link in the network. It can be understood that according to the quality of the current link and the transmission requirements, the transmission strategy can have different forms. For example, single-path transmission: select an optimal path in real time for data transmission. Multi-path transmission: divide the data into multiple shards and allocate them to different paths for parallel transmission. Path priority: set priorities for different paths and determine the preferred choice for data transmission according to the path quality. Load balancing: dynamically adjust the allocation ratio of data traffic according to the quality of each path to achieve load balancing between paths.
[0033] Optionally, in the Linux network stack, during the process of allocating transmission paths for sharded data packets, the packet distribution is scheduled through a Queueing Discipline (qdisc) to achieve data traffic control between different paths.
[0034] The above multi-transmission path collaborative control method first monitors multiple performance indicators of each preset transmission path in real time, then calculates the path quality based on these indicators, and finally the sender dynamically determines the transmission path of the data packet according to the current transmission strategy and the path quality. The core advantage of this method is that it can effectively solve the problem that different links in the existing communication system cannot work collaboratively. By intelligently selecting the path through the transmission strategy and the path quality, heterogeneous links can efficiently cooperate in the same network, improving the stability, efficiency, and reliability of the overall data transmission.
[0035] Optionally, in a specific embodiment, the multiple performance indicators include the acquisition bandwidth, delay, and packet loss rate. The specific steps for calculating the path quality of each preset transmission path based on the multiple performance indicators in S102 are as follows: A1. Obtain the extreme value of the acquisition bandwidth and the extreme value of the delay.
[0036] Among them, the extreme value of the acquisition bandwidth is the maximum value or the minimum value of the acquisition bandwidths of the multiple preset transmission paths, and the extreme value of the delay is the maximum value or the minimum value .
[0037] A2. For each preset transmission path, calculate the first ratio between the corresponding acquisition bandwidth and the extreme value of the acquisition bandwidth, and calculate the second ratio between the corresponding delay and the extreme value of the delay. Calculate the path quality by weighting the first ratio, the second ratio, and the packet loss rate.
[0038] Among them, the first ratio is used to measure the relative advantage of the path bandwidth. The larger the bandwidth, the higher the ratio. The second ratio is used to measure the relative disadvantage of the delay. The smaller the delay, the lower the ratio and the higher the score. The packet loss rate refers to the proportion of lost data packets in the total data packets during transmission, reflecting the reliability of the path. The lower the packet loss rate, the better the quality of the path.
[0039] Optionally, both the extreme value of the acquisition bandwidth and the extreme value of the delay are the maximum values. The corresponding path quality calculation formula can be:
[0040] Among them, is the path quality of the j-th path, is the weight coefficient, configured by the user-mode control interface. is the acquisition bandwidth of the j-th path, is the delay of the j-th path, is the packet loss rate of the j-th path. Of course, in the above formula, both the extreme value of the acquisition bandwidth and the extreme value of the delay can also be the minimum values.
[0041] In this specific embodiment, through the dynamic evaluation and management of multiple heterogeneous paths, the system can give full play to the advantages of different paths, avoid the burden on a single link, reduce the risk of network congestion or disconnection, and ensure the stability and reliability of data transmission.
[0042] Optionally, in a specific embodiment, determining the current transmission strategy in S103, and allocating and transmitting the sharded data packets based on the transmission strategy and the path quality of each preset transmission path specifically includes the following sub-steps: B1. If the current transmission strategy is a single-path transmission strategy, then use the preset transmission path with the highest current path quality as the target path, and allocate all sharded data packets to the target path for transmission.
[0043] Among them, the single-path transmission strategy means that in the transmission process, one path is selected from multiple paths for data transmission, and multiple paths are not used for parallel transmission. Under this strategy, the path with the best quality is selected as the target path, and the target path will receive all sharded data packets for transmission.
[0044] B2. Use all preset transmission paths other than the target path as alternative paths. Whenever the path quality of the target path is less than the preset quality threshold, use the alternative path with the highest current path quality as the target path.
[0045] That is to say, in the transmission process, the sending end monitors the quality of the target path in real time. Once the quality of the target path drops, it will check whether it is lower than the set quality threshold. If the quality of the target path is lower than the threshold, the sending end will reselect an alternative path with the best quality as the new target path for data transmission.
[0046] In this specific embodiment, by dynamically selecting paths and real-time monitoring path quality, the system can effectively avoid data loss or transmission interruption caused by poor quality of a certain path, and improve the overall transmission stability.
[0047] Optionally, in a specific embodiment, determining the current transmission strategy in S103, and allocating and transmitting the sharded data packets based on the transmission strategy and the path quality of each preset transmission path specifically includes the following sub-steps: C1. If the current transmission strategy is a multi-path transmission strategy, calculate the corresponding allocation ratio based on the path quality of each preset transmission path.
[0048] Among them, the multi-path transmission strategy means that in the data transmission process, multiple paths are used to transmit data in parallel, and the allocation ratio refers to that under the multi-path transmission strategy, the system determines the load ratio allocated to each path based on the quality of each path. In this specific embodiment, the higher the path quality, the larger the allocated ratio. Optionally, the calculation formula for the allocation ratio is:
[0049] Among them, represents the allocation ratio of path j, is the path quality of the j-th path.
[0050] C2, allocate and transmit the sharded data packets based on the allocation ratio.
[0051] That is, the system allocates the sharded data packets according to the ratio of different paths. The amount of data transmitted on each path is proportional to its ratio, so as to achieve load balancing.
[0052] This specific embodiment can dynamically adjust the allocation ratio according to the real-time quality change of each path, ensure that the optimal path is always selected for data transmission, and thus enhance the adaptability of the system to network fluctuations.
[0053] Figure 2 It is a schematic flowchart of the multi-transmission path collaborative control method provided by the second embodiment. Specifically, the multi-transmission path collaborative control method provided by this second embodiment is applied to the receiving end, and the receiving end refers to a device or module responsible for receiving, processing, and reorganizing data, which can specifically be a smart phone, a tablet computer, and various Internet of Things devices, such as smart home sensors, industrial sensors, etc.
[0054] The specific process of this multi-transmission path collaborative control method is as follows: S201, receive multiple sharded data packets.
[0055] Among them, the multiple sharded data packets are sent through the multi-transmission path collaborative control method applied to the sending end.
[0056] S202, sort and reorganize the multiple sharded data packets to obtain a reorganized data packet.
[0057] At the receiving end, the multiple sharded data packets are sent by the sending end through the multi-path transmission control method. The task of the receiving end is to receive these sharded data packets and ensure that it can identify that they are different parts of the same data packet. Once the receiving end receives the sharded data packets, it needs to sort them according to information such as the sequence number and timestamp of each shard. This process ensures that the received shards can be arranged in the correct order and avoids out-of-order situations. After sorting, the receiving end will recombine these shards to form a complete data packet to ensure the correctness and integrity of the data.
[0058] Optionally, in a specific embodiment, after receiving the multiple sharded data packets, the following steps are further executed: D1, obtain the clock offset of the calibration path sent by the sending end, and perform clock calibration based on the clock offset.
[0059] Among them, the calibration path refers to the path with the minimum time delay among multiple preset transmission paths. This path has the lowest time delay fluctuation among multiple paths. Therefore, it can provide the most accurate clock synchronization information to ensure the clock synchronization of all paths in the system. The clock offset refers to the time difference between the clocks at the receiving end and the sending end, which is expressed as:
[0060] Among them, and are timestamps measured through the calibration path, is the time at the sending end, is the time when the receiving end receives the data packet. and are also timestamps measured through the calibration path, is the local time of the receiving end, is the time when the receiving end receives the data packet at another time point.
[0061] If the clock offset result is not zero, the receiving end can adjust its clock to be synchronized. For example, if the clock of the receiving end is 5 ms ahead of the clock of the sending end, the receiving end will subtract 5 ms to correct the local clock, so as to synchronize to the clock of the sending end.
[0062] In this way, through calibration based on the clock offset, the receiving end can keep the clock synchronized with the sending end, eliminate the receiving time error caused by clock inconsistency, and ensure that the data packets are received in the correct order.
[0063] Optionally, in a specific embodiment, the performance metric includes time delay. Sorting and reorganizing the multiple fragmented data packets in S202 to obtain the reorganized data specifically includes the following sub-steps: E1. Update the reception time of the target fragmented data packet according to the time delay of the target transmission path to obtain the target reception time.
[0064] Among them, the target transmission path is any one of the multiple preset transmission paths, and the target fragmented data packet is any fragmented data packet sent under the target transmission path. That is to say, this step performs the same update operation on all fragmented data packets under the same transmission path. Optionally, the formula for this time delay update is:
[0065] Among them, is the reception time of the target fragmented data packet i, is the time delay of the target transmission path j, is the target reception time of the target fragmented data packet i.
[0066] E2, sort according to the target reception time of each fragmented data packet, and reorganize all the fragmented data packets according to the sorting result to obtain a reorganized data packet.
[0067] That is to say, according to the target reception time of each fragment, the receiving end sorts multiple fragments. The fragment with an earlier target reception time is sorted first to ensure that the data packet is reorganized in chronological order. After the sorting is completed, the receiving end reorganizes all the fragmented data packets into a complete original data packet according to the sorting result.
[0068] Through delay correction in this specific embodiment, the receiving end can ensure that all fragments are correctly reorganized in order, thereby reducing incorrect transmissions caused by delay differences or path instability and improving the reliability of data transmission.
[0069] To facilitate better implementation of the multi-transmission path cooperative control method of this application, this application also provides a multi-transmission path cooperative control device based on the above multi-transmission path cooperative control method, which is applied to the sending end. The meanings of the nouns are the same as those in the above multi-transmission path cooperative control method, and the specific implementation details can refer to the description in the method embodiment.
[0070] Please refer to Figure 3 , Figure 3 is a schematic structural diagram of the multi-transmission path cooperative control device provided by the embodiment of this application, which may specifically include: An index acquisition module 301, configured to acquire multiple performance indexes of each preset transmission path in different dimensions in real time; A path quality calculation module 302, configured to calculate the path quality of each preset transmission path based on multiple performance indexes; A transmission module 303, configured to determine the current transmission strategy, and allocate the transmission path of the fragmented data packet based on the transmission strategy and the path quality of each preset transmission path and perform transmission.
[0071] For the above multi-transmission path cooperative control device, the index acquisition module 301 is used to first monitor multiple performance indexes of each preset transmission path in real time, the path quality calculation module 302 is used to calculate the path quality according to these indexes, and the transmission module 303 is used for the sending end to dynamically determine the transmission path of the data packet according to the current transmission strategy and the path quality. The core advantage of this device is that it can effectively solve the problem that different links in the existing communication system cannot work together, and intelligently select paths through the transmission strategy and path quality, enabling heterogeneous links to cooperate efficiently in the same network, and improving the overall stability, efficiency and reliability of data transmission.
[0072] In one embodiment, the multiple performance metrics include acquisition bandwidth, latency, and packet loss rate. Calculating the path quality of each preset transmission path based on the multiple performance metrics includes: obtaining the extreme value of the acquisition bandwidth and the extreme value of the latency; wherein, the extreme value of the acquisition bandwidth is the maximum or minimum value of the acquisition bandwidth of multiple preset transmission paths, and the extreme value of the latency is the maximum or minimum value of the latency of multiple preset transmission paths; for each preset transmission path, calculating a first ratio between the corresponding acquisition bandwidth and the extreme value of the acquisition bandwidth, and calculating a second ratio between the corresponding latency and the extreme value of the latency, and calculating the path quality by weighted calculation based on the first ratio, the second ratio, and the packet loss rate.
[0073] In one embodiment, determining the current transmission strategy, allocating and transmitting the sharded data packets based on the transmission strategy and the path quality of each preset transmission path includes: if the current transmission strategy is a single-path transmission strategy, taking the preset transmission path with the highest current path quality as the target path, and allocating all sharded data packets to the target path for transmission. Taking all preset transmission paths other than the target path as alternative paths, and whenever the path quality of the target path is less than a preset quality threshold, taking the alternative path with the highest current path quality as the target path.
[0074] In one embodiment, determining the current transmission strategy, allocating and transmitting the sharded data packets based on the transmission strategy and the path quality of each preset transmission path includes: if the current transmission strategy is a multi-path transmission strategy, calculating a corresponding allocation ratio based on the path quality of each preset transmission path; wherein, there is a positive correlation between the allocation ratio of each preset transmission path and the corresponding path quality; allocating and transmitting the sharded data packets based on the allocation ratio.
[0075] To facilitate better implementation of the multi-transmission path collaborative control method of the present application, the present application also provides a multi-transmission path collaborative control device based on the above multi-transmission path collaborative control method, which is applied to the receiving end. The meanings of the terms are the same as those in the above multi-transmission path collaborative control method, and the specific implementation details can refer to the description in the method embodiments.
[0076] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the multi-transmission path collaborative control device provided by the embodiments of the present application, and specifically may include: A data receiving module 401, configured to receive multiple sharded data packets; wherein, the multiple sharded data packets are sent by using the multi-transmission path collaborative control method applied to the sending end; A sorting and recombination module 402, configured to sort and recombine the multiple sharded data packets to obtain a recombined data packet.
[0077] For the above multi - transmission path collaborative control device, the data receiving module 401 is used to receive these fragmented data packets and ensure that it can identify that they are different parts of the same data packet. The sorting and recombination module 402 is used to sort the fragmented data packets according to information such as the sequence number and timestamp of each fragment once they are received. This process ensures that the received fragments can be arranged in the correct order, avoiding out - of - order situations. After sorting, these fragments are recombined to form a complete data packet, ensuring the correctness and integrity of the data.
[0078] In addition, this application also provides a terminal device, such as Figure 5 shown, which shows a schematic structural diagram of the terminal device involved in this application. Specifically: The terminal device may include a processor 501 with one or more processing cores, a memory 502 with one or more computer - readable storage media, a power supply 503, an input unit 504, and other components. Those skilled in the art can understand that Figure 5 the structural diagram of the terminal device shown in does not limit the terminal device, and it may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Among them:
[0079] The processor 501 is the control center of the terminal device, connecting various parts of the entire terminal device through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, it executes various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above - mentioned modem processor may not be integrated into the processor 501.
[0079] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function, etc.; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 502 may include high - speed random - access memory, and may also include non - volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid - state storage devices. Correspondingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
[0080] The terminal device further includes a power supply 503 for powering each component. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 503 may further include any components such as one or more DC or AC power supplies, a recharge system, a power device debugging circuit, a power converter or inverter, and a power status indicator.
[0081] The terminal device may further include an input unit 504, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0082] Although not shown, the terminal device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 501 in the terminal device will load the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 will run the application programs stored in the memory 502, so as to implement the steps in any one of the multi-transmission path cooperative control methods provided in the embodiments of the present application: obtain multiple performance indicators of each preset transmission path in different dimensions in real time; calculate the path quality of each preset transmission path based on the multiple performance indicators; determine the current transmission strategy, and allocate the transmission paths of the sharded data packets based on the transmission strategy and the path quality of each preset transmission path and perform transmission.
[0083] In this way, first, multiple performance indicators of each preset transmission path are monitored in real time, then the path quality is calculated based on these indicators, and finally, the sending end dynamically determines the transmission path of the data packet according to the current transmission strategy and the path quality. The beneficial effect of the present invention is that it can effectively solve the problem that different links in the existing communication system cannot work cooperatively, and intelligently select paths through the transmission strategy and path quality, so that heterogeneous links can cooperate efficiently in the same network, improving the stability, efficiency, and reliability of overall data transmission.
[0084] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.
[0085] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by instructions controlling relevant hardware. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0086] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any of the multi-transmission path collaborative control methods provided by the present application.
[0087] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated here.
[0088] Among them, the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.
[0089] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the multi-transmission path collaborative control methods provided by the present application, the beneficial effects achievable by any of the multi-transmission path collaborative control methods provided by the present application can be realized. For details, reference may be made to the previous embodiments, which will not be elaborated here.
[0090] The above has introduced in detail a multi-transmission path collaborative control method, device, terminal device, and computer-readable storage medium provided by the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A multi-transmission path cooperative control method, characterized in that: Applied to the sending end, the method includes: Obtain multiple performance indicators of each preset transmission path in different dimensions in real time; Calculating the path quality of each preset transmission path based on the multiple performance indicators; The current transmission strategy is determined, and based on the transmission strategy and the path quality of each preset transmission path, a transmission path of the fragmented data packet is allocated and transmitted.
2. The multi-transmission path cooperative control method according to claim 1, characterized in that: The multiple performance indicators include acquisition bandwidth, latency, and packet loss rate, and the path quality of each preset transmission path is calculated based on the multiple performance indicators, including: Acquire an extreme value of acquisition bandwidth and an extreme value of delay; wherein the extreme value of acquisition bandwidth is the maximum value or minimum value of acquisition bandwidth of multiple preset transmission paths, and the extreme value of delay is the maximum value or minimum value of delay of multiple preset transmission paths; For each preset transmission path, a first ratio between a corresponding acquisition bandwidth and the acquisition bandwidth extreme value is calculated, and a second ratio between a corresponding delay and the delay extreme value is calculated, and the path quality is weightedly calculated according to the first ratio, the second ratio and the packet loss rate.
3. The multi-transmission path cooperative control method according to claim 1, characterized in that: The determining of the current transmission strategy, allocating the transmission path of the fragmented data packets based on the transmission strategy and the path quality of each preset transmission path and transmitting the fragmented data packets includes: If the current transmission strategy is a single-path transmission strategy, the preset transmission path with the highest current path quality is used as the target path, and all fragmented data packets are allocated to the target path for transmission; All preset transmission paths except the target path are used as candidate paths, and whenever the path quality of the target path is less than a preset quality threshold, the candidate path with the highest current path quality is used as the target path.
4. The multi-transmission path cooperative control method according to claim 1, characterized in that: The determining of the current transmission strategy, allocating the transmission path of the fragmented data packets based on the transmission strategy and the path quality of each preset transmission path and transmitting the fragmented data packets includes: If the current transmission strategy is a multi-path transmission strategy, the corresponding allocation ratio is calculated based on the path quality of each preset transmission path; wherein the allocation ratio of each preset transmission path is positively correlated with the corresponding path quality; The fragmented data packets are allocated and transmitted based on the allocation ratio.
5. A multi-transmission path cooperative control method, characterized in that: Applied to the receiving end, the method includes: Receiving a plurality of fragmented data packets; wherein the plurality of fragmented data packets are sent by the multi-transmission path cooperative control method according to any one of claims 1 to 4; The multiple fragmented data packets are sorted and reassembled to obtain a reassembled data packet.
6. The multi-transmission path cooperative control method according to claim 5, characterized in that: After receiving the plurality of fragmented data packets, the method further comprises: The clock offset of the calibration path sent by the transmitting end is obtained, and clock calibration is performed based on the clock offset; wherein the calibration path is a transmission path with the smallest delay among multiple preset transmission paths.
7. The multi-transmission path cooperative control method according to claim 5, characterized in that: The performance indicator includes latency, and the sorting and reorganizing the plurality of fragmented data packets to obtain reorganized data includes: The receiving time of the target fragmented data packet is updated according to the delay of the target transmission path to obtain the target receiving time; wherein the target transmission path is any one of a plurality of preset transmission paths, and the target fragmented data packet is any one of the fragmented data packets sent from the target transmission path; The fragmented data packets are sorted according to the target receiving time of each fragmented data packet, and all the fragmented data packets are reassembled according to the sorting result to obtain a reassembled data packet.
8. A multi-transmission path cooperative control device, characterized in that: Applied to the transmitting end, the multi-transmission path cooperative control device comprises: An indicator acquisition module is used to obtain multiple performance indicators of each preset transmission path in different dimensions in real time; A path quality calculation module, used to calculate the path quality of each preset transmission path based on the multiple performance indicators; The transmission module is used to determine the current transmission strategy, allocate the transmission path of the fragmented data packet based on the transmission strategy and the path quality of each preset transmission path, and transmit it.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
10. A terminal device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method as claimed in any one of claims 1 to 4, or executes the steps of the method as claimed in any one of claims 5 to 7.
Citation Information
Patent Citations
Multi-service link distribution and reorganization device and method
CN103561472A
Self-adaptive multi-network link real-time video transmission control system
CN105657374A
Multichannel data transmission synchronization method
CN118295944A
Data transmission method and related device
CN118785296A
Soft bus multipath transmission control method and system based on super object model
CN119892721A
Cited By
Transmission performance optimization method and device, equipment, storage medium and program product
CN120342947A