CN101662511A - Network address distributing method, DHCP server, access system and method thereof - Google Patents

Network address distributing method, DHCP server, access system and method thereof Download PDF

Info

Publication number
CN101662511A
CN101662511A CN 200910181106 CN200910181106A CN101662511A CN 101662511 A CN101662511 A CN 101662511A CN 200910181106 CN200910181106 CN 200910181106 CN 200910181106 A CN200910181106 A CN 200910181106A CN 101662511 A CN101662511 A CN 101662511A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
service
address
unoccupied
dhcp
ip address
Prior art date
Application number
CN 200910181106
Other languages
Chinese (zh)
Other versions
CN101662511B (en )
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

Abstract

The invention provides a network address distributing method, a DHCP server, an access system and a method thereof, relating to the technical field of data communication. A network address distributing method comprises the steps: receiving a DHCP discovery report transmitted from a service terminal, wherein the discovery report comprises the service identification of the service type requested bythe service terminal; searching an unoccupied ID address corresponding to the service identification in an address pool, wherein the IP address in the address pool comprises status attributes respectively corresponding to the different service types, and the status attributes comprise the unoccupied or the occupied attributes; and transmitting the searched unoccupied ID address to the service terminal through a DHCP proposal report. The invention realizes the repeat use of the same IP address for the different service types, saves address expenditure, and relieves the increasing tensional address use condition.

Description

网络地址分配方法及DHCP服务器、接入系统及方法技术领域 Network address assignment method and a DHCP server, the access system and method Technical Field

本发明涉及数据通讯技术领域,特别是涉及一种网络地址分配方法及DHCP (dynamic host contiguration protocol, 动'态主才几酉己置协i义) 服务器、接入系统及方法。 The present invention relates to data communication technologies, particularly to a network address assignment method and a DHCP (dynamic host contiguration protocol, dynamic 'state has a main unitary set only a few co-i sense) server, the access system and method.

背景技术 Background technique

目前使用的DHCP系统只包含了一个地址空间,能够为单一电信业务实现快速接入控制操作。 DHCP system currently contains only an address space, can control the operation of a single telecommunications services for fast access. 但是,随着以DHCP协议为基础的接入认证技术正逐步在各种电信业务当中实施,这些业务产品数量的增加对于原有IP地址的需求量也大大提高了,原有的地址资源可能远远不能满足业务量增长带来的对地址的需求。 However, with access to the DHCP protocol authentication technology based on a variety of telecommunications services is gradually implement them, these products increase the number of business demand for original IP address is also greatly improved, the original address resources may be much can not meet the demand caused by growth in business volume for the address. 同时,如果以业务类别为单位部署DHCP接入系统,对于服务提供商来说,又必将带来巨额的开销。 Meanwhile, if business-class units to deploy DHCP access systems for service providers, but also will bring a huge amount of overhead.

发明内容 SUMMARY

本发明的目的是提出一种网络地址分配方法,为多业务开展节省IP 地址开销。 The purpose of the invention is to provide a network address assignment method, the cost saving IP address is a multi-business development.

为实现上述目的,本发明提供了一种网络地址分配方法,包括:接收业务终端发送的DHCP发现(discover)报文,所述发现报文中包括所述业务终端请求的业务类别的业务标识;在地址池中查找与所述业务标识对应的未占用的IP地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性;和将查找到的所述未占用的IP地址通过DHCP提议(offer)报文发送给所述业务终端。 To achieve the above object, the present invention provides a network address assignment method, comprising: receiving a service terminal sends a DHCP discovery (Discover) message, a discovery packet service comprising service classes of the service requested by the terminal identifier; Find the address pool corresponding to the service identifier unoccupied IP address, IP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said attribute includes information indicating the state of occupied or unoccupied property; and to find the IP address of the unoccupied packet transmitted to the terminal by a DHCP service proposed (offer).

进一步的,所述在地址池中查找与所述业务标识对应的未占用的IP 地址包括:在所述地址池中查找所述业务标识代表的所述业务类別,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地 Further, the lookup in the address pool corresponding to the service identifier of the IP address of the unoccupied comprising: searching for the service identifier of the service class represented in the address pool, wherein said address pool every business category, each available IP address pool to all

址;和在查找到的所述业务类别中查找所述状态属性表示未占用的IP 地址。 Site; and to find the state of said lookup service class attribute indicates the IP address unoccupied.

在一个实施例中,网络地址分配方法还包括:将发送给所述业务终端的所述未占用的IP地址的状态属性修改为已占用。 In one embodiment, the network address allocation method further comprising: transmitting the service to the terminal status attribute unoccupied IP address is modified occupied.

本发明的目的还包括提出一种业务网络接入方法,实现有效、安全的才姿入控制以及地址分配。 Object of the present invention further comprises a method to provide a network access service, effective, safe, and only pose the address assignment control.

为实现上述目的,本发明提供了一种业务网络接入方法,包括: DHCP服务器接收业务终端发送的携带认证请求的DHCP发现报文, 所述DHCP发现报文包括所述业务终端请求的业务类别的业务标识、 用户名和密码;所述DHCP服务器将所述业务请求发送给认证服务器进行验证;在获得所迷认证服务器的验证之后,所述DHCP服务器在地址池中查找与所述业务标识对应的未占用的IP地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性;和所述DHCP服务器向所述业务终端发送携带认证回复的DHCP提议^^艮文,所述DHCP提议报文包括查找到的未占用的IP地址。 To achieve the above object, the present invention provides a network access service method, comprising: carrying the DHCP authentication server receives the DHCP requests sent by the terminal service discovery packet, the DHCP discovery packet comprises a service category of the service requested by the terminal service identification, user name and password; the DHCP server, the request for service authentication to the authentication server; after obtaining the authentication server fans authentication, the DHCP server searches for the corresponding service identifier in the address pool unoccupied IP address, IP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said attribute includes information indicating the state of unoccupied or occupied properties; and said DHCP server to the service terminal authentication reply message carrying the DHCP proposal ^^ Gen text, the proposed DHCP packet includes the IP address to find unoccupied.

进一步的,所述DHCP服务器在地址池中查找与所述业务标识对应的未占用的IP地址包括:在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地址;和在查找到的所述业务类别中查找所述状态属性表示未占用的IP地址。 Further, the DHCP server address pool to find the service identifier corresponding to the IP address of the unoccupied comprising: searching for the service identifier of the service class represented in the address pool, wherein said address pool All IP addresses of each service class includes an address pool respectively; and look at the state found in the service class attribute indicates the IP address unoccupied.

本发明的目的还包括提出一种DHCP服务器,为开展多业务服务更有效的进行地址分配。 The present invention also includes proposed a DHCP server to carry out multi-business services for address allocation more efficient.

为实现上述目的,本发明提供了一种DHCP服务器,包括:接收装置,用于接收业务终端发送的DHCP发现报文,所述发现报文中包括所述业务终端请求的业务类别的业务标识;查找装置,用于在地址池中查找与所述业务标识对应的未占用的IP地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性;和发送装置,用于将查找到的所述未占用的IP地址通过DHCP提议报文发送给所述业务终端。 To achieve the above object, the present invention provides a DHCP server, comprising: receiving means for receiving traffic DHCP discovery packet sent from the terminal, said discovery packet comprises a traffic class of the service requested by the terminal service identifier; lookup means for looking up the address pool corresponding to the service identifier unoccupied IP address, IP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said attribute includes information indicating the state of occupied or unoccupied attributes; and transmitting means for unoccupied find the IP address of the packet transmitted to the terminal by a DHCP service proposed.

进一步的,所述查找装置包括:业务类别查找单元,用于在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每 Further, the lookup means comprising: a business category search unit for searching for the service identifier representative of the address pool of the service categories, wherein each of said address pool

一个业务类别都分别包括地址池中的所有IP地址;和地址查找单元, 用于在查找到的所述业务类别中查找所述状态属性表示未占用的IP地址。 A traffic class will include all IP addresses in the address pool; and an address searching unit configured to search to find the state of the service class attribute indicates the IP address unoccupied.

在一个实施例中,DHCP服务器还包括:属性修改装置,用于将发送给所述业务终端的所述未占用的IP地址的状态属性修改为已占用。 In one embodiment, the DHCP server further comprising: attribute modification means for transmitting to the service state of the terminal attribute unoccupied IP address is modified occupied.

本发明的目的还包括提出一种业务网络接入系统,实现有效、安全的接入控制以及地址分配。 Object of the present invention further comprises a network access system to provide a service, effective, and safe access control address assignment.

为实现上述目的,本发明提供了一种业务网络接入系统,包括: DHCP服务器,用于接收和转送业务终端发送的携带认证请求的DHCP 发现报文,所述DHCP发现报文包括所述业务终端请求的业务类别的业务标识、用户名和密码;和认证服务器,用于接收所述DHCP服务器转送的所述认证请求,并对所述认证请求包括的信息进行验证,其中,在获得所述认证服务器的验证之后,所述DHCP服务器在地址池中查找与所述业务标识对应的未占用的IP地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性,并且所述DHCP服务器向所述业务终端发送携带认证回复的DHCP提议报文,所述DHCP提议报文包括查找到的未占用的IP地址。 To achieve the above object, the present invention provides a network access service system, comprising: DHCP server for receiving and forwarding the authentication service request sent by the terminal carries a DHCP discover packet, the DHCP discovery message comprises the service traffic class of service requested by the terminal identifier, user name and password; and an authentication server, the authentication request for receiving the forwarded DHCP server, and the authentication information comprises a request for authentication, wherein the authentication is obtained in after the authentication server, the DHCP server address pool lookup service identifier corresponding to the unoccupied IP address, IP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said state attribute includes information indicating an occupied or unoccupied property, and the DHCP authentication server sends a reply to the service terminal proposal DHCP message, the DHCP message comprising a proposed IP address to find unoccupied.

进一步的,所述DHCP服务器包括:业务类别查找单元,用于在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地址;和地址查找单元,用于在查找到的所述业务类别中查找所述状态属性表示未占用的IP 地址。 Further, the DHCP server comprising: a service category search unit for searching for the service identifier representative of the address pool of the service categories, wherein each category of the service address pool address pool comprises respectively all IP addresses; and an address searching unit configured to search to find the state of the traffic class attribute indicates the IP address of the unoccupied.

基于上述技术方案,本发明在一套DHCP服务器上采用了二维的地址池,实现了对于不同业务类别同一IP地址的复用,节省了地址开销,緩解了日趋紧张的地址使用情况,同时也为服务提供商降低了采购设备的成本,提供了筒便的维护手段。 Based on the above technical solution, the present invention uses a DHCP server on a two-dimensional address pool to achieve the different traffic classes for reuse the same IP address, save address cost, ease the growing tension of address usage, but also reducing the cost of procurement of equipment for service providers, it will provide maintenance cylinder means.

附图说明 BRIEF DESCRIPTION

此处所说明的附图用来提供对本发明的进一步解释,构成本发明的一部分。 The drawings described herein are used to provide part of the invention is further explained, the configuration of the present invention. 本发明的示意性实施例及其说明仅用于解释本发明,但并不构 And exemplary embodiments of the present invention is described merely to illustrate the invention, but are not construed

成对本发明的不当限定。 Unduly limit the present invention in pairs. 在附图中: In the drawings:

图l为根据本发明实施例的业务网洛接入系统的结构示意图。 Figure l is a schematic structural diagram of an access service network system according to the Los embodiment of the invention.

