CN117527648A - Bandwidth detection method, device, equipment and storage medium - Google Patents

Bandwidth detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN117527648A
CN117527648A CN202311695805.8A CN202311695805A CN117527648A CN 117527648 A CN117527648 A CN 117527648A CN 202311695805 A CN202311695805 A CN 202311695805A CN 117527648 A CN117527648 A CN 117527648A
Authority
CN
China
Prior art keywords
detection
bandwidth
current
network state
detection point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311695805.8A
Other languages
Chinese (zh)
Inventor
王佳男
唐辉
翟强俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202311695805.8A priority Critical patent/CN117527648A/en
Publication of CN117527648A publication Critical patent/CN117527648A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • 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

Abstract

The embodiment of the disclosure provides a bandwidth detection method, a device, equipment and a storage medium. The method comprises the following steps: responding to the current bandwidth detection stage as a bandwidth upper detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage; determining a current network state corresponding to the current detection point based on the current detection result and a history detection result corresponding to the history detection point; and responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth. According to the technical scheme, continuous probing of the probing bandwidth is realized in the probing stage of the bandwidth without maintaining for a period of time, and the probing speed of the bandwidth is improved, so that the audio and video experience of real-time communication is improved.

Description

Bandwidth detection method, device, equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the internet technology, in particular to a bandwidth detection method, a device, equipment and a storage medium.
Background
With the rapid development of internet technology, network congestion is often controlled by a bandwidth probing mode in real-time communication. At present, after deciding that the current probing bandwidth is needed, that is, after increasing the bandwidth based on the current probing bandwidth, the current probing bandwidth needs to be maintained unchanged for probing in a certain time period, and then the next bandwidth estimation and probing are performed based on the bandwidth probing result in the time period.
However, in implementing the present disclosure, it is found that at least the following problems exist in the prior art:
since the existing bandwidth estimation requires a bandwidth detection result within a certain period of time, the bandwidth cannot be continuously detected. However, when the current network is changed into the strong network, since the probe bandwidth needs to be maintained for a period of time each time, it takes a long time to increase the probe bandwidth to be within a reasonable range of the strong network bandwidth, and the audio and video experience of the real-time communication is reduced.
Disclosure of Invention
The present disclosure provides a bandwidth detection method, apparatus, device, and storage medium, so as to realize continuous detection of bandwidth in a bandwidth detection stage, without maintaining for a period of time, and improve the bandwidth detection speed, thereby improving the audio and video experience of real-time communication.
In a first aspect, an embodiment of the present disclosure provides a bandwidth detection method, including:
responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to the detection bandwidth in the current bandwidth detection stage being greater than the detection bandwidth in the previous bandwidth detection stage;
determining a current network state corresponding to the current detection point based on the current detection result and the historical detection result corresponding to the historical detection point;
and responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth.
In a second aspect, an embodiment of the present disclosure further provides a bandwidth detecting apparatus, including:
the detection result acquisition module is used for responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to that the detection bandwidth in the current bandwidth detection stage is larger than the detection bandwidth in the previous bandwidth detection stage;
The network state determining module is used for determining the current network state corresponding to the current detection point based on the current detection result and the history detection result corresponding to the history detection point;
and the bandwidth up-detecting module is used for responding to the current network state as the strong network state, carrying out up-detecting processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and carrying out bandwidth detection on the next detection point based on the target detection bandwidth.
In a third aspect, embodiments of the present disclosure further provide an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the bandwidth detection method as described in any of the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the bandwidth detection method according to any of the disclosed embodiments.
According to the method and the device, the current detection result corresponding to the current detection point in the current bandwidth detection stage is obtained by responding to the current bandwidth detection stage as the bandwidth up detection stage, the current network state corresponding to the current detection point is determined based on the current detection result and the history detection result corresponding to the history detection point, the current detection bandwidth corresponding to the current detection point is directly subjected to up detection processing in response to the current network state as the strong network state, the target detection bandwidth corresponding to the next detection point is determined, and the next detection point is subjected to bandwidth detection based on the target detection bandwidth, so that the next detection point is subjected to width up detection directly without maintaining the current detection bandwidth for a period of time, continuous up detection of the detection bandwidth is realized in the bandwidth up detection stage, the bandwidth up detection speed is improved, and further the audio and video experience of real-time communication is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flowchart of a bandwidth detection method according to an embodiment of the present disclosure;
FIG. 2 is an exemplary diagram of a bandwidth probing process according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another bandwidth detection method provided in an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a bandwidth detecting apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Fig. 1 is a schematic flow chart of a bandwidth detection method provided by an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to detecting a bandwidth in network congestion control, the method may be performed by a bandwidth detection apparatus, and the apparatus may be implemented in a form of software and/or hardware, and optionally, implemented by an electronic device, where the electronic device may be a mobile terminal, a PC side, a server, or the like.
As shown in fig. 1, the bandwidth detection method specifically includes the following steps:
s110, responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to that the detection bandwidth in the current bandwidth detection stage is larger than the detection bandwidth in the last bandwidth detection stage.
The bandwidth detection is based on the estimated bandwidth determined by the bandwidth estimation algorithm in network congestion control every time. Since bandwidth estimation is performed once at intervals, bandwidth probing is also performed correspondingly once at intervals, each time a bandwidth probing process is performed corresponds to one bandwidth probing phase, that is, each bandwidth probing phase. The current bandwidth probing phase refers to the bandwidth probing phase in which the current probing is performed. The bandwidth probing phase may include a bandwidth up-probing phase, a bandwidth down-probing phase, and a bandwidth hold phase. The bandwidth up-probing stage refers to that the probing bandwidth used at the time is larger than the probing bandwidth used at the last time. The bandwidth downsampling stage refers to that the detection bandwidth used at the time is smaller than the detection bandwidth used last time. The wide hold phase refers to the detection bandwidth that is currently used being equal to the detection bandwidth that was last used. Since each probe needs to be maintained for a period of time, there may be multiple probe points (i.e., sampling points) in each bandwidth probing phase, each probe point may correspond to the same probing bandwidth. For example, referring to fig. 2, each bandwidth detection stage may include 3 detection points, such as a first bandwidth detection stage may include a 1 st detection point a followed by a 2 nd detection point and a 3 rd detection point. The second bandwidth detection phase (i.e., the phase consisting of the 4 th detection point, the 5 th detection point, and the 6 th detection point) is a bandwidth up detection phase with respect to the first bandwidth detection phase. The third bandwidth detection phase (i.e., the phase consisting of the 7 th detection point, the 8 th detection point, and the 9 th detection point) is a bandwidth down detection phase with respect to the second bandwidth detection phase. The current detection result corresponding to the current detection point may refer to a packet receiving condition sent by the current detection point based on the current detection bandwidth.
Specifically, whether the detected bandwidth used in the current bandwidth detection stage is larger than the detected bandwidth in the previous bandwidth detection stage is detected, if yes, the current bandwidth detection stage is determined to be a bandwidth up detection stage, and if not, the current bandwidth detection stage is determined to be a non-bandwidth up detection stage, such as a bandwidth down detection stage or a bandwidth holding stage. When the current bandwidth detection stage is a bandwidth up detection stage, it indicates that there may be a need to continue up detection in the current bandwidth detection stage, and at this time, a current detection result corresponding to a current detection point in the current bandwidth detection stage may be obtained. For example, the bandwidth probing process corresponding to the current probing point is: and taking the current detection bandwidth corresponding to the current detection point as the current sending code rate to send the data packet, and taking the receiving condition of the data packet as the current detection result corresponding to the current detection point.
It should be noted that, if the current bandwidth detection stage is a non-bandwidth up detection stage, it indicates that there is no up detection requirement in the current bandwidth detection stage, and at this time, bandwidth detection may be performed according to the original detection logic, for example, the current detection bandwidth is maintained for a period of time for detection, and then the next bandwidth estimation and detection are performed based on the detection result of the period of time.
S120, determining the current network state corresponding to the current detection point based on the current detection result and the historical detection result corresponding to the historical detection point.
The historical detection point may refer to a detection point before the current detection point. The historical probe points may refer to probe points within a preset historical period of time that is closest to the current time. For example, the history probe may be a history probe within the last 1 minute. The history probe may also refer to a history probe within a preset number of history bandwidth probe phases closest to the current time, which does not include the history probe within the current bandwidth probe phase, e.g., the history probe may refer to a history probe within a previous bandwidth probe phase. The current network state may be a network state in which the current probe point is located relative to a network of historical probe points. For example, the current network state may include a strong network state or a weak network state. The strong network state means that the current probe point has better network conditions than the historical probe point, that is, the current probe bandwidth used by the current probe point is smaller than the actual network bandwidth. The weak network state refers to that the network condition of the current detected network condition point is about the same as the historical detection point or the network condition of the current detection point is worse than the historical detection point, that is, the current detection bandwidth used by the current detection point is larger than the actual network bandwidth.
Specifically, the current detection result is compared with the historical detection result corresponding to the historical detection point, and whether the current network state of the current detection point is in a strong network state or a weak network state is determined based on the comparison result, so that whether the current detection point meets the condition of continuous upward detection is determined.
And S130, responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth.
The upward sounding process may refer to a process of increasing bandwidth. The target detection bandwidth corresponding to the next detection point is larger than the current detection bandwidth corresponding to the current detection point.
Specifically, when the current network state corresponding to the current detection point is a strong network state, the current network of the current detection point is indicated to be a strong network, the condition of continuously probing is met, the current detection bandwidth can be directly subjected to probing processing to obtain a target detection bandwidth which is larger than the current detection bandwidth, the target detection bandwidth is used as a sending code rate of the next detection point to send a data packet, and the bandwidth detection of the next detection point is completed, so that the next detection point can directly probe to a larger bandwidth for detection without maintaining the current detection bandwidth unchanged. The next detection point can be used as the current detection point to execute the operation of the steps S110-S130 to continue the upward detection, so that the continuous upward detection of the detection bandwidth can be realized in the strong network state, the time spent by increasing the detection bandwidth to the reasonable range of the strong network bandwidth is shortened, and the bandwidth upward detection speed is improved.
Illustratively, "performing the upward detection process on the current detection bandwidth corresponding to the current detection point" in S130, determining the target detection bandwidth corresponding to the next detection point may include: and adding the current detection bandwidth corresponding to the current detection point with the preset upper detection interval bandwidth to obtain the target detection bandwidth corresponding to the next detection point.
The preset sounding interval bandwidth may be a preset bandwidth increased by sounding each time, that is, a bandwidth sounding step size. Specifically, bandwidth probing is performed by directly increasing the preset probing interval bandwidth on the basis of the current probing bandwidth, bandwidth estimation is not needed, and the bandwidth probing speed is further improved.
Illustratively, referring to fig. 2, each probe point in the bandwidth probing phase of the AB range is in a weak network state, so that the condition of continuous probing is not triggered, but the original bandwidth probing process is maintained. When the detection point B is detected, the system is converted into a strong network state, and the bandwidth can be directly detected (see the solid line part), and the detection bandwidth corresponding to the detection point B is not required to be maintained (see the dotted line part). Each detection point after the detection point B corresponds to a strong network state, so that continuous upward detection is performed after the detection point B until the upward detection is within a reasonable range of the strong network bandwidth, namely the detection point C. The actual network bandwidth after the detection point C is unchanged, and bandwidth estimation is not triggered, so that the detection bandwidth corresponding to the detection point C can be maintained to transmit data packets. The existing bandwidth detection mode is shown in a dotted line part, and the bandwidth is detected to be within a reasonable range of the bandwidth of the strong network only when the point D is detected. Therefore, the bandwidth detection mode of the present disclosure takes a much shorter time period (i.e., the time period corresponding to BC) than the existing bandwidth detection mode (i.e., the time period corresponding to BD), so that the bandwidth detection mode of the present disclosure can greatly shorten the bandwidth detection time and increase the bandwidth detection speed.
According to the technical scheme, the current detection result corresponding to the current detection point in the current bandwidth detection stage is obtained by responding to the current bandwidth detection stage as the bandwidth up detection stage, the current network state corresponding to the current detection point is determined based on the current detection result and the history detection result corresponding to the history detection point, the current detection bandwidth corresponding to the current detection point is directly subjected to up detection processing in response to the current network state being a strong network state, the target detection bandwidth corresponding to the next detection point is determined, and the next detection point is subjected to bandwidth detection based on the target detection bandwidth, so that the next detection point is subjected to width up detection directly without maintaining the current detection bandwidth for a period of time, continuous up detection of the detection bandwidth is realized in the bandwidth up detection stage, the bandwidth up detection speed is improved, and further the audio and video experience of real-time communication is improved.
Based on the technical scheme, the method further comprises the following steps: determining a weak network state duration in a current bandwidth detection stage in response to the current network state being a weak network state; and comparing the weak network state duration with a preset duration, and detecting the bandwidth of the next detection point based on the comparison result.
The weak network state duration may refer to a duration in which the detection bandwidth in the current bandwidth detection phase is continuously maintained. The preset duration may refer to a preset maximum duration for which the probe bandwidth remains unchanged.
Specifically, in the current bandwidth detection stage, that is, in the bandwidth probing stage, if the current network state corresponding to the current detection point is detected to be the weak network state, it indicates that the condition of continuing probing is not met currently, and at this time, the probing bandwidth can be maintained for a period of time. By comparing the duration of the weak network state in the current bandwidth detection phase with the preset duration, whether to continue to maintain the detection bandwidth unchanged or end the current bandwidth detection phase can be determined, so that the next bandwidth detection phase can be entered based on the re-estimated bandwidth, and the original bandwidth detection logic can be compatible on the basis of realizing continuous bandwidth up-detection.
Illustratively, performing bandwidth detection on the next detection point based on the comparison result may include: if the duration of the weak network state is smaller than the preset duration, taking the current detection bandwidth corresponding to the current detection point as a target detection bandwidth, and carrying out bandwidth detection on the next detection point; if the duration of the weak network state is longer than or equal to the preset duration, the current bandwidth detection stage is determined to be ended.
Specifically, when the duration of the weak network state is smaller than the preset duration, it indicates that the current detection bandwidth can be continuously maintained for detection, and at this time, the current detection bandwidth corresponding to the current detection point is used as the target detection bandwidth, that is, the sending code rate of the next detection point is used for sending a data packet, so that the sending code rate is maintained unchanged for detecting the bandwidth of the next detection point. The operation of performing the above steps S110 to S130 may be performed in a manner that the next detection point is regarded as the current detection point, and the detection may be looped until the end of the current bandwidth detection phase, if the upward detection process is possible at the next detection point. When the duration of the weak network state is longer than or equal to the preset duration, the current detection bandwidth is not required to be maintained for detection, and the end of the current bandwidth detection stage can be determined at the moment, so that the detection operation in the current bandwidth detection stage is ended, the next bandwidth detection stage is started based on the re-estimated bandwidth, and the original bandwidth detection logic can be compatible on the basis of realizing continuous upper detection of the bandwidth.
Fig. 3 is a flowchart of another bandwidth detection method provided by an embodiment of the present disclosure, where a process of determining a current network state corresponding to a current detection point is described in detail based on the above embodiment of the present disclosure. Wherein the same or corresponding terms as those of the above-described embodiments are not explained in detail herein.
As shown in fig. 3, the bandwidth detection method specifically includes the following steps:
s310, responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage.
S320, determining the transmittance of the current code rate corresponding to the current detection point based on the current sending code rate and the current receiving code rate in the current detection result.
The current code rate transmittance can be used for representing the network strength corresponding to the current detection point. The larger the current code rate transmittance is, the stronger the network corresponding to the current detection point is, that is, the larger the current actual network bandwidth is than the current detection bandwidth.
Specifically, dividing the current receiving code rate corresponding to the current detection point by the current sending code rate to obtain the current code rate transmittance corresponding to the current detection point.
S330, determining the reference code rate transmittance corresponding to the historical detection point based on the historical sending code rate and the historical receiving code rate in the historical detection result corresponding to the historical detection point.
Wherein the number of history detection points is a plurality. The reference code rate transmittance can be used for representing the network strength of the whole historical detection point. The larger the reference code rate transmittance is, the stronger the network of the whole historical detection point is, that is, the larger the historical actual network bandwidth is than the historical detection bandwidth.
Specifically, statistical processing is performed based on the historical sending code rate and the historical receiving code rate corresponding to all the historical detection points, and the reference code rate transmittance corresponding to all the historical detection points is determined.
Illustratively, S330 may include: determining the transmission rate of the historical code rate corresponding to each historical detection point based on the historical transmission rate and the historical reception rate in the historical detection result corresponding to each historical detection point; and carrying out average processing on all the historical code rate transmittance, and determining the reference code rate transmittance corresponding to the historical detection point.
Specifically, dividing the historical receiving code rate corresponding to each historical detection point by the corresponding historical sending code rate to obtain the historical code rate transmittance corresponding to each historical detection point. And carrying out average processing on all the historical code rate transmittance, and determining the obtained average historical code rate transmittance as the reference code rate transmittance corresponding to the historical detection point.
S340, determining the current network state corresponding to the current detection point based on the current code rate transmittance and the reference code rate transmittance.
Specifically, the current code rate transmittance is compared with the reference code rate transmittance, so that the current network state corresponding to the current detection point can be accurately determined, and further the accuracy of continuous bandwidth probing is ensured. For example, determining a ratio between the transmittance of the current code rate and the transmittance of the reference code rate, comparing the ratio with a preset ratio, if the ratio is greater than or equal to the preset ratio, determining that the current network state corresponding to the current detection point is a strong network state, otherwise, determining that the current network state is a weak network state. The preset ratio may be a preset ratio threshold that allows the upward detection to be continued, where the ratio threshold is a value greater than 1.
Illustratively, S340 may include: determining a ratio between the transmittance of the current code rate and the transmittance of the reference code rate, and comparing the ratio with a preset ratio to obtain a first comparison result; comparing the reference code rate transmittance with a preset transmittance to obtain a second comparison result; and determining the current network state corresponding to the current detection point based on the first comparison result and the second comparison result.
The preset transmittance may be a preset maximum historical transmittance that allows the continuous upward probing. Specifically, by integrating the first comparison result and the second comparison result, the current network state corresponding to the current detection point can be more accurately determined, and the accuracy of continuous bandwidth detection is further improved.
Illustratively, determining the current network state corresponding to the current probe point based on the first comparison result and the second comparison result may include: if the ratio is greater than or equal to the preset ratio and the reference code rate transmittance is greater than or equal to the preset transmittance, determining that the current network state corresponding to the current detection point is a strong network state; if the ratio is smaller than the preset ratio or the reference code rate transmittance is smaller than the preset transmittance, determining that the current network state corresponding to the current detection point is a weak network state.
Specifically, if the reference code rate transmittance is greater than or equal to the preset transmittance, it indicates that the network in the recent historical time period may be a strong network, and the current detection point is accurately detected, and when the ratio corresponding to the current detection point is detected to be greater than or equal to the preset ratio, it indicates that enough space exists currently for continuous detection, and the current network state corresponding to the current detection point is determined to be a strong network state, so that the detection can be continued on the basis of the current detection point.
If the ratio corresponding to the current detection point is smaller than the preset ratio, the fact that enough space does not exist at present for continuous upward detection is indicated, and at the moment, the current network state can be directly determined to be the weak network state. Or if the reference code rate transmittance is smaller than the preset transmittance, the network in the latest historical time period is indicated to be a weak network, the current detection point is inaccurately detected, and the current network state can be directly determined to be a weak network state at the moment, so that continuous bandwidth detection is avoided, and the accuracy of bandwidth detection is ensured.
And S350, responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth.
According to the technical scheme, the current code rate transmittance corresponding to the current detection point is determined based on the current sending code rate and the current receiving code rate in the current detection result, the reference code rate transmittance corresponding to the historical detection point is determined based on the historical sending code rate and the historical receiving code rate in the historical detection result corresponding to the historical detection point, and the current network state corresponding to the current detection point can be accurately determined based on the current code rate transmittance and the reference code rate transmittance, so that the accuracy of continuous bandwidth probing is guaranteed.
Fig. 4 is a schematic structural diagram of a bandwidth detecting apparatus according to an embodiment of the present disclosure, as shown in fig. 4, where the apparatus specifically includes: a probe result acquisition module 410, a network state determination module 420, and a bandwidth upward probe module 430.
The detection result obtaining module 410 is configured to obtain, in response to the current bandwidth detection stage being a bandwidth up detection stage, a current detection result corresponding to a current detection point in the current bandwidth detection stage, where the bandwidth up detection stage refers to a detection bandwidth in the current bandwidth detection stage being greater than a detection bandwidth in a previous bandwidth detection stage; a network state determining module 420, configured to determine a current network state corresponding to the current detection point based on the current detection result and a history detection result corresponding to the history detection point; and the bandwidth up-detecting module 430 is configured to respond to the current network state being a strong network state, perform up-detecting processing on the current detected bandwidth corresponding to the current detected point, determine a target detected bandwidth corresponding to a next detected point, and perform bandwidth detection on the next detected point based on the target detected bandwidth.
According to the technical scheme provided by the embodiment of the disclosure, the current detection result corresponding to the current detection point in the current bandwidth detection stage is obtained by responding to the current bandwidth detection stage as the bandwidth up detection stage, the current network state corresponding to the current detection point is determined based on the current detection result and the history detection result corresponding to the history detection point, the current detection bandwidth corresponding to the current detection point is directly subjected to up detection processing in response to the current network state as the strong network state, the target detection bandwidth corresponding to the next detection point is determined, and the next detection point is subjected to bandwidth detection based on the target detection bandwidth, so that the next detection point is subjected to width up detection directly without maintaining the current detection bandwidth for a period of time, continuous up detection of the detection bandwidth is realized in the bandwidth up detection stage, the bandwidth up detection speed is improved, and further the audio and video experience of real-time communication is improved.
Based on the above technical solution, the network status determining module 420 includes:
the current code rate transmittance determining unit is used for determining the current code rate transmittance corresponding to the current detection point based on the current sending code rate and the current receiving code rate in the current detection result;
The reference code rate transmittance determining unit is used for determining the reference code rate transmittance corresponding to the historical detection point based on the historical sending code rate and the historical receiving code rate in the historical detection result corresponding to the historical detection point;
and the network state determining unit is used for determining the current network state corresponding to the current detection point based on the current code rate transmittance and the reference code rate transmittance.
On the basis of the above technical solutions, the reference code rate transmittance determining unit is specifically configured to:
determining the transmission rate of the historical code rate corresponding to each historical detection point based on the historical transmission rate and the historical reception rate in the historical detection result corresponding to each historical detection point; and carrying out average processing on all the historical code rate transmittance, and determining the reference code rate transmittance corresponding to the historical detection point.
Based on the above technical solutions, the network state determining unit includes:
the first comparison subunit is used for determining the ratio between the current code rate transmittance and the reference code rate transmittance, and comparing the ratio with a preset ratio to obtain a first comparison result;
the second comparison subunit is used for comparing the reference code rate transmittance with a preset transmittance to obtain a second comparison result;
And the network state determining subunit is used for determining the current network state corresponding to the current detection point based on the first comparison result and the second comparison result.
Based on the above technical solutions, the network state determining subunit is specifically configured to:
if the ratio is larger than or equal to a preset ratio and the reference code rate transmittance is larger than or equal to a preset transmittance, determining that the current network state corresponding to the current detection point is a strong network state; and if the ratio is smaller than a preset ratio or the reference code rate transmittance is smaller than a preset transmittance, determining that the current network state corresponding to the current detection point is a weak network state.
Based on the above technical solutions, the bandwidth up-detecting module 430 is specifically configured to:
and adding the current detection bandwidth corresponding to the current detection point with the preset upper detection interval bandwidth to obtain the target detection bandwidth corresponding to the next detection point.
On the basis of the technical schemes, the device further comprises:
the weak network state duration determining module is used for determining the weak network state duration in the current bandwidth detection stage in response to the current network state being the weak network state;
and the bandwidth detection module is used for comparing the weak network state duration with a preset duration and detecting the bandwidth of the next detection point based on a comparison result.
Based on the above technical solutions, the bandwidth detection module is specifically configured to:
if the duration of the weak network state is smaller than the preset duration, taking the current detection bandwidth corresponding to the current detection point as a target detection bandwidth, and carrying out bandwidth detection on the next detection point; and if the duration of the weak network state is longer than or equal to the preset duration, determining that the current bandwidth detection phase is ended.
The bandwidth detection device provided by the embodiment of the disclosure can execute the bandwidth detection method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of executing the bandwidth detection method.
It should be noted that each unit and module included in the above apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. Referring now to fig. 5, a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 5) 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The electronic device provided by the embodiment of the present disclosure and the bandwidth detection method provided by the foregoing embodiment belong to the same inventive concept, and technical details not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same beneficial effects as the foregoing embodiment.
The present disclosure provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the bandwidth detection method provided by the above embodiments.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to the detection bandwidth in the current bandwidth detection stage being greater than the detection bandwidth in the previous bandwidth detection stage; determining a current network state corresponding to the current detection point based on the current detection result and the historical detection result corresponding to the historical detection point; and responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method, including:
responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to the detection bandwidth in the current bandwidth detection stage being greater than the detection bandwidth in the previous bandwidth detection stage;
determining a current network state corresponding to the current detection point based on the current detection result and the historical detection result corresponding to the historical detection point;
and responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example two ] further comprising:
optionally, the determining, based on the current detection result and the history detection result corresponding to the history detection point, the current network state corresponding to the current detection point includes:
determining the transmittance of the current code rate corresponding to the current detection point based on the current sending code rate and the current receiving code rate in the current detection result;
Determining the reference code rate transmittance corresponding to the history detection point based on the history sending code rate and the history receiving code rate in the history detection result corresponding to the history detection point;
and determining the current network state corresponding to the current detection point based on the current code rate transmittance and the reference code rate transmittance.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example three ], further comprising:
optionally, the determining the reference code rate transmittance corresponding to the history detection point based on the history sending code rate and the history receiving code rate in the history detection result corresponding to the history detection point includes:
determining the transmission rate of the historical code rate corresponding to each historical detection point based on the historical transmission rate and the historical reception rate in the historical detection result corresponding to each historical detection point;
and carrying out average processing on all the historical code rate transmittance, and determining the reference code rate transmittance corresponding to the historical detection point.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example four ], further comprising:
optionally, the determining, based on the current code rate transmittance and the reference code rate transmittance, the current network state corresponding to the current detection point includes:
Determining a ratio between the current code rate transmittance and the reference code rate transmittance, and comparing the ratio with a preset ratio to obtain a first comparison result;
comparing the reference code rate transmittance with a preset transmittance to obtain a second comparison result;
and determining the current network state corresponding to the current detection point based on the first comparison result and the second comparison result.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example five ]:
optionally, the determining, based on the first comparison result and the second comparison result, the current network state corresponding to the current detection point includes:
if the ratio is larger than or equal to a preset ratio and the reference code rate transmittance is larger than or equal to a preset transmittance, determining that the current network state corresponding to the current detection point is a strong network state;
and if the ratio is smaller than a preset ratio or the reference code rate transmittance is smaller than a preset transmittance, determining that the current network state corresponding to the current detection point is a weak network state.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example six ], further comprising:
Optionally, the performing the probing process on the current probing bandwidth corresponding to the current probing point, and determining the target probing bandwidth corresponding to the next probing point includes:
and adding the current detection bandwidth corresponding to the current detection point with the preset upper detection interval bandwidth to obtain the target detection bandwidth corresponding to the next detection point.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example seventh ], further comprising:
optionally, the method further comprises:
determining a weak network state duration in a current bandwidth detection stage in response to the current network state being a weak network state;
and comparing the weak network state duration with a preset duration, and detecting the bandwidth of the next detection point based on the comparison result.
According to one or more embodiments of the present disclosure, there is provided a bandwidth probing method [ example eight ], further comprising:
optionally, the performing bandwidth detection on the next detection point based on the comparison result includes:
if the duration of the weak network state is smaller than the preset duration, taking the current detection bandwidth corresponding to the current detection point as a target detection bandwidth, and carrying out bandwidth detection on the next detection point;
And if the duration of the weak network state is longer than or equal to the preset duration, determining that the current bandwidth detection phase is ended.
According to one or more embodiments of the present disclosure, there is provided a bandwidth detection apparatus, including:
the detection result acquisition module is used for responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to that the detection bandwidth in the current bandwidth detection stage is larger than the detection bandwidth in the previous bandwidth detection stage;
the network state determining module is used for determining the current network state corresponding to the current detection point based on the current detection result and the history detection result corresponding to the history detection point;
and the bandwidth up-detecting module is used for responding to the current network state as the strong network state, carrying out up-detecting processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and carrying out bandwidth detection on the next detection point based on the target detection bandwidth.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (11)

