Movatterモバイル変換


[0]ホーム

URL:


CN101662427B - Method, system and device for distributing and scheduling resource - Google Patents

Method, system and device for distributing and scheduling resource
Download PDF

Info

Publication number
CN101662427B
CN101662427BCN2009101902401ACN200910190240ACN101662427BCN 101662427 BCN101662427 BCN 101662427BCN 2009101902401 ACN2009101902401 ACN 2009101902401ACN 200910190240 ACN200910190240 ACN 200910190240ACN 101662427 BCN101662427 BCN 101662427B
Authority
CN
China
Prior art keywords
user terminal
message
service
business
transparent transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009101902401A
Other languages
Chinese (zh)
Other versions
CN101662427A (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.)
Global Innovation Polymerization LLC
Gw Partnership 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 CN2009101902401ApriorityCriticalpatent/CN101662427B/en
Publication of CN101662427ApublicationCriticalpatent/CN101662427A/en
Application grantedgrantedCritical
Publication of CN101662427BpublicationCriticalpatent/CN101662427B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明涉及通信领域,公开了一种分配调度资源的方法、系统及路由设备,通过使能用户侧PE设备(120)的监听功能,使所述用户侧PE设备(120)监听到用户终端(131)的业务认证通过回应报文,且判断出所述业务为用户终端(131)的第一个上线业务时,为所述用户终端(131)分配调度资源;当所述用户侧PE设备(120)监听到业务下线报文,且判断出所述业务为所述用户终端(131)的最后一个下线业务时,释放所述用户终端(131)的调度资源。利用本发明公开的方法,为同一用户终端的透传业务和非透传业务,动态分配统一的调度资源,实现了透传业务和非透传业务的统一调度,并提高了网络资源利用率。

Figure 200910190240

The present invention relates to the communication field, and discloses a method, system and routing device for allocating scheduling resources. By enabling the monitoring function of the user-side PE device (120), the user-side PE device (120) can monitor the user terminal ( 131) when the service authentication passes the response message, and it is determined that the service is the first online service of the user terminal (131), allocate scheduling resources for the user terminal (131); when the user-side PE device ( 120) When the service offline message is monitored, and it is determined that the service is the last offline service of the user terminal (131), release the scheduling resource of the user terminal (131). Utilizing the method disclosed in the invention, uniform scheduling resources are dynamically allocated for transparent transmission services and non-transparent transmission services of the same user terminal, thereby realizing unified scheduling of transparent transmission services and non-transparent transmission services, and improving network resource utilization.

Figure 200910190240

Description

Translated fromChinese
一种分配调度资源的方法、系统及路由设备A method, system and routing device for allocating and scheduling resources

技术领域technical field

本发明涉及通信领域,特别涉及一种分配调度资源的方法、系统及路由设备。The present invention relates to the communication field, in particular to a method, system and routing equipment for allocating and scheduling resources.

背景技术Background technique

如图1所示的组网拓扑中,用户侧PE设备120汇聚并透传用户终端131与用户终端132的业务,所有业务统一由宽带接入服务器110(BroadbandRemote Access Server,BRAS)进行用户管理及认证,由于用户规模越来越大,为减轻宽带接入服务器110的处理负担,将宽带接入服务器110的功能转移到用户侧PE设备120上实现,即采用分布式宽带接入服务器。In the networking topology shown in Figure 1, the user-side PE device 120 aggregates and transparently transmits the services of theuser terminal 131 and theuser terminal 132, and all services are uniformly managed by the Broadband Remote Access Server 110 (Broadband Remote Access Server, BRAS). Authentication, because the scale of users is getting larger and larger, in order to reduce the processing burden of thebroadband access server 110, the function of thebroadband access server 110 is transferred to thePE device 120 on the user side for implementation, that is, a distributed broadband access server is used.

基于分布式宽带接入服务器,对于IPoE(IP over Ethernet)接入方式的业务通常在用户侧PE设备120上进行用户管理及认证,但对于PPPoE(Point-to-Point Protocol over Ethernet)接入方式的业务通常仍在宽带接入服务器110上进行用户管理及认证,用户侧PE设备120只是透传PPPoE业务。Based on the distributed broadband access server, for IPoE (IP over Ethernet) access services, user management and authentication are usually performed on the user-side PE device 120, but for PPPoE (Point-to-Point Protocol over Ethernet) access services The services of thebroadband access server 110 are usually still managed and authenticated by users, and thePE equipment 120 on the user side only transparently transmits PPPoE services.

基于上述介绍,同一用户终端可能同时存在IPoE接入方式的业务和PPPoE接入方式的业务,可能部分业务在用户侧PE设备120进行用户管理及认证,部分业务则经过用户侧PE设备120透传,由宽带接入服务器110进行用户管理及认证。为保证业务的服务质量,需要做层次化服务质量(Hierarchical Quality of Service,HQoS)调度,对于非透传业务,用户侧PE设备120可感知其上下线,当用户终端131的第一个上线业务为非透传业务时,用户侧PE设备120可以为用户终端131动态分配调度资源,实现HQoS调度,但当用户终端131的第一个上线业务为透传业务时,由于用户侧PE设备120无法感知其上下线,因此用户侧PE设备120无法为用户终端131动态分配调度资源。现有技术有两种技术方案解决上述问题,分别为:Based on the above introduction, the same user terminal may have IPoE access services and PPPoE access services at the same time. Some services may be managed and authenticated by the user-side PE device 120, and some services may be transparently transmitted through the user-side PE device 120. , thebroadband access server 110 performs user management and authentication. In order to ensure the service quality of the business, Hierarchical Quality of Service (HQoS) scheduling is required. For the non-transparent transmission business, the user-side PE device 120 can perceive its on-line and off-line. When the first online service of theuser terminal 131 For non-transparent services, the user-side PE device 120 can dynamically allocate scheduling resources for theuser terminal 131 to implement HQoS scheduling. However, when the first online service of theuser terminal 131 is a transparent transmission service, the user-side PE device 120 cannot Perceiving its online and offline, the user-side PE device 120 cannot dynamically allocate scheduling resources for theuser terminal 131 . There are two technical solutions in the prior art to solve the above problems, which are respectively:

1、对于用户终端131的业务,用户侧PE设备120为非透传业务动态分配调度资源,非透传业务在用户侧PE设备120上做HQoS调度,BRAS为透传业务动态分配调度资源,透传业务在宽带接入服务器110上做HQoS调度;1. For the services of theuser terminal 131, the user-side PE device 120 dynamically allocates scheduling resources for non-transparent services, and the non-transparent services perform HQoS scheduling on the user-side PE device 120, and the BRAS dynamically allocates scheduling resources for transparent transmission services. HQoS scheduling is performed on thebroadband access server 110 for the transmission service;

2、用户侧PE设备120为用户终端131静态分配的调度资源,非透传业务和透传业务都在用户侧PE设备120上做HQoS调度。2. The user-side PE device 120 statically allocates scheduling resources for theuser terminal 131 , and HQoS scheduling is performed on the user-side PE device 120 for non-transparent services and transparent transmission services.

在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:

对于同一用户终端,用户侧PE设备120为用户终端131的非透传业务动态分配调度资源,BRAS为用户终端131的透传业务动态分配调度资源,由于调度资源的分离,导致同一用户终端的透传业务和非透传业务不能进行统一HQoS调度,而如果用户侧PE设备120为用户终端131静态分配调度资源,当用户终端131下线时,调度资源不能及时释放,会造成网络资源的浪费。For the same user terminal, the user-side PE device 120 dynamically allocates scheduling resources for the non-transparent transmission services of theuser terminal 131, and the BRAS dynamically allocates scheduling resources for the transparent transmission services of theuser terminal 131. Due to the separation of scheduling resources, the transparent transmission services of the same user terminal Unified HQoS scheduling cannot be performed for transmission services and non-transparent transmission services. If the user-side PE device 120 statically allocates scheduling resources for theuser terminal 131, the scheduling resources cannot be released in time when theuser terminal 131 goes offline, resulting in waste of network resources.

发明内容Contents of the invention

本发明实施例的目的是提供一种分配调度资源的方法、系统及路由设备,为同一用户终端的透传业务和非透传业务,动态分配统一的调度资源,实现透传业务和非透传业务的统一调度,并提高网络资源利用率。The purpose of the embodiments of the present invention is to provide a method, system, and routing device for allocating scheduling resources, to dynamically allocate unified scheduling resources for transparent transmission services and non-transparent transmission services of the same user terminal, and to realize transparent transmission services and non-transparent transmission services Unified scheduling of services and improved utilization of network resources.

本发明实施例的目的是通过以下技术方案实现的:The purpose of the embodiments of the present invention is achieved through the following technical solutions:

一种分配调度资源的方法,A method for allocating scheduling resources,

使能用户侧PE设备的监听功能;Enable the monitoring function of the user-side PE device;

当所述用户侧PE设备监听到用户终端的业务认证通过回应报文,且判断出所述业务为用户终端的第一个上线业务时,为所述用户终端分配调度资源;When the user-side PE device monitors the response message of the user terminal's service authentication passing, and determines that the service is the first online service of the user terminal, allocate scheduling resources for the user terminal;

当所述用户侧PE设备监听到所述用户终端的业务下线报文,且判断出所述业务为所述用户终端的最后一个下线业务时,释放所述用户终端的调度资源。When the user-side PE device monitors the service offline message of the user terminal and determines that the service is the last offline service of the user terminal, releases the scheduling resource of the user terminal.

一种路由设备,所述路由设备包括:A routing device, the routing device comprising:

业务监控模块,用于监控用户终端业务的上下线;A business monitoring module, used to monitor the online and offline of user terminal services;

业务判断模块,用于当业务监控模块监控到所述业务上线时,判断所述业务是否为所述用户终端的第一个上线业务;当业务监控模块监控到所述业务下线时,判断所述业务是否为所述用户终端的最后一个下线业务;The business judgment module is used to judge whether the business is the first online business of the user terminal when the business monitoring module monitors that the business is online; when the business monitoring module monitors that the business is offline, judge the Whether the above service is the last offline service of the user terminal;

资源调度模块,用于当业务判断模块判断出所述业务为所述用户终端的第一个上线业务时,为所述用户终端分配调度资源;当业务判断模块判断出所述业务为所述用户终端的最后一个下线业务时,释放所述用户终端的调度资源。A resource scheduling module, configured to allocate scheduling resources for the user terminal when the service judging module judges that the service is the first online service of the user terminal; when the business judging module judges that the service is the user terminal When the last offline service of the terminal is performed, the scheduling resource of the user terminal is released.

一种分配调度资源的系统,所述系统包括宽带接入服务器、用户终端和一种路由设备,其中,所述路由设备用于为所述用户终端分配调度资源,并用于所述用户终端的非透传业务的用户接入认证和用户管理,所述宽带接入服务器用于所述用户终端的透传业务的用户接入认证和用户管理。A system for allocating scheduling resources, the system includes a broadband access server, a user terminal, and a routing device, wherein the routing device is used to allocate scheduling resources for the user terminal, and is used for non- User access authentication and user management of the transparent transmission service, the broadband access server is used for user access authentication and user management of the transparent transmission service of the user terminal.

采用本发明实施例的技术方案,通过使能用户侧PE设备的监听功能,使所述用户侧PE设备监听到用户终端的业务认证通过回应报文,且判断出所述业务为用户终端的第一个上线业务时,为所述用户终端分配调度资源;当所述用户侧PE设备监听到业务下线报文,且判断出所述业务为所述用户终端的最后一个下线业务时,释放所述用户终端的调度资源。利用本发明公开的方法,为同一用户终端的透传业务和非透传业务,动态分配了统一的调度资源,实现了透传业务和非透传业务的统一调度,并提高网络资源利用率。By adopting the technical solution of the embodiment of the present invention, by enabling the monitoring function of the user-side PE device, the user-side PE device can monitor the service authentication passing response message of the user terminal, and judge that the service is the first service of the user terminal. When a service goes online, allocate scheduling resources for the user terminal; when the user-side PE device monitors a service offline message and judges that the service is the last offline service of the user terminal, release Scheduling resources of the user terminal. Utilizing the method disclosed in the invention, a unified scheduling resource is dynamically allocated for the transparent transmission service and the non-transparent transmission service of the same user terminal, realizing the unified scheduling of the transparent transmission service and the non-transparent transmission service, and improving the utilization rate of network resources.

附图说明Description of drawings

图1为本发明实施例的组网示意图;Fig. 1 is a schematic diagram of networking according to an embodiment of the present invention;

图2为本发明实施例的一种分配调度资源的方法流程图;FIG. 2 is a flowchart of a method for allocating scheduling resources according to an embodiment of the present invention;

图3为本发明实施例提供的一种路由设备的结构示意图;FIG. 3 is a schematic structural diagram of a routing device provided by an embodiment of the present invention;

图4为本发明实施例提供的一种路由设备的业务监控模块的结构示意图;FIG. 4 is a schematic structural diagram of a service monitoring module of a routing device 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 present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

为便于说明,下面介绍本发明的一个具体实施例。如图1所示,为本发明实施例的组网示意图,该网络包括宽带接入服务器110、用户侧PE设备120、用户终端131和用户终端132。For ease of description, a specific embodiment of the present invention is introduced below. As shown in FIG. 1 , it is a schematic diagram of a network according to an embodiment of the present invention. The network includes abroadband access server 110 , a user-side PE device 120 , auser terminal 131 and auser terminal 132 .

其中,宽带接入服务器110用于透传业务的用户接入认证和用户管理,用户侧PE设备120用于非透传业务的接入认证和用户管理。Among them, thebroadband access server 110 is used for user access authentication and user management of transparent transmission services, and the user-side PE device 120 is used for access authentication and user management of non-transparent transmission services.

用户侧PE设备120可以是具备路由功能模块的任何网络设备,例如:路由器和三层交换机等。The user-side PE device 120 may be any network device with a routing function module, such as a router and a Layer 3 switch.

下面以用户侧PE设备120为用户终端131分配调度资源为例,对分配调度资源的方法进行具体介绍。The method for allocating scheduling resources will be specifically introduced below by taking the allocation of scheduling resources by thePE device 120 on the user side to theuser terminal 131 as an example.

如图2所示,为本发明实施例的一种分配调度资源的方法流程图,包括:As shown in FIG. 2, it is a flowchart of a method for allocating scheduling resources according to an embodiment of the present invention, including:

201、使能监听功能。202、判断是否监听到业务认证通过回应报文,具体为:当监听到用户终端131的业务认证通过回应报文时,跳转至204;当未监听到用户终端131的业务认证通过回应报文时,继续监听用户终端131的业务认证通过回应报文。201. Enable the monitoring function. 202. Judging whether to monitor whether the service authentication pass response message is monitored, specifically: when the service authentication pass response message of theuser terminal 131 is monitored, jump to 204; when the service authentication pass response message of theuser terminal 131 is not monitored , continue to monitor the service authentication pass response message of theuser terminal 131.

203、判断是否监听到业务下线报文,具体为:当监听到用户终端131的业务下线报文时,跳转至205;当未监听到用户终端131的业务下线报文时,继续监听用户终端131的业务下线报文。204、判断是否为第一个上线业务,具体为:判断用户终端131的业务是否为该用户的第一个上线业务,当该业务为第一个上线业务时,跳转至206;当该业务不是第一个上线业务时,本流程操作结束。203. Determine whether a service offline message is monitored, specifically: when the service offline message of theuser terminal 131 is monitored, jump to 205; when the service offline message of theuser terminal 131 is not monitored, continue Monitor the service offline message of theuser terminal 131. 204. Judging whether it is the first online service, specifically: judging whether the service of theuser terminal 131 is the first online service of the user, when the service is the first online service, jump to 206; When the business is not the first to go online, the operation of this process ends.

205、判断是否为最后一个下线业务,具体为:判断用户终端131的业务是否为该用户的最后一个下线业务,当该业务为最后一个下线业务时,跳转至207;当该业务不是最后一个下线业务时,本流程操作结束。205. Judging whether it is the last offline service, specifically: judging whether the service of theuser terminal 131 is the last offline service of the user, when the service is the last offline service, jump to 207; When it is not the last offline business, the operation of this process ends.

206、分配调度资源,具体为:给用户终端131分配调度资源。206. Allocate scheduling resources, specifically: allocating scheduling resources to theuser terminal 131 .

其中,分配调度资源的方式为基于用户进行分配调度资源,当用户终端131存在第一个上线业务时,即判断用户终端131上线,为用户终端131分配调度资源,后续用户终端131的其他业务上线时,不再分配新的调度资源,每个用户终端只分配一份调度资源,用户终端131的业务根据该调度资源进行业务调度。Among them, the method of allocating scheduling resources is to allocate scheduling resources based on users. When theuser terminal 131 has the first online service, it is judged that theuser terminal 131 is online, and scheduling resources are allocated for theuser terminal 131, and other services of thesubsequent user terminal 131 are online. When , no new scheduling resources are allocated, each user terminal is allocated only one scheduling resource, and the services of theuser terminal 131 are scheduled according to the scheduling resources.

207、释放调度资源,具体为:释放用户终端131占用的调度资源。207. Release the scheduling resources, specifically: releasing the scheduling resources occupied by theuser terminal 131.

其中,释放调度资源的方式为基于用户释放调度资源,当用户终端131的最后一个业务下线时,即判断用户终端131下线,释放用户终端131所占用的调度资源。Wherein, the way of releasing the scheduling resource is to release the scheduling resource based on the user. When the last service of theuser terminal 131 is offline, it is judged that theuser terminal 131 is offline, and the scheduling resource occupied by theuser terminal 131 is released.

上述实施例中,201具体可以包括:In the above embodiment, 201 may specifically include:

在用户侧PE设备120的用户终端接入接口处,增加snooping(监听)配置,使能snooping功能。At the user terminal access interface of thePE device 120 on the user side, a snooping (monitoring) configuration is added to enable the snooping function.

针对不同用户使能监听功能,用户可以通过VLAN或者QinQ时的内层VLAN或者QinQ时的外层VLAN或者Option82来标识。某一用户终端的第一个上线并认证通过的业务为该用户的第一个上线业务。To enable the monitoring function for different users, users can be identified by VLAN or inner VLAN in QinQ, outer VLAN in QinQ, or Option82. The first online service of a user terminal that passes the authentication is the first online service of the user.

上述实施例中,202具体可以包括:In the above embodiment, 202 may specifically include:

当监听到用户终端131的业务认证通过回应报文时,判断出用户终端131的业务上线,并跳转至204;当未监听到用户终端131的业务认证通过回应报文时,判断出用户终端131的业务未上线,继续监听用户终端131的业务认证通过回应报文。When the service authentication of theuser terminal 131 is monitored through the response message, it is judged that the service of theuser terminal 131 is online, and jumps to 204; when the service authentication of theuser terminal 131 is not monitored, it is judged that the user terminal The service of 131 is not online, and the service authentication pass response message ofuser terminal 131 is continued to be monitored.

其中,监听用户终端131的业务认证通过回应报文可以每隔一定的时间监听一下。Wherein, the service authentication pass response message of themonitoring user terminal 131 may be monitored at regular intervals.

其中,业务认证通过回应报文包括:透传业务认证通过回应报文和非透传业务认证通过回应报文,透传业务认证通过回应报文为宽带接入服务器110发送给用户终端131的业务认证通过回应报文,非透传业务认证通过回应报文为用户侧PE设备120发送给用户终端131的业务认证通过回应报文。Wherein, the service authentication pass response message includes: the transparent transmission service authentication pass response message and the non-transparent service authentication pass response message, and the transparent transmission service authentication pass response message is the service that thebroadband access server 110 sends to theuser terminal 131 The authentication passed response message, and the non-transparent service authentication passed response message is a service authentication passed response message sent by the user-side PE device 120 to theuser terminal 131 .

其中,非透传业务和透传业务可以为以IPoX方式接入的业务或以PPoX方式接入的业务,IPoX具体包括:IPoE、IPoEoVLAN、IPoEoQ和IPoEoA等,PPPoX具体包括:PPPoE、PPPoEoVLAN、PPPoEoQ、PPPoA和PPPoEoA等。Among them, the non-transparent transmission service and the transparent transmission service can be services accessed through IPoX or PPoX. IPoX specifically includes: IPoE, IPoEoVLAN, IPoEoQ, and IPoEoA, etc. PPPoX specifically includes: PPPoE, PPPoEoVLAN, PPPoEoQ , PPPoA and PPPoEoA, etc.

其中,对于不同接入方式的透传业务和非透传业务都有对应的业务认证通过回应报文。例如,以图1的组网示意图为例进行说明:当非透传业务为以PPPoE方式接入的业务时,业务认证通过回应报文为用户侧PE设备120发送给用户终端131的Authenticate Ack(认证应答)报文;当非透传业务为以IPoE方式接入的业务时,业务认证通过回应报文为用户侧PE设备120发送给用户终端131的DHCP offer(DHCP提供)报文;当透传业务为以PPPoE方式接入的业务时,业务认证通过回应报文为宽带接入服务器110发送给用户终端131的Authenticate Ack报文;当非透传业务为以IPoE方式接入的业务时,业务认证通过回应报文为宽带接入服务器110发送给用户终端131的DHCP offer报文。Wherein, for the transparent transmission service and the non-transparent transmission service of different access modes, there are corresponding service authentication passing response messages. For example, take the networking schematic diagram of FIG. 1 as an example for illustration: when the non-transparent service is a service accessed in the PPPoE mode, the service authentication is the Authenticate Ack (Authenticate Ack( authentication response) message; when the non-transparent service is a service accessed in the IPoE mode, the service authentication pass response message is the DHCP offer (DHCP provided) message sent to theuser terminal 131 by the user-side PE device 120; When the transmission service is the service accessed in the PPPoE mode, the service authentication is the Authenticate Ack message sent to theuser terminal 131 by thebroadband access server 110 through the response message; when the non-transparent transmission service is the service accessed in the IPoE mode, The service authentication response message is the DHCP offer message sent by thebroadband access server 110 to theuser terminal 131.

用户侧PE设备120通过监听用户终端131的业务认证通过回应报文,可以感知用户终端131的业务是否上线。The user-side PE device 120 can sense whether the service of theuser terminal 131 is online by monitoring the service authentication pass response message of theuser terminal 131 .

上述实施例中,202具体还可以包括:In the above embodiment, 202 may specifically include:

当监听到用户终端131的业务认证通过回应报文时,判断出用户终端131的业务上线,为该业务设置监听定时器,用于定时监听探测应答报文,以判断用户终端131是否异常下线。其中,探测应答报文包括:透传业务探测应答报文和非透传业务探测应答报文,透传业务探测应答报文为用户终端131发送给宽带接入服务器110的探测应答报文,非透传业务探测应答报文为用户终端131发送给用户侧PE设备120的探测应答报文。When listening to the service authentication of theuser terminal 131 and passing the response message, it is judged that the service of theuser terminal 131 is online, and a monitoring timer is set for the service, which is used to regularly monitor the detection response message, so as to judge whether theuser terminal 131 is abnormally offline . Wherein, the detection response message includes: a detection response message of the transparent transmission service and a detection response message of the non-transparent transmission service, and the detection response message of the transparent transmission service is a detection response message sent by theuser terminal 131 to thebroadband access server 110. The transparent transmission service detection response message is a detection response message sent by theuser terminal 131 to the user-side PE device 120 .

其中,探测应答报文与探测报文对应,其中,对于不同接入方式的透传业务和非透传业务都有对应的探测应答报文。例如:当非透传业务为以PPPoE方式接入的业务时,探测应答报文为用户终端131发送给用户侧PE设备120的Echo(回显)应答报文;当非透传业务为以IPoE方式接入的业务时,探测应答报文为用户终端131发送给用户侧PE设备120的ARP(地址解析协议)应答报文;当透传业务为以PPPoE方式接入的业务时,探测应答报文为用户终端131发送给宽带接入服务器110的Echo应答报文;当透传业务为以IPoE方式接入的业务时,探测应答报文为用户终端131发送给宽带接入服务器110的ARP应答报文。Wherein, the detection response message corresponds to the detection message, wherein there are corresponding detection response messages for the transparent transmission service and the non-transparent transmission service of different access modes. For example: when the non-transparent transmission service is a service accessed in the PPPoE mode, the detection response message is the Echo (echo) response message that theuser terminal 131 sends to the userside PE equipment 120; When the service is accessed through the PPPoE mode, the detection response message is an ARP (Address Resolution Protocol) response message sent by theuser terminal 131 to the user-side PE device 120; when the transparent transmission service is a service accessed through the PPPoE mode, the detection response message is The text is the Echo response message sent by theuser terminal 131 to thebroadband access server 110; when the transparent transmission service is an IPoE access service, the detection response message is the ARP response message sent by theuser terminal 131 to thebroadband access server 110 message.

上述实施例中,203具体可以包括:In the above embodiment, 203 may specifically include:

当监听到用户终端131的业务下线报文时,判断出用户终端131的业务下线,并跳转至205;当未监听到用户终端131的业务下线报文时,判断出用户终端131的业务未下线,继续监听用户终端131的业务下线报文。When the service offline message of theuser terminal 131 is monitored, it is judged that the service of theuser terminal 131 is offline, and jump to 205; when the service offline message of theuser terminal 131 is not monitored, it is judged that theuser terminal 131 If the service is not offline, continue to monitor the service offline message of theuser terminal 131.

其中,监听用户终端131的业务下线报文可以每隔一定的时间监听一下。Wherein, the monitoring of the service offline message of theuser terminal 131 may be monitored at regular intervals.

其中,业务下线报文包括:第一下线报文,第一下线报文指示用户终端131的业务主动下线;或第二下线报文,第二下线报文指示强制用户终端131的业务下线。Wherein, the business offline message includes: the first offline message, the first offline message indicates that the service of theuser terminal 131 is actively offline; or the second offline message, the second offline message indicates that the user terminal is forced to 131 businesses went offline.

其中,第一下线报文,具体包括:透传业务第一下线报文和非透传业务第一下线报文,透传业务第一下线报文为用户终端131发送给宽带接入服务器110的第一下线报文,非透传业务第一下线报文为用户终端131发送给用户侧PE设备120的第一下线报文。Wherein, the first offline message specifically includes: the first offline message of the transparent transmission service and the first offline message of the non-transparent transmission service, and the first offline message of the transparent transmission service is sent to the broadband access by theuser terminal 131. The first offline message entering theserver 110, the first offline message of the non-transparent transmission service is the first offline message sent by theuser terminal 131 to the user-side PE device 120.

其中,对于不同接入方式的透传业务和非透传业务都有对应的第一下线报文。例如:当非透传业务为以PPPoE方式接入的业务时,第一下线报文为用户终端131发送给用户侧PE设备120的Terminate Request(结束会话请求)报文;当非透传业务为以IPoE方式接入的业务时,第一下线报文为用户终端131发送给用户侧PE设备120的DHCP release报文;当透传业务为以PPPoE方式接入的业务时,第一下线报文为用户终端131发送给宽带接入服务器110的Terminate Request报文;当透传业务为以IPoE方式接入的业务时,第一下线报文为用户终端131发送给宽带接入服务器110的DHCP release(DHCP释放)报文。Wherein, there are corresponding first offline messages for transparent transmission services and non-transparent transmission services of different access modes. For example: when the non-transparent transmission service is a service accessed in the PPPoE mode, the first offline message is the Terminate Request (end session request) message that theuser terminal 131 sends to the userside PE equipment 120; When it is a service accessed in the IPoE mode, the first offline message is a DHCP release message sent by theuser terminal 131 to the user-side PE device 120; when the transparent transmission service is a service accessed in the PPPoE mode, the first offline message The offline message is the Terminate Request message that theuser terminal 131 sends to thebroadband access server 110; when the transparent transmission service is a service accessed in an IPoE manner, the first offline message is sent to the broadband access server by theuser terminal 131 110 DHCP release (DHCP release) message.

其中,第二下线报文,具体包括:透传业务第二下线报文和非透传业务第二下线报文,透传业务第二下线报文为宽带接入服务器110发送给用户终端131的第二下线报文,非透传业务第二下线报文为用户侧PE设备120发送给用户终端131的第二下线报文。Wherein, the second offline message specifically includes: the second offline message of the transparent transmission service and the second offline message of the non-transparent transmission service, and the second offline message of the transparent transmission service is sent by thebroadband access server 110 to The second offline message of theuser terminal 131, the second offline message of the non-transparent transmission service is the second offline message sent by the user-side PE device 120 to theuser terminal 131.

其中,对于不同接入方式的透传业务和非透传业务都有对应的第二下线报文。例如:当非透传业务为以PPPoE方式接入的业务时,第二下线报文为用户侧PE设备120发送给用户终端131的PADT(PPPoE Active DiscoveryTermiantion,PPPoE有效发现终止)报文;当透传业务为以PPPoE方式接入的业务时,第二下线报文为宽带接入服务器110发送给用户终端131的PADT报文。Wherein, there are corresponding second offline messages for transparent transmission services and non-transparent transmission services of different access modes. For example: when the non-transparent service is a service accessed in the PPPoE mode, the second offline message is a PADT (PPPoE Active DiscoveryTermiantion, PPPoE Active Discovery Termination) message sent to theuser terminal 131 by the userside PE equipment 120; When the transparent transmission service is a service accessed through PPPoE, the second offline message is a PADT message sent by thebroadband access server 110 to theuser terminal 131 .

用户侧PE设备120通过监听用户终端131的业务的下线报文,可以感知用户终端131的业务是否下线。The user-side PE device 120 can sense whether the service of theuser terminal 131 is offline by monitoring the offline message of the service of theuser terminal 131 .

上述实施例中,203具体还可以包括:In the above embodiment, 203 may specifically include:

当用户侧PE设备120在监听定时器的监听周期内没有监听到用户终端131发送的探测应答报文时,判断出用户终端131的业务异常下线,并跳转至205。When the user-side PE device 120 does not detect the detection response message sent by theuser terminal 131 within the monitoring period of the monitoring timer, it determines that the service of theuser terminal 131 is abnormally offline, and jumps to 205 .

其中,判断出用户终端131的业务异常下线,还包括:当用户侧PE设备120在监听定时器的多个监听周期内没有监听到用户终端131发送的探测应答报文的情况。Wherein, judging that the service of theuser terminal 131 goes offline abnormally also includes: when the user-side PE device 120 does not listen to the detection response message sent by theuser terminal 131 within a plurality of monitoring periods of the monitoring timer.

上述实施例中,204具体可以包括:In the above embodiment, 204 may specifically include:

判断用户终端131的上线业务是否为该用户的第一个上线业务,当该业务为第一个上线业务时,跳转至206;当该业务不是第一个上线业务时,本流程操作结束。Judging whether the online service of theuser terminal 131 is the first online service of the user, when the service is the first online service, jump to 206; when the service is not the first online service, the process operation ends.

上述实施例中,205具体可以包括:In the above embodiment, 205 may specifically include:

判断用户终端131的下线业务是否为该用户的最后一个下线业务,当该业务为最后一个下线业务时,跳转至207;当该业务不是最后一个下线业务时,本流程操作结束。Judging whether the offline service of theuser terminal 131 is the last offline service of the user, when the service is the last offline service, jump to 207; when the service is not the last offline service, the process operation ends .

上述实施例中,202和203之间没有执行顺序的限制。In the above embodiment, there is no restriction on the execution sequence between 202 and 203 .

上述实施例中,通过使能用户侧PE设备120的监听功能,当用户侧PE设备120监听到用户终端131的业务认证通过回应报文,且判断出业务为用户终端131的第一个上线业务时,为用户终端131分配调度资源;当用户侧PE设备120监听到业务下线报文,且判断出业务为用户终端131的最后一个下线业务时,释放用户终端131的调度资源,达到了对用户终端131的业务实现统一资源调度和提高网络资源利用率的技术效果。In the above embodiment, by enabling the monitoring function of the user-side PE device 120, when the user-side PE device 120 monitors the service authentication pass response message of theuser terminal 131 and determines that the service is the first online service of theuser terminal 131 , allocate scheduling resources for theuser terminal 131; when the user-side PE equipment 120 listens to the service offline message and judges that the service is the last offline service of theuser terminal 131, releases the scheduling resources of theuser terminal 131, reaching The technical effects of unified resource scheduling and improved utilization of network resources are realized for the services of theuser terminal 131 .

本实施例提供了一种路由设备,如图3所示,包括:This embodiment provides a routing device, as shown in Figure 3, including:

业务监控模块310,用于监控用户终端131业务的上下线;Abusiness monitoring module 310, configured to monitor the on and off line of theuser terminal 131 business;

业务判断模块320,用于当业务监控模块310监控到业务上线时,判断业务是否为用户终端131的第一个上线业务;当业务监控模块310监控到业务下线时,判断业务是否为用户终端131的最后一个下线业务;Business judging module 320 is used for whenbusiness monitoring module 310 monitors that business goes online, judges whether business is the first online business ofuser terminal 131; Whenbusiness monitoring module 310 monitors business offline, judges whether business isuser terminal 131's last offline business;

资源调度模块330,用于当业务判断模块320判断出业务为用户终端131的第一个上线业务时,为用户终端131分配调度资源;当业务判断模块320判断出业务为用户终端131的最后一个下线业务时,释放用户终端131的调度资源。Theresource scheduling module 330 is used to allocate scheduling resources for theuser terminal 131 when theservice judging module 320 judges that the service is the first online service of theuser terminal 131; When the service is offline, the scheduling resource of theuser terminal 131 is released.

其中,业务监控模块310具体如图4所示,包括:Wherein, thebusiness monitoring module 310 is specifically shown in Figure 4, including:

业务上线监控单元410,用于监听业务认证通过回应报文,当监听到业务认证通过回应报文时,判断出业务上线;The serviceonline monitoring unit 410 is used to monitor the service authentication pass response message, and when the service authentication pass response message is monitored, it is judged that the service is online;

业务下线监控单元420,用于监听业务下线报文,当监听到业务下线报文时,判断出业务下线;The serviceoffline monitoring unit 420 is used to monitor the service offline message, and when the service offline message is monitored, it is judged that the service is offline;

其中,业务下线监控单元420还可用于当业务上线监控单元410判断出业务上线时,设置监听定时器以定时监听探测应答报文以判断用户终端131的业务是否异常下线,当在监听定时器的监听周期内没有监听到探测应答报文时,判断出用户终端131的业务异常下线。Wherein, the serviceoffline monitoring unit 420 can also be used for when the serviceonline monitoring unit 410 determines that the service is online, set the monitoring timer to regularly monitor the detection response message to determine whether the service of theuser terminal 131 is abnormally offline, when the monitoring timer When no detection response message is detected within the monitoring period of the device, it is determined that the service of theuser terminal 131 is abnormally offline.

本实施例还提供了一种分配调度资源的系统,该系统包括宽带接入服务器110、用户终端131和上述实施例提供的一种路由设备,其中,路由设备用于为用户终端131分配调度资源,并用于用户终端131的非透传业务的用户接入认证和用户管理,宽带接入服务器110用于用户终端131的透传业务的用户接入认证和用户管理。This embodiment also provides a system for allocating scheduling resources, the system includes abroadband access server 110, auser terminal 131 and a routing device provided in the above embodiment, wherein the routing device is used to allocate scheduling resources for theuser terminal 131 , and is used for user access authentication and user management of the non-transparent transmission service of theuser terminal 131, and thebroadband access server 110 is used for user access authentication and user management of the transparent transmission service of theuser terminal 131.

通过以上的实施方式的描述,本领域的普通技术人员可以清楚地了解到本发明实施例可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备、或者服务器、或者其他网络设备执行本发明各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by means of software plus a necessary general-purpose hardware platform, and of course can also be implemented by hardware. Based on this understanding, the technical solutions of the embodiments of the present invention can be embodied in the form of software products, which can be stored in storage media, such as ROM/RAM, magnetic disks, optical disks, etc., and include several instructions to make a A computer device, or server, or other network device executes the methods described in various embodiments or some parts of the embodiments of the present invention.

以上仅为本发明的较佳实施例,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (9)

CN2009101902401A2009-09-182009-09-18Method, system and device for distributing and scheduling resourceExpired - Fee RelatedCN101662427B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2009101902401ACN101662427B (en)2009-09-182009-09-18Method, system and device for distributing and scheduling resource

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2009101902401ACN101662427B (en)2009-09-182009-09-18Method, system and device for distributing and scheduling resource

Publications (2)

Publication NumberPublication Date
CN101662427A CN101662427A (en)2010-03-03
CN101662427Btrue CN101662427B (en)2013-01-09

Family

ID=41790227

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2009101902401AExpired - Fee RelatedCN101662427B (en)2009-09-182009-09-18Method, system and device for distributing and scheduling resource

Country Status (1)

CountryLink
CN (1)CN101662427B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102143136B (en)*2010-08-202013-12-04华为技术有限公司Method for accessing service wholesale network, equipment, server and system
CN103107959A (en)*2011-11-142013-05-15联想(北京)有限公司Electronic equipment and allocation method of data bandwidth thereof
CN110633140A (en)*2018-06-212019-12-31中兴通讯股份有限公司Resource scheduling method, device and computer storage medium
CN111628963B (en)*2020-04-012023-03-28新华三信息安全技术有限公司Anti-attack method, device, equipment and machine readable storage medium
CN113630809B (en)*2021-08-122024-07-05迈普通信技术股份有限公司Service forwarding method and device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1691552A (en)*2004-04-212005-11-02华为技术有限公司 Service scheduling device and method in optical communication network
CN101047607A (en)*2006-06-012007-10-03华为技术有限公司System and method for implementing multicast service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1691552A (en)*2004-04-212005-11-02华为技术有限公司 Service scheduling device and method in optical communication network
CN101047607A (en)*2006-06-012007-10-03华为技术有限公司System and method for implementing multicast service

Also Published As

Publication numberPublication date
CN101662427A (en)2010-03-03

Similar Documents

PublicationPublication DateTitle
CN100477601C (en) Specific Flag Messages for the Link Aggregation Flag Protocol
US9173117B2 (en)Enhancing a mobile backup channel to address a node failure in a wireline network
EP3119047B1 (en)Load balancing method, apparatus and system
CN101662427B (en)Method, system and device for distributing and scheduling resource
CN101106512A (en) A processing method and device for QinQ termination configuration
CN101674669B (en)Method, service node equipment and access node equipment for keep-alive processing
CN103118064A (en)Method and device of Portal centralized authentication
CN102143136A (en)Method for accessing service wholesale network, equipment, server and system
JP5754267B2 (en) Relay device and relay control method
CN101980496A (en)Message processing method and system, exchange board and access server equipment
CN101312456B (en)Method and system for survival monitoring session of subscriber
CN101197811B (en)Method for improving server reliability in dynamic main unit configuration protocol under proxy mode
JP5604389B2 (en) Communication system, router device, and router switching method
CN109040295A (en)Determination method and device, terminal and the storage medium of abnormal broken line
CN101325587A (en)Method for monitoring DHCP conversation
CN101335652A (en) A state detection method, device and system of a dynamic host configuration protocol
CN103392333A (en)Authentication method, device and system in access network
CN103200124B (en)The method of adjustment of a kind of business game and device
CN105681266B (en)A kind of communication cluster method and device of mediaphone MMTel
CN104468467A (en)Dynamic host configuration protocol (DHCP) message transmitting method and device
WO2017000625A1 (en)Dynamic host configuration protocol (dhcp) server management method and apparatus
CN102281334B (en)A kind of management control method of catv terminal and system and access server
US8560638B2 (en)Systems and methods for changing the address of an interface
CN104780230A (en) Method, system and cloud system for automatically obtaining cloud server IP address
CN105812272B (en)Processing method, device and the system of business chain

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:20180427

Address after:London, England

Patentee after:GW partnership Co.,Ltd.

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

Patentee before:HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration:20180427

Address after:California, USA

Patentee after:Global innovation polymerization LLC

Address before:London, England

Patentee before:GW partnership Co.,Ltd.

CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20130109

Termination date:20210918


[8]ページ先頭

©2009-2025 Movatter.jp