CN-122027565-A - Network congestion adjustment method, vehicle and storage medium
Abstract
The application provides a network congestion adjusting method, a vehicle and a storage medium, wherein the method is applied to the vehicle and comprises the steps of responding to the fact that a current network is in a preset congestion state, emptying in-transit data in the current network, obtaining buffer memory blocking of the current network, determining a first sending rate of the current network based on the buffer memory blocking, obtaining minimum data round trip delay when the current network is in the first sending rate, and determining a target sending rate of the current network according to the minimum data round trip delay. Therefore, the application solves the problems of blocking, delaying or unresponsiveness of operation of the vehicle-mounted application caused by network congestion, can actively empty in-transit data in a congestion state, and can rapidly adjust the sending rate based on the current buffer blocking and the minimum round trip delay, thereby remarkably improving the reliability and the instantaneity of the vehicle-mounted networking application under the complex network condition.
Inventors
- LI MINGDE
Assignees
- 长城汽车股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260228
Claims (10)
- 1. A method for adjusting network congestion, comprising the steps of: in response to a current network being in a preset congestion state, evacuating in-transit data in the current network; Acquiring a buffer memory blockage of the current network, determining a first sending rate of the current network based on the buffer memory blockage, and acquiring the minimum data round trip delay of the current network when the current network is at the first sending rate; and determining the target sending rate of the current network according to the minimum data round trip delay.
- 2. The method of claim 1, wherein the determining the first transmission rate of the current network based on the cache congestion comprises: adjusting the sending rate of the current network to a second sending rate, and acquiring the duration of the current network at the second sending rate; And responding to the duration reaching a preset duration, and determining the first sending rate according to the cache blocking.
- 3. The method of claim 2, wherein said determining the first transmission rate based on the cache congestion comprises: Determining a target blocking interval where the cache blocking is located; Determining a target speed reduction ratio according to the target blocking interval, and acquiring a first bottleneck bandwidth of the current network; And determining the first sending rate according to the current bottleneck bandwidth and the target speed reduction proportion.
- 4. The method of claim 1, wherein said evacuating data in transit in the current network comprises: and adjusting the sending rate of the current network to a third sending rate until the in-transit data is smaller than or equal to a bandwidth delay product.
- 5. The method of claim 1 or 4, further comprising, prior to draining in-transit data in a current network in response to the current network being in a preset congestion state: acquiring a second bottleneck bandwidth of the current network and a data round trip delay in a preset time period; and determining whether the current network is in the preset congestion state according to the current bottleneck bandwidth and the data round trip delay in the preset time period.
- 6. The method of claim 5, wherein said determining whether the current network is in the preset congestion state based on the current bottleneck bandwidth and a round-trip delay of data within the preset time period comprises: Determining the current sending rate according to the current bottleneck bandwidth, and determining the continuous rising times of the round-trip delay of the data in a preset time period; the preset congestion condition is that the current sending rate is greater than or equal to a first preset threshold value, and/or the continuous increase frequency is greater than or equal to a second preset threshold value.
- 7. The method of claim 1, wherein said determining the target transmission rate of the current network based on the minimum data round trip delay comprises: Judging whether the minimum data round trip delay is updated or not; And if the minimum data round trip delay is updated, the step of acquiring the buffer blocking of the current network is re-executed, otherwise, the target sending rate is adjusted to a preset minimum value.
- 8. The method of claim 3, further comprising, after determining a target congestion interval in which the cache congestion is located: And determining the deletion proportion of the target data according to the target blocking interval, and deleting the target data according to the deletion proportion.
- 9. A vehicle comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the network congestion adjustment method according to any one of claims 1 to 8.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed, implements the network congestion adjustment method according to any one of claims 1 to 8.
Description
Network congestion adjustment method, vehicle and storage medium Technical Field The present application relates to the field of vehicles, and more particularly, to a network congestion adjustment method in the field of vehicles, a vehicle, and a storage medium. Background In the running process of a vehicle, a user often encounters the problem that vehicle-mounted applications, such as audio and video playing, cloud games and the like, are blocked, delayed or unresponsive in operation, and the interaction experience and the use satisfaction degree are seriously affected. Such problems are particularly pronounced in high speed movement, urban dense areas or peak hours. In the related art, a multi-path transmission technology is adopted, and the capability of a vehicle for simultaneously accessing a plurality of network interfaces is utilized to disperse data streams to different paths for transmission so as to improve the robustness of an overall link. However, when a vehicle is driven into a base station coverage edge or high density traffic area, even if there are multiple available paths, one of the active links may experience a sudden decrease in bandwidth and a sudden increase in queuing delay due to localized congestion. The multipath transmission mechanism itself does not have the capability of fast sensing and active intervention of the congestion state inside a single path, resulting in the data allocated to that path being blocked by a large amount of low priority traffic, resulting in a user-perceived stuck or unresponsive operation. Disclosure of Invention The application provides a network congestion adjusting method, a vehicle and a storage medium, which can solve the problems of blocking, delaying or unresponsiveness of operation of vehicle-mounted application caused by network congestion, actively empty in-transit data in a congestion state, and rapidly adjust the sending rate based on current buffer blocking and minimum round trip delay, thereby remarkably improving the reliability and instantaneity of the vehicle-mounted networking application under complex network conditions. In a first aspect, a network congestion adjustment method is provided, the method including: in response to a current network being in a preset congestion state, evacuating in-transit data in the current network; Acquiring a buffer memory blockage of the current network, determining a first sending rate of the current network based on the buffer memory blockage, and acquiring the minimum data round trip delay of the current network when the current network is at the first sending rate; and determining the target sending rate of the current network according to the minimum data round trip delay. According to the technical means, when the current network is detected to be in a preset congestion state, the on-the-way data is firstly emptied, the data load causing queuing delay can be quickly eliminated, on the basis, the buffer blocking state of a sending end is obtained, the sending rate is adjusted according to the buffer blocking state to detect the bottleneck bandwidth, after the bottleneck bandwidth is detected, whether the minimum data round trip delay is updated or not is judged, and the continuous detection of the bottleneck bandwidth or the detection of the round trip delay is determined according to the minimum data round trip delay so as to adjust the target sending rate, so that the reliability and the instantaneity of network transmission are improved under the complex network condition. With reference to the first aspect, in some possible implementations, the determining, based on the cache blocking, a first sending rate of the current network includes: adjusting the sending rate of the current network to a second sending rate, and acquiring the duration of the current network at the second sending rate; And responding to the duration reaching a preset duration, and determining the first sending rate according to the cache blocking. By the technical means, the sending rate of the current network is adjusted to the second sending rate, and the current network is operated at the second sending rate until the duration reaches the preset duration, so that the sending queue and the network path can enter a relatively stable state, the first sending rate is determined according to the buffer blocking, the sending rate of the sending end is dynamically matched with the current network, the problems of buffer accumulation or bandwidth waste caused by mismatching of the sending rate and the network processing capacity are avoided, the pertinence and the effectiveness of rate regulation are improved, and meanwhile, the frequent adjustment of the rate is avoided through the steady waiting of the fixed duration, and the stability of the network transmission process is ensured. With reference to the first aspect and the foregoing implementation manners, in some possible implementation manners, the determining the first