1. A method for detecting bandwidth, comprising:
responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to the detection bandwidth in the current bandwidth detection stage being greater than the detection bandwidth in the previous bandwidth detection stage;
Determining a current network state corresponding to the current detection point based on the current detection result and the historical detection result corresponding to the historical detection point;
and responding to the current network state as the strong network state, performing upward detection processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and performing bandwidth detection on the next detection point based on the target detection bandwidth.
2. The method according to claim 1, wherein determining the current network state corresponding to the current probe point based on the current probe result and the history probe result corresponding to the history probe point comprises:
determining the transmittance of the current code rate corresponding to the current detection point based on the current sending code rate and the current receiving code rate in the current detection result;
determining the reference code rate transmittance corresponding to the history detection point based on the history sending code rate and the history receiving code rate in the history detection result corresponding to the history detection point;
and determining the current network state corresponding to the current detection point based on the current code rate transmittance and the reference code rate transmittance.
3. The method for detecting bandwidth according to claim 2, wherein determining the reference code rate transmittance corresponding to the history probe based on the history transmission code rate and the history reception code rate in the history probe result corresponding to the history probe comprises:
Determining the transmission rate of the historical code rate corresponding to each historical detection point based on the historical transmission rate and the historical reception rate in the historical detection result corresponding to each historical detection point;
and carrying out average processing on all the historical code rate transmittance, and determining the reference code rate transmittance corresponding to the historical detection point.
4. The method for detecting bandwidth according to claim 2, wherein determining the current network state corresponding to the current detection point based on the current code rate transmittance and the reference code rate transmittance includes:
determining a ratio between the current code rate transmittance and the reference code rate transmittance, and comparing the ratio with a preset ratio to obtain a first comparison result;
comparing the reference code rate transmittance with a preset transmittance to obtain a second comparison result;
and determining the current network state corresponding to the current detection point based on the first comparison result and the second comparison result.
5. The method of bandwidth detection according to claim 4, wherein determining the current network state corresponding to the current detection point based on the first comparison result and the second comparison result includes:
If the ratio is larger than or equal to a preset ratio and the reference code rate transmittance is larger than or equal to a preset transmittance, determining that the current network state corresponding to the current detection point is a strong network state;
and if the ratio is smaller than a preset ratio or the reference code rate transmittance is smaller than a preset transmittance, determining that the current network state corresponding to the current detection point is a weak network state.
6. The method for detecting bandwidth according to claim 1, wherein the performing the upward detection on the current detection bandwidth corresponding to the current detection point, and determining the target detection bandwidth corresponding to the next detection point, includes:
and adding the current detection bandwidth corresponding to the current detection point with the preset upper detection interval bandwidth to obtain the target detection bandwidth corresponding to the next detection point.
7. The method of bandwidth probing according to claim 1, further comprising:
determining a weak network state duration in a current bandwidth detection stage in response to the current network state being a weak network state;
and comparing the weak network state duration with a preset duration, and detecting the bandwidth of the next detection point based on the comparison result.
8. The method of bandwidth detection according to claim 7, wherein the bandwidth detection of the next detection point based on the comparison result includes:
If the duration of the weak network state is smaller than the preset duration, taking the current detection bandwidth corresponding to the current detection point as a target detection bandwidth, and carrying out bandwidth detection on the next detection point;
and if the duration of the weak network state is longer than or equal to the preset duration, determining that the current bandwidth detection phase is ended.
9. A bandwidth detection apparatus, comprising:
the detection result acquisition module is used for responding to the current bandwidth detection stage as a bandwidth up detection stage, and acquiring a current detection result corresponding to a current detection point in the current bandwidth detection stage, wherein the bandwidth up detection stage refers to that the detection bandwidth in the current bandwidth detection stage is larger than the detection bandwidth in the previous bandwidth detection stage;
the network state determining module is used for determining the current network state corresponding to the current detection point based on the current detection result and the history detection result corresponding to the history detection point;
and the bandwidth up-detecting module is used for responding to the current network state as the strong network state, carrying out up-detecting processing on the current detection bandwidth corresponding to the current detection point, determining the target detection bandwidth corresponding to the next detection point, and carrying out bandwidth detection on the next detection point based on the target detection bandwidth.
10. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the bandwidth detection method of any of claims 1-8.
11. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the bandwidth detection method according to any of claims 1-8.
CN202311695805.8A 2023-12-11 2023-12-11 Bandwidth detection method, device, equipment and storage medium Pending CN117527648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311695805.8A CN117527648A (en) 2023-12-11 2023-12-11 Bandwidth detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311695805.8A CN117527648A (en) 2023-12-11 2023-12-11 Bandwidth detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117527648A true CN117527648A (en) 2024-02-06

Family

ID=89760943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311695805.8A Pending CN117527648A (en) 2023-12-11 2023-12-11 Bandwidth detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117527648A (en)

Similar Documents

Publication Publication Date Title
WO2022068488A1 (en) Message sending control method and apparatus, and electronic device and computer-readable storage medium
CN112379982B (en) Task processing method, device, electronic equipment and computer readable storage medium
JP7467644B2 (en) Message processing method, device and electronic device
CN112272226A (en) Picture loading method and device and readable storage medium
CN111625422B (en) Thread monitoring method, thread monitoring device, electronic equipment and computer readable storage medium
CN111246228A (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN112256371A (en) Method and device for displaying information and electronic equipment
CN113542856B (en) Method, device, equipment and computer readable medium for reverse playing of online video
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN112929240A (en) Method, device, terminal and non-transitory storage medium for acquiring communication delay time
CN115589527B (en) Automatic driving image transmission method, device, electronic equipment and computer medium
CN114039926B (en) Transmission control protocol determining method and device, readable medium and electronic equipment
CN115600964A (en) Voice approval method and device and related equipment
CN117527648A (en) Bandwidth detection method, device, equipment and storage medium
CN111756833B (en) Node processing method, node processing device, electronic equipment and computer readable medium
CN111258582B (en) Window rendering method and device, computer equipment and storage medium
CN112860431A (en) Connection method, system, equipment and storage medium of micro service node
CN112162682A (en) Content display method and device, electronic equipment and computer readable storage medium
CN111399730A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN113049968B (en) Method, device, electronic equipment and storage medium for determining average current of battery
CN115002557B (en) Network speed prediction method, device, equipment and storage medium
CN111274296B (en) Image data acquisition method and device, terminal and storage medium
CN113535428B (en) Method, device, equipment and medium for processing request message and response message
CN115908143B (en) Vehicle cross-layer parking method, device, electronic equipment and computer readable medium
CN114359673B (en) Small sample smoke detection method, device and equipment based on metric learning

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