CN116055364B - Method and device for measuring maximum uplink bandwidth - Google Patents

Method and device for measuring maximum uplink bandwidth Download PDF

Info

Publication number
CN116055364B
CN116055364B CN202310206359.3A CN202310206359A CN116055364B CN 116055364 B CN116055364 B CN 116055364B CN 202310206359 A CN202310206359 A CN 202310206359A CN 116055364 B CN116055364 B CN 116055364B
Authority
CN
China
Prior art keywords
data
rate
receiving rate
receiving
communication device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310206359.3A
Other languages
Chinese (zh)
Other versions
CN116055364A (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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN202310206359.3A priority Critical patent/CN116055364B/en
Publication of CN116055364A publication Critical patent/CN116055364A/en
Application granted granted Critical
Publication of CN116055364B publication Critical patent/CN116055364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The application provides a method and a device for measuring maximum uplink bandwidth, wherein the method comprises the following steps: transmitting, by the first communication device, the first data to the second communication device; receiving, by the second communication device, the first data; measuring a first reception rate of the first data; and when the sending rate of the first data is increased and the first receiving rate is kept unchanged, taking the first receiving rate as the maximum uplink bandwidth of the first communication equipment. By the method provided by the application, the maximum uplink bandwidth of the communication equipment can be accurately measured.

Description

Method and device for measuring maximum uplink bandwidth
Technical Field
The present disclosure relates to the field of data transmission, and in particular, to a method and apparatus for measuring a maximum uplink bandwidth.
Background
Along with the development of internet technology and the expansion of network services, the number of instant applications on the internet is rapidly increased, and users enjoy the instant applications to bring convenience and simultaneously, higher requirements are also put on the service quality of the instant applications. However, the increasing use of instant messaging increases network burden, resulting in network device load operation. Therefore, it is necessary to detect the available bandwidth reflecting the network transmission capability, so as to adjust the service policy according to the available bandwidth, thereby improving the service quality of the instant application.
To save the bandwidth costs of the content delivery network (Content Delivery Network, CDN) when the end user plays the video, an attempt is made to download from lower cost devices (e.g., routers, idle handsets, etc.), and if there is no video on these devices that the user wants to watch, an attempt is made to download from the CDN server. In order to save the cost better, the bandwidth of the devices with lower cost needs to be fully filled (uplink bandwidth), and as the bandwidths of the devices are not fixed, how to know whether the uplink bandwidth of the devices is fully filled is a critical step.
The current measurement method of the maximum network bandwidth depends on the network condition of the downloading section, if the network bandwidth of the downloading end is small or the downloaded data is small, the maximum bandwidth measured by the uploading end is smaller than the actual maximum bandwidth, and the accuracy of the result is not guaranteed.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for measuring a maximum uplink bandwidth, which aims to accurately measure the maximum uplink bandwidth.
A first aspect of the present application provides a method of measuring a maximum upstream bandwidth, the method comprising:
transmitting, by the first communication device, the first data to the second communication device;
receiving, by the second communication device, the first data;
measuring a first reception rate of the first data;
and when the sending rate of the first data is increased and the first receiving rate is kept unchanged, taking the first receiving rate as the maximum uplink bandwidth of the first communication equipment.
Optionally, the method further comprises:
transmitting second data to the second communication device through the first communication device, wherein the transmission rate of the second data is greater than the transmission rate of the first data;
receiving the second data by the second communication device;
measuring a second rate of reception of the second data;
and if the difference value between the first receiving rate and the second receiving rate is smaller than a preset first threshold value, the second receiving rate is used as the maximum uplink bandwidth of the first communication equipment.
Optionally, the method further comprises:
if the difference value between the first receiving rate and the second receiving rate is greater than or equal to the preset first threshold value, third data is sent to the second communication device through the first communication device, wherein the sending rate of the third data is greater than the sending rate of the second data;
receiving, by the second communication device, the third data;
and measuring a third receiving rate of the third data, and taking the third receiving rate as the maximum uplink bandwidth of the first communication equipment.
Optionally, the method further comprises:
and re-measuring the maximum uplink bandwidth of the first communication device through the second communication device after a preset time period.
Optionally, the method further comprises:
simultaneously transmitting fourth data to N third communication devices through the first communication device, wherein N is greater than or equal to 2;
receiving the fourth data through N of the third communication devices;
measuring a fourth reception rate at which each of the third communication devices receives the fourth data;
and accumulating the fourth receiving rate of each third communication device to obtain the fifth receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, the method further comprises:
simultaneously transmitting fifth data to the N third communication devices through the first communication device, wherein the transmission rate of the fifth data is greater than that of the fourth data;
receiving the fifth data through N of the third communication devices;
measuring a sixth reception rate at which each of the third communication devices receives the fifth data;
accumulating the sixth receiving rate of each third communication device to obtain a seventh receiving rate of the fifth data;
and if the difference value between the fifth receiving rate and the seventh receiving rate is smaller than a preset second threshold value, the seventh receiving rate is used as the maximum uplink bandwidth of the first communication equipment.
Optionally, the method further comprises:
if the difference value between the fifth receiving rate and the seventh receiving rate is greater than or equal to the preset second threshold value, sixth data is sent to N pieces of third communication equipment through the first communication equipment at the same time, wherein the sending rate of the sixth data is greater than the sending rate of the fifth data;
receiving the sixth data by the N third communication devices;
measuring an eighth reception rate at which each of the third communication devices receives the sixth data;
and accumulating the eighth receiving rate of each third communication device to obtain a ninth receiving rate of the sixth data, and taking the ninth receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, the method further comprises:
and after a preset time period, re-measuring the maximum uplink bandwidth of the first communication equipment through the N third communication equipment.
A second aspect of the present application provides an apparatus for measuring a maximum upstream bandwidth, the apparatus comprising: a transceiver module and a measurement module;
the receiving and transmitting module is used for transmitting first data to the second communication equipment through the first communication equipment;
the transceiver module is further configured to receive the first data through the second communication device;
the measuring module is used for measuring a first receiving rate of the first data;
and when the sending rate of the first data is increased and the first receiving rate is kept unchanged, the measuring module is further used for taking the first receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, the transceiver module is further configured to send second data to the second communication device through the first communication device, where a sending rate of the second data is greater than a sending rate of the first data;
the transceiver module is further configured to receive the second data through the second communication device;
the transceiver module is further configured to measure a second receiving rate of the second data;
and if the difference value between the first receiving rate and the second receiving rate is smaller than a preset first threshold value, the measuring module is further configured to use the second receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, if the difference between the first receiving rate and the second receiving rate is greater than or equal to the preset first threshold, the transceiver module is further configured to send third data to the second communication device through the first communication device, where a sending rate of the third data is greater than a sending rate of the second data;
the transceiver module is further configured to receive the third data through the second communication device;
the measurement module is further configured to measure a third receiving rate of the third data, and use the third receiving rate as a maximum uplink bandwidth of the first communication device.
Optionally, after a preset period of time, the measurement module is further configured to re-measure, by the second communication device, the maximum uplink bandwidth of the first communication device.
Optionally, the transceiver module is further configured to send fourth data to N third communication devices simultaneously through the first communication device, where N is greater than or equal to 2;
the transceiver module is further configured to receive the fourth data through N third communications devices;
the measuring module is further used for measuring a fourth receiving rate of each third communication device for receiving the fourth data;
the measurement module is further configured to accumulate the fourth receiving rate of each third communication device to obtain a fifth receiving rate of the fourth data, and use the fifth receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, the transceiver module is further configured to send fifth data to N third communication devices simultaneously through the first communication device, where a sending rate of the fifth data is greater than a sending rate of the fourth data;
the transceiver module is further configured to receive the fifth data through N third communications devices;
the measuring module is further used for measuring a sixth receiving rate of each third communication device for receiving the fifth data;
the measurement module is further configured to accumulate a sixth receiving rate of each third communication device to obtain a seventh receiving rate of the fifth data;
and if the difference value between the fifth receiving rate and the seventh receiving rate is smaller than a preset second threshold value, the measurement module is further configured to use the seventh receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, if the difference between the fifth receiving rate and the seventh receiving rate is greater than or equal to the preset second threshold, the transceiver module is further configured to send sixth data to N third communication devices simultaneously through the first communication device, where a sending rate of the sixth data is greater than a sending rate of the fifth data;
the transceiver module is further configured to receive the sixth data through N third communications devices;
the measurement module is further configured to measure an eighth receiving rate at which each of the third communication devices receives the sixth data;
the measurement module is further configured to accumulate the eighth receiving rate of each third device to obtain a ninth receiving rate of the sixth data, and use the ninth receiving rate as the maximum uplink bandwidth of the first communication device.
Optionally, the measurement module is further configured to re-measure, after a preset period of time, the maximum uplink bandwidth of the first communication device through the N third communication devices.
The application provides a method and a device for measuring maximum uplink bandwidth, wherein the method comprises the following steps: transmitting, by the first communication device, the first data to the second communication device; receiving, by the second communication device, the first data; and measuring a first receiving rate of the first data, and taking the first receiving rate as the maximum uplink bandwidth of the first communication equipment. By the method provided by the application, the maximum uplink bandwidth of the communication equipment can be accurately measured.
Drawings
Fig. 1 is a flow chart of a method for measuring a maximum uplink bandwidth according to an embodiment of the present application;
fig. 2 is a flow chart of another method for measuring maximum uplink bandwidth according to an embodiment of the present application;
fig. 3 is a flowchart of another method for measuring maximum uplink bandwidth according to an embodiment of the present application;
fig. 4 is a flowchart of another method for measuring maximum uplink bandwidth according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for measuring maximum uplink bandwidth according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The following describes a method for measuring the maximum uplink bandwidth provided in the present application with reference to fig. 1, and the method may be implemented through steps S101-S103.
In the embodiment of the present application, the first communication device is referred to as a device a, and the second communication device is referred to as a device B.
S101: the first data is transmitted to the second communication device by the first communication device.
Specifically, the second communication device adopted in the application is a communication device with a downlink bandwidth large enough.
Specifically, the first data is transmitted to the device B by the device a.
S102: the first data is received by the second communication device.
Specifically, the first data transmitted by the device a is received by the device B. Since the downlink bandwidth of the device B is large enough, when the device a transmits data to the device B, the situation that the transmission rate of the first data is limited by the downlink bandwidth of the device B, so that the measured maximum uplink bandwidth of the device a is inaccurate is avoided.
S103: a first reception rate of the first data is measured.
Specifically, the first reception rate at which the first data is received by the measurement device B.
And S104, when the sending rate of the first data is increased and the first receiving rate is kept unchanged, taking the first receiving rate as the maximum uplink bandwidth of the first communication equipment.
Specifically, the transmission rate at which the device a transmits the first data is increased, and the first reception rate of the device B is continuously measured. When the sending rate of the first data increases and the first receiving rate remains unchanged, the first receiving rate is measured at this time to be the maximum uplink bandwidth of the device a.
By the method provided by the embodiment of the application, the function of accurately measuring the maximum uplink bandwidth of the equipment can be achieved, so that the measured maximum uplink bandwidth is closer to the actual maximum uplink bandwidth of the equipment.
The following describes a method for measuring the maximum uplink bandwidth provided in the present application with reference to fig. 2, and may be implemented through steps S201-S207.
In the embodiment of the present application, the first communication device is referred to as a device a, and the second communication device is referred to as a device B.
S201: device a, which needs to probe the maximum upstream bandwidth, is acquired.
Specifically, a first communication device that needs to measure the maximum uplink bandwidth is acquired as device a.
S202: and obtaining a device B with enough downlink bandwidth.
Specifically, a second communication device with a sufficiently large downlink bandwidth is obtained as device B.
S203: data is sent by device a to device B.
Specifically, the first data is sent to the device B through the device a, and because the downlink bandwidth of the device B is large enough, when the device a sends the data to the device B, the situation that the transmission rate of the first data is limited by the downlink bandwidth of the device B, and the maximum uplink bandwidth of the device a obtained by measurement is inaccurate is avoided.
S204: the reception rate of device B is calculated.
Specifically, the receiving rate of the device B is calculated, and the receiving rate is taken as the first receiving rate of the first data.
In a possible embodiment, the second data is sent by the device a to the device B, wherein the sending rate of the second data is greater than the sending rate of the first data.
S205: comparing whether the current receiving rate of the equipment B and the receiving rate of the last round are smaller than a preset first threshold value.
Specifically, the second data transmitted by the device a is received by the device B, and a second reception rate of the second data is measured.
In this embodiment, the second receiving rate of the second data is used as the current receiving rate of the device B, and the first receiving rate of the first data is used as the receiving rate of the last round of the device B.
If the second receiving rate and the first receiving rate are smaller than the preset first threshold, step S207 is entered, otherwise step S206 is entered.
It is understood that the magnitude of the first threshold can be adjusted according to actual situations, and the magnitude of the first threshold is not explicitly described in the present application.
S206: the sending rate of device a is increased and the receiving rate of device B is measured.
Specifically, third data is sent to the device B by the device a, wherein a sending rate of the third data is greater than a sending rate of the second data.
And receiving the third data by the equipment B, measuring the receiving rate of the equipment B, obtaining the third receiving rate of the third data, and returning to the step S205 to judge again.
In a possible embodiment, after the third receiving rate of the third data is measured, the third receiving rate is taken as the maximum uplink bandwidth of the device a.
S207: taking the current receiving rate of the equipment B as the maximum uplink bandwidth of the equipment A, and re-measuring the maximum uplink bandwidth of the equipment A after waiting for a preset time.
Specifically, the receiving rate obtained by current measurement of the device B is taken as the maximum uplink bandwidth of the device a. In this embodiment, taking the second receiving rate as an example, the second receiving rate is taken as the maximum uplink bandwidth of the device a. And after the maximum uplink bandwidth of the equipment A is obtained by measurement, the maximum uplink bandwidth of the equipment A is re-measured after a preset time period. The maximum uplink bandwidth of the equipment A is prevented from being changed within a preset time period.
It will be appreciated that device a is able to send data to device B multiple times and each time data is sent to device B, the sending rate of device a is increased and the receiving rate of device B is calculated. When the rate of change of the receiving rate of the device B is smaller than a preset threshold, it is determined that the receiving rate of the device B is not changed greatly, and the receiving rate of the device B is regarded as the maximum uplink bandwidth of the device a.
The method provided in the embodiment of the present application is described below with reference to actual data. Device a transmits data to device B at a rate of 1000 kilobits per second (Kbps) for a first round, and at this time, device B's reception rate is measured to be 500Kbps. In the second round, an attempt is made to increase the transmission rate of device a to 2000Kbps and let device a transmit data to device B, measuring the reception rate of device B at this time to 1000Kbps. In the third round, an attempt was made to increase the transmission rate of device a to 3000Kbps and let device a transmit data to device B, and the reception rate of device B at this time was measured to be 1000Kbps. It can be seen that in the third round of data transmission, although the transmission rate of device a increases, the reception rate of B does not increase, and remains the same as the reception rate of device B in the second round of data transmission. At this time, the reception rate when the reception rate of the device B does not change much is taken as the maximum uplink bandwidth of the device a.
It will be appreciated that the time interval of each round in the measurement process can be adjusted according to the actual situation, which is not limited in this application.
It is understood that the preset time period in step S207 can be adjusted according to the actual situation, which is not limited in this application.
By the method provided by the embodiment of the application, the function of accurately measuring the maximum uplink bandwidth of the equipment can be achieved, so that the measured uplink bandwidth is closer to the actual maximum uplink bandwidth of the equipment.
Another method for measuring the maximum uplink bandwidth provided in the embodiment of the present application is described below with reference to fig. 3, and may be implemented through steps S301-S304.
In the embodiment of the present application, the first communication device is denoted as a device a, and the N third communication devices are denoted as devices B, C, D. In actual situations, the number of the second communication devices can be adjusted according to the actual situations.
And S301, simultaneously transmitting fourth data to N third communication devices through the first communication device.
Specifically, the device a simultaneously transmits the fourth data to the device B, C, D at a fixed transmission rate. Wherein N is greater than or equal to 2.
Specifically, the N third communication devices adopted in the present application have no requirement on downlink bandwidth. The cost is relatively low compared to using a second communication device requiring a sufficiently large downstream bandwidth.
S302: fourth data is received by the N third communication devices.
Specifically, the fourth data is received by the device B, C, D.
S303: a fourth reception rate at which each third communication device receives fourth data is measured.
Specifically, a fourth reception rate of a third communication device that receives fourth data is measured, and a fifth reception rate of the fourth data is added. The fifth receiving rate is taken as the maximum uplink bandwidth of the device a. Taking preparation B, C, D as an example, device a transmits fourth data to device B, C, D at a transmission rate of 1000Kbps, measures that at this time the fourth reception rate of device B is 700Kbps, the fourth reception rate of device C is 600Kbps, the fourth reception rate of device D is 200Kbps,
s304: and accumulating the fourth receiving rate of each third communication device to obtain a fifth receiving rate of the fourth data, and taking the fifth receiving rate as the maximum uplink bandwidth of the first communication device.
Specifically, the fourth receiving rate of the device B, C, D is added to obtain that the fifth receiving rate of the fourth data is 1500Kpbs at this time, and the fifth receiving rate is taken as the maximum uplink bandwidth of the first communication device, that is, the maximum uplink bandwidth of the device a is 1500Kbps.
By the method provided by the embodiment of the application, the effect of the maximum uplink bandwidth of the equipment can be accurately measured with low cost, so that the measured uplink bandwidth is closer to the actual maximum uplink bandwidth of the equipment.
Another method for measuring the maximum uplink bandwidth provided in the embodiment of the present application is described below with reference to fig. 4, and may be implemented through steps S401 to S407.
In the embodiment of the present application, the first communication device is denoted as a device a, and the N third communication devices are denoted as devices B, C, D.
S401: device a, which needs to probe the maximum upstream bandwidth, is acquired.
Specifically, a first communication device that needs to measure the maximum uplink bandwidth is acquired and denoted as device a.
S402: and acquiring N devices with no downlink bandwidth requirement.
Specifically, N third communication devices that do not have a requirement on the downlink bandwidth are acquired, where N is greater than or equal to 2.
S403: data is sent to the N devices by device a.
Specifically, the fourth data is transmitted to the device B, C, D through the device a. By arranging N third communication devices, when the first communication device transmits data to the N third communication devices, the downlink bandwidth of a single third communication device is prevented from being too small, thereby limiting the first communication device to transmit data to the third communication device, resulting in inaccurate maximum uplink bandwidth of the first communication device obtained by measurement,
s404: the accumulated reception rates of the N devices are calculated.
Specifically, the receiving rate of each device of the devices B, C, D for the fourth data is measured separately, and the receiving rate of each device for the fourth data is accumulated to obtain the fifth receiving rate.
In a possible embodiment, the fifth data is simultaneously transmitted to the device B, C, D by the device a, wherein the transmission rate of the fifth data is greater than the transmission rate of the fourth data.
S405: comparing whether the current accumulated receiving rate of the N devices and the last accumulated receiving rate are smaller than a preset second threshold value.
Specifically, the fifth data transmitted by the apparatus a is received by the apparatus B, C, D, and the sixth reception rate of the fifth data is received by the measurement apparatus B, C, D. The sixth receiving rate of the device B, C, D is accumulated to obtain a seventh receiving rate of the fifth data.
In this embodiment, the seventh receiving rate of the fifth data is taken as the current accumulated receiving rate of the N devices, and the fifth receiving rate of the fourth data is taken as the one-round accumulated receiving rate of the N devices.
If the seventh receiving rate and the fifth receiving rate are smaller than the preset second threshold, step S407 is entered, otherwise step S406 is entered.
It is understood that the magnitude of the second threshold can be adjusted according to the actual situation, and the magnitude of the second threshold is not explicitly described in the present application.
S406: the transmission rate of device a is increased.
Specifically, the sixth data is simultaneously transmitted to the device B, C, D by the device a, wherein the transmission rate of the sixth data is greater than the transmission rate of the fifth data.
The sixth data is received by the device B, C, D, the eighth receiving rate of the sixth data is received by the measuring device B, C, D, the eighth receiving rate of the device B, C, D is accumulated to obtain the ninth receiving rate of the sixth data, and the step S405 is returned to re-determine.
In a possible embodiment, after the ninth receiving rate of the sixth data is measured, the ninth receiving rate is taken as the maximum uplink bandwidth of the device a.
S407: and taking the current receiving rates of the N devices as the maximum uplink bandwidth of the device A, and re-measuring the maximum uplink bandwidth of the device A after waiting for a preset time.
Specifically, the current accumulated reception rate of the device B, C, D is taken as the maximum uplink bandwidth of the device a. In the embodiment of the present application, taking the seventh receiving rate as an example, the seventh receiving rate is taken as the maximum uplink bandwidth of the device a. And after the maximum uplink bandwidth of the equipment A is obtained by measurement, the maximum uplink bandwidth of the equipment A is re-measured after a preset time period. The maximum uplink bandwidth of the equipment A is prevented from being changed within a preset time period.
It will be appreciated that device a can send data to device B, C, D multiple times and each time data is sent to device B, C, D, the rate of device a is increased and the rate of device B, C, D accumulated receipt is calculated. When the rate of change of the reception rate accumulated by the device B, C, D is smaller than a preset threshold, it is determined that the reception rate of the device B, C, D is not changed much, and the reception rate accumulated by the device B, C, D is regarded as the maximum uplink bandwidth of the device a.
By the method provided by the embodiment of the application, the effect of the maximum uplink bandwidth of the equipment can be accurately measured with low cost, so that the measured uplink bandwidth is closer to the actual maximum uplink bandwidth of the equipment.
An apparatus for measuring a maximum uplink bandwidth according to an embodiment of the present application is described below with reference to fig. 5, where the apparatus includes: a transceiver module 501 and a measurement module 502.
The transceiver module 501 is configured to send, by using the first communication device, the first data to the second communication device.
The transceiver module 501 is further configured to receive the first data through the second communication device.
A measurement module 502, configured to measure a first receiving rate of the first data.
The measurement module 502 is further configured to use the first receiving rate as a maximum uplink bandwidth of the first communication device when the sending rate of the first data increases and the first receiving rate remains unchanged.
Specifically, the transceiver module 501 is further configured to send second data to the second communication device through the first communication device, where a sending rate of the second data is greater than a sending rate of the first data.
The transceiver module 501 is further configured to receive the second data through the second communication device.
The transceiver module 501 is further configured to measure a second receiving rate of the second data.
If the difference between the first receiving rate and the second receiving rate is smaller than the preset first threshold, the measurement module 502 is further configured to use the second receiving rate as the maximum uplink bandwidth of the first communication device.
Specifically, if the difference between the first receiving rate and the second receiving rate is greater than or equal to a preset first threshold, the transceiver module 501 is further configured to send third data to the second communication device through the first communication device, where the sending rate of the third data is greater than the sending rate of the second data.
The transceiver module 501 is further configured to receive third data through the second communication device.
The measurement module 502 is further configured to measure a third receiving rate of the third data, and use the third receiving rate as the maximum uplink bandwidth of the first communication device.
Specifically, after the preset period of time, the measurement module 502 is further configured to re-measure, by the second communication device, the maximum uplink bandwidth of the first communication device.
Specifically, the transceiver module 501 is further configured to send fourth data to N third communication devices simultaneously through the first communication device, where N is greater than or equal to 2.
The transceiver module 501 is further configured to receive fourth data through N third communication devices.
The measurement module 502 is further configured to measure a fourth receiving rate at which each third communication device receives fourth data.
The measurement module 502 is further configured to accumulate the fourth receiving rate of each third communication device to obtain a fifth receiving rate of the fourth data, and use the fifth receiving rate as the maximum uplink bandwidth of the first communication device.
Specifically, the transceiver module 501 is further configured to send fifth data to N third communication devices simultaneously through the first communication device, where a sending rate of the fifth data is greater than a sending rate of the fourth data.
The transceiver module 501 is further configured to receive fifth data through N third communication devices.
The measurement module 502 is further configured to measure a sixth receiving rate at which each third communication device receives the fifth data.
The measurement module 502 is further configured to accumulate the sixth receiving rate of each third communication device to obtain a seventh receiving rate of the fifth data.
If the difference between the fifth receiving rate and the seventh receiving rate is smaller than the preset second threshold, the measurement module 502502 is further configured to use the seventh receiving rate as the maximum uplink bandwidth of the first communication device.
Specifically, if the difference between the fifth receiving rate and the seventh receiving rate is greater than or equal to the preset second threshold, the transceiver module 501 is further configured to send sixth data to the N third communication devices simultaneously through the first communication device, where the sending rate of the sixth data is greater than the sending rate of the fifth data.
The transceiver module 501 is further configured to receive sixth data through N third communication devices.
The measurement module 502 is further configured to measure an eighth receiving rate at which each third communication device receives the sixth data.
The measurement module 502 is further configured to accumulate the eighth receiving rate of each third device to obtain a ninth receiving rate of the sixth data, and use the ninth receiving rate as the maximum uplink bandwidth of the first communication device.
Specifically, the measurement module 502 is further configured to re-measure, after a preset period of time, the maximum uplink bandwidth of the first communication device through the N third communication devices.
Through the device provided by the embodiment of the application, the function of accurately measuring the maximum uplink bandwidth of the equipment can be achieved, so that the measured maximum uplink bandwidth is closer to the actual maximum uplink bandwidth of the equipment.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, e.g., the division of units is merely a logical service division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each service unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software business units.
The integrated units, if implemented in the form of software business units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those skilled in the art will appreciate that in one or more of the examples described above, the services described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the services may be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The objects, technical solutions and advantageous effects of the present invention have been described in further detail in the above embodiments, and it should be understood that the above are only embodiments of the present invention.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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 of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (6)

1. A method of measuring maximum upstream bandwidth, the method comprising:
simultaneously transmitting fourth data to N third communication devices through the first communication device, wherein N is greater than or equal to 2;
receiving the fourth data through N of the third communication devices;
measuring a fourth reception rate at which each of the third communication devices receives the fourth data;
accumulating the fourth receiving rate of each third communication device to obtain a fifth receiving rate of the fourth data;
simultaneously transmitting fifth data to the N third communication devices through the first communication device, wherein the transmission rate of the fifth data is greater than that of the fourth data;
receiving the fifth data through N of the third communication devices;
measuring a sixth reception rate at which each of the third communication devices receives the fifth data;
accumulating the sixth receiving rate of each third communication device to obtain a seventh receiving rate of the fifth data;
and if the difference value between the fifth receiving rate and the seventh receiving rate is smaller than a preset second threshold value, the seventh receiving rate is used as the maximum uplink bandwidth of the first communication equipment.
2. The method according to claim 1, wherein the method further comprises:
if the difference value between the fifth receiving rate and the seventh receiving rate is greater than or equal to the preset second threshold value, sixth data is sent to N pieces of third communication equipment through the first communication equipment at the same time, wherein the sending rate of the sixth data is greater than the sending rate of the fifth data;
receiving the sixth data by the N third communication devices;
measuring an eighth reception rate at which each of the third communication devices receives the sixth data;
accumulating the eighth receiving rate of each third communication device to obtain a ninth receiving rate of the sixth data;
and if the difference value between the ninth receiving rate and the seventh receiving rate is smaller than the preset second threshold value, the ninth receiving rate is used as the maximum uplink bandwidth of the first communication equipment.
3. The method according to claim 1, wherein the method further comprises:
and after a preset time period, re-measuring the maximum uplink bandwidth of the first communication equipment through the N third communication equipment.
4. An apparatus for measuring a maximum upstream bandwidth, the apparatus comprising: a transceiver module and a measurement module;
the transceiver module is configured to send fourth data to N third communication devices simultaneously through the first communication device, where N is greater than or equal to 2;
the transceiver module is further configured to receive the fourth data through N third communications devices;
the measuring module is used for measuring a fourth receiving rate of each third communication device for receiving the fourth data;
the measurement module is further configured to accumulate a fourth receiving rate of each third communication device to obtain a fifth receiving rate of the fourth data;
the transceiver module is further configured to send fifth data to N third communication devices simultaneously through the first communication device, where a sending rate of the fifth data is greater than a sending rate of the fourth data;
the transceiver module is further configured to receive the fifth data through N third communications devices;
the measuring module is further used for measuring a sixth receiving rate of each third communication device for receiving the fifth data;
the measurement module is further configured to accumulate a sixth receiving rate of each third communication device to obtain a seventh receiving rate of the fifth data;
and if the difference value between the fifth receiving rate and the seventh receiving rate is smaller than a preset second threshold value, the measurement module is further configured to use the seventh receiving rate as the maximum uplink bandwidth of the first communication device.
5. The apparatus of claim 4, wherein the device comprises a plurality of sensors,
if the difference between the fifth receiving rate and the seventh receiving rate is greater than or equal to the preset second threshold, the transceiver module is further configured to send sixth data to N third communication devices simultaneously through the first communication device, where a sending rate of the sixth data is greater than a sending rate of the fifth data;
the transceiver module is further configured to receive the sixth data through N third communications devices;
the measurement module is further configured to measure an eighth receiving rate at which each of the third communication devices receives the sixth data;
the measurement module is further configured to accumulate an eighth receiving rate of each third communication device to obtain a ninth receiving rate of the sixth data;
and if the difference value between the ninth receiving rate and the seventh receiving rate is smaller than the second threshold, the measurement module is further configured to use the ninth receiving rate as the maximum uplink bandwidth of the first communication device.
6. The apparatus of claim 4, wherein the device comprises a plurality of sensors,
and the measuring module is further used for re-measuring the maximum uplink bandwidth of the first communication device through the N third communication devices after a preset time period.
CN202310206359.3A 2023-03-06 2023-03-06 Method and device for measuring maximum uplink bandwidth Active CN116055364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310206359.3A CN116055364B (en) 2023-03-06 2023-03-06 Method and device for measuring maximum uplink bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310206359.3A CN116055364B (en) 2023-03-06 2023-03-06 Method and device for measuring maximum uplink bandwidth

Publications (2)

Publication Number Publication Date
CN116055364A CN116055364A (en) 2023-05-02
CN116055364B true CN116055364B (en) 2023-06-16

Family

ID=86113551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310206359.3A Active CN116055364B (en) 2023-03-06 2023-03-06 Method and device for measuring maximum uplink bandwidth

Country Status (1)

Country Link
CN (1) CN116055364B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222380A (en) * 2007-12-27 2008-07-16 腾讯科技(深圳)有限公司 Available bandwidth detecting method, system and device
JP2010141444A (en) * 2008-12-09 2010-06-24 Fujitsu Ltd Program, method and apparatus for band measurement
CN106506285A (en) * 2016-12-26 2017-03-15 中国电信股份有限公司四川分公司 A kind of utilization home gateway carries out the method that bandwidth tests the speed

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4840334B2 (en) * 2007-11-14 2011-12-21 ブラザー工業株式会社 Terminal apparatus, communication system, program, and method
WO2011074163A1 (en) * 2009-12-14 2011-06-23 日本電気株式会社 Available bandwidth estimation device
CN103095531B (en) * 2013-01-28 2015-05-20 北京星网锐捷网络技术有限公司 Method, device and gateway equipment for bandwidth measurement
US9154396B2 (en) * 2013-03-14 2015-10-06 Arris Technology, Inc. Passive measurement of available link bandwidth
CN107171969B (en) * 2016-03-07 2020-06-02 华为技术有限公司 Data transmission method, device and system
CN107734537B (en) * 2016-08-10 2019-08-20 腾讯科技(深圳)有限公司 Measurement method, transmitting terminal and the receiving end of network performance parameter
CN108011771A (en) * 2016-11-01 2018-05-08 阿里巴巴集团控股有限公司 Detection method, device and the equipment of network link available bandwidth
CN110266551B (en) * 2019-07-29 2021-06-25 腾讯科技(深圳)有限公司 Bandwidth prediction method, device, equipment and storage medium
CN113872870B (en) * 2020-06-30 2023-10-13 华为技术有限公司 Method for controlling network congestion and related device
CN114584494A (en) * 2022-04-22 2022-06-03 缀初网络技术(上海)有限公司 Method for measuring actual available bandwidth in edge cloud network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222380A (en) * 2007-12-27 2008-07-16 腾讯科技(深圳)有限公司 Available bandwidth detecting method, system and device
JP2010141444A (en) * 2008-12-09 2010-06-24 Fujitsu Ltd Program, method and apparatus for band measurement
CN106506285A (en) * 2016-12-26 2017-03-15 中国电信股份有限公司四川分公司 A kind of utilization home gateway carries out the method that bandwidth tests the speed

Also Published As

Publication number Publication date
CN116055364A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
EP2320580B1 (en) System for measuring transmission bandwidth for media streaming and method for same
US7675856B2 (en) Bandwidth estimation in broadband access networks
JP5642779B2 (en) Method and apparatus for facilitating client-controlled sessionless adaptation
US6771614B1 (en) Wireless power control in conjunction with a wireline MAC protocol
US7643516B2 (en) Method and arrangement for compensating for jitter in the delay of data packets
US8737243B2 (en) Methods and apparatus for monitoring network link quality
US20120250586A1 (en) Methods and apparatus for managing data connectivity
WO2014011848A2 (en) Signaling and processing content with variable bitrates for adaptive streaming
US11057445B2 (en) Method for adapting the downloading behavior of a client terminal configured, to receive multimedia content, and corresponding terminal
CN108810657B (en) Method and system for setting video cover
US8811293B2 (en) Optimizing communications throughput in a wireless networking environment that supports a plurality of communications channel topologies
CN110690988A (en) Bandwidth control method, bandwidth control platform, server and storage medium
CN109981214B (en) Transmission control method and device
CN113872870B (en) Method for controlling network congestion and related device
US7590596B2 (en) Charging system and method for handling services within this system and entities thereof
EP2466870A1 (en) Caching entity
CN116055364B (en) Method and device for measuring maximum uplink bandwidth
EP2852159B1 (en) Multimedia quality monitoring method and device
US11190430B2 (en) Determining the bandwidth of a communication link
CN101729306A (en) Method and system for testing downlink broadband of access line of broadband network user
CN111628902B (en) Rate testing method and apparatus, electronic device, and computer-readable storage medium
CN106464580B (en) Method and device for acquiring bandwidth information
CN113271612A (en) Reporting method and device for telemetering iFIT detection information along with flow information
GB2540568A (en) An adaptive real-time detecting method of available bandwidth in digital home networks
CN103686628A (en) Information pushing method, system, network equipment, and mobile terminal

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