CN104519145A - An address resource managing method, system and DHCP server - Google Patents

An address resource managing method, system and DHCP server Download PDF

Info

Publication number
CN104519145A
CN104519145A CN201310446445.8A CN201310446445A CN104519145A CN 104519145 A CN104519145 A CN 104519145A CN 201310446445 A CN201310446445 A CN 201310446445A CN 104519145 A CN104519145 A CN 104519145A
Authority
CN
China
Prior art keywords
user terminal
described user
address
message
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310446445.8A
Other languages
Chinese (zh)
Inventor
柏俊
李坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310446445.8A priority Critical patent/CN104519145A/en
Publication of CN104519145A publication Critical patent/CN104519145A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses an address resource managing method, system and a DHCP server. The DHCP server allocates a user terminal an address resource merely including an IP address, rather than a tenancy term, and detects whether the user terminal is online after allocating the address resource for the user terminal; when the detection indicates the user terminal is off line, the address resource allocated to the user terminal is recycled, rather than recycling the address resource depending on a fixed tenancy term of the IP address, thereby increasing the flexibility of resource recycling, to be capable of being adapted to a network environment with large mobility and limited address resources.

Description

A kind of address resource management method, system and Dynamic Host Configuration Protocol server
Technical field
The present invention relates to communication technical field, particularly relate to a kind of address resource management method, system and dynamic host configuration protocol DHCP server.
Background technology
DHCP (Dynamic Host Configuration Protocol, be called for short DHCP) be for the user terminal in network distributes the service agreement of the address resource such as internet Protocol IP address and the parameter information relevant to IP address, and provide the server of this service to be called as Dynamic Host Configuration Protocol server.
Dynamic Host Configuration Protocol server is when for user terminal distributing IP address, a permanent IP address can't be distributed to user terminal, but only allow user terminal within the time that certain is specified, use certain IP address, this time of specifying is called as the rental period, when the rental period of the IP address distributed expires, this IP address and the parameter information relevant to this IP address are reclaimed by Dynamic Host Configuration Protocol server.
At present, Dynamic Host Configuration Protocol server, when reclaiming the address resource such as IP address and the parameter information relevant to IP address, is the mode adopting the fixing rental period.But, if the rental period arranged is too short, when the rental period of the IP address distributed expires, using the user terminal of this IP address to need to continue to Dynamic Host Configuration Protocol server application IP address, thus occurring the phenomenon that the IP address of user terminal frequently switches; If the rental period arranged is long, when user terminal rolls off the production line when the rental period of the IP address distributed is not yet due, the IP address distributing to this user terminal then can be caused not reclaim in time, finally may cause assignable shortage of ip address in Dynamic Host Configuration Protocol server, cause certain customers' terminal cannot obtain IP address.
In sum, rental period of IP address of distributing due to Dynamic Host Configuration Protocol server is fixed, and causes the flexibility of existing address resource recovery method poor, cannot be applicable to the large and network environment that address resource is limited of mobility.
Summary of the invention
The embodiment of the present invention provides a kind of address resource management method, system and Dynamic Host Configuration Protocol server, in order to solve in prior art because the rental period of the IP address of Dynamic Host Configuration Protocol server distribution is fixed, thus the flexibility causing address resource to reclaim is poor, the large and problem of the network environment that address resource is limited of mobility cannot be adapted to.
First aspect, provides a kind of address resource management method, comprising:
The Address requests message that dynamic host configuration protocol DHCP server sends according to user terminal is described user terminal allocation address resource; The Internet protocol IP address for described user terminal distributes only is comprised in described address resource;
According to sense cycle, detect described user terminal whether online;
When detecting that described user terminal is not online, the described address resource distributing to described user terminal is reclaimed.
In conjunction with first aspect, in the implementation that the first is possible, also comprise:
According to the type of user terminal mark in the extended field of described Address requests message, determine the terminal type of described user terminal;
Described sense cycle is determined according to described terminal type.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second is possible, detect described user terminal whether online, specifically comprise:
Send to described user terminal and detect request message;
If receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is online;
If do not receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is not online.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the third is possible, detect described user terminal whether online, specifically comprise:
Judge the message that whether there is the transmission of described user terminal in the message that the access device of described user terminal access within the second fixed time receives;
If judged result is the message that there is the transmission of described user terminal, determine that described user terminal is online;
If judged result is the message that there is not the transmission of described user terminal, determine that described user terminal is not online.
Second aspect, provides a kind of dynamic host configuration protocol DHCP server, comprising:
Address resource allocation units, for the Address requests message sent according to user terminal, are described user terminal allocation address resource; The Internet protocol IP address for described user terminal distributes only is comprised in described address resource;
Detecting unit, for according to sense cycle, whether the described user terminal detecting address resource allocation units allocation address resource is online;
Recovery unit, during for detecting that when detecting unit described user terminal is not online, reclaims the described address resource distributing to described user terminal.
In conjunction with second aspect, in the implementation that the first is possible, described Dynamic Host Configuration Protocol server also comprises:
Terminal type determining unit, for according to the type of user terminal mark in the extended field of described Address requests message, determines the terminal type of the address resource allocation unit described user terminal of allocation address resource;
Sense cycle determining unit, the terminal type for determining according to terminal type determining unit determines described sense cycle.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second is possible, described detecting unit specifically for:
Send to described user terminal and detect request message; If receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is online; If do not receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is not online.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the third is possible, described detecting unit specifically for:
Judge the message that whether there is the transmission of described user terminal in the message that the access device of described user terminal access within the second fixed time receives; If judged result is the message that there is the transmission of described user terminal, determine that described user terminal is online; When judged result is the message that there is not the transmission of described user terminal, determine that described user terminal is not online.
The third aspect, provides a kind of address resource management system, comprises dynamic host configuration protocol DHCP server and access device, wherein:
Described access device, for by the Address requests message repeating from described user terminal to Dynamic Host Configuration Protocol server;
Described Dynamic Host Configuration Protocol server, for according to described Address requests message, is described user terminal allocation address resource; According to sense cycle, detect described user terminal whether online; When detecting that described user terminal is not online, the described address resource distributing to described user terminal is reclaimed; Wherein, the Internet protocol IP address for described user terminal distributes only is comprised in described address resource.
In conjunction with the third aspect, in the implementation that the first is possible, described access device specifically for:
Receive the Address requests message that described user terminal sends; From being marked with the source medium access control MAC Address of wireless terminal type identification of storing, judge whether to there is the source MAC carried in described Address requests message; When judging to there is the source MAC carried in described Address requests message, in the extended field of described Address requests message, add wireless terminal type identification, and will the Address requests message repeating of wireless terminal type identification be with the addition of to Dynamic Host Configuration Protocol server; When judging to there is not the source MAC carried in described Address requests message, in the extended field of described Address requests message, add wired terminal type identification, and will the Address requests message repeating of catv terminal type identification be with the addition of to Dynamic Host Configuration Protocol server; Then
Described Dynamic Host Configuration Protocol server also for:
According to the type of user terminal mark in the extended field of described Address requests message, determine the terminal type of described user terminal; Described sense cycle is determined according to described terminal type.
The embodiment of the present invention proposes a kind of address resource management scheme, Dynamic Host Configuration Protocol server is that user terminal distribution only comprises IP address, after not comprising the address resource in rental period, detect described user terminal whether online, when detecting that described user terminal is not online, then the address resource distributing to described user terminal is reclaimed, and be no longer the fixing rental period relying on IP address reclaim address resource, thus improve the flexibility that address resource reclaims, the large and network environment that address resource is limited of mobility can be adapted to.
Accompanying drawing explanation
Fig. 1 is the address resource management method flow diagram that the embodiment of the present invention proposes;
Fig. 2 is the another kind of address resource management method flow diagram that the embodiment of the present invention proposes;
Fig. 3 is the structural representation of a kind of Dynamic Host Configuration Protocol server that the embodiment of the present invention proposes;
Fig. 4 is the hardware configuration schematic diagram of a kind of Dynamic Host Configuration Protocol server that the embodiment of the present invention proposes;
Fig. 5 is the structure composition schematic diagram of the address resource management system that the embodiment of the present invention proposes.
Embodiment
In order to solve in prior art because the rental period of the IP address of Dynamic Host Configuration Protocol server distribution is fixed, thus the flexibility causing address resource to reclaim is poor, large and the problem of the network environment that address resource is limited of mobility cannot be adapted to, the embodiment of the present invention to how reclaiming the address resource distributing to user terminal in prior art is studied, wherein, address resource in the address pool of Dynamic Host Configuration Protocol server can be divided into occupied state and Idle state, if certain address Energy Resources Service is in occupied state, then can think that user terminal corresponding to this address resource is in line states, if certain address Energy Resources Service is in Idle state, then can think that user terminal corresponding to this address resource rolls off the production line.Therefore, if the state of user terminal can be obtained, then can determine whether reclaiming according to the state of user terminal the address resource distributing to this user terminal.
Based on above-mentioned analysis, embodiments provide a kind of address resource management scheme.In this technical scheme, Dynamic Host Configuration Protocol server is that user terminal distribution only comprises IP address, after not comprising the address resource in rental period, detect described user terminal whether online, when detecting that described user terminal is not online, then the address resource distributing to described user terminal is reclaimed, and be no longer the fixing rental period relying on IP address reclaim address resource, thus improve the flexibility that address resource reclaims, the large and network environment that address resource is limited of mobility can be adapted to.
Below in conjunction with Figure of description, embodiments of the invention are described, should be appreciated that embodiment described herein is only for instruction and explanation of the present invention, is not limited to the present invention.And when not conflicting, the embodiment in this explanation and the feature of embodiment can be combined with each other.
The embodiment of the present invention provides a kind of address resource management method, is illustrated in figure 1 the flow chart of the method, mainly comprises the steps:
Step 11, the Address requests message that Dynamic Host Configuration Protocol server sends according to user terminal is this user terminal allocation address resource; Wherein, the IP address for this user terminal distributes only is comprised in address resource;
Step 12, according to sense cycle, whether the user terminal detecting allocation address resource is online;
Wherein, whether the user terminal detecting allocation address resource is online, and whether the IP address namely detecting the user terminal of allocation address resource corresponding has flow to produce, if there is flow to produce, illustrate that this IP address is in occupied state, then corresponding with this IP address user terminal is online; And if do not have flow to produce, illustrate that this IP address is in Idle state, then corresponding with this IP address user terminal is not online.
Current network mainly comprises two classes: mobile network and fixed network, and wherein, user terminal corresponding to mobile network is wireless terminal, and user terminal corresponding to fixed network is catv terminal.And wireless terminal is compared to catv terminal, mobility is larger, and therefore mobile network is compared with fixed network, and resource is deficienter, and the demand that resource reclaims in time is larger.
Based on the above-mentioned difference of mobile network and fixed network, detect wireless terminal and catv terminal according to identical sense cycle, sense cycle is too short, causes frequently detecting catv terminal, then can waste the system resource of Dynamic Host Configuration Protocol server, the power consumption of Dynamic Host Configuration Protocol server is increased; Sense cycle is long, when detecting wireless terminal, cannot be detected by the user terminal rolled off the production line in time again, cause address resource utilance lower.Therefore, in order to the utilance of address resource both can be improved, the power consumption of Dynamic Host Configuration Protocol server can be reduced again, in advance different sense cycle can be set respectively for different terminal types, so when detecting the user terminal of allocation address resource, first can determine the terminal type of this user terminal of allocation address resource, then determine corresponding sense cycle according to the terminal type determined, then detect according to the user terminal of the sense cycle determined to this allocation address resource.
Wherein, no matter be catv terminal or wireless terminal, the sense cycle of their correspondences can be identical cycle interval time, also can be different cycle interval time, such as can extend along with the increase detecting number of times, or the shortening etc. along with the increase of detection number of times.Be extended for example with sense cycle along with the increase detecting number of times, sense cycle can be set to:
Sense cycle=x(minute)+2 y power (minute);
Wherein, x is the radix time, and y is for detecting weight, and y increases along with the increase detecting number of times, and such as y successively can add 1 according to the increase detecting number of times.
Preferably, can be realized the identification of terminal type in the embodiment of the present invention by the terminal type identification of carrying user terminal in the extended field of Address requests message, and terminal type identification can be added by the access device for forwarding the message that user terminal sends.Because wireless terminal is when accessing, need to carry out wireless authentication to associate this access device, catv terminal is then without the need to carrying out wireless authentication, therefore access device can identify the terminal type of the user terminal of access, and terminal type identification corresponding for the terminal type identified is added in the extended field of Address requests message.
It should be noted that, can be, but not limited in the embodiment of the present invention adopt the identification of aforesaid way realization to the terminal type of user terminal.Why adopting above-mentioned this mode in the embodiment of the present invention, is because which is without the need to carrying out the improvement on hardware to user terminal and access device, and only needs to utilize wireless terminal to need to carry out this characteristic of wireless authentication and can realize.
Preferably, in order to whether the user terminal detecting allocation address resource is online, following manner in the embodiment of the present invention, can be adopted to detect:
Detect request message determine that whether this user terminal is online by sending to the user terminal of allocation address resource.Concrete, detection request message can be sent according to the transmission times pre-set and interval time to this user terminal, and transmission times and interval time can self-defined settings according to demand.If receive the detection response message of this user terminal feedback within the first fixed time, then illustrate that this user terminal is online; And if do not receive within the first fixed time this user terminal feedback detection response message, then illustrate that this user terminal is not online.
Because a lot of user terminal, based on the consideration of fail safe, is forbidden that external equipment carries out active detecting to it, therefore, except the mode of above-mentioned this active detecting, can also be adopted the mode of passive detection in the embodiment of the present invention at present, specific as follows:
The message that the user terminal that whether there is allocation address resource in the message received by the access device detecting user terminal access is sent judges that whether this user terminal is online.Concrete, can by Access Control List (ACL) (the Access Control List configured in access device, ACL) message that access device receives is identified, need in usual ACL to configure some matching conditions, to identify specific message, matching condition can comprise source address, the destination address and port numbers etc. of message; If during the message that the user terminal judging to exist in the message that access device receives within the second fixed time allocation address resource sends, then determine that this user terminal is online; Otherwise this user terminal is not online.
Step 13, when detecting that user terminal is not online, reclaims the address resource distributing to this user terminal.
By the scheme of above-described embodiment one, when Dynamic Host Configuration Protocol server is that user terminal distributes and only comprises IP address and after not comprising the address resource in rental period, whether the user terminal detecting allocation address resource is online, when detecting that described user terminal is not online, then the address resource distributing to described user terminal is reclaimed, and be no longer the fixing rental period relying on IP address reclaim address resource, thus improve the flexibility that address resource reclaims, the large and network environment that address resource is limited of mobility can be adapted to.
The another kind of address resource management method flow diagram that Fig. 2 provides for the embodiment of the present invention, the basis of method shown in Fig. 1 is described in detail to the detailed process of address resource management method of the present invention.As shown in Figure 2, described method comprises:
Step 21, user terminal sends Address requests message to access device;
Wherein, access device is the equipment that can make accessing user terminal to network, such as router, access point etc., and the message that user terminal sends all needs to be forwarded by the access device of its access.
This characteristic of wireless authentication is needed based on wireless terminal, access device in the embodiment of the present invention can comprise wireless authentication module and packet forwarding module, wireless authentication module is used for carrying out certification to the wireless terminal of access, and by source medium access control (the Media Access Control of the wireless terminal by certification, MAC) store, and to mark terminal type identification corresponding to this source MAC be wireless terminal type identification; And packet forwarding module is used for the message that the catv terminal without the need to certification and the wireless terminal by wireless authentication send to forward.
Step 22, access device, from being marked with the source MAC of wireless terminal type identification of storing, judges whether to exist the source MAC that Address requests message carries; When judged result is for being, perform step 23, otherwise perform step 24;
Step 23, the terminal type identification of wireless terminal is added in Address requests message by access device;
Step 24, the terminal type identification of catv terminal is added in Address requests message by access device;
Wherein, can be used for marking terminal type by increasing by 1 bit in Option field in Address requests message in the embodiment of the present invention, 1 bit of increase can be called extended field.This extended field can represent with Device type, as Device_type=0, represents that the user terminal sending Address requests message is catv terminal; As Device_type=1, represent that the user terminal sending Address requests message is wireless terminal.
In these cases, step 23 can be specially: the Device_type in Address requests message is set to 1 by access device; And step 24 can be specially: the Device_type in Address requests message is set to 0 by access device.
Step 25, access device will carry the Address requests message repeating of terminal type identification to Dynamic Host Configuration Protocol server;
Step 26, Dynamic Host Configuration Protocol server is that user terminal distributes the address resource only comprising IP address, and according to the terminal type identification of carrying in the request message of address, the terminal type identification that the IP address that record distributes is corresponding;
Step 27, the terminal type identification that Dynamic Host Configuration Protocol server is corresponding according to the IP address of the distribution of record, determines the terminal type of user terminal;
Whether online step 28, according to the sense cycle arranged for the terminal type determined in advance, detect user terminal, and when the test results is yes, repeated execution of steps 28, when testing result is no, performs step 29;
Wherein, elaborating of detection mode refers to elaborating in above-described embodiment one, and the embodiment of the present invention two repeats no more here.
Step 29, the address resource distributing to this user terminal reclaims by Dynamic Host Configuration Protocol server.
Based on foregoing invention design, the embodiment of the present invention proposes a kind of dynamic host configuration protocol DHCP server, as shown in Figure 3, is the structural representation of this Dynamic Host Configuration Protocol server, comprises:
Address resource allocation units 31, for the Address requests message sent according to user terminal, are described user terminal allocation address resource; The Internet protocol IP address for described user terminal distributes only is comprised in described address resource;
Detecting unit 32, for according to sense cycle, whether the described user terminal detecting address resource allocation units 31 allocation address resource is online;
Recovery unit 33, during for detecting that when detecting unit 32 described user terminal is not online, reclaims the address resource distributing to described user terminal.
Preferably, this Dynamic Host Configuration Protocol server can also comprise:
Terminal type determining unit 34, for according to the type of user terminal mark in the extended field of described Address requests message, determines the terminal type of the address resource allocation unit 31 described user terminal of allocation address resource;
Sense cycle determining unit 35, the terminal type for determining according to terminal type determining unit 34 determines described sense cycle.
Wherein, described detecting unit 32 can be specifically for:
Send to described user terminal and detect request message; If receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is online; If do not receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is not online.
Described detecting unit 32 can also be specifically for:
Judge the message that whether there is the transmission of described user terminal in the message that the access device of described user terminal access within the second fixed time receives; If judged result is the message that there is the transmission of described user terminal, determine that described user terminal is online; When judged result is the message that there is not the transmission of described user terminal, determine that described user terminal is not online.
Accordingly, the embodiment of the present invention also proposes a kind of Dynamic Host Configuration Protocol server, as shown in Figure 4, is the hardware configuration schematic diagram of this Dynamic Host Configuration Protocol server, comprises: processor 41, memory 42, communication interface 43 and bus 44, wherein:
Processor 41, memory 42, communication interface 43 are interconnected by bus 44; Bus 44 can be Peripheral Component Interconnect standard (peripheral component interconnect is called for short PCI) bus or EISA (extended industry standard architecture is called for short EISA) bus etc.Described bus can be divided into address bus, data/address bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 4, but not representing the bus only having a bus or a type.
Memory 42, for depositing program.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Memory 42 may comprise high-speed random access memory (randomaccess memory is called for short RAM) memory, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disc store.
The program that processor 41 execute store 42 is deposited, for performing the address resource management method that the embodiment of the present invention provides, described method comprises:
According to the Address requests message that user terminal sends, it is described user terminal allocation address resource; The Internet protocol IP address for described user terminal distributes only is comprised in described address resource;
According to sense cycle, detect described user terminal whether online;
When detecting that described user terminal is not online, the described address resource distributing to described user terminal is reclaimed.
Wherein, before whether detection user terminal is online, processor 41 can first perform following step:
According to the type of user terminal mark in the extended field of described Address requests message, determine the terminal type of described user terminal; And determine described sense cycle according to described terminal type.
Wherein, detect described user terminal whether online, can specifically comprise:
Send to described user terminal and detect request message;
If receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is online;
If do not receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is not online.
Detect described user terminal whether online, can also specifically comprise:
Judge the message that whether there is the transmission of described user terminal in the message that the access device of described user terminal access within the second fixed time receives;
If judged result is the message that there is the transmission of described user terminal, determine that described user terminal is online;
If judged result is the message that there is not the transmission of described user terminal, determine that described user terminal is not online.
The embodiment of the present invention proposes a kind of address resource management system, as shown in Figure 5, is the structural representation of this system, comprises: Dynamic Host Configuration Protocol server 51 and access device 52, wherein:
Access device 52, for by the Address requests message repeating from described user terminal to Dynamic Host Configuration Protocol server 51;
Dynamic Host Configuration Protocol server 51, for according to described Address requests message, is described user terminal allocation address resource; According to sense cycle, detect described user terminal whether online; When detecting that described user terminal is not online, the described address resource distributing to described user terminal is reclaimed; Wherein, the Internet protocol IP address for described user terminal distributes only is comprised in described address resource.
Wherein, access device 52 specifically for:
Receive the Address requests message that described user terminal sends; What judge storage is marked with in the source medium access control MAC Address of wireless terminal type identification whether there is the source MAC carried in described Address requests message; When judging to there is the source MAC carried in described Address requests message, in the extended field of described Address requests message, add wireless terminal type identification, and will the Address requests message repeating of wireless terminal type identification be with the addition of to Dynamic Host Configuration Protocol server 51; When judging to there is not the source MAC carried in described Address requests message, in the extended field of described Address requests message, add wired terminal type identification, and will the Address requests message repeating of catv terminal type identification be with the addition of to Dynamic Host Configuration Protocol server 51; Then
Dynamic Host Configuration Protocol server 51 can also be used for:
According to the type of user terminal mark in the extended field of described Address requests message, determine the terminal type of described user terminal; Described sense cycle is determined according to described terminal type.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.

Claims (10)

1. an address resource management method, is characterized in that, comprising:
The Address requests message that dynamic host configuration protocol DHCP server sends according to user terminal is described user terminal allocation address resource; The Internet protocol IP address for described user terminal distributes only is comprised in described address resource;
According to sense cycle, detect described user terminal whether online;
When detecting that described user terminal is not online, the described address resource distributing to described user terminal is reclaimed.
2. the method for claim 1, is characterized in that, also comprises:
According to the type of user terminal mark in the extended field of described Address requests message, determine the terminal type of described user terminal;
Described sense cycle is determined according to described terminal type.
3. method as claimed in claim 1 or 2, is characterized in that, detects described user terminal whether online, specifically comprises:
Send to described user terminal and detect request message;
If receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is online;
If do not receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is not online.
4. method as claimed in claim 1 or 2, is characterized in that, detects described user terminal whether online, specifically comprises:
Judge the message that whether there is the transmission of described user terminal in the message that the access device of described user terminal access within the second fixed time receives;
If judged result is the message that there is the transmission of described user terminal, determine that described user terminal is online;
If judged result is the message that there is not the transmission of described user terminal, determine that described user terminal is not online.
5. a dynamic host configuration protocol DHCP server, is characterized in that, comprising:
Address resource allocation units, for the Address requests message sent according to user terminal, are described user terminal allocation address resource; The Internet protocol IP address for described user terminal distributes only is comprised in described address resource;
Detecting unit, for according to sense cycle, whether the described user terminal detecting address resource allocation units allocation address resource is online;
Recovery unit, during for detecting that when detecting unit described user terminal is not online, reclaims the described address resource distributing to described user terminal.
6. Dynamic Host Configuration Protocol server as claimed in claim 5, it is characterized in that, described Dynamic Host Configuration Protocol server also comprises:
Terminal type determining unit, for according to the type of user terminal mark in the extended field of described Address requests message, determines the terminal type of the address resource allocation unit described user terminal of allocation address resource;
Sense cycle determining unit, the terminal type for determining according to terminal type determining unit determines described sense cycle.
7. the Dynamic Host Configuration Protocol server as described in claim 5 or 6, is characterized in that, described detecting unit specifically for:
Send to described user terminal and detect request message; If receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is online; If do not receive the detection response message of described user terminal feedback within the first fixed time, determine that described user terminal is not online.
8. the Dynamic Host Configuration Protocol server as described in claim 5 or 6, is characterized in that, described detecting unit specifically for:
Judge the message that whether there is the transmission of described user terminal in the message that the access device of described user terminal access within the second fixed time receives; If judged result is the message that there is the transmission of described user terminal, determine that described user terminal is online; When judged result is the message that there is not the transmission of described user terminal, determine that described user terminal is not online.
9. an address resource management system, is characterized in that, comprises dynamic host configuration protocol DHCP server and access device, wherein:
Described access device, for by the Address requests message repeating from described user terminal to Dynamic Host Configuration Protocol server;
Described Dynamic Host Configuration Protocol server, for according to described Address requests message, is described user terminal allocation address resource; According to sense cycle, detect described user terminal whether online; When detecting that described user terminal is not online, the described address resource distributing to described user terminal is reclaimed; Wherein, the Internet protocol IP address for described user terminal distributes only is comprised in described address resource.
10. system as claimed in claim 9, is characterized in that, described access device specifically for:
Receive the Address requests message that described user terminal sends; From being marked with the source medium access control MAC Address of wireless terminal type identification of storing, judge whether to there is the source MAC carried in described Address requests message; When judging to there is the source MAC carried in described Address requests message, in the extended field of described Address requests message, add wireless terminal type identification, and will the Address requests message repeating of wireless terminal type identification be with the addition of to Dynamic Host Configuration Protocol server; When judging to there is not the source MAC carried in described Address requests message, in the extended field of described Address requests message, add wired terminal type identification, and will the Address requests message repeating of catv terminal type identification be with the addition of to Dynamic Host Configuration Protocol server; Then
Described Dynamic Host Configuration Protocol server also for:
According to the type of user terminal mark in the extended field of described Address requests message, determine the terminal type of described user terminal; Described sense cycle is determined according to described terminal type.
CN201310446445.8A 2013-09-26 2013-09-26 An address resource managing method, system and DHCP server Pending CN104519145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310446445.8A CN104519145A (en) 2013-09-26 2013-09-26 An address resource managing method, system and DHCP server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310446445.8A CN104519145A (en) 2013-09-26 2013-09-26 An address resource managing method, system and DHCP server

Publications (1)

Publication Number Publication Date
CN104519145A true CN104519145A (en) 2015-04-15

Family

ID=52793848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310446445.8A Pending CN104519145A (en) 2013-09-26 2013-09-26 An address resource managing method, system and DHCP server

Country Status (1)

Country Link
CN (1) CN104519145A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106680663A (en) * 2016-11-18 2017-05-17 云南电网有限责任公司电力科学研究院 Online detection method and system for multi-branch power distribution network transformer
CN107172226A (en) * 2017-03-27 2017-09-15 联想(北京)有限公司 A kind of information processing method and server
CN107465772A (en) * 2017-09-28 2017-12-12 郑州云海信息技术有限公司 A kind of method and apparatus for reclaiming dynamic host configuration protocol DHCP address
CN110351401A (en) * 2019-07-10 2019-10-18 锐捷网络股份有限公司 A kind of method and system realizing STA in big double layer network and servicing nearby
CN116016442A (en) * 2022-12-29 2023-04-25 武汉绿色网络信息服务有限责任公司 ip address resource management method, cloud gateway, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI273793B (en) * 2005-02-01 2007-02-11 Huang Jie Yi Method for retrieving real-time network configuration parameters and lease time definition
CN101242417A (en) * 2008-03-03 2008-08-13 中兴通讯股份有限公司 An IP reservation method and access server for access users
CN101656764A (en) * 2009-09-22 2010-02-24 中兴通讯股份有限公司 Method, system and device for keeping session of DHCP user active
CN101730090A (en) * 2009-12-24 2010-06-09 杭州华三通信技术有限公司 Method and equipment for releasing IP addresses by DHCP server
CN101795300A (en) * 2009-11-11 2010-08-04 福建星网锐捷网络有限公司 IP (Internet Protocol) address recovery method and system, as well as DHCP (Dynamic Host Configuration Protocol) repeater and DHCP server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI273793B (en) * 2005-02-01 2007-02-11 Huang Jie Yi Method for retrieving real-time network configuration parameters and lease time definition
CN101242417A (en) * 2008-03-03 2008-08-13 中兴通讯股份有限公司 An IP reservation method and access server for access users
CN101656764A (en) * 2009-09-22 2010-02-24 中兴通讯股份有限公司 Method, system and device for keeping session of DHCP user active
CN101795300A (en) * 2009-11-11 2010-08-04 福建星网锐捷网络有限公司 IP (Internet Protocol) address recovery method and system, as well as DHCP (Dynamic Host Configuration Protocol) repeater and DHCP server
CN101730090A (en) * 2009-12-24 2010-06-09 杭州华三通信技术有限公司 Method and equipment for releasing IP addresses by DHCP server

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106680663A (en) * 2016-11-18 2017-05-17 云南电网有限责任公司电力科学研究院 Online detection method and system for multi-branch power distribution network transformer
CN106680663B (en) * 2016-11-18 2020-05-08 云南电网有限责任公司电力科学研究院 Multi-branch distribution network transformer online detection method and system
CN107172226A (en) * 2017-03-27 2017-09-15 联想(北京)有限公司 A kind of information processing method and server
CN107465772A (en) * 2017-09-28 2017-12-12 郑州云海信息技术有限公司 A kind of method and apparatus for reclaiming dynamic host configuration protocol DHCP address
CN110351401A (en) * 2019-07-10 2019-10-18 锐捷网络股份有限公司 A kind of method and system realizing STA in big double layer network and servicing nearby
CN110351401B (en) * 2019-07-10 2022-10-14 锐捷网络股份有限公司 Method and system for realizing STA (station) nearby service in large two-layer network
CN116016442A (en) * 2022-12-29 2023-04-25 武汉绿色网络信息服务有限责任公司 ip address resource management method, cloud gateway, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN102932498B (en) A kind of virtual machine IP method for managing resource of cloud computing platform
US20170195282A1 (en) Address Processing Method, Related Device, and System
CN110677405A (en) Data processing method and device, electronic equipment and storage medium
CN103078965B (en) The IP address management method of virtual machine
CN104519145A (en) An address resource managing method, system and DHCP server
CN105511954A (en) Method and device for message processing
CN102316043B (en) Port virtualization method, switch and communication system
CN104137085A (en) Method for controlling access of clients to a service in a cluster environment
CN112492063B (en) IP address pool allocation and application method, device, equipment and medium
CN103229478A (en) Method and device for virtual-machine drift determination
CN105704256B (en) A kind of IP address management methods, devices and systems
CN105704042A (en) Message processing method, BNG and BNG cluster system
CN114363881A (en) IP address allocation method, device, equipment and medium
CN104793982A (en) Method and device for establishing virtual machine
CN103414641B (en) Neighbor table item release, device and the network equipment
CN104348928A (en) Method for assigning address resources, management device, request device, and system
CN102664971B (en) Network address resources management method, system and external address Resource Server
CN103166845A (en) Data processing method and device
CN102238245B (en) Address allocation method and equipment
CN103607410A (en) Content access method and equipment
CN104243625A (en) IP address distribution method and device
CN102612165A (en) Method and device for releasing resource
CN108124022B (en) Network address translation management method and device
CN108429641A (en) A kind of network device management method and device
CN103889021A (en) Low power and lossy network member updating method and DODAG root node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150415

RJ01 Rejection of invention patent application after publication