WO2017166493A1 - 一种带宽估计方法及装置 - Google Patents

一种带宽估计方法及装置 Download PDF

Info

Publication number
WO2017166493A1
WO2017166493A1 PCT/CN2016/088979 CN2016088979W WO2017166493A1 WO 2017166493 A1 WO2017166493 A1 WO 2017166493A1 CN 2016088979 W CN2016088979 W CN 2016088979W WO 2017166493 A1 WO2017166493 A1 WO 2017166493A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
preset
loss rate
packet loss
current transmission
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.)
Ceased
Application number
PCT/CN2016/088979
Other languages
English (en)
French (fr)
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.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin 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 Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Priority to US15/247,889 priority Critical patent/US20170288969A1/en
Publication of WO2017166493A1 publication Critical patent/WO2017166493A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • H04L43/0835One way packet loss

Definitions

  • Bandwidth is an important parameter in network communication and reflects the ability of the network to transmit data.
  • bandwidth is dynamically adjusted according to actual conditions to improve utilization of network resources.
  • the inventors found that in the prior art, each time the packet loss rate is less than 2%, only the transmission bandwidth is increased by 8%, and the transmission bandwidth may not be effectively improved. For example, in practice, the transmission bandwidth can be increased by 20%, and the operation requiring three times of bandwidth improvement can be realized. Therefore, in the prior art, the transmission bandwidth cannot be quickly increased according to actual conditions, resulting in a lower transmission bandwidth increase rate, which fails to meet actual needs and wastes network resources.
  • the embodiment of the present invention provides a bandwidth estimation method and device, which are used to solve the problem that the transmission bandwidth cannot be quickly increased according to the actual situation in the prior art. Low, unable to meet the actual needs and wasted network resources and other issues.
  • an embodiment of the present invention provides a bandwidth estimation method, where the method includes:
  • the transmitting end receives the packet rate estimation parameter that is sent by the receiving end;
  • an embodiment of the present invention provides a bandwidth estimation apparatus, where the apparatus includes:
  • a packet loss rate calculation module configured to calculate a packet loss rate according to the packet loss rate estimation parameter
  • a determining module configured to determine whether the packet loss rate is less than a preset packet loss rate; and determining whether the estimated bandwidth obtained from the receiving end is greater than a preset bandwidth and greater than a current sending bandwidth;
  • the bandwidth update module is configured to: if the packet loss rate is less than the preset packet loss rate, and the estimated bandwidth is greater than the preset bandwidth and greater than the current transmission bandwidth, determine a bandwidth from the bandwidth interval as a new current transmission bandwidth, where the bandwidth interval is greater than: The preset multiple of the current transmission bandwidth is not greater than the estimated bandwidth; wherein the preset multiple is greater than or equal to 1.08.
  • the beneficial effects of the embodiments of the present invention include: in the embodiment of the present invention, in order to reasonably improve the speed of increasing the transmission bandwidth, to improve the utilization of network resources, the transmitting end receives the estimated bandwidth and the packet loss rate estimation parameter sent by the receiving end;
  • the packet rate estimation parameter calculates a packet loss rate; determines whether the packet loss rate is less than a preset packet loss rate; and determines whether the estimated bandwidth is greater than a preset bandwidth and greater than a current transmission bandwidth; if the packet loss rate is less than a preset packet loss rate, the estimation is performed.
  • the bandwidth is greater than the preset bandwidth and greater than the current transmission bandwidth.
  • a bandwidth is determined from the bandwidth interval as a new current transmission bandwidth, which is greater than 1.08 times the current transmission bandwidth and not greater than the estimated bandwidth.
  • the transmission bandwidth can be quickly increased by more than 8% of the current transmission bandwidth, thereby improving the transmission.
  • the speed of bandwidth makes efficient use of network resources.
  • Embodiment 1 is an exemplary flowchart of a bandwidth estimation method according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic structural diagram of a bandwidth estimating apparatus according to Embodiment 3 of the present invention.
  • FIG. 4 is a second schematic structural diagram of a bandwidth estimating apparatus according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a bandwidth estimation apparatus according to Embodiment 4 of the present invention.
  • Embodiments of the present invention provide a bandwidth estimation method and apparatus.
  • the transmitting end of the transmitting end receives the estimated bandwidth and the packet loss rate estimation parameter sent by the receiving end, and calculates the packet loss according to the packet loss rate estimation parameter.
  • Rate determining whether the packet loss rate is less than a preset packet loss rate; and determining whether the estimated bandwidth is greater than a preset bandwidth and greater than a current transmission bandwidth; if the packet loss rate is less than a preset packet loss rate, the estimated bandwidth is greater than a preset bandwidth and greater than Current transmission bandwidth; a bandwidth is determined from the bandwidth interval as a new current transmission bandwidth, which is greater than 1.08 times the current transmission bandwidth and not larger than the estimated bandwidth.
  • the transmission bandwidth can be quickly increased by more than 8% of the current transmission bandwidth, thereby improving the transmission. The speed of bandwidth makes efficient use of network resources.
  • FIG. 1 is a schematic flowchart diagram of a bandwidth estimation method according to an embodiment of the present invention, where the method includes the following steps:
  • Step 101 The transmitting end receives the packet loss rate estimation parameter sent by the receiving end.
  • Step 102 Calculate a packet loss rate according to the packet loss rate estimation parameter.
  • the packet loss rate estimation parameter sent by the receiving end may be specific. Includes the following steps:
  • Step A1 Receive a rtcp (Real Time Transport Control Protocol) packet sent by the receiving end.
  • rtcp Real Time Transport Control Protocol
  • Step A2 Obtain a packet loss rate estimation parameter from the rtcp packet.
  • the method for obtaining the packet loss rate estimation parameter from the rtcp packet may be implemented according to the prior art, which is not limited by the embodiment of the present invention.
  • Step 103 Determine whether the packet loss rate is less than a preset packet loss rate; and determine whether the estimated bandwidth obtained in advance from the receiving end is greater than a preset bandwidth and greater than a current transmission bandwidth.
  • the preset bandwidth is a parameter that can indicate that the current network state is better.
  • the preset bandwidth may be a fixed value or a value dynamically determined according to the current sending bandwidth.
  • the preset bandwidth can be determined according to the following formula (1):
  • p' represents the preset bandwidth
  • B represents the current transmission bandwidth
  • represents the first weight coefficient
  • the preset bandwidth may be set according to actual needs, for example, according to the estimated bandwidth sent by the receiving end, the preset bandwidth is set (as shown in formula (2)).
  • p' denotes a preset bandwidth
  • p denotes an estimated bandwidth
  • denotes a second weight coefficient
  • the new current transmission bandwidth can be determined according to the prior art:
  • the packet loss rate is greater than the preset packet loss rate
  • the preset packet loss rate may be 2%, or may be greater than 2% and less than a preset value (the value is, for example, 3%).
  • the specific implementation may be determined according to actual needs, and the present invention does not limit this.
  • the preset packet loss rate may also be set to less than 2%.
  • the smaller the default packet loss rate the better the current network state is, and the larger the transmission bandwidth can be increased.
  • the transmission bandwidth can be increased faster, the network resources can be reasonably utilized, the user requirements can be satisfied, and the user experience can be improved.
  • step 104 in order to improve the rationality of determining a new current transmission bandwidth (ie, not too much to be promoted, multiple upgrades are required, and too much promotion is not caused to be applicable to the current network state, resulting in The data packet loss rate is reduced).
  • step 104 it may be specifically performed to determine a new current transmission bandwidth according to the estimated bandwidth and the preset bandwidth estimation model.
  • the new current transmission bandwidth is re-determined according to the estimated bandwidth, and the estimated bandwidth is only used as a threshold value in the prior art, thereby improving the utilization of the estimated bandwidth.
  • the estimated bandwidth is an important parameter that can reflect the state of the network.
  • the new current transmission bandwidth is determined according to the parameter, and the transmission bandwidth can be determined according to the actual network state, thereby improving the rationality of determining the transmission bandwidth.
  • the preset bandwidth estimation model may be as shown in formula (3):
  • B' represents a new current transmission bandwidth
  • B represents a current transmission bandwidth
  • Br represents an estimated bandwidth
  • represents a first preset coefficient.
  • the first preset coefficient function is to determine a reasonable new bandwidth, which may be determined according to the measured value, or may be determined according to the network situation, for example, the amount of data to be sent in the current and subsequent preset durations, for example, according to the previous
  • the amount of historical interaction data of the receiving end and the transmitting end is determined in the different periods of the statistics, which is not limited by the embodiment of the present invention.
  • the preset bandwidth estimation model may be as shown in formula (4):
  • B' represents the new current transmission bandwidth
  • B represents the current transmission bandwidth
  • the second preset coefficient function is to determine a reasonable new bandwidth, which may be determined according to the measured value, or may be obtained according to the network situation assessment.
  • the embodiment of the present invention does not limit the amount of data that needs to be sent in the current and subsequent preset durations.
  • any preset bandwidth estimation model that improves the transmission bandwidth by more than 8% on the premise that the network state is good is applicable to the embodiment of the present invention, which is not limited in this embodiment of the present invention.
  • the current network state is determined to be good, and the transmission bandwidth has a large improvement space.
  • the transmission bandwidth can be increased by more than 8%.
  • the transmission bandwidth can be increased faster, the network resources can be reasonably utilized, the user requirements can be satisfied, and the user experience can be improved.
  • the transmission bandwidth is increased according to the estimated bandwidth and the preset bandwidth estimation model, and how much the transmission bandwidth is determined according to the packet loss rate in the prior art, so that the final new current determination is determined. Sending bandwidth is more reasonable.
  • FIG. 2 it is a schematic flowchart of the method, including the following steps:
  • Step 201 The transmitting end receives the packet loss rate estimation parameter sent by the receiving end.
  • Step 202 Calculate a packet loss rate according to the packet loss rate estimation parameter.
  • Step 203 Determine whether the packet loss rate is less than a preset packet loss rate; and determine whether the estimated bandwidth obtained in advance from the receiving end is greater than a preset bandwidth and greater than a current transmission bandwidth.
  • Step 204 If the packet loss rate is less than the preset packet loss rate, the estimated bandwidth is greater than the preset bandwidth, and is greater than the current transmission bandwidth, the initial current transmission bandwidth is determined according to formula (3).
  • Step 205 Determine whether the initial current transmission bandwidth is less than or equal to the estimated bandwidth. If yes, go to step 206; if no, go to step 207.
  • Step 206 Determine that the initial current transmission bandwidth is a new current transmission bandwidth.
  • Step 207 Determine the estimated bandwidth as the new current transmission bandwidth.
  • the packet loss rate calculation module 302 is configured to calculate a packet loss rate according to the packet loss rate estimation parameter.
  • the determining module 303 is configured to determine whether the packet loss rate is less than a preset packet loss rate, and determine whether the estimated bandwidth obtained from the receiving end is greater than a preset bandwidth and greater than a current sending bandwidth.
  • the preset bandwidth estimation model comprises:
  • B' represents the new current transmission bandwidth
  • B represents the current transmission bandwidth
  • B r represents the estimated bandwidth
  • represents the first preset coefficient
  • the preset bandwidth estimation model comprises:
  • the embodiment of the present invention further provides a bandwidth estimation device, as shown in FIG. 5, which is a schematic structural diagram of the device, where the device includes:
  • a bandwidth is determined from the bandwidth interval as a new current transmission bandwidth, where the bandwidth interval is greater than a preset of the current transmission bandwidth.
  • the multiple is not greater than the estimated bandwidth; wherein the preset multiple is greater than or equal to 1.08.
  • B' represents the new current transmission bandwidth
  • B represents the current transmission bandwidth
  • B r represents the estimated bandwidth
  • represents the first preset coefficient
  • the preset bandwidth estimation model comprises:
  • B' represents the new current transmission bandwidth
  • B represents the current transmission bandwidth
  • the rtcp packet includes a packet loss rate estimation parameter
  • the embodiment of the present invention further provides a computer program, including computer readable code, when the computer readable code is run on a device, causing the device to perform any of the foregoing bandwidth estimation methods provided by the embodiments of the present invention. .
  • an embodiment of the present invention further provides a computer readable medium, wherein the above computer program is stored.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

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

Abstract

本发明实施例提供带宽估计方法及装置。本发明实施例中发送端接收接收端发送的丢包率估算参数;根据丢包率估算参数计算丢包率;判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。这样,当确定网络状态良好时,可以迅速将发送带宽提高当前发送带宽的8%以上,从而提高了提升发送带宽的速度,有效利用网络资源。

Description

一种带宽估计方法及装置
本申请要求在2016年03月31日提交中国专利局、申请号为201610201977.9、发明名称为“一种带宽估计方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种带宽估计方法及装置。
背景技术
带宽是网络通信中的一个重要参数,反映了网络传输数据的能力。现有技术中为了能够有效利用网络资源,往往会根据实际情况动态调整带宽,以提高网络资源的利用率。
在WebRTC(Web Real-Time Communication,源自网页实时通信)中,发送端通常根据webrtc带宽估算算法估算发送端的发送带宽,具体的包括以下内容:
首先,接收端根据包到达时间估算出一个带宽(以后称为估算带宽)并发送给发送端;同时还将丢包率估算参数发送给发送端。
然后,发送端接收到接收端发送的估算带宽和丢包率估算参数;根据丢包率估算参数计算丢包率。若丢包率在2%-10%之间,则不对当前发送带宽进行调整,若丢包率小于2%,则将当前发送带宽提高8%,若丢包率大于10%,则减少当前发送带宽。
发明人在实现本发明的过程中发现,现有技术中,每次丢包率小于2%时,都仅将发送带宽提高8%,不一定能够有效提升发送带宽。例如,实际中发送带宽可以提升20%,而需要三次提升带宽的操作才能实现。由此,现有技术中无法迅速根据实际情况提升发送带宽,导致发送带宽的提升速度较低,无法满足实际需要而浪费网络资源。
发明内容
本发明实施例提供一种带宽估计方法及装置,用以解决目前由于现有技术中无法迅速根据实际情况提升发送带宽,导致发送带宽的提升速度较 低,无法满足实际需要而浪费网络资源等的问题。
本发明实施例提供的具体技术方案如下:
一方面,本发明实施例提供一种带宽估计方法,所述方法包括:
发送端接收接收端发送丢的包率估算参数;
根据丢包率估算参数计算丢包率;
判断该丢包率是否小于预设丢包率;以及,
判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
另一方面,本发明实施例提供一种带宽估计装置,所述装置包括:
接收模块,用于接收接收端发送的丢包率估算参数;
丢包率计算模块,用于根据丢包率估算参数计算丢包率;
判断模块,用于判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
带宽更新模块,用于若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
本发明实施例有益效果包括:本发明实施例中,为了能够合理提高提升发送带宽的速度,以提高网络资源的利用率,发送端接收接收端发送的估算带宽以及丢包率估算参数;根据丢包率估算参数计算丢包率;判断该丢包率是否小于预设丢包率;以及,判断估算带宽是否大于预设带宽且大于当前发送带宽;若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的1.08倍、且不大于估算带宽。这样,本发明实施例中,当确定估算带宽大于预设带宽时(即确定网络状态良好时),本发明实施例中可以迅速将发送带宽提高当前发送带宽的8%以上,从而提高了提升发送带宽的速度,有效利用网络资源。
附图说明
图1为本发明实施例一中所述带宽估计方法的示例性流程图;
图2为本发明实施例二中所述带宽估计方法的示例性流程图;
图3为本发明实施例三中所述带宽估计装置的结构示意图之一;
图4为本发明实施例四中所述带宽估计装置的结构示意图之二;
图5为本发明实施例四中所述带宽估计设备的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种带宽估计方法及装置。本发明实施例中,为了能够合理提升发送带宽的速度,以提高网络资源的利用率,发送端发送端接收接收端发送的估算带宽以及丢包率估算参数;根据丢包率估算参数计算丢包率;判断该丢包率是否小于预设丢包率;以及,判断估算带宽是否大于预设带宽且大于当前发送带宽;若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的1.08倍、且不大于估算带宽。这样,本发明实施例中,当确定估算带宽大于预设带宽时(即确定网络状态良好时),本发明实施例中可以迅速将发送带宽提高当前发送带宽的8%以上,从而提高了提升发送带宽的速度,有效利用网络资源。
为便于进一步理解本发明提供的技术方案,下面通过实施例对该方案进行说明。
实施例一
如图1所示,为本发明实施例提供的带宽估计方法的流程示意图,该方法包括以下步骤:
步骤101:发送端接收接收端发送的丢包率估算参数。
步骤102:根据丢包率估算参数计算丢包率。
其中,在一个实施例中,接收接收端发送的丢包率估算参数,可具体 包括以下步骤:
步骤A1:接收接收端发送的rtcp(Realtime Transport Control Protocol,实时传输控制协议)报文。
步骤A2:从rtcp报文中获取丢包率估算参数。
其中,在一个实施例中,具体从rtcp报文中获取丢包率估算参数的方法可根据现有技术实现,本发明实施例对此不做限定。
步骤103:判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽。
其中,在一个实施例中,预设带宽是一个可以表示当前网络状态较好的一个参数,该预设带宽可以是一个固定值,也可以是根据当前发送带宽动态确定的一个值。例如可以按照如下公式(1),确定预设带宽:
p'=α×B;α>1  (1)
其中,p'表示预设带宽;B表示当前发送带宽;α表示第一权重系数。
具体实施时,可以根据实际需要设置预设带宽,例如根据接收端发送的估算带宽设置预设带宽(如公式(2)所示),
p'=ε×p;ε≤1  (2)
其中,p'表示预设带宽;p表示估算带宽;ε表示第二权值系数。
步骤104:若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
其中,在一个实施例中,当以下条件满足其一时,可以根据现有技术确定新的当前发送带宽:
(1)、丢包率大于预设丢包率;
(2)、估算带宽不大于预设带宽;
(3)、估算带宽不大于当前发送带宽。
其中,在一个实施例中,预设丢包率可以为2%,也可以大于2%而小于预设值(该值例如为3%)。具体实施时,可以根据实际需要确定,本发明对此不做限定。当然,为了保证数据发送效率,避免丢包率扩大,也可以将预设丢包率设置为小于2%。当然,预设丢包率越小则越能说明当前网络状态好,发送带宽可提升的空间越大。
这样,本发明实施例中,在根据估算带宽和丢包率确定出丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽时,表示当前网络状态良好,发送带宽有较大的提升空间,这时候可以将发送带宽提升8%以上。这样,相对于现有技术能够较快的提升发送带宽,合理利用网络资源,满足用户需求,提高用户体验。
具体的,为便于进一步理解,下面对本发明实施例提供的带宽估计方法进行详细说明,包括以下内容:
其中,在一个实施例中,为了提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态,导致数据丢包率下降)。本发明实施例中,步骤104中(从带宽区间中确定一个带宽作为新的当前发送带宽),可具体执行为根据估算带宽以及预设带宽估算模型,确定新的当前发送带宽。这样,本发明实施例中,是根据估算带宽重新确定新的当前发送带宽的,相对于现有技术中估算带宽仅作为一个门限值,提高了估算带宽的利用率。而估算带宽是能够反映网络状态的一个重要参数,根据该参数确定新的当前发送带宽,能够实现根据实际网络状态确定发送带宽,从而提高确定发送带宽的合理性。
其中,在一个实施例中,所述预设带宽估算模型可如公式(3)所示:
B'=1.08×B+(Br-B)×λ  (3)
其中,在公式(3)中,B'表示新的当前发送带宽;B表示当前发送带宽;Br表示估算带宽;λ表示第一预置系数。其中,第一预置系数作用是确定一个合理的新的带宽,可以根据实测值确定,也可以根据网络态势评估得出,例如当前以及以后预设时长内需要发送的数据量确定,例如根据之前统计的不同时段接收端和发送端的历史交互数据量确定,本发明实施例对此不做限定。
其中,在一个实施例中,所述预设带宽估算模型可如公式(4)所示:
Figure PCTCN2016088979-appb-000001
其中,B'表示新的当前发送带宽;B表示当前发送带宽;
Figure PCTCN2016088979-appb-000002
表示第二预置系数。其中,第二预置系数作用是确定一个合理的新的带宽,可以根据实测值确定,也可以根据网络态势评估得出。例如根据当前以及以后预设时长内需要发送的数据量确定,本发明实施例对此不做限定。
需要说明的是,任何在确定网络状态良好的前提下,以将发送带宽提升8%以上的预设带宽估算模型,均适用于本发明实施例,本发明实施例对此不做限定。
综上,本发明实施例中,能够在确定当前网络状态良好,发送带宽有较大的提升空间,这时候可以将发送带宽提升8%以上。这样,相对于现有技术能够较快的提升发送带宽,合理利用网络资源,满足用户需求,提高用户体验。
此外,本发明实施例中,能够根据估算带宽,和预设带宽估算模型确定将发送带宽提升多少,相对于现有技术中仅根据丢包率确定提升多少发送带宽,使得最终确定的新的当前发送带宽更加合理。
实施例二
以公式(3)为例,通过具体的实施例对本发明实施例中的带宽估计方法进行详细说明,如图2所示,为该方法的流程示意图,包括以下步骤:
步骤201:发送端接收接收端发送的丢包率估算参数。
步骤202:根据丢包率估算参数计算丢包率。
步骤203:判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽。
步骤204:若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽,根据公式(3),确定初始当前发送带宽。
步骤205:判断初始当前发送带宽是否小于等于估算带宽,若是,则执行步骤206;若否,则执行步骤207。
其中,公式(3)已在实施例一种说明,这里不再赘述。
步骤206:确定初始当前发送带宽为新的当前发送带宽。
步骤207:确定估算带宽为新的当前发送带宽。
这样,本发明实施例能够在确定当前网络状态良好,发送带宽有较大的提升空间,这时候可以将发送带宽提升8%以上,并且根据估算带宽确定新的当前发送带宽。这样,相对于现有技术能够较快地、合理地提升发送带宽,合理利用网络资源,满足用户需求,提高用户体验。
实施例三
基于相同的发明构思,本发明实施例还提供一种带宽估计装置,如图3所示,为该装置的结构示意图,所述装置包括:
接收模块301,用于接收接收端发送的丢包率估算参数;
丢包率计算模块302,用于根据丢包率估算参数计算丢包率;
判断模块303,用于判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
带宽更新模块304,用于若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
本发明实施例提供的带宽估计装置,能够在确定当前网络状态良好,发送带宽有较大的提升空间,这时候可以将发送带宽提升8%以上,并且根据估算带宽确定新的当前发送带宽,这样,相对于现有技术能够较快地、合理地提升发送带宽,合理利用网络资源,满足用户需求,提高用户体验。
其中,在一个实施例中,带宽更新模块304,具体用于:
根据估算带宽以及预设带宽估算模型,确定新的当前发送带宽。
这样,能够提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态,导致数据丢包率下降)。
其中,在一个实施例中,所述预设带宽估算模型包括:
B'=1.08×B+(Br-B)×λ
其中,B'表示新的当前发送带宽;B表示当前发送带宽;Br表示估算带宽;λ表示第一预置系数。
这样,能够提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态,导致数据丢包率下降)。
其中,在一个实施例中,所述预设带宽估算模型包括:
Figure PCTCN2016088979-appb-000003
其中,B'表示新的当前发送带宽;B表示当前发送带宽;
Figure PCTCN2016088979-appb-000004
表示第二预置系数。
这样,能够提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态,导致数据丢包率下降)。
其中,在一个实施例中,如图4所示,接收模块301,具体包括:
报文接收单元305,用于接收接收端发送的实时传输控制协议rtcp报文;该rtcp报文中包括丢包率估算参数;
参数获取单元306,用于从rtcp报文中获取丢包率估算参数。
这样,能够便于根据现有技术方法获取丢包率估算参数。
本发明实施例提供的带宽估计装置,能够在确定当前网络状态良好,发送带宽有较大的提升空间,这时候可以将发送带宽提升8%以上,并且根据估算带宽确定新的当前发送带宽,这样,相对于现有技术能够较快地、合理地提升发送带宽,合理利用网络资源,满足用户需求,提高用户体验。
实施例四
基于相同的发明构思,本发明实施例还提供一种带宽估计设备,如图5所示,为该设备的结构示意图,所述设备包括:
存储器501,用于存储各种程序及指令;
处理器502,用于通过运行存储器存储的各种程序及指令执行以下操作:
接收接收端发送的丢包率估算参数;
根据丢包率估算参数计算丢包率;
判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
本发明实施例提供的带宽估计设备,能够在确定当前网络状态良好,发送带宽有较大的提升空间,这时候可以将发送带宽提升8%以上,并且根据估算带宽确定新的当前发送带宽,这样,相对于现有技术能够较快地、合理地提升发送带宽,合理利用网络资源,满足用户需求,提高用户体验。
其中,在一个实施例中,所述处理器具体用于:
根据估算带宽以及预设带宽估算模型,确定新的当前发送带宽。
这样,能够提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态, 导致数据丢包率下降)。
其中,在一个实施例中,所述预设带宽估算模型包括:
B'=1.08×B+(Br-B)×λ
其中,B'表示新的当前发送带宽;B表示当前发送带宽;Br表示估算带宽;λ表示第一预置系数。
这样,能够提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态,导致数据丢包率下降)。
其中,在一个实施例中,所述预设带宽估算模型包括:
Figure PCTCN2016088979-appb-000005
其中,B'表示新的当前发送带宽;B表示当前发送带宽;
Figure PCTCN2016088979-appb-000006
表示第二预置系数。
这样,能够提高确定新的当前发送带宽的合理性(即不至于提升的太少,导致需要多次提升,也不至于提升的太多导致不适用于当前网络状态,导致数据丢包率下降)。
其中,在一个实施例中,所述处理器具体用于:
接收接收端发送的实时传输控制协议rtcp报文;该rtcp报文中包括丢包率估算参数;
从rtcp报文中获取丢包率估算参数。
这样,能够便于根据现有技术方法获取丢包率估算参数。
此外,本发明实施例还提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在设备上运行时,导致所述设备执行本发明实施例提供的上述任一种带宽估计方法。
此外,本发明实施例还提供一种计算机可读介质,其中存储了上述计算机程序。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例各实施例技术方案的精神和范围。

Claims (17)

  1. 一种带宽估计方法,其特征在于,所述方法包括:
    发送端接收接收端发送的丢包率估算参数;
    根据丢包率估算参数计算丢包率;
    判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
    若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
  2. 根据权利要求1所述的方法,其特征在于,从带宽区间中确定一个带宽作为新的当前发送带宽,具体包括:
    根据估算带宽以及预设带宽估算模型,确定新的当前发送带宽。
  3. 根据权利要求2所述的方法,其特征在于,所述预设带宽估算模型包括:
    B'=1.08×B+(Br-B)×λ
    其中,B'表示新的当前发送带宽;B表示当前发送带宽;Br表示估算带宽;λ表示第一预置系数。
  4. 根据权利要求2所述的方法,其特征在于,所述预设带宽估算模型包括:
    Figure PCTCN2016088979-appb-100001
    其中,B'表示新的当前发送带宽;B表示当前发送带宽;
    Figure PCTCN2016088979-appb-100002
    表示第二预置系数。
  5. 根据权利要求1-4中任一所述的方法,其特征在于,接收接收端发送的丢包率估算参数,具体包括:
    接收接收端发送的实时传输控制协议rtcp报文;该rtcp报文中包括丢包率估算参数;
    从rtcp报文中获取丢包率估算参数。
  6. 一种带宽估计装置,其特征在于,所述装置包括:
    接收模块,用于接收接收端发送的丢包率估算参数;
    丢包率计算模块,用于根据丢包率估算参数计算丢包率;
    判断模块,用于判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
    带宽更新模块,用于若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
  7. 根据权利要求6所述的装置,其特征在于,带宽更新模块,具体用于:
    根据估算带宽以及预设带宽估算模型,确定新的当前发送带宽。
  8. 根据权利要求7所述的装置,其特征在于,所述预设带宽估算模型包括:
    B'=1.08×B+(Br-B)×λ
    其中,B'表示新的当前发送带宽;B表示当前发送带宽;Br表示估算带宽;λ表示第一预置系数。
  9. 根据权利要求7所述的装置,其特征在于,所述预设带宽估算模型包括:
    Figure PCTCN2016088979-appb-100003
    其中,B'表示新的当前发送带宽;B表示当前发送带宽;
    Figure PCTCN2016088979-appb-100004
    表示第二预置系数。
  10. 根据权利要求6-9中任一所述的装置,其特征在于,接收模块,具体包括:
    报文接收单元,用于接收接收端发送的实时传输控制协议rtcp报文;该rtcp报文中包括丢包率估算参数;
    参数获取单元,用于从rtcp报文中获取丢包率估算参数。
  11. 一种带宽估计设备,其特征在于,所述设备包括:
    存储器,用于存储各种程序及指令;
    处理器,用于通过运行存储器存储的各种程序及指令执行以下操作:
    接收接收端发送的丢包率估算参数;
    根据丢包率估算参数计算丢包率;
    判断该丢包率是否小于预设丢包率;以及,判断预先从接收端获取的估算带宽是否大于预设带宽且大于当前发送带宽;
    若丢包率小于预设丢包率、估算带宽大于预设带宽且大于当前发送带宽;则从带宽区间中确定一个带宽作为新的当前发送带宽,该带宽区间为:大于当前发送带宽的预设倍数、且不大于估算带宽;其中,该预设倍数大于等于1.08。
  12. 根据权利要求11所述的设备,其特征在于,所述处理器具体用于:
    根据估算带宽以及预设带宽估算模型,确定新的当前发送带宽。
  13. 根据权利要求12所述的设备,其特征在于,所述预设带宽估算模型包括:
    B'=1.08×B+(Br-B)×λ
    其中,B'表示新的当前发送带宽;B表示当前发送带宽;Br表示估算带宽;λ表示第一预置系数。
  14. 根据权利要求12所述的设备,其特征在于,所述预设带宽估算模型包括:
    Figure PCTCN2016088979-appb-100005
    其中,B'表示新的当前发送带宽;B表示当前发送带宽;
    Figure PCTCN2016088979-appb-100006
    表示第二预置系数。
  15. 根据权利要求11-14中任一所述的设备,其特征在于,所述处理器具体用于:
    接收接收端发送的实时传输控制协议rtcp报文;该rtcp报文中包括丢包率估算参数;
    从rtcp报文中获取丢包率估算参数。
  16. 一种计算机程序,其特征在于,包括计算机可读代码,当所述计算机可读代码在设备上运行时,导致所述设备执行根据权利要求1-5中的任一个所述的带宽估计方法。
  17. 一种计算机可读介质,其特征在于,存储了如权利要求16所述的计算机程序。
