CN114884871A - Data transmission method and device, storage medium and electronic equipment - Google Patents

Data transmission method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114884871A
CN114884871A CN202210400017.0A CN202210400017A CN114884871A CN 114884871 A CN114884871 A CN 114884871A CN 202210400017 A CN202210400017 A CN 202210400017A CN 114884871 A CN114884871 A CN 114884871A
Authority
CN
China
Prior art keywords
data transmission
protocol data
link
data packet
sent
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.)
Withdrawn
Application number
CN202210400017.0A
Other languages
Chinese (zh)
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.)
Shenzhen Bisuzhi Network Technology Co ltd
Original Assignee
Shenzhen Bisuzhi Network Technology 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 Shenzhen Bisuzhi Network Technology Co ltd filed Critical Shenzhen Bisuzhi Network Technology Co ltd
Priority to CN202210400017.0A priority Critical patent/CN114884871A/en
Publication of CN114884871A publication Critical patent/CN114884871A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/121Shortest path evaluation by minimising delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a data transmission method, a data transmission device, a storage medium and electronic equipment. The method is based on a data transmission method of a plurality of links, a sending device carries out data forwarding for a plurality of times based on the plurality of links, a receiving device calculates and finds out a protocol data packet to be sent meeting forwarding time limit according to turn serial numbers of different turns, and sends a data content packet to a target address, so that the data content packet is sequentially and efficiently forwarded.

Description

Data transmission method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, a storage medium, and an electronic device.
Background
In recent years, with the demand for network communication by mobile internet services increasing and the coverage of mobile communication networks expanding, products and technologies for simultaneously transmitting data based on a plurality of network links are gradually applied. The current router has a policy for routing and forwarding network protocol packets on multiple links, typically based on host internet protocol addresses, based on network session quintuple, or based on a preset weight, such as link weighted round robin selection. However, the statically set policy parameters cannot respond to the actual dynamic transmission capability of the links to perform forwarding dynamic adjustment, and cannot consider the problem of out-of-order arrival of network protocol data packets at a receiving end caused by real-time transmission delay differences among a plurality of links; in the forwarding process, if a certain link is interrupted or the transmission requirement of the session cannot be met, the network session can only be switched to another link, thereby causing the interruption of the network session.
Disclosure of Invention
In view of this, embodiments of the present application provide a data transmission method, an apparatus, a storage medium, and an electronic device, which can forward network protocol data packets in a fast and orderly manner.
In a first aspect, an embodiment of the present application provides a data transmission method, including:
when a receiving device receives a protocol data packet to be sent, calculating a turn sequence number of the protocol data packet to be sent;
and sending the protocol data packet to be sent meeting the forwarding strategy to a target address according to the turn serial number.
In an embodiment of the data transmission method provided in the present application, the calculating the turn number of the protocol data packet to be sent includes:
acquiring a data content packet of the protocol data packet to be sent and a serial number of the data content packet;
and calculating the turn sequence number of the protocol data packet to be sent according to the sequence number.
In an embodiment of the data transmission method provided in the present application, the sending, according to the round number, the protocol data packet to be sent that meets the forwarding policy to a target address includes:
calculating according to the turn sequence number to obtain the protocol data packet to be sent which meets the forwarding strategy;
and sending the data content packet of the protocol data packet to be sent meeting the forwarding strategy to the target address.
In order to achieve the above object, the present application further provides a data transmission method, including:
when a protocol data packet sequence is received, constructing a link list, wherein the protocol data packet sequence comprises at least one protocol data packet to be sent, and the link list comprises at least three network links;
calculating the turn serial number, and selecting the network links with the turn serial number from the link list as target links;
forwarding the protocol data packet to be sent through the target link;
determining whether the sequence of protocol data packets is empty;
and if the protocol data packet sequence is not empty, returning to the step of executing calculation of the round sequence number and selecting the network links with the round sequence number from the link list as target links until the protocol data packet sequence is empty.
In an embodiment of the data transmission method provided by the present application, the constructing the link list includes:
and obtaining the link round trip delay of the network link, and sequencing the network links according to the link round trip delay to obtain the link list.
In an embodiment of the data transmission method provided in the present application, the calculating the round number includes:
acquiring the turn serial number of the previous turn;
and calculating the turn sequence number of the current turn according to the turn sequence number of the previous turn.
In an embodiment of the data transmission method provided in the present application, the selecting, from the link list, the network links with the round number as target links includes:
and selecting the network links with the turn sequence numbers of the current turn from the head of the link list as target links.
In a second aspect, an embodiment of the present application further provides a data transmission apparatus, including a memory, a processor, and a data transmission program stored on the memory and executable on the processor, where the data transmission program, when executed by the processor, implements the steps of the data transmission method provided in the first aspect.
In a third aspect, the present invention provides a storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform a data transmission method as provided in the first aspect, among others.
In a fourth aspect, the present invention provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the data transmission method as provided in the first aspect when executing the computer program.
The embodiment of the application provides a data transmission method, wherein when a receiving device receives a protocol data packet to be sent, a turn number of the protocol data packet to be sent is calculated, and the protocol data packet to be sent meeting a forwarding strategy is sent to a target address according to the turn number. The method is based on a data transmission method of a plurality of links, a sending device carries out data forwarding for a plurality of times based on the plurality of links, a receiving device calculates and finds out a protocol data packet to be sent meeting forwarding time limit according to turn serial numbers of different turns, and sends a data content packet to a target address, so that the data content packet is sequentially and efficiently forwarded.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a data transmission system according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of a data transmission method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a link list provided in an embodiment of the present application.
Fig. 5 is a schematic diagram of another structure of a link list provided in the embodiment of the present application.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, "include" and "have" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Next, a data transmission method, an apparatus, a storage medium, and an electronic device provided in the embodiments of the present application will be described.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a data transmission system according to an embodiment of the present application.
In the embodiment of the application, the service client converts the received client data into a network Protocol packet (Internet Protocol, IP packet for short), and sends the IP packet to the sender data transmission device; after receiving the IP packet, the data transmission device at the sending end firstly encapsulates the IP packet into a protocol data packet and then distributes the protocol data packet to different network links for transmission; the receiving end data transmission device is used for receiving protocol data packets from different network links, restoring the received protocol data packets into IP packets and then forwarding the IP packets to a destination IP address; and the service server receives the IP packet sent by the data transmission device of the receiving terminal and performs service processing, namely the service client terminal successfully sends the IP packet to the service receiving terminal.
It should be noted that the data transmission device with the data transmission function provided by the present application can operate at the service sending end and the service receiving end simultaneously, and process the bidirectional IP packet simultaneously. Data transmission is performed between the sending-end data transmission device and the receiving-end data transmission device through N connected network links, where N is a positive integer and N is not less than 3 (for example, N is 4), that is, there are at least three connected network links, which is not limited in this application.
In some embodiments, all network links are sorted from small to large according to respective link round-trip delay, the connection states of all network links are detected in real time, disconnected network links are removed in time, and if the fact that the link round-trip delay of the network links changes is detected, all network links are sorted again.
The link Round-Trip Time (Round-Trip Time, link RTT for short) is composed of three parts: propagation time of the link, processing time of the end system, queuing and processing time in the router cache. The values of the propagation time of the link and the processing time of the end system are relatively fixed for the same transmission control protocol connection, and the queuing and processing time in the router cache changes along with the change of the congestion degree of the whole network, that is, the change of the link RTT reflects the congestion degree of the network to a certain extent, the smaller the link RTT value is, the weaker the congestion degree of the network link is, and conversely, the larger the link RTT value is, the stronger the congestion degree of the network link is. According to the method and the device, the connected network links are sequentially sequenced from small to large according to the link RTT, and each network link forwards one IP packet each time, so that the problem of disordered arrival of the IP packets at the service receiving end caused by real-time transmission delay difference among a plurality of network links is effectively solved.
It should be noted that, in the data transmission process, if a single network session is bound to a single link in a one-to-one manner, the parallel forwarding capability of multiple network links cannot be utilized, and if the network link is interrupted or cannot meet the session outgoing requirement, the network session can only be switched to another network link, thereby causing the problem of network session interruption. The data transmission in the application is based on a plurality of connected network links, the connection states of the plurality of network links are detected in real time, the disconnected network links are removed in time, the probability that IP packets distributed to the network links are lost due to network link interruption is reduced, and the parallel data forwarding of the plurality of network links is realized.
In a specific implementation process, the scenario diagram of the data transmission system shown in fig. 1 is only an example, and the data transmission system and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation to the technical solution provided in the embodiment of the present application.
Referring to fig. 2, fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present application, and in this embodiment, a data transmission device at a sending end is described, where the device may specifically be a router, and a specific flow of the data transmission method is as follows:
201. when a protocol data packet sequence is received, a link list is constructed, wherein the protocol data packet sequence comprises at least one protocol data packet to be sent, and the link list comprises at least three network links.
In some embodiments, this step 201 may include: and obtaining the link round-trip time delay of the network link, and sequencing the network link according to the link round-trip time delay to obtain a link list.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a link list according to an embodiment of the present disclosure.
In some embodiments, the sending-end data transmission apparatus first establishes the link list 400, adds all the connected N network links into the link list 400, sorts the network links in the link list 400 from small to large according to the link RTT, and detects the connection status of the network links in the link list in real time. The frequency of detecting the network link connection state may be set to perform periodic detection before the protocol data packet to be sent is distributed each time, or a time threshold may be set, which is not limited in this application. If a network link is detected to have been disconnected, it is removed from the link list 400. For each network link, the link list information thereof needs to be recorded, and the link list information specifically includes: link RTT, bandWidth parameter (bandWidth parameter, BDP for short), and bandWidth Delay Product (BDP for short). Wherein, the smaller the link RTT value is, the less time is used for transmitting the IP packet to the receiving end; the bandwidth parameter of each network link is fixed and invariable, and the bandwidth parameters of different network links may be different; the bandwidth-delay product, which is the product of the capacity of a data link (in bits per second) and the round-trip communication delay (in seconds), is a network performance metric that equates to the maximum amount of data that can be transmitted and received unacknowledged by the target link at a particular time.
It should be noted that, in order to increase the data transmission speed, in an embodiment of the present application, N network links are arranged from small to large according to the link RTT, and multiple rounds of forwarding are adopted, where each round is selected from the network link 1 with the smallest link RTT, that is, each round selects a batch of network links with a higher transmission speed.
202. And calculating the turn sequence number, and selecting network links with the turn sequence number from the link list as target links.
In some embodiments, this step 202 may include: and acquiring the round serial number of the previous round, and calculating the round serial number of the current round according to the round serial number of the previous round. And selecting the network links with the turn sequence numbers of the current turn from the head of the link list as target links.
Referring to fig. 5, fig. 5 is another schematic structural diagram of a link list according to an embodiment of the present application.
In some embodiments, if there are N target links in a link list, there are N round link information tables, the round number starts from 1 and accumulates 1 one by one, and the round number of 1 is the round 1 link information table, which contains target link 1, round 2 link information table contains target link 1 and target link 2, and so on, and the round N link information table contains target link 1, target link 2, …, and target link N. A plurality of target links in the current round list transmit a series of ordered IP packets in parallel, so that the IP packets can be distributed to different target links for parallel transmission, and the arrival speed and the order of the IP packets at a service receiving end are improved.
203. And forwarding the protocol data packet to be transmitted through the target link.
In some embodiments, each target link forwards one IP packet in each round. The link list is sorted from small to large according to the link RTT of the network link, that is, sorted from high to low according to the data sending speed of the network link, and in order to ensure that the target link in the current round list has enough time to complete the task of sending the protocol data packet, the link BDP calculation method of the target link in the round M link list may be as follows:
when M is<N is BDP i =(RTT M+1 /2)*bandWidth i
When M ═ N, BDP i =RTT N *bandWidth i i∈[1,M]And M is a positive integer.
Wherein BDP i Link BDP, RTT for ith target link in link list M+1 And RTT N Respectively the link RTT, bandWidth of the M +1 th and Nth target links in the link list i Is the bandWidth of the ith target link in the link list.
Further, the target links in the link list are sorted from small to large based on the link RTT, and the link RTT of the last target link in the next round is not less than the link RTT of any target link in the current round, so that the link RTT of the target link in the next round is selected when the BDP of the target link is calculated, and it can be ensured that any target link in the current round list has enough time to complete the data forwarding task, and the situation that the target link with a larger link RTT in the current round enters the next transmission round without completing the forwarding is effectively avoided.
204. It is determined whether the sequence of protocol data packets is empty.
It will be appreciated that when the protocol data packet sequence is empty, i.e. all IP packets have been forwarded.
205. If the protocol data packet sequence is not empty, returning to the step of executing the calculation of the round sequence number and selecting the network links with the round sequence number from the link list as target links until the protocol data packet sequence is empty.
It should be noted that the data transmission method provided by the present application is based on multiple rounds of target link routing forwarding protocol packets, and if the sequence of protocol packets is still not empty after the forwarding of the current round is completed, the selection and forwarding of the current round list of the next round are continued until all protocol packets to be sent are forwarded completely
Referring to fig. 3, fig. 3 is another schematic flow chart of a data transmission method according to an embodiment of the present application.
In this embodiment, a data transmission device at a receiving end is described, where the data transmission device may specifically be a router, and a specific flow of the data transmission method is as follows:
301. and when the receiving device receives the protocol data packet to be sent, calculating the turn sequence number of the protocol data packet to be sent.
In some embodiments, this step 301 may include: and acquiring a data content packet of the protocol data packet to be sent and a serial number of the data content packet, and calculating the turn serial number of the protocol data packet to be sent according to the serial number.
302. And sending the protocol data packet to be sent meeting the forwarding strategy to a target address according to the turn serial number.
In some embodiments, this step 302 may include: and calculating according to the turn number to obtain a protocol data packet to be sent meeting the forwarding strategy, and sending the data content packet of the protocol data packet to be sent meeting the forwarding strategy to a target address.
It can be understood that, when the data transmission device at the sending end forwards the IP packet, the forwarding time limits of different target links in the same round are the same, and each target link forwards one IP packet at a time, so that when the data transmission device at the receiving end receives a new round of protocol data packets to be sent, the packets are temporarily stored in the buffer queue, and when the preset transmission time limit of the round is reached, the data content packets of the protocol data packets to be sent received by different target links in the round are sent to the target address. When receiving a protocol data packet to be sent, the receiving end data transmission device acquires a serial number of the protocol data packet to be sent, and calculates a round serial number of a sending round to which the protocol data packet to be sent belongs according to the serial number. The protocol data packet to be sent satisfying the forwarding policy refers to the protocol data packet to be sent whose sequence number is within the range of forwarding the data packet in the current round, specifically, the value range of the sequence number of the protocol data packet to be sent forwarded in the sending round with the round number M is [ (M) 2 -M)/2+1,(M 2 +M)/2]Wherein N is more than or equal to M and more than or equal to 3, M and the serial number are positive integers, (M) 2 -M)/2+1 is the sequence number of the first protocol packet to be sent in this round, (M) 2 + M)/2 is the sequence number of the last protocol data packet to be sent in the current round, so the sequence number of the round to which the protocol data packet belongs can be calculated according to the sequence number of the protocol data packet to be sent. When the receiving end data transmission device receives the protocol data packet to be sent in turn M for the first time, the data content packets of the protocol data packet to be sent in turn with the turn number M-2 in the cache list are sent to the target address one by one according to the sequence of the sequence numbers. Therefore, the preset transmission time limit of each round is different, the preset transmission time limit of each round is related to the round number, and the larger the round number is, the longer the preset transmission time limit is.
In summary, the data transmission method provided by the application sequences the network links according to their link RTTs, distributes a series of ordered IP packets to the network links of different link RTTs in turn for parallel transmission, and the receiving end sets a preset transmission time limit according to the turn number of the sending end, thereby improving the order of arrival of the IP packets at the service receiving end; and adjusting the sequence of the network links in time according to the link RTT detected in real time, and reducing the packet loss rate.
An embodiment of the present application further provides a data transmission device, where the data transmission device includes: the data transmission method comprises the following steps of the data transmission method in the various embodiments when the data transmission program is executed by the processor.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
The terms are the same as those in the above data transmission method, and details of implementation may refer to the description in the method embodiment.
An embodiment of the present application further provides a server, as shown in fig. 6, which shows a schematic structural diagram of the server according to the embodiment of the present application, specifically:
the server may be a router and may include components such as a processor 601 of one or more processing cores, memory 602 of one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the server architecture shown in FIG. 6 is not meant 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. Wherein:
the processor 601 is a control center of the server, connects various parts of the entire server using various interfaces and lines, performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the server. Optionally, processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 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 created according to the use of the server, and the like. Further, the memory 602 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. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
The server further includes a power supply 603 for supplying power to each component, and preferably, the power supply 603 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 603 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The server may also include an input unit 604, which input unit 604 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the server may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 601 in the server loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions as follows:
when the receiving device receives a protocol data packet to be sent, calculating a sequence number of the turns of the protocol data packet to be sent; and sending the protocol data packet to be sent meeting the forwarding strategy to a target address according to the turn number.
When a protocol data packet sequence is received, constructing a link list, wherein the protocol data packet sequence comprises at least one protocol data packet to be sent, and the link list comprises at least one network link; calculating the turn serial number, and selecting network links with the turn serial number from the link list as target links; forwarding a protocol data packet to be sent through a target link; determining whether the sequence of protocol data packets is empty; if the protocol data packet sequence is not empty, returning to the step of executing the calculation of the round sequence number and selecting the network links with the round sequence number from the link list as target links until the protocol data packet sequence is empty.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the information communication method, and are not described herein again.
As can be seen from the above, the server according to the embodiment of the present application can calculate the turn number of the protocol data packet to be sent when the receiving device receives the protocol data packet to be sent; and sending the protocol data packet to be sent meeting the forwarding strategy to a target address according to the turn number. When a protocol data packet sequence is received, constructing a link list, wherein the protocol data packet sequence comprises at least one protocol data packet to be sent, and the link list comprises at least three network links; calculating the turn serial number, and selecting network links with the turn serial number from the link list as target links; forwarding a protocol data packet to be sent through a target link; determining whether the sequence of protocol data packets is empty; if the protocol data packet sequence is not empty, returning to the step of executing the calculation of the round sequence number and selecting the network links with the round sequence number from the link list as target links until the protocol data packet sequence is empty. Therefore, when data are transmitted, the data are sequenced according to the link RTT of the network link, a series of ordered IP packets are distributed to the network links of different link RTTs in turn for parallel transmission, the receiving end sets a preset transmission time limit according to the turn sequence number of the sending end, and the arrival orderliness of the IP packets at the service receiving end is improved; and adjusting the sequence of the network links in time according to the link RTT detected in real time, and reducing the packet loss rate.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the data transmission methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
when a receiving device receives a protocol data packet to be sent, calculating a turn number of the protocol data packet to be sent; and sending the protocol data packet to be sent meeting the forwarding strategy to a target address according to the turn number.
When a protocol data packet sequence is received, constructing a link list, wherein the protocol data packet sequence comprises at least one protocol data packet to be sent, and the link list comprises at least three network links; calculating the turn serial number, and selecting network links with the turn serial number from the link list as target links; forwarding a protocol data packet to be sent through a target link; determining whether the sequence of protocol data packets is empty; if the protocol data packet sequence is not empty, returning to the step of executing the calculation of the round sequence number and selecting the network links with the round sequence number from the link list as target links until the protocol data packet sequence is empty.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any data transmission method provided in the embodiments of the present application, the beneficial effects that can be achieved by any data transmission method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The data transmission method, the data transmission device, and the computer-readable storage medium provided by the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of data transmission, comprising:
when a receiving device receives a protocol data packet to be sent, calculating a turn sequence number of the protocol data packet to be sent;
and sending the protocol data packet to be sent meeting the forwarding strategy to a target address according to the turn serial number.
2. The data transmission method according to claim 1, wherein the calculating the round sequence number of the protocol data packet to be transmitted includes:
acquiring a data content packet of the protocol data packet to be sent and a serial number of the data content packet;
and calculating the turn sequence number of the protocol data packet to be sent according to the sequence number.
3. The data transmission method according to claim 1, wherein the sending the protocol data packet to be sent that satisfies the forwarding policy to a destination address according to the round number includes:
calculating according to the turn sequence number to obtain the protocol data packet to be sent which meets the forwarding strategy;
and sending the data content packet of the protocol data packet to be sent meeting the forwarding strategy to the target address.
4. A method of data transmission, characterized in that,
when a protocol data packet sequence is received, constructing a link list, wherein the protocol data packet sequence comprises at least one protocol data packet to be sent, and the link list comprises at least three network links;
calculating a round sequence number, and selecting the network links with the round sequence number from the link list as target links;
forwarding the protocol data packet to be sent through the target link;
determining whether the sequence of protocol data packets is empty;
and if the protocol data packet sequence is not empty, returning to the step of executing calculation of the round sequence number and selecting the network links with the round sequence number from the link list as target links until the protocol data packet sequence is empty.
5. The data transmission method of claim 4, wherein the constructing the link list comprises:
and obtaining the link round trip delay of the network link, and sequencing the network links according to the link round trip delay to obtain the link list.
6. The data transmission method of claim 4, wherein the calculating the round number comprises:
acquiring the turn serial number of the previous turn;
and calculating the turn sequence number of the current turn according to the turn sequence number of the previous turn.
7. The data transmission method according to claim 4, wherein the selecting the network links with the round sequence numbers from the link list as target links comprises:
and selecting the network links with the turn sequence numbers of the current turn from the head of the link list as target links.
8. A data transmission apparatus, characterized in that the data transmission apparatus comprises: memory, processor and data transmission program stored on the memory and executable on the processor, which data transmission program, when executed by the processor, implements the steps of the data transmission method according to any one of claims 1 to 7.
9. A storage medium having stored thereon a computer program for causing a computer to perform the steps of the data transmission method according to any one of claims 1 to 7 when the computer program is run on the computer.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the data transmission method according to any of claims 1-7 are implemented when the computer program is executed by the processor.
CN202210400017.0A 2022-04-15 2022-04-15 Data transmission method and device, storage medium and electronic equipment Withdrawn CN114884871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210400017.0A CN114884871A (en) 2022-04-15 2022-04-15 Data transmission method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210400017.0A CN114884871A (en) 2022-04-15 2022-04-15 Data transmission method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114884871A true CN114884871A (en) 2022-08-09

Family

ID=82669679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210400017.0A Withdrawn CN114884871A (en) 2022-04-15 2022-04-15 Data transmission method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114884871A (en)

Similar Documents

Publication Publication Date Title
CN111277502B (en) Method for transmitting data by multi-link aggregation and transmitting equipment
KR102030574B1 (en) Method, apparatus and system for transmitting Transmission Control Protocol (TCP) data packets
Zats et al. DeTail: Reducing the flow completion time tail in datacenter networks
EP3528440A1 (en) Path selection method and system, network acceleration node, and network acceleration system
US20210067453A1 (en) Data transmission method and apparatus
KR100554015B1 (en) System and method of controlling data transmission adapted for grid computing and computer readable recording medium of recording process thereof
JPH03174848A (en) Delay base rush evading method in computer network and device
US7924721B2 (en) Communication apparatus, transmission control method, and transmission control program
JP5673664B2 (en) High speed communication system and high speed communication method
WO2017114231A1 (en) Packet sending method, tcp proxy, and tcp client
CN105721328B (en) VRRP load balancing method, device and router
CN113098789A (en) SDN-based data center network multipath dynamic load balancing method
CN104683259A (en) TCP congestion control method and device
CN113783775A (en) Data transmission method and device
US20120155268A1 (en) Packet relay device
CN106027599B (en) Data transmission channel establishing method, system and server
Halim et al. Congestion control mechanism for Internet-of-Things (IOT) paradigm
US9537764B2 (en) Communication apparatus, control apparatus, communication system, communication method, method for controlling communication apparatus, and program
CN114884871A (en) Data transmission method and device, storage medium and electronic equipment
CN102497325B (en) DTN routing method based on reliable information distribution
Nithin et al. Efficient load balancing for multicast traffic in data center networks using SDN
US20220278936A1 (en) Method, Apparatus, and System for Implementing Congestion Control
Michizu et al. Energy balancing by wireless energy transfer in sensor networks
CN114884865A (en) Data forwarding method and device, storage medium and electronic equipment
Wang et al. Spray and Wait routing algorithm based on Transfer Utility of Node in DTN

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220809