图2为根据本发明实施例的DHCP服务器中的地址池数据结构示意图。 FIG 2 is a data structure address pool of the DHCP server according to embodiments of the present invention.

图3为根据本发明实施例的网络地址分配方法的流程图。 A flowchart of a network address assignment method according to the present invention according to FIG. 3 embodiment.

图4为根据本发明实施例的业务网^"入方法的流程图。 ^ "A flowchart of a method of the embodiment of FIG. 4 web services according to embodiments of the present invention.

图5为根据本发明另一实施例的业务网洛接入方法的流程图。 FIG 5 is a flowchart of an access service network Los embodiment of the method according to another embodiment of the present invention.

图6为根据本发明实施例的DHCP服务器的结构示意图。 FIG 6 is a schematic structural diagram of a DHCP server according to an embodiment of the present invention.

图7为根据本发明另一实施例的DHCP服务器的结构示意图。 FIG 7 is a schematic view of a DHCP server according to another embodiment of the present invention.

图8为根据本发明另一实施例的业务网绍〜接入系统的结构示意图。 8 is a schematic view of the access service network - Shao system according to another embodiment of the present invention.

具体实施方式 detailed description

下面参照附图对本发明进行更详细的描述,其中说明本发明的示例性实施例。 Wherein the description of the exemplary embodiments of the present invention DRAWINGS The invention is described in more detail below with reference to.

图1为根据本发明实施例的业务网洛接入系统100的结构示意图。 Figure 1 is a schematic structural diagram of an access service network embodiment of the system 100 in Los embodiment of the present invention. 业务网络接入系统100包括业务终端102、 DHCP服务器104和认证服务器106。 Service 100 includes a network access service terminal system 102, DHCP server 104 and authentication server 106.

DHCP服务器104用于接收和转送业务终端102发送的认证请求, 同时完成业务所需的IP地址分配工作。 The DHCP server 104 is configured to receive and forward an authentication request sent by the service terminal 102, while the work needed to allocate the IP address of the business. 一方面,DHCP服务器104能够将接收到的业务终端102发送的认证请求转送给认证服务器104。 In one aspect, DHCP server 104 is able to service terminal sends the received authentication request to the authentication server 102 104. 在一个实施例中,认证月良务器104可以RADIUS (remote authentication dial in user service,远程用户拨号认证系统)服务器,用于对业务终端102的綠。 In one embodiment, the authentication service 104 may good month RADIUS (remote authentication dial in user service, Remote Authentication Dial In User System) server, a service terminal 102 to green. 另一方面,在获得认证服务器104的认证后,DHCP服务 On the other hand, the authentication server 104 after obtaining the authentication Currently, DHCP service

8器104能够从地址池中选取未占用的IP地址分配给业务终端102使用,直到该IP地址净皮业务终端102释方欠后才回收到地址池中。 8 104 can be selected from the address pool of unoccupied IP address assigned to the terminal 102 using the service, until the net Paper service terminal IP address 102 to release recovered after under-side address pool. DHCP 服务器104的地址池数据结构示意图见图2。 DHCP server address pool data structure 104 is shown in Figure 2. 如图2所述,地址池的IP地址具有分别与不同的业务类别对应的状态属性。 As shown in Figure 2, IP address in a pool having different service classes, respectively corresponding to the state attribute. 假设空心圏代表未占用,实心圈代表已占用。 Suppose hollow rings of representatives unoccupied, solid circles represent occupied. 也就是说,地址池中的IP地址以二维的地址表形式存在。 In other words, IP address pool exists to address the two-dimensional table form. 当业务终端102通过i人证后,根据业务终端102发送的认证请求中包含的业务标识,比如IPTV (Internet protocol television,基于IP协议的电视广播服务)、VOIP (voice over Internet protocol , 网络电话)、ITMS ( Internet task management system,网络任务管理系统)等,DHCP服务器104可以在业务标识对应的业务类别地址列中寻找未占用的IP地址。 When the terminal 102 through the service i witnesses, according to the service request sent by the authentication service identifier 102 included in the terminal, such as IPTV (Internet protocol television, television broadcasting services based on IP protocol), VOIP (voice over Internet protocol, VoIP) , ITMS (Internet task management system, the network task management system), DHCP server 104 may look for an unoccupied address in the IP address of the service class corresponding to the service identifier column. 由于不同的业务类别在整个现网中分属各自不同的VPN (virtual private network,虚拟专用网络)中,而不同的VPN是互相隔离的,所以对应于不同业务类别的同一IP地址是可以复用的。 Due to different traffic classes belong to each of different VPN equatorial throughout the existing network (virtual private network, a virtual private network), the different VPN is isolated from each other, so that the same IP address corresponding to the different traffic classes can be multiplexed of. 图3为根据本发明实施例的网络地址分配方法300的流程图。 3 is a flowchart of a network address assignment method according to embodiments of the present invention 300. 在步骤302中,接收业务终端发送的DHCP发现才艮文,发现才艮文中包括业务终端请求的业务类别的业务标识。 In step 302, the receiving terminal sends a service DHCP discover message was Burgundy, it was found herein Gen service comprising service classes of service requested by the terminal identifier. 在步骤304中,在地址池中查找与业务标识对应的未占用的IP地址。 In step 304, the address corresponding to the service identifier of the pool to find unoccupied IP address. 地址池中的IP地址具有分别与不同的业务类别对应的状态属性, 其中状态属性包括表示未占用或已占用的属性。 IP address pool having corresponding respectively to different service classes state attributes, including attributes represented by the state occupied or unoccupied property. 在步骤306中,将查找到的未占用的IP地址通过DHCP提议报文发送给业务终端。 In step 306, the found unoccupied proposed IP address through DHCP packets to the service terminal. 图4为根据本发明实施例的业务网洛接入方法400的流程图。 Los flowchart service network access method 400 of Figure 4 according to the present invention. 在步骤402中,DHCP服务器接收业务终端发送的携带认证请求的DHCP discover (发现)报文,DHCP发现报文包括业务终端请求的业务类别的业务标识、用户名和密码。 In step 402, DHCP server receives the authentication request carries the service terminal transmits the DHCP discover (find) the packet, the DHCP discovery packet service comprising service classes of service requested by the terminal identifier, user name and password. 在步骤404中,DHCP服务器将业务请求发送给认证服务器进行验证。 In step 404, DHCP server transmits a service request to the authentication server for verification. 认证服务器主要对业务终端的用户名和密码进行验证以确认业务终端的身份。 The main authentication server for user names and passwords for authentication service terminal to confirm the identity of the service terminal. 在步骤406中,在获得认证服务器的验证之后,DHCP服务器在地址池中查找与业务标识对应的未占用的IP地址。 In step 406, after obtaining verification authentication server, DHCP server looks up the corresponding service identification unoccupied IP address in the address pool. 地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中状态属性包括表示未占用或已占用的属性。 IP address pool having corresponding respectively to different service classes state attributes, including attributes represented by the state occupied or unoccupied property. 在步骤408中,DHCP服务器向业务终端发送携带认证回复的DHCP offer (提议)报文,DHCP offer报文包括查找到的未占用的IP 地址。 In step 408, DHCP server sends a reply to the authentication service terminal DHCP offer (proposal) packets, DHCP offer message includes the IP address to find unoccupied. 图5为根据本发明另一实施例的业务网洛接入方法500的流程图。 FIG 5 is a flowchart 500 of a method according to the access service network Los another embodiment of the present invention. 业务网络接入方法500的描述结合了业务网络接入系统100和图2中的地址池数据结构,但不限于业务网^#入系统100及地址池数据结构的形式。 Network service access method 500 described in conjunction with the address pool data structure 100 in FIG. 2 and service network access system, but is not limited to the form of the service network address pool ^ # of system 100 and the data structure. 在步骤502中,业务终端发出认证请求。 In step 502, an authentication request from the service terminal. 比如业务终端102向DHCP服务器104发出认证请求。 Service terminal 102 such as an authentication request 104 to the DHCP server. 业务终端102能够将业务类别的业务标识(比如IPTV、 VOIP、 ITMS等)、用户名和密码一起通过加密算法封装入DHCP discover发现报文中的认证报文中。 Service terminal 102 is able to identify traffic classes of service (such as IPTV, VOIP, ITMS, etc.), user name and password with the discovery packet DHCP discover message authentication encryption algorithm package. 在步骤504中,DHCP服务器接收并转送业务终端发送的认证请求。 In step 504, DHCP server receives and forwards an authentication request sent by the terminal service. 比如DHCP服务器104接收到业务终端102发送的DHCP发现报文,并将其解包,获得业务标识、用户名和密码。 Such as the DHCP server 104 receives the service terminal 102 transmits a DHCP discover packet and unpack it, obtain the service identifier, the user name and password. 然后,DHCP服务器104将业务标识、用户名和密码信息打包成认证服务器106要求的协议格式,比如RADIUS协议中的Access-Request包,发送给认证服务器106。 Then, the DHCP server 104 to the service identifier, the user name and password information to the authentication package 106 protocol format required by the server, such as the RADIUS Access-Request protocol packet to the authentication server 106. 在步骤506中,在获得认证服务器的!Hi之后,DHCP服务器收到来自认证服务器的认证回复报文。 In step 506, after obtaining authentication server! Hi, DHCP server receives certification from the authentication server reply message. 比如,认证服务器106主要对业务终端102的用户名和密码进行發遮以确认业务终端106的身份。 For example, the authentication server 106 to the user name and password for the main service of the terminal cover 102 is made to confirm the identity of the service terminal 106. 当认证成功后,认证服务器106会将认证回复报文,比如Access-Accept报文, 返回给DHCP服务器104。 When the authentication succeeds, the authentication server 106 will authentication reply message, such as Access-Accept message to the DHCP server 104 returns. 在步骤508中,在业务终端通过认证服务器的验证后,DHCP服务器在地址池中查找与业务标识对应的未占用的IP地址。 In step 508, after the service terminal by verifying the authentication server Currently, DHCP server looks up the service identifier corresponding to the IP address in the unoccupied address pool. 比如,业务标识为IPTV,其所对应的业务类别为如图2所示的业务(C)。 For example, the service identifier for the IPTV, services (C) shown in its corresponding service category as shown in FIG. DHCP月良10再查找业务(C)对应的地址列中状态属性为未占用的IP地址,比如IP地址(1 )。 DHCP service then look good in 10 months (C) corresponding to the column address state attribute unoccupied IP addresses, such IP address (1). 才艮据本发明的实施例,对应于不同业务类别的同一IP地址是可以复用的,所以虽然IP 地址(1)对应于业务(B)已占用,但是IP地址(1)仍然可以用于业务(C)。 It was Gen embodiment of the present invention, the same IP address corresponding to the different traffic classes can be multiplexed, so although the IP address (1) corresponding to the service (B) is occupied, but the IP address (1) can still be used business (C). 在步骤510中,DHCP服务器向业务终端发送携带认证回复的DHCP提议报文,将查找到的未占用的IP地址发送给业务终端。 In step 510, DHCP server sends traffic carried by the terminal authentication reply of the proposal DHCP packets will be sent to find unoccupied IP address to the service terminal. 比如,DHCP服务器104向业务终端102返回认证回复。 For example, DHCP server 104 returns the authentication reply to the service terminal 102. DHCP服务器104将IP地址(1)以及业务标识(IPTV)封装进DHCP OFFER提议报文中发送给业务终端102。 The IP address of the DHCP server 104 (1) and a service identifier (IPTV) encapsulated into the DHCP OFFER packet transmitted to the proposed service terminal 102. 同时,DHCP服务器104可以修改IP地址(1)在业务(C)列下的状态属性为已占用。 Meanwhile, DHCP server 104 may modify the IP address (1) in the service state attribute (C) under a column for the occupied. 当业务终端102释放IP地址(1)后,DHCP力艮务器104回收该地址,并修改该地址在业务(C)下的状态属性为未占用。 When the service terminal 102 release the IP address (1) after, the force that works to the DHCP 104 address is recovered, and modify the attribute state in the service address (C) is not occupied. 在步骤512中,业务终端判断接收到的业务标识是否为该终端发送的业务标识。 In step 512, the service terminal determines whether the received service identifier for the service identifier sent by the terminal. 例如,业务终端102收到来自DHCP服务器104的DHCP提议报文后,解包获得IP地址(1)以及业务标识。 For example, the service terminal 102 from the DHCP server receives a DHCP offer message 104, unpack obtained IP address (1) and a service identifier. DHCP服务器104判断此业务标识是构为在步骤502中发送的业务标识。 This DHCP server 104 determines the service identifier is configured for the service identifier transmitted in step 502. 如果业务标识无误,则在步骤514中,业务终端确认使用DHCP服务器分配的IP地址。 If the service identifier is correct, then in step 514, the terminal confirms the service using the IP address from a DHCP server. 例如,业务终端102再次将用户名和密码加密后封装进DHCP request请求包中,确认使用DHCP服务器104分配的IP地址(1)。 For example, the service terminal 102 user name and password again encrypted encapsulated request packet DHCP request, using DHCP 104 confirmed that the IP address allocation server (1). 如果业务标识不正确,则丢弃DHCP提议才艮文,重复步骤502。 If the service identifier is not correct, discarding the DHCP message Burgundy was proposed, step 502 is repeated. 图6为才艮据本发明实施例的DHCP服务器600的结构示意图。 According to FIG. 6 is a DHCP server only Burgundy embodiment of the present invention is a schematic structural diagram 600. DHCP服务器600包括接收装置602、查找装置604和发送装置606。 DHCP server 600 comprises a receiving means 602, transmitting means 604 and the lookup device 606. 接收装置602,用于接收业务终端发送的DHCP发现报文,发现报文中包括业务终端请求的业务类别的业务标识。 Receiving means 602 for receiving the service terminal transmits a DHCP discover packet, discovery packet service comprising service classes of service requested by the terminal identifier. 查找装置604,用于在地址池中查找与业务标识对应的未占用的IP 地址,地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中状态属性包括表示未占用或已占用的属性。 Lookup means 604 for the address corresponding to the service identifier of the pool to find unoccupied IP address, IP address pool having different service classes, respectively corresponding to the state of the attributes, including attributes represented by the state occupied or unoccupied property. 发送装置606,用于将查找到的未占用的IP地址通过DHCP提议报文发送给业务终端。 Transmission means 606, the searched for unoccupied proposed IP address through DHCP packets to the service terminal. 图7为根据本发明另一实施例的DHCP服务器700的结构示意图。 FIG 7 is a schematic structural diagram of a DHCP server according to another embodiment of the present invention 700. DHCP服务器700包括接收装置702、查找装置704、发送装置706和属性修改装置708。 DHCP server 700 comprises a receiving means 702, a lookup device 704, transmitting apparatus 706 and attribute modifying means 708. 接收装置702,用于接收业务终端发送的DHCP发现报文,发现报文中包括业务终端请求的业务类别的业务标识。 Receiving means 702 for receiving the service terminal transmits a DHCP discover packet, discovery packet service comprising service classes of service requested by the terminal identifier. 查找装置704,用于在地址池中查找与业务标识对应的未占用的IP 地址,地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中状态属性包括表示未占用或已占用的属性。 Lookup means 704 for the address corresponding to the service identifier of the pool to find unoccupied IP address, IP address pool having different service classes, respectively corresponding to the state of the attributes, including attributes represented by the state occupied or unoccupied property. 查找装置704包括业务类别查找单元12和地址查找单元14。 Find device 704 comprises a service category search unit 12 and the address lookup unit 14. 业务类别查找单元12,用于在地址池中查找业务标识代表的业务类别,其中地址池中的每一个业务类别都分别包括地址池中的所有IP地址。 Business category search unit 12, the service identifier used to find the address pool represented traffic classes, wherein each service category address pool are available include IP address pool for all. 地址查找单元14,用于在查找到的业务类别中查找状态属性表示未占用的IP地址发送装置706,用于将查找到的未占用的IP地址通过DHCP提议报文发送给业务终端。 Address lookup unit 14 is used to find the status attribute service class to find unoccupied IP address representing the transmitting apparatus 706, to find for unoccupied proposed by DHCP IP address service packet to the terminal. 属性修改装置708,用于将发送给业务终端的未占用的IP地址的状态属性修改为已占用。 Attribute modification means 708, the status attribute for the IP address sent to the service unoccupied to occupied terminal modifications. 图8为根据本发明另一实施例的业务网^:入系统800的结构示意图。 FIG 8 is a network service according to another embodiment of the present invention, ^: the structural diagram of the system 800. 业务网络接入系统800包括DHCP服务器802和认证服务器804。 Service network access system 800 comprises a DHCP server 802 and authentication server 804. DHCP服务器802,用于接收和转送业务终端发送的携带认证请求的DHCP发现报文,DHCP发现报文包括业务终端请求的业务类别的业务标识、用户名和密码。 DHCP DHCP server 802, for receiving and routing service terminal sends the authentication request carrying the discovery packet, the DHCP discovery packet service comprising service classes of service requested by the terminal identifier, user name and password. 认证服务器804,用于接收DHCP服务器转送的认证请求,并对认证请求包括的信息进行验证。 Authentication server 804, receiving the DHCP server for the authentication request transferred, and the information included in the authentication request to verify. 其中,在获得认证服务器804的验证之后,DHCP服务器802在地址池中查找与业务标识对应的未占用的IP 地址,地址池中的IP地址具有分別与不同的业务类别对应的状态属性,其中状态属性包括表示未占用或已占用的属性,并且DHCP服务器802向业务终端发送携带认证回复的DHCP提议报文,DHCP提议报文包括查找到的未占用的IP地址。 Wherein, after obtaining the authentication server 804 to verify Currently, DHCP server 802 to find the address pool corresponding to the service identifier unoccupied IP address, IP address pool having different service classes, respectively corresponding to the attribute state, wherein the state properties include representation unoccupied or occupied property, and the DHCP server 802 to send to the service carried by the terminal authentication reply packet of proposals DHCP, DHCP message includes proposals to find the IP address unoccupied. 本发明提供的系统和方法,在一套DHCP服务器上采用了二维的地址池,突破了现有技术中一个IP地址只能分配一个用户的局限,实现了对于不同业务类别同一IP地址的复用,节省了IP地址开销,緩解了日趋紧张的地址使用情况,同时也为服务提供商降低了采购设备的成本,提供了简便的维护手段。 The system and method of the present invention provides, in a DHCP server using a two-dimensional address pool, breaking the prior art can only be assigned an IP address of a user limitation, to achieve a complex for different traffic classes the same IP address use, saving the overhead of IP addresses to ease the growing tension of address usage, while also reducing the cost of procurement of equipment for service providers, it provides a simple means of maintenance. 本发明的描述是为了示例和描述起见而给出的,而并不是无遗漏的或者将本发明限于所公开的形式。 Description of the present invention are exemplary and given in order of description, and not to be exhaustive or to limit the invention to the form disclosed. 很多修改和变化对于本领域的普通技术人员而言是显然的。 Many modifications and variations to those of ordinary skill in the art is obvious. 选择和描述实施例是为了更好说明本发明的原理和实际应用,并且使本领域的普通技术人员能够理解本发明从而设计适于特定用途的带有各种修改的各种实施例。 The embodiments were chosen and described in order to best explain the principles and practical applications of the present invention and enable one of ordinary skill in the art to understand the invention for various design suited to the particular use with a variety of modified embodiments.

Claims (10)

  1. 1.一种网络地址分配方法,其特征在于,包括: 接收业务终端发送的DHCP发现报文,所述发现报文中包括所述业务终端请求的业务类别的业务标识; 在地址池中查找与所述业务标识对应的未占用的IP地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性;和将查找到的所述未占用的IP地址通过DHCP提议报文发送给所述业务终端。 A network address assignment method, comprising: receiving service terminal DHCP discovery packet transmission, said discovery packet comprises a traffic class of the service requested by the terminal service identifier; and to find the address pool the service identifier corresponding to the unoccupied IP address, IP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said attribute includes information indicating the state occupied or unoccupied property; and finds to the unoccupied proposed IP address through DHCP packet to the service terminal.
  2. 2. 根据权利要求1所述的网络地址分配方法,其特征在于,所述在地址池中查找与所述业务标识对应的未占用的IP地址包括:在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地址;和在查找到的所述业务类别中查找所述状态属性表示未占用的IP地址。 The network address assignment method according to claim 1, wherein, in the pool to find the address of the service identifier corresponding to the IP address of the unoccupied comprising: searching for the service identifier within the address pool All IP addresses of the service class represented by a service class which the each of the address pool includes an address pool respectively; and a lookup to find the status of the service class attribute indicates the IP address of the unoccupied .
  3. 3. 根据权利要求1所述的网络地址分配方法,其特征在于,还包括:将发送给所述业务终端的所述未占用的IP地址的状态属性修改为已占用。 The network address assignment method according to claim 1, characterized in that, further comprising: transmitting the service to the terminal status attribute unoccupied IP address is modified occupied.
  4. 4. 一种业务网络接入方法,其特征在于,包括:DHCP服务器接收业务终端发送的携带认证请求的DHCP发现报文,所述DHCP发现报文包括所述业务终端请求的业务类别的业务标识、用户名和密码;所述DHCP服务器将所述业务请求发送给认证服务器进行验证; 在获得所述认证服务器的验证之后,所迷DHCP服务器在地址池中查找与所述业务标识对应的未占用的ip地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性;和所述DHCP服务器向所述业务终端发送携带认证回复的DHCP提议报文,所述DHCP提议报文包括查找到的未占用的IP地址。 A service network access method, characterized by comprising: an authentication request carrying the DHCP server receives a DHCP service discovery messages transmitted by the terminal, a DHCP discovery packet including the traffic class of service requested by the terminal service identifier , user name and password; the DHCP server, the request for service authentication to the authentication server; verification after obtaining the authentication server, the DHCP server to find the lost service identifier corresponding to the address pool of unoccupied ip address, iP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said attribute includes information indicating the state of unoccupied or occupied properties; and the DHCP server sends a service to the terminal the proposal DHCP authentication reply message, the DHCP message includes proposals to find the IP address unoccupied.
  5. 5. 根据权利要求4所述的业务网络接入方法,其特征在于,所述DHCP服务器在地址池中查找与所述业务标识对应的未占用的IP地址包括:在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地址;和在查找到的所述业务类别中查找所述状态属性表示未占用的IP地址。 The network service access method according to claim 4, wherein said DHCP server address pool to find the IP address of the unoccupied identifier corresponding to the service comprises: the lookup in the address pool All IP addresses representative of said service identifier of the service class, wherein each of said address pool service class includes an address pool respectively; and look at the state found in the service class attribute indicates unoccupied IP address.
  6. 6. —种DHCP服务器,其特征在于,包括:接收装置,用于接收业务终端发送的DHCP发现报文,所述发现报文中包括所述业务终端请求的业务类别的业务标识;查找装置,用于在地址池中查找与所述业务标识对应的未占用的IP 地址,所述地址池中的IP地址具有分别与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性;和发送装置,用于将查找到的所述未占用的IP地址通过DHCP提议报文发送给所述业务终端。 6. - kind of DHCP server, characterized by comprising: receiving means for receiving traffic DHCP discovery packet sent from the terminal, said discovery packet comprises a traffic class of the service requested by the terminal service identifier; lookup means, used to find the address pool corresponding to the service identifier unoccupied IP address, IP address of the address pool having different service classes, respectively corresponding to a state attribute, wherein said attribute includes information indicating an unoccupied state or It occupied attributes; and transmitting means for unoccupied find the IP address of the packet to the proposal by the DHCP service terminal.
  7. 7. 根据权利要求6所述的DHCP服务器,其特征在于,所述查找装置包括:业务类别查找单元,用于在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地址;和地址查找单元,用于在查找到的所述业务类别中查找所述状态属性表示未占用的IP地址。 DHCP server according to claim 6, characterized in that said lookup device comprising: a business category search unit for searching for the service identifier of the service class represented in the address pool, wherein said each traffic class address pool includes address pool are all IP addresses; and an address searching unit configured to search to find the state of the service class attribute indicates the IP address unoccupied.
  8. 8. 根据权利要求6所述的DHCP服务器,其特征在于,还包括: 属性修改装置,用于将发送给所述业务终端的所迷未占用的IP地址的状态属性修改为已占用。 DHCP server according to claim 6, characterized by further comprising: attribute modification means, the status attribute for the service to the terminal to transmit the IP address of the unoccupied fans modified as occupied.
  9. 9. 一种业务网^^入系统,其特征在于,包括:DHCP服务器,用于接收和转送业务终端发送的携带认证请求的DHCP发现报文,所迷DHCP发现报文包括所迷业务终端请求的业务类别的业务标识、用户名和密码;和认证服务器,用于接收所述DHCP服务器转送的所述认证请求,并对所迷认证请求包括的信息进行發逸,其中,在获得所述认证服务器的验证之后,所迷DHCP服务器在地址池中查找与所述业务标识对应的未占用的IP地址,所述地址池中的IP地址具有分別与不同的业务类别对应的状态属性,其中所述状态属性包括表示未占用或已占用的属性,并且所述DHCP服务器向所述业务终端发送携带认证回复的DHCP提议报文,所述DHCP提议报文包括查找到的未占用的IP地址。 ^^ A network service into the system, characterized by comprising: DHCP server, DHCP authentication request for carrying and transferring the received service discovery packet sent from the terminal, the fans DHCP discovery packet service requested by the terminal includes the fans traffic class of service identifier, user name and password; and an authentication server, the authentication request for receiving the forwarded DHCP server, and the information included in the authentication request fans were made Yi, wherein obtaining the authentication server after authentication, the DHCP server address pool to find a fan on the service identifier corresponding to the unoccupied IP address, the IP address pool having different service classes, respectively corresponding to the attribute state, wherein said state properties include representation unoccupied or occupied property, and the DHCP server sends a reply to the authentication service terminal DHCP packets proposal, the proposal DHCP packet includes the IP address to find unoccupied.
  10. 10.根据权利要求9所述的业务网络接入系统,其特征在于,所述DHCP服务器包括:业务类别查找单元,用于在所述地址池中查找所述业务标识代表的所述业务类别,其中所述地址池中的每一个业务类别都分别包括地址池中的所有IP地址;和地址查找单元,用于在查找到的所述业务类别中查找所述状态属性表示未占用的IP地址。 10. The service of the network access system as claimed in claim 9, wherein said DHCP server comprising: a service category search unit for searching for the service identifier of the service class represented in the address pool, wherein each of said service category address pool includes address pool are all IP addresses; and an address searching unit configured to search to find the state of the service class attribute indicates the IP address unoccupied.
CN 200910181106 2009-10-10 2009-10-10 Network address distributing method, DHCP server, access system and method thereof CN101662511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910181106 CN101662511B (en) 2009-10-10 2009-10-10 Network address distributing method, DHCP server, access system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910181106 CN101662511B (en) 2009-10-10 2009-10-10 Network address distributing method, DHCP server, access system and method thereof

Publications (2)

Publication Number Publication Date
CN101662511A true true CN101662511A (en) 2010-03-03
CN101662511B CN101662511B (en) 2012-07-04

Family

ID=41790292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910181106 CN101662511B (en) 2009-10-10 2009-10-10 Network address distributing method, DHCP server, access system and method thereof

Country Status (1)

Country Link
CN (1) CN101662511B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931589A (en) * 2010-07-27 2010-12-29 中国电信股份有限公司 Multiple-access-mode concurrent transmission method and device based on interface identifiers
WO2011100907A2 (en) * 2011-04-12 2011-08-25 华为技术有限公司 Parameter configuration method and network element device
CN102694873A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 Address pool distribution system and method
CN103024099A (en) * 2012-12-28 2013-04-03 太仓市同维电子有限公司 DHCP (dynamic host configuration protocol)-option-message-based automatic configuration method for network access device
CN103026692A (en) * 2010-07-26 2013-04-03 阿尔卡特朗讯公司 PV6 address generation to trigger a virtual leased line service
CN103297548A (en) * 2012-02-23 2013-09-11 上海盛霄云计算技术有限公司 Method and device for updating domain name resolution rules in cloud computing environment
CN104363137A (en) * 2014-11-14 2015-02-18 浪潮(北京)电子信息产业有限公司 In-local-area-network IP address distribution information monitoring method and device
CN105472048A (en) * 2014-07-14 2016-04-06 华为技术有限公司 Address allocating method, information aggregation method and related equipment
CN105872130A (en) * 2016-06-14 2016-08-17 浪潮电子信息产业股份有限公司 Method for distributing IP (Internet Protocol) addresses and cloud management platform
CN105991782A (en) * 2015-02-04 2016-10-05 北京神州泰岳软件股份有限公司 IP address management method and apparatus
CN103716416B (en) * 2012-09-29 2017-02-22 北京搜狐互联网信息服务有限公司 One kind ip configuration method and apparatus in the cloud computing platform

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2348598A1 (en) 2001-06-05 2002-12-05 Mediatrix Telecom Inc. Generic method for customization of dhcp options
KR100921331B1 (en) 2002-10-08 2009-10-13 주식회사 케이티 System for limiting the number of internet protocol address according to virtual connection in asymmetric digital subscriber line internet access service
CN1487697A (en) 2003-06-30 2004-04-07 北京港湾网络有限公司 IP address distributing management method for wideband access equipment
US7366182B2 (en) 2004-08-13 2008-04-29 Qualcomm Incorporated Methods and apparatus for efficient VPN server interface, address allocation, and signaling with a local addressing domain
CN101437297B (en) 2008-12-16 2012-07-04 华为技术有限公司 Method, apparatus and system for processing business

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103026692B (en) * 2010-07-26 2016-01-13 阿尔卡特朗讯公司 ipv6 address to trigger a virtual leased line service method and system for generating
CN103026692A (en) * 2010-07-26 2013-04-03 阿尔卡特朗讯公司 PV6 address generation to trigger a virtual leased line service
CN101931589A (en) * 2010-07-27 2010-12-29 中国电信股份有限公司 Multiple-access-mode concurrent transmission method and device based on interface identifiers
CN101931589B (en) * 2010-07-27 2015-06-17 中国电信股份有限公司 Multiple-access-mode concurrent transmission method and device based on interface identifiers
WO2012126243A1 (en) * 2011-03-22 2012-09-27 中兴通讯股份有限公司 Address pool allocation system and method
CN102694873B (en) * 2011-03-22 2016-02-10 中兴通讯股份有限公司 An address pool allocation system and method
CN102694873A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 Address pool distribution system and method
CN102171999A (en) * 2011-04-12 2011-08-31 华为技术有限公司 Parameter configuration method and network element device
WO2011100907A2 (en) * 2011-04-12 2011-08-25 华为技术有限公司 Parameter configuration method and network element device
WO2011100907A3 (en) * 2011-04-12 2012-03-15 华为技术有限公司 Parameter configuration method and network element device
CN103297548A (en) * 2012-02-23 2013-09-11 上海盛霄云计算技术有限公司 Method and device for updating domain name resolution rules in cloud computing environment
CN103297548B (en) * 2012-02-23 2017-12-19 上海盛大网络发展有限公司 A method for updating a cloud computing environment and the device name resolution rules
CN103716416B (en) * 2012-09-29 2017-02-22 北京搜狐互联网信息服务有限公司 One kind ip configuration method and apparatus in the cloud computing platform
CN103024099A (en) * 2012-12-28 2013-04-03 太仓市同维电子有限公司 DHCP (dynamic host configuration protocol)-option-message-based automatic configuration method for network access device
CN105472048A (en) * 2014-07-14 2016-04-06 华为技术有限公司 Address allocating method, information aggregation method and related equipment
CN104363137A (en) * 2014-11-14 2015-02-18 浪潮(北京)电子信息产业有限公司 In-local-area-network IP address distribution information monitoring method and device
CN105991782A (en) * 2015-02-04 2016-10-05 北京神州泰岳软件股份有限公司 IP address management method and apparatus
CN105872130A (en) * 2016-06-14 2016-08-17 浪潮电子信息产业股份有限公司 Method for distributing IP (Internet Protocol) addresses and cloud management platform

Also Published As

Publication number Publication date Type
CN101662511B (en) 2012-07-04 grant

Similar Documents

Publication Publication Date Title
US7139818B1 (en) Techniques for dynamic host configuration without direct communications between client and server
US7185079B1 (en) Automated management of network addresses in a broadband managed access environment
US20100191839A1 (en) Synchronizing resource bindings within computer network
CN101431532A (en) Content routing method, load balancing equipment and resource management equipment
CN101409685A (en) Forwarding method based on virtual LAN mapping and access equipment
CN102801599A (en) Communication method and system
CN101753635A (en) Method and system of collocating IPV6 (internet protocol version 6) addresses
CN102088388B (en) Method and equipment for automatically distributing/acquiring virtual local area network configuration information
CN1855820A (en) Method for providing business according to its type
CN101465856A (en) Method and system for controlling user access
US20090089431A1 (en) System and method for managing resources in access network
JP2006013732A (en) Routing device and authentication method of information processor
CN101656725A (en) Method for implementing safety access and access equipment
CN101447879A (en) Charging method and access equipment therefor
US20150188769A1 (en) Method and device thereof for automatically finding and configuring virtual network
CN102137173A (en) Routing information distributing method, equipment, virtual special network system
CN101252587A (en) User terminal access right identifying method and apparatus
CN101150502A (en) A NAT-PT device and its load share method
US8005083B1 (en) Applying differentiated services within a cable network using customer-aware network router
CN1859417A (en) Method for realizing multiple network device link aggregation
CN101175080A (en) Method and system for preventing ARP message attack
CN101471777A (en) Access control system and method between domains based on domain name
CN104579732A (en) Method, device and system for managing virtualized network function network elements
CN101345657A (en) Method and system for cluster management of multiple network elements based on simple network management protocol
CN101986665A (en) Internet protocol version 6 (IPV6) address allocating method and system

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted