CN104580548A - IP (Internet protocol) address conflict detecting method and device - Google Patents

IP (Internet protocol) address conflict detecting method and device Download PDF

Info

Publication number
CN104580548A
CN104580548A CN201410817483.4A CN201410817483A CN104580548A CN 104580548 A CN104580548 A CN 104580548A CN 201410817483 A CN201410817483 A CN 201410817483A CN 104580548 A CN104580548 A CN 104580548A
Authority
CN
China
Prior art keywords
address
conflict situation
conflict
detection
taking
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
CN201410817483.4A
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.)
Beijing Teamsun Technology Co Ltd
Original Assignee
Beijing Teamsun Technology 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 Beijing Teamsun Technology Co Ltd filed Critical Beijing Teamsun Technology Co Ltd
Priority to CN201410817483.4A priority Critical patent/CN104580548A/en
Publication of CN104580548A publication Critical patent/CN104580548A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an IP (Internet protocol) address conflict detecting method and device. The method comprises steps as follows: unallocated IP addresses are acquired and identified as IP addresses in an occupation-free conflict state; the IP addresses in the occupation-free conflict state are detected, and whether the IP addresses in the occupation-free conflict state are converted into IP addresses in an occupation conflict state is judged; when the IP addresses in the occupation-free conflict state are converted into IP addresses in the occupation conflict state, the IP addresses in the occupation-free conflict state are identified as the IP addresses in the occupation conflict state; when the IP addresses in the occupation-free conflict state are still in the occupation-free conflict state, the IP addresses in the occupation-free conflict state are detected at a variable-length detecting time interval. According to the IP address conflict detecting method, IP address activity detection is performed at the variable-length detecting time interval according to the history result of activity detection of the IP addresses, the network traffic produced during activity detection is reduced, the detection time of the whole IP address range is shortened, and meanwhile, a definite prompt can be given after occupation conflict disappears.

Description

A kind of IP address conflict detection method and device
Technical field
The present invention relates to the communications field, particularly relate to a kind of IP address conflict detection method and device.
Background technology
In the data in heart IP address management work, usually available IP address space is needed the resource of management as data center, give specific equipment use by IP address assignment when needed, and the IP address of unallocated use arbitrarily can not take.Once there be equipment use not yet to distribute the IP address of use, IP address will be produced and take conflict.
At present, the method avoiding IP address duplicate allocation and detection IP address to take conflict mainly contains: 1. before certain IP address assignment uses, first by IP address activity detection means, as ICMP (Internet Control Message Protocol, ICMP) detect, address resolution protocol (AddressResolution Protocol, ARP) detection etc., determine that IP address is unoccupied, reuse to avoid IP address.2., with Fixed Time Interval, obtained the movable IP address situation in certain IP address range by IP address activity detection means, thus determine which IP address is occupied.Further, IP address activity situation and correct IP address assignment table are compared, to determine whether there is abnormal conditions.
Above-mentioned IP address conflict detecting method has the following disadvantages: scheme 1 is when the equipment shutdown using certain IP address, can judge that this IP address not yet uses, this erroneous judgement can cause this IP address to be assigned to another equipment, thus occurs that IP address uses conflict.Scheme 2 does not consider IP address result of detection in the past or using state, but carries out the detection of IP address activity with Fixed Time Interval, can increase network traffics on the one hand, can extend the detection time of whole IP address range on the other hand.
Summary of the invention
The present invention completes to solve above-mentioned deficiency of the prior art, the object of the invention is to propose a kind of IP address conflict detection method and device, to shorten the time that IP address conflict detects and the network traffics reducing detection generation.For reaching this object, the present invention by the following technical solutions:
On the one hand, the embodiment of the present invention provides a kind of IP address conflict detection method, and the method comprises:
Obtain unappropriated IP address, by described unappropriated IP address designation for nothing takies conflict situation IP address;
Take conflict situation IP address to described nothing to detect, judge that described nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
When described nothing takies conflict situation IP address transition for taking conflict situation, described nothing is taken conflict situation IP address designation for taking conflict situation IP address;
Still be in without when taking conflict situation when described nothing takies conflict situation IP address, conflict situation IP address taken to described nothing and carries out the detection of variable length detection time interval.
On the other hand, the embodiment of the present invention additionally provides a kind of IP address conflict checkout gear, and this device comprises:
Acquiring unit, for obtaining unappropriated IP address, by described IP address designation for nothing takies conflict situation IP address;
First judging unit, detects for taking conflict situation IP address to described nothing, judges that described nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
First identify unit, during for taking conflict situation IP address transition for taking conflict situation when described nothing, takies conflict situation IP address designation for taking conflict situation IP address by described nothing;
First probe unit, is still in without when taking conflict situation for taking conflict situation IP address when described nothing, takies conflict situation IP address carry out the detection of variable length detection time interval to described nothing.
IP address conflict detection method of the present invention and device, according to the historical results of IP address activity detection, use variable length detection time interval to carry out the detection of IP address activity, being be in the IP address without taking conflict situation all the time for result of detection, progressively extending the time interval of detection; It is the IP address finding to take conflict situation for result of detection, then detect with shorter basic detection time interval, decreasing the network traffics that detected event produces, shorten the detection time of whole IP address range, after can disappearing taking conflict, providing clear and definite prompting simultaneously.
Accompanying drawing explanation
In order to the technical scheme of exemplary embodiment of the present is clearly described, one is done to the accompanying drawing used required for describing in embodiment below and simply introduce.Obviously, the accompanying drawing introduced is the accompanying drawing of a part of embodiment that the present invention will describe, instead of whole accompanying drawings, for those of ordinary skill in the art, under the prerequisite not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the IP address conflict detection method that the embodiment of the present invention one provides.
Fig. 2 is the schematic flow sheet of the IP address conflict detection method that the embodiment of the present invention two provides.
Fig. 3 is the IP address state decision logic schematic flow sheet of the IP address conflict detection method that the embodiment of the present invention two provides.
Fig. 4 is the structural representation of the IP address conflict checkout gear that the embodiment of the present invention three provides.
Fig. 5 is the identification module structural representation of the IP address conflict checkout gear that the embodiment of the present invention three provides.
Fig. 6 is the detecting module structural representation of the IP address conflict checkout gear that the embodiment of the present invention three provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below with reference to the accompanying drawing in the embodiment of the present invention, by embodiment, technical scheme of the present invention is intactly described.Obviously; described embodiment is a part of embodiment of the present invention, instead of whole embodiments, based on embodiments of the invention; the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all falls within protection scope of the present invention.
Embodiment one:
Fig. 1 is the schematic flow sheet of a kind of IP address conflict detection method that the embodiment of the present invention one provides.The method can be performed by IP address conflict checkout gear, and described device is realized by software.As shown in Figure 1, the IP address conflict detection method that the present embodiment provides specifically comprises the steps:
Step S110, obtains unappropriated IP address, by unappropriated IP address designation for nothing takies conflict situation IP address;
The present embodiment obtains unappropriated IP address from data center, by unappropriated IP address designation for nothing takies conflict situation IP address.
Step S120, to detecting without taking conflict situation IP address, judges that nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
Preferably, detection mode is ICMP detection and address resolution protocol detection, what know current unallocated IP address by detection takies situation, judge to be designated and whether be not converted to take conflict situation without taking conflict situation IP address, in addition, the active situation of current unallocated IP address also can be known by obtaining address analysis protocol table from routing device.
Step S130, when nothing takies conflict situation IP address transition for taking conflict situation, will without taking conflict situation IP address designation for taking conflict situation IP address;
Nothing is being taken in the process of conflict situation IP address detection, active state is in without taking conflict situation IP address if find, then illustrating that this nothing takies the existence of conflict situation IP address and takies conflict, this nothing being taken conflict situation IP address designation for taking conflict situation IP address.
Step S140, when being still in without when taking conflict situation without taking conflict situation IP address, carries out the detection of variable length detection time interval to without taking conflict situation IP address.
To without taking in the process of conflict situation IP address detection, be in inactive state if find without taking conflict situation IP address, then illustrate that this nothing takies conflict situation IP address and do not exist and take conflict.Wherein, variable length detection time interval can increase successively for the time interval, first detect without taking conflict situation IP address with the shorter time interval, when being in without when taking conflict situation without taking conflict situation IP address duration, increase detection time interval gradually to detect, shorten the detection time of whole IP address range, reduce the network traffics that detected event produces.
The IP address detection method that the present embodiment provides, according to the historical results of IP address detected event, with variable length detection time interval, unappropriated IP address is detected, when unappropriated IP address is in without when taking conflict situation, first detect with the shorter time interval, if this unappropriated IP address duration being in without taking conflict situation, increasing detection time interval gradually and detecting, shortening the detection time of whole IP address range, reducing the network traffics that detected event produces.
Embodiment two:
Fig. 2 is the schematic flow sheet of the IP address conflict detection method that the embodiment of the present invention two provides.As shown in Figure 2, the IP address conflict detection method that the present embodiment provides specifically comprises the steps:
Step S210, obtains unappropriated IP address, by unappropriated IP address designation for nothing takies conflict situation IP address;
Step S220, to detecting without taking conflict situation IP address, judges that nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
Preferably, detection mode is ICMP detection and address resolution protocol detection, what know current unallocated IP address by detection takies situation, judge to be designated and whether be not converted to take conflict situation without taking conflict situation IP address, when nothing takies conflict situation IP address transition for taking conflict situation, performing step S230, when being still in without when taking conflict situation without taking conflict situation IP address, performing step S240.
Step S230, will without taking conflict situation IP address designation for taking conflict situation IP address;
When step S220 judges, without when taking conflict situation IP address transition for taking conflict situation, without taking conflict situation IP address designation for taking conflict situation IP address, to provide discovery and taking collision alert information.
Step S231, detects taking conflict situation IP address, judges whether take conflict situation IP address is still in and takies conflict situation;
To taking in the detection process of conflict situation IP address, take conflict situation IP address if find and be still in active state, then illustrate that this takies conflict situation IP address and still exists and take conflict, step S232 will be performed, take conflict situation IP address if find and be in inactive state, then illustrate that this takies conflict situation IP address transition and takies conflict situation IP address for nothing, will step S233 be performed.
Step S232, carrying out maximum probe time detection for several times to taking conflict situation IP address, taking conflict situation IP address designation for taking conflict persistent state IP address;
When step S231 judged result for take conflict situation IP address be still in take conflict situation time, maximum probe time detection is for several times carried out to taking conflict situation IP address, by take conflict situation IP address designation be take conflict persistent state IP address while, provide discovery take conflict continue warning information.Wherein, maximum probe number of times preset before carrying out detected event to unallocated IP address.
Step S233, carries out basic detection time interval detection at least one times to taking conflict situation IP address;
When step S231 judged result takies conflict situation for taking conflict situation IP address transition for nothing, carry out basic detection time interval detection at least one times to taking conflict situation IP address.Wherein, basic detection time interval preset before carrying out detected event to unallocated IP address, and preferably, basic detection time interval span is 1 ~ 8 hour.It should be noted that, being set as at basic detection time interval 1 ~ 8 hour as a rule can detection flow preferably in balancing network and detection order of accuarcy, those having ordinary skill in the art will appreciate that, can set basic detection time interval according to the requirement of the concrete service condition of IP address and detection flow and accuracy, it is shorter that detection time interval, basis sets, corresponding detection flow increases, and accuracy increases; What also can set is longer, and corresponding detection flow reduces, and accuracy declines.
Step S2331, judges whether the detection times to taking conflict situation IP address reaches maximum probe number of times;
Step S2332, will take conflict situation IP address designation is without taking conflict situation IP address;
When the judged result of step S2331 be the detection times taking conflict situation IP address reach maximum probe number of times time, to take conflict situation IP address designation is without taking conflict situation IP address, and provide discovery and take conflict and disappear, IP address can be reverted to without taking conflict situation warning information.If this step illustrates that take conflict situation IP address occurs inactive state in detection process, then this is taken conflict situation IP address duration and is detected, until detection times reaches maximum probe number of times, wherein, probe interval each time can based on detection time interval, if this takies conflict situation IP address and is in inactive state in lasting detection process always, then think that the conflict that takies that this takies conflict situation IP address disappears, can be designated without taking conflict situation IP address, for reallocation.
Step S2333, continuing to carry out basic detection time interval detection at least one times to taking conflict situation IP address, taking conflict situation IP address designation for taking conflict temporary extinction state I P address;
When the judged result of step S2331 be the detection times taking conflict situation IP address do not reach maximum probe number of times time, but now this takies conflict situation IP address and is in inactive state, provide discovery and take conflict temporary extinction warning information, the detection that basic detection time interval is next time carried out in conflict situation IP address is taken to this.
Step S240, carries out the detection of variable length detection time interval to without taking conflict situation IP address.
When step S220 judged result is for being still in without when taking conflict situation without taking conflict situation IP address, carry out the detection of variable length detection time interval to without taking conflict situation IP address.
Step S241, carrying out to without taking conflict situation IP address the detection that detection time interval at least one times increases successively, judging whether be still in nothing take conflict situation and whether detection time interval reaches the maximum probe time interval without taking conflict situation IP address;
Wherein, to without taking the detection carried out detection time interval at least one times and increase successively in conflict situation IP address can be, first detecting without taking conflict situation IP address with basic detection time interval, then detecting with the positive integer increased the successively times time interval at basic detection time interval.
Step S242, continues to carry out to without taking conflict situation IP address the detection that detection time interval at least one times increases successively;
When step S241 judged result for without take conflict situation IP address be still in without take conflict situation and described detection time interval do not reach the maximum probe time interval time, continue to carry out to without taking conflict situation IP address the detection that detection time interval at least one times increases successively.
Step S243, carried out continuing detection to without taking conflict situation IP address with the maximum probe time interval.
When step S241 judged result for without take conflict situation IP address be still in without take conflict situation and described detection time interval reach the maximum probe time interval time, carry out continuing detection to without taking conflict situation IP address with the maximum probe time interval.
Wherein, the maximum probe time interval can based on detection time interval positive integer doubly.
Fig. 3 is the IP address state decision logic schematic flow sheet of the IP address conflict detection method that the embodiment of the present invention two provides.
Before unallocated IP address is detected can first to the present embodiment in the parameter that relates to arrange, set the basic detection time interval C of twice detection, be preferably 1 ~ 8 hour, set the maximum time interval of twice detection and the multiple proportion Pmax at basal latency interval, namely the maximum time interval of twice detection is Pmax*C, wherein, Pmax can be positive integer.Setting finds that taking conflict situation IP address transition is the maximum probe number of times Tmax continuing detection after nothing takies conflict situation IP address, and the value of Tmax can be positive integer.Set the detecting parameter of each unallocated IP address, namely unallocated IP address table is set up, for each unallocated IP address, can initial value be set as follows: status indicator S initial value is set to 0, wherein, S is for identifying the state of unallocated IP address, and S is the 0 unallocated IP address of mark is that S is that the 1 unallocated IP address of mark is for taking conflict situation IP address without taking conflict situation IP address; Probe interval counter P initial value is set to 0, wherein, probe interval counter for arrange to unallocated IP address carry out the variable length time interval detection time detection time interval; Continuing probation counter T initial value and be set to 0, wherein, continuing probation counter for arranging detection times when carrying out the detection of continuing basis detection time interval to unallocated IP address, continuing the value of probation counter T can be 0 or positive integer; Probe mark F initial value is set to 0, and wherein, probe mark is for indicating that unallocated IP address is the need of detection, and the value of probe mark F can be 0 or positive integer, and probe mark F is that this unallocated IP address of 0 expression needs detection; Other parameter, as number of collisions counter etc.
As shown in Figure 3, unallocated IP address state decision logic flow process is specific as follows:
Detect the F mark of each unallocated IP address, if F=0, then detect with the movable IP address snoop method of routine, preferably, IP address snoop method is ICMP detection or address resolution protocol detection, to know the active situation (taking situation) of current unallocated IP address, and perform following operation:
If S=0, then perform according to the following rules:
If a. 1. detection does not find unallocated IP address activity, then P=P+1 is set, ensures that P is no more than Pmax simultaneously.And F=P is set, indicate lower P detection time cycle, this unallocated IP address is not detected.
If b. 2. detection finds unallocated IP address activity, then T=Tmax is set, S=1, P=0, F=0, mark need continue to detect Tmax cycle, collision counter can be added 1 simultaneously, by unallocated IP address designation for finding conflict situation IP address, provide and finding conflict information.
If S=1, then perform according to the following rules:
If a. 3. detection does not find unallocated IP address activity, then arranging T=T-1, if now T=0, then arrange S=0, P=0, by unallocated IP address designation for without taking conflict situation IP address, disappearing to entry/exit conflicts simultaneously, recovery can distribution state information; Otherwise keep other parameter constant, be conflict temporary extinction state I P address by unallocated IP address designation, give entry/exit conflicts temporary extinction information simultaneously.
If b. 4. detection finds unallocated IP address activity, then arrange T=Tmax, mark need continue to detect Tmax cycle, collision counter can be added 1 simultaneously, is conflict persistent state IP address, provides unallocated IP address designation and find that conflict continues information.
If F is greater than 0, then F=F-1 is set, returns after postponing basic detection time C and continue to perform the F mark detecting each unallocated IP address, and operation afterwards.
In addition, the various parameter identification sum counter numerical value that in the present embodiment, each unallocated IP address is current with this unallocated IP address are kept in data logger, can by the detection mode of the entry amendment IP address in direct amendment record table.As the detection of certain unallocated IP address mark F is revised as 0, can force to detect this IP address at next detect cycle.
The IP address conflict detection method that the present embodiment two provides, according to the detection historical results of IP address, adopts different detection rules to detect, and being be in the IP address without taking conflict situation all the time, progressively extending the time interval of detection for result of detection; It is the IP address finding to take conflict situation for result of detection, then detect with shorter basic detection time interval, shorten the time that IP address conflict detects, reduce the network traffics that IP address detected event produces, and when IP address state changes, provide corresponding warning information, the IP address after conflict is disappeared can participate in reallocation quickly and accurately, improves the utilance of IP address.
Embodiment three:
Fig. 4 is the structural representation of the IP address conflict checkout gear that the embodiment of the present invention three provides.As shown in Figure 4, the IP address conflict checkout gear that the present embodiment provides specifically comprises:
Acquisition module 410, for obtaining unappropriated IP address, by described IP address designation for nothing takies conflict situation IP address;
Judge module 420, detects for taking conflict situation IP address to described nothing, judges that described nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
Identification module 430, during for taking conflict situation IP address transition for taking conflict situation when described nothing, takies conflict situation IP address designation for taking conflict situation IP address by described nothing;
Detecting module 440, is still in without when taking conflict situation for taking conflict situation IP address when described nothing, takies conflict situation IP address carry out the detection of variable length detection time interval to described nothing.
Further, as shown in Figure 5, described identification module 430, comprises further:
Whether the first judging unit 431, for detecting the described conflict situation IP address that takies, taking conflict situation IP address and being still in and taking conflict situation described in judgement;
Identify unit 432, for when described in take conflict situation IP address be still in take conflict situation time, maximum probe time detection is for several times carried out, by the described conflict situation IP address designation that takies for taking conflict persistent state IP address to the described conflict situation IP address that takies;
Probe unit 433, for when described in take conflict situation IP address transition for during without seizure condition, the described conflict situation IP address that takies is carried out basic detection time interval at least one times and is detected.
Further, described probe unit 433, specifically comprises:
Judgment sub-unit 4331, for judging whether reach maximum probe number of times to the described detection times taking conflict situation IP address;
The described conflict situation IP address designation that takies, for when reaching maximum probe number of times to the described detection times taking conflict situation IP address, is without taking conflict situation IP address by mark subelement 4332;
Detection subelement 4333, for when not reaching maximum probe number of times to the described detection times taking conflict situation IP address, continue to carry out basic detection time interval detection at least one times to the described conflict situation IP address that takies, by the described conflict situation IP address designation that takies for taking conflict temporary extinction state I P address.
Further, as shown in Figure 6, described detecting module 440, comprises further:
Second judging unit 441, still be in without when taking conflict situation for taking conflict situation IP address when described nothing, conflict situation IP address is taken to described nothing and carries out the detection that detection time interval at least one times increases successively, judge that described nothing takies conflict situation IP address and whether is still in without taking conflict situation and whether described detection time interval reaches the maximum probe time interval;
Interval probe unit 442, for take when described nothing conflict situation IP address be still in without take conflict situation and described detection time interval do not reach the maximum probe time interval time, continue that conflict situation IP address is taken to described nothing and carry out the detection that detection time interval at least one times increases successively;
Continue probe unit 443, for take when described nothing conflict situation IP address be still in without take conflict situation and described detection time interval reach the maximum probe time interval time, with the maximum probe time interval, conflict situation IP address is taken to described nothing and carries out continuing detection.
The IP address conflict checkout gear that the present embodiment provides, according to the detection historical results of IP address, adopts different detection rules to detect, and being be in the IP address without taking conflict situation all the time, progressively extending the time interval of detection for result of detection; It is the IP address finding to take conflict situation for result of detection, then detect with shorter basic detection time interval, shorten the time that IP address conflict detects, reduce the network traffics that IP address detected event produces, and when IP address state changes, provide corresponding warning information, the IP address after conflict is disappeared can participate in reallocation quickly and accurately, improves the utilance of IP address.
The know-why that above are only preferred embodiment of the present invention and use.The invention is not restricted to specific embodiment described here, the various significant changes can carried out for a person skilled in the art, readjust and substitute all can not depart from protection scope of the present invention.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by the scope of claim.

Claims (12)

1. an IP address conflict detection method, is characterized in that, comprising:
Obtain unappropriated IP address, by described unappropriated IP address designation for nothing takies conflict situation IP address;
Take conflict situation IP address to described nothing to detect, judge that described nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
When described nothing takies conflict situation IP address transition for taking conflict situation, described nothing is taken conflict situation IP address designation for taking conflict situation IP address;
Still be in without when taking conflict situation when described nothing takies conflict situation IP address, conflict situation IP address taken to described nothing and carries out the detection of variable length detection time interval.
2. IP address conflict detection method according to claim 1, it is characterized in that, when described nothing taking conflict situation IP address transition for taking conflict situation, described nothing being taken conflict situation IP address designation for after taking conflict situation IP address, comprising further:
The described conflict situation IP address that takies is detected, takies conflict situation IP address described in judgement and whether be still in and take conflict situation;
When described take conflict situation IP address be still in take conflict situation time, maximum probe time detection is for several times carried out to the described conflict situation IP address that takies, by the described conflict situation IP address designation that takies for taking conflict persistent state IP address;
When the described conflict situation IP address transition that takies is without when taking conflict situation, basic detection time interval detection is at least one times carried out to the described conflict situation IP address that takies.
3. IP address conflict detection method according to claim 2, it is characterized in that, when the described conflict situation IP address transition that takies is for without when taking conflict situation, the described conflict situation IP address that takies is carried out basic detection time interval detection at least one times and is specially:
Judge whether maximum probe number of times is reached to the described detection times taking conflict situation IP address;
When reaching maximum probe number of times to the described detection times taking conflict situation IP address, be without taking conflict situation IP address by the described conflict situation IP address designation that takies;
When not reaching maximum probe number of times to the described detection times taking conflict situation IP address, continue to carry out basic detection time interval detection at least one times to the described conflict situation IP address that takies, by the described conflict situation IP address designation that takies for taking conflict temporary extinction state I P address.
4. IP address conflict detection method according to claim 3, it is characterized in that, when reaching maximum probe number of times to the described detection times taking conflict situation IP address, by the described conflict situation IP address designation that takies for comprising after taking conflict situation IP address:
Conflict situation IP address is taken to described nothing and carries out the detection of variable length detection time interval spans.
5. according to the arbitrary described IP address conflict detection method of claim 1-4, it is characterized in that, still be in without when taking conflict situation when described nothing takies conflict situation IP address, conflict situation IP address taken to described nothing and carries out the detection of variable length detection time interval spans, comprising:
Still be in without when taking conflict situation when described nothing takies conflict situation IP address, conflict situation IP address is taken to described nothing and carries out the detection that detection time interval at least one times increases successively, judge that described nothing takies conflict situation IP address and whether is still in without taking conflict situation and whether described detection time interval reaches the maximum probe time interval;
When described nothing take conflict situation IP address be still in without take conflict situation and described detection time interval do not reach the maximum probe time interval time, continue that conflict situation IP address is taken to described nothing and carry out the detection that detection time interval at least one times increases successively;
When described nothing take conflict situation IP address be still in without take conflict situation and described detection time interval reach the maximum probe time interval time, with the maximum probe time interval, conflict situation IP address is taken to described nothing and carries out continuing detection.
6. IP address conflict detection method according to claim 5, is characterized in that, the mode of described detection comprises ICMP detection and address resolution protocol detection.
7. the IP address conflict detection method according to Claims 2 or 3, is characterized in that, described basic detection time is spaced apart the time interval of twice pair of IP address detection, and described basic detection time is spaced apart 1 ~ 8 hour.
8. IP address conflict detection method according to claim 5, is characterized in that, based on the described maximum probe time interval, the positive integer at detection time interval doubly.
9. an IP address conflict checkout gear, is characterized in that, comprising:
Acquisition module, for obtaining unappropriated IP address, by described IP address designation for nothing takies conflict situation IP address;
Judge module, detects for taking conflict situation IP address to described nothing, judges that described nothing takies conflict situation IP address and whether is converted to and takies conflict situation;
Identification module, during for taking conflict situation IP address transition for taking conflict situation when described nothing, takies conflict situation IP address designation for taking conflict situation IP address by described nothing;
Detecting module, is still in without when taking conflict situation for taking conflict situation IP address when described nothing, takies conflict situation IP address carry out the detection of variable length detection time interval to described nothing.
10. IP address conflict checkout gear according to claim 9, is characterized in that, described identification module, comprises further:
Whether the first judging unit, for detecting the described conflict situation IP address that takies, taking conflict situation IP address and being still in and taking conflict situation described in judgement;
Identify unit, for when described in take conflict situation IP address be still in take conflict situation time, maximum probe time detection is for several times carried out to the described conflict situation IP address that takies, by the described conflict situation IP address designation that takies for taking conflict persistent state IP address;
Probe unit, for when described in take conflict situation IP address transition for during without seizure condition, the described conflict situation IP address that takies is carried out basic detection time interval at least one times and is detected.
11. IP address conflict checkout gears according to claim 10, it is characterized in that, described probe unit, specifically comprises:
Judgment sub-unit, for judging whether reach maximum probe number of times to the described detection times taking conflict situation IP address;
The described conflict situation IP address designation that takies, for when reaching maximum probe number of times to the described detection times taking conflict situation IP address, is without taking conflict situation IP address by mark subelement;
Detection subelement, for when not reaching maximum probe number of times to the described detection times taking conflict situation IP address, continue to carry out basic detection time interval detection at least one times to the described conflict situation IP address that takies, by the described conflict situation IP address designation that takies for taking conflict temporary extinction state I P address.
12. IP address conflict detection methods according to claim 9, it is characterized in that, described detecting module, comprises further:
Second judging unit, still be in without when taking conflict situation for taking conflict situation IP address when described nothing, conflict situation IP address is taken to described nothing and carries out the detection that detection time interval at least one times increases successively, judge that described nothing takies conflict situation IP address and whether is still in without taking conflict situation and whether described detection time interval reaches the maximum probe time interval;
Interval probe unit, for take when described nothing conflict situation IP address be still in without take conflict situation and described detection time interval do not reach the maximum probe time interval time, continue that conflict situation IP address is taken to described nothing and carry out the detection that detection time interval at least one times increases successively;
Continue probe unit, for take when described nothing conflict situation IP address be still in without take conflict situation and described detection time interval reach the maximum probe time interval time, with the maximum probe time interval, conflict situation IP address is taken to described nothing and carries out continuing detection.
CN201410817483.4A 2014-12-24 2014-12-24 IP (Internet protocol) address conflict detecting method and device Pending CN104580548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410817483.4A CN104580548A (en) 2014-12-24 2014-12-24 IP (Internet protocol) address conflict detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410817483.4A CN104580548A (en) 2014-12-24 2014-12-24 IP (Internet protocol) address conflict detecting method and device

Publications (1)

Publication Number Publication Date
CN104580548A true CN104580548A (en) 2015-04-29

Family

ID=53095703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410817483.4A Pending CN104580548A (en) 2014-12-24 2014-12-24 IP (Internet protocol) address conflict detecting method and device

Country Status (1)

Country Link
CN (1) CN104580548A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899456A (en) * 2017-03-14 2017-06-27 深圳市友华通信技术有限公司 A kind of link detecting and the implementation method repaired
CN113347285A (en) * 2021-06-10 2021-09-03 新华三大数据技术有限公司 Automatic allocation method, device and equipment for managing IP address
CN114726828A (en) * 2022-05-10 2022-07-08 普联技术有限公司 IP address allocation method, device, equipment and storage medium
CN115314468A (en) * 2022-08-05 2022-11-08 成都道客数字科技有限公司 IP address allocation method and system for container cloud platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656763A (en) * 2009-09-11 2010-02-24 华为技术有限公司 IP address automatic distribution method, client and server
CN101686081A (en) * 2008-09-24 2010-03-31 ***通信集团公司 Method for reestablishing synchronous connection, device and system thereof
CN101945145A (en) * 2010-09-10 2011-01-12 北京星网锐捷网络技术有限公司 Address state processing method and system as well as network node
CN102546849A (en) * 2010-12-30 2012-07-04 华为技术有限公司 Detection method for IP (Internet Protocol) address conflict and network equipment
US20120179826A1 (en) * 2009-09-23 2012-07-12 Zte Corporation Address Distribution Method, Device and System Thereof
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
CN103595566A (en) * 2013-11-12 2014-02-19 杭州华三通信技术有限公司 Method and device for detecting idle IP addresses

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686081A (en) * 2008-09-24 2010-03-31 ***通信集团公司 Method for reestablishing synchronous connection, device and system thereof
CN101656763A (en) * 2009-09-11 2010-02-24 华为技术有限公司 IP address automatic distribution method, client and server
US20120179826A1 (en) * 2009-09-23 2012-07-12 Zte Corporation Address Distribution Method, Device and System Thereof
CN101945145A (en) * 2010-09-10 2011-01-12 北京星网锐捷网络技术有限公司 Address state processing method and system as well as network node
CN102546849A (en) * 2010-12-30 2012-07-04 华为技术有限公司 Detection method for IP (Internet Protocol) address conflict and network equipment
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
CN103595566A (en) * 2013-11-12 2014-02-19 杭州华三通信技术有限公司 Method and device for detecting idle IP addresses

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899456A (en) * 2017-03-14 2017-06-27 深圳市友华通信技术有限公司 A kind of link detecting and the implementation method repaired
CN113347285A (en) * 2021-06-10 2021-09-03 新华三大数据技术有限公司 Automatic allocation method, device and equipment for managing IP address
CN113347285B (en) * 2021-06-10 2022-05-31 新华三大数据技术有限公司 Automatic allocation method, device and equipment for managing IP address
CN114726828A (en) * 2022-05-10 2022-07-08 普联技术有限公司 IP address allocation method, device, equipment and storage medium
CN114726828B (en) * 2022-05-10 2023-08-08 普联技术有限公司 IP address allocation method, device, equipment and storage medium
CN115314468A (en) * 2022-08-05 2022-11-08 成都道客数字科技有限公司 IP address allocation method and system for container cloud platform
CN115314468B (en) * 2022-08-05 2023-03-10 成都道客数字科技有限公司 IP address allocation method and system for container cloud platform

Similar Documents

Publication Publication Date Title
JP6852132B2 (en) Fraud detection method, fraud detection electronic control unit and fraud detection system
CN104580548A (en) IP (Internet protocol) address conflict detecting method and device
CN108810100A (en) A kind of electoral machinery of host node, device and equipment
UA100277C2 (en) Access terminal assisted node identifier confusion resolution using time gap
JP2009017562A (en) Method and device for early alarm for networking equipment
KR20200026996A (en) How sensor devices work in the DS-based protocol
CN106789498B (en) Network address allocation method of Modbus communication network, slave node equipment and communication system
RU2010105235A (en) METHODS AND DEVICE FOR SOLVING CONFLICTS OF PILOT PAN-RANDOM INTERFERENCE IN THE COMMUNICATION SYSTEM
JP2014226946A (en) Abnormality response system and abnormality response method for vehicular communication device
CN106656636A (en) Cloud platform fault detection method and device
CN107465621B (en) Router discovery method, SDN controller, router and network system
CN110461006B (en) Method and device for reducing WLAN interference and terminal equipment
CN106789435B (en) State monitoring method and device, data center and multi-activity data center
EP3125393B1 (en) A method for automatically associating a module to a corresponding inverter, and related module and power generation system
CN108614734A (en) Security Parameter Index management method and device
CN105430052B (en) A kind of referee method and device for group system
CN111106989A (en) Vehicle CAN bus protocol determining method and device
CN101170470B (en) Method for operation of bus system
CN104579827A (en) IP (Internet protocol) address conflict detecting method and device
CN104519145A (en) An address resource managing method, system and DHCP server
CN115470165A (en) Address allocation method, battery management system and electronic equipment
JP2014183495A (en) Transmission device, control card, transmission method, and transmission program
CN112883106A (en) Method, device, equipment and medium for determining out-of-block node of block chain
CN108616423B (en) Offline device monitoring method and device
CN102546652B (en) System and method for server load balancing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429