CN117119524A - Short-range data transmission method, device, electronic equipment and storage medium - Google Patents

Short-range data transmission method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117119524A
CN117119524A CN202311355629.3A CN202311355629A CN117119524A CN 117119524 A CN117119524 A CN 117119524A CN 202311355629 A CN202311355629 A CN 202311355629A CN 117119524 A CN117119524 A CN 117119524A
Authority
CN
China
Prior art keywords
period
rto
data transmission
retransmission timeout
network quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311355629.3A
Other languages
Chinese (zh)
Other versions
CN117119524B (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.)
Hubei Xingji Meizu Technology Co ltd
Original Assignee
Hubei Xingji Meizu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Xingji Meizu Technology Co ltd filed Critical Hubei Xingji Meizu Technology Co ltd
Priority to CN202311355629.3A priority Critical patent/CN117119524B/en
Priority to CN202311765793.1A priority patent/CN117835317A/en
Publication of CN117119524A publication Critical patent/CN117119524A/en
Application granted granted Critical
Publication of CN117119524B publication Critical patent/CN117119524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a short-distance data transmission method, a device, electronic equipment and a storage medium, which belong to the field of wireless communication, and the short-distance data transmission method of the embodiment of the application comprises the following steps: the method comprises the steps that first electronic equipment acquires network quality data of a current retransmission timeout period RTO time period reported by a network module; determining a data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the network quality data of the current RTO time period; the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules; the short-range communication connection comprises that the first electronic equipment and the second electronic equipment are directly connected or connected in a mesh mode through a wireless communication technology.

Description

Short-range data transmission method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of wireless communications, and in particular, to a short-range data transmission method, apparatus, electronic device, and storage medium.
Background
The transmission control protocol (Transmission Control Protocol, TCP) or reliable user datagram protocol (Reliable User Datagram Protocol, RUDP) uses congestion control, acknowledgement character (Acknowledge character, ACK) acknowledgement, time-out retransmission, etc. mechanisms to form a reliable transmission algorithm, and the transmission speed is dynamically adjusted by evaluating the network quality through the algorithm.
Disclosure of Invention
In a first aspect, the present application provides a short-range data transmission method, applied to a first electronic device, including:
acquiring network quality data of a current retransmission timeout period RTO time period reported by a network module;
determining a data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the network quality data of the current RTO time period;
the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules; the short-distance communication connection comprises that the first electronic equipment and the second electronic equipment are directly connected or connected in a mesh mode through a wireless communication technology;
the determining, according to the network quality data of the current RTO period, a data transmission speed used by a next RTO period to transmit data to the second electronic device includes:
determining a data transmission state corresponding to the next RTO time period according to the network quality data of the current RTO time period; wherein the data transmission state includes: a fast start state, a steady state, a surge state, and a detection state; the fast start state represents a state in which the data transmission speed is fast increased; the steady state represents a state in which the data transmission speed tends to be steady; the fluctuation state represents a state that the data transmission speed fluctuates along with the network quality data; the detection state indicates a state in which the data transmission speed increases to a maximum value at which the data transmission speed reaches a feasible maximum value;
And determining the data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the data transmission state corresponding to the next RTO time period.
In some embodiments, the determining, according to the network quality data of the current RTO period, a data transmission state corresponding to a next RTO period includes:
determining a congestion window value and a network quality value corresponding to the current RTO time period according to the network quality data of the current RTO time period;
and determining a data transmission state corresponding to the next RTO time period according to the congestion window value and the network quality value corresponding to the current RTO time period.
In some embodiments, the determining the data transmission state corresponding to the next RTO period according to the congestion window value and the network quality value corresponding to the current RTO period includes:
under the condition that the congestion window value corresponding to the current RTO time period is smaller than a first threshold value, determining the data transmission state corresponding to the next RTO time period to be a quick start state;
determining that the data transmission state corresponding to the next RTO time period is a stable state when the congestion window value corresponding to the current RTO time period is greater than or equal to the first threshold value and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is smaller than a second threshold value;
When the congestion window value corresponding to the current RTO time period is greater than or equal to the first threshold value, the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is greater than a third threshold value, determining that the data transmission state corresponding to the next RTO time period is a fluctuation state; the third threshold is greater than the second threshold;
when the congestion window value corresponding to the current RTO time period is greater than or equal to the first threshold, the network quality value corresponding to the current RTO time period is greater than the network quality value corresponding to the previous RTO time period, and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is greater than a fourth threshold, determining the data transmission state corresponding to the next RTO time period as a detection state; the fourth threshold is greater than the second threshold;
when the congestion window value corresponding to the current RTO time period is greater than or equal to the first threshold, the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is greater than or equal to the second threshold and less than or equal to the third threshold, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept the same;
And when the congestion window value corresponding to the current RTO time period is larger than or equal to the first threshold value, the network quality value corresponding to the current RTO time period is larger than the network quality value corresponding to the previous RTO time period, and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than or equal to the second threshold value and smaller than or equal to the fourth threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept to be the same.
In some embodiments, determining a data transmission speed used by the next RTO period to transmit data to the second electronic device according to the data transmission state corresponding to the next RTO period includes:
adding a first value to the data transmission speed corresponding to the current RTO time period under the condition that the data transmission state corresponding to the next RTO time period is in a quick start state, so as to obtain the data transmission speed corresponding to the next RTO time period, wherein the first value is larger than 0;
under the condition that the data transmission state corresponding to the next RTO time period is a stable state, the data transmission speed corresponding to the next RTO time period is equal to the data transmission speed corresponding to the current RTO time period;
Under the condition that the data transmission state corresponding to the next RTO time period is in a fluctuation state, according to the difference value of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period, adjusting the data transmission speed on the basis of the data transmission speed corresponding to the current RTO time period, and obtaining the data transmission speed corresponding to the next RTO time period;
and adding a second value to the data transmission speed corresponding to the current RTO time period to obtain the data transmission speed corresponding to the next RTO time period when the data transmission state corresponding to the next RTO time period is the detection state, wherein the second value is larger than 0.
In a second aspect, the present application provides a short-range data transmission device, applied to a first electronic device, including:
the receiving unit is used for acquiring network quality data of the current retransmission timeout period RTO time period reported by the network module;
a determining unit, configured to determine a data transmission speed used for transmitting data to the second electronic device in a next RTO time period according to the network quality data of the current RTO time period;
the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules; the short-distance communication connection comprises that the first electronic equipment and the second electronic equipment are directly connected or connected in a mesh mode through a wireless communication technology;
The determining, according to the network quality data of the current retransmission timeout RTO period, a data sending speed used for sending data to the second electronic device in the next retransmission timeout RTO period includes:
determining a data transmission state corresponding to the next retransmission timeout period RTO time period according to the network quality data of the current retransmission timeout period RTO time period; wherein the data transmission state includes: a fast start state, a steady state, a surge state, and a detection state; the fast start state represents a state in which the data transmission speed is rapidly increased; the steady state represents a state in which the data transmission speed tends to be steady; the fluctuation state represents a state that the data transmission speed fluctuates with the network quality data; the probe state represents a state in which the data transmission speed increases to a maximum value at which the data transmission speed reaches a feasible value;
and determining the data transmission speed used for transmitting the data to the second electronic equipment in the next retransmission timeout period RTO period according to the data transmission state corresponding to the next retransmission timeout period RTO period.
In a third aspect, the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method according to any of the embodiments described above when executing the program.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the embodiments above.
According to the short-distance data transmission method, the short-distance data transmission device, the electronic equipment and the storage medium, under the condition that the first electronic equipment and the second electronic equipment are in short-distance communication connection through the respective network modules, the first electronic equipment obtains the network quality data of the current retransmission timeout period RTO time period reported by the network modules, determines the data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the network quality data of the current RTO time period, so that the network quality data which more accords with the actual network condition is obtained, and constructs a transmission model which is more relevant to the current scene according to the obtained network quality data, so that higher throughput, lower delay and lower power consumption can be obtained in the data transmission process.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a short-range data transmission method according to an embodiment of the application;
FIG. 2 is a system topology provided by one embodiment of the present application;
FIG. 3 is a schematic diagram of a change in transmission speed according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a short-distance data transmission device according to an embodiment of the present application;
fig. 5 is a schematic physical structure of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the "first" and "second" distinguishing between objects generally are not limited in number to the extent that the first object may, for example, be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
The TCP transmission algorithm or RUDP adopts congestion control, ACK response, timeout retransmission and other mechanisms to form a reliable transmission algorithm, the network quality is evaluated through the algorithm to dynamically adjust the transmission speed, the current main stream congestion algorithms comprise cubic, new Reno, bbr and the like, but the congestion algorithms are all general algorithms which are performed under the complex network environment of the Internet, and although the congestion algorithms can be suitable for most scenes and can realize high-speed low-delay transmission as much as possible, the congestion algorithms have no transmission advantage under certain specific scenes.
For example, in a short-range scenario, where two devices are directly connected via a wireless network (Wi-Fi) or bluetooth (Bluetooth Low Energy, BLE), this generic algorithm is not much advantageous.
In an embodiment of the present application, a so-called short-range scenario refers to two or more devices that are directly connected (Peer-to-Peer) or Mesh connected (Mesh) to each other through a wireless communication technology. Wireless communication technologies used include, but are not limited to Wi-Fi, bluetooth, zigBee, Z-Wave (Z-Wave), IPv6 based low speed wireless personal area network (IPv 6 over Low power Wireless Personal Area Network,6 LoWPAN), long Range Radio (LoRa), long Range Radio wide area network (Long Range Radio Wide Area Network, lowwan), and the like.
For example, what is known as a direct connection (Peer-to-Peer) means that two devices are connected together for direct communication.
For example, mesh connection (Mesh) means a many-to-many Mesh internet network, and relay transmission of data can be achieved between devices that do not constitute direct connection via the devices therebetween.
In embodiments of the present application, the electronic device includes any type of electronic device capable of performing transceiving, processing of data, and may include, but is not limited to, portable terminals (e.g., cell phones, tablet computers, PDAs), computers (e.g., notebook computers, desktop computers), smart home devices (e.g., smart speakers, smart televisions, smart fans), wearable devices (e.g., smart watches, smart headphones, AR glasses, VR glasses, MR glasses, bluetooth glasses, smart bracelets), vehicle-mounted electronic devices (e.g., ECU, TCU, vehicle-mounted entertainment information terminals), and the like.
The application provides a short-distance data transmission method, a device, an electronic device and a storage medium, wherein under the condition that a first electronic device and a second electronic device are in short-distance communication connection through respective network modules, for example, the first electronic device is in direct communication with the second electronic device or in network connection through a relay device, the first electronic device obtains network quality data of a current retransmission timeout period RTO time period reported by the network modules, determines the data transmission speed used by the next RTO time period for transmitting data to the second electronic device according to the network quality data of the current RTO time period, thereby obtaining network quality data more conforming to the actual network condition, then constructs a transmission model more suitable for the current scene according to the obtained network quality data, and can obtain higher throughput, lower delay and lower power consumption in the data transmission process.
In an embodiment of the present application, a network module refers to a module used in an electronic device to support a corresponding short-range communication function. For example, the short-range communication function is implemented by Wi-Fi, and the network module referred to herein is a Wi-Fi module.
For example, the network modules may include Wi-Fi modules, bluetooth modules, zigBee modules, Z-Wave modules, 6LoWPAN modules, loRa modules, and the like.
Fig. 1 is a flow chart of a short-range data transmission method according to an embodiment of the application. As shown in fig. 1, a short-range data transmission method is provided, which is applied to a first electronic device, and includes the following steps: step 110, step 120. The method flow steps are only one possible implementation of the application.
Step 110, obtaining network quality data of the current retransmission timeout period RTO period reported by the network module.
And 120, determining a data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the network quality data of the current RTO time period.
The first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules.
The network module should have a function of acquiring network quality data in the actual connection, and may report the acquired network quality data to the first electronic device. Network quality data may include packet loss, load, throughput, delay, jitter, etc. data.
The network module can be configured to acquire and report network quality data according to a certain period. In the scheme of the application, the network module is configured to report network quality data to the first electronic equipment in each RTO time period according to Retransmission TimeOut (RTO) as a period.
The RTO for each TCP packet transmission procedure can be calculated in a number of ways, such as the classical method of RFC793, the standard method of RFC 6298.
After the first electronic device obtains the network quality data of the current RTO time period reported by the network module, the data sending speed used by the first electronic device when sending data to the second electronic device in the next RTO time period can be determined according to the network quality data of the current RTO time period.
In the embodiment of the application, under the condition that the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules, the first electronic equipment acquires the network quality data of the current retransmission timeout period RTO time period reported by the network modules, determines the data transmission speed used for transmitting data to the second electronic equipment in the next RTO time period according to the network quality data of the current RTO time period, thereby acquiring the network quality data which is more in line with the actual network condition, and constructs a transmission model which is more in line with the current scene according to the acquired network quality data, so that higher throughput, lower delay and lower power consumption can be obtained in the data transmission process.
It should be noted that each embodiment of the present application may be freely combined, exchanged in order, or separately executed, and does not need to rely on or rely on a fixed execution sequence.
In some embodiments, determining a data transmission speed used by a next RTO period to transmit data to the second electronic device based on network quality data for the current RTO period includes:
according to network quality data of the current RTO time period, determining a data transmission state corresponding to the next RTO time period; wherein the data transmission state includes: a fast start state, a steady state, a surge state, and a detection state;
and determining the data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the data transmission state corresponding to the next RTO time period.
Specifically, after the first electronic device obtains the network quality data of the current RTO time period reported by the network module, the data transmission state corresponding to the next RTO time period may be determined according to the network quality data of the current RTO time period.
The data transmission state may include: a fast start state, a steady state, a surge state, and a detection state.
The fast start state represents a state in which the data transmission speed is fast increased; the steady state represents a state in which the data transmission speed tends to be steady; the fluctuation state represents a state that the data transmission speed fluctuates with the network quality data; the probe state indicates a state in which the data transmission speed increases to a maximum value at which the data transmission speed reaches a feasible value.
After determining the data transmission state corresponding to the next RTO time period, the first electronic device may determine, according to the determined data transmission state, a data transmission speed used by the next RTO time period to transmit data to the second electronic device.
In some embodiments, determining a data transmission state corresponding to a next RTO period according to network quality data of a current RTO period includes:
according to the network quality data of the current RTO time period, determining a congestion window value and a network quality value corresponding to the current RTO time period;
and determining the data transmission state corresponding to the next RTO time period according to the congestion window value and the network quality value corresponding to the current RTO time period.
Specifically, after the first electronic device obtains the network quality data of the current RTO period reported by the network module, the congestion window value (congestion window, cwnd) and the network quality value corresponding to the current RTO period may be determined according to the network quality data of the current RTO period, and then the data transmission state corresponding to the next RTO period may be determined according to the congestion window value and the network quality value corresponding to the current RTO period.
The size of the congestion window value depends on the congestion degree of the network, and dynamically changes (the congestion degree becomes higher, the congestion window value becomes smaller, and the congestion window value becomes higher), that is, the congestion window value corresponding to the current RTO time period can be obtained according to the acquired network quality data of the current RTO time period.
The network quality value is a value obtained by integrating various types of network quality data, such as packet loss, load, throughput, delay, jitter and the like, and reflecting the network quality condition, different types of network quality data can be set as variables and calculated by a fixed formula, and the formula can be set according to actual conditions, such as weighting and summing the different types of network quality data to obtain the network quality value.
In some embodiments, determining a data transmission speed used by the next RTO period to transmit data to the second electronic device according to a data transmission state corresponding to the next RTO period includes:
under the condition that the congestion window value corresponding to the current RTO time period is smaller than a first threshold value, determining the data transmission state corresponding to the next RTO time period to be a quick start state;
determining that the data transmission state corresponding to the next RTO time period is a stable state when the congestion window value corresponding to the current RTO time period is greater than or equal to a first threshold value and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is smaller than a second threshold value;
when the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than a third threshold value, determining that the data transmission state corresponding to the next RTO time period is a fluctuation state; the third threshold is greater than the second threshold;
When the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is larger than the network quality value corresponding to the previous RTO time period, and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than a fourth threshold value, determining the data transmission state corresponding to the next RTO time period as a detection state; the fourth threshold is greater than the second threshold;
when the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than or equal to a second threshold value and smaller than or equal to a third threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept to be the same;
and when the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is larger than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than or equal to a second threshold value and smaller than or equal to a fourth threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept to be the same.
Specifically, the first electronic device may determine, according to network quality data of a current RTO period, a congestion window value and a network quality value corresponding to the current RTO period, and then determine, according to the congestion window value and the network quality value, a data transmission state of a next RTO period.
And under the condition that the congestion window value is smaller than the first threshold value, determining the data transmission state corresponding to the next RTO time period to be a quick start state. The first threshold may be determined according to the actual situation.
Under the condition that the congestion window value is greater than or equal to the first threshold value, determining the data transmission state corresponding to the next RTO time period by judging the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period, wherein the data transmission state can be specifically divided into the following five cases:
(1) If the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is smaller than a second threshold value, determining that the data transmission state corresponding to the next RTO time period is a stable state. The second threshold may be determined according to the actual situation.
It should be noted that, the phase difference ratio of the network quality value corresponding to the current RTO period and the network quality value corresponding to the previous RTO period refers to a value obtained by dividing the difference between the network quality value corresponding to the current RTO period and the network quality value corresponding to the previous RTO period by the network quality value corresponding to the previous RTO period.
For example, the second threshold is set to 1%, and if the difference ratio of the network quality value corresponding to the current RTO period and the network quality value corresponding to the previous RTO period is less than 1%, the data transmission state corresponding to the next RTO period is determined to be a stable state.
(2) If the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the last RTO time period and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the last RTO time period is larger than a third threshold value, determining that the data transmission state corresponding to the next RTO time period is a fluctuation state. The third threshold may be determined according to an actual situation, where the third threshold is greater than the second threshold.
For example, the third threshold is set to 350%, and if the network quality value corresponding to the current RTO period is smaller than the network quality value corresponding to the previous RTO period and the difference ratio between the network quality value corresponding to the current RTO period and the network quality value corresponding to the previous RTO period is greater than 350%, the data transmission state corresponding to the next RTO period is determined to be a fluctuating state.
(3) If the network quality value corresponding to the current RTO time period is greater than the network quality value corresponding to the last RTO time period and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the last RTO time period is greater than a fourth threshold value, determining that the data transmission state corresponding to the next RTO time period is a detection state. The fourth threshold may be determined according to an actual situation, where the fourth threshold is greater than the second threshold.
For example, the fourth threshold is set to 150%, and if the network quality value corresponding to the current RTO period is greater than the network quality value corresponding to the previous RTO period and the network quality value corresponding to the current RTO period differs from the network quality value corresponding to the previous RTO period by more than 150%, the data transmission state corresponding to the next RTO period is determined to be the detection state.
(4) If the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than or equal to the second threshold value and smaller than or equal to the third threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept the same.
For example, the second threshold is set to 1%, the third threshold is set to 350%, and if the network quality value corresponding to the current RTO period is smaller than the network quality value corresponding to the previous RTO period, and the difference ratio of the network quality value corresponding to the current RTO period to the network quality value corresponding to the previous RTO period is greater than or equal to 1% and less than or equal to 350%, the data transmission state corresponding to the next RTO period is kept the same as the data transmission state corresponding to the current RTO period (for example, the current RTO period is a steady state, and the next RTO period is also a steady state).
(5) If the network quality value corresponding to the current RTO time period is greater than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is greater than or equal to the second threshold value and less than or equal to the fourth threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept the same.
For example, the second threshold is set to 1%, the fourth threshold is set to 150%, and if the network quality value corresponding to the current RTO period is greater than the network quality value corresponding to the previous RTO period, and the network quality value corresponding to the current RTO period differs from the network quality value corresponding to the previous RTO period by a proportion greater than or equal to 1% and less than or equal to 150%, the data transmission state corresponding to the next RTO period is kept the same as the data transmission state corresponding to the current RTO period (for example, the current RTO period is a fluctuating state, and the next RTO period is also a fluctuating state).
In some embodiments, determining the data transmission speed corresponding to the next RTO period according to the data transmission state corresponding to the next RTO period includes:
Under the condition that the data transmission state corresponding to the next RTO time period is a quick start state, adding a first value to the data transmission speed corresponding to the current RTO time period to obtain the data transmission speed corresponding to the next RTO time period, wherein the first value is larger than 0;
under the condition that the data transmission state corresponding to the next RTO time period is a stable state, the data transmission speed corresponding to the next RTO time period is equal to the data transmission speed corresponding to the current RTO time period;
under the condition that the data transmission state corresponding to the next RTO time period is in a fluctuation state, according to the difference value of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period, adjusting the data transmission speed on the basis of the data transmission speed corresponding to the current RTO time period, and obtaining the data transmission speed corresponding to the next RTO time period;
and adding a second value to the data transmission speed corresponding to the current RTO time period under the condition that the data transmission state corresponding to the next RTO time period is the detection state, so as to obtain the data transmission speed corresponding to the next RTO time period, wherein the second value is larger than 0.
Specifically, in the case that the data transmission state corresponding to the next RTO period is the fast start state, it indicates that the data transmission speed needs to be rapidly increased.
One embodiment is to add the first value to the data transmission speed corresponding to the current RTO time period to obtain the data transmission speed corresponding to the next RTO time period. The first value is greater than 0, which may be a preset fixed value, or a value calculated based on a network quality value, or may be incremented according to a duration time in a case of being in a fast start state, which is not limited in a specific manner.
In the case where the data transmission state corresponding to the next RTO period is a steady state, it means that the data transmission speed needs to be stabilized.
One implementation is to make the data transmission speed corresponding to the next RTO period equal to the data transmission speed corresponding to the current RTO period.
In the case that the data transmission state corresponding to the next RTO period is a fluctuating state, it means that the data transmission speed needs to fluctuate with the network quality data.
One embodiment is to adjust the data transmission speed based on the data transmission speed corresponding to the current RTO time period according to the difference between the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period, so as to obtain the data transmission speed corresponding to the next RTO time period.
Under the condition that the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, reducing the data transmission speed corresponding to the current RTO time period, and obtaining the data transmission speed corresponding to the next RTO time period; and under the condition that the network quality value corresponding to the current RTO time period is larger than the network quality value corresponding to the previous RTO time period, increasing the data transmission speed corresponding to the current RTO time period to obtain the data transmission speed corresponding to the next RTO time period. The magnitude of the decrease or increase in the data transmission speed may be determined according to the difference in the network quality values, and may be a linear relationship, an exponential relationship, or the like, and the specific determination manner is not limited.
And under the condition that the data transmission state corresponding to the next RTO time period is the detection state, the data transmission speed needs to be increased to the maximum value which is feasible.
One embodiment is to add the second value to the data transmission speed corresponding to the current RTO time period to obtain the data transmission speed corresponding to the next RTO time period. The second value is greater than 0, which may be a preset fixed value, or a value calculated based on a network quality value, or may be increased or decreased according to a duration time in a case of being in a detection state, which is not limited in a specific manner.
The short-range data transmission method provided by the application is further described below through embodiments in specific application scenarios. Fig. 2 is a system topology diagram provided in an embodiment of the present application, as shown in fig. 2, where short-distance connection is implemented between the electronic device 1 and the electronic device 2 through wireless communication, based on fig. 2, the specific transmission process is as follows:
s0. the reliable algorithm model starts up and initializes the data (including the speed initial value and congestion window initial value) to a default initial value.
(quick start zone) reliable algorithm model network quality data of the network module are acquired every RTO time period, and then based on the initialized data, the sending speed is adjusted according to the algorithm of the quick start state.
And S2, acquiring network quality data of the network module by the reliable algorithm model (stable region) in each RTO time period, and when the network quality is stable, changing the data transmission state of the next RTO time period into a stable state and keeping the transmission speed unchanged.
And S3, (fluctuation area) a reliable algorithm model acquires network quality data of a network module in each RTO time period, and if the network quality is poor (such as the case of packet loss or large delay of transmission), the data transmission state of the next RTO time period is changed into a fluctuation state, and the transmission speed is dynamically adjusted according to the algorithm of the fluctuation state.
And S4, (detection area) acquiring network quality data of the network module by the reliable algorithm model in each RTO time period, and if the network quality is found to be good, changing the data transmission state of the next RTO time period into a detection state, and dynamically adjusting the sending speed according to the algorithm of the detection state.
Fig. 3 is a schematic diagram of a transmission speed change provided in an embodiment of the present application, as shown in fig. 3, after a model is started, a data transmission state where each RTO time period is located is determined according to network quality data obtained from a network module, and an algorithm of each state is repeatedly executed, so as to realize dynamic balance in a data transmission process.
The short-range data transmission device provided by the embodiment of the application is described below, and the short-range data transmission device described below and the short-range data transmission method described above can be referred to correspondingly.
Fig. 4 is a schematic structural diagram of a short-range data transmission device according to an embodiment of the present application, where, as shown in fig. 4, the device is applied to a first electronic apparatus, and includes:
a receiving unit 400, configured to obtain network quality data of a current retransmission timeout period RTO period reported by a network module;
a determining unit 410, configured to determine, according to the network quality data of the current RTO period, a data transmission speed used for transmitting data to the second electronic device in the next RTO period;
The first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules.
In some embodiments, determining a data transmission speed used by a next RTO period to transmit data to the second electronic device based on network quality data for the current RTO period includes:
according to network quality data of the current RTO time period, determining a data transmission state corresponding to the next RTO time period; the data transmission state includes: a fast start state, a steady state, a surge state, and a detection state;
and determining the data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment according to the data transmission state corresponding to the next RTO time period.
In some embodiments, determining a data transmission state corresponding to a next RTO period according to network quality data of a current RTO period includes:
according to the network quality data of the current RTO time period, determining a congestion window value and a network quality value corresponding to the current RTO time period;
and determining the data transmission state corresponding to the next RTO time period according to the congestion window value and the network quality value corresponding to the current RTO time period.
In some embodiments, determining the data transmission state corresponding to the next RTO period according to the congestion window value and the network quality value corresponding to the current RTO period includes:
Under the condition that the congestion window value corresponding to the current RTO time period is smaller than a first threshold value, determining the data transmission state corresponding to the next RTO time period to be a quick start state;
determining that the data transmission state corresponding to the next RTO time period is a stable state when the congestion window value corresponding to the current RTO time period is greater than or equal to a first threshold value and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is smaller than a second threshold value;
when the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than a third threshold value, determining that the data transmission state corresponding to the next RTO time period is a fluctuation state; the third threshold is greater than the second threshold;
when the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is larger than the network quality value corresponding to the previous RTO time period, and the difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than a fourth threshold value, determining the data transmission state corresponding to the next RTO time period as a detection state; the fourth threshold is greater than the second threshold;
When the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is smaller than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than or equal to a second threshold value and smaller than or equal to a third threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept to be the same;
and when the congestion window value corresponding to the current RTO time period is larger than or equal to a first threshold value, the network quality value corresponding to the current RTO time period is larger than the network quality value corresponding to the previous RTO time period, and the phase difference ratio of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period is larger than or equal to a second threshold value and smaller than or equal to a fourth threshold value, the data transmission state corresponding to the next RTO time period and the data transmission state corresponding to the current RTO time period are kept to be the same.
In some embodiments, determining a data transmission speed used by the next RTO period to transmit data to the second electronic device according to a data transmission state corresponding to the next RTO period includes:
Under the condition that the data transmission state corresponding to the next RTO time period is a quick start state, adding a first value to the data transmission speed corresponding to the current RTO time period to obtain the data transmission speed corresponding to the next RTO time period, wherein the first value is larger than 0;
under the condition that the data transmission state corresponding to the next RTO time period is a stable state, the data transmission speed corresponding to the next RTO time period is equal to the data transmission speed corresponding to the current RTO time period;
under the condition that the data transmission state corresponding to the next RTO time period is in a fluctuation state, according to the difference value of the network quality value corresponding to the current RTO time period and the network quality value corresponding to the previous RTO time period, adjusting the data transmission speed on the basis of the data transmission speed corresponding to the current RTO time period, and obtaining the data transmission speed corresponding to the next RTO time period;
and adding a second value to the data transmission speed corresponding to the current RTO time period under the condition that the data transmission state corresponding to the next RTO time period is the detection state, so as to obtain the data transmission speed corresponding to the next RTO time period, wherein the second value is larger than 0.
It should be noted that, the short-range data transmission device provided by the embodiment of the present application can implement all the method steps implemented by the embodiment of the short-range data transmission method, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the embodiment of the method in the embodiment are omitted.
Fig. 5 is a schematic physical structure of an electronic device according to an embodiment of the present application, as shown in fig. 5, the electronic device may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a short-range data transfer method comprising:
acquiring network quality data of a current retransmission timeout period RTO time period reported by a network module;
according to the network quality data of the current RTO time period, determining the data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment;
the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules.
For example, processor 510 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or program execution capabilities. For example, the Central Processing Unit (CPU) may be an X86 or ARM architecture, or the like. The processor 510 may be a general-purpose processor or a special-purpose processor that may control other components in the electronic device to perform the desired functions.
For example, memory 530 may comprise any combination of one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory can include, for example, random Access Memory (RAM) and/or Cache memory (Cache) and the like. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, and the like. One or more computer program modules may be stored on the computer readable storage medium and executed by the processor 510 to implement various functions of the electronic device. Various applications and various data, as well as various data used and/or generated by the applications, etc., may also be stored in the computer readable storage medium.
Although not explicitly described, the electronic device may also include input devices such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices such as a display screen, speakers, vibrators, etc.; storage devices such as magnetic tape, hard disk, flash memory, etc.; a communication device. The communication means may allow the electronic device to communicate with other electronic devices wirelessly or by wire to exchange data. For example, the communication device may comprise the aforementioned network module.
In yet another aspect, the present application further provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the short-range data transmission method provided by the above method embodiments, the method comprising:
acquiring network quality data of a current retransmission timeout period RTO time period reported by a network module;
according to the network quality data of the current RTO time period, determining the data transmission speed used by the next RTO time period for transmitting data to the second electronic equipment; the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A short-range data transmission method, which is applied to a first electronic device, comprising:
acquiring network quality data of a current retransmission timeout period RTO time period reported by a network module;
determining a data transmission speed used for transmitting data to the second electronic equipment in the next retransmission timeout period RTO period according to the network quality data in the current retransmission timeout period RTO period;
the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules; the short-distance communication connection comprises that the first electronic equipment and the second electronic equipment are directly connected or connected in a mesh mode through a wireless communication technology;
the determining, according to the network quality data of the current retransmission timeout RTO period, a data sending speed used for sending data to the second electronic device in the next retransmission timeout RTO period includes:
determining a data transmission state corresponding to the next retransmission timeout period RTO time period according to the network quality data of the current retransmission timeout period RTO time period; wherein the data transmission state includes: a fast start state, a steady state, a surge state, and a detection state; the fast start state represents a state in which the data transmission speed is fast increased; the steady state represents a state in which the data transmission speed tends to be steady; the fluctuation state represents a state that the data transmission speed fluctuates along with the network quality data; the detection state indicates a state in which the data transmission speed increases to a maximum value at which the data transmission speed reaches a feasible maximum value;
And determining the data transmission speed used for transmitting the data to the second electronic equipment in the next retransmission timeout period RTO period according to the data transmission state corresponding to the next retransmission timeout period RTO period.
2. The method for short-range data transmission according to claim 1, wherein determining the data transmission state corresponding to the next retransmission timeout RTO period according to the network quality data of the current retransmission timeout RTO period comprises:
determining a congestion window value and a network quality value corresponding to the current retransmission timeout period RTO time period according to the network quality data of the current retransmission timeout period RTO time period;
and determining a data transmission state corresponding to the next retransmission timeout RTO time period according to the congestion window value and the network quality value corresponding to the current retransmission timeout RTO time period.
3. The method according to claim 2, wherein the determining the data transmission status corresponding to the next retransmission timeout RTO period according to the congestion window value and the network quality value corresponding to the current retransmission timeout RTO period includes:
under the condition that the congestion window value corresponding to the current retransmission timeout period RTO time period is smaller than a first threshold value, determining that the data transmission state corresponding to the next retransmission timeout period RTO time period is a quick start state;
Determining that the data transmission state corresponding to the next retransmission timeout period RTO time period is a stable state when the congestion window value corresponding to the current retransmission timeout period RTO time period is greater than or equal to the first threshold value and the difference ratio of the network quality value corresponding to the current retransmission timeout period RTO time period and the network quality value corresponding to the last retransmission timeout period RTO time period is smaller than a second threshold value;
when the congestion window value corresponding to the current retransmission timeout period RTO period is greater than or equal to the first threshold, the network quality value corresponding to the current retransmission timeout period RTO period is smaller than the network quality value corresponding to the last retransmission timeout period RTO period, and the difference ratio between the network quality value corresponding to the current retransmission timeout period RTO period and the network quality value corresponding to the last retransmission timeout period RTO period is greater than a third threshold, determining that the data transmission state corresponding to the next retransmission timeout period RTO period is a fluctuation state; the third threshold is greater than the second threshold;
when the congestion window value corresponding to the current retransmission timeout period RTO period is greater than or equal to the first threshold, the network quality value corresponding to the current retransmission timeout period RTO period is greater than the network quality value corresponding to the last retransmission timeout period RTO period, and the difference ratio between the network quality value corresponding to the current retransmission timeout period RTO period and the network quality value corresponding to the last retransmission timeout period RTO period is greater than a fourth threshold, determining the data transmission state corresponding to the next retransmission timeout period RTO period as a detection state; the fourth threshold is greater than the second threshold;
When the congestion window value corresponding to the current retransmission timeout period RTO period is greater than or equal to the first threshold, the network quality value corresponding to the current retransmission timeout period RTO period is smaller than the network quality value corresponding to the last retransmission timeout period RTO period, and the difference ratio of the network quality value corresponding to the current retransmission timeout period RTO period and the network quality value corresponding to the last retransmission timeout period RTO period is greater than or equal to the second threshold and less than or equal to the third threshold, the data transmission state corresponding to the next retransmission timeout period RTO period and the data transmission state corresponding to the current retransmission timeout period RTO period are kept the same;
and when the congestion window value corresponding to the current retransmission timeout period RTO period is greater than or equal to the first threshold, the network quality value corresponding to the current retransmission timeout period RTO period is greater than the network quality value corresponding to the last retransmission timeout period RTO period, and the difference ratio of the network quality value corresponding to the current retransmission timeout period RTO period and the network quality value corresponding to the last retransmission timeout period RTO period is greater than or equal to the second threshold and less than or equal to the fourth threshold, the data transmission state corresponding to the next retransmission timeout period RTO period and the data transmission state corresponding to the current retransmission timeout period RTO period are kept the same.
4. A method for transmitting short-range data according to any one of claims 1 to 3, wherein determining, according to the data transmission state corresponding to the next retransmission timeout RTO period, a data transmission speed used for transmitting data to the second electronic device by the next retransmission timeout RTO period includes:
adding a first value to the data transmission speed corresponding to the current retransmission timeout period RTO time period under the condition that the data transmission state corresponding to the next retransmission timeout period RTO time period is in a fast start state, so as to obtain the data transmission speed corresponding to the next retransmission timeout period RTO time period, wherein the first value is larger than 0;
under the condition that the data transmission state corresponding to the next retransmission timeout period RTO time period is a stable state, the data transmission speed corresponding to the next retransmission timeout period RTO time period is equal to the data transmission speed corresponding to the current retransmission timeout period RTO time period;
under the condition that the data transmission state corresponding to the next retransmission timeout period RTO time period is in a fluctuation state, according to the difference value of the network quality value corresponding to the current retransmission timeout period RTO time period and the network quality value corresponding to the last retransmission timeout period RTO time period, the data transmission speed is adjusted on the basis of the data transmission speed corresponding to the current retransmission timeout period RTO time period, and the data transmission speed corresponding to the next retransmission timeout period RTO time period is obtained;
And adding a second value to the data transmission speed corresponding to the current retransmission timeout period RTO time period under the condition that the data transmission state corresponding to the next retransmission timeout period RTO time period is a detection state, so as to obtain the data transmission speed corresponding to the next retransmission timeout period RTO time period, wherein the second value is larger than 0.
5. A short-range data transmission device, characterized in that it is applied to a first electronic apparatus, comprising:
the receiving unit is used for acquiring network quality data of the current retransmission timeout period RTO time period reported by the network module;
a determining unit, configured to determine, according to the network quality data of the current retransmission timeout RTO period, a data transmission speed used for transmitting data to the second electronic device in the next retransmission timeout RTO period;
the first electronic equipment and the second electronic equipment are in short-distance communication connection through respective network modules; the short-distance communication connection comprises that the first electronic equipment and the second electronic equipment are directly connected or connected in a mesh mode through a wireless communication technology;
the determining, according to the network quality data of the current retransmission timeout RTO period, a data sending speed used for sending data to the second electronic device in the next retransmission timeout RTO period includes:
Determining a data transmission state corresponding to the next retransmission timeout period RTO time period according to the network quality data of the current retransmission timeout period RTO time period; wherein the data transmission state includes: a fast start state, a steady state, a surge state, and a detection state; the fast start state represents a state in which the data transmission speed is rapidly increased; the steady state represents a state in which the data transmission speed tends to be steady; the fluctuation state represents a state that the data transmission speed fluctuates with the network quality data; the probe state represents a state in which the data transmission speed increases to a maximum value at which the data transmission speed reaches a feasible value;
and determining the data transmission speed used for transmitting the data to the second electronic equipment in the next retransmission timeout period RTO period according to the data transmission state corresponding to the next retransmission timeout period RTO period.
6. The short-range data transmission apparatus according to claim 5, wherein the determining, according to the network quality data of the current retransmission timeout RTO period, a data transmission state corresponding to a next retransmission timeout RTO period includes:
determining a congestion window value and a network quality value corresponding to the current retransmission timeout period RTO time period according to the network quality data of the current retransmission timeout period RTO time period;
And determining a data transmission state corresponding to the next retransmission timeout RTO time period according to the congestion window value and the network quality value corresponding to the current retransmission timeout RTO time period.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the short range data transmission method as claimed in any one of claims 1 to 4 when the program is executed by the processor.
8. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the short-range data transmission method according to any of claims 1 to 4.
CN202311355629.3A 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium Active CN117119524B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311355629.3A CN117119524B (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium
CN202311765793.1A CN117835317A (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311355629.3A CN117119524B (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311765793.1A Division CN117835317A (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117119524A true CN117119524A (en) 2023-11-24
CN117119524B CN117119524B (en) 2024-01-12

Family

ID=88796845

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311355629.3A Active CN117119524B (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium
CN202311765793.1A Pending CN117835317A (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202311765793.1A Pending CN117835317A (en) 2023-10-19 2023-10-19 Short-range data transmission method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (2) CN117119524B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104912A (en) * 2011-03-24 2011-06-22 黄东 Heterogeneous service-based congestion control method for wireless mesh network
CN103840917A (en) * 2014-03-28 2014-06-04 北京邮电大学 Multipath parallel transmission scheme based on network coding
US20140192639A1 (en) * 2009-01-16 2014-07-10 Vadim Smirnov Maximizing bandwidth utilization in networks with high latencies and packet drops using transmission control protocol
US20160044527A1 (en) * 2013-06-03 2016-02-11 Tencent Technology (Shenzhen) Company Limited Systems and Methods for Data Transmission
CN108494702A (en) * 2018-02-23 2018-09-04 腾讯科技(深圳)有限公司 Transfer control method and device, storage medium and electronic device
CN108513339A (en) * 2017-02-24 2018-09-07 珠海市魅族科技有限公司 Communication means, communication device and the communication terminal of WLAN
CN112738843A (en) * 2021-01-18 2021-04-30 哈尔滨工业大学 High-rate 5G uplink congestion control method for determining communication delay
CN113556213A (en) * 2020-04-23 2021-10-26 华为技术有限公司 Method for determining time-out Retransmission Time (RTO) and related device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140192639A1 (en) * 2009-01-16 2014-07-10 Vadim Smirnov Maximizing bandwidth utilization in networks with high latencies and packet drops using transmission control protocol
CN102104912A (en) * 2011-03-24 2011-06-22 黄东 Heterogeneous service-based congestion control method for wireless mesh network
US20160044527A1 (en) * 2013-06-03 2016-02-11 Tencent Technology (Shenzhen) Company Limited Systems and Methods for Data Transmission
CN103840917A (en) * 2014-03-28 2014-06-04 北京邮电大学 Multipath parallel transmission scheme based on network coding
CN108513339A (en) * 2017-02-24 2018-09-07 珠海市魅族科技有限公司 Communication means, communication device and the communication terminal of WLAN
CN108494702A (en) * 2018-02-23 2018-09-04 腾讯科技(深圳)有限公司 Transfer control method and device, storage medium and electronic device
CN113556213A (en) * 2020-04-23 2021-10-26 华为技术有限公司 Method for determining time-out Retransmission Time (RTO) and related device
US20230047532A1 (en) * 2020-04-23 2023-02-16 Hua Wei Technologies Co., Ltd. Retransmission timeout determining method and related apparatus
CN112738843A (en) * 2021-01-18 2021-04-30 哈尔滨工业大学 High-rate 5G uplink congestion control method for determining communication delay

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周冬平;赵奎;: "基于RTT的TCP拥塞控制慢启动改进算法", 计算机与现代化, no. 12 *
王凌: "《基于自适应流媒体应用的TCP拥塞控制机制优化研究》", 《全国优秀硕士学位论文全文库》 *

Also Published As

Publication number Publication date
CN117119524B (en) 2024-01-12
CN117835317A (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN106789718B (en) Data transmission congestion control method, equipment, server and programmable equipment
KR102480875B1 (en) Method for reconnecting bluetooth communication and apparatus using the same
JP6389339B2 (en) Data transmission method, apparatus, and system
CN112368996B (en) Apparatus and method for adjusting network parameters
US10735554B1 (en) System for controlling use of a network
EP3909386B1 (en) Electronic device for transmitting response message in bluetooth network environment and method for the same
US11157320B2 (en) Optimizing runtime environments
EP3697057B1 (en) Method for controlling bitrate in realtime and electronic device thereof
US9838976B1 (en) System for controlling interference associated with wireless communication
EP3477997B1 (en) Method for controlling data transmission, device, and storage medium
KR20210137702A (en) Electronic device and method for processing a data packet received in the electronic device
US11924114B2 (en) Device and method for processing data packet
CN113765945A (en) File dynamic fragmentation transmission method, device, equipment and storage medium
CN117119524B (en) Short-range data transmission method, device, electronic equipment and storage medium
US10524069B1 (en) System for configuring distribution of audio data to devices based on connection status
JP2005080309A (en) Packet receiving method of mobile terminal
US11330651B2 (en) Electronic device using bluetooth communication and operating method thereof
US10425508B1 (en) System for identifying idle time of a protocol to facilitate communication using multiple protocols
CN105188113B (en) A kind of information processing method and radio reception device
KR20220168407A (en) Electronic device and method thereof
KR20220097201A (en) Network congestion control method using federated learning
CN109067487B (en) Channel selection method, terminal and computer storage medium
US20160026668A1 (en) Data transmission service switch system and method
TW201924285A (en) Data communication device, communication system, data communication method and program
JP2015069240A (en) Information processor, information processing method, and information processing 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
GR01 Patent grant
GR01 Patent grant