CN115037700B - Complex network data packet transmission method, system, terminal and storage medium - Google Patents

Complex network data packet transmission method, system, terminal and storage medium Download PDF

Info

Publication number
CN115037700B
CN115037700B CN202210466903.3A CN202210466903A CN115037700B CN 115037700 B CN115037700 B CN 115037700B CN 202210466903 A CN202210466903 A CN 202210466903A CN 115037700 B CN115037700 B CN 115037700B
Authority
CN
China
Prior art keywords
data
transmission
packet
loss rate
preset
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.)
Active
Application number
CN202210466903.3A
Other languages
Chinese (zh)
Other versions
CN115037700A (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.)
Longtel Inc
Original Assignee
Longtel Inc
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 Longtel Inc filed Critical Longtel Inc
Priority to CN202210466903.3A priority Critical patent/CN115037700B/en
Publication of CN115037700A publication Critical patent/CN115037700A/en
Application granted granted Critical
Publication of CN115037700B publication Critical patent/CN115037700B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • 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/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0242Determining whether packet losses are due to overload or to deterioration of radio communication conditions

Landscapes

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

Abstract

The application relates to a complex network data packet transmission method, a system, a terminal and a storage medium, which belong to the field of data transmission, wherein the complex network data packet transmission method comprises the steps of obtaining historical transmission information of a current transmission link and obtaining packet loss rate of a previous transmission batch according to the historical transmission information; comparing the packet loss rate of the previous transmission batch with a preset packet loss rate; if the packet loss rate of the previous transmission batch is larger than the preset packet loss rate, reducing the data volume in the data packet of the current transmission batch by the preset data volume to form a new data packet to be transmitted; if the packet loss rate of the previous transmission batch is smaller than the preset packet loss rate, increasing the data volume in the data packet of the current transmission batch by the preset data volume to form a new data packet to be transmitted. The method and the device have the effect of improving the transmission efficiency of the data packet of the complex network.

Description

Complex network data packet transmission method, system, terminal and storage medium
Technical Field
The present invention relates to the field of data transmission, and in particular, to a method, a system, a terminal, and a storage medium for transmitting a complex network data packet.
Background
At present, the network transmission mode generally disassembles data into data blocks with specified sizes on the premise of determining a destination address, and then sends the data blocks from a service starting end to a service headquarter end through a multi-layer complex network environment, so that the proper data size can be selected in real time.
In general, the complex network data packet transmission process is that a complex network data packet transmission protocol selects data with a specific numerical value to transmit in a network channel; for the end-to-end environment, the selection of the transmission mode does not have an influence; however, for complex network environments, especially after passing through multi-layer routers and switches during the transmission of complex network packets, the packet loss rate is high.
And the data needs to be retransmitted once partial information is lost, so that the situation that the bandwidth is full is caused, the actual transmission time of the data far exceeds the theoretical transmission time, and the transmission efficiency of the data packet of the complex network is low.
Disclosure of Invention
The application provides a complex network data packet transmission method, a system, a terminal and a storage medium, which have the characteristic of improving the complex network data packet transmission efficiency.
The first object of the present application is to provide a method for transmitting a complex network data packet.
The first object of the present application is achieved by the following technical solutions:
a complex network packet transfer method, comprising:
acquiring historical transmission information of a current transmission link, and acquiring the packet loss rate of the previous transmission batch according to the historical transmission information;
the historical transmission information comprises the data quantity in a data packet of each transmission batch, the packet loss rate of each transmission batch and the transmission time of each transmission batch;
comparing the packet loss rate of the previous transmission batch with a preset packet loss rate;
if the packet loss rate of the previous transmission batch is larger than the preset packet loss rate, reducing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted;
if the packet loss rate of the previous transmission batch is smaller than the preset packet loss rate, increasing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted.
By adopting the technical scheme, the historical transmission information of the current transmission link is obtained firstly, and then the data quantity, the packet loss rate and the transmission time in the data packets in all the transmission tasks before the current batch of transmission tasks can be known according to the historical transmission information; then, the data packets of the current transmission batch are correspondingly processed through analysis and comparison of the packet loss rate of the previous transmission batch; by the method, for the current transmission link, the data volume of the data packet to be transmitted can be adjusted in real time according to the transmission result of the previous transmission batch every time, so that the control and synchronous adjustment of the data packet are realized, the data volume in the data packet accords with the transmission volume of the current transmission link, the transmission time of the data is shortened, and the transmission efficiency of the complex network data packet is improved.
The present application may be further configured in a preferred example, wherein the step of obtaining the historical transmission information of the current transmission link includes:
the historical transmission information comprises first transmission information;
if the current transmission link performs the first transmission:
splitting the data packet to be transmitted in the first transmission task into a plurality of sub-data packets with second preset data quantity, and transmitting the sub-data packets through the current transmission link.
The present application may be further configured in a preferred example to: the second preset data amount of the sub-packet includes an IP header data amount and a UDP header data amount.
The present application may be further configured in a preferred example, further comprising:
when the data volume in the data packet of the current transmission batch is reduced, acquiring the data volume of the reduced data packet;
comparing the data amount with a preset minimum data amount;
and when the data quantity is not smaller than the preset minimum data quantity, the reduced data packet is regarded as a new data packet to be transmitted.
The present application may be further configured in a preferred example, further comprising:
obtaining the sent data volume of a current transmission link according to the historical transmission information of the current transmission link;
comparing the transmitted data amount with a preset data amount threshold;
when the amount of transmitted data is not less than the preset data amount threshold:
and selecting the data volume in the data packet corresponding to the transmission batch with the minimum packet loss rate in the historical transmission information, and marking the data volume as the data volume of the standard data packet corresponding to the current transmission link.
The present application may be further configured in a preferred example to: and when the packet loss rate of the previous transmission batch is zero, increasing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted.
The present application may be further configured in a preferred example to: the first predetermined data amount is 128 bytes.
The second purpose of the present application is to provide a complex network packet transmission system.
The second object of the present application is achieved by the following technical solutions:
a complex network packet delivery system, comprising:
the acquisition module is used for acquiring the historical transmission information of the current transmission link and acquiring the packet loss rate of the previous transmission batch according to the historical transmission information;
the comparison module is used for comparing the packet loss rate of the previous transmission batch with a preset packet loss rate;
the reduction module is used for reducing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted;
and the increasing module is used for increasing the data quantity in the data packet of the current transmission batch by a first preset data quantity to form a new data packet to be transmitted.
The third purpose of the application is to provide an intelligent terminal.
The third object of the present application is achieved by the following technical solutions:
an intelligent terminal comprises a memory and a processor, wherein the memory stores computer program instructions of the complex network data packet transmission method which can be loaded and executed by the processor.
A fourth object of the present application is to provide a computer medium capable of storing a corresponding program.
The fourth object of the present application is achieved by the following technical solutions:
a computer readable storage medium storing a computer program capable of being loaded by a processor and executing any one of the complex network packet transfer methods described above.
Drawings
Fig. 1 is a flow chart of a complex network packet transmission method in an embodiment of the application.
Fig. 2 is a schematic structural diagram of a complex network packet transmission system according to an embodiment of the present application.
Reference numerals illustrate: 1. an acquisition module; 2. a comparison module; 3. a reduction module; 4. modules are added.
Detailed Description
The present embodiment is merely illustrative of the present application and is not intended to be limiting, and modifications may be made to the embodiment by those skilled in the art without creative contribution as needed after reading the present specification, but are protected by patent laws within the scope of the claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
The application provides a complex network data packet transmission method, and the main flow of the method is described as follows.
As shown in fig. 1:
step S101: and acquiring the historical transmission information of the current transmission link, and obtaining the packet loss rate of the previous transmission batch according to the historical transmission information.
At present, a general complex network data packet transmission process selects data with a specific numerical value based on a complex network data packet transmission protocol, and transmits the data in a network channel; if the transmission mode is applied to an end-to-end environment, the transmission of data is not affected; however, for the network environment of the national operator, even the network environment of the cross-country region, the complex network data packet transmission is easy to cause certain problems by adopting the mode; when the network environment belongs to the network environment crossing country regions, i.e. the data is transmitted internationally, different operators, different routes and different transmission protocols are filled in the network environment in the country transmission process, and when complex network data packet transmission is carried out in the network environment, multiple different exchanges of the data are carried out, the network environment is particularly complex, so that certain problems can occur in complex network data packet transmission; for example, in the process of transmitting a complex network data packet, multiple handshakes are required to be performed in the process of transmitting the complex network data packet, and the number of handshakes is increased accordingly, so that data is lost, retransmission is required once the data is lost, and thus, the situation that the bandwidth is pressurized and even full bandwidth occurs is avoided inevitably, so that the actual transmission time for completing transmission of the data is far longer than the theoretical transmission time, and the transmission efficiency of the complex network data packet is lower.
The maximum length of the general IP data packet is 65535 bytes, about 64K bytes, which contains the version, original address and destination address of IP protocol, and the information needs to occupy 20 bytes; the information of the source port, the destination port, the length, the check code and the like of the UDP header needs 64 bits; then it appears that there are 65507 bytes of data that we can write; in practical situations, however, the transmission of large files needs to go through multiple network devices, and an operator sets an MTU, that is, a maximum transmission unit, in the network devices; when the data or file transmitted by us exceeds the maximum transmission unit, the situation that the data packet is forcefully packetized occurs.
For UDP transmission, the packets are unordered, and if a sub-packet is lost or erroneous after the packets are packetized, the entire packet is discarded, so that the packet needs to be retransmitted; based on the above situation, sometimes, the whole UDP transmission data packet is not available due to the loss of several bits of data, which increases the packet loss rate and wastes bandwidth resources.
To solve the above problem, we need to know what the maximum value of the MTU is, and then ensure that the data amount of the data packet to be transmitted is transmitted without exceeding the maximum value of the MTU; because the MTU of some regions can be kept at 1500 bytes and the MTU of some regions can be smaller than 576 bytes in the process of transmitting the files across the country with complex network environment, real-time monitoring of the MTU in the transmission link is needed, and the data volume in the data packet to be transmitted cannot exceed the real-time maximum value of the MTU in each transmission process.
In the embodiment of the application, firstly, historical transmission information of a current transmission link is obtained; the historical transmission information comprises the data quantity in a data packet of each transmission batch, the packet loss rate of each transmission batch and the transmission time of each transmission batch; it should be understood that, a transmission batch refers to each transmitted packet in the current transmission link, and the behavior of transmitting each packet is defined as a transmission batch.
Wherein, the history transmission information comprises first transmission information; i.e. when no transmission has been performed for the current transmission link, a first transmission is required; if the current transmission link performs the first transmission: splitting a data packet to be transmitted in a first transmission task into a plurality of sub-data packets with second preset data quantity, and transmitting the sub-data packets through a current transmission link; wherein the second preset data amount of the sub-packet includes an IP header data amount and a UDP header data amount; the second preset data size is a preset data size, and because the first transmission is performed in the current transmission link and no history transmission information is used as a reference, in order to avoid the situation that the transmission failure is caused by the large data size in the data packet in the first transmission, the data packet to be transmitted is split according to the second preset data size, and then each sub-data packet is transmitted respectively; for example, the first 10 megabytes of the large file are taken as a data packet to be transmitted, and then the data packet is divided into sub-data packets with the size of 1472 bytes, wherein 1472 bytes are a second preset data amount, and the 1472 bytes do not contain 20 bytes of an IP header and 8 bytes of a UDP header; in the embodiment of the present application, during the process of splitting the data packet, since the data packet is transmitted for the first time in the current transmission link, 1500 bytes are adopted first, where 1500 bytes are the maximum value of the theoretical MTU, and then the IP header and the UDP header are subtracted based on the maximum value of the theoretical, so as to obtain the second preset data amount in the present application; the first transmission is performed in the mode, so that each sub-data packet can ensure the success of transmission, and the related transmission information obtained through the first transmission can provide corresponding information for the next transmission, thereby improving the transmission efficiency of the complex network data packet.
It will be appreciated that the above is directed to the first transmission in the current transmission link, and if the first transmission is not the first transmission, the historical transmission information is obtained, and then the following steps are adopted to perform the operation.
Step S102: and comparing the packet loss rate of the previous transmission batch with a preset packet loss rate.
Step S103: if the packet loss rate of the previous transmission batch is larger than the preset packet loss rate, reducing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted.
Step S104: if the packet loss rate of the previous transmission batch is smaller than the preset packet loss rate, increasing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted.
After the historical transmission information is obtained, the packet loss rate of the previous transmission batch can be obtained, the transmission efficiency of the data can be reflected through the packet loss rate, and then the packet loss rate of the previous transmission batch is compared with the preset packet loss rate; if the packet loss rate of the previous transmission batch is greater than the preset packet loss rate, the situation that the packet loss of the data is more in the previous transmission process is indicated, so that the MTU in the data link is reduced in the previous transmission process, the data volume in the data packet of the current transmission batch is required to be correspondingly reduced, the packet loss rate in the transmission process is ensured to meet the standard, and the transmission efficiency of the data packet of the complex network is further improved; if the packet loss rate of the previous transmission batch is smaller than the preset packet loss rate, the situation that the packet loss of the data is less in the previous transmission process is indicated, so that the MTU in the data link is increased in the previous transmission process, the data volume in the data packet of the current transmission batch can be correspondingly increased, the data volume of the current transmission batch is more, and the transmission efficiency of the complex network data packet is improved.
In one example, the transmission information of the previous transmission batch is analyzed, the packet loss rate of the previous transmission batch is 16%, and exceeds the preset packet loss rate by 15%, so that the data volume in the data packet of the current transmission batch is reduced by 128 bytes, wherein the 128 bytes are the first preset data volume; if the packet loss rate of the previous transmission batch is 10% and is smaller than the preset packet loss rate by 15%, increasing the data quantity in the data packet of the current transmission batch by 128 bytes; in the embodiment of the present application, 128 bytes is a preset data volume change value, which is a data volume change value set according to a loss function, and is used for continuously probing the actual MTU in the current transmission link, so as to accurately test the actual MTU of the current transmission link; it will be appreciated that the loss function, in turn, is a function that maps the value of a random event or its associated random variable to a non-negative real number to represent the "risk" or "loss" of the random event; in practical application, the loss function is usually associated with an optimization problem as a learning criterion, i.e. solving and evaluating the model by minimizing the loss function; for example, parameter estimation used for models in statistics and robotics, risk management and decision making in macroeconomics, and optimal control theory in control theory.
In the embodiment of the application, the data quantity change value is determined to be 128 bytes after calculation is performed through the loss function, and the data quantity change value is set to be 128 bytes, so that when the data quantity in the data packet is adjusted, no matter whether the data quantity in the data packet is increased or decreased, the change of the packet loss rate can be ensured, the effect of adjusting the data quantity is reflected, the data quantity is not greatly adjusted, the extreme condition that the change of the packet loss rate is overlarge can not occur, the reasonable adjustment of the data quantity is ensured, the data quantity in the data packet to be transmitted can be matched with the MTU in a transmission link, and the transmission efficiency of the complex network data packet is further improved.
In the embodiment of the application, a preset minimum data amount is further set; when the data volume in the data packet of the current transmission batch is reduced, acquiring the data volume of the reduced data packet; then comparing the data quantity with a preset minimum data quantity; when the data volume is not less than the preset minimum data volume, the reduced data packet is regarded as a new data packet to be transmitted; it can be understood that when the packet loss rate in the previous transmission batch is high, the data amount in the data packet to be transmitted needs to be reduced, but the data amount cannot be reduced below the preset minimum data amount, which would otherwise cause a certain problem in the data packet itself; the preset minimum data size in the embodiment of the application is 512 bytes; i.e. the amount of data in the data packet cannot be lower than 512 bytes.
It can be understood that, in the embodiment of the present application, 512 bytes is the preset minimum data amount of the transmission unit, that is, 512 bytes is taken as the critical point of the data amount in the data packet, and when the data amount in the data packet reaches the critical point, the data packet is not adjusted downwards; the downward adjustment here means that the data amount in the data packet is reduced after the data amount in the data packet reaches 512 bytes, because in the actual transmission process, two cases are generally included when the data amount in the data packet reaches a critical point, one is that the file itself is very small, and the other is that the end file remains after splitting the large file; for the data packet in the two cases, the data volume is lower than 512 bytes, so that the problem of data loss at the moment is not interfered by the program when the data volume is smaller than 512 bytes, and therefore, the preset minimum data volume is set to 512 bytes, the waste of computer power resources can be effectively avoided, and the transmission and processing efficiency of the complex network data packet is improved.
In another example, a case that the packet loss rate is zero may occur, and if the packet loss rate is zero, increasing the data amount in the data packet corresponding to the current transmission batch by a first preset data amount to form a new data packet to be transmitted; it can be understood that if the packet loss rate is zero, possibly because the transmission environment is a high-quality network environment such as a loop or a local area network, the data packet can be adjusted at this time, so that the data packet is increased to adapt to the current network environment, thereby improving the data transmission rate and efficiency.
In the embodiment of the application, the sent data volume of the current transmission link is obtained according to the historical transmission information of the current transmission link; then comparing the transmitted data quantity with a preset data quantity threshold value, if the transmitted data quantity is not smaller than the preset data quantity threshold value, selecting the data quantity in the data packet corresponding to the transmission batch with the minimum packet loss rate in the historical transmission information, and marking the data quantity as the data quantity of the standard data packet corresponding to the current transmission link; when the method is used for understanding, in the process of transmitting the complex network data packets, the change of the MTU in a data link can be reflected by analyzing the packet loss rate of each complex network data packet transmission, and then the speed and the efficiency of transmitting the complex network data packets are improved by adjusting the data packets; then when the transmission link has transmitted a certain amount of data packets, for example 100 megabytes; if the current transmission link has transmitted 100 megabytes, obtaining the minimum packet loss rate according to the transmitted transmission information of each batch, marking the data packet of the transmission batch corresponding to the packet loss rate as the optimal data packet, and transmitting the subsequent data packets according to the size of the data packet; by the method, the network quality can be improved, the waste of bandwidth resources is reduced, and the transmission rate and efficiency of the complex network data packets are improved.
In the embodiment of the application, each transmission condition is recorded by using a log mode.
In the embodiment of the application, the transmission link is a data link; links refer to passive point-to-point physical connections; in wired communication, a link refers to a physical line between two nodes, such as a cable or an optical fiber; in radio communication, a link refers to a path space in which electromagnetic waves propagate between a base station and a terminal; when data communication is performed, a path between two computers is often formed by connecting a plurality of links in series; for a data link, it is also necessary to have a communication protocol to control the transmission of data, and add hardware and software implementing the protocol to the link, where the link is a data link, and the data link is also called a logical link; according to the connection method of the communication links, the communication links can be divided into two types, namely a point-to-point connection communication link and a multipoint connection communication link; communication links can be classified into two types according to communication modes of the communication links, namely, a unidirectional communication link and a bidirectional communication link; communication links can be divided into two categories, no capacity communication links and capacity communication links, depending on the capacity of the communication links.
IT can be understood that in a complex network environment, for example, a transnational transmission link, technical standards of operators in different countries, equipment technologies of different manufacturers, different protocol stacks of a wireless environment and a wired environment and other technologies and management factors are needed, if a general TCP/IT protocol is adopted for transmission, the problems of repeated file retransmission and transmission failure equivalence ratio often occur, and in the embodiment of the application, the intelligent control function greatly improves the transmission efficiency of the complex network data packet aiming at the improvement of the data packet transmission process in the complex network environment.
The application also provides a complex network data packet transmission system, as shown in fig. 2, which comprises an acquisition module 1, a transmission module and a transmission module, wherein the acquisition module is used for acquiring the historical transmission information of the current transmission link and obtaining the packet loss rate of the previous transmission batch according to the historical transmission information; the comparison module 2 is used for comparing the packet loss rate of the previous transmission batch with a preset packet loss rate; a reducing module 3, configured to reduce the data amount in the data packet of the current transmission batch by a first preset data amount to form a new data packet to be transmitted; and the adding module 4 is used for adding the data quantity in the data packet of the current transmission batch by a first preset data quantity to form a new data packet to be transmitted.
In order to better execute the program of the method, the application also provides an intelligent terminal, wherein the intelligent terminal comprises a memory and a processor.
Wherein the memory may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the above-described complex network packet transfer method, and the like; the storage data area may store data and the like involved in the above-described complex network packet transfer method.
The processor may include one or more processing cores. The processor performs the various functions of the present application and processes the data by executing or executing instructions, programs, code sets, or instruction sets stored in memory, calling data stored in memory. The processor may be at least one of an application specific integrated circuit, a digital signal processor, a digital signal processing device, a programmable logic device, a field programmable gate array, a central processing unit, a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronic device for implementing the above-mentioned processor function may be other for different apparatuses, and embodiments of the present application are not specifically limited.
The present application also provides a computer-readable storage medium, for example, comprising: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes. The computer readable storage medium stores a computer program that can be loaded by a processor and that performs the complex network packet transfer method described above.
The above description is only illustrative of the presently preferred embodiments and the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the disclosure. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.

Claims (7)

1. A method for transmitting a complex network data packet, comprising:
acquiring historical transmission information of a current transmission link, and acquiring the packet loss rate of the previous transmission batch according to the historical transmission information;
the historical transmission information comprises the data quantity in a data packet of each transmission batch, the packet loss rate of each transmission batch and the transmission time of each transmission batch;
comparing the packet loss rate of the previous transmission batch with a preset packet loss rate;
if the packet loss rate of the previous transmission batch is larger than the preset packet loss rate, reducing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted;
if the packet loss rate of the previous transmission batch is smaller than the preset packet loss rate, increasing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted, wherein the first preset data volume is 128 bytes;
the historical transmission information comprises first transmission information;
if the current transmission link performs the first transmission:
splitting a data packet to be transmitted in a first transmission task into a plurality of sub-data packets with second preset data quantity, and transmitting the sub-data packets through a current transmission link;
obtaining the sent data volume of a current transmission link according to the historical transmission information of the current transmission link;
comparing the transmitted data amount with a preset data amount threshold;
when the amount of transmitted data is not less than the preset data amount threshold:
and selecting the data volume in the data packet corresponding to the transmission batch with the minimum packet loss rate in the historical transmission information, and marking the data volume as the data volume of the standard data packet corresponding to the current transmission link.
2. The complex network packet transfer method of claim 1, wherein the second preset data amount of the sub-packet includes an IP header data amount and a UDP header data amount.
3. The complex network packet transfer method of claim 1, further comprising:
when the data volume in the data packet of the current transmission batch is reduced, acquiring the data volume of the reduced data packet;
comparing the data amount with a preset minimum data amount;
and when the data quantity is not smaller than the preset minimum data quantity, the reduced data packet is regarded as a new data packet to be transmitted.
4. The method of claim 1, further comprising increasing the data amount in the data packet of the current transmission lot by a first predetermined data amount to form a new data packet to be transmitted when the packet loss rate of the previous transmission lot is zero.
5. A complex network packet delivery system, comprising:
the system comprises an acquisition module (1) for acquiring historical transmission information of a current transmission link and obtaining a packet loss rate of a previous transmission batch according to the historical transmission information, wherein the historical transmission information comprises data volume in a data packet of each transmission batch, the packet loss rate of each transmission batch and transmission time of each transmission batch, and the acquisition of the historical transmission information of the current transmission link comprises: the historical transmission information comprises first transmission information;
if the current transmission link performs the first transmission:
splitting a data packet to be transmitted in a first transmission task into a plurality of sub-data packets with second preset data quantity, and transmitting the sub-data packets through a current transmission link;
obtaining the sent data volume of a current transmission link according to the historical transmission information of the current transmission link;
comparing the transmitted data amount with a preset data amount threshold;
when the amount of transmitted data is not less than the preset data amount threshold:
selecting the data volume in the data packet corresponding to the transmission batch with the minimum packet loss rate in the historical transmission information, and marking the data volume as the data volume of the standard data packet corresponding to the current transmission link;
the comparison module (2) is used for comparing the packet loss rate of the previous transmission batch with a preset packet loss rate;
a reduction module (3) for reducing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted if the packet loss rate of the previous transmission batch is greater than the preset packet loss rate;
and the increasing module (4) is used for increasing the data volume in the data packet of the current transmission batch by a first preset data volume to form a new data packet to be transmitted if the packet loss rate of the previous transmission batch is smaller than the preset packet loss rate, wherein the first preset data volume is 128 bytes.
6. An intelligent terminal comprising a memory and a processor, the memory having stored thereon computer program instructions capable of being loaded by the processor and performing the method according to any of claims 1-4.
7. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the method according to any of claims 1-4.
CN202210466903.3A 2022-04-29 2022-04-29 Complex network data packet transmission method, system, terminal and storage medium Active CN115037700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210466903.3A CN115037700B (en) 2022-04-29 2022-04-29 Complex network data packet transmission method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210466903.3A CN115037700B (en) 2022-04-29 2022-04-29 Complex network data packet transmission method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN115037700A CN115037700A (en) 2022-09-09
CN115037700B true CN115037700B (en) 2023-04-21

Family

ID=83119205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210466903.3A Active CN115037700B (en) 2022-04-29 2022-04-29 Complex network data packet transmission method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115037700B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708317B (en) * 2022-09-27 2024-05-14 荣耀终端有限公司 Data packet MTU adjustment method and device and terminal equipment
CN116233083B (en) * 2023-03-16 2023-07-28 河北新冀网络传媒有限公司 Efficient transmission method for digital media information
CN116405491B (en) * 2023-06-09 2023-09-15 北京随信云链科技有限公司 File batch uploading method and system, electronic equipment and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040440A (en) * 2021-11-09 2022-02-11 北京泰利斯达科技有限公司 Wireless transmission method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4061643B2 (en) * 2002-12-11 2008-03-19 ソニー株式会社 Information processing system, information processing apparatus and method, recording medium, and program
CN108199925B (en) * 2018-01-30 2021-06-04 网宿科技股份有限公司 Data sending method, receiving method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040440A (en) * 2021-11-09 2022-02-11 北京泰利斯达科技有限公司 Wireless transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115037700A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN115037700B (en) Complex network data packet transmission method, system, terminal and storage medium
CN111327471B (en) Network quality analysis method, device, computer equipment and storage medium
CN110855520B (en) Network performance test method and test device, electronic device and storage medium
CN103973421A (en) File transmitting method and device
CN113259391B (en) Data transmission method and device applied to multi-level node network
CN112202623B (en) Data processing method and device
CN117857649B (en) Transmission method and system for transmission control protocol data packet
CN111404872A (en) Message processing method, device and system
CN115118663A (en) Method for acquiring network congestion information by combining in-band network telemetry
CN111315026B (en) Channel selection method, device, gateway and computer readable storage medium
CN104079371B (en) A kind of data communications method, equipment and system
CN117061239B (en) Method and system for safely uploading and storing operation data of Internet of things terminal
CN106161143A (en) A kind of network performance test method based on ARM server and device
CN102638392B (en) Data transmission method, data transmission equipment and data transmission system
CN103746868A (en) Methods and apparatuses for sending and receiving testing messages, and testing equipment
CN112968817B (en) Packet loss data statistical method and terminal in digital information transmission
CN114337942B (en) Message retransmission method and device and electronic equipment
CN112637055B (en) Multi-link aggregation method, system and storage medium based on VPN tunnel
CN107222299A (en) A kind of data transmission method, system and electronic equipment
CN112596893B (en) Monitoring method and system for multi-node edge computing device
CN105141476A (en) TCP message error information obtaining method and device
CN117176839B (en) Remote measurement message transmission method, device, communication equipment and storage medium
CN118474042B (en) Telemetry information reporting method, device, equipment, storage medium and product
CN115685817B (en) Method, device and medium for processing data concurrency during CAN (controller area network) multi-node communication
CN111314184B (en) Control method and system based on transparent transmission mechanism

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A complex network data packet transmission method, system, terminal, and storage medium

Effective date of registration: 20231109

Granted publication date: 20230421

Pledgee: Haidian Beijing science and technology enterprise financing Company limited by guarantee

Pledgor: LONGTEL Inc.

Registration number: Y2023110000464

PE01 Entry into force of the registration of the contract for pledge of patent right