PCT/CN2016/088979 2016-03-31 2016-07-06 一种带宽估计方法及装置 Ceased WO2017166493A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/247,889 US20170288969A1 (en) 2016-03-31 2016-08-25 Method and device for estimating a bandwidth

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201977.9 2016-03-31
CN201610201977.9A CN105897506A (zh) 2016-03-31 2016-03-31 一种带宽估计方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/247,889 Continuation US20170288969A1 (en) 2016-03-31 2016-08-25 Method and device for estimating a bandwidth

Publications (1)

Publication Number Publication Date
WO2017166493A1 true WO2017166493A1 (zh) 2017-10-05

Family

ID=57013296

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088979 Ceased WO2017166493A1 (zh) 2016-03-31 2016-07-06 一种带宽估计方法及装置

Country Status (2)

Country Link
CN (1) CN105897506A (zh)
WO (1) WO2017166493A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416688A (zh) * 2019-01-04 2020-07-14 阿里巴巴集团控股有限公司 控制报文重传的方法、装置、通信设备及系统
CN113992548A (zh) * 2021-10-27 2022-01-28 北京达佳互联信息技术有限公司 一种带宽测速方法及装置
CN114095760A (zh) * 2021-11-09 2022-02-25 杭州萤石软件有限公司 一种数据传输的方法及其数据传输装置
CN116248973A (zh) * 2023-03-24 2023-06-09 苏州市科远软件技术开发有限公司 带宽估计方法、装置、设备以及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341739A (zh) * 2016-09-30 2017-01-18 邦彦技术股份有限公司 一种基于丢包率的控制设备及方法
CN108347579B (zh) * 2017-01-23 2021-01-05 北京中创视讯科技有限公司 带宽控制方法和装置
CN109120527B (zh) * 2018-10-12 2021-05-25 网宿科技股份有限公司 一种传输业务流量的方法和系统
CN110049357B (zh) * 2019-05-29 2021-10-15 安徽讯飞皆成软件技术有限公司 一种带宽预估方法、装置、设备及存储介质
CN114629826B (zh) * 2020-12-14 2024-05-28 京东方科技集团股份有限公司 一种网络最大带宽估计方法、装置、电子设备及存储介质
CN115174405A (zh) * 2022-06-08 2022-10-11 西北大学 一种基于arima统计模型的带宽分配方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694619A (zh) * 2011-03-24 2012-09-26 北京大学 数据包传输速率的调整方法、装置及系统
CN104270724A (zh) * 2014-09-19 2015-01-07 杭州华三通信技术有限公司 组播物理发送速率的调整方法及装置
CN104580985A (zh) * 2015-01-30 2015-04-29 深圳市云之讯网络技术有限公司 视频码率自适应方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256847C (zh) * 2003-09-17 2006-05-17 联想(北京)有限公司 动态调整视频传输的方法
CN103491014B (zh) * 2013-08-15 2016-05-11 北京邮电大学 一种空间通信环境下基于带宽分配的拥塞控制方法和系统
US9609040B2 (en) * 2014-02-21 2017-03-28 Dialogic Corporation Efficient bitrate adaptation in video communications over IP networks
CN104469406B (zh) * 2014-11-05 2019-04-05 中国联合网络通信集团有限公司 一种网络资源的处理方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694619A (zh) * 2011-03-24 2012-09-26 北京大学 数据包传输速率的调整方法、装置及系统
CN104270724A (zh) * 2014-09-19 2015-01-07 杭州华三通信技术有限公司 组播物理发送速率的调整方法及装置
CN104580985A (zh) * 2015-01-30 2015-04-29 深圳市云之讯网络技术有限公司 视频码率自适应方法及系统

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416688A (zh) * 2019-01-04 2020-07-14 阿里巴巴集团控股有限公司 控制报文重传的方法、装置、通信设备及系统
CN113992548A (zh) * 2021-10-27 2022-01-28 北京达佳互联信息技术有限公司 一种带宽测速方法及装置
CN113992548B (zh) * 2021-10-27 2023-08-08 北京达佳互联信息技术有限公司 一种带宽测速方法及装置
CN114095760A (zh) * 2021-11-09 2022-02-25 杭州萤石软件有限公司 一种数据传输的方法及其数据传输装置
CN114095760B (zh) * 2021-11-09 2024-04-30 杭州萤石软件有限公司 一种数据传输的方法及其数据传输装置
CN116248973A (zh) * 2023-03-24 2023-06-09 苏州市科远软件技术开发有限公司 带宽估计方法、装置、设备以及存储介质

Also Published As

Publication number Publication date
CN105897506A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017166493A1 (zh) 一种带宽估计方法及装置
CN111355669B (zh) 控制网络拥塞的方法、装置及系统
US8204032B2 (en) Information polling method, apparatus and system
US9930097B2 (en) Transport accelerator systems and methods
CN113453045B (zh) 网络带宽预测方法、系统、设备及存储介质
CN104734985A (zh) 数据接收流量控制方法及其系统
CN106464733B (zh) 一种调整云计算中虚拟资源的方法及装置
WO2025077170A1 (zh) 网络速率调整方法及装置、电子设备、存储介质
US20160241482A1 (en) Packet communication apparatus and packet communication method
US10128987B2 (en) Scalable receive window auto-tuning
CN109412958A (zh) 数据中心的拥塞控制方法和装置
WO2017161967A1 (zh) 包每秒流量监管方法、装置和计算机存储介质
CN103401804A (zh) 无线传感器网络节点数据缓存转发控制系统及方法
CN111884947A (zh) 一种在接收端基于信息年龄的数据包管理方法
WO2019192318A1 (zh) 流量平滑方法、服务器及转发设备
CN110519175A (zh) 一种信息处理方法、设备及计算机可读存储介质
CN114844843A (zh) 应用实例数量的调整方法及装置
CN115473896B (zh) 基于dqn算法的电力物联网卸载策略和资源配置优化方法
CN113965944B (zh) 保证系统控制性能的使延迟确定性最大化的方法及系统
CN110838989B (zh) 一种用于基于令牌进行网络限流的方法和装置
CN119211963B (zh) 一种跨域通信网络智能业务速率映射及切换方法
CN115801639B (zh) 一种带宽探测方法、装置、电子设备及存储介质
US20150181456A1 (en) Frame transmission method and apparatus for controlling one-way delay
US9678881B2 (en) Data distribution device and data distribution method
CN106899510B (zh) 一种基于iSCSI协议的传输速率控制方法和装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896265

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896265

Country of ref document: EP

Kind code of ref document: A1