A multi-path data transmission method, system, device and storage medium
By setting multiple data transmission paths and scheduling data flows according to QoS and QoE attributes, the problem of low data flow transmission efficiency under multi-path connections of IoT devices is solved, and more efficient data transmission and network resource utilization are achieved.
Patent Information
- Application Number
- CN202410065404.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-01-17
AI Technical Summary
Multi-path data stream transmission in the existing technology has the problem of low data stream transmission efficiency, especially in the multi-path connection scenario of Internet of Things devices.
By setting multiple data transmission paths, each path has different attributes, the QoS and QoE attributes of the current data flow are obtained, the data flow is scheduled to the most matching target path according to the pre-built scheduling rules, and the data transmission path selection is optimized, including high-speed Path selection with attributes such as bandwidth, low latency, low jitter, and low packet loss, and enable forward error correction code and multi-path redundant transmission when necessary.
It improves data transmission efficiency, ensures priority processing of key data flows, reduces operation and maintenance costs, improves overall network performance and user experience, and solves the problem of low data flow transmission efficiency.
Smart Images

Figure CN117579544B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a multi-path data transmission method, system, device and medium. Background Art
[0002] With the advent of the era of the Internet of Everything, more and more IoT devices are connected to the Internet. Among them, IoT access protocols are flourishing, and IoT transmission protocols represented by the MQTT protocol play an important role in the field of IoT transmission. However, edge networks are uncertain and unpredictable. Many IoT devices often transmit data in a "weak network" state during network transmission. The "weak network" state means that the network signal is weak, the network speed is slow or unstable. Therefore, in order to enhance the adaptability of MQTT to weak networks, researchers in this field have developed "MQTT over QUIC" (a transmission method that uses the QUIC protocol to implement the MQTT protocol) and have rapidly standardized it in recent years, becoming one of the transmission solutions in the field of IoT.
[0003] However, with the development of IoT devices, many IoT devices can often access the Internet through multiple network connections, such as "wired network", "cellular network" and "WIFI" network. Multipath transmission technology is developing rapidly. The current "MQTT over QUIC" targeted multipath solution has the problem of low data stream transmission efficiency. Summary of the invention
[0004] The embodiments of the present application provide a multi-path data transmission method, system and medium to at least solve the problem of low data stream transmission efficiency in multi-path data stream transmission in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a multipath data transmission method, the method comprising:
[0006] Setting a plurality of data transmission paths, wherein each of the data transmission paths comprises a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different;
[0007] Acquire current data flow attributes, wherein the current data flow attributes include QoS attributes and QoE attributes;
[0008] Based on the current data flow attribute, the current data flow is scheduled to a target data transmission path according to a pre-constructed scheduling rule, wherein the target data transmission path is one or more of the plurality of data transmission paths.
[0009] In one embodiment, based on the current data flow attribute, scheduling the current data flow to the target data transmission path according to a pre-built scheduling rule includes:
[0010] According to the QoS attribute level in the current data flow attributes, the current data flow is scheduled to a target data transmission path, wherein, in response to the QoS attribute level in the current data flow attributes being high, the current data flow is scheduled to a data transmission path with high bandwidth attributes, low delay attributes, and low jitter attributes, and the current data flow includes multiple data flows; and / or
[0011] In response to the QoS attribute levels in the current data flow attributes being the same, the current data flow is scheduled to the target data transmission path according to the QoE attribute in the current data flow attributes.
[0012] In one embodiment, the QoE attribute includes an emergency attribute, a delay attribute, and a bandwidth attribute in sequence according to the scheduling priority, and scheduling the current data flow to a target data transmission path according to the QoE attribute in the current data flow attribute includes:
[0013] In response to the fact that the QoE emergency attribute in the current data flow attributes is high, the current data flow is scheduled to the data transmission path with low delay attributes and high bandwidth attributes; if the data transmission path does not meet the low delay attributes and high bandwidth attributes, the current data flow is scheduled to the data transmission path with low delay attributes and then to the data transmission path with high bandwidth attributes;
[0014] In response to the QoE low delay attribute in the current data flow attribute, scheduling the current data flow to the data transmission path with low delay attribute and low packet loss rate attribute;
[0015] In response to a QoE high bandwidth attribute in the attributes of the current data flow, the current data flow is scheduled to the data transmission path with a high bandwidth attribute.
[0016] In one embodiment, in response to the QoE low delay attribute in the current data flow attribute, the method further includes:
[0017] In response to a packet loss ratio being greater than a first preset value, a forward error correction code is enabled to schedule the current data stream to the data transmission path with a low-latency attribute, wherein the forward error correction code is used to recover the packet loss.
[0018] In one embodiment, after enabling the forward error correction code, the method further includes:
[0019] In response to restoring the packet loss ratio to be less than a second preset value, enabling multi-path redundant transmission, and scheduling the current data stream to the plurality of data transmission paths, wherein the multi-path redundant transmission is used for parallel transmission on a plurality of paths.
[0020] In one embodiment, the plurality of data flow attributes include bandwidth attributes, delay attributes, packet loss rate attributes, and jitter attributes.
[0021] In one embodiment, the bandwidth attribute includes a low bandwidth attribute and a high bandwidth attribute;
[0022] The delay attribute includes a low delay attribute and a high delay attribute;
[0023] The packet loss rate attribute includes a low packet loss rate attribute and a high packet loss rate attribute;
[0024] The jitter attributes include a low jitter attribute and a high jitter attribute.
[0025] In a second aspect, an embodiment of the present application provides a multi-path data transmission system, the system comprising a data transmission path setting module, a current data flow attribute determination module, and a scheduling module, wherein:
[0026] The data transmission path setting module is used to set a plurality of data transmission paths, wherein each of the data transmission paths includes a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different;
[0027] The module for determining the current data flow attributes is used to obtain the current data flow attributes, wherein the current data flow attributes include QoS attributes and QoE attributes;
[0028] The scheduling module is used to schedule the current data flow to a target data transmission path based on the current data flow attribute and according to a pre-constructed scheduling rule, wherein the target data transmission path is one or more of the plurality of data transmission paths.
[0029] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a multipath data transmission method as described in the first aspect above is implemented.
[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a multipath data transmission method as described in the first aspect above.
[0031] A multipath data transmission method, system and medium provided by the embodiments of the present application have at least the following technical effects.
[0032] By setting several data transmission paths, the current data flow attributes are obtained, wherein the current data flow attributes include QoS attributes and QoE attributes, and based on the current data flow attributes, the current data flow is scheduled to the target data transmission path according to the scheduling rules. According to the QoS attributes and QoE attributes in the current data flow attributes, based on the scheduling rules, the current data flow can be scheduled to the data transmission path that matches the current data flow, thereby improving the data transmission efficiency. The problem of low data flow transmission efficiency in multi-path data flow transmission in the prior art is solved.
[0033] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0035] Figure 1 is a flow chart of a multi-path data transmission method;
[0036] Figure 2 is a flowchart of step S103 according to an exemplary embodiment;
[0037] Figure 3 is a structural block diagram of a multi-path data transmission system according to an exemplary embodiment;
[0038] Figure 4 It is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0040] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0041] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0042] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantity limitation, and may indicate the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0043] In a first aspect, an embodiment of the present application provides a multi-path data transmission method. Figure 1 is a flow chart of a multi-path data transmission method, such as Figure 1As shown, a multi-path data transmission method, the method comprising:
[0044] Step S101: setting a plurality of data transmission paths, wherein each data transmission path includes a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different.
[0045] Step S102: Acquire current data flow attributes, where the current data flow attributes include QoS attributes and QoE attributes.
[0046] Step S103: Based on the current data flow attribute, the current data flow is scheduled to a target data transmission path according to a pre-constructed scheduling rule, wherein the target data transmission path is one or more of a plurality of data transmission paths.
[0047] In summary, a multi-path data transmission method provided by an embodiment of the present application obtains the current data stream attributes by setting a number of data transmission paths, wherein the current data stream attributes include QoS attributes and QoE attributes, and based on the current data stream attributes, the current data stream is scheduled to the target data transmission path according to the scheduling rules. According to the QoS attributes and QoE attributes in the current data stream attributes, based on the scheduling rules, the current data stream can be scheduled to a data transmission path that matches the current data stream, thereby improving the data transmission efficiency. The problem of low data stream transmission efficiency in the prior art for multi-path data stream transmission is solved.
[0048] In one embodiment, step S101, a plurality of data transmission paths are set, wherein each data transmission path includes a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different. Specifically, the following are included:
[0049] Optionally, several IoT data stream attributes include bandwidth attributes, delay attributes, packet loss rate attributes, and jitter attributes. Bandwidth attributes include low bandwidth attributes and high bandwidth attributes; delay attributes include low delay attributes and high delay attributes; packet loss rate attributes include low packet loss rate attributes and high packet loss rate attributes; jitter attributes include low jitter attributes and high jitter attributes. These attributes provide rich decision-making basis for data stream scheduling, which helps to manage and optimize network resources more finely, improve the overall performance of the network and user experience. Through scheduling rules, it can be ensured that critical or real-time data streams are given priority, while fully utilizing and balancing network resources, reducing operation and maintenance costs and improving the overall reliability of the network.
[0050] In one embodiment, step S102: obtaining current data flow attributes, wherein the current data flow attributes include QoS attributes and QoE attributes.
[0051] Optionally, when the MQTT stream is created, the MQTT stream informs the MPQUIC transport layer of the QOS attributes of the upper layer stream through the stream creation interface provided by MPQUIC. Since the QoE attributes change in real time during transmission, the MQTT stream synchronizes its own QoE attributes to the MPQUIC transport layer in real time during transmission. Obtaining and analyzing the QoS attributes and QoE attributes of the current data stream can schedule the current data stream to a suitable path according to the scheduling rules, thereby improving the overall performance of the network and user experience.
[0052] Figure 2 is a flow chart of step S103 according to an exemplary embodiment. Figure 2 As shown, based on the current data flow attributes, the current data flow is scheduled to the target data transmission path according to the pre-built scheduling rules, specifically including:
[0053] Step S1031, according to the QoS attribute level in the current data flow attributes, scheduling the current data flow to the target data transmission path, wherein, in response to the QoS attribute level in the current data flow attributes being high, the current data flow is scheduled to a data transmission path with high bandwidth attributes, low delay attributes, and low jitter attributes, and the current data flow includes multiple data flows; and / or
[0054] Step S1032: In response to the QoS attribute levels in the current data flow attributes being the same, the current data flow is scheduled to the target data transmission path according to the QoE attributes in the current data flow attributes.
[0055] By considering QoS and QoE attributes, network resources can be used more effectively. For example, for data streams with high QoS levels, scheduling them to low-bandwidth, low-latency, and low-jitter paths can ensure that these important or real-time data streams obtain the required network resources and avoid competing with other data streams or being affected by network congestion. By considering QoE attributes to better meet user needs. For example, prioritizing the scheduling of data streams with high QoE attributes can ensure smooth playback of streaming media such as video and audio, avoid freezes or delays, thereby improving user satisfaction and solving the problem of low data stream transmission efficiency in the prior art for multi-path data stream transmission.
[0056] In one embodiment, the above step S1031, in response to the QoS attribute levels in the current data flow attributes being the same, scheduling the current data flow to the target data transmission path according to the QoS attribute level in the current data flow attributes, specifically includes:
[0057] In response to the high QoE urgency attribute in the current data flow attributes, the current data flow is scheduled to a data transmission path with low latency attributes and high bandwidth attributes. If the data transmission path does not meet the low latency attributes and high bandwidth attributes, the current data flow is scheduled to the data transmission path with low latency attributes and then to the data transmission path with high bandwidth attributes.
[0058] Optionally, if the QoE urgency attribute is high in the current data stream attributes, the current data stream is scheduled to a data transmission path with low latency attributes and high bandwidth attributes. If the data transmission path does not meet the low latency attributes and high bandwidth attributes, the current data stream is scheduled to the data transmission path with low latency attributes, and then scheduled to the data transmission path with high bandwidth attributes. For example, there is a real-time video stream with a high QoE urgency attribute. The stream needs to be transmitted quickly and without delay. It will be scheduled to a path with low latency attributes and high bandwidth attributes. If such a path is not available, it will be first scheduled to a path with low latency attributes, and then to a path with high bandwidth attributes to ensure the real-time and smoothness of the video stream.
[0059] In response to the QoE low delay attribute in the current data flow attributes, the current data flow is scheduled to a data transmission path with low delay attributes and low packet loss rate attributes.
[0060] Optionally, if the QoE low latency attribute is one of the attributes of the current data stream, the current data stream is scheduled to a data transmission path with low latency and low packet loss rate attributes. For example, the data stream of an online game is very sensitive to latency. This data stream has a QoE low latency attribute, and is preferentially scheduled to a path with low latency and low packet loss rate to ensure real-time interaction and low latency of the game.
[0061] In response to the QoE high bandwidth attribute in the current data flow attributes, the current data flow is scheduled to a data transmission path with the high bandwidth attribute.
[0062] Optionally, if the QoE high bandwidth attribute is included in the current data stream attribute, the current data stream is scheduled to a data transmission path with a high bandwidth attribute. For example, a high-definition video stream requires a larger bandwidth to transmit. The QoE high bandwidth attribute of the stream is identified, and the system will prioritize scheduling it to a high-bandwidth path to ensure smooth playback of the video stream without buffering or freezing.
[0063] In one embodiment, in response to the QoE low delay attribute in the current data flow attribute, the multipath data transmission method further includes:
[0064] In response to a packet loss ratio being greater than a first preset value, a forward error correction code is enabled, and a current data stream is scheduled to a data transmission path with a low-latency attribute, wherein the forward error correction code is used to recover from packet loss.
[0065] Optionally, when the packet loss ratio exceeds a first preset value, which may be 5%, enabling forward error correction code (FEC) can recover the lost data packets and schedule the current data stream to a data transmission path with a low latency attribute, thereby improving the integrity of data transmission. This error correction mechanism ensures reliable data transmission and reduces data damage or loss caused by packet loss.
[0066] In one embodiment, after enabling the forward error correction code, the method further includes:
[0067] In response to the recovery packet loss ratio being less than a second preset value, multi-path redundant transmission is enabled, and the current data stream is scheduled to multiple data transmission paths, wherein the multi-path redundant transmission is used for parallel transmission of multiple paths.
[0068] Optionally, when the recovery packet loss ratio is less than a second preset value, the second preset value is 70%, multi-path redundant transmission can be enabled to schedule the current data stream to multiple data transmission paths. Multi-path redundant transmission transmits data streams to multiple paths in parallel, reducing the risk of transmission interruption caused by a single path failure. Even if a path fails or loses packets, other paths can still continue to transmit data, thereby improving the reliability and integrity of data transmission.
[0069] In summary, a multi-path data transmission method provided by an embodiment of the present application obtains the current data stream attributes by setting a number of data transmission paths, wherein the current data stream attributes include QoS attributes and QoE attributes, and based on the current data stream attributes, the current data stream is scheduled to the target data transmission path according to the scheduling rules. According to the QoS attributes and QoE attributes in the current data stream attributes, based on the scheduling rules, the current data stream can be scheduled to a data transmission path that matches the current data stream, thereby improving the data transmission efficiency. The problem of low data stream transmission efficiency in the prior art for multi-path data stream transmission is solved.
[0070] In a second aspect, an embodiment of the present application provides a multi-path data transmission system. Figure 3 FIG. 1 is a block diagram of a multi-path data transmission system according to an exemplary embodiment. Figure 3 As shown, the system includes a data transmission path setting module 310, a current data flow attribute determination module 320, and a scheduling module 330, wherein:
[0071] A data transmission path setting module 310 is used to set a plurality of data transmission paths, wherein each data transmission path includes a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different;
[0072] The current data flow attribute determination module 320 is used to obtain the current data flow attributes, wherein the current data flow attributes include QoS attributes and QoE attributes;
[0073] The scheduling module 330 is used to schedule the current data flow to a target data transmission path based on the current data flow attribute and according to a pre-built scheduling rule, wherein the target data transmission path is one or more of a plurality of data transmission paths.
[0074] In summary, the present application provides a multi-path data transmission system. By setting a number of data transmission paths, the current data flow attributes are obtained, wherein the current data flow attributes include QoS attributes and QoE attributes, and based on the current data flow attributes, the current data flow is scheduled to the target data transmission path according to the scheduling rules. According to the QoS attributes and QoE attributes in the current data flow attributes, based on the scheduling rules, the current data flow can be scheduled to a data transmission path that matches the current data flow, thereby improving the data transmission efficiency. The problem of low data flow transmission efficiency in the prior art for multi-path data flow transmission is solved.
[0075] In a third aspect, an embodiment of the present application provides an electronic device, Figure 4 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 4 As shown, the electronic device may include a processor 41 and a memory 42 storing computer program instructions.
[0076] Specifically, the processor 41 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0077] Among them, the memory 42 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 42 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 42 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 42 may be inside or outside the data processing device. In a specific embodiment, the memory 42 is a non-volatile memory. In a specific embodiment, the memory 42 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM) or a flash memory (FLASH), or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0078] The memory 42 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 41 .
[0079] The processor 41 implements any one of the multi-path data transmission methods in the above embodiments by reading and executing computer program instructions stored in the memory 42 .
[0080] In one embodiment, a multi-path data transmission device may further include a communication interface 43 and a bus 40. Figure 4 As shown, the processor 41, the memory 42, and the communication interface 43 are connected via a bus 40 and communicate with each other.
[0081] The communication interface 43 is used to implement communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication port 43 can also implement data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.
[0082] The bus 40 includes hardware, software or both, and couples the components of a multi-path data transmission device to each other. The bus 40 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 40 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 40 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0083] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, a multi-path data transmission method provided in the first aspect is implemented.
[0084] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0085] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute steps of a multipath data transmission method provided in the first aspect.
[0086] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0087] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0088] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A multipath data transmission method, characterized in that: The method is applied to MQTT over QUIC, where MQTT is an Internet of Things transmission protocol, and the method includes: Setting a plurality of data transmission paths, wherein each of the data transmission paths comprises a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different; Obtain the current data stream attributes, wherein the current data stream attributes include QoS attributes and QoE attributes; when the MQTT stream is created, the MQTT stream will inform the MPQUIC transport layer of the QoS attributes of the upper layer stream through the stream creation interface provided by MPQUIC; since the QoE attributes change in real time during transmission, the MQTT stream synchronizes its own QoE attributes to the MPQUIC transport layer in real time during transmission; Based on the current data flow attribute, scheduling the current data flow to a target data transmission path according to a pre-constructed scheduling rule, wherein the target data transmission path is one or more of the plurality of data transmission paths; Based on the current data flow attributes, the current data flow is scheduled to the target data transmission path according to a pre-constructed scheduling rule, including: according to the QoS attribute level in the current data flow attributes, the current data flow is scheduled to the target data transmission path, wherein, in response to the QoS attribute level in the current data flow attributes being high, the current data flow is scheduled to a data transmission path with high bandwidth attributes, low delay attributes, and low jitter attributes, and the current data flow includes multiple data flows; and / or In response to the QoS attribute levels in the current data flow attributes being the same, scheduling the current data flow to a target data transmission path according to the QoE attribute in the current data flow attributes; The QoE attributes include an emergency attribute, a delay attribute, and a bandwidth attribute in sequence according to the scheduling priority. According to the QoE attributes in the current data flow attributes, the current data flow is scheduled to the target data transmission path, including: in response to the high QoE emergency attribute in the current data flow attributes, the current data flow is scheduled to the data transmission path with low delay attributes and high bandwidth attributes. If the data transmission path does not meet the low delay attribute and the high bandwidth attribute, the current data flow is scheduled to the data transmission path with low delay attributes and then to the data transmission path with high bandwidth attributes; in response to the QoE low delay attribute in the current data flow attributes, The current data stream is scheduled to the data transmission path with low delay attributes and low packet loss rate attributes; in response to the packet loss ratio being greater than a first preset value, a forward error correction code is enabled, and the current data stream is scheduled to the data transmission path with low delay attributes, wherein the forward error correction code is used to recover the packet loss; in response to the recovery of the packet loss ratio being less than a second preset value, multi-path redundant transmission is enabled, and the current data stream is scheduled to multiple data transmission paths, wherein the multi-path redundant transmission is used for parallel transmission of multiple paths; in response to the QoE high bandwidth attribute in the current data stream attribute, the current data stream is scheduled to the data transmission path with high bandwidth attribute; Several data flow attributes include bandwidth attributes, delay attributes, packet loss rate attributes and jitter attributes; The bandwidth attribute includes a low bandwidth attribute and a high bandwidth attribute; The delay attribute includes a low delay attribute and a high delay attribute; The packet loss rate attribute includes a low packet loss rate attribute and a high packet loss rate attribute; The jitter attributes include a low jitter attribute and a high jitter attribute.
2. A multi-path data transmission system, characterized in that: The system is applied to MQTT over QUIC, where MQTT is an Internet of Things transmission protocol. The system includes a data transmission path setting module, a current data stream attribute determination module, and a scheduling module, wherein: The data transmission path setting module is used to set a plurality of data transmission paths, wherein each of the data transmission paths includes a plurality of data flow attributes, and the data flow attributes of different data transmission paths are different; The module for determining the current data stream attribute is used to obtain the current data stream attribute, wherein the current data stream attribute includes QoS attribute and QoE attribute; when the MQTT stream is created, the MQTT stream will inform the MPQUIC transport layer of the QoS attribute of the upper layer stream through the stream creation interface provided by MPQUIC; since the QoE attribute changes in real time during transmission, the MQTT stream synchronizes its own QoE attribute to the MPQUIC transport layer in real time during transmission; The scheduling module is used to schedule the current data flow to a target data transmission path based on the current data flow attribute and according to a pre-built scheduling rule, wherein the target data transmission path is one or more of the plurality of data transmission paths; Based on the current data flow attributes, the current data flow is scheduled to the target data transmission path according to a pre-constructed scheduling rule, including: according to the QoS attribute level in the current data flow attributes, the current data flow is scheduled to the target data transmission path, wherein, in response to the QoS attribute level in the current data flow attributes being high, the current data flow is scheduled to a data transmission path with high bandwidth attributes, low delay attributes, and low jitter attributes, and the current data flow includes multiple data flows; and / or In response to the QoS attribute levels in the current data flow attributes being the same, scheduling the current data flow to a target data transmission path according to the QoE attribute in the current data flow attributes; The QoE attributes include an emergency attribute, a delay attribute, and a bandwidth attribute in sequence according to the scheduling priority. According to the QoE attributes in the current data flow attributes, the current data flow is scheduled to the target data transmission path, including: in response to the high QoE emergency attribute in the current data flow attributes, the current data flow is scheduled to the data transmission path with low delay attributes and high bandwidth attributes. If the data transmission path does not meet the low delay attribute and the high bandwidth attribute, the current data flow is scheduled to the data transmission path with low delay attributes and then to the data transmission path with high bandwidth attributes; in response to the QoE low delay attribute in the current data flow attributes, The current data stream is scheduled to the data transmission path with low delay attributes and low packet loss rate attributes; in response to the packet loss ratio being greater than a first preset value, a forward error correction code is enabled, and the current data stream is scheduled to the data transmission path with low delay attributes, wherein the forward error correction code is used to recover the packet loss; in response to the recovery of the packet loss ratio being less than a second preset value, multi-path redundant transmission is enabled, and the current data stream is scheduled to multiple data transmission paths, wherein the multi-path redundant transmission is used for parallel transmission of multiple paths; in response to the QoE high bandwidth attribute in the current data stream attribute, the current data stream is scheduled to the data transmission path with high bandwidth attribute; Several data flow attributes include bandwidth attributes, delay attributes, packet loss rate attributes and jitter attributes; The bandwidth attribute includes a low bandwidth attribute and a high bandwidth attribute; The delay attribute includes a low delay attribute and a high delay attribute; The packet loss rate attribute includes a low packet loss rate attribute and a high packet loss rate attribute; The jitter attributes include a low jitter attribute and a high jitter attribute.
3. An electronic device, characterized in that: The invention comprises a memory and a processor, a computer program stored in the memory and executable on the processor, and the processor implements a multi-path data transmission method as claimed in claim 1 when executing the computer program.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a multi-path data transmission method as claimed in claim 1 is implemented.
