CN103595566A - Method and device for detecting idle IP addresses - Google Patents

Method and device for detecting idle IP addresses Download PDF

Info

Publication number
CN103595566A
CN103595566A CN201310562248.2A CN201310562248A CN103595566A CN 103595566 A CN103595566 A CN 103595566A CN 201310562248 A CN201310562248 A CN 201310562248A CN 103595566 A CN103595566 A CN 103595566A
Authority
CN
China
Prior art keywords
address
idle
module
cycle
database
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.)
Granted
Application number
CN201310562248.2A
Other languages
Chinese (zh)
Other versions
CN103595566B (en
Inventor
翟迅
王文岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310562248.2A priority Critical patent/CN103595566B/en
Publication of CN103595566A publication Critical patent/CN103595566A/en
Application granted granted Critical
Publication of CN103595566B publication Critical patent/CN103595566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a device for detecting idle IP addresses and a method corresponding to the device. The device for detecting the idle IP addresses comprises two parts, namely a foreground and a background, wherein the foreground is responsible for the starting of detection of the idle IP addresses and issue of configuration, and the background is responsible for accessibility detection of the IP addresses, data updating of the idle IP addresses and providing of the data of the idle IP addresses when an administrator inquires the idle IP addresses. Long-term and effective periodical detection is carried out on the IP addresses through the device and the corresponding method, the IP addresses not used for a long time are recorded, and therefore the network administrator releases and reallocates the idle IP addresses conveniently, and further the resource utilization rate of the IP addresses is improved.

Description

A kind of method and device that detects idle IP address
Technical field
The present invention relates to data communication field, relate in particular to a kind of method and device that detects idle IP address.
Background technology
Network management has been goed deep into as a kind of Internet resources in IP address, by the management to IP address, network manager is access situation and the utilance of IP address in awareness network in time, so that planning network again, for those long-term obsolete IP addresses, can discharge to save IP address resource.
Yet the continuous expansion of the discontinuity of using due to IP address (that is IP address is access network at any time likely, also may roll off the production line at any time) and network size, makes the detection of idle IP address become very difficult.
Summary of the invention
In view of this, the invention provides a kind of method and device that detects idle IP address, by the inventive method, keeper can obtain the idle information of IP address in time, and then can idle IP address be discharged, be redistributed.
The present invention is achieved through the following technical solutions:
Detect a method for idle IP address, wherein said method comprises:
The instruction of receiving management person's the idle IP of start detection address;
Whether the IP address accessible detecting cycle of setting according to keeper is periodically detected IP address and can reach, and if so, the IP address that can reach is recorded to IP address and can reaches in list, if not, inaccessible IP address is recorded in the unreachable list in IP address;
When the idle IP address date update cycle arrives, idle IP address database is upgraded.
Further, the described idle IP address date update cycle is more than or equal to the IP address accessible detecting cycle.
Further, the described idle IP address date update cycle is the some integers portion in IP address accessible detecting cycle.
Further, whether when detecting for the first time IP address can reach within the idle IP address date update cycle, the state of reachability of giving tacit consent to all IP addresses of having distributed is unreachable.
Further, after detecting for the first time, when whether next cycle detection IP address can reach, only to detecting inaccessible IP address in the upper cycle, again detect, and the IP address that all detections in this sense cycle can be reached is recorded to and can reaches in IP address list, inaccessible IP address is recorded in unreachable IP address list.
Further, when the idle IP address date update cycle arrives, idle IP address database is upgraded, is specially:
The idle IP address that can reach after testing within the idle IP address date update cycle is deleted from database;
To in database, not exist but within the idle IP address date update cycle, detect inaccessible IP address and be increased in database;
To in database, exist but within the idle IP address date update cycle, detect inaccessible IP address, according to the idle number of days of the not busy IP of new database hollow address more of idle IP address date update cycle.
Further, described method also comprises:
The query statement of the idle IP address of setting according to keeper, idle IP address in reading database, and the idle IP address that meets query contents is fed back to enquiry module.
Further, described query statement can be inputted by hand by keeper, also can according to predetermined strategy, be arranged to automatic inquiry by keeper.
Further, described method also comprises:
Close the instruction that detects idle IP address, and the parameter instruction that whether retains historical record of setting according to keeper determines whether the idle IP address date recording in delete database.
The present invention also provides a kind of device that detects idle IP address simultaneously, at least includes configuration module, detection module and update module, wherein:
Configuration module, instruction and the realization of the idle IP of the start detection of setting for receiving management person address detect other parameter instructions of idle IP address, and it is sent to detection module, update module;
Detection module, for receiving after the instruction of the idle IP of the start detection address that configuration module sends, whether the IP address accessible detecting cycle of setting according to keeper is periodically detected IP address and can reach, if, the IP address that can reach is recorded to IP address and can reaches in list, if not, inaccessible IP address is recorded in the unreachable list in IP address;
Update module, for when the idle IP address date update cycle arrives, upgrades the idle IP address in database.
Further, the idle IP address date update cycle of described update module is more than or equal to the IP address accessible detecting cycle of detection module.
Further, the some integers portion in IP address accessible detecting cycle that is detection module idle IP address date update cycle of described update module.
Further, when whether detection module detects for the first time IP address and can reach within the idle IP address date update cycle, the state of reachability of giving tacit consent to all IP addresses of having distributed is unreachable.
Further, detection module is after detecting for the first time, when detecting IP address whether can reach within the cycle subsequently, only inaccessible IP in the upper cycle was detected address again, and the IP address that all detections in this sense cycle can be reached is recorded to and can reaches in IP address list, inaccessible IP address is recorded in unreachable IP address list.
Further, when the idle IP address date update cycle arrives, update module is upgraded idle IP address database, is specially:
The idle IP address that can reach after testing within the idle IP address date update cycle is deleted from database;
To in database, not exist but within the idle IP address date update cycle, detect inaccessible IP address and be increased in database;
To in database, exist but within the idle IP address date update cycle, detect inaccessible IP address, according to the idle number of days of the not busy IP of new database hollow address more of idle IP address date update cycle.
Further, described device also includes enquiry module and output module, wherein:
Enquiry module, for sending to output module by the query statement of the idle IP address of keeper's setting;
Output module, receives after the query statement of enquiry module transmission, idle IP address in reading database, and the idle IP address that meets query contents is fed back to enquiry module.
Further, the query statement in described enquiry module can, by keeper's manual input in enquiry module, also can be arranged to automatic inquiry according to predetermined strategy by keeper in enquiry module.
Further, described configuration module also for:
Keeper sets and closes the instruction that detects idle IP address, and the parameter instruction that whether retains historical record of setting according to keeper determines whether the idle IP address date recording in delete database.
Compared with prior art, the present invention, by the permanently effective detection in idle IP address, records long-term obsolete IP address, thereby facilitates keeper that these idle IP addresses are discharged, redistributed, and then increases IP address resource utilance.
Accompanying drawing explanation
Fig. 1 is a kind of device logical construction and hardware environment principle schematic that detects idle IP address in exemplary embodiment of the present;
Fig. 2 is a kind of method flow schematic diagram that detects idle IP address in exemplary embodiment of the present shown in Fig. 1;
Fig. 3 is the realization example figure that under certain application scenarios, the present invention detects idle IP address.
Embodiment
In order to realize the object of the invention, the present invention by increasing by a feature card for realizing the idle-detection of the IP address that IP address pool has been distributed on NM server.Described feature card is specifically divided into foreground and two, backstage part, the inquiry of issuing of the startup of idle IP address detected, the configuration of idle IP address detected and idle IP address etc. is responsible on foreground, backstage is responsible for the Data Update of idle IP address accessible detecting, idle IP address and keeper, by foreground, is sent after the query statement of idle IP address, and providing idle IP address date is provided.By the present invention, the permanently effective periodicity in IP address is detected, record long-term obsolete idle IP address, thereby facilitate keeper that these idle IP addresses are discharged, redistributed, and then increase IP address resource utilance.
With software, coordinate and be embodied as example, as shown in Figure 1, the invention provides a kind of device that detects idle IP address, essence is moved the logic device forming for the CPU by NM server reads corresponding computer program from nonvolatile memory in internal memory.NM server is as the carrier of apparatus of the present invention operations, and its hardware environment at least all comprises that CPU, internal memory and nonvolatile memory support the operation of above-mentioned logic device conventionally.Certainly, described NM server also comprises that other are as business hardware such as input/output ports, because these are not for realizing the core component of the object of the invention, is not repeated herein also not shown.In addition, the present invention does not get rid of other such as the implementation of only using hardware or software and hardware combining yet.
Further as shown in Figure 1, apparatus of the present invention comprise: configuration module, enquiry module, detection module, update module and output module.Wherein, configuration module and enquiry module are arranged at the foreground of software program, for carrying out with keeper detection module, update module and the output module that instruction mutual and that keeper is set is handed down to backstage; Detection module, update module and output module are arranged at the backstage of software program, and the detection of IP address accessibility is carried out in the instruction that is respectively used to send according to foreground configuration module, enquiry module, idle IP address date upgrades and the output of idle IP address date.In the present invention, described device in realizing the process of idle IP address detected, by CPU reading command, each intermodule interaction flow specifically as shown in Figure 2:
The instruction of the idle IP of the start detection address that step 1, configuration module receiving management person set, and it is sent to detection module, update module and the output module in background program.
Particularly, when keeper determines to start idle IP address detected function, network manager need to set by configuration module the instruction of the idle IP of start detection address.Meanwhile, in order to realize the detection to idle IP address, keeper also needs further to set by configuration module the parameter instruction that other detect idle IP address.For example: the cycle of IP address accessible detecting (can hour be unit, span is 1-12, wherein sense cycle is less, namely the granularity of IP address accessible detecting is less, detecting idle IP address can be more accurate), idle IP address date update cycle and closing after the instruction that detects idle IP address when keeper sends, whether continue to retain the configuration parameters such as record of idle IP address in database.
In the present invention, the idle IP address date update cycle should be more than or equal to the IP address accessible detecting cycle.Preferably, some integral multiples that are the IP address accessible detecting cycle of described idle IP address date update cycle.
When network manager completes after above-mentioned parameter configuration, described configuration module further sends to the order parameter of above-mentioned configuration respectively detection module, update module and the output module in background program.
Step 2, detection module receive after the instruction of the idle IP of the start detection address that configuration module sends, whether the IP address accessible detecting cycle of setting according to keeper is periodically detected IP address and can reach, if, the IP address that can reach is recorded to IP address and can reaches in list, if not, inaccessible IP address is recorded in the unreachable list in IP address.
Particularly, when backstage detection module receives the instruction of the idle IP of the start detection address that foreground configuration module sends, the IP address accessible detecting cycle that described detection module can arrange by foreground configuration module according to keeper starts a detection timer for correspondence with it, so that the IP address reachable state that detection module is managed according to keeper's cycle detection NM server of self-defining cycle.
It should be noted that, in the present invention, when whether detection module detects for the first time IP address and can reach within the idle IP address date update cycle, the state of reachability that detection module need to be given tacit consent to all IP addresses of having distributed is unreachable, to guarantee within the idle IP address date update cycle, whether each IP address can reach is at least detected once.In addition, after detection module is to all distributing IP address accessible detecting, the IP address that all detections can be reached is recorded to and can reaches in IP address list, and all inaccessible IP address is recorded in unreachable IP address list.If now the idle IP address date update cycle not yet arrives, described detection module is when next sense cycle arrives, when detection module only can detect those within a upper cycle, inaccessible IP address is detected again, the IP address that then all detections in this sense cycle can be reached is recorded to and can reaches in IP address list, and inaccessible IP address is recorded in unreachable IP address list.Go round and begin again, until the idle IP address date update cycle is when arrive.
Step 3, when idle IP address date update cycle arrives, update module is upgraded the idle IP address in database.
In order to realize the object of the invention, in realization of the present invention, except timer corresponding to the IP address accessible detecting described in enabling step 2, further, described detection module is also enabled a Data Update timer corresponding with the idle IP address date update cycle simultaneously, while arriving with the idle IP address date update cycle of box lunch, detection module can send to update module by all IP of reaching address of its record and unreachable IP address information in time, so that update module is upgraded the idle IP address date in database.
Update module receives behind all IP of reaching address and unreachable IP address of detection module transmission, and the idle IP address in database is upgraded.Be specially: when update module receives behind all IP of reaching address and unreachable IP address of detection module transmission, idle IP address in further reading database, the idle IP address that can reach after testing within the idle IP address date update cycle is deleted from database, to in database, not exist simultaneously but within the idle IP address date update cycle, detect inaccessible IP address and be increased in database, and for having existed in database but detect inaccessible IP address within the idle IP address date update cycle, according to the idle number of days of the not busy IP of new database hollow address more of idle IP address date update cycle.
Through after above steps intermodule mutual, the present invention can realize the permanently effective detection to idle IP address, and according to the accessible detecting of IP address, has recorded the long-term obsolete idle IP address of having distributed simultaneously.
Further describe again keeper below and be and how to complete the inquiry of these idle IP addresses, discharge and redistribute, and then increase IP address resource utilance.
The query statement of the idle IP address that step 4, enquiry module are set according to keeper, sends to output module by query statement, idle IP address in described output module reading database, and the idle IP address that meets query contents is fed back to enquiry module.
Particularly, when keeper need to inquire about the idle IP address of having distributed, its enquiry module arranging by foreground program is set concrete query statement.Wherein said query statement can, by the each manual inquiry of having inputted qualified idle IP address in certain concrete IP address or IP address field of keeper, also can be arranged to automatic inquiry according to predetermined strategy by network manager.For example: when keeper arranges automatic query statement according to predetermined strategy, can be more than or equal to according to the idle number of days of fixed cycle (such as with “Yue”Wei unit) or idle IP address a certain threshold value etc. and complete automatic inquiry and output.
After the automatic query statement of the manual input of enquiry module receiving management person or setting, it is sent to output module.Described output module is according to the automatic query statement of this input or setting, in reading database, meet the idle IP address of query statement content, and it is exported to the enquiry module on foreground, for keeper, discharge and redistribute, and the idle IP address discharging and redistribute is deleted from database, and then increase the resource utilization of idle IP address.
In addition, when backstage detection module receive that keeper sets by foreground configuration module close the instruction that detects idle IP address time, can stop idle IP and detect timer and idle IP address date renewal timer, the parameter instruction that whether retains historical record of simultaneously setting according to user determines whether the idle IP address date recording in delete database.
In order to make those skilled in the art more clear and clear, below in conjunction with the exemplary application scene of the present invention shown in Fig. 3, describe the present invention in detail.
Suppose under certain application scenarios, 250 IP addresses in certain network, have been distributed, network segment interval is: 10.153.89.1~10.153.89.250, in the database of NM server, recording the idle number of days in these 120 IP addresses of 10.153.89.131~10.153.89.250 is 10 days, there is no the idle information in remaining IP address.
Further hypothesis is under this application scenarios, and setting the IP address accessible detecting cycle is 12 hours, that is every 12 hours, detection module re-started accessible detecting to inaccessible IP address in a upper sense cycle.And setting each unreachable time limit of IP address is 3 seconds, that is, if detection module receives the response message that IP address can reach in 3 seconds, depending on this IP address, can reach and it is updated to and can reaches in IP address list, otherwise, if surpass and within 3 seconds, also do not receive the response message that this IP address is corresponding after an IP address sends, look this IP address unreachable, it is updated in unreachable IP address list, the frequency that wherein unreachable IP address is upgraded is 1 second, every 1 second, inaccessible IP address is upgraded once; The cycle that idle IP address date upgrades is one day, the 23:59:59 second that the time of Data Update is the same day.
With detection module, sending ICMP(Internet Control Message Protocol, Internet Control Message Protocol below) message is that example illustrates and detects the intraday accessibility in IP address and idle number of days situation of change.
Detection module starts before sense cycle starts for the first time of every day, and according to specific implementation of the present invention, the state of reachability that can give tacit consent to all IP address same day of having distributed is unreachable.After arriving first sense cycle (be assumed to be 0:0:0 second), described detection module can 250 in aforementioned network segment interval are to be detected IP address write and do not send in list ListA, then, described detection module can be constructed icmp packet, send for the first time 10.153.89.1~10.153.89.100 message (this value can be arranged arbitrarily by keeper), these 100 the IP addresses that sent are transferred to internal memory simultaneously and have sent in list ListB, and record these 100 the corresponding transmitting times in IP address that sent.After sending for the first time, do not send and in list ListA, also remain 150 IP addresses.
Consider the pressure of aspect of performance, in this exemplary application scenarios of the present invention, before sending behind 100 IP addresses, can receive the ICMP response message of the IP address of described transmission, and setting reception duration is 100 milliseconds, if receive several ICMP response messages in these 100 milliseconds, in internal memory, can reach IP address list ListC records these IP addresses and can reach, from send list ListB, delete these IP addresses simultaneously, then in ListA, remaining in not detected IP address selects same number IP address continuation structure icmp packet to send again, until all IP addresses have all been detected.
With exemplary application scene of the present invention for instance, suppose that detection module is in 100 milliseconds, received altogether the response message of these 10 the IP addresses of 10.153.89.1~10.153.89.10 that send before this, in internal memory, can reach and in IP address list ListC, record these 10 IP addresses and can reach, from send list ListB, delete this 10 IP addresses simultaneously, and then continue to select 10 IP addresses (for example 10.153.89.101~10.153.89.110) continuation structure icmp packet to send from ListA, do not send so subsequently and in list ListA, remain 140 IP addresses.Because once circulation 100 IP address used times of transmission may be no more than for 1 second, in ListA and ListB, there is IP address during this period, at this moment receive again the ICMP response message of 100 milliseconds, if receive these 20 ICMP response messages of 10.153.89.11~10.153.89.30, in internal memory, can reach and in IP address list ListC, record these 20 IP addresses of 10.153.89.11~10.153.89.30 and can reach, and from ListB, delete these IP addresses.Then from ListA, select again 20 IP addresses (for example 10.153.89.111~10.153.89.130) structure icmp packet to send, in ListB, remain 120 IP addresses.The like, until all IP addresses have all been detected.
Due to the application scenarios of setting according to the present invention, detection module can will upgrade unreachable IP address list ListD once every 1 second.That is, from send list ListB, delete overtime unreachable IP address, and it is transferred in unreachable IP address list ListD.Due in this application scene, the unreachable time-out time in IP address of setting is 3 seconds, and it is overtime that institute did not have any IP address for twice in the past.When the IP address sending surpasses while within 3 seconds, still not receiving corresponding ICMP response message, from the IP address list ListB having sent, delete these overtime IP addresses, and this overtime unreachable IP address is transferred in unreachable IP address list ListD, supposing has 10 IP addresses and current time difference to be more than or equal to 3 seconds in ListB, for 10.153.89.91~10.153.89.100, in unreachable IP address list ListD in internal memory, record these IP addresses unreachable, and from ListB, delete this 10 IP addresses, if now also have the IP address of not detecting in ListA, the icmp packet that continues 10 IP addresses of structure sends detection.
When ListA and ListB are while being empty, show that described IP reachability detects to have detected in this sense cycle.Suppose that the following 10.153.89.91~10.153.89.100 of testing result, 10.153.89.200~10.153.89.250 are unreachable, all the other IP addresses can reach.According to testing result, apparatus of the present invention are the number of days of IP address free time and the IP address accessibility on the same day in new database, internal memory more, has following several situation:
In internal memory, can reach in IP address list ListC and record these IP address states on the same day of 10.153.89.1~10.153.89.90,10.153.89.101~10.153.89.199 for reaching, in internal memory, can reach in IP address list, record the idle number of days in these IP addresses be 0 and the same day state for reaching, during next accessible detecting, detection module of the present invention no longer detects these IP addresses.
In internal memory, in unreachable IP address list ListD, record 10.153.89.91~10.153.89.100,10.153.89.200~10.153.89.250 state on the same day is unreachable, next accessible detecting continues to detect these IP addresses.When arriving next sense cycle (be assumed to be 12:00:01 second), only accessible detecting is carried out in these IP addresses of 10.153.89.91~10.153.89.100,10.153.89.200~10.153.89.250.Then the IP address that detection can reach in this sense cycle is recorded to and can be reached in IP address list ListC, unreachable IP address is recorded in unreachable IP address list ListD.Go round and begin again, until the idle IP address date update cycle arrives.
In addition, consider under some application scenarios, in network, the software of indivedual equipment can be ignored the ICMP detection messages of IP address, in the present invention, on the basis of detecting, has further increased the ARP testing mechanism of idle IP address at icmp packet, specific as follows:
When detection module completes after the icmp packet detection of IP address, further at ARP network equipment in poll gateway in digestion period, therefrom obtain the ARP information of equipment, if get the IP address of recording in unreachable list ListD in ARP information, the state on this IP address same day is revised as to " can reach " and it is moved on to and can be reached list ListC from " unreachable ".
When arriving idle IP address date during the update cycle, for example: arrive 23:59:59 during second in this application scene, suppose in 10.153.89.90~10.153.89.95,10.153.89.230~10.153.89.250 mono-day all unreachable.Update module increases by 1 day by the idle number of days of these IP addresses, is updated in idle IP address database.Final result is that the idle number of days of 10.153.89.90~10.153.89.95 is 1 day, and the idle number of days of 10.153.89.230~10.153.89.250 is 11 days, and the idle number of days in all the other IP addresses is 0.Interim over next day, all IP address reachable state on the same day of resetting is unreachable, starts the IP address accessible detecting of new a day.
Compared with prior art, the present invention, by the permanently effective detection in IP address, records long-term obsolete IP address, thereby facilitates network manager that these idle IP addresses are discharged, redistributed, and then increases IP address resource utilance.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (18)

1. a method that detects idle IP address, is characterized in that, described method comprises:
The instruction of receiving management person's the idle IP of start detection address;
Whether the IP address accessible detecting cycle of setting according to keeper is periodically detected IP address and can reach, and if so, the IP address that can reach is recorded to IP address and can reaches in list, if not, inaccessible IP address is recorded in the unreachable list in IP address;
When the idle IP address date update cycle arrives, idle IP address database is upgraded.
2. the method for claim 1, is characterized in that, the described idle IP address date update cycle is more than or equal to the IP address accessible detecting cycle.
3. method as claimed in claim 2, is characterized in that, the described idle IP address date update cycle is the some integers portion in IP address accessible detecting cycle.
4. the method for claim 1, is characterized in that, whether when detecting for the first time IP address can reach within the idle IP address date update cycle, the state of reachability of giving tacit consent to all IP addresses of having distributed is unreachable.
5. method as claimed in claim 4, it is characterized in that, after detecting for the first time, when whether next cycle detection IP address can reach, only to detecting inaccessible IP address in the upper cycle, again detect, and the IP address that all detections in this sense cycle can be reached is recorded to and can reaches in IP address list, inaccessible IP address is recorded in unreachable IP address list.
6. the method for claim 1, is characterized in that, when the idle IP address date update cycle arrives, idle IP address database is upgraded, and is specially:
The idle IP address that can reach after testing within the idle IP address date update cycle is deleted from database;
To in database, not exist but within the idle IP address date update cycle, detect inaccessible IP address and be increased in database;
To in database, exist but within the idle IP address date update cycle, detect inaccessible IP address, according to the idle number of days of the not busy IP of new database hollow address more of idle IP address date update cycle.
7. the method as described in claim 1 or 6, is characterized in that, described method also comprises:
The query statement of the idle IP address of setting according to keeper, idle IP address in reading database, and the idle IP address that meets query contents is fed back to enquiry module.
8. method as claimed in claim 7, is characterized in that, described query statement can be inputted by hand by keeper, also can according to predetermined strategy, be arranged to automatic inquiry by keeper.
9. the method for claim 1, is characterized in that, described method also comprises:
Close the instruction that detects idle IP address, and the parameter instruction that whether retains historical record of setting according to keeper determines whether the idle IP address date recording in delete database.
10. detect a device for idle IP address, at least include configuration module, detection module and update module, it is characterized in that:
Configuration module, instruction and the realization of the idle IP of the start detection of setting for receiving management person address detect other parameter instructions of idle IP address, and it is sent to detection module, update module;
Detection module, for receiving after the instruction of the idle IP of the start detection address that configuration module sends, whether the IP address accessible detecting cycle of setting according to keeper is periodically detected IP address and can reach, if, the IP address that can reach is recorded to IP address and can reaches in list, if not, inaccessible IP address is recorded in the unreachable list in IP address;
Update module, for when the idle IP address date update cycle arrives, upgrades the idle IP address in database.
11. methods as claimed in claim 10, is characterized in that, the idle IP address date update cycle of described update module is more than or equal to the IP address accessible detecting cycle of detection module.
12. methods as claimed in claim 11, is characterized in that, the some integers portion in the IP address accessible detecting cycle that the idle IP address date update cycle of described update module is detection module.
13. methods as claimed in claim 10, is characterized in that, when whether detection module detects for the first time IP address and can reach within the idle IP address date update cycle, the state of reachability of giving tacit consent to all IP addresses of having distributed is unreachable.
14. methods as claimed in claim 13, it is characterized in that, detection module is after detecting for the first time, when detecting IP address whether can reach within the cycle subsequently, only inaccessible IP in the upper cycle was detected address again, and the IP address that all detections in this sense cycle can be reached is recorded to and can reaches in IP address list, inaccessible IP address is recorded in unreachable IP address list.
15. methods as claimed in claim 10, is characterized in that, when the idle IP address date update cycle arrives, update module is upgraded idle IP address database, is specially:
The idle IP address that can reach after testing within the idle IP address date update cycle is deleted from database;
To in database, not exist but within the idle IP address date update cycle, detect inaccessible IP address and be increased in database;
To in database, exist but within the idle IP address date update cycle, detect inaccessible IP address, according to the idle number of days of the not busy IP of new database hollow address more of idle IP address date update cycle.
16. methods as described in claim 10 or 15, is characterized in that, described device also includes enquiry module and output module, wherein:
Enquiry module, for sending to output module by the query statement of the idle IP address of keeper's setting;
Output module, receives after the query statement of enquiry module transmission, idle IP address in reading database, and the idle IP address that meets query contents is fed back to enquiry module.
17. methods as claimed in claim 16, is characterized in that, the query statement in described enquiry module can, by keeper's manual input in enquiry module, also can be arranged to automatic inquiry according to predetermined strategy by keeper in enquiry module.
18. methods as claimed in claim 10, is characterized in that, described configuration module also for:
Keeper sets and closes the instruction that detects idle IP address, and the parameter instruction that whether retains historical record of setting according to keeper determines whether the idle IP address date recording in delete database.
CN201310562248.2A 2013-11-12 2013-11-12 A kind of method and device for detecting free IP addresses Active CN103595566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310562248.2A CN103595566B (en) 2013-11-12 2013-11-12 A kind of method and device for detecting free IP addresses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310562248.2A CN103595566B (en) 2013-11-12 2013-11-12 A kind of method and device for detecting free IP addresses

Publications (2)

Publication Number Publication Date
CN103595566A true CN103595566A (en) 2014-02-19
CN103595566B CN103595566B (en) 2017-06-06

Family

ID=50085557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310562248.2A Active CN103595566B (en) 2013-11-12 2013-11-12 A kind of method and device for detecting free IP addresses

Country Status (1)

Country Link
CN (1) CN103595566B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580548A (en) * 2014-12-24 2015-04-29 北京华胜天成科技股份有限公司 IP (Internet protocol) address conflict detecting method and device
CN104579827A (en) * 2014-12-24 2015-04-29 北京华胜天成科技股份有限公司 IP (Internet protocol) address conflict detecting method and device
CN106453684A (en) * 2016-11-07 2017-02-22 迈普通信技术股份有限公司 IP address management method and IP address management device
CN107181829A (en) * 2016-03-10 2017-09-19 北京神州泰岳软件股份有限公司 A kind of method and apparatus for monitoring IP address state
CN107728773A (en) * 2017-10-17 2018-02-23 北京腾凌科技有限公司 Magnetic disc control method and device
CN108259218A (en) * 2017-10-30 2018-07-06 新华三技术有限公司 A kind of IP address distribution method and device
CN109246180A (en) * 2018-07-24 2019-01-18 孙满堂 Information query method, transfer server and computer-readable medium
CN109525683A (en) * 2018-11-14 2019-03-26 中盈优创资讯科技有限公司 The free address Tapping Potential Method and device of the address Metropolitan Area Network (MAN) IPV4

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006585A1 (en) * 2005-12-30 2009-01-01 Ling Chen Ip Address Allocation Method
CN102801825A (en) * 2012-08-29 2012-11-28 清华大学 Terminal multiple IP (Internet Protocol) address validity detection method
CN102932498A (en) * 2012-10-24 2013-02-13 广州杰赛科技股份有限公司 Virtual machine internet protocol (IP) resource management method of cloud computing platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006585A1 (en) * 2005-12-30 2009-01-01 Ling Chen Ip Address Allocation Method
CN102801825A (en) * 2012-08-29 2012-11-28 清华大学 Terminal multiple IP (Internet Protocol) address validity detection method
CN102932498A (en) * 2012-10-24 2013-02-13 广州杰赛科技股份有限公司 Virtual machine internet protocol (IP) resource management method of cloud computing platform

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580548A (en) * 2014-12-24 2015-04-29 北京华胜天成科技股份有限公司 IP (Internet protocol) address conflict detecting method and device
CN104579827A (en) * 2014-12-24 2015-04-29 北京华胜天成科技股份有限公司 IP (Internet protocol) address conflict detecting method and device
CN107181829A (en) * 2016-03-10 2017-09-19 北京神州泰岳软件股份有限公司 A kind of method and apparatus for monitoring IP address state
CN106453684A (en) * 2016-11-07 2017-02-22 迈普通信技术股份有限公司 IP address management method and IP address management device
CN107728773A (en) * 2017-10-17 2018-02-23 北京腾凌科技有限公司 Magnetic disc control method and device
CN108259218A (en) * 2017-10-30 2018-07-06 新华三技术有限公司 A kind of IP address distribution method and device
CN108259218B (en) * 2017-10-30 2021-04-27 新华三技术有限公司 IP address allocation method and device
CN109246180A (en) * 2018-07-24 2019-01-18 孙满堂 Information query method, transfer server and computer-readable medium
CN109246180B (en) * 2018-07-24 2021-05-21 深圳市魔数智擎人工智能有限公司 Information inquiry method, transfer server and computer readable medium
CN109525683A (en) * 2018-11-14 2019-03-26 中盈优创资讯科技有限公司 The free address Tapping Potential Method and device of the address Metropolitan Area Network (MAN) IPV4

Also Published As

Publication number Publication date
CN103595566B (en) 2017-06-06

Similar Documents

Publication Publication Date Title
CN103595566A (en) Method and device for detecting idle IP addresses
CN105354044A (en) Application awakening method and apparatus
WO2015131679A1 (en) Task process processing method and device
KR20170020312A (en) Constrained device and supporting operating system
CN106060909A (en) Network access method and mobile terminal
CN110768807B (en) Virtual resource method and device, virtual resource processing network element and storage medium
CN103338243A (en) Method and system for updating cache data of Web node
CN107797859B (en) Scheduling method of timing task and scheduling server
CN113037771B (en) Method and device for controlling device shadow, storage medium and electronic device
CN109788027A (en) Method of data synchronization, device, server and computer storage medium
CN105282299A (en) Application starting device and method
CN100496056C (en) Method and node equipment for updating address resolution protocol table item
CN102624762A (en) Method for improving robot software function based on cloud computing and cloud computing server
CN111953648A (en) Data processing method and device based on block chain prediction machine and electronic equipment
CN106033322A (en) Method and device for data storage
CN102207888A (en) Method and device for managing timer
Yao et al. Design and implementation of IOT gateway based on embedded μTenux operating system
US20170295452A1 (en) Method and Registration Node for Managing Application Resource in Machine to Machine (M2M)
CN103535015A (en) Management method of public network address resource, terminal control protocol server and client
CN104967632B (en) Webpage abnormal data processing method, data server and system
CN109451354B (en) Terminal and method for awakening same
WO2015154391A1 (en) Method and device for processing power consumption of radio access network
CN114168297A (en) Method, device, equipment and medium for scheduling collection tasks
CN106789616A (en) A kind of things-internet gateway equipment and Internet of Things central platform
CN104104701A (en) Online service configuration updating method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant