CN113518085A - Data transmission method based on multiple channels and related device - Google Patents

Data transmission method based on multiple channels and related device Download PDF

Info

Publication number
CN113518085A
CN113518085A CN202110774713.3A CN202110774713A CN113518085A CN 113518085 A CN113518085 A CN 113518085A CN 202110774713 A CN202110774713 A CN 202110774713A CN 113518085 A CN113518085 A CN 113518085A
Authority
CN
China
Prior art keywords
channel
data packets
data packet
receiving end
channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110774713.3A
Other languages
Chinese (zh)
Other versions
CN113518085B (en
Inventor
孙飞虎
张丹
郝晶晶
宁斌晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110774713.3A priority Critical patent/CN113518085B/en
Publication of CN113518085A publication Critical patent/CN113518085A/en
Application granted granted Critical
Publication of CN113518085B publication Critical patent/CN113518085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets

Abstract

The application discloses a data transmission method based on multiple channels, which comprises the following steps: acquiring a data packet to be processed; generating M data packets to be processed according to the data packets to be processed; acquiring the current channel address of the receiving end of each channel through at least two channels; establishing a receiving end multi-channel IP mapping relation according to a receiving end current channel address of each channel, a channel identifier of each channel and a receiving end main channel address; according to the IP mapping relation of the multichannel Internet interconnection protocol at the receiving end, packaging the M data packets to be processed to obtain M IP data packets, wherein the IP data packets carry the identification of the transmitting end; and sending M IP data packets to the network equipment through M channels. The application also discloses a device. According to the method and the device, the proxy server is not needed, so that the possibility of abnormal conditions is reduced, and the data transmission efficiency is improved. Meanwhile, the communication transmission based on multiple channels can realize network fault tolerance, thereby improving the stability of network transmission and being suitable for various network scenes.

Description

Data transmission method based on multiple channels and related device
The application is a divisional application of Chinese patent application with the name of 'a multichannel-based data transmission method and related devices' filed by the Chinese patent office on 5.7.2019, and the application number of 201910604392.5.
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method based on multiple channels and a related apparatus.
Background
With the continuous development of technology, terminal devices (such as mobile phones, wearable electronic devices, notebook computers and the like) have become necessities in people's lives. Wireless communication (such as Wireless Fidelity (WiFi), bluetooth, the 4th Generation mobile communication technology (4G), infrared, etc.) is becoming the main communication methods.
Network jamming under a single channel can seriously affect data transmission efficiency and real-time performance, so that in order to deal with a scene with stronger real-time performance, a two-channel scheme supporting WiFi and 4G is provided at present, a proxy server needs to be deployed between a client and an application server, and the client and the application server can communicate through the proxy server.
However, the proxy server is often deployed at a fixed location, and the location and number of the application servers change with the change of the service, so that when the application server is far away from the proxy server, an abnormal situation of long connection time is likely to occur, and the efficiency of data transmission is reduced.
Disclosure of Invention
The embodiment of the application provides a data transmission method and a related device based on multiple channels, and two communication ends can directly transmit IP data packets without a proxy server, so that the possibility of abnormal conditions is reduced, and the data transmission efficiency is improved. Meanwhile, the communication transmission based on multiple channels can realize network fault tolerance, thereby improving the stability of network transmission and being suitable for various network scenes.
In view of the above, an aspect of the present application provides a method for transmitting data based on multiple channels, including:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
packaging the M data packets to be processed according to a receiving end multi-channel IP mapping relation to obtain M IP data packets, wherein the receiving end multi-channel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry the transmitting end identifier;
and sending M IP data packets to the network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
Another aspect of the present application provides a method for transmitting data based on multiple channels, including:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
acquiring the current channel address of the receiving end of each channel through at least two channels;
establishing a receiving end multi-channel IP mapping relation according to a receiving end current channel address of each channel, a channel identifier of each channel and a receiving end main channel address;
packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry the transmitting end identifier;
and sending M IP data packets to the network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
Another aspect of the present application provides a method for transmitting data based on multiple channels, including:
receiving M IP data packets sent by network equipment, wherein the M IP data packets are transmitted through M channels, the channels and the IP data packets have a corresponding relationship, M is an integer greater than 1, the M IP data packets are obtained by the network equipment after packaging the M data packets to be processed according to a receiving end multi-channel IP mapping relationship, the receiving end multi-channel IP mapping relationship comprises a channel identifier, a corresponding relationship between a receiving end main channel address and a receiving end current channel address, and the IP data packets and the data packets to be processed have a corresponding relationship;
analyzing the M IP data packets to obtain a sending end identifier of the IP data packet, a channel identifier of the IP data packet and a current channel address of the sending end of the IP data packet;
establishing a multi-channel IP mapping relation of a sending end according to a sending end identifier of an IP data packet, a channel identifier of the IP data packet and a current channel address of the sending end of the IP data packet;
and when M IP return data packets are generated according to the multi-channel IP mapping relation of the sending end, the M IP return data packets are sent to the network equipment through the M channels, wherein the IP return data packets carry the sending end identification.
Another aspect of the present application provides a data transmission apparatus, including:
the acquisition module is used for acquiring a data packet to be processed;
the generating module is used for generating M data packets to be processed according to the data packets to be processed acquired by the acquiring module, wherein M is an integer greater than 1;
the acquisition module is also used for acquiring the current channel address of the receiving end of each channel through at least two channels;
the establishing module is used for establishing a receiving end multi-channel IP mapping relation according to the receiving end current channel address of each channel, the channel identification of each channel and the receiving end main channel address;
the device comprises an encapsulation module, a sending module and a receiving module, wherein the encapsulation module is used for encapsulating M data packets to be processed generated by the generation module according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry a sending end identifier;
and the sending module is used for sending the M IP data packets encapsulated by the encapsulation module to the network equipment through the M channels, wherein the channels and the IP data packets have corresponding relations.
In one possible design, in another implementation of another aspect of an embodiment of the present application,
the data packet to be processed is a User Datagram Protocol (UDP) data packet or a Transmission Control Protocol (TCP) data packet;
the M channels include at least one of a WiFi channel, a bluetooth channel, and a 4G channel.
Another aspect of the present application provides a data transmission apparatus, including:
the acquisition module is used for acquiring a data packet to be processed;
the generating module is used for generating M data packets to be processed according to the data packets to be processed acquired by the acquiring module, wherein M is an integer greater than 1;
the device comprises an encapsulation module, a sending module and a receiving module, wherein the encapsulation module is used for encapsulating M data packets to be processed generated by the generation module according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry a sending end identifier;
and the sending module is used for sending the M IP data packets encapsulated by the encapsulation module to the network equipment through the M channels, wherein the channels and the IP data packets have corresponding relations.
In one possible design, in another implementation of another aspect of an embodiment of the present application,
the encapsulation module is specifically used for acquiring a channel identifier corresponding to a data packet to be processed;
determining a current channel address of a receiving end corresponding to the data packet to be processed based on the multi-channel IP mapping relation of the receiving end according to a channel identifier corresponding to the data packet to be processed and a main channel address of the receiving end corresponding to the data packet to be processed;
and encapsulating the data packet to be processed according to the current channel address of the receiving end corresponding to the data packet to be processed to obtain the IP data packet.
In one possible design, in another implementation manner of another aspect of the embodiment of the present application, the data transmission apparatus further includes a receiving module and an establishing module;
the sending module is further used for sending a domain name resolution request through a first channel before the encapsulation module encapsulates the M data packets to be processed according to the receiving-end multi-channel IP mapping relation to obtain the M IP data packets, wherein the first channel belongs to one of the M channels, and the domain name resolution request is used for requesting a domain name server to resolve a target domain name;
the receiving module is also used for receiving the current channel address of the receiving end of the first channel through the first channel;
the sending module is further used for sending a domain name resolution request through a second channel, wherein the second channel belongs to a channel different from the first channel in the M channels;
the receiving module is also used for receiving the current channel address of the receiving end of the second channel through the second channel;
and the establishing module is used for establishing a receiving end multi-channel IP mapping relation according to the channel identifier of the first channel, the channel identifier of the second channel, the receiving end current channel address of the first channel, the receiving end current channel address of the second channel and the receiving end main channel address received by the receiving module.
In one possible design, in another implementation of another aspect of an embodiment of the present application,
the sending module is specifically configured to send a first IP data packet to a target network card of the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to a target network card of the network equipment through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
In one possible design, in another implementation of another aspect of an embodiment of the present application,
the sending module is specifically configured to send a first IP data packet to a first network card of the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to a second network card of the network equipment through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
In one possible design, in another implementation manner of another aspect of the embodiment of the present application, the data transmission apparatus further includes a determination module;
the determining module is used for determining N channels as channels to be transmitted from the M channels after the sending module sends the M IP data packets to the network equipment through the M channels, wherein the N channels to be transmitted are used for transmitting the IP data packets, and N is an integer which is greater than or equal to 1 and less than M;
the determining module is further configured to determine the M channels as channels to be transmitted if the M channels do not meet the preset transmission condition.
Another aspect of the present application provides a data transmission apparatus, including:
the receiving module is used for receiving M Internet Protocol (IP) data packets sent by the network equipment, wherein the M IP data packets are transmitted through M channels, the channels and the IP data packets have a corresponding relation, M is an integer larger than 1, the M IP data packets are obtained by the network equipment after packaging the M data packets to be processed according to a receiving end multichannel IP mapping relation, the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, and the IP data packets and the data packets to be processed have a corresponding relation;
the analysis module is used for analyzing the M IP data packets received by the receiving module to obtain the sending end identification of the IP data packet, the channel identification of the IP data packet and the current channel address of the sending end of the IP data packet;
the establishing module is used for establishing a multi-channel IP mapping relation of the sending end according to the sending end identification of the IP data packet, the channel identification of the IP data packet and the current channel address of the sending end of the IP data packet which are obtained by the analysis of the analyzing module;
and the sending module is used for sending the M IP return data packets to the network equipment through the M channels when the M IP return data packets are generated according to the multi-channel IP mapping relation of the sending end established by the establishing module, wherein the IP return data packets carry the sending end identification.
In one possible design, in another implementation of another aspect of an embodiment of the present application,
the receiving module is specifically configured to receive, through the target network card, a first IP data packet sent by the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and receiving a second IP data packet sent by the network equipment through a second channel through the target network card, wherein the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
In one possible design, in another implementation of another aspect of an embodiment of the present application,
the receiving module is specifically configured to receive, through a first network card, a first IP data packet sent by a network device through a first channel, where the first channel belongs to one of M channels, and the first IP data packet belongs to one of the M IP data packets;
and receiving a second IP data packet sent by the network equipment through a second channel by using a second network card, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
In one possible design, in another implementation manner of another aspect of the embodiment of the present application, the data transmission apparatus further includes a deduplication module;
the analyzing module is further configured to, after the receiving module receives the M internet protocol IP data packets sent by the network device, analyze the M IP data packets to obtain M service data packets and M packet header information, where the packet header information and the IP data packets have a corresponding relationship, and the packet header information includes packet sequence numbers of the IP data packets;
and the duplicate removal module is used for carrying out duplicate removal processing on the M service data packets according to the M packet header information obtained by the analysis of the analysis module.
In one possible design, in another implementation manner of another aspect of the embodiment of the present application, the data transmission apparatus further includes a determination module;
the determining module is used for determining the delay of a target IP data packet according to a first time of the target IP data packet and a second time contained in the target IP data packet after the receiving module receives the M Internet interconnection protocol IP data packets sent by the network equipment, wherein the target IP data packet belongs to one of the M IP data packets at the time when the network equipment sends the data packet at the second time;
and the determining module is further used for determining the network state of a channel adopted by the network equipment for sending the target IP data packet according to the delay of the target IP data packet.
Another aspect of the present application provides a network device, including: a memory, a transceiver, a processor, and a bus system;
wherein, the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry the transmitting end identifier;
sending M IP data packets to the network equipment through M channels, wherein the channels and the IP data packets have corresponding relations;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
Another aspect of the present application provides a network device, including: a memory, a transceiver, a processor, and a bus system;
wherein, the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
receiving M Internet Protocol (IP) data packets sent by network equipment, wherein the M IP data packets are transmitted through M channels, the channels and the IP data packets have a corresponding relationship, M is an integer greater than 1, the M IP data packets are obtained by the network equipment after packaging the M data packets to be processed according to a receiving end multi-channel IP mapping relationship, the receiving end multi-channel IP mapping relationship comprises a channel identifier, a receiving end main channel address and a receiving end current channel address, and the IP data packets and the data packets to be processed have a corresponding relationship;
analyzing the M IP data packets to obtain a sending end identifier of the IP data packet, a channel identifier of the IP data packet and a current channel address of the sending end of the IP data packet;
establishing a multi-channel IP mapping relation of a sending end according to a sending end identifier of an IP data packet, a channel identifier of the IP data packet and a current channel address of the sending end of the IP data packet;
when M IP return data packets are generated according to the multi-channel IP mapping relation of the sending end, the M IP return data packets are sent to the network equipment through the M channels, wherein the IP return data packets carry the sending end identification;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
Another aspect of the present application provides a computer-readable storage medium having stored therein instructions, which, when executed on a computer, cause the computer to perform the method of the above-described aspects.
According to the technical scheme, the embodiment of the application has the following advantages:
in the embodiment of the application, a data transmission method based on multiple channels is provided, first, a sending end network device obtains a data packet to be processed, then, multiple data packets to be processed are generated according to the data packet to be processed, then, the multiple data packets to be processed are encapsulated according to a receiving end multiple channel IP mapping relation to obtain multiple IP data packets, wherein the receiving end multiple channel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packet to be processed have a corresponding relation, the IP data packets carry the sending end identifier, and finally, the sending end network device sends the multiple IP data packets to the receiving end network device through the multiple channels. By the mode, the data packet is encapsulated by utilizing the multi-channel IP mapping relation to obtain the IP data packet, and the IP data packet can be directly transmitted by two communication ends without passing through a proxy server, so that the possibility of abnormal conditions is reduced, and the data transmission efficiency is improved. Meanwhile, the communication transmission based on multiple channels can realize network fault tolerance, thereby improving the stability of network transmission and being suitable for various network scenes.
Drawings
FIG. 1 is a schematic diagram of a data transmission system based on multi-channel data transmission according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interaction based on multi-channel data transmission according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of a multi-channel based data transmission method in the embodiment of the present application;
fig. 4 is a schematic diagram of a data transmission flow based on a sending end in the embodiment of the present application;
fig. 5 is a schematic diagram of an architecture of receiving end single network access in the embodiment of the present application;
fig. 6 is a schematic diagram of an architecture of receiving-end multi-network access in the embodiment of the present application;
fig. 7 is a schematic diagram of another embodiment of a data transmission method based on multiple channels in the embodiment of the present application;
fig. 8 is a schematic diagram of a data transmission process based on a receiving end in the embodiment of the present application;
FIG. 9 is a diagram of an embodiment of a method for packet deduplication in an embodiment of the present application;
fig. 10 is a schematic diagram of an embodiment of a data transmission device in an embodiment of the present application;
fig. 11 is a schematic diagram of another embodiment of a data transmission device in the embodiment of the present application;
fig. 12 is a schematic diagram of another embodiment of a data transmission device in the embodiment of the present application;
fig. 13 is a schematic diagram of another embodiment of a data transmission device in the embodiment of the present application;
fig. 14 is a schematic diagram of another embodiment of a data transmission device in the embodiment of the present application;
fig. 15 is a schematic diagram of another embodiment of a data transmission device in the embodiment of the present application;
FIG. 16 is a schematic structural diagram of a network device in an embodiment of the present application;
fig. 17 is another schematic structural diagram of a network device in the embodiment of the present application.
Detailed Description
The embodiment of the application provides a data transmission method and a related device based on multiple channels, and two communication ends can directly transmit IP data packets without a proxy server, so that the possibility of abnormal conditions is reduced, and the data transmission efficiency is improved. Meanwhile, the communication transmission based on multiple channels can realize network fault tolerance, thereby improving the stability of network transmission and being suitable for various network scenes.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "corresponding" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that the multichannel-based data transmission method provided by the application can be applied to scenes with high requirements on network real-time performance, such as game scenes, video scenes, instant messaging scenes and the like. The game scene includes, but is not limited to, a multiplayer online tactical arena (MOBA), a first-person shooter game (FPS), a strategic-role playing game (S-RPG), and the like, and this time is not limited. The video scenes include, but are not limited to, a live video playing scene, a short video playing field, a moving picture playing scene, and the like. The instant messaging scene includes, but is not limited to, a video teaching scene, a conference scene, a friend chat scene, and the like. In addition, data transmission efficiency with high real-time performance is also required in the fields of industrial control, traffic management, robots, aerospace, weaponry, and the like.
For convenience of understanding, the present application provides a data transmission method based on multiple channels, which is applied to a data transmission system shown in fig. 1, please refer to fig. 1, where fig. 1 is a schematic diagram of a data transmission system architecture based on multiple channel data transmission in an embodiment of the present application, as shown in the figure, the data transmission system may include a terminal device and a server, it should be noted that the terminal device includes but is not limited to a tablet computer, a notebook computer, a palmtop computer, a mobile phone, a robot, a voice interaction device, and a Personal Computer (PC), and this is not limited herein. It should be noted that the server may be a game application server, a video application server, or an instant messaging application server, which is not limited herein. The number of the terminal devices and the servers in fig. 1 is only one illustration, and any number of the terminal devices and the servers may be provided according to implementation requirements. For example, the server may be a server cluster composed of a plurality of servers.
The terminal device and the server are connected through a communication link, and the communication link can be a wired communication link, a wireless communication link, an optical fiber cable or the like.
The server may be a server that provides various services. For example, a user sends a request for obtaining service-related information to a server using a terminal device. The server can obtain the service related information based on the request and feed the service related information back to the terminal equipment, and then the user can display the service related information based on the terminal equipment. For a game scene, a user sends a game operation instruction to a server by using a terminal device according to game related information displayed on the terminal device. The server may return the execution result of the game operation instruction to the terminal device based on the game operation instruction. The terminal device displays the execution result of the received game operation instruction on the terminal device.
It should be understood that the technical solution provided in the present application is specifically applied to a data transmission scenario with multiple channels, and for convenience of understanding, please refer to fig. 2, where fig. 2 is an interactive schematic diagram based on multi-channel data transmission in this embodiment of the present application, as shown in the figure, if a first network device is a sending end, a second network device is a receiving end, and correspondingly, if the second network device is a sending end, the first network device is a receiving end, where the first network device may be a terminal device and the second network device may be a server, or the first network device may be a server and the second network device may be a terminal device, which is not limited this time.
Based on the structure shown in fig. 2, parallel data transmission may be performed between a first network device and a second network device through multiple channels, where the multiple channels may be channel 1, channel 2 to channel M, and M is a positive integer greater than or equal to 2. The channels include, but are not limited to, a Wireless Fidelity (WiFi) channel, a bluetooth channel, and a 4th Generation mobile communication technology (4G) channel, such as a 4G channel for channel 1, a bluetooth channel for channel 2, and a WiFi channel for channel 3.
According to the method, a multi-channel IP Protocol (mtIP) is obtained by modifying an Internet Protocol (IP), channel options are newly added in the optional fields, channel identification, sending end identification and other related information are stored in the multi-channel options, and accuracy and effectiveness of multi-channel data transmission are guaranteed according to a receiving end multi-channel IP mapping relation and a sending end multi-channel IP mapping relation. The first network device copies a plurality of upper layer data packets on an IP layer, adds a multi-channel option to the packet head of the data packet to obtain a plurality of IP data packets, then respectively sends the IP data packets to the second network device through each channel, and the second network device performs deduplication processing after receiving the plurality of IP data packets sent by the same first network device and only forwards one IP data packet to the upper layer. Therefore, the technical scheme of the embodiment of the application can transmit the IP data packet through the plurality of data channels together, so that the transmission stability of the data packet is ensured, the problems of high packet loss rate and high delay in the data transmission process are effectively solved, and the service requirements under various communication scenes are met.
With reference to the above description, from the perspective of a network device at a sending end, a data transmission method based on multiple channels in this application will be described below, and referring to fig. 3, an embodiment of the data transmission method based on multiple channels in this application includes:
101. acquiring a data packet to be processed;
in this embodiment, the first network device obtains a data packet to be processed, where the data packet to be processed may be a User Datagram Protocol (UDP) data packet or a Transmission Control Protocol (TCP) data packet issued through an application layer. The first network device may be understood as a transmitting network device.
102. Generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
in this embodiment, the first network device copies multiple copies of the to-be-processed data packet, that is, copies M copies of the to-be-processed data packet, according to the to-be-processed data packet transmitted by an upper layer, so as to obtain M to-be-processed data packets, where M is an integer greater than 1, that is, to generate 2 or more than 2 to-be-processed data packets.
103. Packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry the transmitting end identifier;
in this embodiment, the first network device maintains a receiving-end multi-channel IP mapping relationship, indexes the receiving-end current channel address according to the receiving-end multi-channel IP mapping relationship, and encapsulates each of the M to-be-processed data packets based on the receiving-end current channel address and the transmitting-end identifier, thereby obtaining M IP data packets.
For easy understanding, please refer to table 1, where table 1 shows the correspondence between M pieces of data to be processed and M pieces of IP packets.
TABLE 1
Pending data packet IP data packet Channel
TCP data packet 1 mtIP data packet 1 WiFi channel
TCP data packet 2 mtIP data packet 2 4G channel
TCP data packet 3 mtIP data packet 3 Bluetooth channel
The type of the data packet to be processed and the type of the channel shown in table 1 are only an illustration, and should not be construed as a limitation to the present application. As can be seen from table 1, the data packet to be processed and the IP data packet have a one-to-one correspondence relationship, that is, the packet header information is added to the TCP data packet 1 to obtain the mtIP data packet 1, the packet header information is added to the TCP data packet 2 to obtain the mtIP data packet 2, the packet header information is added to the TCP data packet 3 to obtain the mtIP data packet 3, and different IP data packets are transmitted through different channels.
104. And sending M IP data packets to the network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
In this embodiment, the first network device sends the M IP data packets to the network device through M channels, where the network device is the second network device, and the second network device may be understood as a receiving-end network device. Specifically, for convenience of description, please refer to table 1 again, assume that 3 IP packets, that is, mtIP packet 1, mtIP packet 2, and mtIP packet 3, are generated at the first network device, and each IP packet is sent to the second network device through a corresponding channel, for example, the first network device sends mtIP packet 1 to the second network device through a WiFi channel, the first network device sends mtIP packet 2 to the second network device through a 4G channel, and the first network device sends mtIP packet 3 to the second network device through a bluetooth channel.
It is to be understood that the number and type of the channels are not limited in this application, and the number of the channels may be determined according to the number of communication channels that can be supported between the first network device and the second network device, and may include any number of WiFi channels, third Generation mobile communication technology (3G) channels, 4G channels, fifth Generation mobile communication technology (5G) channels, bluetooth channels, wired channels, and the like, for example.
In the embodiment of the application, a data transmission method based on multiple channels is provided, and by the above mode, the data packet is encapsulated by utilizing the multiple channel IP mapping relation to obtain the IP data packet, and the IP data packet can be directly transmitted at two communication ends without passing through a proxy server, so that the possibility of abnormal conditions is reduced, and the data transmission efficiency is improved. Meanwhile, the communication transmission based on multiple channels can realize network fault tolerance, thereby improving the stability of network transmission and being suitable for various network scenes.
Optionally, on the basis of the embodiment corresponding to fig. 3, in a first optional embodiment of the multichannel-based data transmission method provided in the embodiment of the present application, the encapsulating, according to a receiving-end multichannel internet protocol IP mapping relationship, the M to-be-processed data packets to obtain M IP data packets may include:
acquiring a channel identifier corresponding to a data packet to be processed;
determining a current channel address of a receiving end corresponding to the data packet to be processed based on the multi-channel IP mapping relation of the receiving end according to a channel identifier corresponding to the data packet to be processed and a main channel address of the receiving end corresponding to the data packet to be processed;
and encapsulating the data packet to be processed according to the current channel address of the receiving end corresponding to the data packet to be processed to obtain the IP data packet.
In this embodiment, a method for encapsulating a to-be-processed data packet based on a receiving-end multi-channel IP mapping relationship is introduced, where a first network device copies M copies of the to-be-processed data packet in an IP layer, and for convenience of description, a description will be given by taking any one of the M to-be-processed data packets as an example.
Specifically, after acquiring a to-be-processed data packet, a first network device determines through which channel the to-be-processed data packet is to be sent to a second network device, so as to obtain a channel Identifier (ID) of the channel, where it is assumed that a channel identifier of a WiFi channel is 100 and a channel identifier of a 4G channel is 101, and if the to-be-processed data packet needs to be sent through the WiFi channel, a corresponding channel identifier is 101.
The WiFi channel may be defaulted as a main channel, the channel identifier is 100, which indicates that the channel type of the current uplink data packet is the WiFi channel, and the main channel is a communication mode with the highest priority.
A receiving end multi-channel IP mapping relation is maintained in a first network device (sending end), the first network device (sending end) registers a second network device (receiving end) address corresponding to each channel to an mtIP protocol stack, and the first network device can store and record the mapping relation among a receiving end main channel address (destIP), a channel identifier and a receiving end current channel address (tunnel destIP) in an mtIP information management module for subsequent use. Assume that the WiFi address of the receiving end (1) is 1.1.1.1, the 4G address of the receiving end (1) is 2.2.2.2, the WiFi channel id is 100, the 4G channel id is 101, the WiFi address of the receiving end (2) is 1.1.2.2, and the 4G address of the receiving end (2) is 2.2.4.4.
For ease of understanding, please refer to table 2, where table 2 is an illustration of a receiving-end multi-channel IP mapping relationship.
TABLE 2
Figure BDA0003154315620000101
The first network device has a unique sender identifier (client key), and may be calculated by a hash algorithm (compare to hash 32). And the first network equipment fills the current channel address of the receiving end into the head part of the IP data packet as a target IP field if the current channel address of the receiving end is retrieved from the multi-channel IP mapping relation of the receiving end according to the main channel address and the channel identification of the receiving end corresponding to the data packet to be processed. If the current channel address of the receiving end cannot be retrieved from the multi-channel IP mapping relation of the receiving end, the main channel address of the receiving end is filled into the head part of the IP data packet to be used as a target IP field.
For convenience of understanding, a specific example will be described below, and it is assumed that an mtIP protocol stack of a first network device (sending end) receives a UDP packet forwarded by an upper layer, a receiving end with a destination address of 1.1.1.1 needs to send, and if a currently sent channel is a 4G channel, a current channel address of the receiving end is 2.2.2.2, so that the address of 1.1.1.1 is filled in a target IP field of an IP packet header, and at the same time, the address of 2.2.2.2 is filled in a source IP field of the IP packet header.
Optionally, the application may modify an Internet Protocol Version four (Internet Protocol Version 4, IPv4) and an Internet Protocol Version six (Internet Protocol Version 6, IPv6), add multi-channel (muti _ tunnel) selectable item information to selectable item fields of IPv4 and IPv6, respectively, where the muti _ tunnel selectable item information is used as a part of an IP packet header, and thus encapsulate the to-be-processed packet to obtain the IP packet. The content of the muti _ tunnel selectable item information is as follows:
Figure BDA0003154315620000102
Figure BDA0003154315620000111
wherein, the tunnelIndex field in the muti _ tunnel selectable item information is used to fill in the ID of the channel, for example, the tunnelIndex field of the WiFi channel is 100, and the tunnelIndex field of the 4G channel is 101. The seqno field in the muti _ tunnel selectable information is used to fill in the packet sending sequence numbers of multiple channels, such as 1, 2, or 3, and the sequence numbers in the multiple channels are the same for the same upper layer packet, for example, for the to-be-processed packet a, the packet sequence number in the WiFi channel is 5, and the packet sequence number in the 4G channel is also 5. The clientKey field in the muti _ tunnel selectable item information is used for filling a sending end identifier, the sending end identifier has uniqueness and unique corresponding relation with the sending end, and the sending end identifier may be a Media Access Control (MAC) address of the main channel network card, for example, a WiFi network card address of the sending end is filled. The start _ time field in the muti _ tunnel alternative information is used to fill in the start time of the channel communication, for example, when seqno is 0 xfffffffffffff, the start _ time field is updated to the current time again, and the seqno field is reset to 0. The send time field in the muti _ tunnel option information is used to fill in the sending time of the IP packet (i.e. the time of the receiving end at this moment) after the clock synchronization is completed. The cmd field in the muti _ tunnel option information is used to inform the receiving end of the corresponding operation.
Secondly, in the embodiment of the application, a method for encapsulating a data packet to be processed based on a receiving end multi-channel IP mapping relation is provided, and by the above mode, the data packet is encapsulated and transmitted by adopting the receiving end multi-channel IP mapping relation, so that the method is suitable for various network scenes, protocols above an IP layer do not need to be changed and adapted at will, various types of services and real-time application can be supported, and the feasibility and operability of the scheme are improved.
Optionally, on the basis of each embodiment corresponding to fig. 3, in a second optional embodiment of the multichannel-based data transmission method provided in this embodiment of the present application, before encapsulating the M to-be-processed data packets according to the receiving-end multichannel internet protocol IP mapping relationship to obtain the M IP data packets, the method may further include:
sending a domain name resolution request through a first channel, wherein the first channel belongs to one of the M channels, and the domain name resolution request is used for requesting a domain name server to resolve a target domain name;
receiving a current channel address of a receiving end of a first channel through the first channel;
sending a domain name resolution request through a second channel, wherein the second channel belongs to a channel different from the first channel in the M channels;
receiving the current channel address of the receiving end of the second channel through the second channel;
and establishing a receiving end multi-channel IP mapping relation according to the channel identification of the first channel, the channel identification of the second channel, the receiving end current channel address of the first channel, the receiving end current channel address of the second channel and the receiving end main channel address.
In this embodiment, a receiving-end multi-channel IP mapping relationship is established. Before a first network device (sending end) communicates with a second network device (receiving end), if Domain Name resolution of a Domain Name System (DNS) is required, an mtIP protocol stack of the first network device is sent through each channel. For convenience of understanding, please refer to fig. 4, where fig. 4 is a schematic diagram of a data transmission flow based on a sending end in the embodiment of the present application, and as shown in the figure, specifically:
in step a1, the application layer of the first network device sends a domain name packet to the mtIP protocol stack of the first network device, that is, generates a domain name resolution request, where the domain name resolution request carries a target domain name, and the target domain name may be www.dalianmao.com.
In step a2, the first network device sends a domain name resolution request to the domain name server over a first tunnel, and sends a domain name resolution request to the domain name service through the second channel, the domain name server respectively resolves and obtains the current channel address of the receiving end of the first channel and the current channel address of the receiving end of the second channel according to the domain name resolution request, it can be understood that the receiving end current channel address of the first channel and the receiving end current channel address of the second channel both correspond to the same target domain name, assuming that the first channel is a WiFi channel, the second channel is a 4G channel, the receiving end current channel address of the WiFi channel is 1.1.1.1, the receiving end current channel address of the 4G channel is 2.2.2.2, assuming that the WiFi channel is a main channel, for easy understanding, please refer to table 3, where table 3 is an illustration of part of information in a multi-channel IP mapping relationship at a receiving end.
TABLE 3
Main channel address of receiving end (destIP) Channel Identification (ID) Receiving end current channel address (Tunnel DestIP)
1.1.1.1 100 1.1.1.1
1.1.1.1 101 2.2.2.2
It can be understood that more information can be supplemented in table 3 according to the situation of multiple receiving ends, so as to obtain the receiving end main channel address, the channel identifier and the receiving end current channel address for different sending ends.
In step a3, the first network device feeds back the current channel address of the receiving end of the first channel and the current channel address of the receiving end of the second channel to the mtIP information management module, and stores the form of the multi-channel IP mapping relationship of the receiving end in the mtIP information management module, where the mtIP information management module belongs to the first network device.
In step a4, the application layer in the first network device sends a TCP packet or a UDP packet to the mtIP protocol stack.
In step a5, the first network device encapsulates the TCP data packet or the UDP data packet according to the receiving-end multi-channel IP mapping relationship stored in the mtIP information management module, and, assuming that the TCP data packet is split-packaged, copies the TCP data packet in multiple copies first, and then encapsulates each TCP data packet based on the receiving-end multi-channel IP mapping relationship to obtain multiple mtIP data packets.
In step a6, the first network device sends a plurality of IP packets, i.e., sends a plurality of mtIP packets generated by step a5, to the second network device through the mtIP protocol stack.
The domain name server is a server that performs conversion between a domain name and an IP address corresponding to the domain name, and stores a domain name and an IP address relationship table corresponding to the domain name in the DNS to resolve the domain name of the message. The DNS will translate a name (e.g., www. wikipedia. org) that is convenient for human use into an IP address (e.g., 208.80.152.2) that is convenient for machine recognition.
Thirdly, in the embodiment of the application, a receiving end multi-channel IP mapping relation is established. Through the mode, the sending end establishes the mapping relation based on the scene of multi-communication transmission, so that multi-channel data transmission can be realized according to the mapping relation, and therefore feasibility and reliability of the scheme are improved.
Optionally, on the basis of the foregoing embodiments corresponding to fig. 3, in a third optional embodiment of the data transmission method based on multiple channels provided in the embodiment of the present application, sending M IP data packets to a network device through M channels may include:
sending a first IP data packet to a target network card of the network equipment through a first channel, wherein the first channel belongs to one of M channels, and the first IP data packet belongs to one of M IP data packets;
and sending a second IP data packet to a target network card of the network equipment through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
In this embodiment, a method for accessing a single network is introduced, that is, a receiving end only has a network card corresponding to an access network, and the network card corresponding to the access network is a target network card. The first network device (sending end) sends a first IP data packet to a target network card of the second network device (receiving end) through a first channel, and meanwhile, the first network device (sending end) sends a second IP data packet to the target network card of the second network device (receiving end) through a second channel, wherein the first channel can be a WiFi channel, the second channel can be a 4G channel, the first IP data packet can be an mtIP data packet 1, and the second IP data packet can be an mtIP data packet 2.
For convenience of understanding, please refer to fig. 5, where fig. 5 is a schematic diagram of an architecture of a single network access at a receiving end in the embodiment of the present application, and as shown in the figure, three channels are taken as an example for description, and the three channels are respectively a bluetooth channel, a WiFi channel, and a 4G channel, and in practical application, the three channels are not limited to the above three channels. A TCP data packet or a UDP data packet is copied into three TCP data packets or three UDP data packets in an mtIP layer protocol stack, each TCP data packet or each UDP data packet is packaged into an mtIP data packet, for example, an mtIP data packet 1, an mtIP data packet 2 and an mtIP data packet 3 are obtained, a first network device sends the mtIP data packet 1 to a Bluetooth receiving device through a Bluetooth module, a second network device sends the mtIP data packet 2 to a wireless router through a WiFi module, and the first network device sends the mtIP data packet 3 to a 4G base station through a 4G module. The Bluetooth receiving equipment, the wireless router and the 4G base station respectively send mtIP data packets to the same Network card of second Network equipment (receiving end) through a Backbone Network (Backbone Network), namely the second Network equipment receives 3 mtIP data packets through the Network card, then the 3 mtIP data packets are subjected to duplication elimination processing in an mtIP layer protocol stack of the second Network equipment to obtain a TCP data packet or a UDP data packet, the TCP data packet or the UDP data packet is sent to a transmission layer protocol stack through the mtIP layer protocol stack, the TCP data packet or the UDP data packet is converted into an application layer protocol data packet by the transmission layer protocol stack, and then the application layer protocol data packet is sent to the application layer to perform corresponding services.
The backbone network is a high-speed network for connecting a plurality of areas or regions. Each backbone network has at least one connection point for interconnecting with other backbone networks. Different network providers have their own backbone networks to connect their networks in different areas.
Secondly, in the embodiment of the application, a method for single network access is provided. By the mode, the transmitting end and the receiving end can achieve the condition of receiving and transmitting the data packet by the single network, and the method is suitable for the scene of single network data transmission, so that the practicability and feasibility of data transmission are improved.
Optionally, on the basis of the foregoing embodiments corresponding to fig. 3, in a fourth optional embodiment of the data transmission method based on multiple channels provided in the embodiment of the present application, sending M IP data packets to a network device through M channels may include:
sending a first IP data packet to a first network card of the network equipment through a first channel, wherein the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to a second network card of the network equipment through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
In this embodiment, a method for accessing multiple networks is described, that is, a receiving end has network cards corresponding to multiple access networks, that is, at least includes a first network card and a second network card, the second network card and the first network card belong to different access networks, for example, the first network card belongs to an access network of a carrier, the second network card belongs to an access network of a mobile carrier, a first network device (sending end) sends a first IP data packet to the first network card of a second network device (receiving end) through a first channel, and at the same time, the first network device (sending end) sends a second IP data packet to the second network card of the second network device (receiving end) through a second channel, where the first channel may be a WiFi channel, the second channel may be a 4G channel, the first IP data packet may be an mtIP data packet 1, the second IP data packet may be an mtIP data packet 2, and the first network card may be a carrier, the second network card may be a mobile network card.
It can be understood that the first network card and the second network card may also belong to other different types of access networks, such as an educational network card or a unicom network card, which is only an illustration here and should not be construed as a limitation to the present application.
For easy understanding, please refer to fig. 6, where fig. 6 is a schematic diagram of an architecture of multiple network access at a receiving end in the embodiment of the present application, and as shown in the figure, three channels are taken as an example and are respectively a bluetooth channel, a WiFi channel, and a 4G channel, and in practical application, the three channels are not limited to the above three channels. A TCP data packet or a UDP data packet is copied into three TCP data packets or three UDP data packets in an mtIP layer protocol stack, each TCP data packet or each UDP data packet is packaged into an mtIP data packet, for example, an mtIP data packet 1, an mtIP data packet 2 and an mtIP data packet 3 are obtained, a first network device sends the mtIP data packet 1 to a Bluetooth receiving device through a Bluetooth module, a second network device sends the mtIP data packet 2 to a wireless router through a WiFi module, and the first network device sends the mtIP data packet 3 to a 4G base station through a 4G module. The Bluetooth receiving equipment, the wireless router and the 4G base station respectively send mtIP data packets to different types of Network cards in second Network equipment (receiving end) through a Backbone Network (Backbone Network), namely the second Network equipment receives the mtIP data packets 1 through the Network card 1, the second Network equipment receives the mtIP data packets 2 through the Network card 2, and the second Network equipment receives the mtIP data packets 3 through the Network card 3. And then, carrying out duplicate removal processing on the 3 mtIP data packets in the mtIP layer protocol stack of the second network equipment to obtain a TCP data packet or UDP data packet, sending the TCP data packet or UDP data packet to the transmission layer protocol stack through the mtIP layer protocol stack, converting the TCP data packet or UDP data packet into an application layer protocol data packet by the transmission layer protocol stack, and then sending the application layer protocol data packet to the application layer to carry out corresponding service.
Secondly, in the embodiment of the application, a method for accessing multiple networks is provided, and in the above manner, a sending end and a receiving end can receive and send data packets across networks, so that the method is suitable for a scene of transmitting data by multiple networks, and the practicability and feasibility of data transmission are improved.
Optionally, on the basis of each embodiment corresponding to fig. 3, in a fifth optional embodiment of the data transmission method based on multiple channels provided in the embodiment of the present application, after sending M IP data packets to the network device through M channels, the method may further include:
if the M channels meet the preset transmission condition, determining N channels as channels to be transmitted from the M channels, wherein the channels to be transmitted are used for transmitting IP data packets, and N is an integer which is greater than or equal to 1 and smaller than M;
and if the M channels do not meet the preset transmission condition, determining the M channels as the channels to be transmitted.
In this embodiment, a method for modifying a policy for receiving and sending a data packet is introduced, and after clock synchronization is completed between a first network device and a second network device, communication quality of each current channel can be obtained, that is, a delay condition and a packet loss rate can be known. The communication quality of the channel is poor under the condition of large delay and high packet loss rate, and conversely, the communication quality of the channel is good under the condition of small delay and low packet loss rate. In practical application, the strategy of sending and receiving packets can be added through the cmd field, and the strategy is used for informing the opposite end to perform some operations.
Specifically, the preset transmission condition may be that the packet loss rate is less than a preset threshold, or the delay is less than a preset threshold, or both the packet loss rate and the delay are less than a preset threshold, and if the M channels satisfy the preset transmission condition, it indicates that the communication quality of the M channels is good, at this time, the network is stable, so that a part of the channels may be closed, that is, it is determined that the N channels are to-be-transmitted channels from the M channels, and it is sufficient to subsequently transmit data through the N channels. Or determining N channels as channels to be transmitted from the M channels at a time, and thus performing packet interleaving among the N channels.
If the M channels satisfy the preset transmission condition, the communication quality of the M channels is poor, and the network state is unstable, so that the M channels still need to be determined as channels to be transmitted, and data transmission continues through the original M channels.
Secondly, in the embodiment of the present application, a method for modifying a strategy for receiving and transmitting a data packet is provided, and in the above manner, after clock synchronization is completed, a transmitting end and a receiving end can modify the strategy for receiving and transmitting the data packet according to the signal quality of each channel, so as to better cope with different communication scenarios, thereby saving network transmission flow.
With reference to the above description, the following describes a data transmission method based on multiple channels in the present application from the perspective of a receiving-end network device, and referring to fig. 7, an embodiment of the data transmission method based on multiple channels in the present application includes:
201. receiving M Internet Protocol (IP) data packets sent by network equipment, wherein the M IP data packets are transmitted through M channels, the channels and the IP data packets have a corresponding relationship, M is an integer greater than 1, the M IP data packets are obtained by the network equipment after packaging the M data packets to be processed according to a receiving end multi-channel IP mapping relationship, the receiving end multi-channel IP mapping relationship comprises a channel identifier, a receiving end main channel address and a receiving end current channel address, and the IP data packets and the data packets to be processed have a corresponding relationship;
in this embodiment, the second network device receives M IP packets sent by the first network device, and the second network device may be understood as a receiving-end network device.
It is understood that the transmission manner of the M IP packets refers to the process described in step 101 to step 104 in the embodiment corresponding to fig. 3. That is, the first network device obtains a data packet to be processed, where the data packet to be processed may be a user datagram protocol UDP data packet or a TCP data packet issued by an application layer, and the first network device may be understood as a sending-end network device. The first network device copies a plurality of copies of the to-be-processed data packet, that is, copies M copies of the to-be-processed data packet, according to the to-be-processed data packet transmitted from the upper layer, so as to obtain M to-be-processed data packets, where M is an integer greater than 1, that is, to generate 2 or more than 2 to-be-processed data packets. The first network equipment encapsulates the M data packets to be processed according to a receiving end multi-channel IP mapping relation to obtain M IP data packets, wherein the receiving end multi-channel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry the transmitting end identifier. And finally, the first network equipment sends M IP data packets to the second network equipment through M channels.
202. Analyzing the M IP data packets to obtain a sending end identifier of the IP data packet, a channel identifier of the IP data packet and a current channel address of the sending end of the IP data packet;
in this embodiment, the second network device parses the M IP data packets to obtain the sending end identifier of the IP data packet, the channel identifier of the IP data packet, and the current channel address of the sending end of the IP data packet. The sender identifier of the IP packet is clientKey, such as 123123. The channel id of the IP packet is used to identify different channels, for example, the WiFi channel id is 100, and the 4G channel id is 101. The current channel address of the sending end of the IP data packet indicates the source address of the channel sending the IP data packet, and may be, for example, 2.2.1.1.
203. Establishing a multi-channel IP mapping relation of a sending end according to a sending end identifier of an IP data packet, a channel identifier of the IP data packet and a current channel address of the sending end of the IP data packet;
in this embodiment, when the mtIP protocol stack of the second network device receives M IP data packets through one or more network cards, the main channel address of the sending end, the sending end identifier, the channel identifier of the IP data packet, and the current channel address of the sending end of the IP data packet are recorded in the mtIP information management module. And the second network equipment establishes a multi-channel IP mapping relation of the sending end according to the sending end identification of the IP data packet, the channel identification of the IP data packet and the current channel address of the sending end of the IP data packet.
If the second network device receives an IP data packet of the 4G channel sent by the first network device with the sender identifier 123123, and the main channel is a WiFi channel, the current channel address of the sender is 2.2.1.1, the sender multi-channel IP mapping relationship in the mtIP information management module, for easy understanding, please refer to table 4, where table 4 is an illustration of the sender multi-channel IP mapping relationship.
TABLE 4
Figure BDA0003154315620000161
If the second network device receives the WiFi channel with the sender identifier of 123123, and the current channel address of the sender is 2.2.3.3, if the entry of the main channel is not found according to the sender identifier, the sender main channel address is filled in the sender multi-channel IP mapping relationship, and the sender main channel address (the address of WiFi) is updated to the sender main channel addresses of other channels with the sender identifier of 123123.
TABLE 5
Figure BDA0003154315620000162
And the mtIP protocol stack of the second network equipment identifies the M IP data packets sent from the M channels according to the sending end identification and the communication start field of the first network equipment, and performs deduplication processing. And the mtIP protocol stack of the second network equipment forwards the IP data packet after the duplication removal to the application layer, and takes the main channel address of the receiving end and the current channel address of the sending end as the destination IP and the source IP of the IP data packet and returns the destination IP and the source IP to the application layer of the upper layer.
204. And when M IP return data packets are generated according to the multi-channel IP mapping relation of the sending end, the M IP return data packets are sent to the network equipment through the M channels, wherein the IP return data packets carry the sending end identification.
In this embodiment, when the second network device needs to send an IP data packet to the first network device, that is, the second network device generates M IP backhaul data packets according to the multi-channel IP mapping relationship of the sending end, and the second network device finds the source address of the sending end of the current channel based on the multi-channel IP mapping relationship of the sending end, so as to send the M IP backhaul data packets to the network device through the M channels.
For easy understanding, please refer to fig. 8, where fig. 8 is a schematic diagram of a data transmission flow based on a receiving end in the embodiment of the present application, and as shown in the figure, specifically:
in step B1, the first network device sends mtIP packet 1 to the network card of the second network device through the first channel;
in step B2, the network card of the second network device forwards the mtIP packet 1 to the mtIP protocol stack of the upper layer;
in step B3, the first network device sends mtIP packet 2 to the network card of the second network device through the second channel;
in step B4, the network card of the second network device forwards the mtIP packet 2 to the mtIP protocol stack of the upper layer;
in step B5, the second network device stores the sender identifier, the sender main channel address, the channel identifier, and the sender current channel address in mtIP packet 1 and mtIP packet 2 in the mtIP information management module;
in step B6, the mtIP protocol stack of the second network device performs deduplication processing on the received mtIP data packet 1 and mtIP data packet 2 to obtain an mtIP data packet;
in step B7, the mtIP protocol stack of the second network device converts the mtIP packet into a TCP packet or a UDP packet, and then transmits the TCP packet or the UDP packet to the upper application.
In the embodiment of the application, a data transmission method based on multiple channels is provided, and through the above manner, when a single network fails, a receiving end does not sense, and other channels can still communicate normally, so that the situation of network blockage can be effectively prevented, and especially under the condition that the wireless network environment of a user is complex, the effect is more remarkable. And under the network environment with higher real-time requirement, the method can prevent most WiFi wireless interference conditions, has higher optimization rate, and can solve the problems of adaptation of application under double channels and TCP connection abnormity.
Optionally, on the basis of the foregoing embodiments corresponding to fig. 7, in a first optional embodiment of the multichannel-based data transmission method provided in the embodiment of the present application, the receiving M internet protocol IP packets sent by the network device may include:
receiving a first IP data packet sent by a network device through a first channel through a target network card, wherein the first channel belongs to one of M channels, and the first IP data packet belongs to one of M IP data packets;
and receiving a second IP data packet sent by the network equipment through a second channel through the target network card, wherein the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
In this embodiment, a method for accessing a single network is introduced, that is, a receiving end only has a network card corresponding to an access network, and the network card corresponding to the access network is a target network card. The second network device (receiving end) receives a first IP data packet sent by the first network device (sending end) through the first channel through the target network card, and meanwhile, the second network device (receiving end) receives a second IP data packet sent by the second network device (sending end) through the second channel through the target network card, wherein the first channel can be a WiFi channel, the second channel can be a 4G channel, the first IP data packet can be an mtIP data packet 1, and the second IP data packet can be an mtIP data packet 2.
Secondly, in the embodiment of the present application, a single network access method is provided, where a sending end and a receiving end can achieve the situation of receiving and sending data packets by a single network, and the method is applicable to a single network data transmission scenario, so as to improve the practicability and feasibility of data transmission.
Optionally, on the basis of the foregoing embodiments corresponding to fig. 7, in a second optional embodiment of the multichannel-based data transmission method provided in the embodiment of the present application, the receiving M internet protocol IP packets sent by the network device may include:
receiving a first IP data packet sent by a network device through a first channel through a first network card, wherein the first channel belongs to one of M channels, and the first IP data packet belongs to one of M IP data packets;
and receiving a second IP data packet sent by the network equipment through a second channel by using a second network card, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
In this embodiment, a method for accessing multiple networks is introduced, that is, a receiving end has network cards corresponding to multiple access networks, that is, at least includes a first network card and a second network card, where the second network card and the first network card belong to different access networks, for example, the first network card belongs to an access network of a carrier, and the second network card belongs to an access network of a mobile company. The second network device (receiving end) receives a first IP data packet sent by the first network device (sending end) through the first channel through the first network card, and meanwhile, the second network device (receiving end) receives a second IP data packet sent by the second network device (sending end) through the second channel through the second network card, wherein the first channel may be a WiFi channel, the second channel may be a 4G channel, the first IP data packet may be an mtIP data packet 1, the second IP data packet may be an mtIP data packet 2, the first network card may be a telecommunication network card, and the second network card may be a mobile network card.
It can be understood that the first network card and the second network card may also belong to other different types of access networks, such as an educational network card or a unicom network card, which is only an illustration here and should not be construed as a limitation to the present application.
Secondly, in the embodiment of the application, a method for accessing multiple networks is provided, and a sending end and a receiving end can receive and send data packets across networks, so that the method is suitable for a scene of transmitting data by multiple networks, and the practicability and feasibility of data transmission are improved.
Optionally, on the basis of each embodiment corresponding to fig. 7, in a third optional embodiment of the data transmission method based on multiple channels provided in the embodiment of the present application, after receiving M internet protocol IP packets sent by a network device, the method may further include:
analyzing M IP data packets to obtain M service data packets and M packet header information, wherein the packet header information and the IP data packets have a corresponding relation, and the packet header information comprises packet serial numbers of the IP data packets;
and performing duplicate removal processing on the M service data packets according to the M packet header information.
In this embodiment, a method for removing duplicate packets is described, where a second network device parses M received IP data packets, so as to obtain M service data packets and M header information, where an IP data packet has one service data packet and one header information, and the header information includes a packet sequence number of the IP data packet.
Specifically, the first deduplication rule is: if (MaxSeqno-curSeqno) > recvThred; alternatively, the first and second electrodes may be,
if (MaxSeqno-currseqno) < ═ recvThred and currseqno is not in the unreceived set, then the corresponding service data packet is discarded.
The second deduplication rule is: if curSeqno > MaxSeqno; alternatively, the first and second electrodes may be,
and if (MaxSeqno-curSeqno) < ═ recvThred and the packet sequence number is in the unreceived packet set, retaining the corresponding service data packet.
Wherein, currseqno is the packet sequence number of the IP data packet, MaxSeqno is the maximum packet receiving sequence number of the second network device, and recvThred is the first threshold.
For ease of understanding, several implementations will be provided below:
assuming that the first threshold recvThred is 10, MaxSeqno is 20, and the packet sequence number currseqno of the currently received IP packet is 5, at this time, MaxSeqno-currseqno is 20-5 ═ 15>10, and at this time, the uplink packet with the packet sequence number 5 is discarded.
Assuming that the first threshold recvThred is 10, MaxSeqno is 20, and the packet sequence number currseqno of the currently received IP packet is 5, at this time, MaxSeqno-currseqno is 20-5 ═ 15>10, and at this time, the IP packet with the packet sequence number 5 is discarded.
Assuming that the first threshold recvThred is 10, MaxSeqno is 20, and the packet sequence number currseqno of the currently received IP packet is 15, at this time, MaxSeqno-currseqno is 20-15 ═ 5<10, and the unreceived packet set at this time does not include the packet sequence number 15, the IP packet with the packet sequence number 15 is discarded similarly.
Assuming that the first threshold recvThred is 10, MaxSeqno is 20, and the packet sequence number currseqno of the currently received IP packet is 15, at this time, MaxSeqno-currseqno is 20-15 ═ 5<10, and the unreceived packet set at this time includes the packet sequence number 15, the IP packet with the packet sequence number 15 is retained, and the packet sequence number 15 is deleted from the unreceived packet set at the same time.
For convenience of understanding, please refer to fig. 9, where fig. 9 is a schematic view of an embodiment of a data packet deduplication method in the embodiment of the present application, and as shown in the figure, it is assumed that packet sequence numbers of a sequence transmitted by a first network device of a WiFi channel are sequentially 1, 2, 3, and 4, packet sequence numbers of a sequence transmitted by a first network device of a 4G channel are also sequentially 1, 2, 3, and 4, and packet sequence numbers of a sequence received by a second network device are sequentially 1 of the WiFi channel, 1 of the 4G channel, 4 of the WiFi channel, 2 of the 4G channel, 2 and 3 of the WiFi channel, and 3 and 4 of the 4G channel.
The second network device first receives the IP data packet with packet number 1 in the WiFi channel, retains and forwards the packet, and updates MaxSeqno to 1.
The second network device receives the IP packet with packet number 1 in the 4G channel, and discards the IP packet corresponding to case 1, that is, MaxSeqno is 1 and MaxSeqno is currseqno.
And the second network equipment receives the IP data packet with the packet sequence number of 4 of the WiFi channel. In this case, corresponding to case 2, that is, MaxSeqno is 1, MaxSeqno < currseqno & currseqno-MaxSeqno >1, MaxSeqno is updated to 4, skipped packet numbers 2 and 3 are placed in the unreceived packet set, and the IP data packet is retained.
And the second network equipment receives the IP data packet with the packet sequence number of 2 of the 4G channel. Corresponding to the case 3, that is, MaxSeqno is 4, MaxSeqno > currseqno & MaxSeqno-currseqno <10, the packet sequence number 2 is found in the unreceived packet set, the IP data packet is retained and deleted from the unreceived packet set, and only the packet sequence number 3 remains in the unreceived packet set.
The packet sequence number of the forwarding sequence of the second network device is 1 of the WiFi channel, 4 of the WiFi channel, 2 of the 4G channel and 3 of the WiFi channel in sequence.
In the embodiment of the present application, a method for removing duplicate data packets is provided, and with the above manner, on one hand, transmission stability and validity of service data packets can be ensured by receiving packets simultaneously through multiple channels, and on the other hand, network changes can be shielded after aggregation and duplicate removal are performed on M IP data packets received in parallel, so that network devices at a receiving end cannot sense changes of different network environments.
Optionally, on the basis of each embodiment corresponding to fig. 7, in a fourth optional embodiment of the data transmission method based on multiple channels provided in the embodiment of the present application, after receiving M internet protocol IP packets sent by a network device, the method further includes:
determining the delay of a target IP data packet according to a first time of the target IP data packet and a second time contained in the target IP data packet, wherein the second time is the time when the network equipment sends the data packet, and the target IP data packet belongs to one IP data packet in the M IP data packets;
and determining the network state of a channel adopted by the network equipment for sending the target IP data packet according to the delay of the target IP data packet.
In this embodiment, a method for implementing clock synchronization by network devices at two ends is introduced, where the second network device determines a network state of a data channel used by the first network device when sending a target IP data packet (i.e., one IP data packet of M IP data packets), and may calculate a delay of the target IP data packet sent by the first target IP data packet according to a first time when receiving the target IP data packet sent by the first network device and a second time included in the target IP data packet sent by the first device, and then determine a network state of a data channel used by the first network device when sending the target IP data packet according to the delay of the target IP data packet sent by the first target IP data packet.
If the delay of the target IP data packet sent by the first network device is larger, it indicates that the network state of the data channel used by the first network device to send the target IP data packet is worse, and otherwise, if the delay of the target IP data packet sent by the first network device is smaller, it indicates that the network state of the data channel used by the first network device to send the target IP data packet is better.
The second time is determined according to the time when the first network device sends the target IP data packet and the clock synchronization compensation value between the second network device and the first network. Specifically, the first network device may request a timestamp from the second network device at intervals, record a return delay of the second network device each time, and obtain an average delay avgDelay between the first network device and the second network device by averaging. Then, the first network device calculates, according to the recorded timestamp svrttime returned by the last request of the second network device and the time localStartTime of the first network device at this time, the time svrStartTime of the second network device being svrttime + avgDelay/2, and further uses svrStartTime-localStartTime as a clock synchronization compensation value between the second network device and the first network device, assuming that the time when the first network device sends the target IP packet is currtime, the second time is CStime + svrStartTime-localStartTime.
For convenience of explanation, the intelligent traffic-saving transmission can be realized by judging the network state of the data channel in the multi-channel transmission process, and the specific process is as follows:
s1, the first network device requests a timestamp from the second network device (for example, the timestamp may be requested 10 times, and each time interval is 500 ms), records a return delay of the second network device each time, and obtains an average delay avgddelay of the first network device and the second network device by averaging;
s2, the first network device records the timestamp svrTime returned by the last request of the second network device and the local time localStartTime of the first network device at the moment;
s3, the first network device calculates svrStartTime of the second network device at this time, svrstime + avgDelay/2;
s4, each packet sent by the first network device carries the current time of the second network device, that is, CStime-localStartTime + svrstime, and each packet sent by the second network device carries the current timestamp Stime of the second network device.
Secondly, in the embodiment of the present application, a method for implementing clock synchronization of network devices at two ends is provided, and by the above method, the pause level of the current channel is determined according to the delay of the uplink packet, so as to formulate a packet sending rule of other channels, for example, when the network state of the Wi-Fi channel is good, the 4G channel may not send packets or send packets in a non-full amount, so as to save downlink traffic. In addition, the pause level of the current channel can be judged according to the delay of the downlink packet, so that a packet sending rule of other channels is formulated, for example, when the network state of the current channel is good, the other channels can send no packet or not send the packet in full quantity, so that the uplink flow of a user is saved.
Referring to fig. 10, fig. 10 is a schematic view of an embodiment of a data transmission device in an embodiment of the present application, and the data transmission device 30 includes:
an obtaining module 301, configured to obtain a data packet to be processed;
a generating module 302, configured to generate M to-be-processed data packets according to the to-be-processed data packet acquired by the acquiring module 301, where M is an integer greater than 1;
an encapsulating module 303, configured to encapsulate the M to-be-processed data packets generated by the generating module 302 according to a receiving-end multichannel internet protocol IP mapping relationship, so as to obtain M IP data packets, where the receiving-end multichannel IP mapping relationship includes a channel identifier, a corresponding relationship between a receiving-end main channel address and a receiving-end current channel address, the IP data packets and the to-be-processed data packets have a corresponding relationship, and the IP data packets carry a sending-end identifier;
a sending module 304, configured to send the M IP data packets encapsulated by the encapsulating module 303 to a network device through M channels, where the channels and the IP data packets have a corresponding relationship.
In the embodiment of the application, a data transmission method based on multiple channels is provided, and by the above mode, the data packet is encapsulated by utilizing the multiple channel IP mapping relation to obtain the IP data packet, and the IP data packet can be directly transmitted at two communication ends without passing through a proxy server, so that the possibility of abnormal conditions is reduced, and the data transmission efficiency is improved. Meanwhile, the communication transmission based on multiple channels can realize network fault tolerance, thereby improving the stability of network transmission and being suitable for various network scenes.
Alternatively, on the basis of the embodiment corresponding to fig. 10, in another embodiment of the data transmission device 30 provided in the embodiment of the present application,
the encapsulation module 303 is specifically configured to obtain a channel identifier corresponding to a to-be-processed data packet;
determining a current channel address of a receiving end corresponding to the data packet to be processed according to a channel identifier corresponding to the data packet to be processed and a main channel address of the receiving end corresponding to the data packet to be processed based on the multi-channel IP mapping relation of the receiving end;
and encapsulating the data packet to be processed according to the current channel address of the receiving end corresponding to the data packet to be processed to obtain an IP data packet.
Secondly, in the embodiment of the application, a method for encapsulating a data packet to be processed based on a receiving end multi-channel IP mapping relation is provided, and by the above mode, the data packet is encapsulated and transmitted by adopting the receiving end multi-channel IP mapping relation, so that the method is suitable for various network scenes, protocols above an IP layer do not need to be changed and adapted at will, various types of services and real-time application can be supported, and the feasibility and operability of the scheme are improved.
Optionally, on the basis of the embodiment corresponding to fig. 10, please refer to fig. 11, in another embodiment of the data transmission device 30 provided in the embodiment of the present application, the data transmission device 30 further includes a receiving module 305 and an establishing module 306;
the sending module 304 is further configured to send a domain name resolution request through a first channel before the encapsulating module 303 encapsulates the M to-be-processed data packets according to a receiving-end multi-channel IP mapping relationship to obtain M IP data packets, where the first channel belongs to one of the M channels, and the domain name resolution request is used to request a domain name server to resolve a target domain name;
the receiving module 305 is further configured to receive a current channel address of a receiving end of the first channel through the first channel;
the sending module 304 is further configured to send the domain name resolution request through a second channel, where the second channel belongs to a channel different from the first channel in the M channels;
the receiving module 305 is further configured to receive a current channel address of a receiving end of the second channel through the second channel;
the establishing module 306 is configured to establish the receiving-end multi-channel IP mapping relationship according to the channel identifier of the first channel, the channel identifier of the second channel, the receiving-end current channel address of the first channel, the receiving-end current channel address of the second channel, and the receiving-end main channel address received by the receiving module 305.
Thirdly, in the embodiment of the application, a receiving end multi-channel IP mapping relation is established. Through the mode, the sending end establishes the mapping relation based on the scene of multi-communication transmission, so that multi-channel data transmission can be realized according to the mapping relation, and therefore feasibility and reliability of the scheme are improved.
Alternatively, on the basis of the embodiment corresponding to fig. 10, in another embodiment of the data transmission device 30 provided in the embodiment of the present application,
the sending module 304 is specifically configured to send a first IP data packet to a target network card of the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to the target network card of the network device through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
Secondly, in the embodiment of the application, a method for single network access is provided. By the mode, the transmitting end and the receiving end can achieve the condition of receiving and transmitting the data packet by the single network, and the method is suitable for the scene of single network data transmission, so that the practicability and feasibility of data transmission are improved.
Alternatively, on the basis of the embodiment corresponding to fig. 10, in another embodiment of the data transmission device 30 provided in the embodiment of the present application,
the sending module 304 is specifically configured to send a first IP data packet to a first network card of the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to a second network card of the network device through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
Secondly, in the embodiment of the application, a method for accessing multiple networks is provided, and in the above manner, a sending end and a receiving end can receive and send data packets across networks, so that the method is suitable for a scene of transmitting data by multiple networks, and the practicability and feasibility of data transmission are improved.
Optionally, on the basis of the embodiment corresponding to fig. 10, please refer to fig. 12, in another embodiment of the data transmission device 30 provided in the embodiment of the present application, the data transmission device 30 further includes a determining module 307;
the determining module 307 is configured to, after the sending module 304 sends the M IP data packets to a network device through M channels, determine, if the M channels meet a preset transmission condition, that N channels are to-be-transmitted channels from the M channels, where the to-be-transmitted channels are used for transmitting the IP data packets, and N is an integer greater than or equal to 1 and smaller than M;
the determining module 307 is further configured to determine the M channels as channels to be transmitted if the M channels do not meet a preset transmission condition.
Secondly, in the embodiment of the present application, a method for modifying a strategy for receiving and transmitting a data packet is provided, and in the above manner, after clock synchronization is completed, a transmitting end and a receiving end can modify the strategy for receiving and transmitting the data packet according to the signal quality of each channel, so as to better cope with different communication scenarios, thereby saving network transmission flow.
Referring to fig. 13, fig. 13 is a schematic view of an embodiment of a data transmission device in an embodiment of the present application, in which the data transmission device 40 includes:
a receiving module 401, configured to receive M internet protocol IP packets sent by a network device, where the M IP packets are transmitted through M channels, the channels have a corresponding relationship with the IP packets, M is an integer greater than 1, and the M IP packets are obtained by the network device encapsulating the M to-be-processed data packets according to a receiving-end multi-channel IP mapping relationship, where the receiving-end multi-channel IP mapping relationship includes a channel identifier, a corresponding relationship between a receiving-end main channel address and a receiving-end current channel address, and the IP packets have a corresponding relationship with the to-be-processed data packets;
an analyzing module 402, configured to analyze the M IP data packets received by the receiving module 401 to obtain a sending end identifier of an IP data packet, a channel identifier of the IP data packet, and a current channel address of the sending end of the IP data packet;
an establishing module 403, configured to establish a multi-channel IP mapping relationship of a sending end according to the sending end identifier of the IP data packet, the channel identifier of the IP data packet, and the sending end current channel address of the IP data packet, which are obtained through analysis by the analyzing module 402;
a sending module 404, configured to send, when M IP backhaul data packets are generated according to the multi-channel IP mapping relationship of the sending end established by the establishing module 403, the M IP backhaul data packets to the network device through the M channels, where the IP backhaul data packets carry a sending end identifier.
In the embodiment of the application, a data transmission method based on multiple channels is provided, and through the above manner, when a single network fails, a receiving end does not sense, and other channels can still communicate normally, so that the situation of network blockage can be effectively prevented, and especially under the condition that the wireless network environment of a user is complex, the effect is more remarkable. And under the network environment with higher real-time requirement, the method can prevent most WiFi wireless interference conditions, has higher optimization rate, and can solve the problems of adaptation of application under double channels and TCP connection abnormity.
Optionally, on the basis of the embodiment corresponding to fig. 13, in another embodiment of the data transmission device 40 provided in the embodiment of the present application,
the receiving module 401 is specifically configured to receive, through a target network card, a first IP data packet sent by the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and receiving, by the target network card, a second IP data packet sent by the network device through a second channel, where the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
Secondly, in the embodiment of the present application, a single network access method is provided, where a sending end and a receiving end can achieve the situation of receiving and sending data packets by a single network, and the method is applicable to a single network data transmission scenario, so as to improve the practicability and feasibility of data transmission.
Optionally, on the basis of the embodiment corresponding to fig. 13, in another embodiment of the data transmission device 40 provided in the embodiment of the present application,
the receiving module 401 is specifically configured to receive, through a first network card, a first IP data packet sent by the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and receiving a second IP data packet sent by the network device through a second channel by using a second network card, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
Secondly, in the embodiment of the application, a method for accessing multiple networks is provided, and a sending end and a receiving end can receive and send data packets across networks, so that the method is suitable for a scene of transmitting data by multiple networks, and the practicability and feasibility of data transmission are improved.
Optionally, on the basis of the embodiment corresponding to fig. 13, please refer to fig. 14, in another embodiment of the data transmission device 40 provided in the embodiment of the present application, the data transmission device 40 further includes a deduplication module 405;
the parsing module 402 is further configured to, after the receiving module 401 receives M internet protocol IP data packets sent by a network device, parse the M IP data packets to obtain M service data packets and M header information, where the header information and the IP data packets have a corresponding relationship, and the header information includes a packet sequence number of the IP data packet;
the duplicate removal module 405 is configured to perform duplicate removal processing on the M service data packets according to the M packet header information obtained through analysis by the analysis module 402.
In the embodiment of the present application, a method for removing duplicate data packets is provided, and with the above manner, on one hand, transmission stability and validity of service data packets can be ensured by receiving packets simultaneously through multiple channels, and on the other hand, network changes can be shielded after aggregation and duplicate removal are performed on M IP data packets received in parallel, so that network devices at a receiving end cannot sense changes of different network environments.
Optionally, on the basis of the embodiment corresponding to fig. 13, please refer to fig. 15, in another embodiment of the data transmission apparatus 40 provided in the embodiment of the present application, the data transmission apparatus 40 further includes a determining module 406;
the determining module 406 is configured to determine, after the receiving module 401 receives M internet protocol IP packets sent by a network device, a delay of a target IP packet according to a first time of the target IP packet and a second time included in the target IP packet, where the second time is a time when the network device sends the packet, and the target IP packet belongs to one IP packet of the M IP packets;
the determining module 406 is further configured to determine, according to the delay of the target IP data packet, a network state of a channel used by the network device to send the target IP data packet.
Secondly, in the embodiment of the present application, a method for implementing clock synchronization of network devices at two ends is provided, and by the above method, the pause level of the current channel is determined according to the delay of the uplink packet, so as to formulate a packet sending rule of other channels, for example, when the network state of the Wi-Fi channel is good, the 4G channel may not send packets or send packets in a non-full amount, so as to save downlink traffic. In addition, the pause level of the current channel can be judged according to the delay of the downlink packet, so that a packet sending rule of other channels is formulated, for example, when the network state of the current channel is good, the other channels can send no packet or not send the packet in full quantity, so that the uplink flow of a user is saved.
As shown in fig. 16, for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiments of the present application. The network device may be any network device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, where the network device is a terminal device, and the terminal device is a mobile phone for example:
fig. 16 is a block diagram illustrating a partial structure of a handset related to a network device provided in an embodiment of the present application. Referring to fig. 16, the cellular phone includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 16 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 16:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 16 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 16 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; optionally, processor 580 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily the wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may optionally be logically connected to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present application, the processor 580 included in the network device further has the following functions:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry a sending end identifier;
and sending the M IP data packets to network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
In the embodiment of the present application, the processor 580 included in the network device further has the following functions:
receiving M Internet Protocol (IP) data packets sent by a network device, wherein the M IP data packets are transmitted through M channels, the channels and the IP data packets have corresponding relations, M is an integer greater than 1, the M IP data packets are obtained by the network device after packaging the M data packets to be processed according to a receiving end multi-channel IP mapping relation, the receiving end multi-channel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, and the IP data packets and the data packets to be processed have corresponding relations;
analyzing the M IP data packets to obtain sending end identification of the IP data packets, channel identification of the IP data packets and current channel addresses of the sending ends of the IP data packets;
establishing a multi-channel IP mapping relation of a sending end according to the sending end identification of the IP data packet, the channel identification of the IP data packet and the current channel address of the sending end of the IP data packet;
and when M IP return data packets are generated according to the multi-channel IP mapping relation of the sending end, the M IP return data packets are sent to the network equipment through the M channels, wherein the IP return data packets carry sending end identifiers.
Fig. 17 is a schematic structural diagram of a network device according to an embodiment of the present invention, where the network device 600 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and a memory 632, and one or more storage media 630 (e.g., one or more mass storage devices) for storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored on the storage medium 630 may include one or more modules (not shown), each of which may include a sequence of instructions operating on the network device. Still further, central processor 622 may be configured to communicate with storage medium 630 to perform a series of instruction operations in storage medium 630 on network device 600.
The network device 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The steps performed by the network device in the above embodiments may be based on the network device structure shown in fig. 17.
In the embodiment of the present application, the CPU 622 included in the network device further has the following functions:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry a sending end identifier;
and sending the M IP data packets to network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
In the embodiment of the present application, the CPU 622 included in the network device further has the following functions:
receiving M Internet Protocol (IP) data packets sent by a network device, wherein the M IP data packets are transmitted through M channels, the channels and the IP data packets have corresponding relations, M is an integer greater than 1, the M IP data packets are obtained by the network device after packaging the M data packets to be processed according to a receiving end multi-channel IP mapping relation, the receiving end multi-channel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, and the IP data packets and the data packets to be processed have corresponding relations;
analyzing the M IP data packets to obtain sending end identification of the IP data packets, channel identification of the IP data packets and current channel addresses of the sending ends of the IP data packets;
establishing a multi-channel IP mapping relation of a sending end according to the sending end identification of the IP data packet, the channel identification of the IP data packet and the current channel address of the sending end of the IP data packet;
and when M IP return data packets are generated according to the multi-channel IP mapping relation of the sending end, the M IP return data packets are sent to the network equipment through the M channels, wherein the IP return data packets carry sending end identifiers.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A data transmission method based on multiple channels is characterized by comprising the following steps:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
acquiring the current channel address of the receiving end of each channel through at least two channels;
establishing a receiving end multi-channel IP mapping relation according to the receiving end current channel address of each channel, the channel identification of each channel and the receiving end main channel address;
packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry a sending end identifier;
and sending the M IP data packets to network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
2. The method of claim 1, wherein the encapsulating the M to-be-processed data packets according to a receiving-end multichannel Internet Protocol (IP) mapping relationship to obtain M IP data packets comprises:
acquiring a channel identifier corresponding to a data packet to be processed;
determining a current channel address of a receiving end corresponding to the data packet to be processed according to a channel identifier corresponding to the data packet to be processed and a main channel address of the receiving end corresponding to the data packet to be processed based on the multi-channel IP mapping relation of the receiving end;
and encapsulating the data packet to be processed according to the current channel address of the receiving end corresponding to the data packet to be processed to obtain an IP data packet.
3. The method according to claim 1 or 2, wherein the obtaining the receiver current channel address of each channel through at least two channels comprises:
sending a domain name resolution request through a first channel, wherein the first channel belongs to one of the M channels, and the domain name resolution request is used for requesting a domain name server to resolve a target domain name;
receiving a current channel address of a receiving end of the first channel through the first channel;
sending the domain name resolution request through a second channel, wherein the second channel belongs to a channel different from the first channel in the M channels;
receiving a current channel address of a receiving end of the second channel through the second channel;
the establishing of the receiving end multi-channel IP mapping relation according to the receiving end current channel address of each channel, the channel identification of each channel and the receiving end main channel address comprises the following steps:
and establishing the receiving end multi-channel IP mapping relation according to the channel identification of the first channel, the channel identification of the second channel, the receiving end current channel address of the first channel, the receiving end current channel address of the second channel and the receiving end main channel address.
4. The method of claim 1, wherein said sending the M IP packets to the network device over the M lanes comprises:
sending a first IP data packet to a target network card of the network device through a first channel, wherein the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to the target network card of the network device through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, and the second IP data packet belongs to one of the M IP data packets different from the second IP data packet.
5. The method of claim 1, wherein said sending the M IP packets to the network device over the M lanes comprises:
sending a first IP data packet to a first network card of the network device through a first channel, where the first channel belongs to one of the M channels, and the first IP data packet belongs to one of the M IP data packets;
and sending a second IP data packet to a second network card of the network device through a second channel, wherein the second channel belongs to one of the M channels different from the first channel, the second IP data packet belongs to one of the M IP data packets different from the second IP data packet, and the second network card and the first network card belong to different access networks.
6. The method of claim 1, wherein after sending the M IP packets to a network device over M lanes, the method further comprises:
if the M channels meet preset transmission conditions, determining N channels as channels to be transmitted from the M channels, wherein the channels to be transmitted are used for transmitting IP data packets, and N is an integer which is greater than or equal to 1 and smaller than M;
and if the M channels do not meet the preset transmission condition, determining the M channels as the channels to be transmitted.
7. The method according to claim 1, wherein the data packet to be processed is a User Datagram Protocol (UDP) data packet or a Transmission Control Protocol (TCP) data packet;
the M channels comprise at least one of a wireless fidelity (WiFi) channel, a Bluetooth channel and a 4G channel.
8. A data transmission apparatus, comprising:
the acquisition module is used for acquiring a data packet to be processed;
a generating module, configured to generate M to-be-processed data packets according to the to-be-processed data packet acquired by the acquiring module, where M is an integer greater than 1;
the acquisition module is also used for acquiring the current channel address of the receiving end of each channel through at least two channels;
the establishing module is used for establishing a receiving end multi-channel IP mapping relation according to the receiving end current channel address of each channel, the channel identification of each channel and the receiving end main channel address;
an encapsulation module, configured to encapsulate the M to-be-processed data packets generated by the generation module according to a receiving-end multichannel internet protocol IP mapping relationship, so as to obtain M IP data packets, where the receiving-end multichannel IP mapping relationship includes a channel identifier, a corresponding relationship between a receiving-end main channel address and a receiving-end current channel address, the IP data packets and the to-be-processed data packets have a corresponding relationship, and the IP data packets carry a sending-end identifier;
and the sending module is used for sending the M IP data packets encapsulated by the encapsulating module to network equipment through M channels, wherein the channels and the IP data packets have corresponding relations.
9. A network device, comprising: a memory, a transceiver, a processor, and a bus system;
wherein the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
acquiring a data packet to be processed;
generating M data packets to be processed according to the data packets to be processed, wherein M is an integer greater than 1;
acquiring the current channel address of the receiving end of each channel through at least two channels;
establishing a receiving end multi-channel IP mapping relation according to the receiving end current channel address of each channel, the channel identification of each channel and the receiving end main channel address;
packaging the M data packets to be processed according to a receiving end multichannel Internet Protocol (IP) mapping relation to obtain M IP data packets, wherein the receiving end multichannel IP mapping relation comprises a channel identifier, a corresponding relation between a receiving end main channel address and a receiving end current channel address, the IP data packets and the data packets to be processed have a corresponding relation, and the IP data packets carry a sending end identifier;
sending the M IP data packets to network equipment through M channels, wherein the channels and the IP data packets have corresponding relations;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
10. A computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the data transmission method of any one of claims 1 to 7.
CN202110774713.3A 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device Active CN113518085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110774713.3A CN113518085B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110774713.3A CN113518085B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device
CN201910604392.5A CN110300115B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910604392.5A Division CN110300115B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device

Publications (2)

Publication Number Publication Date
CN113518085A true CN113518085A (en) 2021-10-19
CN113518085B CN113518085B (en) 2022-08-02

Family

ID=68030435

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910604392.5A Active CN110300115B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device
CN202110774713.3A Active CN113518085B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910604392.5A Active CN110300115B (en) 2019-07-05 2019-07-05 Data transmission method based on multiple channels and related device

Country Status (1)

Country Link
CN (2) CN110300115B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070495A (en) * 2021-11-17 2022-02-18 武汉联影智融医疗科技有限公司 Data transmission method, device, electronic device and storage medium
CN114666745A (en) * 2022-03-29 2022-06-24 杭州中天微系统有限公司 Data transmission method, node control method, network device and network system
CN115460267A (en) * 2022-08-16 2022-12-09 珠海市奥德维科技有限公司 Communication method and system, storage medium
CN115865903A (en) * 2022-12-06 2023-03-28 中安网脉(北京)技术股份有限公司 File transmission control system and method based on double channels
CN116032635A (en) * 2023-01-06 2023-04-28 上海贝锐信息科技股份有限公司 Data transmission method and system using public network to replace private line network
CN116170831A (en) * 2023-01-16 2023-05-26 上海山源电子科技股份有限公司 Data multichannel transmission method, device, equipment and medium based on 5G network
WO2024016758A1 (en) * 2022-07-20 2024-01-25 哲库科技(上海)有限公司 Audio data transmission method and apparatus, chip, electronic device, and storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099403B (en) 2019-05-17 2022-07-19 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN110719598B (en) * 2019-10-15 2021-10-22 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN113055353B (en) * 2019-12-28 2023-04-25 中移(成都)信息通信科技有限公司 Data transmission method, device, equipment and computer readable medium
CN111371800B (en) * 2020-03-12 2022-09-06 深圳市三旺通信股份有限公司 Message processing method, device and readable storage medium
CN111372328B (en) * 2020-03-12 2022-10-14 深圳市三旺通信股份有限公司 Data communication method, device, equipment and computer readable storage medium
CN111857999B (en) * 2020-07-10 2023-01-10 苏州浪潮智能科技有限公司 Data scheduling method, device and equipment and computer readable storage medium
CN111970340B (en) * 2020-07-30 2023-06-16 北京大米科技有限公司 Information transmission method, readable storage medium, and electronic device
CN114071434A (en) * 2020-08-03 2022-02-18 华为技术有限公司 Networking method, networking system and electronic equipment
CN112073288A (en) * 2020-08-19 2020-12-11 北京博特数通技术有限公司 Multilink data transmission method and device
CN112153753B (en) * 2020-09-24 2022-09-16 维沃移动通信有限公司 Network connection method and device
CN113641520B (en) * 2021-08-20 2024-04-05 北京百度网讯科技有限公司 Data processing method, system, device and storage medium
CN115102943B (en) * 2021-09-03 2024-04-05 南方电网数字平台科技(广东)有限公司 Multi-channel-based data trans-regional transmission method and device
CN115460157A (en) * 2022-07-26 2022-12-09 亿航智能设备(广州)有限公司 Multi-network-card converged communication method and communication system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866969A (en) * 2006-03-09 2006-11-22 华为技术有限公司 Iub interface data transmission method in broadband CDMA network
CN101083779A (en) * 2007-05-22 2007-12-05 深圳市智林机电技术有限公司 Method and equipment for realizing cheap redundant network array
CN101610535A (en) * 2009-07-30 2009-12-23 杭州华三通信技术有限公司 Multilink direct continuous show scape guarantees the method, system and device of BFD conversation stability down
CN101674308A (en) * 2009-10-13 2010-03-17 中兴通讯股份有限公司 Method and device for transmitting packet-switched domain business data
CN102761476A (en) * 2012-03-30 2012-10-31 杭州华三通信技术有限公司 Load balancing method and device
CN104519554A (en) * 2014-12-12 2015-04-15 重庆邮电大学 Method for supporting parallel access of multiband 6LoWSNs (IPv6 over low power wireless sensor networks) to internet
CN106789534A (en) * 2016-12-27 2017-05-31 京信通信技术(广州)有限公司 A kind of data transmission method and device based on wireless network
CN107171804A (en) * 2017-05-16 2017-09-15 歌尔科技有限公司 A kind of data transmission method
US20180146487A1 (en) * 2015-06-09 2018-05-24 Intel Corporation System and method for dynamic marking for internet protocol bearer splitting
CN108521331A (en) * 2018-04-11 2018-09-11 西安邮电大学 Hidden information based on source address sends system and sending method
CN109600388A (en) * 2019-01-03 2019-04-09 腾讯科技(深圳)有限公司 Data transmission method, device, computer-readable medium and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235373A (en) * 2017-12-30 2018-06-29 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium
CN107949069A (en) * 2017-12-30 2018-04-20 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium
CN108235363A (en) * 2017-12-30 2018-06-29 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866969A (en) * 2006-03-09 2006-11-22 华为技术有限公司 Iub interface data transmission method in broadband CDMA network
CN101083779A (en) * 2007-05-22 2007-12-05 深圳市智林机电技术有限公司 Method and equipment for realizing cheap redundant network array
CN101610535A (en) * 2009-07-30 2009-12-23 杭州华三通信技术有限公司 Multilink direct continuous show scape guarantees the method, system and device of BFD conversation stability down
CN101674308A (en) * 2009-10-13 2010-03-17 中兴通讯股份有限公司 Method and device for transmitting packet-switched domain business data
CN102761476A (en) * 2012-03-30 2012-10-31 杭州华三通信技术有限公司 Load balancing method and device
CN104519554A (en) * 2014-12-12 2015-04-15 重庆邮电大学 Method for supporting parallel access of multiband 6LoWSNs (IPv6 over low power wireless sensor networks) to internet
US20180146487A1 (en) * 2015-06-09 2018-05-24 Intel Corporation System and method for dynamic marking for internet protocol bearer splitting
CN106789534A (en) * 2016-12-27 2017-05-31 京信通信技术(广州)有限公司 A kind of data transmission method and device based on wireless network
CN107171804A (en) * 2017-05-16 2017-09-15 歌尔科技有限公司 A kind of data transmission method
CN108521331A (en) * 2018-04-11 2018-09-11 西安邮电大学 Hidden information based on source address sends system and sending method
CN109600388A (en) * 2019-01-03 2019-04-09 腾讯科技(深圳)有限公司 Data transmission method, device, computer-readable medium and electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070495A (en) * 2021-11-17 2022-02-18 武汉联影智融医疗科技有限公司 Data transmission method, device, electronic device and storage medium
CN114666745A (en) * 2022-03-29 2022-06-24 杭州中天微系统有限公司 Data transmission method, node control method, network device and network system
CN114666745B (en) * 2022-03-29 2023-07-21 杭州中天微系统有限公司 Data transmission method, node control method, network equipment and network system
WO2024016758A1 (en) * 2022-07-20 2024-01-25 哲库科技(上海)有限公司 Audio data transmission method and apparatus, chip, electronic device, and storage medium
CN115460267A (en) * 2022-08-16 2022-12-09 珠海市奥德维科技有限公司 Communication method and system, storage medium
CN115865903A (en) * 2022-12-06 2023-03-28 中安网脉(北京)技术股份有限公司 File transmission control system and method based on double channels
CN115865903B (en) * 2022-12-06 2023-10-03 中安网脉(北京)技术股份有限公司 File transmission control system and method based on double channels
CN116032635A (en) * 2023-01-06 2023-04-28 上海贝锐信息科技股份有限公司 Data transmission method and system using public network to replace private line network
CN116032635B (en) * 2023-01-06 2023-11-03 上海贝锐信息科技股份有限公司 Data transmission method and system using public network to replace private line network
CN116170831A (en) * 2023-01-16 2023-05-26 上海山源电子科技股份有限公司 Data multichannel transmission method, device, equipment and medium based on 5G network
CN116170831B (en) * 2023-01-16 2023-09-12 上海山源电子科技股份有限公司 Data multichannel transmission method, device, equipment and medium based on 5G network

Also Published As

Publication number Publication date
CN110300115B (en) 2021-07-16
CN113518085B (en) 2022-08-02
CN110300115A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN110300115B (en) Data transmission method based on multiple channels and related device
US20210360650A1 (en) Packet offloading method, mobile terminal, and storage medium
US10959124B2 (en) Uplink data transmission method, terminal, network side device and system
CN106412681B (en) Live bullet screen video broadcasting method and device
CN105847168B (en) data transmission method, network server, user terminal and system
CN110213315B (en) Path determining method and device
CN112291366B (en) Data transmission method and device, storage medium and electronic equipment
CN112423076B (en) Audio screen-throwing synchronous control method, equipment and computer readable storage medium
CN104967608B (en) Play method, mobile terminal and the fixed terminal of multimedia file
CN113572836B (en) Data transmission method, device, server and storage medium
CN110224719B (en) Communication control method and related product
CN110856103B (en) Scheduling method, communication method and related equipment
CN112291181B (en) Data transmission method based on multiple network cards and related device
WO2020147645A1 (en) Link aggregation realization method and related product
CN108337533B (en) Video compression method and device
CN109922539B (en) Network connection method and related product
JP2021505081A (en) Video transmission methods, video transmission equipment, and video transmission systems, as well as computer-readable storage media
CN108282405B (en) Application program interface cache management method, application server and storage medium
CN108011937A (en) Information push method, server, intelligent terminal and computer-readable recording medium
CN107104760B (en) Method for transmitting data packet, client and server
WO2015062400A1 (en) Method for managing video channel allocation, related device, and communications system
CN110417861B (en) Information pushing method and related device
CN110213069B (en) Data forwarding method and device, disaster recovery system and storage medium
EP3905788A1 (en) Link aggregation implementation method and related product
CN112188586B (en) Network access method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40053607

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant