Movatterモバイル変換


[0]ホーム

URL:


CN102905318B - Method, network server and access network (AN) for downlink bandwidth allocation in network - Google Patents

Method, network server and access network (AN) for downlink bandwidth allocation in network
Download PDF

Info

Publication number
CN102905318B
CN102905318BCN201210370495.8ACN201210370495ACN102905318BCN 102905318 BCN102905318 BCN 102905318BCN 201210370495 ACN201210370495 ACN 201210370495ACN 102905318 BCN102905318 BCN 102905318B
Authority
CN
China
Prior art keywords
downlink bandwidth
bandwidth information
terminal
nas
access line
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
CN201210370495.8A
Other languages
Chinese (zh)
Other versions
CN102905318A (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.)
Zhoutuo Information Technology Jiangsu Co ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201210370495.8ApriorityCriticalpatent/CN102905318B/en
Publication of CN102905318ApublicationCriticalpatent/CN102905318A/en
Application grantedgrantedCritical
Publication of CN102905318BpublicationCriticalpatent/CN102905318B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明提供一种网络中下行带宽分配的方法、网络服务器和AN,所述方法包括:网络服务器获取AN与终端连接的接入线路下行带宽信息,所述AN的所述接入线路下行带宽信息是所述AN接收到终端在通过所述AN接入网络接入服务器NAS时发送的上线报文时,添加到所述上线报文中的;所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,通过本发明实施例提供的技术方案,可以在不增加额外报文和协议交互的情况下,NAS就可以获知AN侧的下行带宽信息,进而可以为NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在AN丢包的问题。

The present invention provides a method for allocating downlink bandwidth in a network, a network server, and an AN. The method includes: the network server acquires the downlink bandwidth information of the access line connecting the AN to the terminal, and the downlink bandwidth information of the access line of the AN It is added to the online message when the AN receives the online message sent by the terminal when the terminal accesses the network access server NAS through the AN; the network server at least according to the access message of the AN Incoming line downlink bandwidth information, assigning downlink bandwidth information for the NAS to actually control the traffic sent to the terminal, through the technical solution provided by the embodiment of the present invention, without adding additional messages and protocol interactions, The NAS can learn the downlink bandwidth information on the AN side, and then can allocate an appropriate downlink bandwidth for the NAS to actually control the traffic sent to the terminal, which can effectively solve the problem of packet loss of the downlink traffic in the AN.

Description

Translated fromChinese
一种网络中下行带宽分配的方法、网络服务器和ANA method for allocating downlink bandwidth in a network, a network server and an AN

技术领域technical field

本发明涉及通信技术,尤其涉及一种网络中下行带宽分配的方法、网络服务器和AN。The invention relates to communication technology, in particular to a method for distributing downlink bandwidth in a network, a network server and AN.

背景技术Background technique

终端通过接入节点(Access Node,AN)接入网络接入服务器(NetworkAccess Server,NAS)的场景下,NAS可以根据自身配置的下行带宽信息,或者根据认证授权和计费(Authentication Authorization and Accounting,AAA)服务器或策略服务器下发的下行带宽信息对终端进行带宽控制和流量调度,以减少网络拥塞和丢包,达到为更多终端提供更高质量服务的目的。以NAS配置下行带宽为例,终端下行流量,即网络侧到终端侧的流量,除受NAS配置的带宽限制外,还受AN节点与终端连接的接入线路下行带宽限制。如果NAS配置的下行带宽值大于AN节点的接入线路下行带宽值,那么在单位时间内NAS发送给AN的下行流量就可能大于AN节点发送给终端的下行流量,从而会发生下行流量在AN节点丢包的问题。In the scenario where the terminal accesses the Network Access Server (NAS) through the Access Node (AN), the NAS can use the downlink bandwidth information configured by itself, or the Authentication Authorization and Accounting (Authentication Authorization and Accounting, The downlink bandwidth information issued by the AAA) server or policy server performs bandwidth control and traffic scheduling on terminals to reduce network congestion and packet loss, and achieve the purpose of providing higher quality services for more terminals. Taking NAS configuration downlink bandwidth as an example, the terminal downlink traffic, that is, the traffic from the network side to the terminal side, is not only restricted by the bandwidth configured by the NAS, but also by the downlink bandwidth of the access line connecting the AN node and the terminal. If the downlink bandwidth value configured by the NAS is greater than the downlink bandwidth value of the access line of the AN node, then the downlink traffic sent by the NAS to the AN within a unit time may be greater than the downlink traffic sent by the AN node to the terminal, so that the downlink traffic will occur on the AN node The problem of packet loss.

为了降低丢包,需要NAS感知AN节点的下行带宽信息,并根据该信息适时调整为终端分配的下行带宽,以便能够在NAS对终端下行流量进行限速和调度,减少终端下行流量丢包率。现有技术中,可以配置接入节点控制协议(Access Node Control Protocol,ANCP)功能,ANCP提供了NAS和AN之间控制信息传递的通道,通过该ANCP协议NAS可以感知AN的下行带宽信息。In order to reduce packet loss, the NAS needs to sense the downlink bandwidth information of the AN node, and adjust the downlink bandwidth allocated to the terminal according to the information, so that the downlink traffic of the terminal can be limited and scheduled in the NAS, and the packet loss rate of the downlink traffic of the terminal can be reduced. In the prior art, the access node control protocol (Access Node Control Protocol, ANCP) function can be configured. ANCP provides a channel for control information transmission between the NAS and the AN. Through the ANCP protocol, the NAS can perceive the downlink bandwidth information of the AN.

但是,配置ANCP功能会引起配置复杂、维护成本较高、增加AN、NAS、甚至AAA服务器或策略服务器的额外开销等问题,降低了系统处理性能。However, configuring the ANCP function will cause problems such as complex configuration, high maintenance costs, and additional overhead for AN, NAS, and even AAA servers or policy servers, reducing system processing performance.

发明内容Contents of the invention

本发明实施例提供了一种网络中下行带宽分配的方法、网络服务器和AN,用于解决下行流量在AN节点丢包的问题,同时还用于避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。Embodiments of the present invention provide a method for allocating downlink bandwidth in a network, a network server and AN, which are used to solve the problem of packet loss of downlink traffic at AN nodes, and are also used to avoid downlink bandwidth adjustment by deploying ANCP in the prior art This brings problems of complex configuration and high maintenance costs.

第一方面,提供了一种网络中下行带宽分配的方法,所述方法包括:In a first aspect, a method for allocating downlink bandwidth in a network is provided, the method comprising:

网络服务器获取AN与终端连接的接入线路下行带宽信息,所述AN的所述接入线路下行带宽信息是所述AN接收到终端在通过所述AN接入网络NAS时发送的上线报文时,添加到所述上线报文中的;The network server obtains the downlink bandwidth information of the access line connecting the AN with the terminal, and the downlink bandwidth information of the access line of the AN is when the AN receives an online message sent by the terminal when accessing the network NAS through the AN , added to the online message;

所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。The network server allocates downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS at least according to the downlink bandwidth information of the access line of the AN.

在所述第一方面的第一种可能的实现方式中,所述网络服务器为所述NAS,所述网络服务器获取AN与终端连接的接入线路下行带宽信息,包括:In a first possible implementation manner of the first aspect, the network server is the NAS, and the network server acquires downlink bandwidth information of an access line connecting the AN to the terminal, including:

所述NAS接收所述AN发送的所述上线报文,所述上线报文中包含所述AN的所述接入线路下行带宽信息。The NAS receives the online message sent by the AN, where the online message includes downlink bandwidth information of the access line of the AN.

在所述第一方面的第一种可能的实现方式中,还提供了所述第一方面的第二种可能的实现方式,在所述第一方面的第二种可能的实现方式中,所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,包括:In the first possible implementation manner of the first aspect, a second possible implementation manner of the first aspect is also provided. In the second possible implementation manner of the first aspect, the The network server allocates downlink bandwidth information for actually controlling the traffic sent to the terminal to the NAS according to at least the downlink bandwidth information of the access line of the AN, including:

所述NAS向AAA服务器发送认证报文,并接收所述AAA服务器发送的对应所述认证报文的认证接受报文;The NAS sends an authentication message to the AAA server, and receives an authentication acceptance message corresponding to the authentication message sent by the AAA server;

所述NAS判断所述认证接受报文中是否包含所述AAA服务器为所述终端分配的下行带宽信息,并根据判断结果和所述AN的接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。The NAS judges whether the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server for the terminal, and determines the downlink bandwidth information for the NAS according to the judgment result and the downlink bandwidth information of the access line of the AN. Actually control the downlink bandwidth information of the traffic sent to the terminal.

在所述第一方面的第二种可能的实现方式中,还提供了所述第一方面的第三种可能的实现方式,在所述第一方面的第三种可能的实现方式中,所述根据判断结果和所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息,包括:In the second possible implementation manner of the first aspect, a third possible implementation manner of the first aspect is also provided. In the third possible implementation manner of the first aspect, the According to the judgment result and the downlink bandwidth information of the access line of the AN, determining the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal includes:

当所述判断结果为所述认证接受报文中包含所述AAA服务器为所述终端分配的下行带宽信息时,将所述AAA服务器为所述终端分配的下行带宽信息与所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,When the judgment result is that the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server to the terminal, combine the downlink bandwidth information allocated by the AAA server to the terminal with the AN's The minimum value in the downlink bandwidth information of the access line is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

当所述判断结果为所述认证接受报文中不包含所述AAA服务器为所述终端分配的下行带宽信息时,判断所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息,并根据所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息的判断结果以及所述AN的接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the judgment result is that the authentication acceptance message does not include the downlink bandwidth information allocated by the AAA server to the terminal, it is judged whether the NAS is locally configured with downlink bandwidth information to control traffic sent to the terminal, And according to the judgment result of whether the NAS is locally configured to control the downlink bandwidth information of the traffic sent to the terminal and the downlink bandwidth information of the access line of the AN, determine the NAS used to actually control the traffic sent to the terminal downlink bandwidth information.

在所述第一方面的第三种可能的实现方式中,还提供了所述第一方面的第四种可能的实现方式,在所述第一方面的第四种可能的实现方式中,所述根据NAS本地是否配置了下行带宽信息的判断结果以及所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息,包括:In the third possible implementation manner of the first aspect, a fourth possible implementation manner of the first aspect is also provided. In the fourth possible implementation manner of the first aspect, the According to the judgment result of whether the downlink bandwidth information is locally configured in the NAS and the downlink bandwidth information of the access line of the AN, determining the downlink bandwidth information of the NAS for actually controlling the traffic sent to the terminal includes:

在所述NAS本地配置了控制发送到所述终端流量的下行带宽信息时,将所述本地配置的控制发送到所述终端流量的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,When the NAS locally configures the downlink bandwidth information that controls the traffic sent to the terminal, the locally configured downlink bandwidth information that controls the traffic sent to the terminal and the downlink bandwidth information of the access line of the AN The minimum value in is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

在所述NAS本地没有配置控制发送到所述终端流量的下行带宽信息时,将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the NAS is not configured locally to control the downlink bandwidth information of the traffic sent to the terminal, determine the downlink bandwidth information of the access line of the AN as the NAS used to actually control the traffic sent to the terminal downlink bandwidth information.

在所述第一方面的第五种可能的实现方式中,所述网络服务器为AAA服务器,所述网络服务器获取所述AN与终端连接的接入线路下行带宽信息,包括:In a fifth possible implementation manner of the first aspect, the network server is an AAA server, and the network server acquires downlink bandwidth information of an access line connecting the AN to the terminal, including:

所述AAA服务器接收所述NAS发送的认证报文,所述认证报文包含所述AN的所述接入线路下行带宽信息。The AAA server receives the authentication message sent by the NAS, where the authentication message includes downlink bandwidth information of the access line of the AN.

在所述第一方面的第五种可能的实现方式中,还提供了所述第一方面的第六种可能的实现方式,在所述第一方面的第六种可能的实现方式中,所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息,包括:In the fifth possible implementation manner of the first aspect, a sixth possible implementation manner of the first aspect is also provided. In the sixth possible implementation manner of the first aspect, the The network server allocates downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS at least according to the downlink bandwidth information of the access line of the AN, including:

当所述AAA服务器本地配置了用于控制发送到所述终端流量的下行带宽信息时,将所述本地配置的下行带宽信息和接收到的所述认证报文包含的所述AN的接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,When the AAA server locally configures the downlink bandwidth information used to control the traffic sent to the terminal, combine the locally configured downlink bandwidth information with the AN access line contained in the received authentication message The minimum value in the downlink bandwidth information is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

当所述AAA服务器在本地没有配置用于控制发送到所述终端流量的下行带宽信息时,将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;When the AAA server does not locally configure the downlink bandwidth information used to control the traffic sent to the terminal, determine the downlink bandwidth information of the access line of the AN as the actual control sent to the NAS Downlink bandwidth information of the terminal traffic;

所述AAA服务器向所述NAS发送认证接受报文,所述认证接收报文包含为所述NAS确定的所述实际控制发送到所述终端流量的下行带宽信息。The AAA server sends an authentication acceptance message to the NAS, where the authentication acceptance message includes downlink bandwidth information determined for the NAS to actually control traffic sent to the terminal.

第二方面,提供了一种网络中下行带宽分配的方法,所述方法包括:AN接收终端通过所述AN接入网络NAS时发送的上线报文;In a second aspect, a method for allocating downlink bandwidth in a network is provided, the method comprising: the AN receives an online message sent when a terminal accesses the network NAS through the AN;

所述AN在所述上线报文中添加所述AN与所述终端连接的接入线路下行带宽信息;The AN adds downlink bandwidth information of the access line connected between the AN and the terminal to the online message;

所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。The AN sends an online message including the downlink bandwidth information of the access line of the AN to the network server, so that the network server provides the NAS with at least the downlink bandwidth information of the access line of the AN. Allocating downlink bandwidth information for actually controlling traffic sent to the terminal.

在所述第二方面的第一种可能的实现方式中,还提供了所述第二方面的第一种可能的实现方式种,所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息,包括:In the first possible implementation of the second aspect, it is also provided in the first possible implementation of the second aspect that the AN will include the downlink bandwidth of the access line of the AN The online message of the information is sent to the network server, so that the network server allocates to the NAS at least according to the downlink bandwidth information of the access line of the AN, the downlink bandwidth information for actually controlling the traffic sent to the terminal, including:

当所述网络服务器为所述NAS时,所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给所述NAS,以便所述NAS至少根据所述AN的接入线路下行带宽信息,为所述NAS分配用于下行流量控制的下行带宽信息;或者,When the network server is the NAS, the AN sends an online packet containing the downlink bandwidth information of the access line of the AN to the NAS, so that the NAS at least according to the access of the AN Line downlink bandwidth information, assigning downlink bandwidth information for downlink traffic control to the NAS; or,

当所述网络服务器为AAA时,所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给所述NAS,并由所述NAS将包含所述AN的所述接入线路的认证报文发送给所述AAA服务器,以便所述AAA服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。When the network server is AAA, the AN sends an online packet containing the downlink bandwidth information of the AN's access line to the NAS, and the NAS sends the The authentication message of the incoming line is sent to the AAA server, so that the AAA server allocates to the NAS at least according to the downlink bandwidth information of the access line of the AN for actually controlling the downlink traffic sent to the terminal bandwidth information.

第三方面,提供了一种网络中下行带宽分配的网络服务器,所述网络服务器包括:In a third aspect, a network server for downlink bandwidth allocation in a network is provided, where the network server includes:

获取单元,用于获取AN与终端连接的接入线路下行带宽信息,所述AN的所述接入线路下行带宽信息是所述AN接收到终端在通过所述AN接入网络NAS时发送的上线报文时,添加到所述上线报文中的;An acquisition unit, configured to acquire downlink bandwidth information of an access line connected to the terminal by the AN, where the downlink bandwidth information of the access line of the AN is an online link sent by the AN when the terminal accesses the network NAS through the AN. message, added to the online message;

分配单元,用于至少根据所述获取单元获取的所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。An allocating unit, configured to allocate downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS according to at least the downlink bandwidth information of the access line of the AN acquired by the acquiring unit.

在所述第三方面的第一种可能的实现方式中,所述网络服务器为所述NAS,所述获取单元通过接收所述AN发送的包含所述AN的接入线路下行带宽信息的所述上线报文,获取所述AN的接入线路下行带宽信息。In a first possible implementation manner of the third aspect, the network server is the NAS, and the obtaining unit receives the information sent by the AN and includes the downlink bandwidth information of the AN's access line. The online message is used to obtain the downlink bandwidth information of the access line of the AN.

在所述第三方面的第一种可能的实现方式中,还提供了所述第三方面的第二种可能的实现方式,在所述第三方面的第二种可能的实现方式中,所述分配单元还包括:In the first possible implementation manner of the third aspect, a second possible implementation manner of the third aspect is also provided. In the second possible implementation manner of the third aspect, the The distribution unit also includes:

收发子单元,用于向AAA服务器发送认证报文,并接收所述AAA服务器发送的对应所述认证报文的认证接受报文;A transceiver subunit, configured to send an authentication message to the AAA server, and receive an authentication acceptance message corresponding to the authentication message sent by the AAA server;

判断子单元,用于判断所述收发子单元接收的所述认证接受报文中是否包含所述AAA服务器为所述终端分配的下行带宽信息;a judging subunit, configured to judge whether the authentication acceptance message received by the transceiving subunit includes downlink bandwidth information allocated by the AAA server to the terminal;

确定子单元,用于根据所述判断子单元的判断结果和所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。The determining subunit is configured to determine downlink bandwidth information of the NAS for actually controlling traffic sent to the terminal according to the judgment result of the judging subunit and the downlink bandwidth information of the access line of the AN.

在所述第三方面的第二种可能的实现方式中,还提供了所述第三方面的第三种可能的实现方式,在所述第三方面的第三种可能的实现方式中,当所述判断子单元判断所述认证接受报文中包含所述AAA服务器为所述终端分配的下行带宽信息时,In the second possible implementation of the third aspect, a third possible implementation of the third aspect is also provided. In the third possible implementation of the third aspect, when When the judging subunit judges that the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server to the terminal,

所述确定子单元将所述AAA服务器为所述终端分配的下行带宽信息与所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The determination subunit determines the minimum value of the downlink bandwidth information allocated by the AAA server to the terminal and the downlink bandwidth information of the access line of the AN as the actual control sent to the NAS the downlink bandwidth information of the terminal traffic; or,

当所述判断子单元判断所述认证接受报文中不包含所述AAA服务器为所述终端分配的下行带宽信息时,判断所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息,When the determination subunit determines that the authentication acceptance message does not contain the downlink bandwidth information allocated by the AAA server to the terminal, determine whether the NAS is locally configured with downlink bandwidth information that controls traffic sent to the terminal ,

所述确定子单元根据所述判断子单元判断的所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息的判断结果,以及所述AN的所述接入线路下行带宽信息,确定所述NAS的用于下行流量控制的下行带宽信息。The determining subunit determines whether the NAS is locally configured with downlink bandwidth information for controlling traffic sent to the terminal, as judged by the judging subunit, and the downlink bandwidth information of the access line of the AN, to determine Downlink bandwidth information of the NAS used for downlink flow control.

在所述第三方面的第三种可能的实现方式中,还提供了所述第三方面的第四种可能的实现方式,在所述第三方面的第四种可能的实现方式中,当所述判断子单元判断所述NAS本地配置控制发送到所述终端流量的下行带宽信息时,In the third possible implementation of the third aspect, a fourth possible implementation of the third aspect is also provided. In the fourth possible implementation of the third aspect, when When the judging subunit judges the downlink bandwidth information sent by the NAS local configuration control to the terminal traffic,

所述确定子单元将所述本地配置的控制发送到所述终端流量的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The determination subunit determines the minimum value among the downlink bandwidth information of the terminal traffic and the downlink bandwidth information of the access line of the AN that is controlled by the local configuration, and determines it as the actual control of the NAS Downlink bandwidth information sent to the terminal traffic; or,

当所述判断子单元判断所述NAS本地没有配置控制发送到所述终端流量的下行带宽信息时,将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the judging subunit judges that the NAS is not configured locally to control the downlink bandwidth information sent to the terminal traffic, determine the downlink bandwidth information of the access line of the AN as the actual control of the NAS The downlink bandwidth information of the traffic sent to the terminal.

在所述第三方面的第四种可能的实现方式中,还提供了所述第三方面的第五种可能的实现方式,在所述第三方面的第五种可能的实现方式中,所述网络服务器为AAA服务器,In the fourth possible implementation manner of the third aspect, a fifth possible implementation manner of the third aspect is also provided. In the fifth possible implementation manner of the third aspect, the The above network server is an AAA server,

所述获取单元通过通过接收所述NAS发送的包含所述AN的所述接入线路下行带宽信息的认证报文,获取所述上线报文携带的所述AN的所述接入线路下行带宽信息。The acquiring unit acquires the downlink bandwidth information of the access line of the AN carried in the online message by receiving an authentication message sent by the NAS that includes the downlink bandwidth information of the access line of the AN .

在所述第三方面的第五种可能的实现方式中,还提供了所述第三方面的第六种可能的实现方式,在所述第三方面的第六种可能的实现方式中,所述分配单元还包括判断子单元和确定子单元,其中,In the fifth possible implementation manner of the third aspect, a sixth possible implementation manner of the third aspect is also provided. In the sixth possible implementation manner of the third aspect, the The allocation unit also includes a judging subunit and a determining subunit, wherein,

所述判断子单元,用于判断所述AAA服务器本地是否配置了用于控制发送到所述终端流量的下行带宽信息时;The judging subunit is used to judge whether the AAA server is locally configured with downlink bandwidth information for controlling traffic sent to the terminal;

确定子单元,用于当所述判断子单元判断所述AAA服务器本地配置了用于控制发送到所述终端流量的下行带宽信息时,将所述本地配置的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The determining subunit is configured to combine the locally configured downlink bandwidth information with the AN's all information when the judging subunit judges that the AAA server has locally configured the downlink bandwidth information used to control traffic sent to the terminal. The minimum value in the downlink bandwidth information of the access line is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

当所述判断子单元判断所述AAA服务器在本地没有配置用于控制发送到所述终端流量的下行带宽信息时,所述确定子单元将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;When the judging subunit judges that the AAA server has not locally configured downlink bandwidth information for controlling traffic sent to the terminal, the determining subunit determines the downlink bandwidth information of the access line of the AN is the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal;

相应地,所述网络服务器还包括发送单元,Correspondingly, the network server further includes a sending unit,

所述发送单元,用于向所述NAS发送认证接受报文,所述认证接收报文包含为所述NAS确定的所述实际控制发送到所述终端流量的下行带宽信息。The sending unit is configured to send an authentication acceptance message to the NAS, where the authentication acceptance message includes downlink bandwidth information determined for the NAS to actually control traffic sent to the terminal.

第四方面,提供了一种网络中下行带宽分配的接入节点AN,所述AN包括:In a fourth aspect, an access node AN for downlink bandwidth allocation in a network is provided, and the AN includes:

接收单元,用于接收终端通过所述AN接入网络NAS时发送的上线报文;a receiving unit, configured to receive an online message sent when the terminal accesses the network NAS through the AN;

添加单元,用于在所述接收单元接收的所述上线报文中添加所述AN与所述终端连接的接入线路下行带宽信息;an adding unit, configured to add downlink bandwidth information of the access line connecting the AN to the terminal in the online message received by the receiving unit;

发送单元,用于将所述添加单元添加所述AN的所述接入线路下行带宽信息后的所述上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息。a sending unit, configured to send the online message after the adding unit adds the downlink bandwidth information of the access line of the AN to a network server, so that the network server at least performs downlink according to the access line of the AN The bandwidth information is allocated to the NAS to actually control the downlink bandwidth information sent to the terminal traffic.

在所述第四方面的第一种可能的实现方式中,当所述网络服务器为所述NAS时,所述发送单元将包含所述AN的所述接入线路下行带宽信息的上线报文发送给所述NAS,以便所述NAS至少根据所述AN的接入线路下行带宽信息,为所述NAS分配用于下行流量控制的下行带宽信息;或者,In a first possible implementation manner of the fourth aspect, when the network server is the NAS, the sending unit sends an online message containing the downlink bandwidth information of the access line of the AN To the NAS, so that the NAS allocates downlink bandwidth information for downlink flow control to the NAS at least according to the downlink bandwidth information of the access line of the AN; or,

当所述网络服务器为AAA时,将包含所述AN的所述接入线路下行带宽信息的上线报文发送给所述NAS,并由所述NAS将包含所述AN的所述接入线路的认证报文发送所述AAA服务器,以便所述AAA服务器至少根据所述AN的接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。When the network server is AAA, send an online packet containing the downlink bandwidth information of the access line of the AN to the NAS, and the NAS sends the information containing the access line of the AN The authentication message is sent to the AAA server, so that the AAA server allocates downlink bandwidth information for the NAS to actually control the traffic sent to the terminal according to at least the downlink bandwidth information of the access line of the AN.

通过上述技术方案,所述网络服务器通过接收包含了所述AN与所述终端连接的接入线路的带宽信息的上线报文,获取所述AN与终端连接的接入线路下行带宽信息,所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,由于所述上线报文是终端通过所述AN接入NAS时必然发送的报文,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN侧的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。Through the above technical solution, the network server obtains the downlink bandwidth information of the access line connecting the AN to the terminal by receiving an online message including the bandwidth information of the access line connecting the AN to the terminal, and the The network server allocates downlink bandwidth information for the NAS to actually control traffic sent to the terminal according to at least the downlink bandwidth information of the access line of the AN. Therefore, in the above technical solution, the NAS can obtain the downlink bandwidth information of the AN side without adding additional messages and protocol interaction, and then can allocate bandwidth information for the NAS. The appropriate downlink bandwidth used to actually control the traffic sent to the terminal can effectively solve the problem of packet loss in the downlink traffic at the AN node, and at the same time effectively avoid the downlink bandwidth adjustment by deploying ANCP in the prior art. The configuration is complicated and the maintenance cost is high.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例提供的一种网络中下行带宽分配的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for allocating downlink bandwidth in a network according to an embodiment of the present invention;

图2为图1所示的一种网络中下行带宽分配的方法的一种具体实现方式流程示意图;FIG. 2 is a schematic flow diagram of a specific implementation manner of a method for allocating downlink bandwidth in a network shown in FIG. 1;

图3为图1所示的一种网络中下行带宽分配的方法的另一种具体实现方式流程示意图;FIG. 3 is a schematic flowchart of another specific implementation of the method for allocating downlink bandwidth in the network shown in FIG. 1;

图4为本发明实施例提供的另一种网络中下行带宽分配的方法的流程示意图;FIG. 4 is a schematic flowchart of another method for allocating downlink bandwidth in a network according to an embodiment of the present invention;

图5为本发明实施例提供的一种网络中下行带宽分配的网络服务器结构示意图;FIG. 5 is a schematic structural diagram of a network server for downlink bandwidth allocation in a network provided by an embodiment of the present invention;

图5A为图5所示的一种网络中下行带宽分配的网络服务器的一种实现方式结构示意图;FIG. 5A is a schematic structural diagram of an implementation of a network server for downlink bandwidth allocation in the network shown in FIG. 5;

图5B为图5所示的一种网络中下行带宽分配的网络服务器的另一种实现方式结构示意图;FIG. 5B is a schematic structural diagram of another implementation of a network server for downlink bandwidth allocation in the network shown in FIG. 5;

图6为本发明实施例提供的一种网络中下行带宽分配的AN结构示意图;FIG. 6 is a schematic diagram of an AN structure for downlink bandwidth allocation in a network provided by an embodiment of the present invention;

图7为本发明实施例提供的另一种网络中下行带宽分配的网络服务器结构示意图;FIG. 7 is a schematic structural diagram of a network server for downlink bandwidth allocation in another network provided by an embodiment of the present invention;

图7A为图7所示的另一种网络中下行带宽分配的网络服务器的一种实现方式结构示意图;FIG. 7A is a schematic structural diagram of an implementation of a network server for downlink bandwidth allocation in another network shown in FIG. 7;

图7B为图7所示的另一种网络中下行带宽分配的网络服务器的另一种实现方式结构示意图;FIG. 7B is a schematic structural diagram of another implementation of a network server for downlink bandwidth allocation in another network shown in FIG. 7;

图8为本发明实施例提供的另一种网络中下行带宽分配的AN结构示意图。FIG. 8 is a schematic diagram of an AN structure of another downlink bandwidth allocation in a network provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了解决现有技术中专门配置ANCP功能引起的问题,本发明实施例中,是充分利用现有流程中出现的报文,在现有报文中添加AN的接入线路下行带宽信息,使得NAS能够获知AN侧的下行带宽信息,并且由于只是利用现有报文,不需要额外增加特别的报文或者协议交互,实现部署简单、维护成本低,降低各设备的处理复杂度和性能压力。具体的,本发明给出如下的实施例。In order to solve the problems caused by the special configuration of the ANCP function in the prior art, in the embodiment of the present invention, the messages appearing in the existing process are fully utilized, and the downlink bandwidth information of the AN access line is added to the existing messages, so that the NAS It can know the downlink bandwidth information on the AN side, and because it only uses existing messages, it does not need to add special messages or protocol interaction, which realizes simple deployment, low maintenance costs, and reduces the processing complexity and performance pressure of each device. Specifically, the present invention provides the following examples.

参见图1,本发明实施例提供了一种一种网络中下行带宽分配的方法,所述方法包括:Referring to Fig. 1, an embodiment of the present invention provides a method for allocating downlink bandwidth in a network, the method comprising:

110,网络服务器获取AN与终端连接的接入线路下行带宽信息,所述AN的所述接入线路下行带宽信息是所述AN接收到终端在通过所述AN接入网络NAS时发送的上线报文时,添加到所述上线报文中的;110. The network server obtains the downlink bandwidth information of the access line connecting the AN with the terminal, and the downlink bandwidth information of the access line of the AN is an online report sent by the AN when the terminal accesses the network NAS through the AN. text, added to the online message;

120,所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。120. The network server allocates downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS according to at least the downlink bandwidth information of the access line of the AN.

可选地,所述网络服务器为所述NAS,所述网络服务器获取AN与终端连接的接入线路下行带宽信息,包括:Optionally, the network server is the NAS, and the network server obtains the downlink bandwidth information of the access line connecting the AN to the terminal, including:

所述NAS接收所述AN发送的所述上线报文,所述上线报文中包含所述AN的所述接入线路下行带宽信息。The NAS receives the online message sent by the AN, where the online message includes downlink bandwidth information of the access line of the AN.

可选地,所述网络服务器为AAA服务器,所述网络服务器获取所述AN与终端连接的接入线路下行带宽信息,包括:Optionally, the network server is an AAA server, and the network server obtains the downlink bandwidth information of the access line connecting the AN to the terminal, including:

所述AAA服务器接收所述NAS发送的认证报文,所述认证报文包含所述AN的所述接入线路下行带宽信息。The AAA server receives the authentication message sent by the NAS, where the authentication message includes downlink bandwidth information of the access line of the AN.

可选地,所述网络服务器还可以为网络策略服务器。Optionally, the network server may also be a network policy server.

所述NAS获得为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息后,所述NAS会根据所述实际控制发送到所述终端流量的下行带宽信息对发送到所述终端的流量进行带宽控制和流量调度,以避免网络拥塞和丢包,达到为更多终端提供更高质量服务的目的。After the NAS obtains the downlink bandwidth information assigned to the NAS for actually controlling traffic sent to the terminal, the NAS sends the downlink bandwidth information to the terminal according to the downlink bandwidth information actually controlling the traffic sent to the terminal Bandwidth control and traffic scheduling are carried out to avoid network congestion and packet loss, so as to provide higher quality services for more terminals.

可选地,所述网络服务器为所述NAS,所述网络服务器获取AN与终端连接的接入线路下行带宽信息,包括:Optionally, the network server is the NAS, and the network server obtains the downlink bandwidth information of the access line connecting the AN to the terminal, including:

所述NAS接收所述AN发送的所述上线报文,所述上线报文中包含所述AN的所述接入线路下行带宽信息。The NAS receives the online message sent by the AN, where the online message includes downlink bandwidth information of the access line of the AN.

可选地,所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,包括:Optionally, at least according to the downlink bandwidth information of the access line of the AN, the network server allocates downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS, including:

所述NAS向AAA服务器发送认证报文,并接收所述AAA服务器发送的对应所述认证报文的认证接受报文;The NAS sends an authentication message to the AAA server, and receives an authentication acceptance message corresponding to the authentication message sent by the AAA server;

所述NAS判断所述认证接受报文中是否包含所述AAA服务器为所述终端分配的下行带宽信息,并根据判断结果和所述AN的接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。The NAS judges whether the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server for the terminal, and determines the downlink bandwidth information for the NAS according to the judgment result and the downlink bandwidth information of the access line of the AN. Actually control the downlink bandwidth information of the traffic sent to the terminal.

可选地,所述根据判断结果和所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息,包括:Optionally, the determining the downlink bandwidth information of the NAS for actually controlling traffic sent to the terminal according to the judgment result and the downlink bandwidth information of the access line of the AN includes:

