CN117156167A - Self-adaptive data transmission method and device of fusion transmission system - Google Patents

Self-adaptive data transmission method and device of fusion transmission system Download PDF

Info

Publication number
CN117156167A
CN117156167A CN202311176061.9A CN202311176061A CN117156167A CN 117156167 A CN117156167 A CN 117156167A CN 202311176061 A CN202311176061 A CN 202311176061A CN 117156167 A CN117156167 A CN 117156167A
Authority
CN
China
Prior art keywords
packet loss
rto
loss rate
data transmission
network
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.)
Pending
Application number
CN202311176061.9A
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.)
Yulin Normal University
Original Assignee
Yulin Normal University
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 Yulin Normal University filed Critical Yulin Normal University
Priority to CN202311176061.9A priority Critical patent/CN117156167A/en
Publication of CN117156167A publication Critical patent/CN117156167A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server
    • H04N21/64776Control signals issued by the network directed to the server or the client directed to the server for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure provides a self-adaptive data transmission method and device of a fusion transmission system, which relate to the technical field of communication and comprise the following steps: running a preset bandwidth test application program, and testing the current network bandwidth of the equipment; if the network bandwidth is larger than a first threshold value, carrying out data transmission on the target platform data based on UDP protocol and FEC; if the network bandwidth is smaller than or equal to the first threshold, carrying out data transmission based on a TCP protocol, and determining the current network delay and packet loss rate of the equipment; based on the network delay information and the packet loss rate, adjusting the size of a sending buffer zone; and controlling the timeout retransmission time RTO so that the RTO is lower than a fourth threshold value under the condition that the network delay is smaller than a second threshold value and the packet loss rate is smaller than a third threshold value. Therefore, a proper data transmission mode can be automatically selected according to the network condition and the equipment performance, and parameter adjustment is carried out according to the information such as network delay, packet loss rate and the like, so that the efficiency and the reliability of data transmission are improved.

Description

Self-adaptive data transmission method and device of fusion transmission system
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a method and a device for adaptive data transmission of a fusion transmission system.
Background
In an online live platform scene, a user views real-time audio and video contents such as sports events, music concerts and the like through a platform. This scenario places high demands on the real-time and quality of the transmission. In the conventional data transmission method, problems of insufficient bandwidth and large transmission delay may occur due to instability of a network environment. This can lead to a user experience of sticking, blurring of pictures, etc. while watching live.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
An embodiment of a first aspect of the present disclosure provides an adaptive data transmission method of a fusion transmission system, including:
running a preset bandwidth test application program, and testing the current network bandwidth of the equipment;
if the network bandwidth is larger than a first threshold value, carrying out data transmission on the target platform data based on UDP protocol and FEC;
if the network bandwidth is smaller than or equal to the first threshold, carrying out data transmission based on a TCP protocol, and determining the current network delay and packet loss rate of the equipment;
based on the network delay information and the packet loss rate, adjusting the size of a sending buffer zone;
and controlling the timeout retransmission time RTO so that the RTO is lower than a fourth threshold value under the condition that the network delay is smaller than a second threshold value and the packet loss rate is smaller than a third threshold value.
An embodiment of a second aspect of the present disclosure provides an adaptive data transmission device of a fusion transmission system, including:
the testing module is used for running a preset bandwidth testing application program and testing the current network bandwidth of the equipment;
the transmission module is used for carrying out data transmission on the target platform data based on the UDP protocol and the FEC if the network bandwidth is larger than a first threshold value;
the determining module is used for carrying out data transmission based on a TCP protocol and determining the current network delay and packet loss rate of the equipment if the network bandwidth is smaller than or equal to the first threshold value;
the adjusting module is used for adjusting the size of the sending buffer zone based on the network delay information and the packet loss rate;
and the control module is used for controlling the timeout retransmission time RTO under the condition that the network delay is smaller than a second threshold value and the packet loss rate is smaller than a third threshold value so that the RTO is lower than a fourth threshold value.
An embodiment of a third aspect of the present disclosure provides an electronic device, including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the self-adaptive data transmission method of the fusion transmission system as provided by the embodiment of the first aspect of the disclosure when the processor executes the program.
An embodiment of a fourth aspect of the present disclosure proposes a non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements an adaptive data transmission method of a fusion transmission system as proposed by an embodiment of the first aspect of the present disclosure.
The adaptive data transmission method and device of the fusion transmission system provided by the disclosure have the following beneficial effects:
in the embodiment of the disclosure, if the network bandwidth is greater than the first threshold, the data transmission mode based on the UDP protocol and the forward error correction code FEC is selected, and the UDP protocol may provide lower delay and higher transmission efficiency. The forward error correction code can recover lost data by adding redundant data, and the reliability of data transmission is improved. And if the network bandwidth is smaller than or equal to the first threshold value, selecting a data transmission mode based on the TCP protocol. The TCP protocol can provide reliable data transmission and is suitable for the situation of poor network conditions. Meanwhile, the current network delay and packet loss rate of the equipment are determined. And adjusting the size of a sending buffer zone according to the network delay information and the packet loss rate. And when the network delay is smaller than the second threshold value and the packet loss rate is smaller than the third threshold value, controlling the timeout retransmission time RTO to be lower than the fourth threshold value. Lower RTO may reduce delay and packet loss rate of data transmission. Through the design scheme, a proper data transmission mode can be automatically selected according to the network condition and the equipment performance, and parameter adjustment is performed according to the information such as network delay, packet loss rate and the like, so that the efficiency and the reliability of data transmission are improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flow chart of an adaptive data transmission method of a fusion transmission system according to an embodiment of the disclosure;
fig. 2 is a block diagram of an adaptive data transmission device of a fusion transmission system according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure.
An adaptive data transmission method, apparatus, computer device, and storage medium of a fusion transmission system according to an embodiment of the present disclosure are described below with reference to the accompanying drawings.
It should be noted that, the execution body of the adaptive data transmission method of the fusion transmission system in the embodiments of the present disclosure is an adaptive data transmission device of the fusion transmission system, where the device may be implemented by software and/or hardware, and the device may be configured in any electronic device.
Fig. 1 is a flowchart of an adaptive data transmission method of a fusion transmission system according to a first embodiment of the present disclosure.
As shown in fig. 1, the adaptive data transmission method of the fusion transmission system may include the following steps:
step 101, running a preset bandwidth test application program to test the current network bandwidth of the equipment.
Among other things, bandwidth test applications include Speedtest, fast.
In an application there is a button or option to start the test. Clicking on the button or selecting the corresponding option to begin the test. The application will automatically connect to the server and begin measuring the current network bandwidth of the device. After the test is completed, the application program can display information such as the downloading speed, the uploading speed, the delay and the like of the equipment.
Specifically, a preset bandwidth test application may be run to obtain first test results between the device and the plurality of test servers, determine distances between the device and the plurality of test servers, and average each of the first test results based on each distance, so as to obtain a current network bandwidth of the device.
Wherein a server located in a network center location and having a high bandwidth may be used as the test server.
Alternatively, a certain number of data packets may be transmitted from the device to each test server, data transmission may be performed using TCP or UDP protocol, and then the start time and end time of transmitting the data packets are recorded and the transmission time is calculated. And finally, calculating the network bandwidth according to the transmission time and the size of the transmitted data packet. The bandwidth may be calculated by the following formula: bandwidth = packet size/transmission time.
Optionally, the weight corresponding to each test server may be determined according to the determined proportional relation of each distance, so as to implement the weighted calculation of each first test result. The weight is smaller as the distance is longer, and the weight is higher as the distance is shorter.
It should be noted that, by providing a plurality of test server options, the user can select a server with a relatively close distance and relatively good network quality to test, so that the influence of network delay and instability on the test result can be reduced. And (3) carrying out multiple tests and taking an average value, and taking the average value as a final test result. Thus, the error in single test can be reduced, and the network bandwidth condition of the equipment can be reflected more accurately. Alternatively, other applications that are using the network may be shut down prior to testing, connected to a stable Wi-Fi network, etc. In the testing process, the network connection state and the equipment performance index, such as delay, packet loss rate and the like, are monitored in real time. If an abnormal situation is found, the user may be prompted to retest or check the network settings. The accuracy of the bandwidth test application program can be improved, and the test result is more reliable and accurate. And further, the influence of factors such as equipment performance, network congestion, operator limitation and the like can be effectively reduced.
And step 102, if the network bandwidth is greater than a first threshold, performing data transmission on the target platform data based on the UDP protocol and the FEC.
The target platform data may be data of an online live platform, such as voice data, video data, and image data, which are not limited herein.
If the network bandwidth is greater than the first threshold, a data transmission scheme based on the UDP protocol and FEC (Forward Error Correction ) may be selected. The UDP protocol may provide lower transmission delay and better real-time performance, and the FEC may correct packet loss by adding redundant data, thereby improving reliability of data transmission.
And step 103, if the network bandwidth is smaller than or equal to the first threshold, carrying out data transmission based on a TCP protocol, and determining the current network delay and packet loss rate of the equipment.
If the network bandwidth is less than or equal to the first threshold, a data transmission mode based on the TCP protocol can be selected. The TCP protocol can provide reliable data transmission and automatically handle the problems of packet loss and retransmission, but may increase transmission delay. Thus, further thereafter, the size of the transmit buffer may be adjusted based on the network delay information and the packet loss rate.
And step 104, adjusting the size of a sending buffer zone based on the network delay information and the packet loss rate.
Specifically, the size of the sending buffer zone may be adjusted based on a preset rule according to the network delay information and the packet loss rate. Alternatively, the adjustment range of the sending buffer may be determined according to the current scenario.
It should be noted that, for different scenarios, requirements on network delay and packet loss rate are different, for example, for real-time audio and video applications, a lower delay and packet loss rate is generally required. Specifically, the current network delay and packet loss rate may be compared with the target values according to a preset rule. And according to the comparison result, the size of the sending buffer zone is adjusted to realize self-adaptive adjustment, namely, the size of the sending buffer zone can be self-adaptively adjusted according to the comprehensive condition of network delay and packet loss rate. For example, a smaller transmit buffer may be selected when network delay is smaller and packet loss rate is lower, and a larger transmit buffer may be selected when network delay is greater or packet loss rate is higher. By dynamically adjusting the size of the transmission buffer, better transmission effects can be achieved in different network environments.
If the network delay is higher or the packet loss rate is larger, the size of the sending buffer zone can be properly increased so as to improve the reliability of data transmission. Conversely, if the network delay is low or the packet loss rate is low, the size of the transmission buffer area can be reduced appropriately, so as to save resources and improve the response speed.
The larger the size of the transmission buffer is not, the better, and an excessively large buffer may cause delay increase and resource waste. Therefore, the network environment and the application requirements need to be comprehensively considered when the buffer size is adjusted, and proper testing and optimization are performed. Thus, in the embodiment of the present disclosure, the adjustment range of the transmission buffer corresponding to the current scene may be set so as to be lower than the preset threshold.
And step 105, controlling the timeout retransmission time RTO so that the RTO is lower than a fourth threshold value when the network delay is smaller than a second threshold value and the packet loss rate is smaller than a third threshold value.
Specifically, the method comprises the following steps:
determining an initial timeout retransmission time set when the device establishes a connection;
based on the network delay information and the packet loss rate, adjusting the initial timeout retransmission time to obtain a first RTO;
adjusting the first RTO based on a Jacobson algorithm of the TCP to obtain a second RTO;
and controlling the second RTO to be lower than the fourth threshold according to a congestion control algorithm.
An appropriate initial RTO value may be first selected, where the initial RTO value refers to an initial timeout retransmission time set when a connection is established, and an appropriate initial RTO value is selected according to conditions such as network delay and packet loss rate. A smaller initial RTO value can improve the response speed of data transmission, but may increase the probability of false packet loss; the larger initial RTO value can reduce the probability of false packet loss, but may increase the delay of data transmission, and a suitable initial RTO value is selected according to specific application scenarios and requirements. Further, the RTO value can be dynamically adjusted, and according to the real-time network condition and the data transmission condition, the RTO value is dynamically adjusted. For example, when the network delay is small and the packet loss rate is low, the RTO value may be appropriately reduced; the RTO value may be increased appropriately when the network delay is large or the packet loss rate is high. By dynamically adjusting the RTO value, better timeout retransmission control can be achieved in different network environments. Further, an adaptive algorithm may be used: an adaptive algorithm is used to control the RTO value. In the disclosed embodiments, the Jacobson/Karels algorithm of TCP may be used, which dynamically adjusts RTO values based on actual transmission delays and variations. The algorithm estimates the appropriate RTO value by calculating the average round trip time RTT and the round trip time offset RTTVAR. Depending on the specific application requirements, a suitable adaptive algorithm may be selected. Further, network congestion control needs to be considered, and when controlling RTO values, the influence of network congestion needs to be considered. When the network is congested, data transmission may be limited, resulting in an increase in RTO value. Therefore, network congestion control algorithms, such as the congestion control algorithm of TCP, also need to be considered in controlling RTO values.
In an online live broadcast platform scene, the following method can be adopted to realize the determination of the initial timeout retransmission time set when the equipment establishes connection, and the adjustment is carried out according to the network delay information and the packet loss rate:
determining an initial timeout retransmission time: an initial timeout retransmission time may be set when the device establishes a connection. A suitable initial value, for example 100 milliseconds, may be selected based on experience or criteria.
Monitoring network delay and packet loss rate: after connection establishment, network delay and packet loss rate are continuously monitored. Round Trip Time (RTT) and packet loss may be measured by sending small probe packets and waiting for a response.
Adjusting the first RTO according to the network delay information and the packet loss rate: according to the current network delay information and packet loss rate, the following strategy can be adopted to adjust the initial timeout retransmission time so as to obtain the first RTO:
if the network delay is high or the packet loss rate is high, the initial timeout retransmission time can be increased appropriately. For example, the initial timeout retransmission time is increased to 200 milliseconds to better accommodate an unstable network environment.
If the network delay is low or the packet loss rate is small, the initial timeout retransmission time can be reduced appropriately. For example, the initial timeout retransmission time is reduced to 50 milliseconds to improve the efficiency of data transmission.
The second RTO may be adjusted based on the Jacobson algorithm of TCP: the Jacobson algorithm based on TCP can adjust RTO values based on historical RTT information. The algorithm can obtain a more accurate RTO value by calculating the average RTT and RTT deviation. The method comprises the following specific steps:
calculating average RTT: the Round Trip Time (RTT) of each packet is recorded and their average value is calculated. This average RTT reflects the delay situation of the current network environment.
Calculating RTT deviation: for each data packet, the difference between its RTT and the average RTT is calculated. Then, the average value of these differences is calculated, namely, RTT deviation. RTT bias reflects the fluctuating condition of network delay.
Calculating a second RTO according to Jacobson algorithm: the value of the second RTO is calculated using Jacobson algorithm based on the average RTT and RTT bias. The algorithm adjusts the RTO by taking into account delay and volatility to make it more compatible with the current network environment.
Controlling the second RTO to be below a fourth threshold according to a congestion control algorithm: congestion control algorithms are used to control network congestion conditions to avoid overload and packet loss. The value of the second RTO may be adjusted to be below a fourth threshold value according to the rules of the congestion control algorithm. The specific algorithms and thresholds may be determined based on actual conditions and requirements.
If a sudden increase in network delay is monitored, the higher delay can be accommodated by increasing the initial timeout retransmission time and further adjusting the RTO value using Jacobson algorithm and congestion control algorithm.
If the packet loss rate is detected to be high, the reliability of data transmission can be improved by increasing the initial timeout retransmission time and adjusting the RTO value. Congestion control algorithms can help avoid overload and packet loss.
If the network volatility is large, namely the delay and the packet loss rate are unstable, the network delay information and the packet loss rate which are monitored in real time can be dynamically adjusted to adapt to different network environments.
It should be noted that the above method is only an example, and may need to be adjusted and optimized according to specific situations in practical application to realize a more stable and efficient online live service.
In the embodiment of the disclosure, if the network bandwidth is greater than the first threshold, the data transmission mode based on the UDP protocol and the forward error correction code FEC is selected, and the UDP protocol may provide lower delay and higher transmission efficiency. The forward error correction code can recover lost data by adding redundant data, and the reliability of data transmission is improved. And if the network bandwidth is smaller than or equal to the first threshold value, selecting a data transmission mode based on the TCP protocol. The TCP protocol can provide reliable data transmission and is suitable for the situation of poor network conditions. Meanwhile, the current network delay and packet loss rate of the equipment are determined. And adjusting the size of a sending buffer zone according to the network delay information and the packet loss rate. And when the network delay is smaller than the second threshold value and the packet loss rate is smaller than the third threshold value, controlling the timeout retransmission time RTO to be lower than the fourth threshold value. Lower RTO may reduce delay and packet loss rate of data transmission. Through the design scheme, a proper data transmission mode can be automatically selected according to the network condition and the equipment performance, and parameter adjustment is performed according to the information such as network delay, packet loss rate and the like, so that the efficiency and the reliability of data transmission are improved.
In an online live platform scenario, the following are some specific approaches: test network bandwidth: before the user watches live broadcast, a preset bandwidth test application program can be run to test the current network bandwidth of the user equipment. And judging whether the network bandwidth is larger than a first threshold according to the test result. Selecting proper transmission protocol and parameters: and selecting proper transmission protocols and parameters for data transmission according to the network bandwidth and the test result. If the network bandwidth is greater than the first threshold, a data transmission mode based on the UDP protocol and the FEC can be selected to improve transmission efficiency and instantaneity. If the network bandwidth is smaller than or equal to the first threshold, a data transmission mode based on the TCP protocol can be selected to ensure the reliability of data transmission. Adjusting the size of a transmission buffer: and adjusting the size of a sending buffer zone according to the network delay information and the packet loss rate. Smaller transmit buffers may reduce delay, but may increase packet loss rate; larger transmit buffers may increase transmission efficiency, but may increase latency. By dynamically adjusting the size of the transmission buffer, better transmission effects can be achieved in different network environments. Controlling the timeout retransmission time RTO: and controlling the timeout retransmission time RTO to be lower than a fourth threshold according to the information such as network delay, packet loss rate and the like. Lower RTO may reduce delay and packet loss rate of data transmission. An adaptive algorithm may be used to dynamically adjust the RTO value. Through the scheme, a proper data transmission mode can be automatically selected according to the network condition and the equipment performance, and parameter adjustment is performed according to the information such as network delay, packet loss rate and the like, so that the real-time performance and quality of the audio and video content are improved. Meanwhile, the influence of factors such as network congestion, operator limitation and the like on data transmission is reduced, and better user experience is provided.
In order to achieve the above embodiments, the present disclosure further provides an adaptive data transmission device of a fusion transmission system.
Fig. 2 is a block diagram of an adaptive data transmission device of a fusion transmission system according to a second embodiment of the present disclosure.
As shown in fig. 2, the adaptive data transmission apparatus 200 of the fusion transmission system may include:
the testing module 210 is configured to run a preset bandwidth testing application program, and test a current network bandwidth of the device;
a transmission module 220, configured to perform data transmission on the target platform data based on the UDP protocol and FEC if the network bandwidth is greater than the first threshold;
a determining module 230, configured to perform data transmission based on a TCP protocol and determine a current network delay and packet loss rate of the device if the network bandwidth is less than or equal to the first threshold;
an adjusting module 240, configured to adjust a size of a transmission buffer based on the network delay information and the packet loss rate;
and the control module 250 is configured to control the timeout retransmission time RTO so that the RTO is lower than a fourth threshold when the network delay is smaller than a second threshold and the packet loss rate is smaller than a third threshold.
Optionally, the test module is configured to:
running a preset bandwidth test application program to obtain a first test result between the equipment and a plurality of test servers;
determining a distance between the device and the plurality of test servers;
and based on the distances, averaging the first test results to obtain the current network bandwidth of the equipment.
Optionally, the adjusting module is configured to:
based on a preset rule, the size of a sending buffer zone is adjusted according to the network delay information and the packet loss rate.
Optionally, the control module is configured to:
determining an initial timeout retransmission time set when the device establishes a connection;
based on the network delay information and the packet loss rate, adjusting the initial timeout retransmission time to obtain a first RTO;
adjusting the first RTO based on a Jacobson algorithm of the TCP to obtain a second RTO;
and controlling the second RTO to be lower than the fourth threshold according to a congestion control algorithm.
Optionally, the adjusting module is further configured to:
and determining the adjustment range of the sending buffer zone according to the current scene.
In the embodiment of the disclosure, if the network bandwidth is greater than the first threshold, the data transmission mode based on the UDP protocol and the forward error correction code FEC is selected, and the UDP protocol may provide lower delay and higher transmission efficiency. The forward error correction code can recover lost data by adding redundant data, and the reliability of data transmission is improved. And if the network bandwidth is smaller than or equal to the first threshold value, selecting a data transmission mode based on the TCP protocol. The TCP protocol can provide reliable data transmission and is suitable for the situation of poor network conditions. Meanwhile, the current network delay and packet loss rate of the equipment are determined. And adjusting the size of a sending buffer zone according to the network delay information and the packet loss rate. And when the network delay is smaller than the second threshold value and the packet loss rate is smaller than the third threshold value, controlling the timeout retransmission time RTO to be lower than the fourth threshold value. Lower RTO may reduce delay and packet loss rate of data transmission. Through the design scheme, a proper data transmission mode can be automatically selected according to the network condition and the equipment performance, and parameter adjustment is performed according to the information such as network delay, packet loss rate and the like, so that the efficiency and the reliability of data transmission are improved.
To achieve the above embodiments, the present disclosure further proposes a computer device including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the self-adaptive data transmission method of the fusion transmission system according to the previous embodiment of the disclosure.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.

Claims (10)

1. An adaptive data transmission method of a fusion transmission system, comprising:
running a preset bandwidth test application program, and testing the current network bandwidth of the equipment;
if the network bandwidth is larger than a first threshold value, carrying out data transmission on the target platform data based on UDP protocol and FEC;
if the network bandwidth is smaller than or equal to the first threshold, carrying out data transmission based on a TCP protocol, and determining the current network delay and packet loss rate of the equipment;
based on the network delay information and the packet loss rate, adjusting the size of a sending buffer zone;
and controlling the timeout retransmission time RTO so that the RTO is lower than a fourth threshold value under the condition that the network delay is smaller than a second threshold value and the packet loss rate is smaller than a third threshold value.
2. The method of claim 1, wherein running a preset bandwidth test application tests the current network bandwidth of the device, comprising:
running a preset bandwidth test application program to obtain a first test result between the equipment and a plurality of test servers;
determining a distance between the device and the plurality of test servers;
and based on the distances, averaging the first test results to obtain the current network bandwidth of the equipment.
3. The method of claim 1, wherein adjusting the size of the transmit buffer based on the network delay information and the packet loss rate comprises:
based on a preset rule, the size of a sending buffer zone is adjusted according to the network delay information and the packet loss rate.
4. The method of claim 1, wherein controlling the timeout retransmission time RTO such that the RTO is below a fourth threshold comprises:
determining an initial timeout retransmission time set when the device establishes a connection;
based on the network delay information and the packet loss rate, adjusting the initial timeout retransmission time to obtain a first RTO;
adjusting the first RTO based on a Jacobson algorithm of the TCP to obtain a second RTO;
and controlling the second RTO to be lower than the fourth threshold according to a congestion control algorithm.
5. The method of claim 1, comprising, prior to said adjusting a size of a transmit buffer based on said network delay information and packet loss rate:
and determining the adjustment range of the sending buffer zone according to the current scene.
6. An adaptive data transmission device for a fusion transmission system, comprising:
the testing module is used for running a preset bandwidth testing application program and testing the current network bandwidth of the equipment;
the transmission module is used for carrying out data transmission on the target platform data based on the UDP protocol and the FEC if the network bandwidth is larger than a first threshold value;
the determining module is used for carrying out data transmission based on a TCP protocol and determining the current network delay and packet loss rate of the equipment if the network bandwidth is smaller than or equal to the first threshold value;
the adjusting module is used for adjusting the size of the sending buffer zone based on the network delay information and the packet loss rate;
and the control module is used for controlling the timeout retransmission time RTO under the condition that the network delay is smaller than a second threshold value and the packet loss rate is smaller than a third threshold value so that the RTO is lower than a fourth threshold value.
7. The apparatus of claim 6, wherein the test module is configured to:
running a preset bandwidth test application program to obtain a first test result between the equipment and a plurality of test servers;
determining a distance between the device and the plurality of test servers;
and based on the distances, averaging the first test results to obtain the current network bandwidth of the equipment.
8. The apparatus of claim 6, wherein the adjustment module is configured to:
based on a preset rule, the size of a sending buffer zone is adjusted according to the network delay information and the packet loss rate.
9. The apparatus of claim 6, wherein the control module is configured to:
determining an initial timeout retransmission time set when the device establishes a connection;
based on the network delay information and the packet loss rate, adjusting the initial timeout retransmission time to obtain a first RTO;
adjusting the first RTO based on a Jacobson algorithm of the TCP to obtain a second RTO;
and controlling the second RTO to be lower than the fourth threshold according to a congestion control algorithm.
10. The apparatus of claim 6, wherein the adjustment module is further configured to:
and determining the adjustment range of the sending buffer zone according to the current scene.
CN202311176061.9A 2023-09-13 2023-09-13 Self-adaptive data transmission method and device of fusion transmission system Pending CN117156167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311176061.9A CN117156167A (en) 2023-09-13 2023-09-13 Self-adaptive data transmission method and device of fusion transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311176061.9A CN117156167A (en) 2023-09-13 2023-09-13 Self-adaptive data transmission method and device of fusion transmission system

Publications (1)

Publication Number Publication Date
CN117156167A true CN117156167A (en) 2023-12-01

Family

ID=88898670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311176061.9A Pending CN117156167A (en) 2023-09-13 2023-09-13 Self-adaptive data transmission method and device of fusion transmission system

Country Status (1)

Country Link
CN (1) CN117156167A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117955979A (en) * 2024-03-27 2024-04-30 中国电子科技集团公司第五十四研究所 Cloud network fusion edge information service method based on mobile communication node

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117955979A (en) * 2024-03-27 2024-04-30 中国电子科技集团公司第五十四研究所 Cloud network fusion edge information service method based on mobile communication node

Similar Documents

Publication Publication Date Title
US10462707B2 (en) Data transmission method and apparatus
KR101046105B1 (en) Computer program manufacturing, resource demand adjustment methods, and end systems
US6643496B1 (en) System, method, and apparatus for adjusting packet transmission rates based on dynamic evaluation of network characteristics
JP4491257B2 (en) Controlling the admission of data streams to the network based on end-to-end measurements
WO2021223452A1 (en) Data transmission method and apparatus
WO2017000719A1 (en) Congestion control method and device based on queue delay
US7710906B2 (en) Transmitting and receiving system, transmitting apparatus, transmitting method, receiving apparatus, receiving method, and program
US11558302B2 (en) Data transmission method and apparatus
US20170346601A1 (en) Data transmission method and computing apparatus having data transmission function
US8886825B2 (en) Apparatus and method for ensuring fairness of UDP data transmission in ethernet environment
EP3480983A1 (en) Data transmission method and apparatus
CN113014505B (en) Transmission control method for time delay differentiation in high dynamic topology satellite network
CN117156167A (en) Self-adaptive data transmission method and device of fusion transmission system
CN110620939B (en) Network state determination method and device, electronic equipment and storage medium
US20080062875A1 (en) Communication Terminal, Communication Control Method, and Communication Control Program
US7168022B2 (en) Transmission control method and system
CN116684359B (en) Network congestion control method, device and storage medium
JP5533177B2 (en) Packet loss rate estimation device, packet loss rate estimation method, packet loss rate estimation program, and communication system
JP2011155406A (en) Transmitter, transmission method and program
CN117676695A (en) TCP transmission method, device and system
CN114143271B (en) Bandwidth estimation method and device based on congestion detection
CN115714746A (en) Congestion control method and system based on delay and packet loss
Hisamatsu et al. Non bandwidth-intrusive video streaming over TCP
CN115801639A (en) Bandwidth detection method and device, electronic equipment and storage medium
JP6200870B2 (en) Data transfer control device, method and program

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