CN104754072A - Address allocation method and equipment - Google Patents

Address allocation method and equipment Download PDF

Info

Publication number
CN104754072A
CN104754072A CN 201510096280 CN201510096280A CN104754072A CN 104754072 A CN104754072 A CN 104754072A CN 201510096280 CN201510096280 CN 201510096280 CN 201510096280 A CN201510096280 A CN 201510096280A CN 104754072 A CN104754072 A CN 104754072A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
domain
real
corresponding
virtual
bras
Prior art date
Application number
CN 201510096280
Other languages
Chinese (zh)
Inventor
肖湘光
王超群
章雷
Original Assignee
杭州华三通信技术有限公司
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

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements or network protocols for addressing or naming
    • H04L61/20Address allocation
    • H04L61/2007Address allocation internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. local area networks [LAN], wide area networks [WAN]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS

Abstract

The invention discloses an address allocation method and equipment. The address allocation method includes that a BRAS records a virtual domain and the corresponding relationship between the virtual domain and one or more real domains; when the BRAS receives an address application message from terminal equipment, the BRAS confirms the virtual domain corresponding to the terminal equipment and selects one real domain from the real domains corresponding to the virtual domain; the BRAS confirms an IP address pool corresponding to the real domain, selects one unused IP address from the IP address pool and allocates the IP address to the terminal equipment. According to the embodiment, the number of IP addresses capable of being used can be extended without correcting any configuration on an AAA server and influencing the currently using users, and the phenomenon that the terminal equipment cannot obtain an IP address is avoided.

Description

一种地址分配的方法和设备 An address allocation method and apparatus

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其是涉及一种地址分配的方法和设备。 [0001] The present invention relates to communication technologies, and particularly relates to a method and apparatus for address assignment.

背景技术 Background technique

[0002] 随着Internet的不断发展,人们对通信的需求已从传统的电话、传真、电报等低速业务逐渐向高速的Internet接入、可视电话、视频点播等宽带业务领域延伸,用户对上网速率的需求越来越高。 [0002] With the continuous development of the Internet, the demand for communications from traditional telephone, fax, telex and other low-speed service gradually extended to high-speed Internet access, video telephony, video on demand and other broadband services fields, users on the Internet demand rate is increasing. 与此同时,接入到城域网的用户越来越多,用户的业务需求也日益膨胀,宽带城域网面临着向多业务承载网方向的发展趋势。 At the same time, access to the metropolitan area of ​​more and more users, business users demand ever-expanding, faced with the development trend of broadband metropolitan area network to a multi-service bearer network direction. 在这种情况下,为了对接入用户的业务进行有效的管理与控制,防止接入用户对网络带宽、IP地址等网络资源的占用不受任何约束与控制,并使各类业务能够精细运营,产生了BRAS (Broadband Remote AccessServer,宽带远程接入服务器),BRAS具有灵活的接入认证方式、有效的地址管理功能、强大的用户管理功能,并能够提供丰富灵活的业务及控制功能。 In this case, for effective management and control user access to services, to prevent user access to the network bandwidth, IP addresses and other network resources and unfettered control, and various business operations can be finely , resulting in a BRAS (broadband remote AccessServer, broadband remote access server), BRAS flexible access authentication mode, the effective address management capabilities, powerful user management functions, and can provide rich and flexible service and control functions.

[0003] 如图1所示,为BRAS的组网示意图,终端设备申请IP地址时,BRAS接收来自终端设备的地址申请报文,将地址申请报文发送给AAA (Authent i cat 1n、Authori zat 1n、Accounting,认证、授权、计费)服务器,AAA服务器利用该地址申请报文中携带的用户名和密码确定终端设备通过认证授权后,将终端设备对应的域(domain)信息(如域A)通知给BRAS,BRAS查找该域信息下的IP地址池,并从该IP地址池中选择IP地址,并将该IP地址分配给终端设备。 [0003] 1, apply for IP addresses to the BRAS network diagram, terminal device, BRAS receives an address request from the terminal device of packets, the address request packet to the AAA (Authent i cat 1n, Authori zat 1n, accounting, authentication, authorization, accounting) server, the AAA server using the username and password to the address request packet carries determines the terminal device after authentication and authorization, the terminal device corresponding to the domain (domain) information (such as domain a) notify the BRAS, BRAS find the IP address pool information in the domain, and select an IP address from the IP address pool and assigns the IP address to the terminal device.

[0004] 如果终端设备的数量很多,且大量的终端设备均对应同一个域信息(如域A)时,则BRAS需要从该域信息下的IP地址池中选择IP地址分配给大量的终端设备。 [0004] If the lot number of the terminal device, and a large number of the terminal device corresponds a time domain information (e.g., domain A) with, the BRAS needs to be selected from the pool of IP addresses in IP address assigned to the domain information of a large number of terminal devices . 由于IP地址池中的IP地址数量有限,从而会导致有终端设备无法分配该IP地址池中的IP地址,继而导致这些终端设备无法分配到IP地址。 Due to the limited number of IP addresses of IP address pool, which will lead to the terminal device can not assign an IP address to the IP address pool, which in turn leads to the terminal device can not be assigned an IP address.

发明内容 SUMMARY

[0005] 本发明实施例提供一种地址分配的方法,该方法应用于包括宽带远程接入服务器BRAS和终端设备的网络中,所述BRAS上记录了虚拟域,并记录了所述虚拟域与一个或者多个真实域之间的对应关系,所述方法包括以下步骤:所述BRAS在接收到来自终端设备的地址申请报文时,确定所述终端设备对应的虚拟域,并从所述虚拟域对应的真实域中选择一个真实域; [0005] The method of the present invention provides a method of address assignment, the method is applied comprises a Broadband Remote Access Server (BRAS) and a network terminal device, the virtual domain recorded on the BRAS, and the record of the virtual domain or a plurality of correspondence between the real domain, the method comprising the steps of: when the BRAS upon receiving the request packet from the address of the terminal device, determines that the terminal device corresponding to the virtual domain, and from the virtual real field domain corresponds to a real domain selection;

[0006] 所述BRAS确定当前选择的真实域对应的IP地址池,并从所述IP地址池中选择一个未被使用的IP地址,并将所述IP地址分配给所述终端设备。 [0006] The BRAS determining the true IP address field corresponding to the currently selected cell, and selects an unused IP address from the pool of IP addresses, and the IP address assigned to the terminal device.

[0007] 所述网络中包括认证授权计费AAA服务器,所述BRAS确定所述终端设备对应的虚拟域,具体包括:所述BRAS将所述地址申请报文发送给所述AAA服务器,由所述AAA服务器在利用所述地址申请报文中携带的用户信息确定所述终端设备通过认证授权之后,将所述终端设备对应的虚拟域通知给所述BRAS ;其中,所述AAA服务器上记录了虚拟域与终端设备之间的对应关系;所述BRAS接收来自所述AAA服务器的所述终端设备对应的虚拟域。 [0007] The network includes an authentication authorization accounting (AAA) server, BRAS determining the terminal device corresponding to the virtual domain comprises: the address of the BRAS request packet to the AAA server by the said AAA server using the address carried in the request message information determining the user after authentication and authorization by the terminal device, notifying the virtual domain corresponding to the terminal device the BRAS; wherein, the AAA server records correspondence relationship between the virtual domain and the terminal device; the BRAS receiving from the terminal device of the AAA server corresponding to the virtual domain.

[0008] 所述真实域对应的属性信息根据需求配置或者从与所述真实域对应的虚拟域处继承,所述真实域对应的属性信息具体包括:IP地址池、优先级信息和/或带宽信息。 [0008] The attribute information corresponding to the real domain as required configuration or inherited from the virtual domain corresponding to the real domain, attribute information of the corresponding real domain comprises: IP address pool, the priority information and / or bandwidth information.

[0009] 所述BRAS从所述虚拟域对应的真实域中选择一个真实域,具体包括: [0009] The BRAS selecting a field from a real real virtual domain corresponding to the domain comprises:

[0010] 当所述真实域对应的属性信息包括优先级信息时,所述BRAS从所述虚拟域对应的真实域中选择优先级信息最优的一个真实域;或者, [0010] When the attribute information corresponding to the real domain include priority information, priority information of the selected BRAS optimal from a real domain corresponding to the domain of the virtual reality domain; or

[0011]当所述真实域对应的属性信息包括带宽信息时,在当前接入的终端设备数量小于第一数值时,所述BRAS从所述虚拟域对应的真实域中选择带宽信息最大的一个真实域;或者,在当前接入的终端设备数量大于第二数值时,所述BRAS从所述虚拟域对应的真实域中选择带宽信息最小的一个真实域;其中,所述第二数值大于所述第一数值。 [0011] When the attribute information corresponding to the real domain includes bandwidth information, when the number of currently accessed terminal device smaller than the first value, the BRAS selects the bandwidth from the virtual real domain information to a domain corresponding to the maximum real field; alternatively, when the number of currently accessed terminal device is greater than the second value, selecting the real field BRAS bandwidth information corresponding to the virtual domain from a real minimum domain; wherein said second value is greater than the said first value.

[0012] 所述BRAS从所述虚拟域对应的真实域中选择一个真实域的过程,具体包括:当所述虚拟域对应的各真实域对应的IP地址池中没有可用的IP地址时,所述BRAS为所述虚拟域配置新的真实域,所述新的真实域内包括未被使用的IP地址池;所述BRAS从所述虚拟域对应的真实域中选择所述新的真实域。 [0012] The BRAS from the virtual domain corresponding to a real domain selection process of the real domain, comprises: when the domain corresponding to the respective real IP address pool corresponding to the virtual domain IP address is not available, the said BRAS is configured to the virtual domain new real domain, including the new IP address pool within the true unused; selecting the BRAS of the new real domain from the virtual real domain corresponding to the domain.

[0013] 所述方法进一步包括:当所述虚拟域对应的真实域对应的IP地址池中还没有被使用的IP地址时,所述BRAS从所述虚拟域中删除所述真实域。 [0013] The method further comprising: when the virtual IP address field corresponding to the field corresponding to the real IP address pool has not been used, the BRAS of the real domain deleted from the virtual domain.

[0014] 本发明实施例提供一种宽带远程接入服务器BRAS,应用于包括所述BRAS和终端设备的网络中,所述BRAS上记录了虚拟域,并记录了所述虚拟域与一个或者多个真实域之间的对应关系,所述BRAS具体包括: [0014] An embodiment provides a broadband remote access server BRAS present invention, applied to a BRAS network and the terminal device, the recording on the BRAS virtual domains, and the recorded one or multiple virtual domains a correspondence relationship between the real domain, the BRAS comprises:

[0015] 选择模块,用于在接收到来自终端设备的地址申请报文时,确定所述终端设备对应的虚拟域,并从所述虚拟域对应的真实域中选择一个真实域; [0015] selection module, for receiving the address of the terminal device from the time of application packet, determines that the terminal device corresponding to the virtual domain, and select a domain from the real domain, the domain corresponding to the virtual reality;

[0016] 分配模块,用于确定当前选择的真实域对应的IP地址池,并从所述IP地址池中选择一个未被使用的IP地址,并将所述IP地址分配给所述终端设备。 [0016] The allocation module, for determining the true IP address field corresponding to the currently selected cell, and selects an unused IP address from the pool of IP addresses, and the IP address assigned to the terminal device.

[0017] 所述网络中包括认证授权计费AAA服务器,所述选择模块,具体用于在确定所述终端设备对应的虚拟域的过程中,将所述地址申请报文发送给所述AAA服务器,由所述AAA服务器在利用所述地址申请报文中携带的用户信息确定所述终端设备通过认证授权之后,将所述终端设备对应的虚拟域通知给所述BRAS ;接收来自所述AAA服务器的所述终端设备对应的虚拟域; [0017] The network includes an authentication authorization accounting (AAA) server, a selection module, in particular for the process of determining the terminal device corresponding to the virtual domain, the address request message sent to the AAA server , by the AAA server using said address request message carries the user information is determined by the terminal device after authentication and authorization, will notify the virtual domain corresponding to the terminal device the BRAS; received from the AAA server the terminal device corresponding to the virtual domain;

[0018] 其中,所述AAA服务器上记录了虚拟域与终端设备之间的对应关系。 [0018] wherein, the corresponding relationship between the recording AAA virtual domain on the server and the terminal device.

[0019] 所述真实域对应的属性信息根据需求配置或者从与所述真实域对应的虚拟域处继承,所述真实域对应的属性信息具体包括:IP地址池、优先级信息和/或带宽信息。 [0019] The attribute information corresponding to the real domain as required configuration or inherited from the virtual domain corresponding to the real domain, attribute information of the corresponding real domain comprises: IP address pool, the priority information and / or bandwidth information.

[0020] 所述选择模块,具体用于在从所述虚拟域对应的真实域中选择一个真实域的过程中,当所述真实域对应的属性信息包括优先级信息时,从所述虚拟域对应的真实域中选择优先级信息最优的一个真实域;或者, [0020] The selection module is configured to select a domain corresponding to the domain of real real process from the virtual domain, when the attribute information corresponding to the real domain includes priority information from the virtual domain field corresponding true optimal selection priority information of a real domain; or

[0021]当所述真实域对应的属性信息包括带宽信息时,在当前接入的终端设备数量小于第一数值时,从所述虚拟域对应的真实域中选择带宽信息最大的一个真实域;或者,在当前接入的终端设备数量大于第二数值时,从所述虚拟域对应的真实域中选择带宽信息最小的一个真实域;其中,所述第二数值大于所述第一数值。 [0021] When the attribute information corresponding to the real domain includes bandwidth information, when the number of currently accessed by the terminal device is smaller than a first value, from the virtual reality selection domain corresponding to the domain information of the maximum bandwidth of a true domain; Alternatively, when the number of currently accessed terminal device is greater than the second value, a real virtual domain from the domain selects the bandwidth corresponding to the smallest real domain information; wherein the second value is greater than the first value.

[0022] 所述选择模块,具体用于在从所述虚拟域对应的真实域中选择一个真实域的过程中,当所述虚拟域对应的各真实域对应的IP地址池中没有可用的IP地址时,为所述虚拟域配置新的真实域,所述新的真实域内包括未被使用的IP地址池;从所述虚拟域对应的真实域中选择所述新的真实域。 [0022] The selection module, in particular for the virtual domain from a real domain corresponding to selected fields of the real process, when each of said virtual real domain corresponding to a domain corresponding to the IP address pool has no available IP an address configured to the virtual domain new real domain, including the new IP address pool within the true unused; selecting said new real domain from the domain, the domain corresponding to the virtual reality.

[0023] 所述选择模块,还用于当所述虚拟域对应的真实域对应的IP地址池中还没有被使用的IP地址时,从所述虚拟域中删除所述真实域。 [0023] The selection module is further configured to, when the IP address corresponding to the virtual domain corresponding to the domain of the real IP address pool has not been used, from the virtual domain deleting the real domain.

[0024] 基于上述技术方案,本发明实施例中,通过在BRAS上维护虚拟域与一个或者多个真实域之间的对应关系,从而可以扩展能够使用的IP地址的数量。 [0024] Based on the above technical solution, the number of cases, by maintaining a correspondence relationship between the virtual domain with one or more real domains on the BRAS, which can extend the IP address can be used in embodiments of the present invention. 如果终端设备的数量很多,大量的终端设备均对应同一个虚拟域,且该虚拟域对应的真实域对应的IP地址池中没有可用的IP地址,则可以为该虚拟域配置新的真实域,从而可以在不修改AAA服务器上的任何配置以及不影响目前正在使用的用户前提下,利用该新的真实域对应的IP地址池中的IP地址为终端设备分配IP地址,避免终端设备无法分配到IP地址。 If the number of the terminal equipment of a lot, a lot of the terminal device corresponds with a virtual domain, and the virtual domain corresponding to the real domain corresponding IP address pool has no available IP addresses, you can configure a new real domain for the virtual domain, can be any configuration without modifying the AAA server and does not affect the user currently using the premise of using the new IP address corresponding to the real IP address pool of IP addresses assigned to the terminal device, the terminal device can not be assigned to avoid IP addresses. 上述方式只需要在BRAS上的虚拟域下,添加真实域就可以解决地址扩容的问题,不需要修改AAA服务器上的任何配置,降低了整个组网中因配置修改带来的风险。 In the manner described above requires only virtual domain on the BRAS, add real domain address can solve the problem of expansion, do not need to modify any configuration on the AAA server, reducing the risk of the entire network configuration changes brought about due.

附图说明 BRIEF DESCRIPTION

[0025] 图1是现有技术中提出的BRAS的组网示意图; [0025] FIG 1 is a networking diagram of the prior art BRAS proposed;

[0026] 图2是本发明实施例提供的一种地址分配的方法流程示意图; [0026] FIG. 2 is a schematic flow of a method of allocating an address provided by embodiments of the present invention;

[0027] 图3是本发明实施例提供的一种BRAS的结构示意图。 [0027] FIG. 3 is a block diagram of an embodiment of the BRAS provided by the present invention.

具体实施方式 detailed description

[0028] 针对现有技术中存在的问题,本发明实施例提供了一种地址分配的方法,以图1为本发明实施例的应用场景示意图,该方法应用于包括BRAS、终端设备和AAA服务器的网络中。 [0028] For the problems in the prior art, embodiments of the present invention provides a method of address assignment, in FIG. 1 is a schematic application scenario according to an embodiment of the present invention, the method is applied comprises the BRAS, the AAA server and a terminal device network. 本发明实施例中,BRAS上记录了虚拟域,并记录了该虚拟域与一个或者多个真实域之间的对应关系。 Embodiment of the present invention, a virtual domain recorded on the BRAS, and records the correspondence relationship between the virtual domain with one or more real domain. 其中,真实域即现有技术中的真实存在的域,而BRAS对外(如对AAA服务器)只会呈现虚拟域,该虚拟域下可以有一个或者多个真实域,且该虚拟域下的每个真实域都是相对独立的。 Among them, the real domain that is present in the prior art, the real domain, while the external BRAS (such as AAA server) will present virtual domain, there may be one or more virtual real domains under the domain, and each under the virtual domain a real domain are relatively independent. 本发明实施例中,真实域对应的属性信息可以根据需求配置或者从与该真实域对应的虚拟域处继承。 Embodiment, the attribute information corresponding to the real field can be inherited from the virtual domain corresponding to the domain according to the real needs of the configuration or embodiment of the present invention. 进一步的,真实域对应的属性信息具体包括但不限于:IP地址池、优先级信息和/或带宽信息。 Further, the attribute information corresponding to the real domain specifically includes but is not limited to: IP address pool, the priority information and / or bandwidth information.

[0029] 本发明实施例中,虚拟域对应的多个真实域中的属性信息可以相同或者不同。 [0029] Example embodiments of the present invention, a plurality of attribute information corresponding to the real domain virtual domain may be the same or different. 具体的,不同真实域的IP地址池可以不同,例如,虚拟域对应的真实域I的IP地址池为IP地址池1,虚拟域对应的真实域2的IP地址池为IP地址池2。 Specifically, the real IP address pool different domains may be different, for example, the Real virtual domain I of the corresponding IP address to the IP address pool of pools 1, corresponding to the virtual domain in the Real IP address pool of IP address pool 2 2. 不同真实域的优先级信息可以相同,也可以不同,例如,虚拟域对应的真实域I的优先级信息为优先级1,虚拟域对应的真实域2的优先级信息为优先级2,且优先级I将会优于优先级2。 Priority information different real domains may be the same or different, for example, the priority information virtual domain corresponding to the real domain I of the priority 1, the Real virtual domain corresponding to priority information 2 is priority 2, and priority class I will be better than priority 2. 不同真实域的带宽信息可以相同,也可以不同,例如,虚拟域对应的真实域I的带宽信息为2M,虚拟域对应的真实域2的带宽信息为1M。 Bandwidth information different real domains may be the same or different, for example, bandwidth information corresponding to the real domain virtual domain I is 2M, the Real bandwidth information corresponding to the virtual domain 2 is 1M.

[0030] 本发明实施例中,对虚拟域对应的任何一个真实域的操作,都不会影响到该虚拟域对应的其它真实域。 [0030] The embodiments of the present invention, any operation on a real domain corresponding to the virtual domain, will not affect other real domain corresponding to the virtual domain. 例如,当修改虚拟域对应的真实域I的IP地址池、或者优先级信息、或者带宽信息时,均不会影响到虚拟域对应的真实域2的IP地址池、或者优先级信息、或者带宽信息。 For example, when modifying the virtual domain corresponding to the real IP address pool domain I, or priority information, or the bandwidth information will not affect the real domain corresponding to the virtual domain IP address pool 2, or priority information, bandwidth, or information.

[0031] 本发明实施例中,不同真实域的IP地址池可以是连续的IP地址池,也可以是离散的IP地址池。 [0031] Example embodiments of the present invention, the true IP address pool different domain may be contiguous pool of IP addresses may be discrete IP address pool. 例如,虚拟域对应的真实域I的IP地址池I与真实域2的IP地址池2可以是连续的IP地址池,也可以是离散的IP地址池。 For example, the Real virtual domain corresponding to the IP address pool I and I a real IP address pool 2 domain 2 may be continuous pool of IP addresses may be discrete IP address pool.

[0032] 本发明实施例中,虚拟域中可以包含属性信息,当虚拟域对应的真实域没有配置该属性信息时,可以继承虚拟域的属性信息。 Embodiment [0032] of the present invention, the attribute information may contain a virtual domain, the real-domain virtual domain when no attribute information corresponding to the configuration, the attribute information can be inherited virtual domain. 基于此,可以批量修改虚拟域下的多个真实域的属性信息。 Based on this, we can modify the properties of bulk information from multiple domains under real virtual domain. 例如,虚拟域中可以包含带宽信息,当虚拟域对应的真实域I和真实域2均没有配置带宽信息时,则可以继承虚拟域的带宽信息,从而使真实域I和真实域2继承虚拟域的带宽信息。 For example, a virtual domain may contain the bandwidth information, when the real I and real-domain virtual domain corresponding to the domain 2 did not configure bandwidth information, bandwidth information may inherit the virtual domain, so that the true real domain 2 and domain I inherited virtual domain bandwidth information.

[0033] 基于上述应用场景,如图2所示,该地址分配的方法包括以下步骤: [0033] Based on the above scenarios, the address assignment method shown in FIG. 2 comprising the steps of:

[0034] 步骤201,BRAS在接收到来自终端设备的地址申请报文时,确定该终端设备对应的虚拟域,并从该虚拟域对应的真实域中选择一个真实域。 [0034] Step 201, BRAS upon receiving the address of the terminal device from the application packet, determines that the terminal device corresponding to the virtual domain, and select a domain from the true real domain corresponding to the virtual domain.

[0035] 本发明实施例中,BRAS确定终端设备对应的虚拟域的过程,具体包括但不限于如下方式:BRAS在接收到来自终端设备的地址申请报文时,将该地址申请报文发送给AAA服务器,由AAA服务器在利用地址申请报文中携带的用户信息确定终端设备通过认证授权之后,将该终端设备对应的虚拟域通知给BRAS ;其中,AAA服务器上记录了虚拟域与终端设备之间的对应关系。 [0035] The embodiments of the present invention, the BRAS virtual domain determination process corresponding to the terminal device, including but not limited to the specific embodiment: BRAS upon receiving the address of the terminal device from the application packet, the request packet to the address AAA server, the AAA server using an address carried in the request message information determining user terminal device after authentication and authorization, the terminal device notifies the virtual domain corresponding to the BRAS; wherein the AAA server records the virtual terminal equipment domain between correspondence. 进一步的,BRAS接收来自AAA服务器的终端设备对应的虚拟域。 Further, BRAS reception terminal device corresponding to the virtual domain from the AAA server.

[0036] 其中,终端设备在申请IP地址的过程中,会向BRAS发送地址申请报文(如DHCP (Dynamic Host Configurat1n Protocol,动态主机配置协议)请求报文),该地址申请报文中携带该终端设备对应的用户名和密码等用户信息。 [0036] wherein, the terminal device during the application of the IP address will be sent to the BRAS address request packet (e.g. DHCP (Dynamic Host Configurat1n Protocol, Dynamic Host Configuration Protocol) request message), the address request message carries the user name and password corresponding to the user information terminal device. BRAS接收来自终端设备的地址申请报文,并将该地址申请报文发送给AAA服务器。 BRAS receives an address from the terminal device application packet, and the address request message sent to the AAA server. AAA服务器利用该地址申请报文中携带的用户名和密码等用户信息判断终端设备是否通过认证授权;如果未通过认证授权,则AAA服务器通知BRAS拒绝终端设备接入网络,该过程在此不再赘述。 AAA server by using the address of the applicant user name and password information of the user terminal apparatus determines whether the authentication and authorization message carried in; if not, the AAA server notifies the BRAS authentication and authorization denied access to the network terminal device, the process is not repeated here .

[0037] 本发明实施例中,AAA服务器上会记录虚拟域与终端设备之间的对应关系,基于此虚拟域与终端设备之间的对应关系,当终端设备通过认证授权时,则AAA服务器可以查询本AAA服务器上记录的终端设备与虚拟域之间的对应关系,从而得到该终端设备对应的虚拟域与,并将该终端设备对应的虚拟域通知给BRAS,由BRAS接收来自AAA服务器的终端设备对应的虚拟域。 [0037] The embodiments of the present invention, records a correspondence relationship between the virtual domain on the AAA server and the terminal device, based on a correspondence between the virtual field with the terminal device, the terminal device when the authentication and authorization, the AAA server may query correspondence between the terminal device and recorded on this virtual domain AAA server, whereby the terminal device corresponding to the virtual domain, and notifies the virtual domain corresponding to the BRAS terminal device, the terminal receives from the AAA server by the BRAS equipment corresponding to the virtual domain.

[0038] 在上述过程中,AAA服务器会记录终端设备的信息与虚拟域的对应关系,对于AAA服务器来说,只需用存储终端设备的信息与虚拟域的对应关系即可,并不需要感知自身存储的是终端设备的信息与虚拟域的对应关系,还是终端设备的信息与真实域的对应关系,即AAA服务器并不需要感知虚拟域和真实域的情况,对AAA服务器来说,虚拟域和真实域的处理是一致的。 [0038] In the above process, the AAA server records the correspondence relationship between the virtual domain information terminal equipment, for the AAA server, the only information for the correspondence relationship between the virtual domain to the terminal storage device, does not need to perceive the store itself is a correspondence between the virtual domain information terminal equipment, information or correspondence between the real domain of terminal equipment, namely AAA server does not need a real perception of virtual domains and domain for AAA servers, virtual domain and the true domain of treatment is the same.

[0039] 本发明实施例中,BRAS从虚拟域对应的真实域中选择一个真实域的过程,具体包括但不限于如下方式:当真实域对应的属性信息包括优先级信息时,BRAS从虚拟域对应的真实域中选择优先级信息最优的一个真实域;或者, When the attribute information corresponding to the real domain includes priority information, the BRAS from the virtual domain: [0039] embodiment, the BRAS from the virtual domain corresponding to a real domain selection process of the real domain, including but not limited to the specific embodiments of the invention field corresponding true optimal selection priority information of a real domain; or

[0040]当真实域对应的属性信息包括带宽信息时,在当前接入的终端设备数量小于第一数值时,则BRAS从虚拟域对应的真实域中选择带宽信息最大的一个真实域;或者,在当前接入的终端设备数量大于第二数值时,则BRAS从虚拟域对应的真实域中选择带宽信息最小的一个真实域;其中,该第二数值大于该第一数值。 [0040] When the attribute information corresponding to the real domain includes bandwidth information, when the number of currently accessed by the terminal device is smaller than a first value, the BRAS a real domain selection maximum bandwidth information corresponding to the virtual domain from real domain; or when the number of currently accessed terminal device is greater than a second value, then the BRAS virtual domain from a real field selects the bandwidth corresponding to the smallest real domain information; wherein the second value is greater than the first value.

[0041] 其中,通过为不同的真实域配置不同的优先级信息,并从虚拟域对应的真实域中选择优先级信息最优的一个真实域,从而可以保证优先为终端设备配置高优先级信息的真实域对应的IP地址池。 [0041] wherein, by configuring different priority information different real domain, and an optimal selection priority information from a real domain virtual domain corresponding to the real domain, which can ensure high-priority information prior configuration of the terminal device the real domain corresponding IP address pool. 例如,当真实域I的优先级信息优于真实域2的优先级信息时,则在真实域I的IP地址池I内有可用的IP地址时,BRAS会从虚拟域对应的真实域中选择优先级信息最优的真实域1,一直到真实域I的IP地址池I内没有可用的IP地址时,BRAS才会从虚拟域对应的真实域中选择优先级信息最优的真实域2 (此时,由于真实域I的IP地址池I已经没有可用的IP地址,因此,BRAS不会在从真实域I的IP地址池I中选择IP地址,即BRAS不会考虑真实域I的优先级信息,优先级信息最优的为真实域2),从而保证优先为终端设备配置IP地址池I内的IP地址。 For example, when the priority information of the Real I priority information than the Real 2, there are available IP addresses in IP address pool I real domain I, the BRAS will be selected from a real domain corresponding to the virtual domain when the priority information is the best real domain 1, no IP addresses available within the real domain until I IP address pool I, BRAS will choose from the real domain virtual domain corresponding priority information optimal real domain 2 ( at this time, since the real IP address pool I I domain has no available IP addresses, and therefore, the BRAS does not select an IP address from a real IP address pool domain I I, i.e., without regard to the priority BRAS real domain I information, priority information is the true optimal domain 2), thereby ensuring priority IP address of the terminal device of IP address pool I.

[0042] 其中,根据终端设备接入的时间先后关系,BRAS可以为不同的终端设备分配不同的带宽信息。 [0042] wherein the access terminal apparatus based on the time relationship between successively, the BRAS can allocate different bandwidths for different information terminal devices. 具体的,在当前接入的终端设备数量小于第一数值时,终端设备数量比较少,每个终端设备分配的带宽可以相对大点,因此,BRAS可以从虚拟域对应的真实域中选择带宽信息最大的一个真实域。 Specifically, when the number of currently accessed terminal device smaller than the first value, the number of terminal devices is relatively small, the bandwidth of each terminal device is assigned may be relatively large dots, and therefore, the BRAS can choose the bandwidth information from the virtual domain corresponding true domain one of the largest real domain. 由于总带宽的限制,随着终端设备数量的不断增加,在当前接入的终端设备数量大于第二数值时,终端设备数量比较多,每个终端设备分配的带宽可以相对小点,因此,BRAS可以从虚拟域对应的真实域中选择带宽信息最小的一个真实域。 Since the total bandwidth limitations, as the increasing number of the terminal device, when the number of currently accessed terminal device is greater than a second value, the more the number of the terminal device, a relatively small bandwidth can be assigned to each device terminal point, and therefore, the BRAS the bandwidth of the real information field may select a domain from the virtual domain corresponding to the true minimum.

[0043] 本发明实施例中,BRAS从虚拟域对应的真实域中选择一个真实域的过程,具体包括但不限于如下方式:当虚拟域对应的各真实域(即所有真实域)对应的IP地址池中均没有可用的IP地址时,则BRAS为虚拟域配置新的真实域,且该新的真实域内包括未被使用的IP地址池。 Embodiment [0043] In the present invention, the BRAS from the virtual domain corresponding to a real domain selection process of the real domain, including but not limited to the specific way: when the respective real virtual domain corresponding to the domain (i.e., all the Real) corresponding IP IP addresses are not available address pool, then configure the new BRAS real domain to the virtual domain, and the new domain, including the real IP address pool is not in use. 进一步的,BRAS从虚拟域对应的真实域中选择新的真实域,即选择当前重新配置的真实域。 Further, BRAS select a new domain from the real real virtual domain corresponding to the domain, choose the real domain of the current reconfiguration.

[0044] 本发明实施例中,如果终端设备的数量较少,当虚拟域对应的真实域对应的IP地址池中还没有被使用的IP地址时,BRAS从虚拟域中删除该真实域。 Embodiment [0044] of the present invention, if a small number of the terminal apparatus, when the IP address corresponding to the virtual domain corresponding to the domain of the real IP address pool has not been used, the BRAS remove the field from the virtual real domain.

[0045] 综上所述,本发明实施例中,如果终端设备的数量较多,所有真实域对应的IP地址池中均没有可用的IP地址时,可以在虚拟域下再添加一个新的真实域。 [0045] In summary, embodiments of the present invention, if a large number of terminal equipment, all the Real IP address corresponding to the IP address pool are not available at the time, can add a new virtual domain in real area. 如果终端设备的数量较少,有真实域对应的IP地址池中还没有被使用的IP地址时,可以在虚拟域下删除该真实域,不影响虚拟域下的其它真实域。 If a small number of terminal devices, the real IP address field corresponding to the IP address pool has not been used, you can remove the virtual domain in the Real, it does not affect other virtual domain in the Real.

[0046] 步骤202,BRAS确定当前选择的真实域对应的IP地址池,并从该IP地址池中选择一个未被使用的IP地址,并将该IP地址分配给终端设备。 [0046] Step 202, BRAS determine the true IP address field corresponding to the currently selected cell, and selects an unused IP address from the IP address pool and assigns the IP address to the terminal device.

[0047] 例如,如果当前选择的真实域为真实域1,则BRAS确定当前选择的真实域I对应的IP地址池为IP地址池1,并从该IP地址池I中选择一个未被使用的IP地址,并将该IP地址分配给终端设备。 [0047] For example, if the currently selected actual real domain is domain 1, it is determined BRAS real domain of the current I corresponding to the selected IP address pool is a pool of IP addresses, and select the IP address from a pool of unused I IP address and the IP address assigned to the terminal device. 其中,BRAS从IP地址池I中选择一个未被使用的IP地址的过程中,BRAS可以直接利用本地配置的IP地址池I,从IP地址池I中选择一个未被使用的IP地址;或者,BRAS将终端设备的地址申请报文发送给DHCP服务器,由DHCP服务器利用本地配置的IP地址池1,从IP地址池I中选择一个未被使用的IP地址,并将该选择的未被使用的IP地址通知给BRAS,BRAS获得未被使用的IP地址。 Wherein selecting an unused IP address from the IP address pool I process the BRAS, BRAS can directly use the local IP address pool configured I, select an unused IP address from the IP address pool I; or the address of the terminal device BRAS application packet to the DHCP server using a DHCP server to the configured IP address pool 1, select an unused IP address from the IP address pool I, and the selection is not used IP address notification to the BRAS, BRAS obtain IP addresses are not used.

[0048] 基于上述技术方案,本发明实施例中,通过在BRAS维护虚拟域与一个或者多个真实域之间的对应关系,从而可以扩展能够使用的IP地址的数量。 [0048] Based on the above technical solution, embodiments of the present invention, by the BRAS maintain the correspondence relationship between the virtual domain with one or more real-domains, which can expand the number of IP addresses that can be used. 如果终端设备的数量很多,大量的终端设备均对应同一个虚拟域,且该虚拟域对应的真实域对应的IP地址池中没有可用的IP地址,则可以为该虚拟域配置新的真实域,从而可以在不修改AAA服务器上的任何配置以及不影响目前正在使用的用户前提下,利用该新的真实域对应的IP地址池中的IP地址为终端设备分配IP地址,避免终端设备无法分配到IP地址。 If the number of the terminal equipment of a lot, a lot of the terminal device corresponds with a virtual domain, and the virtual domain corresponding to the real domain corresponding IP address pool has no available IP addresses, you can configure a new real domain for the virtual domain, can be any configuration without modifying the AAA server and does not affect the user currently using the premise of using the new IP address corresponding to the real IP address pool of IP addresses assigned to the terminal device, the terminal device can not be assigned to avoid IP addresses. 上述方式只需要在BRAS上的虚拟域下,添加真实域就可以解决地址扩容的问题,不需要修改AAA服务器上的任何配置,降低了整个组网中因配置修改带来的风险。 In the manner described above requires only virtual domain on the BRAS, add real domain address can solve the problem of expansion, do not need to modify any configuration on the AAA server, reducing the risk of the entire network configuration changes brought about due.

[0049] 基于与上述方法同样的发明构思,本发明实施例中还提供了一种BRAS,应用于包括BRAS和终端设备的网络中,所述BRAS上记录了虚拟域,并记录了所述虚拟域与一个或者多个真实域之间的对应关系,如图3所示,所述BRAS具体包括: [0049] The above-described method based on the same inventive concept, an embodiment of the present invention further provides a BRAS, BRAS network and applicable to a terminal device, the virtual domain recorded on the BRAS, and the record of the virtual correspondence between the domain with one or more real domain, as shown, the BRAS 3 comprises:

[0050] 选择模块11,用于在接收到来自终端设备的地址申请报文时,确定所述终端设备对应的虚拟域,并从所述虚拟域对应的真实域中选择一个真实域; [0050] The selection module 11, upon receiving an address for the terminal device from the application packet, determines that the terminal device corresponding to the virtual domain, and the domain from the domain corresponding to the virtual reality to select a real domain;

[0051] 分配模块12,用于确定当前选择的真实域对应的IP地址池,并从所述IP地址池中选择一个未被使用的IP地址,并将所述IP地址分配给所述终端设备。 [0051] The allocation module 12 for determining the real IP address field corresponding to the currently selected cell, and selects the IP address from a pool of unused IP addresses, and the IP address assigned to the terminal apparatus .

[0052] 所述网络中包括认证授权计费AAA服务器,所述选择模块11,具体用于在确定所述终端设备对应的虚拟域的过程中,将所述地址申请报文发送给所述AAA服务器,由所述AAA服务器在利用所述地址申请报文中携带的用户信息确定所述终端设备通过认证授权之后,将所述终端设备对应的虚拟域通知给所述BRAS ;接收来自所述AAA服务器的所述终端设备对应的虚拟域; [0052] The network includes an authentication authorization accounting (AAA) server, the selecting module 11, configured in determining the terminal device corresponding to the virtual domain, the address request message sent to the AAA server by using the AAA server in the address request message carries the user information is determined by the terminal device after authentication and authorization, will notify the virtual domain corresponding to the terminal device the BRAS; received from the AAA server terminal device corresponding to the virtual domain;

[0053] 其中,所述AAA服务器上记录了虚拟域与终端设备之间的对应关系。 [0053] wherein, the corresponding relationship between the recording AAA virtual domain on the server and the terminal device.

[0054] 本发明实施例中,所述真实域对应的属性信息根据需求配置或者从与所述真实域对应的虚拟域处继承,所述真实域对应的属性信息具体包括:IP地址池、优先级信息和/或带宽信息。 [0054] Example embodiments of the present invention, the attribute information corresponding to the real domain as required configuration or inherited from the virtual domain corresponding to the real domain, attribute information of the corresponding real domain comprises: IP address pool, preferentially level information and / or bandwidth information.

[0055] 所述选择模块11,具体用于在从所述虚拟域对应的真实域中选择一个真实域的过程中,当所述真实域对应的属性信息包括优先级信息时,从所述虚拟域对应的真实域中选择优先级信息最优的一个真实域;或者, [0055] The selection module 11, configured to select a domain corresponding to the domain of real real process from the virtual domain, when the attribute information corresponding to the real domain includes priority information from the virtual domain corresponding to the real domain selection priority information of a true optimal domain; or

[0056]当所述真实域对应的属性信息包括带宽信息时,在当前接入的终端设备数量小于第一数值时,从所述虚拟域对应的真实域中选择带宽信息最大的一个真实域;或者,在当前接入的终端设备数量大于第二数值时,从所述虚拟域对应的真实域中选择带宽信息最小的一个真实域;其中,所述第二数值大于所述第一数值。 [0056] When the attribute information corresponding to the real domain includes bandwidth information, when the number of currently accessed by the terminal device is smaller than a first value, from the virtual reality selection domain corresponding to the domain information of the maximum bandwidth of a true domain; Alternatively, when the number of currently accessed terminal device is greater than the second value, a real virtual domain from the domain selects the bandwidth corresponding to the smallest real domain information; wherein the second value is greater than the first value.

[0057] 所述选择模块11,具体用于在从所述虚拟域对应的真实域中选择一个真实域的过程中,当所述虚拟域对应的各真实域对应的IP地址池中没有可用的IP地址时,为所述虚拟域配置新的真实域,所述新的真实域内包括未被使用的IP地址池;从所述虚拟域对应的真实域中选择所述新的真实域。 [0057] The selection module 11 for selecting a real virtual domain from the domain corresponding to the domain of the real process, when the virtual domain corresponding to the domain corresponding to the respective real IP address pool is not available IP address, the configured new virtual domain real domain, including the new IP address pool within the true unused; selecting said new real domain from the domain, the domain corresponding to the virtual reality.

[0058] 所述选择模块11,还用于当所述虚拟域对应的真实域对应的IP地址池中还没有被使用的IP地址时,从所述虚拟域中删除所述真实域。 [0058] The selection module 11 is further configured to, when the IP address corresponding to the virtual domain corresponding to the domain of the real IP address pool has not been used, from the virtual domain deleting the real domain.

[0059] 其中,本发明装置的各个模块可以集成于一体,也可以分离部署。 [0059] wherein each module of the present invention may be integrated in one apparatus, may be deployed separately. 上述模块可以合并为一个模块,也可以进一步拆分成多个子模块。 The above-described modules may be combined into one module, or split into multiple submodules.

[0060] 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。 [0060] By the above described embodiments, those skilled in the art may clearly understand that the present invention may be implemented by software plus a necessary universal hardware platform, also be implemented by hardware, but the former is in many cases more good embodiments. 基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。 Based on such understanding, the technical solutions of the present invention in essence or the part contributing to the prior art may be embodied in a software product, which computer software product is stored in a storage medium and includes several instructions to enable a a computer device (may be a personal computer, a server, or network device) to execute the methods according to embodiments of the present invention. 本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。 Those skilled in the art will be appreciated the drawings are merely schematic diagram of a preferred embodiment, the modules or processes in the accompanying drawings are not necessarily embodiments of the present invention it is necessary. 本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。 Those skilled in the art will appreciate apparatus embodiment that the modules can be distributed in accordance with an embodiment of the apparatus of the embodiment may be performed according to the present embodiment which are different from one case or more devices. 上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。 Modules of the embodiments may be combined into one module, or split into multiple submodules. 上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。 Example No. embodiment of the present invention are merely for description, and do not represent embodiments of the merits. 以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。 While the invention has several specific embodiments disclosed above, but the present invention is not limited thereto, anyone skilled in the art can think of variations shall fall within the scope of the present invention.

Claims (12)

  1. 1.一种地址分配的方法,该方法应用于包括宽带远程接入服务器BRAS和终端设备的网络中,其特征在于,所述BRAS上记录了虚拟域,并记录了所述虚拟域与一个或者多个真实域之间的对应关系,所述方法包括以下步骤: 所述BRAS在接收到来自终端设备的地址申请报文时,确定所述终端设备对应的虚拟域,并从所述虚拟域对应的真实域中选择一个真实域; 所述BRAS确定当前选择的真实域对应的IP地址池,并从所述IP地址池中选择一个未被使用的IP地址,并将所述IP地址分配给所述终端设备。 1. A method of address assignment, the method applied to a broadband remote access server BRAS network and terminal device, wherein the virtual domain recorded on the BRAS, and the record of the virtual domain or a a correspondence relationship between the plurality of real domain, said method comprising the steps of: when the BRAS upon receiving the request packet from the address of the terminal device, determines that the terminal device corresponding to the virtual domain, and from the virtual domain corresponds selecting a real field of real domain; said domain BRAS determining the true IP address pool corresponding to the currently selected, and selects an unused IP address from the pool of IP addresses, and the IP address assigned to the said terminal device.
  2. 2.如权利要求1所述的方法,其特征在于,所述网络中包括认证授权计费AAA服务器,所述BRAS确定所述终端设备对应的虚拟域,具体包括: 所述BRAS将所述地址申请报文发送给所述AAA服务器,由所述AAA服务器在利用所述地址申请报文中携带的用户信息确定所述终端设备通过认证授权之后,将所述终端设备对应的虚拟域通知给所述BRAS ;其中,所述AAA服务器上记录了虚拟域与终端设备之间的对应关系; 所述BRAS接收来自所述AAA服务器的所述终端设备对应的虚拟域。 2. The method according to claim 1, wherein said network comprises AAA AAA server, BRAS determining the terminal device corresponding to the virtual domain comprises: the address of the BRAS after the request packet to the AAA server, the AAA server by the use of the address carried in the request message information determining user authentication and authorization by the terminal device, the terminal notifies the virtual device domain corresponding to the said BRAS; wherein, the AAA server records the correspondence relationship between the virtual domain and the terminal device; the BRAS receiving from the terminal device of the AAA server corresponding to the virtual domain.
  3. 3.如权利要求1或2所述的方法,其特征在于,所述真实域对应的属性信息根据需求配置或者从与所述真实域对应的虚拟域处继承,所述真实域对应的属性信息具体包括:IP地址池、优先级信息和/或带宽信息。 3. The method as claimed in claim 12 or attribute information corresponding to the real domain, characterized in that the attribute information corresponding to the real domain configuration or inherited from the virtual domain corresponding to the domain according to the real needs, specifically includes: IP address pool, the priority information and / or bandwidth information.
  4. 4.如权利要求3所述的方法,其特征在于,所述BRAS从所述虚拟域对应的真实域中选择一个真实域的过程,具体包括: 当所述真实域对应的属性信息包括优先级信息时,所述BRAS从所述虚拟域对应的真实域中选择优先级信息最优的一个真实域;或者, 当所述真实域对应的属性信息包括带宽信息时,在当前接入的终端设备数量小于第一数值时,所述BRAS从所述虚拟域对应的真实域中选择带宽信息最大的一个真实域;或者,在当前接入的终端设备数量大于第二数值时,所述BRAS从所述虚拟域对应的真实域中选择带宽信息最小的一个真实域;其中,所述第二数值大于所述第一数值。 4. The method according to claim 3, wherein said BRAS from the virtual domain corresponding to a real domain selection process of the real domain, comprises: when the attribute information corresponding to the real field includes a priority when the information, the BRAS optimal selection priority information from a real domain real domain corresponding to the virtual domain; or, when the attribute information of the corresponding real domain includes bandwidth information, the terminal device currently accessed when the number is smaller than a first value, from the BRAS real domain corresponding to the virtual domain selection information of the maximum bandwidth of a real field; alternatively, when the number of currently accessed terminal device is greater than a second value, the BRAS from the said virtual domain a real domain selects the bandwidth corresponding to the smallest real domain information; wherein the second value is greater than the first value.
  5. 5.如权利要求3所述的方法,其特征在于,所述BRAS从所述虚拟域对应的真实域中选择一个真实域的过程,具体包括: 当所述虚拟域对应的各真实域对应的IP地址池中没有可用的IP地址时,所述BRAS为所述虚拟域配置新的真实域,所述新的真实域内包括未被使用的IP地址池;所述BRAS从所述虚拟域对应的真实域中选择所述新的真实域。 5. The method according to claim 3, wherein said BRAS a real domain selection process from the virtual domain corresponding to the real domain, specifically comprises: when the virtual domain corresponding to the domain corresponding to the respective real when there is no available IP addresses, the virtual domain the BRAS is configured new IP address pool real domain, including the new IP address pool within the true unused; from the BRAS corresponding to the virtual domain selecting the new field true real domain.
  6. 6.如权利要求3所述的方法,其特征在于,所述方法进一步包括: 当所述虚拟域对应的真实域对应的IP地址池中还没有被使用的IP地址时,所述BRAS从所述虚拟域中删除所述真实域。 6. The method according to claim 3, characterized in that, said method further comprising: when an IP address corresponding to the virtual domain corresponding to the domain of the real IP address pool has not been used by the BRAS from said virtual domain deleted the real domain.
  7. 7.一种宽带远程接入服务器BRAS,应用于包括所述BRAS和终端设备的网络中,其特征在于,所述BRAS上记录了虚拟域,并记录了所述虚拟域与一个或者多个真实域之间的对应关系,所述BRAS具体包括: 选择模块,用于在接收到来自终端设备的地址申请报文时,确定所述终端设备对应的虚拟域,并从所述虚拟域对应的真实域中选择一个真实域; 分配模块,用于确定当前选择的真实域对应的IP地址池,并从所述IP地址池中选择一个未被使用的IP地址,并将所述IP地址分配给所述终端设备。 A broadband remote access server BRAS, the BRAS network and applied to a terminal device, wherein the virtual domain recorded on the BRAS, and the record of the domain with one or more virtual real correspondence between the domains, the BRAS comprises: selecting means for upon receiving an address from the request message the terminal device, the terminal device corresponding to the determined virtual domain, and from the virtual domain corresponding true a real field selection field; allocation module, for determining a domain corresponding to the currently selected real IP address pool, and selecting the IP address from the IP address of a pool of unused, and the IP address assigned to the said terminal device.
  8. 8.如权利要求7所述的BRAS,其特征在于, 所述网络中包括认证授权计费AAA服务器,所述选择模块,具体用于在确定所述终端设备对应的虚拟域的过程中,将所述地址申请报文发送给所述AAA服务器,由所述AAA服务器在利用所述地址申请报文中携带的用户信息确定所述终端设备通过认证授权之后,将所述终端设备对应的虚拟域通知给所述BRAS ;接收来自所述AAA服务器的所述终端设备对应的虚拟域; 其中,所述AAA服务器上记录了虚拟域与终端设备之间的对应关系。 8. BRAS according to claim 7, wherein said network server includes an authentication authorization accounting (AAA), a selection module, in particular for the process of determining the terminal device corresponding to the virtual domain, the the address request message sent to the AAA server, the AAA server using the address of the request packet carrying user information terminal apparatus after determining that the authentication and authorization, the terminal device corresponding to the virtual domain the notifying the BRAS; receiving terminal device corresponding to the virtual domain from the AAA server; wherein the AAA server records the correspondence relationship between the virtual domain and the terminal device.
  9. 9.如权利要求7或8所述的BRAS,其特征在于,所述真实域对应的属性信息根据需求配置或者从与所述真实域对应的虚拟域处继承,所述真实域对应的属性信息具体包括:IP地址池、优先级信息和/或带宽信息。 9. The BRAS 7 or claim 8, wherein the attribute information corresponding to the configuration of the real domain or inherited from the virtual domain corresponding to the domain according to the real needs of the attribute information corresponding to the real domain specifically includes: IP address pool, the priority information and / or bandwidth information.
  10. 10.如权利要求9所述的BRAS,其特征在于, 所述选择模块,具体用于在从所述虚拟域对应的真实域中选择一个真实域的过程中,当所述真实域对应的属性信息包括优先级信息时,从所述虚拟域对应的真实域中选择优先级信息最优的一个真实域;或者, 当所述真实域对应的属性信息包括带宽信息时,在当前接入的终端设备数量小于第一数值时,从所述虚拟域对应的真实域中选择带宽信息最大的一个真实域;或者,在当前接入的终端设备数量大于第二数值时,从所述虚拟域对应的真实域中选择带宽信息最小的一个真实域;其中,所述第二数值大于所述第一数值。 10. The BRAS according to claim 9, wherein said selection module is configured to select a region corresponding to the Real real process from the virtual domain, when the domain attribute corresponding to the real when the information includes priority information, priority information selecting optimal one from the real real domain corresponding to the virtual domain; or, when the attribute information of the corresponding real domain includes bandwidth information, the terminal currently accessed when the number of devices is less than a first value, corresponding to the virtual domain from the real field, select the maximum bandwidth information of a real field; alternatively, when the number of currently accessed by the terminal device is greater than the second value, corresponding to from the virtual domain minimum bandwidth of the real domain selection information of a real domain; wherein said second value is greater than the first value.
  11. 11.如权利要求9所述的BRAS,其特征在于, 所述选择模块,具体用于在从所述虚拟域对应的真实域中选择一个真实域的过程中,当所述虚拟域对应的各真实域对应的IP地址池中没有可用的IP地址时,为所述虚拟域配置新的真实域,所述新的真实域内包括未被使用的IP地址池;从所述虚拟域对应的真实域中选择所述新的真实域。 11. The BRAS according to claim 9, wherein said selection module is configured to select a region corresponding to the Real real process from the virtual domain, when the domain corresponding to the respective virtual real time domain corresponding to the IP address pool of IP addresses is not available, a new configuration of the virtual domain to the real domain, the domain comprising the new real unused IP address pool; domain from the domain corresponding to the virtual reality selecting the new real domain.
  12. 12.如权利要求9所述的BRAS,其特征在于, 所述选择模块,还用于当所述虚拟域对应的真实域对应的IP地址池中还没有被使用的IP地址时,从所述虚拟域中删除所述真实域。 12. The BRAS according to claim 9, wherein said selection module is further configured to when an IP address corresponding to the virtual domain corresponding to the domain of the real IP address pool has not been used, from the virtual domain where the deletion of the real domain.
CN 201510096280 2015-03-04 2015-03-04 Address allocation method and equipment CN104754072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510096280 CN104754072A (en) 2015-03-04 2015-03-04 Address allocation method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510096280 CN104754072A (en) 2015-03-04 2015-03-04 Address allocation method and equipment

Publications (1)

Publication Number Publication Date
CN104754072A true true CN104754072A (en) 2015-07-01

Family

ID=53593158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510096280 CN104754072A (en) 2015-03-04 2015-03-04 Address allocation method and equipment

Country Status (1)

Country Link
CN (1) CN104754072A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1410895A (en) * 2002-03-29 2003-04-16 华为技术有限公司 IP address allocating method of virtual local network switch on
CN1771713A (en) * 2003-04-09 2006-05-10 西门子公司 Method and arrangement for configuring a device in a data network
US20060112176A1 (en) * 2000-07-19 2006-05-25 Liu Zaide E Domain name resolution using a distributed DNS network
CN101141492A (en) * 2005-04-29 2008-03-12 华为技术有限公司 Method and system for implementing DHCP address safety allocation
CN103931140A (en) * 2011-11-02 2014-07-16 国际商业机器公司 Distributed address resolution service for virtualized networks
CN104219337A (en) * 2014-09-11 2014-12-17 杭州华三通信技术有限公司 IP address allocation method and device applied to SDN

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112176A1 (en) * 2000-07-19 2006-05-25 Liu Zaide E Domain name resolution using a distributed DNS network
CN1410895A (en) * 2002-03-29 2003-04-16 华为技术有限公司 IP address allocating method of virtual local network switch on
CN1771713A (en) * 2003-04-09 2006-05-10 西门子公司 Method and arrangement for configuring a device in a data network
CN101141492A (en) * 2005-04-29 2008-03-12 华为技术有限公司 Method and system for implementing DHCP address safety allocation
CN103931140A (en) * 2011-11-02 2014-07-16 国际商业机器公司 Distributed address resolution service for virtualized networks
CN104219337A (en) * 2014-09-11 2014-12-17 杭州华三通信技术有限公司 IP address allocation method and device applied to SDN

Similar Documents

Publication Publication Date Title
US6618757B1 (en) System and method for dynamic IP address management
US20030152067A1 (en) Controlling concurrent usage of network resources by multiple users at an entry point to a communications network based on identities of the users
US6594277B1 (en) Dynamic-rate, differential class-based quality of service agent for internet protocol exchange systems
US20130198385A1 (en) System and Method to Generate Secure Name Records
US20070061458A1 (en) Dynamic address assignment for access control on DHCP networks
US5553073A (en) Token ring network
US20110113142A1 (en) Smart client routing
US7430614B2 (en) Use of IP address blocks with default interfaces in a router
US20110196977A1 (en) Dynamic service groups based on session attributes
JP2004129126A (en) Address assignment system
US20080069018A1 (en) Quality of service provisioning for wireless networks
US20150350379A1 (en) Programming a data network device using user defined scripts
US8681695B1 (en) Single address prefix allocation within computer networks
US20050105529A1 (en) Network element modifying the DHCP lease timer
US20050114492A1 (en) DHCP proxy in a subscriber environment
CN101753635A (en) Method and system of collocating IPV6 (internet protocol version 6) addresses
US7852849B2 (en) Providing dynamic quality of service for virtual private networks
US20030137944A1 (en) Method and apparatus for authenticated quality of service reservation
US20100189052A1 (en) Method and Nodes for Registering a Terminal
CN104202264A (en) Carrying resource allocation method for clouded data center network, device and system
US20070072618A1 (en) Methods and apparatus for allocating resources in a distributed environment based on network assessment
US8533724B1 (en) Virtual resource provisioning by assigning colors to virtual resources in multi-tenant resource pool
US20070061484A1 (en) Methods and apparatus for processing a DHCP request using rule-based classification
CN102148878A (en) IP (internet protocol) address allocation method, system and device
US20090089431A1 (en) System and method for managing resources in access network

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination
CB02