当所述判断结果为所述认证接受报文中包含所述AAA服务器为所述终端分配的下行带宽信息时,将所述AAA服务器为所述终端分配的下行带宽信息与所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,When the judgment result is that the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server to the terminal, combine the downlink bandwidth information allocated by the AAA server to the terminal with the AN's The minimum value in the downlink bandwidth information of the access line is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

当所述判断结果为所述认证接受报文中不包含所述AAA服务器为所述终端分配的下行带宽信息时,判断所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息,并根据所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息的判断结果以及所述AN的接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the judgment result is that the authentication acceptance message does not include the downlink bandwidth information allocated by the AAA server to the terminal, it is judged whether the NAS is locally configured with downlink bandwidth information to control traffic sent to the terminal, And according to the judgment result of whether the NAS is locally configured to control the downlink bandwidth information of the traffic sent to the terminal and the downlink bandwidth information of the access line of the AN, determine the NAS used to actually control the traffic sent to the terminal downlink bandwidth information.

可选地,所述根据NAS本地是否配置了下行带宽信息的判断结果以及所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息,包括:Optionally, according to the judgment result of whether downlink bandwidth information is locally configured in the NAS and the downlink bandwidth information of the access line of the AN, determine the downlink bandwidth of the NAS for actually controlling traffic sent to the terminal information, including:

在所述NAS本地配置控制发送到所述终端流量的下行带宽信息时,将所述本地配置的控制发送到所述终端流量的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,When the NAS locally configures and controls sending to the downlink bandwidth information of the terminal traffic, send the locally configured control to the downlink bandwidth information of the terminal traffic and the downlink bandwidth information of the access line of the AN The minimum value of is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

在所述NAS本地没有配置控制发送到所述终端流量的下行带宽信息时,将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the NAS is not configured locally to control the downlink bandwidth information of the traffic sent to the terminal, determine the downlink bandwidth information of the access line of the AN as the NAS used to actually control the traffic sent to the terminal downlink bandwidth information.

可选地,所述网络服务器为AAA服务器,所述网络服务器获取所述AN与终端连接的接入线路下行带宽信息,包括:Optionally, the network server is an AAA server, and the network server obtains the downlink bandwidth information of the access line connecting the AN to the terminal, including:

所述AAA服务器接收所述NAS发送的认证报文,所述认证报文包含所述AN的所述接入线路下行带宽信息。The AAA server receives the authentication message sent by the NAS, where the authentication message includes downlink bandwidth information of the access line of the AN.

可选地,所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息,包括:Optionally, at least according to the downlink bandwidth information of the access line of the AN, the network server allocates downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS, including:

当所述AAA服务器本地配置了用于控制发送到所述终端流量的下行带宽信息时,将所述本地配置的下行带宽信息和接收到的所述认证报文包含的所述AN的接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,When the AAA server locally configures the downlink bandwidth information used to control the traffic sent to the terminal, combine the locally configured downlink bandwidth information with the AN access line contained in the received authentication message The minimum value in the downlink bandwidth information is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

当所述AAA服务器在本地没有配置用于控制发送到所述终端流量的下行带宽信息时,将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;When the AAA server does not locally configure the downlink bandwidth information used to control the traffic sent to the terminal, determine the downlink bandwidth information of the access line of the AN as the actual control sent to the NAS Downlink bandwidth information of the terminal traffic;

所述AAA服务器向所述NAS发送认证接受报文,所述认证接收报文包含为所述NAS确定的所述实际控制发送到所述终端流量的下行带宽信息。The AAA server sends an authentication acceptance message to the NAS, where the authentication acceptance message includes downlink bandwidth information determined for the NAS to actually control traffic sent to the terminal.

为更清楚的描述本发明实施例的技术方案,下面分别以所述网络服务器为所述NAS和所述AAA服务器两种情况为例对本发明实施例的技术方案进行描述:In order to describe the technical solution of the embodiment of the present invention more clearly, the following describes the technical solution of the embodiment of the present invention by taking two cases where the network server is the NAS and the AAA server as examples:

参见图2,所述网络服务器为所述NAS分配,所述NAS是根据所述NAS得到用于实际控制发送到所述终端流量的下行带宽信息的流程如下:Referring to FIG. 2, the network server allocates for the NAS, and the NAS obtains the downlink bandwidth information for actually controlling traffic sent to the terminal according to the NAS as follows:

201:终端在通过AN接入NAS时,终端向AN发送上线报文。201: When the terminal accesses the NAS through the AN, the terminal sends an online message to the AN.

其中,终端通过AN接入NAS时,会发送上线报文,该上线报文会首先由终端发送给AN,之后再由AN发送给NAS,从而使得终端接入NAS。Wherein, when the terminal accesses the NAS through the AN, it will send an online message. The online message will first be sent by the terminal to the AN, and then sent to the NAS by the AN, so that the terminal can access the NAS.

可选地,根据终端采用的具体接入方式,该上线报文可以为动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)报文、IPV6动态主机配置协议(Dynamic Host Configuration Protocol for IPv6,DHCPV6)报文或者以太网承载点到点协议(Point-to-Point Protocol Over Ethernet,PPPOE)报文。例如,终端采用点到点协议(Point-to-Point Protocol,PPP)拨号上网时,终端向AN发送的报文为PPPOE报文。Optionally, according to the specific access method adopted by the terminal, the online message may be a Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, DHCP) message, an IPV6 Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol for IPv6, DHCPV6) report PPPOE (Point-to-Point Protocol Over Ethernet, PPPOE) messages. For example, when the terminal uses Point-to-Point Protocol (PPP) to dial up to access the Internet, the message sent by the terminal to the AN is a PPPOE message.

202:AN在该上线报文中添加AN与终端连接的接入线路下行带宽信息。202: The AN adds the downlink bandwidth information of the access line connecting the AN to the terminal in the onboarding message.

例如,当上线报文为DHCP报文时,AN在DHCP报文的选项option82中添加该AN的接入线路下行带宽信息;或者,For example, when the online message is a DHCP message, the AN adds the downlink bandwidth information of the AN's access line in the option option82 of the DHCP message; or,

当上线报文为DHCPV6报文时,AN在DHCPV6报文的选项option18中添加该AN的接入线路下行带宽信息;或者,When the online message is a DHCPV6 message, the AN adds the downlink bandwidth information of the AN's access line in the option option18 of the DHCPV6 message; or,

当上线报文为PPPOE报文时,AN在PPPOE报文的选项0x105tag中添加该AN的接入线路下行带宽信息。When the online message is a PPPOE message, the AN adds the downlink bandwidth information of the AN's access line to the option 0x105tag of the PPPOE message.

由于该AN的接入线路下行带宽信息是AN自身的配置信息,AN可以获知自身的信息,之后可以按照上述方式将该AN的接入线路下行带宽信息添加到所述上线报文的对应选项中。Since the downlink bandwidth information of the AN's access line is the configuration information of the AN itself, the AN can know its own information, and then add the downlink bandwidth information of the AN's access line to the corresponding option of the online message in the above-mentioned manner .

203:AN将添加了AN的接入线路下行带宽信息的上线报文发送给NAS。203: The AN sends the online message added with the downlink bandwidth information of the AN's access line to the NAS.

此时,NAS就获知了AN的接入线路下行带宽信息。At this time, the NAS has learned the downlink bandwidth information of the access line of the AN.

204:NAS向AAA服务器发送认证请求报文,以进行终端认证。204: The NAS sends an authentication request message to the AAA server for terminal authentication.

205:认证通过后,NAS接收AAA服务器发送的认证接受报文。205: After passing the authentication, the NAS receives the authentication acceptance message sent by the AAA server.

206:NAS判断认证接受报文中是否包含AAA服务器配置的下行带宽信息,若是,执行步骤207,否则,执行步骤208。206: The NAS judges whether the authentication acceptance message contains the downlink bandwidth information configured by the AAA server, and if so, executes step 207; otherwise, executes step 208.

207:NAS比较AAA服务器配置的下行带宽信息和AN的接入线路下行带宽信息,将两者中的最小值,确定为最终生效的终端下行带宽信息。207: The NAS compares the downlink bandwidth information configured by the AAA server with the downlink bandwidth information of the AN's access line, and determines the minimum value of the two as the terminal downlink bandwidth information that finally takes effect.

208:NAS判断本地是否配置了下行带宽信息,若是,执行步骤209,否则执行步骤210。208: The NAS judges whether downlink bandwidth information is configured locally, if so, executes step 209, otherwise executes step 210.

209:NAS比较本地配置的下行带宽信息和AN的接入线路下行带宽信息,将两者中的最小值,确定为最终生效的终端下行带宽信息。209: The NAS compares the locally configured downlink bandwidth information with the AN's access line downlink bandwidth information, and determines the minimum value of the two as the terminal downlink bandwidth information that finally takes effect.

210:NAS将AN的接入线路下行带宽信息确定为最终生效的终端下行带宽信息。210: The NAS determines the downlink bandwidth information of the access line of the AN as terminal downlink bandwidth information that takes effect finally.

在NAS确定出最终生效的终端下行带宽信息后,就可以根据该信息对终端进行带宽控制和流量调度,以减少网络拥塞和丢包,达到为更多终端提供更高质量服务的目的。After the NAS determines the terminal downlink bandwidth information that finally takes effect, it can perform bandwidth control and traffic scheduling on the terminal based on the information, so as to reduce network congestion and packet loss, and achieve the purpose of providing higher quality services for more terminals.

另外,本实施例最终生效的终端下行带宽值不会超过AN的接入线路下行带宽值,可以降低AN处的丢包率。In addition, the terminal downlink bandwidth value finally effective in this embodiment will not exceed the downlink bandwidth value of the access line of the AN, which can reduce the packet loss rate at the AN.

可选的,本实施例中可以在NAS上配置开启或关闭功能,当配置成开启时,NAS按照上述流程完成下行带宽值的配置;当配置成关闭时,NAS可以按照现有技术完成下行带宽值的配置。Optionally, in this embodiment, the enable or disable function can be configured on the NAS. When configured to be enabled, the NAS completes the configuration of the downlink bandwidth value according to the above process; when configured to be disabled, the NAS can complete the configuration of the downlink bandwidth value according to the existing technology. configuration of values.

本实施例中,AN会将自身的下行带宽信息发送给NAS,NAS在配置自身的下行带宽信息时会参考该AN发送的下行带宽值,可以避免NAS配置的下行带宽值大于AN的下行带宽值,进而降低AN处的丢包率。In this embodiment, the AN will send its own downlink bandwidth information to the NAS, and the NAS will refer to the downlink bandwidth value sent by the AN when configuring its own downlink bandwidth information, which can prevent the downlink bandwidth value configured by the NAS from being greater than the downlink bandwidth value of the AN , thereby reducing the packet loss rate at the AN.

参加图3,所述网络服务器为所述AAA服务器,所述NAS获得所述AAA服务器下发用于实际控制发送到所述终端流量的下行带宽信息的流程如下:Referring to Figure 3, the network server is the AAA server, and the NAS obtains the downlink bandwidth information issued by the AAA server for actually controlling the traffic sent to the terminal as follows:

301:终端在通过AN接入NAS时,终端向AN发送上线报文。301: When the terminal accesses the NAS through the AN, the terminal sends an online message to the AN.

302:AN在该上线报文中添加AN的接入线路下行带宽信息。302: The AN adds the downlink bandwidth information of the AN's access line to the onboarding message.

303:AN将添加了AN的接入线路下行带宽信息的上线报文发送给NAS。303: The AN sends the online message added with the downlink bandwidth information of the AN's access line to the NAS.

301~303的具体内容可以参见步骤201~203。The specific content of 301-303 can refer to steps 201-203.

304:NAS将AN的接入线路下行带宽信息发送给AAA服务器,例如,NAS可以将该信息携带在认证请求报文中发送给AAA服务器。304: The NAS sends the downlink bandwidth information of the AN's access line to the AAA server. For example, the NAS may include the information in an authentication request message and send it to the AAA server.

305:AAA服务器判断本地是否分配了下行带宽信息,若是,执行步骤306,否则执行步骤307。305: The AAA server judges whether downlink bandwidth information is allocated locally, if yes, execute step 306, otherwise execute step 307.

306:AAA服务器比较本地分配的下行带宽信息和AN的接入线路下行带宽信息,将两者中的最小值,确定为最终生效的终端下行带宽信息。306: The AAA server compares the locally allocated downlink bandwidth information with the downlink bandwidth information of the AN's access line, and determines the minimum value of the two as the terminal downlink bandwidth information that takes effect finally.

307:AAA服务器将AN的接入线路下行带宽信息确定为最终生效的终端下行带宽信息。307: The AAA server determines the downlink bandwidth information of the access line of the AN as terminal downlink bandwidth information that takes effect finally.

AAA服务器可以将最终生效的终端下行带宽信息发送给NAS,例如,AAA服务器可以将最终生效的终端下行带宽信息通过认证接收报文发送给NAS。之后,NAS可以根据该最终生效的终端下行带宽信息,对终端进行带宽控制和流量调度,以减少网络拥塞和丢包,达到为更多终端提供更高质量服务的目的。The AAA server may send the final downlink bandwidth information of the terminal to the NAS. For example, the AAA server may send the final downlink bandwidth information of the terminal to the NAS through an authentication reception message. Afterwards, the NAS can perform bandwidth control and traffic scheduling on the terminal according to the finally effective downlink bandwidth information of the terminal, so as to reduce network congestion and packet loss, and achieve the purpose of providing higher quality services for more terminals.

其中,该最终生效的终端下行带宽信息可以是AAA服务器在认证接受报文中发送给NAS的。Wherein, the terminal downlink bandwidth information that finally takes effect may be sent to the NAS by the AAA server in the authentication acceptance message.

可选的,本实施例中可以在AAA服务器上配置开启或关闭功能,当配置成开启时,AAA服务器按照上述流程完成下行带宽值的配置;当配置成关闭时,AAA服务器可以按照现有技术完成下行带宽值的配置。Optionally, in this embodiment, the enable or disable function can be configured on the AAA server. When configured to be enabled, the AAA server completes the configuration of the downlink bandwidth value according to the above process; Complete the configuration of the downlink bandwidth value.

可见,由于所述上线报文是所述终端通过所述AN接入NAS时必然发送的报文,通过在所述上线报文中包含所述AN于所述终端连接的接入线路下行带宽信息,并通过所述上线报文将所述AN的所述接入线路的下行带宽信息传送到所述网络服务器,用于所述网络服务器合理的为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN侧的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。It can be seen that since the online message is a message that must be sent when the terminal accesses the NAS through the AN, by including the downlink bandwidth information of the access line connected to the terminal by the AN in the online message , and transmit the downlink bandwidth information of the access line of the AN to the network server through the online message, so that the network server can reasonably allocate the NAS for actual control and send the information to the network server The downlink bandwidth information of the terminal traffic. Therefore, the above technical solution can obtain the downlink bandwidth information of the AN side without adding additional messages and protocol interactions, and then can allocate the NAS for the Actual control of the appropriate downlink bandwidth of the traffic sent to the terminal can effectively solve the problem of packet loss of downlink traffic at the AN node, and at the same time effectively avoid the configuration brought about by deploying ANCP to realize downlink bandwidth adjustment in the prior art Complex, high-maintenance problems.

参见图4,本发明实施例提供了一种网络中下行带宽分配的方法,所述方法包括:Referring to Fig. 4, an embodiment of the present invention provides a method for allocating downlink bandwidth in a network, the method comprising:

410:AN接收终端通过所述AN接入NAS时发送的上线报文;410: The AN receives the online message sent when the terminal accesses the NAS through the AN;

420:所述AN在所述上线报文中添加所述AN与所述终端连接的接入线路下行带宽信息;420: The AN adds downlink bandwidth information of the access line connecting the AN to the terminal in the online message;

430:所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。430: The AN sends an online packet including the downlink bandwidth information of the access line of the AN to the network server, so that the network server provides the network server with the downlink bandwidth information of the access line of the AN at least according to the AN's downlink bandwidth information of the access line The NAS allocation is used to actually control the downlink bandwidth information sent to the terminal traffic.

可选地,根据所述终端采用的具体接入方式,所述上线报文可以为DHCP报文、DHCPV6报文或者PPPOE报文。例如,所述终端采用PPP拨号上网时,所述终端向所述AN发送的所述上线报文为PPPOE报文。Optionally, according to the specific access mode adopted by the terminal, the online message may be a DHCP message, a DHCPV6 message or a PPPOE message. For example, when the terminal uses PPP dial-up to access the Internet, the online message sent by the terminal to the AN is a PPPOE message.

可选地,所述AN在所述上线报文中添加所述AN与终端连接的接入线路下行带宽信息可以通过如下方式:Optionally, the AN may add the downlink bandwidth information of the access line connecting the AN to the terminal in the online message in the following manner:

当所述上线报文为DHCP报文时,所述AN在DHCP报文的选项option82中添加所述AN的所述接入线路下行带宽信息;或者,When the online message is a DHCP message, the AN adds the downlink bandwidth information of the access line of the AN to the option option82 of the DHCP message; or,

当所述上线报文为DHCPV6报文时,所述AN在DHCPV6报文的选项option18中添加所述AN的所述接入线路下行带宽信息;或者,When the online message is a DHCPV6 message, the AN adds the downlink bandwidth information of the access line of the AN to the option option18 of the DHCPV6 message; or,

当所述上线报文为PPPOE报文时,所述AN在PPPOE报文的选项0x105tag中添加所述AN的所述接入线路下行带宽信息。When the online message is a PPPOE message, the AN adds the downlink bandwidth information of the access line of the AN to the option 0x105tag of the PPPOE message.

可选地,所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息,包括:Optionally, the AN sends an online message containing the downlink bandwidth information of the access line of the AN to a network server, so that the network server at least according to the downlink bandwidth information of the AN's access line, provides Allocating downlink bandwidth information for actually controlling traffic sent to the terminal, including:

当所述网络服务器为所述NAS时,所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给所述NAS,以便所述NAS至少根据所述AN的接入线路下行带宽信息,为所述NAS分配用于下行流量控制的下行带宽信息;或者,When the network server is the NAS, the AN sends an online packet containing the downlink bandwidth information of the access line of the AN to the NAS, so that the NAS at least according to the access of the AN Line downlink bandwidth information, assigning downlink bandwidth information for downlink traffic control to the NAS; or,

当所述网络服务器为AAA时,所述AN将包含所述AN的所述接入线路下行带宽信息的上线报文发送给所述NAS,并由所述NAS将包含所述AN的所述接入线路的认证报文发送给所述AAA服务器,以便所述AAA服务器至少根据所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。When the network server is AAA, the AN sends an online packet containing the downlink bandwidth information of the AN's access line to the NAS, and the NAS sends the The authentication message of the incoming line is sent to the AAA server, so that the AAA server allocates to the NAS at least according to the downlink bandwidth information of the access line of the AN for actually controlling the downlink traffic sent to the terminal bandwidth information.

可见,所述AN通过在所述上线报文中包含所述AN于所述终端连接的接入线路下行带宽信息,并通过所述上线报文将所述AN的所述接入线路的下行带宽信息传送到所述网络服务器,以便于所述网络服务器合理的为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN侧的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。It can be seen that the AN includes the downlink bandwidth information of the access line connected to the terminal by the AN in the online message, and sets the downlink bandwidth of the access line of the AN through the online message. The information is sent to the network server so that the network server can reasonably allocate downlink bandwidth information for the NAS to actually control the traffic sent to the terminal. Therefore, the above technical solution can be implemented without adding additional messages and protocols In the case of interaction, the NAS can learn the downlink bandwidth information on the AN side, and then can allocate an appropriate downlink bandwidth for the NAS to actually control the traffic sent to the terminal, which can effectively solve the problem of the downlink traffic being sent to the terminal. The problem of packet loss of the AN node can effectively avoid the problem of complex configuration and high maintenance cost caused by deploying ANCP to realize downlink bandwidth adjustment in the prior art.

参见图5,本发明实施例提供了一种网络中下行带宽分配的网络服务器50的结构示意图,所述网络服务器50包括:Referring to FIG. 5 , an embodiment of the present invention provides a schematic structural diagram of a network server 50 for downlink bandwidth allocation in a network, and the network server 50 includes:

获取单元51,用于获取AN与终端连接的接入线路下行带宽信息,所述AN的所述接入线路下行带宽信息是所述AN接收到终端在通过所述AN接入网络NAS时发送的上线报文时,添加到所述上线报文中的;The obtaining unit 51 is configured to obtain the downlink bandwidth information of the access line connected between the AN and the terminal, the downlink bandwidth information of the access line of the AN is received by the AN and sent by the terminal when accessing the network NAS through the AN When the online message is added to the online message;

分配单元52,用于至少根据所述获取单元51获取的所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。The allocating unit 52 is configured to allocate downlink bandwidth information for actually controlling traffic sent to the terminal to the NAS according to at least the downlink bandwidth information of the access line of the AN acquired by the acquiring unit 51 .

可选地,根据所述终端采用的具体接入方式,所述上线报文可以为DHCP报文、DHCPV6报文或者PPPOE报文。例如,所述终端采用PPP拨号上网时,所述终端向所述AN发送的所述上线报文为PPPOE报文。Optionally, according to the specific access mode adopted by the terminal, the online message may be a DHCP message, a DHCPV6 message or a PPPOE message. For example, when the terminal uses PPP dial-up to access the Internet, the online message sent by the terminal to the AN is a PPPOE message.

可选地,所述AN在所述上线报文中添加所述AN与终端连接的接入线路下行带宽信息可以通过如下方式:Optionally, the AN may add the downlink bandwidth information of the access line connecting the AN to the terminal in the online message in the following manner:

当所述上线报文为DHCP报文时,所述AN在DHCP报文的选项option82中添加所述AN的所述接入线路下行带宽信息;或者,When the online message is a DHCP message, the AN adds the downlink bandwidth information of the access line of the AN to the option option82 of the DHCP message; or,

当所述上线报文为DHCPV6报文时,所述AN在DHCPV6报文的选项option18中添加所述AN的所述接入线路下行带宽信息;或者,When the online message is a DHCPV6 message, the AN adds the downlink bandwidth information of the access line of the AN to the option option18 of the DHCPV6 message; or,

当所述上线报文为PPPOE报文时,所述AN在PPPOE报文的选项0x105tag中添加所述AN的所述接入线路下行带宽信息。When the online message is a PPPOE message, the AN adds the downlink bandwidth information of the access line of the AN to the option 0x105tag of the PPPOE message.

可选地,所述网络服务器50为所述NAS,所述获取单元51通过接收所述AN发送的包含所述AN的接入线路下行带宽信息的所述上线报文,获取所述AN的接入线路下行带宽信息。Optionally, the network server 50 is the NAS, and the acquiring unit 51 acquires the access link of the AN by receiving the online message containing the downlink bandwidth information of the access line of the AN sent by the AN. Incoming line downlink bandwidth information.

可选地,参见图5A,所述分配单元52还包括:Optionally, referring to FIG. 5A, the distribution unit 52 further includes:

收发子单元53,用于向AAA服务器发送认证报文,并接收所述AAA服务器发送的对应所述认证报文的认证接受报文;The sending and receiving subunit 53 is configured to send an authentication message to the AAA server, and receive an authentication acceptance message corresponding to the authentication message sent by the AAA server;

判断子单元54,用于判断所述收发子单元53接收的所述认证接受报文中是否包含所述AAA服务器为所述终端分配的下行带宽信息;A judging subunit 54, configured to judge whether the authentication acceptance message received by the transceiving subunit 53 includes downlink bandwidth information allocated by the AAA server to the terminal;

确定子单元55,用于根据所述判断子单元54的判断结果和所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。The determination subunit 55 is configured to determine the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal according to the judgment result of the judgment subunit 54 and the downlink bandwidth information of the access line of the AN .

可选地,当所述判断子单元54判断所述认证接受报文中包含所述AAA服务器为所述终端分配的下行带宽信息时,Optionally, when the judging subunit 54 judges that the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server to the terminal,

所述确定子单元55将所述AAA服务器为所述终端分配的下行带宽信息与所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The determining subunit 55 determines the minimum value of the downlink bandwidth information allocated by the AAA server to the terminal and the downlink bandwidth information of the access line of the AN as the actual control sent to the NAS Downlink bandwidth information of the terminal traffic; or,

当所述判断子单元54判断所述认证接受报文中不包含所述AAA服务器为所述终端分配的下行带宽信息时,判断所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息,When the judging subunit 54 judges that the authentication acceptance message does not contain the downlink bandwidth information allocated by the AAA server to the terminal, it judges whether the NAS is configured locally to control the downlink bandwidth sent to the terminal traffic information,

所述确定子单元55根据所述判断子单元判断的所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息的判断结果,以及所述AN的所述接入线路下行带宽信息,确定所述NAS的用于下行流量控制的下行带宽信息。The determination subunit 55 determines whether the NAS is locally configured with downlink bandwidth information for controlling traffic sent to the terminal according to the determination subunit, and the downlink bandwidth information of the access line of the AN, Determine downlink bandwidth information for downlink traffic control of the NAS.

可选地,当所述判断子单元54判断所述NAS本地配置控制发送到所述终端流量的下行带宽信息时,Optionally, when the judging subunit 54 judges that the NAS local configuration controls the downlink bandwidth information sent to the terminal traffic,

所述确定子单元55将所述本地配置的控制发送到所述终端流量的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The determining subunit 55 determines the minimum value among the downlink bandwidth information of the terminal traffic sent to the terminal traffic controlled by the local configuration and the downlink bandwidth information of the access line of the AN, and determines it as the actual control the downlink bandwidth information sent to the terminal traffic; or,

当所述判断子单元54判断所述NAS本地没有配置控制发送到所述终端流量的下行带宽信息时,所述确定子单元55将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the judging subunit 54 judges that the NAS is not configured locally to control the downlink bandwidth information sent to the terminal traffic, the determining subunit 55 determines the downlink bandwidth information of the access line of the AN as the The downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal.

可选地,所述网络服务器50为AAA服务器,Optionally, the network server 50 is an AAA server,

所述获取单元51通过通过接收所述NAS发送的包含所述AN的所述接入线路下行带宽信息的认证报文,获取所述上线报文携带的所述AN的所述接入线路下行带宽信息。The acquiring unit 51 acquires the downlink bandwidth of the access line of the AN carried in the online message by receiving an authentication message sent by the NAS that includes the downlink bandwidth information of the access line of the AN information.

可选地,参见图5B,所述分配单元52还包括判断子单元56和确定子单元57,其中,Optionally, referring to FIG. 5B, the allocating unit 52 further includes a judging subunit 56 and a determining subunit 57, wherein,

所述判断子单元56,用于判断所述AAA服务器本地是否配置了用于控制发送到所述终端流量的下行带宽信息时;The judging subunit 56 is configured to judge whether the AAA server is locally configured with downlink bandwidth information for controlling traffic sent to the terminal;

确定子单元57,用于当所述判断子单元56判断所述AAA服务器本地配置了用于控制发送到所述终端流量的下行带宽信息时,将所述本地配置的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The determining subunit 57 is configured to combine the locally configured downlink bandwidth information and the AN The minimum value in the downlink bandwidth information of the access line is determined as the downlink bandwidth information of the NAS used to actually control the traffic sent to the terminal; or,

当所述判断子单元56判断所述AAA服务器在本地没有配置用于控制发送到所述终端流量的下行带宽信息时,所述确定子单元57将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;When the judging subunit 56 judges that the AAA server does not locally configure the downlink bandwidth information used to control the traffic sent to the terminal, the determining subunit 57 sends the downlink bandwidth information of the access line of the AN to , determined as the downlink bandwidth information of the NAS used to actually control traffic sent to the terminal;

相应地,所述网络服务器50还包括发送单元58,Correspondingly, the network server 50 also includes a sending unit 58,

所述发送单元58,用于向所述NAS发送认证接受报文,所述认证接收报文包含为所述NAS确定的所述实际控制发送到所述终端流量的下行带宽信息。The sending unit 58 is configured to send an authentication acceptance message to the NAS, where the authentication acceptance message includes the downlink bandwidth information determined for the NAS to actually control traffic sent to the terminal.

可见,通过本发明实施例提供的所述网络服务器50,由于所述网络服务器50接收的所述上线报文是所述终端通过所述AN接入NAS时必然发送的报文,通过在所述上线报文中包含所述AN于所述终端连接的接入线路下行带宽信息,所述网络服务器50可以合理的为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN侧的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。It can be seen that through the network server 50 provided by the embodiment of the present invention, since the online message received by the network server 50 is a message that the terminal must send when accessing the NAS through the AN, through the The online message includes the downlink bandwidth information of the access line connected to the terminal by the AN, and the network server 50 can reasonably allocate the downlink bandwidth information for the NAS to actually control the traffic sent to the terminal, so In the above technical solution, the NAS can obtain the downlink bandwidth information on the AN side without adding additional messages and protocol interactions, and then can allocate the NAS to actually control the traffic sent to the terminal The appropriate downlink bandwidth can effectively solve the problem of downlink traffic packet loss at the AN node, and at the same time effectively avoid the problems of complex configuration and high maintenance cost caused by deploying ANCP to realize downlink bandwidth adjustment in the prior art.

参见图6,本发明实施例还提供了一种网络中下行带宽分配的AN60,所述AN60包括:Referring to Fig. 6, the embodiment of the present invention also provides an AN60 for downlink bandwidth allocation in the network, and the AN60 includes:

接收单元61,用于接收终端通过所述AN接入网络NAS时发送的上线报文;A receiving unit 61, configured to receive an online message sent when the terminal accesses the network NAS through the AN;

添加单元62,用于在所述接收单元61接收的所述上线报文中添加所述AN与所述终端连接的接入线路下行带宽信息;Adding unit 62, configured to add downlink bandwidth information of the access line connecting the AN to the terminal in the online message received by the receiving unit 61;

发送单元63,用于将所述添加单元62添加所述AN的所述接入线路下行带宽信息后的所述上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息。A sending unit 63, configured to send the online message after the adding unit 62 adds the downlink bandwidth information of the access line of the AN to a network server, so that the network server at least according to the access link of the AN The line downlink bandwidth information is allocated to the NAS for actually controlling the downlink bandwidth information sent to the terminal traffic.

可选地,根据所述终端采用的具体接入方式,所述上线报文可以为DHCP报文、DHCPV6报文或者PPPOE报文。例如,所述终端采用PPP拨号上网时,所述终端向所述AN发送的所述上线报文为PPPOE报文。Optionally, according to the specific access mode adopted by the terminal, the online message may be a DHCP message, a DHCPV6 message or a PPPOE message. For example, when the terminal uses PPP dial-up to access the Internet, the online message sent by the terminal to the AN is a PPPOE message.

可选地,所述AN60在所述上线报文中添加所述AN60与终端连接的接入线路下行带宽信息可以通过如下方式:Optionally, the AN60 may add the downlink bandwidth information of the access line connected to the terminal between the AN60 and the terminal in the online message in the following manner:

当所述上线报文为DHCP报文时,所述AN60在DHCP报文的选项option82中添加所述AN60的所述接入线路下行带宽信息;或者,When the online message is a DHCP message, the AN60 adds the downlink bandwidth information of the access line of the AN60 to the option option82 of the DHCP message; or,

当所述上线报文为DHCPV6报文时,所述AN60在DHCPV6报文的选项option18中添加所述AN60的所述接入线路下行带宽信息;或者,When the online message is a DHCPV6 message, the AN60 adds the downlink bandwidth information of the access line of the AN60 to the option option18 of the DHCPV6 message; or,

当所述上线报文为PPPOE报文时,所述AN60在PPPOE报文的选项0x105tag中添加所述AN60的所述接入线路下行带宽信息。When the online message is a PPPOE message, the AN60 adds the downlink bandwidth information of the access line of the AN60 to the option 0x105tag of the PPPOE message.

可选地,当所述网络服务器为所述NAS时,所述发送单元63将包含所述AN60的所述接入线路下行带宽信息的上线报文发送给所述NAS,以便所述NAS至少根据所述AN60的接入线路下行带宽信息,为所述NAS分配用于下行流量控制的下行带宽信息;或者,Optionally, when the network server is the NAS, the sending unit 63 sends an online message containing the downlink bandwidth information of the access line of the AN60 to the NAS, so that the NAS at least according to The downlink bandwidth information of the access line of the AN60 is used to allocate downlink bandwidth information for downlink traffic control to the NAS; or,

当所述网络服务器为AAA服务器时,将包含所述AN60的所述接入线路下行带宽信息的上线报文发送给所述NAS,并由所述NAS将包含所述AN的所述接入线路的认证报文发送所述AAA服务器,以便所述AAA服务器至少根据所述AN60的接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。When the network server is an AAA server, send an online message containing the downlink bandwidth information of the access line of the AN60 to the NAS, and the NAS sends the access line containing the AN The authentication message is sent to the AAA server, so that the AAA server allocates downlink bandwidth information for the NAS to actually control the traffic sent to the terminal according to at least the downlink bandwidth information of the access line of the AN60.

可见,通过本发明实施例提供的所述AN60,所述AN60通过在所述上线报文中包含所述AN60于所述终端连接的接入线路下行带宽信息,并通过所述上线报文将所述AN60的所述接入线路的下行带宽信息传送到所述网络服务器,以便于所述网络服务器合理的为所述AN侧的下行带宽信息,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN60的所述接入线路的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN60节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。It can be seen that through the AN60 provided by the embodiment of the present invention, the AN60 includes the downlink bandwidth information of the access line connected to the terminal by the AN60 in the online message, and transmits the information of the access line connected to the terminal through the online message. The downlink bandwidth information of the access line of the AN60 is transmitted to the network server, so that the network server can reasonably provide the downlink bandwidth information of the AN side. Therefore, the above technical solution can be implemented without adding additional messages and In the case of protocol interaction, the NAS can learn the downlink bandwidth information of the access line of the AN60, and then can allocate an appropriate downlink bandwidth for the NAS to actually control the traffic sent to the terminal, which can It effectively solves the problem of packet loss of downlink traffic at the AN60 node, and at the same time effectively avoids the problems of complicated configuration and high maintenance cost caused by deploying ANCP to realize downlink bandwidth adjustment in the prior art.

参见图7,本发明实施例提供了一种网络中下行带宽分配的网络服务器70的结构示意图,所述网络服务器70包括:Referring to FIG. 7 , an embodiment of the present invention provides a schematic structural diagram of a network server 70 for downlink bandwidth allocation in a network. The network server 70 includes:

解析器71,用于获取AN与终端连接的接入线路下行带宽信息,所述AN的所述接入线路下行带宽信息是所述AN接收到终端在通过所述AN接入NAS时发送的上线报文时,添加到所述上线报文中的;The parser 71 is configured to acquire the downlink bandwidth information of the access line connecting the AN to the terminal, the downlink bandwidth information of the access line of the AN is the uplink information sent by the AN when the terminal accesses the NAS through the AN. message, added to the online message;

处理器72,用于至少根据所述解析器71获取的所述AN的所述接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。The processor 72 is configured to assign to the NAS at least according to the downlink bandwidth information of the access line of the AN acquired by the parser 71 , downlink bandwidth information for actually controlling traffic sent to the terminal.

可选地,根据所述终端采用的具体接入方式,所述上线报文可以为DHCP报文、DHCPV6报文或者PPPOE报文。例如,所述终端采用PPP拨号上网时,所述终端向所述AN发送的所述上线报文为PPPOE报文。Optionally, according to the specific access mode adopted by the terminal, the online message may be a DHCP message, a DHCPV6 message or a PPPOE message. For example, when the terminal uses PPP dial-up to access the Internet, the online message sent by the terminal to the AN is a PPPOE message.

可选地,所述AN在所述上线报文中添加所述AN与终端连接的接入线路下行带宽信息可以通过如下方式:Optionally, the AN may add the downlink bandwidth information of the access line connecting the AN to the terminal in the online message in the following manner:

当所述上线报文为DHCP报文时,所述AN在DHCP报文的选项option82中添加所述AN的所述接入线路下行带宽信息;或者,When the online message is a DHCP message, the AN adds the downlink bandwidth information of the access line of the AN to the option option82 of the DHCP message; or,

当所述上线报文为DHCPV6报文时,所述AN在DHCPV6报文的选项option18中添加所述AN的所述接入线路下行带宽信息;或者,When the online message is a DHCPV6 message, the AN adds the downlink bandwidth information of the access line of the AN to the option option18 of the DHCPV6 message; or,

当所述上线报文为PPPOE报文时,所述AN在PPPOE报文的选项0x105tag中添加所述AN的所述接入线路下行带宽信息。When the online message is a PPPOE message, the AN adds the downlink bandwidth information of the access line of the AN to the option 0x105tag of the PPPOE message.

可选地,所述网络服务器70为所述NAS,参见图7A,所述网络服务器70还包括:接收器73,用于接收所述AN发送的包含所述AN的接入线路下行带宽信息的所述上线报文;Optionally, the network server 70 is the NAS. Referring to FIG. 7A, the network server 70 further includes: a receiver 73, configured to receive the downlink bandwidth information of the access line of the AN sent by the AN. The online message;

所述解析器71通过所述接收器73接收的所述上线报文获取所述AN的接入线路下行带宽信息。The parser 71 obtains the downlink bandwidth information of the access line of the AN through the online message received by the receiver 73 .

可选地,所述网络服务器70还包括:Optionally, the network server 70 also includes:

发送器74,用于向AAA服务器发送认证报文;A sender 74, configured to send an authentication message to the AAA server;

所述接收器73还用于接收所述AAA服务器发送的对应所述认证报文的认证接受报文;The receiver 73 is further configured to receive an authentication acceptance message corresponding to the authentication message sent by the AAA server;

当所述处理器72还用于判断所述接收器73接收的所述认证接受报文中是否包含所述AAA服务器为所述终端分配的下行带宽信息;When the processor 72 is further configured to determine whether the authentication acceptance message received by the receiver 73 includes the downlink bandwidth information allocated by the AAA server to the terminal;

所述处理器72还用于根据所述判断的结果和所述AN的所述接入线路下行带宽信息,确定所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。The processor 72 is further configured to determine downlink bandwidth information of the NAS for actually controlling traffic sent to the terminal according to the judgment result and the downlink bandwidth information of the access line of the AN.

可选地,当所述处理器器72判断所述认证接受报文中包含所述AAA服务器为所述终端分配的下行带宽信息时,Optionally, when the processor 72 judges that the authentication acceptance message contains the downlink bandwidth information allocated by the AAA server to the terminal,

所述处理器72将所述AAA服务器为所述终端分配的下行带宽信息与所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The processor 72 determines the minimum value of the downlink bandwidth information allocated by the AAA server to the terminal and the downlink bandwidth information of the access line of the AN as the NAS for actual control and sends it to the the downlink bandwidth information of the terminal traffic; or,

当所述处理器72判断所述认证接受报文中不包含所述AAA服务器为所述终端分配的下行带宽信息时,判断所述NAS本地是否配置了控制发送到所述终端流量的下行带宽信息,When the processor 72 determines that the authentication acceptance message does not contain the downlink bandwidth information allocated by the AAA server to the terminal, determine whether the NAS is locally configured with downlink bandwidth information that controls traffic sent to the terminal ,

所述处理器72还根据所述判断的结果,以及所述AN的所述接入线路下行带宽信息,确定所述NAS的用于下行流量控制的下行带宽信息。The processor 72 also determines downlink bandwidth information for downlink traffic control of the NAS according to the judgment result and the downlink bandwidth information of the access line of the AN.

可选地,当所述处理器72判断所述NAS本地配置控制发送到所述终端流量的下行带宽信息时,Optionally, when the processor 72 determines that the NAS local configuration controls the downlink bandwidth information sent to the terminal traffic,

所述处理器72将所述本地配置的控制发送到所述终端流量的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,The processor 72 sends the control of the local configuration to the minimum value of the downlink bandwidth information of the terminal traffic and the downlink bandwidth information of the access line of the AN, and determines it as the actual control of the NAS Downlink bandwidth information sent to the terminal traffic; or,

当所述处理器72判断所述NAS本地没有配置控制发送到所述终端流量的下行带宽信息时,所述处理器72将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息。When the processor 72 determines that the NAS is not configured locally to control the downlink bandwidth information sent to the terminal traffic, the processor 72 determines the downlink bandwidth information of the access line of the AN as the NAS The downlink bandwidth information used to actually control the traffic sent to the terminal.

可选地,所述网络服务器70为AAA服务器,参见图7B,所述网络服务器70还包括:Optionally, the network server 70 is an AAA server. Referring to FIG. 7B, the network server 70 also includes:

接收器75,用于接收所述NAS发送的包含所述AN的所述接入线路下行带宽信息的认证报文;The receiver 75 is configured to receive an authentication message sent by the NAS and including the downlink bandwidth information of the access line of the AN;

所述解析器71通过所述接收器75接收的所述认证报文获取所述AN的所述接入线路下行带宽信息。The parser 71 acquires the downlink bandwidth information of the access line of the AN through the authentication message received by the receiver 75 .

可选地,所述处理器72还用于判断所述AAA服务器本地是否配置了用于控制发送到所述终端流量的下行带宽信息,当判断所述AAA服务器本地配置了用于控制发送到所述终端流量的下行带宽信息时,将所述本地配置的下行带宽信息和所述AN的所述接入线路下行带宽信息中的最小值,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;或者,Optionally, the processor 72 is also configured to determine whether the AAA server has configured locally the downlink bandwidth information used to control traffic sent to the terminal; When the downlink bandwidth information of the terminal traffic is determined, the minimum value of the locally configured downlink bandwidth information and the downlink bandwidth information of the access line of the AN is determined as the actual control sent by the NAS to the Downlink bandwidth information of terminal traffic; or,

当所述处理器72判断所述AAA服务器在本地没有配置用于控制发送到所述终端流量的下行带宽信息时,将所述AN的所述接入线路下行带宽信息,确定为所述NAS的用于实际控制发送到所述终端流量的下行带宽信息;When the processor 72 judges that the AAA server has not locally configured the downlink bandwidth information used to control the traffic sent to the terminal, determine the downlink bandwidth information of the access line of the AN as the NAS Downlink bandwidth information used to actually control traffic sent to the terminal;

相应地,所述网络服务器70还包括:Correspondingly, the network server 70 also includes:

发送器76,用于向所述NAS发送认证接受报文,所述认证接收报文包含为所述NAS确定的所述实际控制发送到所述终端流量的下行带宽信息。The transmitter 76 is configured to send an authentication acceptance message to the NAS, where the authentication acceptance message includes the downlink bandwidth information determined for the NAS to actually control the traffic sent to the terminal.

可见,通过本发明实施例提供的所述网络服务器70,由于所述网络服务器70接收的所述上线报文是所述终端通过所述AN接入NAS时必然发送的报文,通过在所述上线报文中包含所述AN于所述终端连接的接入线路下行带宽信息,所述网络服务器70可以合理的为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN侧的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。It can be seen that through the network server 70 provided by the embodiment of the present invention, since the online message received by the network server 70 is a message that the terminal must send when accessing the NAS through the AN, through the The online message includes the downlink bandwidth information of the access line that the AN is connected to the terminal, and the network server 70 can reasonably allocate the downlink bandwidth information for the NAS to actually control the traffic sent to the terminal, so In the above technical solution, the NAS can obtain the downlink bandwidth information on the AN side without adding additional messages and protocol interactions, and then can allocate the NAS to actually control the traffic sent to the terminal The appropriate downlink bandwidth can effectively solve the problem of downlink traffic packet loss at the AN node, and at the same time effectively avoid the problems of complex configuration and high maintenance cost caused by deploying ANCP to realize downlink bandwidth adjustment in the prior art.

参见图8,本发明实施例还提供了一种网络中下行带宽分配的AN80,所述AN80包括:Referring to FIG. 8, an embodiment of the present invention also provides an AN80 for downlink bandwidth allocation in a network, and the AN80 includes:

接收器81,用于接收终端通过所述AN接入网络NAS时发送的上线报文;A receiver 81, configured to receive an online message sent when the terminal accesses the network NAS through the AN;

处理器82,用于在所述接收器81接收的所述上线报文中添加所述AN与所述终端连接的接入线路下行带宽信息;A processor 82, configured to add downlink bandwidth information of the access line connecting the AN to the terminal in the online message received by the receiver 81;

发送器83,用于将所述处理器82添加了所述AN的所述接入线路下行带宽信息后的所述上线报文发送给网络服务器,以便所述网络服务器至少根据所述AN的接入线路下行带宽信息,为NAS分配用于实际控制发送到所述终端流量的下行带宽信息。The sender 83 is configured to send the online message after the processor 82 has added the downlink bandwidth information of the access line of the AN to a network server, so that the network server at least according to the access line information of the AN The downlink bandwidth information of the incoming line is allocated to the NAS for actually controlling the downlink bandwidth information sent to the terminal traffic.

可选地,根据所述终端采用的具体接入方式,所述上线报文可以为DHCP报文、DHCPV6报文或者PPPOE报文。例如,所述终端采用PPP拨号上网时,所述终端向所述AN发送的所述上线报文为PPPOE报文。Optionally, according to the specific access mode adopted by the terminal, the online message may be a DHCP message, a DHCPV6 message or a PPPOE message. For example, when the terminal uses PPP dial-up to access the Internet, the online message sent by the terminal to the AN is a PPPOE message.

可选地,所述AN80在所述上线报文中添加所述AN80与终端连接的接入线路下行带宽信息可以通过如下方式:Optionally, the AN80 may add the downlink bandwidth information of the access line connected to the terminal between the AN80 and the terminal in the online message in the following manner:

当所述上线报文为DHCP报文时,所述AN80在DHCP报文的选项option82中添加所述AN80的所述接入线路下行带宽信息;或者,When the online message is a DHCP message, the AN80 adds the downlink bandwidth information of the access line of the AN80 to the option option82 of the DHCP message; or,

当所述上线报文为DHCPV6报文时,所述AN80在DHCPV6报文的选项option18中添加所述AN80的所述接入线路下行带宽信息;或者,When the online message is a DHCPV6 message, the AN80 adds the downlink bandwidth information of the access line of the AN80 to the option option18 of the DHCPV6 message; or,

当所述上线报文为PPPOE报文时,所述AN80在PPPOE报文的选项0x105tag中添加所述AN80的所述接入线路下行带宽信息。When the online message is a PPPOE message, the AN80 adds the downlink bandwidth information of the access line of the AN80 to the option 0x105tag of the PPPOE message.

可选地,当所述网络服务器为所述NAS时,所述发送器83将包含所述AN80的所述接入线路下行带宽信息的上线报文发送给所述NAS,以便所述NAS至少根据所述AN80的接入线路下行带宽信息,为所述NAS分配用于下行流量控制的下行带宽信息;或者,Optionally, when the network server is the NAS, the sender 83 sends an online message containing the downlink bandwidth information of the access line of the AN80 to the NAS, so that the NAS at least according to The downlink bandwidth information of the access line of the AN80 is used to allocate downlink bandwidth information for downlink flow control to the NAS; or,

当所述网络服务器为AAA服务器时,将包含所述AN80的所述接入线路下行带宽信息的上线报文发送给所述NAS,并由所述NAS将包含所述AN80的所述接入线路的认证报文发送所述AAA服务器,以便所述AAA服务器至少根据所述AN80的接入线路下行带宽信息,为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息。When the network server is an AAA server, send an online message containing the downlink bandwidth information of the access line of the AN80 to the NAS, and the NAS sends the access line containing the AN80 The authentication message is sent to the AAA server, so that the AAA server allocates downlink bandwidth information for the NAS to actually control the traffic sent to the terminal according to at least the downlink bandwidth information of the access line of the AN80.

可见,通过本发明实施例提供的所述AN80,所述AN80通过在所述上线报文中包含所述AN80于所述终端连接的接入线路下行带宽信息,并通过所述上线报文将所述AN80的所述接入线路的下行带宽信息传送到所述网络服务器,以便于所述网络服务器合理的为所述NAS分配用于实际控制发送到所述终端流量的下行带宽信息,因此,上述技术方案可以在不增加额外报文和协议交互的情况下,所述NAS就可以获知所述AN80侧的下行带宽信息,进而可以为所述NAS分配用于实际控制发送到所述终端流量的合适的下行带宽,能够有效的解决下行流量在所述AN80节点丢包的问题,同时还有效的避免现有技术中通过部署ANCP实现下行带宽调整带来的配置复杂、维护成本高的问题。It can be seen that, through the AN80 provided by the embodiment of the present invention, the AN80 includes the downlink bandwidth information of the access line connected to the terminal by the AN80 in the online message, and transmits the information about the downlink bandwidth of the access line connected to the terminal through the online message. The downlink bandwidth information of the access line of the AN80 is transmitted to the network server, so that the network server reasonably allocates the downlink bandwidth information for the NAS to actually control the traffic sent to the terminal. Therefore, the above The technical solution is that the NAS can know the downlink bandwidth information on the AN80 side without adding additional messages and protocol interactions, and then can allocate a suitable bandwidth for actually controlling the traffic sent to the terminal for the NAS. The downlink bandwidth can effectively solve the problem of downlink traffic packet loss at the AN80 node, and at the same time effectively avoid the problems of complicated configuration and high maintenance cost caused by deploying ANCP to realize downlink bandwidth adjustment in the prior art.

其中,上述接收器75与发送器74可以为合设在一起具备发送功能和接收功能的设备,上述接收器81与发送器83也可以为合设在一起具备发送功能和接收功能的设备,所述具备发送功能和接收功能的设备可以采用网线、光纤、天线实现,天线可以是线性天线、环形天线、阵列天线等。Wherein, above-mentioned receiver 75 and transmitter 74 can be the equipment that is arranged together with sending function and receiving function, and above-mentioned receiver 81 and transmitter 83 also can be the equipment that is set together and have sending function and receiving function, so The above-mentioned devices with sending and receiving functions can be realized by network cables, optical fibers, and antennas, and the antennas can be linear antennas, loop antennas, array antennas, and the like.

上述的处理器72或处理器82可以是中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gata Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor 72 or processor 82 may be a central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a ready-made programmable gate Array (Field Programmable Gata Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读存储器(Read-Only Memory,英文简称为ROM)、随机访问内存(Random-Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the execution includes: The steps of the foregoing method embodiment; and the aforementioned storage medium includes: various storage media such as read-only memory (Read-Only Memory, referred to as ROM in English), random-access memory (Random-Access Memory, RAM), magnetic disk or optical disc, etc. medium for program code.

最后应说明的是:以上实施例仅用以示例性说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明及本发明带来的有益效果进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明权利要求的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention and the beneficial effects brought by the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art Those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the present invention Scope of Claims.

Claims (4)

CN201210370495.8A2012-09-282012-09-28Method, network server and access network (AN) for downlink bandwidth allocation in networkActiveCN102905318B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210370495.8ACN102905318B (en)2012-09-282012-09-28Method, network server and access network (AN) for downlink bandwidth allocation in network

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210370495.8ACN102905318B (en)2012-09-282012-09-28Method, network server and access network (AN) for downlink bandwidth allocation in network

Publications (2)

Publication NumberPublication Date
CN102905318A CN102905318A (en)2013-01-30
CN102905318Btrue CN102905318B (en)2015-05-27

Family

ID=47577306

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210370495.8AActiveCN102905318B (en)2012-09-282012-09-28Method, network server and access network (AN) for downlink bandwidth allocation in network

Country Status (1)

CountryLink
CN (1)CN102905318B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101098318A (en)*2006-06-292008-01-02中兴通讯股份有限公司Method for transmitting access line channel information between network appliances
CN101207508A (en)*2006-12-192008-06-25中兴通讯股份有限公司System and method for implementation of optical network band width distribution according to need
CN101217783A (en)*2007-12-292008-07-09华为技术有限公司 Method and device for controlling user access to network
EP2276283A1 (en)*2008-04-302011-01-19Alcatel LucentA method for bandwidth requst and allocation in wireless communication system and an apparatus thereof
CN102201968A (en)*2010-03-252011-09-28华为技术有限公司Method, device and system for distributing user bandwidth in Internet protocol television (IPTV)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101098318A (en)*2006-06-292008-01-02中兴通讯股份有限公司Method for transmitting access line channel information between network appliances
CN101207508A (en)*2006-12-192008-06-25中兴通讯股份有限公司System and method for implementation of optical network band width distribution according to need
CN101217783A (en)*2007-12-292008-07-09华为技术有限公司 Method and device for controlling user access to network
EP2276283A1 (en)*2008-04-302011-01-19Alcatel LucentA method for bandwidth requst and allocation in wireless communication system and an apparatus thereof
CN102201968A (en)*2010-03-252011-09-28华为技术有限公司Method, device and system for distributing user bandwidth in Internet protocol television (IPTV)

Also Published As

Publication numberPublication date
CN102905318A (en)2013-01-30

Similar Documents

PublicationPublication DateTitle
US12010592B2 (en)Sidelink communications method and apparatus
US11032105B2 (en)Method for implementing GRE tunnel, home gateway and aggregation gateway
CN110838899B (en)Direct communication link resource allocation method and terminal
TWI660610B (en)A resource allocation method of a wireless communication system and equipment and system thereof
US20110113146A1 (en)Dynamic quality of service (qos) setup over wired and wireless networks
JP2020511083A (en) Service quality control method and device, SMF, UPF, UE, PCF and AN
US11902849B2 (en)Methods and apparatus for supporting quality of service in a system including a cable modem termination system and wireless communications link
US10411994B2 (en)Multi-link convergence method, server, client, and system
CN113747513A (en)Service quality management method and device
US9750011B2 (en)Resource allocation method, apparatus, and system in fixed broadband network
KR20180070710A (en)Service layer southbound interface and quality of service
US9331914B2 (en)Service specific bandwidth policy configuration in data networks
KR20160076163A (en)Method and apparatus for providing differentiated transmitting services
CN102195851A (en)Load sharing method, system and access server
US20240275887A1 (en)Congestion control method and apparatus, device, medium, chip, product, and program
CN105325043A (en)Bearer setup apparatus and method
CN113825251A (en) Session establishment method, device, system and computer storage medium
CN107027151B (en)Method and device for ensuring service quality
CN103501282B (en)Network message sending control method, virtual switch and physical machine
JP4564491B2 (en) Access control method and system
WO2023202467A1 (en)Network configuration method and apparatus
CN107211400B (en) Network admission control method, access point and access controller
WO2019097599A1 (en)Radio communication system and access control method
US20120254393A1 (en)Device management method, device management apparatus, and device management system
CN102905318B (en)Method, network server and access network (AN) for downlink bandwidth allocation in network

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20200618

Address after:214000 5003-4, No. 313, Guangyi Road, Liangxi District, Wuxi City, Jiangsu Province

Patentee after:Jiangsu yifanchuang Technology Co.,Ltd.

Address before:625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee before:SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Effective date of registration:20200618

Address after:625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee after:SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Address before:518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before:HUAWEI TECHNOLOGIES Co.,Ltd.

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20211130

Address after:226000 building B9, Tongji Science Park, 159 Xinsheng Road, Chongchuan District, Nantong City, Jiangsu Province

Patentee after:Zhoutuo information technology (Jiangsu) Co.,Ltd.

Address before:214000 5003-4, 313 Guangyi Road, Liangxi District, Wuxi City, Jiangsu Province

Patentee before:Jiangsu yifanchuang Technology Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp