WO2011072566A1 - 一种接入地址的分配方法及一种接入设备 - Google Patents

一种接入地址的分配方法及一种接入设备 Download PDF

Info

Publication number
WO2011072566A1
WO2011072566A1 PCT/CN2010/078959 CN2010078959W WO2011072566A1 WO 2011072566 A1 WO2011072566 A1 WO 2011072566A1 CN 2010078959 W CN2010078959 W CN 2010078959W WO 2011072566 A1 WO2011072566 A1 WO 2011072566A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
address pool
access
pool
private
Prior art date
Application number
PCT/CN2010/078959
Other languages
English (en)
French (fr)
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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011072566A1 publication Critical patent/WO2011072566A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method for allocating an access address and an access device. Background technique
  • Point-to-Point Protocol over Ethernet PPPoE
  • DHCP Dynamic Host Configuration Protocol
  • the packet exchange processing between the client and the server through the PPPoE protocol or the DHCP protocol triggers the broadband access server to allocate the address.
  • the user can access the network and log in to use the Internet.
  • the status of the address pool is particularly important, because with the address pool, users access the network, and the necessary IP address resources can be used.
  • the address pool is like a huge IP address assembly area, which manages, allocates, and recycles many IP addresses.
  • An object of the present invention is to provide a method for allocating an access address and an access device to solve the sudden and large demand for the on-line access address of a large-scale centralized user in a prior art.
  • the address resource in the address pool is insufficient, the technical problem that the user cannot go online is caused.
  • a method for allocating an access address comprising the following steps:
  • Step A The access device receives the protocol packet sent by the user terminal to apply for access;
  • Step B the access device determines whether there is an access address available for allocation in the private address pool corresponding to the user terminal, and Obtain test results;
  • Step C When the detection result indicates that the private address pool has no available access address, the access device performs the obtained connection according to the corresponding relationship between the preset private address pool and the public address pool.
  • the ingress address is assigned to the user terminal.
  • the process of obtaining the available access addresses in the step C is: when the detection result indicates that the private address pool has no available address
  • the access device detects whether there is an access address available for allocation in the plurality of public address pools according to a preset priority.
  • the method further includes: configuring different private address pools for different user groups; and setting a correspondence between the private address pool and the public address pool; in the corresponding relationship, each public address pool and at least A private address pool is associated with each private address pool associated with at least one public address pool.
  • the method further includes: when the address of the private address pool or the public address pool is exhausted, or the address available for allocation of the private address pool or the public address pool is less than a predetermined number of addresses , send an alarm message.
  • the access device determines whether there is an access address available for allocation in the private address pool corresponding to the user terminal, where the access device determines the user group to which the user terminal belongs; The access device detects whether there is an access address available for allocation in the private address pool corresponding to the user group.
  • An access device the access device includes:
  • a packet receiving module configured to receive a protocol packet that is sent by the user terminal to apply for access
  • a first allocation processing module configured to detect whether there is an access address available for allocation in the private address pool corresponding to the user terminal, And obtain test results
  • a second allocation processing module configured to: when the detection result indicates that the private address pool has no available access address, according to a preset corresponding address pool and a public address pool, and the obtained connection The ingress address is assigned to the user terminal.
  • the second allocation processing module is further configured to: when the detection result indicates that the private address pool has no available access address, according to the foregoing
  • the set priority detects whether there is an access address available for allocation in the plurality of public address pools.
  • the access device further includes: an address pool configuration module, configured to pre-configure different private address pools for different user groups, and set a correspondence between the private address pool and the public address pool; in the corresponding relationship, each public address The pool is associated with at least one private address pool, and each private address pool is associated with at least one public address pool.
  • an address pool configuration module configured to pre-configure different private address pools for different user groups, and set a correspondence between the private address pool and the public address pool; in the corresponding relationship, each public address The pool is associated with at least one private address pool, and each private address pool is associated with at least one public address pool.
  • the access device further includes: an alarm processing module, configured to send an alarm message when the private address pool or the public address is less than a predetermined number of address thresholds.
  • the first allocation processing module is further configured to determine a user group to which the user terminal belongs, and detect whether there is an access address available for allocation in the private address pool corresponding to the user group.
  • the available address can be obtained from the public address pool associated with the private address pool when there is no available access address in the private address pool corresponding to the group to which the user terminal belongs. Into the address, this avoids short-term or sudden The unit planning user group access broadband number is increased, causing the user to be unable to go online when the address resource in the private address pool allocated to the group is in short supply.
  • FIG. 1 is a schematic flowchart of a method for allocating an access address according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of configuring an address pool in an access address allocation process according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for allocating an access address according to another embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an access device according to an embodiment of the present invention.
  • FIG. 6 is a specific implementation of an access device according to an embodiment of the present invention. detailed description
  • the inventor of the present invention finds that in the use of the network, because of different networking environments and different user groups, it is necessary to make an advance prediction of the pre-configuration plan of the address pool, so that As much as possible, the large-scale demand for large-scale centralized on-line access addresses such as IP addresses of users appearing in different spaces at different time periods is required.
  • FIG. 1 is a schematic flowchart diagram of a method for allocating an access address according to an embodiment of the present invention. As shown in FIG. 1, the method for allocating an access address according to an embodiment of the present invention includes the following steps:
  • Step 101 The access device receives the protocol packet sent by the user terminal to apply for access.
  • Step 102 The access device detects whether there is an access address available for allocation in the private address pool corresponding to the user terminal, and obtains an access message. Test results;
  • detecting whether there is another available access address in the private address pool corresponding to the user terminal includes: determining a user group to which the user terminal belongs, and detecting Whether there is an access address available for allocation in the private address pool corresponding to the user group;
  • Step 103 When the detection result indicates that the private address pool has no available access address, the access device allocates the obtained access address according to the corresponding relationship between the preset private address pool and the public address pool.
  • the user terminal the user terminal can utilize the allocated access address for access, such as, for example, broadband access.
  • the access device allocates an address available for allocation in the private address pool to the user terminal, and the user terminal can access the allocated access address.
  • the access device further determines whether the number of available access addresses in the private address pool is less than a predetermined number of address thresholds. If yes, the access device sends an alarm message to notify the network management to process in time, such as adding a dedicated address pool in time.
  • the number of access addresses in the network, or the public address pool associated with the private address pool to avoid accessing multiple user terminals, especially when multiple users request access at the same time. happening.
  • the available address can be obtained from the public address pool associated with the private address pool when there is no available access address in the private address pool corresponding to the group to which the user terminal belongs.
  • the address is entered, thus avoiding the situation that the number of accessing the broadband of the unit planning user group in the short-term or sudden situation is increased, and the address resource in the dedicated address pool allocated for the group is in short supply, and the user cannot go online.
  • the access address is an IP address.
  • the method further includes: determining whether the user terminal is a user terminal that can allocate an access address; if yes, executing step 102; otherwise, ending the process .
  • the public associated with the private address pool includes: when the detection result indicates that the private address pool has no available access address, the access device detects the multiple according to a preset priority. Whether there is an access address available for allocation in the public address pool until the available access address is obtained; specifically, the access device starts from the highest priority public address pool associated with the private address pool, Determining whether the address of the highest priority public address pool is available for the address that can be allocated, and if so, assigning the available address to the user terminal; otherwise, the address.
  • the probability of obtaining an available address can be increased, so that the probability of user access is higher.
  • the access device when the access device detects that the public address pool has an available access address, the access device further determines whether the number of available access addresses in the public address pool is less than a predetermined number of addresses. The value, if yes, the access device sends an alarm message to notify the network management to process in time, such as increasing the number of access addresses in the public address pool or increasing the public address pool associated with the private address pool in time to avoid multiple users.
  • the terminal requests access, especially when multiple users request access at the same time, there is a case where the address is insufficient and cannot be accessed.
  • the method further includes: a step of configuring a different private address pool for different user groups in advance; and, a step of setting a correspondence between the private address pool and the public address pool, where the corresponding relationship is
  • the public address pools are associated with one or more private address pools, each associated with one or more public address pools.
  • FIG. 2 is an example of a correspondence between a set private address pool and a public address pool.
  • the private address pool is an address pool planned by the network administrator for a specific user group. For user terminals belonging to these specific user groups, the address pool or multiple user groups are preferentially responded to.
  • Public address pool Each public address pool can be associated with one or more private address pools, that is, multiple user groups can address from a common address pool Get the assignment.
  • Each private address pool can also correspond to multiple public address pools at the same time. That is, when the available address pool cannot be obtained from the public address pool corresponding to the user's private address pool, the optimization policy can be followed according to a preset priority order. Obtaining an address assignment from another public address pool corresponding to the private address pool; and further accessing the user terminal by using the address.
  • the private address pool 1 is associated with the public address pool 1 and the public address pool 2, and when there is no address assignable in the private address pool 1, the public can be determined according to a predetermined priority order. Is there an available access address in address pool 1 and public address pool 2; private address pool 2 is associated with public address pool 1-3; private address pool 3 is associated with public address pool 1, 3; public address pool 1 is The private address pool 1-3 is associated with each other. When any of the private address pools 1-3 has no address assignable, the available addresses can be obtained from the public address pool; the public address pool 2 and the private address pool 2 Associated with n; public address pool 3 is associated with all private address pools.
  • FIG. 3 is a schematic flowchart of configuring an address pool that can be allocated in an access address allocation process according to an embodiment of the present invention. As shown in Figure 3, the configuration process includes the following steps:
  • Step 301 the configuration process begins
  • Step 302 Configure a planned private address pool for the network user group, where different private address pools may be configured for different user groups.
  • Step 303 Configure a public address pool that can be used according to the user address.
  • Step 304 Configure an address pool optimization policy, including configuring a correspondence between the private address pool and the public address pool, and a priority between the multiple public address pools when a private address pool corresponds to multiple public address pools.
  • the configured address pool optimization policy includes a correspondence between a private address pool and a public address pool, and a priority between the multiple public address pools when a dedicated address pool corresponds to multiple public address pools.
  • the information can be recorded in the form of a table, and exemplarily, recorded in the form of an address pool optimization processing policy table.
  • FIG. 4 is a schematic flow chart of a method for allocating according to another embodiment of the present invention. As shown in Figure 4, the assignor The method includes the following steps:
  • Step 401 The process starts, and the user sends a protocol to apply for access
  • Step 402 The access device in the access system processes the negotiation packet to determine that the user can allocate an address. For example, after determining the user assignable address, the address pool information management processing for managing the address allocation is performed.
  • the module applies for obtaining an access address such as an IP address;
  • Step 403 According to the circuit and the user information in the protocol packet sent by the user, the circuit information is exemplarily, the virtual access line information is detected, and whether the address of the private address pool allocated by the current user has an address can be allocated; If the address is assignable, go to step 404; otherwise, go to step 405;
  • Step 404 Normally allocate an address from the current private address pool, perform access, and end the process.
  • Step 405 Find a public address pool associated with the private address pool corresponding to the user according to the preset address pool configuration policy.
  • the allocation, the address pool configuration policy includes: a correspondence between a preset private address pool and a public address pool, and a priority between multiple public address pools when a private address pool is associated with multiple public address pools;
  • Step 406 check whether there is an address available for allocation in the public address pool; if yes, proceed to step 407; otherwise, go to step 408;
  • Step 407 the user address allocation is performed in the public address pool, and then step 409 is performed;
  • the loop performs a step of searching for an address pool to find an address that can be allocated from the associated public address pool;
  • Step 409 After the obtained address is allocated to the user terminal, perform access processing on the user.
  • FIG. 5 is a schematic structural diagram of an access device according to an embodiment of the present invention.
  • the access device of the embodiment of the present invention includes: a packet receiving module 501, configured to receive a protocol packet that is sent by the user terminal to apply for access; and a first allocation processing module 502, configured to detect a dedicated address pool corresponding to the user terminal.
  • a second allocation processing module 503 configured to: when the detection result indicates that the private address pool has no available access address, according to the advance Corresponding relationship between the set private address pool and the public address pool, obtaining an available access address from the public address pool associated with the private address pool, and assigning the obtained access address to the user terminal.
  • the packet receiving module, the first allocation processing module, and the second allocation processing module belong to an access address device, such as an access address server system address management module, for performing address management functions.
  • the access device has a plurality of public address pools associated with the private address pool, and the second allocation processing module is further configured to: when the detection result indicates that the private address pool is not When the access address is available for allocation, the access device detects, according to a preset priority, whether there is an access address available for allocation in the plurality of public address pools until the available access is obtained. address.
  • the access device further includes: an address pool configuration module, configured to pre-configure different private address pools for different user groups, and set a correspondence between the private address pool and the public address pool, where the corresponding relationship is
  • an address pool configuration module configured to pre-configure different private address pools for different user groups, and set a correspondence between the private address pool and the public address pool, where the corresponding relationship is
  • Each public address pool is associated with one or more private address pools, each associated with one or more public address pools.
  • the access device further includes: an alarm processing module, configured to: in the dedicated address pool or the public address pool address exhausted, or the number of available addresses in the private address pool or the public address pool is less than When the predetermined number of addresses is wide, an alarm message is issued.
  • an alarm processing module configured to: in the dedicated address pool or the public address pool address exhausted, or the number of available addresses in the private address pool or the public address pool is less than When the predetermined number of addresses is wide, an alarm message is issued.
  • the access device where the first allocation processing module is further configured to determine a user group to which the user terminal belongs, and detect a dedicated place corresponding to the user group. Does the address pool have an access address to allocate?
  • FIG. 6 is a specific implementation of an access device according to an embodiment of the present invention. As shown in Figure 6, in the specific implementation, the access device includes:
  • An access protocol processing module configured to process an access protocol, including a packet receiving module for receiving a protocol packet for requesting access, for example, performing a process such as DHCP and PPPoE, including a status Recording and transformation of the machine;
  • the broadband access attribute configuration information management module is configured to record and process the configuration of the parameter attributes required for the broadband access process; for example, including: recording and processing of parameter attributes in the address management, and access circuit management Parameter attribute record and processing, user management aspects record parameter attribute record and processing;
  • An address pool configuration module is configured to perform address pool configuration.
  • the method further includes: configuring an address pool optimization processing policy; the module is further configured to collect configuration information of the address pool, such as configuration information performed by a network administrator, and The collected configuration information is transmitted to the address pool information management processing module for recording and processing to provide resources for the user to perform broadband access processing.
  • the broadband access attribute configuration information management module includes: an address pool information management processing module, configured to record and process information in the address management part of the broadband access system.
  • the address pool information management processing module is configured to implement address allocation, and includes: an address pool processing information record management module, an address pool processing policy table, and an address pool allocation processing module.
  • the address pool processing information record management module is configured to implement data transfer between the address pool configuration module, the address pool processing policy table, and the address pool allocation processing module.
  • the data configured by the address pool configuration module is processed by the collection and sent to the address pool to process the information record management module, and after the data is sorted, the key policy data is extracted, for example, the correspondence between the private address pool and the public address pool, and The priority order between multiple public address pools, the write address pool processing policy table records the above key data.
  • the address pool allocation processing module needs to perform address allocation according to the above optimization policy, the required policy data may be extracted from the address pool processing policy table to perform correct and most suitable addresses.
  • the pool optimization process enables the available addresses to be obtained from the public address pool and allocated to the user to avoid the situation where the user cannot go online.
  • the address pool processing policy table is used to record the optimal processing policy of the address pool in the form of a table, such as the correspondence between the private address pool and the public address pool.
  • the network administrator uses the address pool configuration policy set by the address pool configuration module to generate key data through the address pool processing information record management module and record it in the address pool policy table for storage records.
  • the broadband access attribute configuration information management module further includes: an alarm processing module, configured to prompt the network administrator for an alarm, so that the network administrator makes a timely response policy adjustment.
  • the address pool allocation processing module is configured to: when the user accesses and the access protocol processing module processes the acknowledgment that the address can be allocated, the application address allocation includes: a first allocation processing module and a second allocation processing module. Specifically, the first allocation processing module first detects whether there is an access address available for allocation in the private address pool corresponding to the user terminal, and if not, obtains an available address through the second allocation processing address pool. Entering an address, and assigning the obtained access address to the user terminal.
  • the private address pool is not judged, and the access circuit and the user information are directly requested according to the request.
  • the technical solution of the embodiment of the present invention is When the access policy of the network user is configured, the address pool is classified and the private address pool is configured, and the allocated private address pool is provided to different user groups. A number of public address pools, and the public address pools are associated with the private address pools. When a network user cluster is over-accessed for a certain period of time, the private address pool associated with the private address pool is used. IP address allocation is performed to avoid the situation that the user cannot go online, and further, by sending an alarm message, the network administrator can be reminded to reconfigure. In addition, by having a common address pool corresponding to multiple private address pools, address efficiency can be improved and public use can be better utilized. The address resource of the address pool.

Landscapes

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

Description

一种接入地址的分配方法及一种接入设备 技术领域
本发明涉及网络通信技术领域, 特别是涉及一种接入地址的分配方法 及一种接入设备。 背景技术
随着因特网的高速发展, 互联网络已经逐渐成为人们日常生活中的一 部分, 网络技术的不断发展和人们对网络需求的不断增多, 致使网络规模 的不断扩大, 网络用户数量不断增多, 现在的宽带接入网络, 以太网上的 点对点协议 ( PPPoE, Point-to-Point Protocol over Ethernet), 和动态主机配 置协议(DHCP, Dynamic Host Configuration Protocol )是成为最普遍的接 入方式。通过 PPPoE协议或 DHCP协议的客户端和服务端的报文交互处理, 触发宽带接入服务器进行地址的分配, 用户获取到被分配的地址, 就可以 接入网络, 进而登入使用互联网。
在宽带接入技术的使用中, 地址池的地位尤为重要, 因为有了地址池, 用户接入网络, 才有了必要的 IP地址资源可以使用。 地址池就像一个巨大 的 IP地址集结地, 对众多 IP地址进行统筹的管理, 分配, 回收。
但是, 现有的接入技术, 在出现用户大规模集中上线对 IP地址的突然 性大量需求时, 例如短时或突然性的大量需求时, 会出现地址池内地址资 源供不应求, 致使用户无法上线的情况。 发明内容
本发明的目的是提供一种接入地址的分配方法及一种接入设备, 以解 决现有技术的、 在出现用户大规模集中上线对接入地址的突然性大量需求 时, 出现地址池内地址资源不够用, 致使用户无法上线的技术问题。
为了实现上述目的, 本发明的技术方案是这样实现的:
一种接入地址的分配方法, 该方法包括如下步骤:
步骤 A, 接入设备接收用户终端发送的申请接入的协议报文; 步骤 B, 所述接入设备确定所述用户终端对应的专用地址池中是否还 有可供分配的接入地址, 并获得检测结果;
步骤 C, 当所述检测结果表明所述专用地址池没有可供分配的接入地 址时, 所述接入设备按照预先设置的专用地址池与公用地址池的对应关系 , 将所述获得的接入地址分配给所述用户终端。
与所述专用地址池相关联的公用地址池有多个, 所述步骤 C中获得可 供分配的接入地址的过程为: 当所述检测结果表明所述专用地址池没有可 供分配的接入地址时, 所述接入设备按照预先设定的优先级检测所述多个 公用地址池中是否存在可供分配的接入地址。
所述步骤 A之前, 该方法还包括: 为不同的用户群体配置不同的专用 地址池; 及, 设置专用地址池与公用地址池的对应关系; 所述对应关系中, 每个公用地址池与至少一个专用地址池相关联, 每个专用地址池与至少一 个公用地址池相关联。
该方法还包括: 所述接入设备在所述专用地址池或公用地址池的地址 耗尽时, 或所述专用地址池或公用地址池的可供分配的地址小于预定的地 址数目阔值时, 发出报警信息。
所述步骤 B中, 所述接入设备确定所述用户终端对应的专用地址池中 是否还有可供分配的接入地址包括: 所述接入设备确定所述用户终端所属 的用户群体; 所述接入设备检测所述用户群体对应的专用地址池是否还有 可供分配的接入地址。 一种接入设备, 该接入设备包括:
报文接收模块, 用于接收用户终端发送的申请接入的协议报文; 第一分配处理模块, 用于检测所述用户终端对应的专用地址池中是否 还有可供分配的接入地址, 并获得检测结果;
第二分配处理模块, 用于当所述检测结果表明所述专用地址池没有可 供分配的接入地址时, 按照预先设置的专用地址池与公用地址池的对应关 并将所述获得的接入地址分配给所述用户终端。
与所述专用地址池相关联的公用地址池有多个, 所述第二分配处理模 块进一步用于: 当所述检测结果表明所述专用地址池没有可供分配的接入 地址时, 按照预先设定的优先级检测所述多个公用地址池中是否存在可供 分配的接入地址。
该接入设备还包括: 地址池配置模块, 用于预先为不同的用户群体配 置不同的专用地址池, 及设置专用地址池与公用地址池的对应关系; 所述 对应关系中, 每个公用地址池与至少一个专用地址池相关联, 每个专用地 址池与至少一个公用地址池相关联。
该接入设备还包括: 告警处理模块, 用于在所述专用地址池或公用地 目小于预定的地址数目阔值时, 发出报警信息。
所述第一分配处理模块, 进一步用于确定所述用户终端所属的用户群 体, 并检测所述用户群体对应的专用地址池是否还有可供分配的接入地址。
本发明的技术效果在于:
通过预先设置与专用地址池相关联的公用地址池, 可在用户终端所属 群体对应的专用地址池没有可用的接入地址时, 进一步从与专用地址池相 关联的公用地址池中获得可用的接入地址, 这样就避免了在出现短时或突 然性的单元规划用户群体接入宽带数量加多, 造成为该群体分配的专用地 址池内的地址资源供不应求时, 用户无法上线的情况。 附图说明
图 1为本发明实施例的接入地址的分配方法的流程示意图;
图 2为专用地址池与公用地址池的对应关系的一个示例;
图 3 为本发明实施例的接入地址分配过程中, 配置地址池的流程示意 图;
图 4为本发明另一实施例接入地址的分配方法的流程示意图; 图 5为本发明实施例的接入设备的结构示意图;
图 6为本发明实施例的接入设备的一种具体实现。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图及具 体实施例对本发明进行详细描述。
本发明的发明人在实现本发明的过程中发现, 在网络的使用中, 因为 不同的组网环境, 且有着不同的用户群体, 因此, 需要对地址池的预先配 置规划做出提前预测, 以便尽最大可能的满足各个时段不同空间出现的用 户大规模集中上线对接入地址如 IP地址的突然性大量需求。
图 1为本发明实施例的接入地址的分配方法的流程示意图。如图 1 , 本 发明实施例的接入地址的分配方法, 包括如下步骤:
步骤 101 , 接入设备接收用户终端发送的申请接入的协议报文; 步骤 102,接入设备检测所述用户终端对应的专用地址池中是否还有可 供分配的接入地址, 并获得一检测结果;
示例性地, 该步骤中, 检测所述用户终端对应的专用地址池中是否还 有可供分配的接入地址包括: 确定所述用户终端所属的用户群体, 及检测 所述用户群体对应的专用地址池是否还有可供分配的接入地址;
步骤 103 ,当所述检测结果表明所述专用地址池没有可供分配的接入地 址时, 接入设备按照预先设置的专用地址池与公用地址池的对应关系, 从 获得的接入地址分配给所述用户终端; 用户终端可利用该分配的接入地址 进行接入, 示例性地, 如宽带接入。 接入设备将专用地址池中的可供分配的地址分配给用户终端, 用户终端可 利用该分配的接入地址进行接入。 接入设备进一步判断专用地址池中的可供分配的接入地址的数目是否小于 预定的地址数目阔值, 如是, 则接入设备发出报警信息, 以通知网管及时 处理, 如及时增加专用地址池中的接入地址数目、 或增加与专用地址池关 联的公用地址池等, 以避免在多个用户终端请求接入尤其是多个用户同时 请求接入时, 由于地址不够, 出现无法接入的情况。
通过预先设置与专用地址池相关联的公用地址池, 可在用户终端所属 群体对应的专用地址池没有可用的接入地址时, 进一步从与专用地址池相 关联的公用地址池中获得可用的接入地址, 这样就避免了在出现短时或突 然性的单元规划用户群体接入宽带数量加多, 造成为该群体分配的专用地 址池内的地址资源供不应求时, 用户无法上线的情况。
示例性地, 上述接入地址为 IP地址。
示例性地, 上述步骤 101 中, 在接入设备接收到所述协议报文后, 还 包括: 确定用户终端是否为可分配接入地址的用户终端; 如是, 则执行步 骤 102; 否则, 结束流程。
优选地, 本发明实施例的分配方法中, 与所述专用地址池相关联的公 用地址池有多个, 上述步骤 103 包括: 当所述检测结果表明所述专用地址 池没有可供分配的接入地址时, 所述接入设备按照预先设定的优先级检测 所述多个公用地址池中是否存在可供分配的接入地址, 直至获得所述可供 分配的接入地址; 具体地, 接入设备从与该专用地址池相关联的最高优先 级的公用地址池开始, 判断该最高优先级的公用地址池中是否存在可供分 配的地址即可用的地址, 如是, 则将可用的地址分配给用户终端; 否则, 的地址。 该实施例中, 通过让一个专用地址池对应多个公用地址池, 可提 高获得可用地址的概率, 使得用户接入的概率更高。 示例性地, 在接入设 备检测到公用地址池存在可供分配的接入地址时, 接入设备进一步判断该 公用地址池中的可供分配的接入地址的数目是否小于预定的地址数目阔 值, 如是, 则接入设备发出报警信息, 以通知网管及时处理, 如及时增加 公用地址池中的接入地址数目、 或增加与专用地址池关联的公用地址池等, 以避免在多个用户终端请求接入尤其时多个用户同时请求接入时, 出现由 于地址不够, 无法接入的情况。
优选地, 在上述步骤 101 之前, 还包括: 预先为不同的用户群体配置 不同的专用地址池的步骤; 及, 设置专用地址池与公用地址池的对应关系 的步骤, 所述对应关系中, 每个公用地址池与一个或多个专用地址池相关 联, 每个专用地址池与一个或多个公用地址池相关联。
示例性地, 图 2 为设置的专用地址池与公用地址池的对应关系的一个 例子。 如图 2 , 该例中, 专用地址池是网络管理员对特定的用户群体规划的 地址池, 对属于这些特定用户群体中的用户终端, 优先从此地址池分配地 或多个用户群体临时响应使用的公共地址池。 每个公用地址池可以和一个 或多个专用地址池关联, 即多个用户群体可以从一个公用地址池进行地址 获取分配。 每个专用地址池也可以同时对应多个公用地址池, 即当从用户 的专用地址池对应的公用地址池也获取不到可用的地址时, 可以按照优化 策略如按照预先设定的优先级顺序, 从该专用地址池对应的另一公用地址 池获取地址分配; 进而利用该地址接入用户终端。
如图 2, 该例中, 专用地址池 1与公用地址池 1和公用地址池 2相关联 即相对应, 在专用地址池 1 中无地址可分配时, 可按照预定的优先级顺序 分别判断公用地址池 1和公用地址池 2中是否有可用的接入地址; 专用地 址池 2与公用地址池 1-3相关联; 专用地址池 3与公用地址池 1、 3相关联; 公用地址池 1与专用地址池 1-3相关联即相对应,在专用地址池 1-3中的任 一个没有地址可分配时, 均可从公用地址池中获取可用的地址; 公用地址 池 2与专用地址池 2和 n相关联; 公用地址池 3和所有专用地址池相关联。
图 3 为本发明实施例的接入地址分配过程中, 配置可供分配的地址池 的流程示意图。 如图 3 , 该配置过程包括如下步骤:
步骤 301 , 配置流程开始;
步骤 302, 为网络用户群体配置规划的专用地址池, 其中, 可为不同的 用户群体配置不同的专用地址池;
步骤 303 , 根据用户地址配置可使用的公用地址池;
步骤 304, 配置地址池优化策略, 包括配置专用地址池和公用地址池之 间的对应关系, 及当一个专用地址池对应多个公用地址池时, 这多个公用 地址池之间的优先级等。
示例性地, 上述配置好的地址池优化策略, 包括专用地址池和公用地 址池之间的对应关系, 及当一个专用地址池对应多个公用地址池时, 这多 个公用地址池之间的优先级的信息, 可通过表的形式来记录, 示例性地, 通过地址池优化处理策略表的形式来记录。
图 4为本发明另一实施例的分配方法的流程示意图。如图 4, 该分配方 法包括如下步骤:
步骤 401 , 流程开始, 用户发送协议 文申请接入;
步骤 402,接入系统中的接入设备经过协商报文处理, 确定出此用户可 以分配地址, 示例性地, 在确定出用户可分配地址后, 向用于管理地址分 配的地址池信息管理处理模块申请获取接入地址如 IP地址;
步骤 403 , 根据用户发送的协议报文中的电路及用户信息, 示例性地, 该电路信息为虚拟的接入线路信息, 检测为当前用户分配的专用地址池是 否还有地址可以分配; 如有地址可分配, 则执行步骤 404; 否则, 执行步骤 405;
步骤 404, 从当前专用地址池正常分配地址, 进行接入, 并结束流程; 步骤 405 ,按照预先设置的地址池配置策略, 找到与该用户对应的专用 地址池相关联的公用地址池来进行地址分配, 该地址池配置策略包括: 预 先设置的专用地址池与公用地址池之间的对应关系, 以及当一个专用地址 池与多个公用地址池相关联时, 多个公用地址池间的优先级;
步骤 406, 查看公用地址池中是否还有可供分配的地址; 如果有, 则执 行步骤 407; 否则, 执行步骤 408;
步骤 407,在此公用地址池中进行用户地址分配, 然后,执行步骤 409; 步骤 408, 按照预先设置的优先级确定出需查找的下一个公用地址池, 然后, 执行进行步骤 406;
上述步骤 405-408, 循环执行查找用于地址池的步骤, 以从关联的公用 地址池中查找出可供分配的地址;
步骤 409, 将获得的地址分配给该用户终端后, 对用户进行接入处理; 步骤 410,接入设备通过告警处理模块提示告警信息, 通知网络管理员 专用地址池或公用地址池地址耗尽的信息, 以便网络管理员能尽快处理并 重新规划用户的宽带接入策略。 图 5 为本发明实施例的接入设备的结构示意图。 本发明实施例的接入 设备包括: 报文接收模块 501 , 用于接收用户终端发送的申请接入的协议报 文; 第一分配处理模块 502 , 用于检测所述用户终端对应的专用地址池中是 否还有可供分配的接入地址, 并获得一检测结果; 第二分配处理模块 503 , 用于当所述检测结果表明所述专用地址池没有可供分配的接入地址时, 按 照预先设置的专用地址池与公用地址池的对应关系, 从与所述专用地址池 相关联的公用地址池中获得可供分配的接入地址, 并将所述获得的接入地 址分配给所述用户终端。
示例性地, 上述报文接收模块、 第一分配处理模块和第二分配处理模 块属于接入设备如接入服务器的系统地址管理模块, 用于完成地址管理功
•6匕
匕。
优选地, 所述的接入设备中, 与所述专用地址池相关联的公用地址池 有多个, 所述第二分配处理模块进一步用于: 当所述检测结果表明所述专 用地址池没有可供分配的接入地址时, 所述接入设备按照预先设定的优先 级检测所述多个公用地址池中是否存在可供分配的接入地址, 直至获得所 述可供分配的接入地址。
优选地, 所述的接入设备还包括: 地址池配置模块, 用于预先为不同 的用户群体配置不同的专用地址池, 及设置专用地址池与公用地址池的对 应关系, 所述对应关系中, 每个公用地址池与一个或多个专用地址池相关 联, 每个专用地址池与一个或多个公用地址池相关联。
优选地, 所述的接入设备, 还包括: 告警处理模块, 用于在所述专用 地址池或公用地址池地址耗尽、 或专用地址池或公用地址池中可供分配的 地址的数目小于预定的地址数目阔值时, 发出报警信息。
优选地, 所述的接入设备, 其中, 所述第一分配处理模块, 进一步用 于确定所述用户终端所属的用户群体, 并检测所述用户群体对应的专用地 址池是否还有可供分配的接入地址。
图 6为本发明实施例的接入设备的一种具体实现。 如图 6, 该具体实现 中, 接入设备包括:
接入协议处理模块, 用于进行接入协议的处理过程, 包括用于接收申 请接入的协议报文的报文接收模块, 示例性地, 如进行 DHCP和 PPPoE协 议等的处理过程, 包括状态机的记录和变换等;
宽带接入属性配置信息管理模块, 用于对宽带接入过程需要用到的参 数属性的配置进行记录及处理; 示例性地, 包括: 地址管理方面参数属性 的记录及处理, 接入电路管理方面参数属性记录及处理, 用户管理方面记 录参数属性记录及处理等;
地址池配置模块, 用于进行地址池的配置, 示例性地, 包括对地址池 的优化处理策略进行配置; 该模块进一步用于收集地址池的配置信息如网 络管理员进行的配置信息, 并将收集到的配置信息传递给地址池信息管理 处理模块进行记录及处理, 以为用户进行宽带接入处理时提供资源。
其中, 宽带接入属性配置信息管理模块包括: 地址池信息管理处理模 块, 用于在宽带接入系统中地址管理部分进行信息的记录和处理。 该例中, 地址池信息管理处理模块, 用于实现地址分配的功能, 包括: 地址池处理 信息记录管理模块、 地址池处理策略表和地址池分配处理模块。 地址池处 理信息记录管理模块, 用于在实现地址池配置模块、 地址池处理策略表和 地址池分配处理模块之间的数据传递。 地址池配置模块配置的数据, 经釆 集传递后到地址池处理信息记录管理模块, 进行数据整理后, 如提取出关 键的策略数据, 例如, 专用地址池与公用地址池之间的对应关系, 和多个 公用地址池之间的优先级顺序, 写入地址池处理策略表记录上述关键数据。 当地址池分配处理模块需要按照上述优化策略进行地址分配时, 可从上述 地址池处理策略表中, 提取所需要的策略数据, 进行正确及最合适的地址 池优化处理, 使得能够从公用地址池中获取可用的地址, 分配给用户, 避 免出现用户无法上线的情况。 地址池处理策略表, 用于以表的形式记录地 址池的优化处理策略, 如专用地址池与公用地址池之间的对应关系。 网络 管理员通过地址池配置模块设置的地址池配置策略, 通过地址池处理信息 记录管理模块生成关键数据, 记录到地址池策略表中, 进行存储记录。
进一步地, 宽带接入属性配置信息管理模块还包括: 告警处理模块, 用于向网络管理员提示告警, 以便网络管理员作出及时响应策略调整。
地址池分配处理模块, 用于在用户接入且经接入协议处理模块处理确 认可以分配地址时, 申请地址分配, 包括: 第一分配处理模块和第二分配 处理模块。 具体地, 先通过第一分配处理模块检测所述用户终端对应的专 用地址池中是否还有可供分配的接入地址, 如没有, 则通过第二分配处理 地址池中获得可供分配的接入地址, 并将所述获得的接入地址分配给所述 用户终端。
示例性地, 也可以根据预先的配置, 不对专用地址池进行判断, 直接 根据请求接入电路和用户信息, 根据预先设置的地址池处理策略表从与所 本发明实施例的技术方案, 在对网络用户的接入策略进行配置时, 通 过对可使用的接入地址如 IP地址进行地址池分类并配置专用地址池, 并将 分配后的专用地址池提供给不同的用户群体使用, 同时, 配置若干公用地 址池, 并将公用地址池关联至专用地址池, 可在某网络用户集群某时段接 入过多, 导致专用地址池 IP地址耗尽时, 通过使用此专用地址池关联的公 用地址池进行 IP地址分配, 避免出现用户无法上线的情况, 且进一步地, 通过发送告警信息, 可提醒网络管理员重新配置。 此外, 通过让一个公用 地址池对应多个专用地址池, 可提高地址的使用效率, 更好地利用了公用 地址池的地址资源。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的 普通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进 和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权利要求书
1. 一种接入地址的分配方法, 其特征在于, 该方法包括如下步骤: 步骤 A, 接入设备接收用户终端发送的申请接入的协议报文; 步骤 B, 所述接入设备确定所述用户终端对应的专用地址池中是否还 有可供分配的接入地址, 并获得检测结果;
步骤 C , 当所述检测结果表明所述专用地址池没有可供分配的接入地 址时, 所述接入设备按照预先设置的专用地址池与公用地址池的对应关系 , 将所述获得的接入地址分配给所述用户终端。
2. 根据权利要求 1所述的分配方法, 其特征在于, 与所述专用地址池 相关联的公用地址池有多个, 所述步骤 C中获得可供分配的接入地址的过 程为:
当所述检测结果表明所述专用地址池没有可供分配的接入地址时, 所 述接入设备按照预先设定的优先级检测所述多个公用地址池中是否存在可 供分配的接入地址。
3. 根据权利要求 1或 2所述的分配方法, 其特征在于, 所述步骤 A之 前, 该方法还包括:
为不同的用户群体配置不同的专用地址池; 及,
设置专用地址池与公用地址池的对应关系; 所述对应关系中, 每个公 用地址池与至少一个专用地址池相关联, 每个专用地址池与至少一个公用 地址池相关联。
4. 根据权利要求 1或 2所述的分配方法,其特征在于,该方法还包括: 专用地址池或公用地址池的可供分配的地址小于预定的地址数目阔值时, 发出报警信息。
5.根据权利要求 1或 2所述的分配方法,其特征在于,所述步骤 B中 , 所述接入设备确定所述用户终端对应的专用地址池中是否还有可供分配的 接入地址包括:
所述接入设备确定所述用户终端所属的用户群体;
所述接入设备检测所述用户群体对应的专用地址池是否还有可供分配 的接入地址。
6. 一种接入设备, 其特征在于, 该接入设备包括:
报文接收模块, 用于接收用户终端发送的申请接入的协议报文; 第一分配处理模块, 用于检测所述用户终端对应的专用地址池中是否 还有可供分配的接入地址, 并获得检测结果;
第二分配处理模块, 用于当所述检测结果表明所述专用地址池没有可 供分配的接入地址时, 按照预先设置的专用地址池与公用地址池的对应关 并将所述获得的接入地址分配给所述用户终端。
7. 根据权利要求 6所述的接入设备, 其特征在于, 与所述专用地址池 相关联的公用地址池有多个, 所述第二分配处理模块进一步用于:
当所述检测结果表明所述专用地址池没有可供分配的接入地址时, 按 照预先设定的优先级检测所述多个公用地址池中是否存在可供分配的接入 地址。
8. 根据权利要求 6或 7所述的接入设备, 其特征在于, 该接入设备还 包括:
地址池配置模块, 用于预先为不同的用户群体配置不同的专用地址池, 及设置专用地址池与公用地址池的对应关系; 所述对应关系中, 每个公用 地址池与至少一个专用地址池相关联, 每个专用地址池与至少一个公用地 址池相关联。
9. 根据权利要求 6或 7所述的接入设备, 其特征在于, 该接入设备还 包括: 所述专用地址池或公用地址池中可供分配的地址的数目小于预定的地址数 目阔值时, 发出报警信息。
10. 根据权利要求 6或 7所述的接入设备, 其特征在于, 所述第一分 配处理模块, 进一步用于确定所述用户终端所属的用户群体, 并检测所述 接入地址。
PCT/CN2010/078959 2009-12-14 2010-11-22 一种接入地址的分配方法及一种接入设备 WO2011072566A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910242652.5 2009-12-14
CN200910242652A CN101741925A (zh) 2009-12-14 2009-12-14 一种接入地址的分配方法及一种接入设备

Publications (1)

Publication Number Publication Date
WO2011072566A1 true WO2011072566A1 (zh) 2011-06-23

Family

ID=42464808

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078959 WO2011072566A1 (zh) 2009-12-14 2010-11-22 一种接入地址的分配方法及一种接入设备

Country Status (2)

Country Link
CN (1) CN101741925A (zh)
WO (1) WO2011072566A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741925A (zh) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 一种接入地址的分配方法及一种接入设备
CN103019754A (zh) * 2011-09-23 2013-04-03 施耐德电器工业公司 应用程序下载方法
CN102413203A (zh) * 2011-12-01 2012-04-11 中兴通讯股份有限公司 Ip地址的分配方法及装置
CN103178973B (zh) * 2011-12-21 2016-04-20 中国电信股份有限公司 管理ip地址的方法、系统和设备
CN103297254B (zh) 2012-02-23 2017-06-20 华为技术有限公司 管理地址资源的方法及网关设备
CN103095863A (zh) * 2013-01-10 2013-05-08 上海斐讯数据通信技术有限公司 一种实现不同vlan用户获取ip的方法
CN107426344A (zh) * 2017-05-17 2017-12-01 北京赛特斯信息科技股份有限公司 基于动态上报使用率实现地址池集中管理的系统及方法
CN110266826B (zh) * 2018-03-12 2020-11-17 华为技术有限公司 地址管理方法、设备及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492615A (zh) * 2002-09-11 2004-04-28 ���ǵ�����ʽ���� 为码分多址系统中的移动节点分配互联网协议地址的方法
CN1561072A (zh) * 2004-02-20 2005-01-05 港湾网络有限公司 实现用户ip地址池共享的方法
CN1585359A (zh) * 2004-05-28 2005-02-23 港湾网络有限公司 Dslam设备间地址段静态批量分配的方法
CN101741925A (zh) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 一种接入地址的分配方法及一种接入设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798094A (zh) * 2004-12-23 2006-07-05 华为技术有限公司 一种使用缓存区的方法
CN100527752C (zh) * 2005-08-19 2009-08-12 杭州华三通信技术有限公司 Dhcp的地址分配方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492615A (zh) * 2002-09-11 2004-04-28 ���ǵ�����ʽ���� 为码分多址系统中的移动节点分配互联网协议地址的方法
CN1561072A (zh) * 2004-02-20 2005-01-05 港湾网络有限公司 实现用户ip地址池共享的方法
CN1585359A (zh) * 2004-05-28 2005-02-23 港湾网络有限公司 Dslam设备间地址段静态批量分配的方法
CN101741925A (zh) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 一种接入地址的分配方法及一种接入设备

Also Published As

Publication number Publication date
CN101741925A (zh) 2010-06-16

Similar Documents

Publication Publication Date Title
WO2011072566A1 (zh) 一种接入地址的分配方法及一种接入设备
US9853938B2 (en) Automatic generation of server network topology
CN104380277B (zh) 用于管理云调度环境中的服务器硬件资源的方法、系统和设备
EP2563062B1 (en) Long connection management apparatus and link resource management method for long connection communication
WO2013163944A1 (zh) 一种共享IaaS业务云账号的方法、及共享平台和网络装置
CN1213567C (zh) 一种网络设备的集群管理方法
WO2012126243A1 (zh) 一种地址池分配系统及方法
JP4257238B2 (ja) Ipアドレス自動付与方法/プログラム/記録媒体/装置/システム、シャーシ管理装置、制御カード
JP2008502044A5 (zh)
WO2009140910A1 (zh) 主动式ip地址分配方法及系统
CN100352210C (zh) 管理网络设备的方法
US20140201356A1 (en) Monitoring system of managing cloud-based hosts and monitoring method using for the same
CN106657434B (zh) 一种ip地址的查看方法和装置
CN101076978A (zh) 交换式以太网上的定向PPPoE会话启动
CN112910854B (zh) 物联网安全运维的方法、装置、终端设备和存储介质
WO2015101303A1 (zh) 频道处理方法和装置
WO2017000443A1 (zh) 管理专线用户的方法、宽带接入服务器及管理服务器
WO2023010819A1 (zh) 一种虚拟机内部配置的修改方法、系统及装置
CN200944605Y (zh) 一种域名服务器及通信系统
JP6134954B1 (ja) ネットワークセキュリティ装置、ネットワーク管理方法、及びプログラム
CN111930482A (zh) 基于节点集群的任务处理方法、装置、设备及存储介质
WO2012167657A1 (zh) 一种实现事件转发的方法及通用信息模型cim服务器
CN111865749B (zh) 一种端口绑定方法及装置
JP2002252631A (ja) Vpn情報提供システム及びその方法
CN113900791A (zh) 一种作业处理方法以及相关设备

Legal Events

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

Ref document number: 10837003

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10837003

Country of ref document: EP

Kind code of ref document: A1