CN106789288A - It is the method for static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN - Google Patents

It is the method for static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN Download PDF

Info

Publication number
CN106789288A
CN106789288A CN201611242653.6A CN201611242653A CN106789288A CN 106789288 A CN106789288 A CN 106789288A CN 201611242653 A CN201611242653 A CN 201611242653A CN 106789288 A CN106789288 A CN 106789288A
Authority
CN
China
Prior art keywords
interchanger
network address
switch
list
network
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
CN201611242653.6A
Other languages
Chinese (zh)
Other versions
CN106789288B (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.)
Hunan Kuke Track Equipment Co ltd
Original Assignee
Shanghai Easy Access Intelligent 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 Shanghai Easy Access Intelligent Technology Co Ltd filed Critical Shanghai Easy Access Intelligent Technology Co Ltd
Priority to CN201611242653.6A priority Critical patent/CN106789288B/en
Publication of CN106789288A publication Critical patent/CN106789288A/en
Application granted granted Critical
Publication of CN106789288B publication Critical patent/CN106789288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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
    • 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

Be the method for static network management address of not conflicting this invention describes interchanger is intelligently configured in a kind of LAN, including initialization basic data, obtain interchanger real data, the long-range real data for obtaining current SWITCH, update actual switch table data, update actual switch table data and switch neighbor relation list, eliminate recurrent network address, the association attributes by technological adjustment master control main frame or associated switch, all interchangers actual network address be that the whole network is unique and the network address that does not conflict etc. step.The static management network address that i.e. present invention passes through all of webmaster type interchanger in intelligent allocation LAN is the static management network address not conflicted, so as to greatly improve the efficiency of network design maintenance, the cost that network design is safeguarded is reduced, finally possessed cost that intelligence degree is high, reduce network design safeguards, improved efficiency that network design safeguards, applied widely and implement the beneficial effects such as cost is small.

Description

It is the static network management address that do not conflict that interchanger is intelligently configured in a kind of LAN Method
Technical field
The present invention relates to intelligently configure interchanger in ethernet technology field, more particularly to a kind of LAN not conflict quiet The method of state network management address.
Background technology
With the development of network technology, all conglomeraties by the transformation and application upgrade of technology, are realized in various degree Networking, but in network design and maintenance process, substantially using in manual type record or direct Configuration network The switch management network address, mainly including following two modes:
The representative technology of the technology of the existing dynamically distributes network address is the mode of the dynamic access network address, i.e. DHCP side Formula is that, by terminal request, dhcp server response distributes dynamic network address to respective switch.But, this mode is distributed Be the network address for being likely to occur conflict in static network address, and LAN;Once Dynamic Host Configuration Protocol server disconnects Or there are abnormal conditions, then the network management address of the interchanger in LAN will lose and cause without management network ground Location can use.
Another technology is configured one by one by manual type, and human configuration mode has various, and major part is used The web interface that interchanger is provided in itself carries out network address configuration, and this kind of mode is less efficient, relatively costly, it is necessary to have The necessarily professional and technical personnel of technical knowledge of networks level, and human configuration mode once makes a fault, and may result in and is more difficult to Configuration and management, and it is possible to have the static network address of conflict;What is more, is occurring due to exchange interface category Property it is inconsistent in the case of, configure increasingly difficult time-consuming.And LAN is bigger, cost is higher, and configuration difficulty is higher.
The content of the invention
Each webmaster type interchanger is intelligently configured to the static network that does not conflict in LAN in order to solve how to realize The technical problem of management address, it is the static network management ground that do not conflict that the present invention provides and interchanger is intelligently configured in a kind of LAN The method of location, by switch-access control technology, obtains switch neighbor technology, leads to not access target interchanger phenomenon Intelligent technology for eliminating, once finding there is the network address of conflict, it is set to the network address that does not conflict immediately;So that can To effectively improve intelligent network degree, the cost of network design maintenance is substantially reduced, improve the efficiency that network design is safeguarded, be The basic technology solution of further development and the realization of intelligent network.
It is the method for static network management address of not conflicting that interchanger is intelligently configured in a kind of above-mentioned LAN, including with Lower step:
S1, initialization basic data:
Importing does not conflict temporary network address in the temporary network address list that do not conflict, and sets the casual network that do not conflict All temporary network address that do not conflict in address list are for unoccupied state;
All interchangers are not detected in setting actual switch list;
The actual network address for setting all interchangers in actual switch list is sky, in setting actual switch list All interchangers are the uniqueness detection state for not being fully completed all neighbor switch;
Without neighborhood data in setting switch neighbor relation list;
S2, one real data of interchanger of acquisition, and be added in actual switch list, concurrently set the interchanger The network address be with unique trait in the current all interchangers for having found;
S3, the friendship that its neighbor switch is not yet fully completed currently the only Characteristics Detection is obtained from actual switch list Change planes:
If the currently the only proterties state of all interchangers is not exclusive in actual switch list, any one is chosen Interchanger;Otherwise, it is currently the only that currently the only proterties state is obtained from actual switch list, and its neighbor switch is not yet It is fully completed the interchanger of uniqueness state-detection;
S4, judge whether find satisfactory interchanger in step S3:
If it is found, then entering step S5;Otherwise illustrate that all of network address is already set as the net not conflicted Network address, jumps to step S17;
S5, the long-range real data for obtaining current SWITCH;
Whether S6, the long-range acquisition of judgement succeed:
Enter step S7 if success;Otherwise jump to step S14;
S7, renewal actual switch table data:If switch management mac addresses are not deposited in actual switch list The exchange data is then being added in actual switch list;
S8, judge whether the network address repeats:If the network address for repeating, step S12 is jumped to;Otherwise enter step Rapid S9;
S9, the long-range actual neighbors interchanger list for obtaining current SWITCH:To be repeated if be there occurs in epicycle detection The network address be set to not conflict temporary network address phenomenon when, then need wait more than or equal to LLDP existence time, with There is false neighbor information phenomenon when avoiding remotely obtaining the neighbor list information of interchanger to occur;
S10, renewal actual switch table data, and update switch neighbor relation list;
S11, the network address for determining whether repetition:If the network address not repeated, jumps to step S13; Otherwise enter step S12;
S12, elimination recurrent network address:Multiple or all of recurrent network address is eliminated if desired, then needed Blotter is multiple or all recurrent network addresses, then eliminates recurrent network address according to this step one by one;And eliminate weight During the multiple network address, it is the interim net that do not conflict that can process any one or multiple interchangers with the recurrent network address Network address;Every time, it is necessary to wait the regular hour, its effect is to ensure that friendship after one recurrent network address of interchanger of elimination The setting changed planes truly comes into force, it is ensured that the interchanger real data that the later stage obtains is real;
If recurrent network address is temporary network address, all eliminate after the recurrent network address, this should not be rushed Prominent temporary network address withdraws in time, that is, set the temporary network address as unoccupied state;Its effect is to avoid not conflicting The not enough phenomenon of temporary network address and cause the whole network to be set to the network address that does not conflict and fail;
S13, current SWITCH is set to be fully completed the currently the only proterties in the network address of all neighbor switch State is detected;
S14, judge current SWITCH whether necessary being, the 15th step is jumped to if necessary being;Otherwise jump to 16 steps;Determination methods include:
By switch neighbor relation list, the neighbor switch of the interchanger is searched;Then by neighbor switch The network address, its actual neighbor list is obtained using remote access technology, if the mac addresses of current SWITCH are actual adjacent at this In occupying list, then its still necessary being;
If current SWITCH has multiple neighbours in switch neighbor relation list, only when its all neighbor switch Neighbor list information in not including current SWITCH mac information when, just can determine that the untrue presence of current SWITCH;
S15, the association attributes by technological adjustment master control main frame or associated switch so that master control main frame can be long-range Access current SWITCH:If needing the attribute of the interchanger of adjustment related to looped network feature, it is necessary to according to looped network in LAN Feature carries out the setting of correlation, leads to not remote access and exchanges to avoid related personalization looped network agreement from causing network storm Machine phenomenon;
S16, the exchange data is deleted from actual switch list;
S17, the actual network address of all interchangers are the network address that the whole network is unique and does not conflict, and method terminates.
In the above method, the real data of interchanger includes switch management mac addresses and interchanger in the step S2 The management network address;And the real data method of one interchanger of acquisition is comprised the following steps:
By the real data for capturing connected link layer data LLDP Receive message interchangers;
By modes such as file input, network inputs, for method provides a real data for interchanger.
In the above method, the real data of current SWITCH includes switch management mac addresses and friendship in the step S5 Change planes and manage the network address.
In the above method, the determination methods in the step S8 are:
Check actual switch list in all exchange datas, if the same network address corresponded to two or More than two effective interchanger mac addresses, then set the network address to repeat the network address, judge that there is recurrent network Address;
In actual switch list, if interchanger does not have recurrent network address, the current of the interchanger is set Uniqueness state is currently the only;If interchanger has recurrent network address, the currently the only proterties of the interchanger is set State is not exclusive;
Whether the neighbor switch of the interchanger that inspection possesses recurrent network address has been fully completed its all neighbour is handed over The currently the only property detection work in the network address changed planes, if it is, setting the neighbor switch not to be fully completed all neighbours Occupy the currently the only property detection state in the network address of interchanger.
In the above method, the renewal actual switch table data in the step S10 includes what is compared by mac addresses Method, if not comprising the mac addresses of certain interchanger in actual neighbors interchanger list in actual switch list, will The exchange data is added in actual switch list.
Updating switch neighbor relation list in the above method, in the step S10 includes:
According to actual neighbors interchanger list update switch neighbor relation list so that in switch neighbor relation list Switch neighbor relation truly can completely reflect the neighborhood of interchanger;
If this exchanged in the absence of the interchanger in actual switch neighbor list in switch neighbor relation list The neighborhood of machine is added in switch neighbor relation list;
If in the absence of certain interchanger in switch neighbor relation list in actual switch neighbor list, exchanged The exchange data is deleted in machine neighborhood list.
In the above method, determination methods include in the step S11:
Exchange data in neighbor switch list is compared with the exchange data in actual switch list, If switch management mac addresses are different and with the identical network address, the network address is assert to repeat the network address; Its effect is to judge whether different interchanger entities have the identical network address;
In actual switch list, if interchanger does not have recurrent network address, the current of the interchanger is set Uniqueness state is currently the only;If interchanger has recurrent network address, the currently the only proterties of the interchanger is set State is not exclusive;
Whether the neighbor switch of the interchanger that inspection possesses recurrent network address has been fully completed its all neighbour is handed over The currently the only property detection work in the network address changed planes, if it is, setting the neighbor switch not to be fully completed all neighbours Occupy the currently the only property detection state in the network address of interchanger;
If not having data in actual switch list, i.e., the interchanger does not have neighbor switch, then directly set it and do not have There is recurrent network address, and jump to step S13.
In the above method, the step S12 is comprised the following steps:
The unappropriated temporary network address that do not conflict of selection:Selection marker is in the temporary network address list that do not conflict The temporary network address of unoccupied state, then detects whether the address is occupied using the occupied detection technique in the network address With if occupied, it is occupied to set the temporary network address that do not conflict, if unoccupied, selects this not Conflict temporary network address;
It is the temporary network address that do not conflict using the remotely located interchanger in the network address for repeating;
The real data of interchanger is remotely obtained using the temporary network address that do not conflict;Its effect knows that this is set Objectives interchanger, so as to provide real data to update actual switch list;
Update actual switch table data and switch neighbor relation list data;The current casual network that do not conflict is set The seizure condition of address is occupied.
In the above method, the method for updating actual switch table data is comprised the following steps:
According to the interchanger real data that step S10 is obtained, judge that interchanger mac addresses are in actual switch list No presence, if it does not exist, then adding the exchange data in actual switch list;If it is present modification has being somebody's turn to do The network address of the interchanger of mac addresses is the temporary network address that this does not conflict;
The network address of the interchanger is set in actual switch list to possess currently the only characteristic;
The seizure condition for setting the current temporary network address that do not conflict is occupied.
In the above method, in the step S15, when each interchanger manufacturer, privately owned looped network protocol requirement has looped network soft kill point When, then need to ensure that at least one looped network soft kill point will not just cause network storm in looped network each node switch.
The advantages of the present invention are:The present invention is handed over by all of webmaster type in intelligent allocation LAN The static management network address changed planes is the static management network address not conflicted such that it is able to greatly improve network design maintenance Efficiency, reduce network design safeguard cost, be intelligent network further development with realize establish solid technology base Plinth, and possess advantages below:
1st, intelligence degree is high:
Method by being referred to using the present invention, can effectively improve intelligent network degree;The method that the present invention is referred to In, as long as obtaining any one real data of interchanger, you can be rapidly completed all interchangers in whole LAN comprehensively The configuration of the static management network address, and be not in the network address of any repetition, will not cause to be exchanged in maintenance management Occurs network address collision problem during machine;And due to can intelligently eliminate it is various because configure difference lead to not access target The phenomenon of interchanger.For the further development of intelligent network science and technology establishes solid reliable technical foundation with realization.
2nd, the cost that network design is safeguarded is reduced:
For only needing to occur without in a local network the application of conflict static network address, carried by using the present invention And method, the cost of network configuration maintenance can be effectively reduced, in configuration or when safeguarding, it is only necessary to by interchanger according to setting Meter connects electricity, and without carrying out manual configuration by technologies such as so-called web interfaces, and exchanged with maintenance in configuration , it is necessary to technological know-how horizontal capability network specialty technical staff higher during machine, it is evident that by using mentioned by the present invention Method can substantially reduce network design maintenance cost;
3rd, the efficiency that network design is safeguarded is improved
When network configuration is carried out in prior art basis, being safeguarded, if necessary to for all of network ground in LAN Location is configured to the static network address not conflicted, it is necessary to by the way that manually the network address is modified one by one, and at this During it is also possible to there is artificial error accidentally and causing configuration failure;The especially maintenance in later stage, if gone out The recurrent network address of static state is showed, arrangement abnormalities can be caused difficult, What is more, cannot be accessed if there is target switch In the case of, manual type is very difficult to find and corrects, and causes the inefficiency of network design and maintenance;
4th, it is applied widely
Method mentioned by the present invention is applied widely, can be applied to the LAN of heterogeneous networks structure, for example:Bus Type network structure, ring network structure, Star Network structure, heterogeneous network structure;Various two layers of webmaster types can be applied to LAN constructed by interchanger, three-tier switch;Under various network topology structures, the method mentioned by the present invention can It is applicable.
5th, cost is implemented small
The method referred to using the present invention, various webmaster type interchanger prior arts disclosure satisfy that requirement, i.e. the present invention On the basis of mentioned method is based on existing network industry technology, and makes too many variation without interchanger manufacturer and change, Without doing some configuration works for interchanger in advance, it is only necessary to which appear on the scene configuration.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method that interchanger is intelligently configured in the present invention;
Fig. 2 is the schematic flow sheet of the first embodiment that interchanger is intelligently configured in the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiment of the invention is further described.Following examples are only For clearly illustrating technical scheme, and can not be limited the scope of the invention with this.
First, on method and embodiments thereof involved in the present invention:
As shown in figure 1, being the static network pipe that do not conflict this invention describes interchanger is intelligently configured in a kind of 1, LAN The method for managing address, it is characterised in that comprise the following steps:
S1, initialization basic data:
Importing does not conflict temporary network address in the temporary network address list that do not conflict, and sets the casual network that do not conflict All temporary network address that do not conflict in address list are for unoccupied state;
All interchangers are not detected in setting actual switch list;
The actual network address for setting all interchangers in actual switch list is sky, in setting actual switch list All interchangers are the uniqueness detection state for not being fully completed all neighbor switch;
Without neighborhood data in setting switch neighbor relation list.
S2, one real data of interchanger of acquisition, and be added in actual switch list, concurrently set the interchanger The network address be with unique trait in the current all interchangers for having found;Its effect is that this method at least needs one The real data of platform interchanger.
Wherein, the real data of interchanger includes switch management mac addresses and the switch management network address;And obtain The real data method of one interchanger is comprised the following steps:
(1) by capturing the real data of connected link layer data LLDP Receive message interchangers;
(2) by modes such as file input, network inputs, for method provides a real data for interchanger.
S3, the friendship that its neighbor switch is not yet fully completed currently the only Characteristics Detection is obtained from actual switch list Change planes:
If the currently the only proterties state of all interchangers is not exclusive in actual switch list, any one is chosen Interchanger;Otherwise, it is currently the only that currently the only proterties state is obtained from actual switch list, and its neighbor switch is not yet It is fully completed the interchanger of uniqueness state-detection;
S4, judge whether find satisfactory interchanger in step S3:Its effect is to determine whether all of actual friendship Change planes and be each configured to the network address that do not conflict;If it is found, then entering step S5;Otherwise illustrate all of network address It is arranged to the network address not conflicted, jumps to step S17;
S5, the long-range real data for obtaining current SWITCH;And the real data of current SWITCH includes switch management Mac addresses and the switch management network address.
Whether S6, the long-range acquisition of judgement succeed:Enter step S7 if success;Otherwise jump to step S14;Its effect It is to judge whether master control main frame can remotely access the interchanger and obtain data by the network address;If can not remotely obtain Take, then need to judge the interchanger for possessing the network address whether necessary being;
S7, renewal actual switch table data:If switch management mac addresses are not deposited in actual switch list , then the exchange data is added in actual switch list, its effect is to ensure that the data energy in actual switch list The real data of enough actual reflection interchangers;
S8, judge whether the network address repeats;Whether its effect is to judge there is repetition in currently practical interchanger list The network address;If the network address for repeating, step S12 is jumped to;Otherwise enter step S9;
Wherein, the method for judgement is comprised the following steps:
(1) all exchange datas in actual switch list are checked, if the same network address has corresponded to two Or more than two effective interchanger mac addresses, then the network address is set to repeat the network address, judges that there is repetition The network address;
(2) in actual switch list, if interchanger does not have recurrent network address, working as the interchanger is set Preceding uniqueness state is currently the only;If interchanger has recurrent network address, the currently the only property of the interchanger is set State is not exclusive;
(3) check whether the neighbor switch of the interchanger for possessing recurrent network address has been fully completed its all neighbour The currently the only property detection work in the network address of interchanger, if it is, it is all not to be fully completed to set the neighbor switch The currently the only property detection state in the network address of neighbor switch.
S9, the long-range actual neighbors interchanger list for obtaining current SWITCH:If epicycle detection (epicycle detection refer to from This step to next time through almanac step process) in there occurs and show the recurrent network address temporary network address that is set to not conflict As when, then need wait more than or equal to LLDP existence time, to avoid remotely obtaining during the neighbor list information of interchanger Occur in the presence of false neighbor information phenomenon;Its effect is all neighbor switch information for obtaining current SWITCH;
S10, renewal actual switch table data, and update switch neighbor relation list;Update actual switch row The effect of table data is the real data of the current acquired interchanger of true reflection;And update switch neighbor relation list data Effect be the current acquired interchanger of true complete reflection actual neighbors relation.
Wherein, updating actual switch table data includes:The method compared by mac addresses, if actual switch Then the exchange data is not added to comprising the mac addresses of certain interchanger in actual neighbors interchanger list in list In actual switch list.
Meanwhile, updating switch neighbor relation list includes:
According to actual neighbors interchanger list update switch neighbor relation list so that in switch neighbor relation list Switch neighbor relation truly can completely reflect the neighborhood of interchanger;
If this exchanged in the absence of the interchanger in actual switch neighbor list in switch neighbor relation list The neighborhood of machine is added in switch neighbor relation list;
If in the absence of certain interchanger in switch neighbor relation list in actual switch neighbor list, exchanged The exchange data is deleted in machine neighborhood list.
S11, the network address for determining whether repetition;If the network address not repeated, jumps to step S13; Otherwise enter step S12;
Wherein, determination methods include:
Exchange data in neighbor switch list is compared with the exchange data in actual switch list, If switch management mac addresses are different and with the identical network address, the network address is assert to repeat the network address; Its effect is to judge whether different interchanger entities have the identical network address.
In actual switch list, if interchanger does not have recurrent network address, the current of the interchanger is set Uniqueness state is currently the only;If interchanger has recurrent network address, the currently the only proterties of the interchanger is set State is not exclusive;
Whether the neighbor switch of the interchanger that inspection possesses recurrent network address has been fully completed its all neighbour is handed over The currently the only property detection work in the network address changed planes, if it is, setting the neighbor switch not to be fully completed all neighbours Occupy the currently the only property detection state in the network address of interchanger;
If not having data in actual switch list, i.e., the interchanger does not have neighbor switch, then directly set it and do not have There is recurrent network address, jump to the 13rd step.
S12, elimination recurrent network address:Multiple or all of recurrent network address is eliminated if desired, then needed Blotter is multiple or all recurrent network addresses, then eliminates recurrent network address according to this step one by one;And eliminate weight During the multiple network address, it is the interim net that do not conflict that can process any one or multiple interchangers with the recurrent network address Network address;Every time, it is necessary to wait the regular hour, its effect is to ensure that friendship after one recurrent network address of interchanger of elimination The setting changed planes truly comes into force, it is ensured that the interchanger real data that the later stage obtains is real;The specific time root for needing to wait Depending on specific interchanger characteristic in itself
If recurrent network address is temporary network address, all eliminate after the recurrent network address, this should not be rushed Prominent temporary network address withdraws in time, that is, set the temporary network address as unoccupied state;Its effect is to avoid not conflicting The not enough phenomenon of temporary network address and cause the whole network to be set to the network address that does not conflict and fail;
Meanwhile, multiple recurrent network addresses have currently been may be found that, any one or multiple can be processed in this step Recurrent network address.
The step specifically includes following steps:
The unappropriated temporary network address that do not conflict of selection:Selection marker is in the temporary network address list that do not conflict The temporary network address of unoccupied state, then detects whether the address is occupied using the occupied detection technique in the network address With if occupied, it is occupied to set the temporary network address that do not conflict, if unoccupied, selects this not Conflict temporary network address.When its effect is to ensure that the network address for setting interchanger, other set in the network address and network The standby network address does not conflict.
The occupied detection technique in the network address is included but is not limited to:Ping technologies, remote access technology etc..
It is the temporary network address that do not conflict using the remotely located interchanger in the network address for repeating;Its effect is to eliminate to exchange The repeat property of the machine network address;
The real data of interchanger is remotely obtained using the temporary network address that do not conflict;Its effect knows that this is set Objectives interchanger, so as to provide real data to update actual switch list.
The real data of interchanger includes but is not limited to:Interchanger mac addresses, network address etc.;
Update actual switch table data and switch neighbor relation list data;The current casual network that do not conflict is set The seizure condition of address is occupied;The method of the renewal actual switch table data is comprised the following steps:
(1) the interchanger real data obtained according to step S10, judges interchanger mac addresses in actual switch list In whether there is, if it does not exist, then add the exchange data (including but not limited to interchanger mac addresses, this does not conflict and faces When the network address) in actual switch list;If it is present the network address of interchanger of the modification with the mac addresses For the temporary network address that this does not conflict;
(2) network address of the interchanger is set in actual switch list to possess currently the only characteristic;Its effect It is that the network address for truly reflecting the interchanger has the characteristic of uniqueness in the interchanger for currently being found;
(3) it is occupied to set the seizure condition of the current temporary network address that do not conflict, and its effect is subsequently to exist Selection is available do not conflict temporary network address when improve recall precision, improve and selecting the available temporary network address that do not conflict When operation efficiency.
S13, current SWITCH is set to be fully completed the currently the only proterties in the network address of all neighbor switch State is detected;Its effect is to avoid the duplicate detection from causing method mentioned by the present invention to enter useless endless loop.
S14, judge current SWITCH whether necessary being, the 15th step is jumped to if necessary being;Otherwise jump to 16 steps;Specifically include:
By switch neighbor relation list, the neighbor switch of the interchanger is searched;Then by neighbor switch The network address, its actual neighbor list is obtained using remote access technology, if the mac addresses of current SWITCH are actual adjacent at this In occupying list, then its still necessary being;
If current SWITCH has multiple neighbours in switch neighbor relation list, only when its all neighbor switch Neighbor list information in not including current SWITCH mac information when, just can determine that the untrue presence of current SWITCH.
S15, the association attributes by technological adjustment master control main frame or associated switch so that master control main frame can be long-range Access current SWITCH:If needing the attribute of the interchanger of adjustment related to looped network feature, it is necessary to according to looped network in LAN Feature carries out the setting of correlation, leads to not remote access and exchanges to avoid related personalization looped network agreement from causing network storm Machine phenomenon;Its effect is in the interface attributes or inconsistent network address attribute of interchanger, it may appear that the neighbour of necessary being Occupy interchanger and the interchanger cannot be remotely accessed, what is eliminated interchanger necessary being by technological means but cannot access shows As.
Preferably, when the privately owned looped network protocol requirement of each interchanger manufacturer has looped network soft kill point, then need to ensure in ring At least one looped network soft kill point will not just cause network storm in netting each node switch.
S16, the exchange data is deleted from actual switch list;Its effect is to avoid invalid computing, to ensure Method mentioned by the present invention will not enter useless endless loop and cause the method mentioned by the present invention to be unable to reach target;
S17, the actual network address of all interchangers are the network address that the whole network is unique and does not conflict, and method terminates.
As shown in Fig. 2 the first embodiment that interchanger is intelligently configured in the present invention is comprised the following steps:
S1, initialization basic data;It is specifically including but not limited to:
Obtain unduplicated temporary network address list;TempNetAddressList is assumed to be, the list is characterized in In all of network address do not repeat, and its quantity should be more than LAN in need configure interchanger quantity;Its Effect is when the actual network address of interchanger in finding LAN is repeated, it is necessary to obtain unduplicated interim from the list The network address;
All of temporary network address in TempNetAddressList is set to unoccupied, it is assumed that indicated IsUsedFlag is set to false;
Assuming that actual switch list is FactEACNList, it is sky, i.e., the reality of all interchangers to initialize the list Data are sky;
The currently the only proterties state of all interchangers is not exclusive in setting FactEACNList, it is assumed that set its mark IsSuccessChecked is false, and its neighbor list is not detected, it is assumed that set its mark IsSuccessAllneighborChecked is false;Assuming that its actual switch network address is FactNetAddress, It is initialized as sky;Assuming that its actual management mac addresses are MacAddress, sky is initialized as;
Assuming that switch neighbor relation list is EACNNeighborList, it is sky, i.e., all exchanges to initialize the list Machine does not have neighbor switch.
Assuming that recurrent network address list is RepeatNetAddressList, sky is initialized as, i.e., no recurrent network Address;
S2, by capturing LLDP Receive message main frame neighboring switch relevant informations;Exchange data is added to In FactEACNList;The mark isSuccessChecked for setting the interchanger is true;
S3, obtain current its neighbor switch from FactEACNList and not yet complete detection and the interchanger for setting, its Specific method is:
It is true and mark that any one station symbol will isSuccessChecked is selected from FactEACNList IsSuccessAllneighborChecked is the interchanger of false.
S4, whether findIf finding currently the only and not being fully completed what its all neighbor switch uniqueness confirmed Interchanger, it is assumed that the interchanger is EACN_Current, it is assumed that its network address is LocalNetAddress, then jump to step Rapid S5;If do not found, step S27 is jumped to;
S5, interchanger real data is remotely obtained by LocalNetAddress;
S6, remotely obtain successfullyIf remotely obtained successfully, it is assumed that its mac address is CurrentMac, then jump to step Rapid S7, otherwise jumps to step S24;
S7, the network address repeatBy by CurrentMac and LocalNetAddress and actual switch list MacAddress and FactNetAddress compare, if there is MacAddress be not equal to TargetMac and LocalNetAddress is equal to FactNetAddress, judges there is recurrent network address, then jump to step S22;Otherwise jump Go to step S8;
S8, the long-range actual neighbors list for obtaining interchanger;Assuming that actual switch list is FactNeighborList;
S9, renewal FactEACNList and EACNNeighborList data;Specific method is:
(1) if the interchanger in FactNeighborList does not exist in FactEACNList, these are exchanged Machine is added in FactEACNList;
(2) will reflect in the neighborhood of EACN_Current in EACNNeighborList and FactNeighborList Neighborhood correspond.
S10, there is recurrent network addressIf there is then jumping to step S11;Otherwise jump to step S23;
Specific method is:
(1) whether corresponded to an effective FactNetAddress in EACNNeighborList multiple effective The situation of MacAddress, if being then determined that recurrent network address;Otherwise it is judged in the absence of recurrent network address.
(2) in FactEACNList, if interchanger does not have recurrent network address, the mark of the interchanger is set IsSuccessChecked is true;If interchanger has recurrent network address, the mark of the interchanger is set IsSuccessChecked is false;
(3) mark of the neighbor switch of the interchanger for possessing recurrent network address is checked Whether isSuccessAllneighborChecked is true, if it is, setting IsSuccessAllneighborChecked is false.
(4) if not having data in actual switch list, i.e., the interchanger does not have neighbor switch, then directly set it There is no recurrent network address, jump to the 23rd step.
S11, renewal RepeatNetAddressList data;Specific method is:
All recurrent network addresses non-existent in RepeatNetAddressList are added to In RepeatNetAddressList;
S12, select from RepeatNetAddressList the network address that repeats;
S13, judge whether to find;If it is found, being assumed to be RepeatNetAddress, step S14 is jumped to;Otherwise jump Go to step S3;
S14, the unappropriated temporary network address that do not conflict is selected from TempNetAddressList TempNetAddress;
S15, using RepeatNetAddress by the switch configuration be TempNetAddress;
S16, the mac addresses that set interchanger is remotely obtained by TempNetAddress;It is assumed to be CurrentMac;
S17, renewal FactEACNList data;If CurrentMac does not exist in FactEACNList, add Interchanger sets its MacAddress for CurrentMac in FactEACNList, and its FactNetAddress is TempNetAddress.If finding interchangers of the MacAddress equal to CurrentMac in FactEACNList, it is changed FactNetAddress is TempNetAddress.
Also there is the interchanger that the network address is RepeatNetAddress in S18, networkIf there is then jumping to Step S14;Otherwise jump to step S19;
S19, RepeatNetAddress are the temporary network address that do not conflictIf it is step S21 is jumped to;Otherwise Jump to step S20;
S20, RepeatNetAddress is deleted from RepeatNetAddressList;
S21, the mark isUsedFlag of setting RepeatNetAddress are false;Specific method be To not conflict mark isUsedFlag of the temporary network address equal to RepeatNetAddress in TempNetAddressList It is set to false;
S22, renewal FactEACNList data;Addition recurrent network address is in RepeatNetAddressList;
Specific method is:
If CurrentMac does not exist in FactEACNList, the exchange data is added to In FactEACNList, and it is CurrentMac to set the MacAddress of the interchanger, and sets it FactNetAddress is LocalNetAddress;
The FactNetAddress for setting all interchangers in FactEACNList is the interchanger of LocalNetAddress Mark isSuccessChecked be false.
The mark of all interchangers adjacent with EACN_Current in inspection EACNNeighborList Whether isSuccessAllneighborChecked is true, if true, then sets the mark of the interchanger IsSuccessAllneighborChecked is false,
If not existing LocalNetAddress in RepeatNetAddressList, the network address is added to In RepeatNetAddressList.
S23, the mark isSuccessAllneighborChecked of current SWITCH EACN_Current is set to true;The mark isSuccessChecked of all neighbor switch is set to true;
S24, judge whether necessary being;Step S26 is jumped to if necessary being;Otherwise jump to step S25;
Specific method is:
By EACNNeighborList, the neighbor switch of EACN_Current is searched, it is assumed that be EACN_ Neighbor;Then by the network address of EACN_Neighbor, EACN_Neighbor realities are obtained using remote access technology Border neighbor list, if the mac addresses of EACN_Current are in the actual neighbors list, its still necessary being.
If EACN_Current has multiple neighbours in EACNNeighborList, only as its all of EACN_ When not including the mac information of EACN_Current in the neighbor list information of Neighbor, EACN_ can be judged The untrue presence of Current.
S25, interchanger EACN_Current is deleted from FactEACNList;
S26, the interface attributes of change EACN_Neighbor can access EACN_Current to reach by the network address Requirement;
S27, the actual network address of all interchangers are the network address that the whole network is unique and does not conflict, and flow terminates.
2nd, on data structure involved in the present invention:
1st, actual switch list
Its effect is to reflect all actual switch for currently being found, including but not limited to data below:
Interchanger mac addresses:Its effect is unique designation interchanger physical entity;Can also ban otherwise The data;Such as interchanger regular coding, interchanger fixed name, the nodal information in switch logic structure etc.;No matter How not affect and be conducive to claim of the invention;
Interchanger actual network address:Its effect is can to remotely access the interchanger by the network address, is network The necessary data of layer communication;
Currently the only proterties state:Its effect be show the network address of the interchanger temporarily with the actual friendship crossed after testing Change planes and do not conflict;The mark can not influence to be conducive to the present invention by the data of other on logical meaning or representation Claim;
All currently the only proterties states in the neighbor switch network address:Its effect is that all neighbours for showing the interchanger hand over The network address changed planes does not conflict temporarily with the actual switch crossed after testing;The data either physical presence or logic Exist in meaning, the data must be all used in the present invention, regardless of its form of expression, do not influence to be conducive to the present invention Claim;
2nd, switch neighbor relation list
The list can also be able to be neighborhood list on logical meaning with physical presence, for example, do not need caching row Table and obtain actual neighbor list from interchanger by the network address when needing, regardless of its form of expression, Do not influence to be conducive to claim of the invention;
The list includes but is not limited to data below:
Interchanger mac addresses:Its effect is unique designation interchanger physical entity;Can also ban otherwise The data;Such as interchanger regular coding, interchanger fixed name, the nodal information in switch logic structure etc.;No matter How not affect and be conducive to claim of the invention;
Switch neighbor mac lists:Its effect is all neighbor switch for actually reflecting the interchanger;
Explanation:Actual switch list can merge into a list with switch neighbor relation list, it is also possible to enter again Row is subdivided into multiple tables, does not influence to be originally conducive to the claim of invention;
3rd, do not conflict temporary network address list
It is characterized in that all of network address in the list does not repeat;Including but not limited to data below:
Do not conflict temporary network address:When its effect is the network address for duplicating in a local network, these are repeated The network address is set to the temporary network address that do not conflict that this is not used by;
Occupied mark:The temporary network address physical presence in a local network if this does not conflict, the address is occupied, The network address can not be selected when temporary network address is needed;If the network address is not used by this operation, but Can not illustrate that the network address just can be necessarily the network address that does not conflict for setting interchanger, it is necessary to will also be by skill Art means detect whether the network address is taken by other equipment in network, if it is possible to occupied, then cannot to use, no Then can be using;Once it was found that physical presence temporary network address in a network, then should be by the traffic sign placement just Occupied state;
4th, the actual network address list for repeating
Its effect is the network address that record is repeated, the real network that will directly be repeated by the list during to need Address is set to the interim unduplicated network address;The list can be with physical presence, it is also possible to exist on logical meaning, and such as one Denier finds there is recurrent network address, immediately begins to for the network address to be set to the interim network address not conflicted, then its table Existing form is exactly a variable or individual data;Regardless of its form of expression, do not influence to be conducive to power of the invention Profit is required;Its data item includes but is not limited to data below:
The actual network address for repeating:Its effect is exactly the actual net for showing to have more than two interchangers in a local network Network address is the network address.
3rd, the technical characterstic that the present invention can be realized:
1st, its neighbor list information and target switch real data are remotely obtained by interchanger actual network address Method, the interchanger is added to actual switch list once non-existent interchanger in actual switch list is found In, constantly obtain more actual switch.Its effect is so that the method that the present invention is referred to can be by all friendships in LAN Change planes and all detect and eliminate recurrent network address, be finally reached and all interchangers in LAN are configured to the static network not conflicted The target of network address.
2nd, by the real network in the long-range interchanger real data for obtaining, the long-range switch neighbor list information for obtaining Address carries out collision detection with data in actual switch list.Its effect is to find and obtain recurrent network address, to obtain The target of elimination recurrent network address must be needed.
3rd, persistently eliminate recurrent network address untill all-network address does not conflict;
4th, first actual exchange machine information, including actual network address, actual mac addresses are obtained;
When the 5th, causing the exception of access target interchanger because configuring difference between master control main frame, interchanger, can be by adjusting Whole master control main frame, the relevant configuration of interchanger reach the purpose of addressable target switch;For example it is as follows:
(1) target that cannot remotely access brought because the interface VLan attributes of neighbor switch are inconsistent is eliminated to exchange Machine phenomenon;
(2) eliminate because between neighbor switch networking attribute it is inconsistent bring cannot remotely access target switch show As;
(3) eliminate and lead to not remotely access target switch because interchanger actual network address is not belonging to default subnet Phenomenon;
(4) eliminate and lead to not remote access target exchange because of false neighbor information after neighbor switch goes offline disconnection The phenomenon of machine;
(5) eliminate causes constantly to repeat remotely located target switch not repeat temporarily because there was only backup network address The phenomenon of the network address;
(6) target switch actual network address is eliminated to change and lead to not remotely access showing for target switch As.
6th, when cannot remotely obtain interchanger real data, judge interchanger whether necessary being, if untrue deposit , then the invalid interchanger is deleted from actual switch list, i.e., computing no longer is done to the interchanger;If truly deposited Then by technological adjustment master control main frame or the association attributes of associated switch so that master control main frame can be remotely accessed works as Preceding interchanger.Its effect be using the method processing procedure that refers to of the present invention in, if interchanger goes offline or has accessed it During the interchanger of his distinct interface attribute, method still can smoothly reach goal of the invention.
7th, eliminate every time in recurrent network address process, it is necessary to select the unappropriated temporary network address that do not conflict, and And the switch remote that any one has the recurrent network address is set to the temporary network address that do not conflict, then using should The temporary network address that do not conflict remotely obtains interchanger real data, and actual exchange is updated according to the interchanger real data for obtaining Exchange data in machine list.
4th, adaptable scene of the invention
1st, present embodiments can apply to the static network address dynamic and intelligent distribution of Ethernet switch in track transportation industry In;
2nd, present embodiments can apply to the static network address dynamic and intelligent distribution of Ethernet switch in video monitoring system In;
3rd, the present invention can use power industry, intelligent building, shipbuilding industry, water conservancy industry, piping lane industry, wind-powered electricity generation row The static network address dynamic and intelligent of Ethernet switch in all ethernet network topological structures of industry, track transportation industry etc. In distribution technique.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (10)

1. it is the method for static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN, it is characterised in that bag Include following steps:
S1, initialization basic data:
Importing does not conflict temporary network address in the temporary network address list that do not conflict, and sets the temporary network address that do not conflict All temporary network address that do not conflict in list are for unoccupied state;
All interchangers are not detected in setting actual switch list;
The actual network address for setting all interchangers in actual switch list is sky, is owned in setting actual switch list Interchanger is the uniqueness detection state for not being fully completed all neighbor switch;
Without neighborhood data in setting switch neighbor relation list;
S2, one real data of interchanger of acquisition, and be added in actual switch list, concurrently set the net of the interchanger Network address is with unique trait in the current all interchangers for having found;
S3, the exchange that its neighbor switch is not yet fully completed currently the only Characteristics Detection is obtained from actual switch list Machine:
If the currently the only proterties state of all interchangers is not exclusive in actual switch list, any one exchange is chosen Machine;Otherwise, it is currently the only that currently the only proterties state is obtained from actual switch list, and its neighbor switch is not yet whole Complete the interchanger of uniqueness state-detection;
S4, judge whether find satisfactory interchanger in step S3:
If it is found, then entering step S5;Otherwise illustrate that all of network address is already set as the network ground not conflicted Location, jumps to step S17;
S5, the long-range real data for obtaining current SWITCH;
Whether S6, the long-range acquisition of judgement succeed:
Enter step S7 if success;Otherwise jump to step S14;
S7, renewal actual switch table data:If switch management mac addresses do not exist in actual switch list, The exchange data is then added in actual switch list;
S8, judge whether the network address repeats:If the network address for repeating, step S12 is jumped to;Otherwise enter step S9;
S9, the long-range actual neighbors interchanger list for obtaining current SWITCH:If be there occurs recurrent network in epicycle detection Address be set to not conflict temporary network address phenomenon when, then need wait more than or equal to LLDP existence time, to avoid There is false neighbor information phenomenon during the neighbor list information of long-range acquisition interchanger to occur;
S10, renewal actual switch table data, and update switch neighbor relation list;
S11, the network address for determining whether repetition:If the network address not repeated, jumps to step S13;Otherwise Into step S12;
S12, elimination recurrent network address:Multiple or all of recurrent network address is eliminated if desired, then needed interim Multiple or all recurrent network addresses are recorded, then recurrent network address is eliminated according to this step one by one;And eliminate repetition net During network address, it is the casual network ground that do not conflict that can process any one or multiple interchangers with the recurrent network address Location;Every time, it is necessary to wait the regular hour, its effect is to ensure that interchanger after one recurrent network address of interchanger of elimination Setting truly come into force, it is ensured that the later stage obtain interchanger real data be real;
If recurrent network address is temporary network address, all eliminate after the recurrent network address, this should not be conflicted and faced When the network address withdraw in time, that is, set the temporary network address as unoccupied state;Its effect is to avoid not conflicting interim The not enough phenomenon in the network address and cause the whole network to be set to the network address that does not conflict and fail;
S13, current SWITCH is set to be fully completed the currently the only proterties state inspection of the network address of all neighbor switch Survey;
S14, judge current SWITCH whether necessary being, the 15th step is jumped to if necessary being;Otherwise jump to 16 steps; Determination methods include:
By switch neighbor relation list, the neighbor switch of the interchanger is searched;Then by the network of neighbor switch Address, its actual neighbor list is obtained using remote access technology, if the mac addresses of current SWITCH arrange in the actual neighbors In table, then its still necessary being;
If current SWITCH has multiple neighbours in switch neighbor relation list, only as the neighbour of its all neighbor switch When occupying in list information the mac information not including current SWITCH, the untrue presence of current SWITCH is just can determine that;
S15, the association attributes by technological adjustment master control main frame or associated switch so that master control main frame can be remotely accessed Current SWITCH:If needing the attribute of the interchanger of adjustment related to looped network feature, it is necessary to according to looped network feature in LAN The setting of correlation is carried out, is led to not remote access interchanger and is showed to avoid related personalization looped network agreement from causing network storm As;
S16, the exchange data is deleted from actual switch list;
S17, the actual network address of all interchangers are the network address that the whole network is unique and does not conflict, and method terminates.
2. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that the real data of interchanger includes switch management mac addresses and switch management net in the step S2 Network address;And the real data method of one interchanger of acquisition is comprised the following steps:
By the real data for capturing connected link layer data LLDP Receive message interchangers;
By modes such as file input, network inputs, for method provides a real data for interchanger.
3. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that the real data of current SWITCH includes switch management mac addresses and interchanger pipe in the step S5 The reason network address.
4. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that the determination methods in the step S8 are:
The all exchange datas in actual switch list are checked, if the same network address has corresponded to two or two Effective interchanger mac addresses above, then set the network address to repeat the network address, judge that there is recurrent network ground Location;
In actual switch list, if interchanger does not have recurrent network address, the currently the only of the interchanger is set Proterties state is currently the only;If interchanger has recurrent network address, set the currently the only proterties state of the interchanger as It is not exclusive;
Whether the neighbor switch of the interchanger that inspection possesses recurrent network address has been fully completed its all neighbor switch The currently the only property detection work in the network address, if it is, set the neighbor switch being handed over not to be fully completed all neighbours The currently the only property detection state in the network address changed planes.
5. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that the renewal actual switch table data in the step S10 includes the method compared by mac addresses, If this not handed over comprising the mac addresses of certain interchanger in actual neighbors interchanger list in actual switch list Data of changing planes are added in actual switch list.
6. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that switch neighbor relation list is updated in the step S10 to be included:
According to actual neighbors interchanger list update switch neighbor relation list so that the friendship in switch neighbor relation list Neighborhood of changing planes truly can completely reflect the neighborhood of interchanger;
If in the absence of the interchanger in actual switch neighbor list in switch neighbor relation list, by the interchanger Neighborhood is added in switch neighbor relation list;
If adjacent in interchanger in the absence of certain interchanger in switch neighbor relation list in actual switch neighbor list Occupy and delete the exchange data in relation list.
7. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that determination methods include in the step S11:
Exchange data in neighbor switch list is compared with the exchange data in actual switch list, if Switch management mac addresses are different and with the identical network address, then assert the network address to repeat the network address;It is made With being to judge whether different interchanger entities have the identical network address;
In actual switch list, if interchanger does not have recurrent network address, the currently the only of the interchanger is set Proterties state is currently the only;If interchanger has recurrent network address, set the currently the only proterties state of the interchanger as It is not exclusive;
Whether the neighbor switch of the interchanger that inspection possesses recurrent network address has been fully completed its all neighbor switch The currently the only property detection work in the network address, if it is, set the neighbor switch being handed over not to be fully completed all neighbours The currently the only property detection state in the network address changed planes;
If not having data in actual switch list, i.e., the interchanger does not have neighbor switch, then directly set it and do not weigh The multiple network address, and jump to step S13.
8. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 1 Method, it is characterised in that the step S12 is comprised the following steps:
The unappropriated temporary network address that do not conflict of selection:In the temporary network address list that do not conflict selection marker for not by The temporary network address of seizure condition, then detects whether the address is occupied, such as using the occupied detection technique in the network address Really occupied, then it is occupied to set the temporary network address that do not conflict, if unoccupied, select this not conflict and faces When the network address;
It is the temporary network address that do not conflict using the remotely located interchanger in the network address for repeating;
The real data of interchanger is remotely obtained using the temporary network address that do not conflict;Its effect be know this set it is specific Target switch, so as to provide real data to update actual switch list;
Update actual switch table data and switch neighbor relation list data;The current temporary network address that do not conflict is set Seizure condition for occupied.
9. it is the side of static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN as claimed in claim 8 Method, it is characterised in that the method for the renewal actual switch table data is comprised the following steps:
According to the interchanger real data that step S10 is obtained, judge whether interchanger mac addresses deposit in actual switch list If it does not exist, then adding the exchange data in actual switch list;If it is present modification has mac ground The network address of the interchanger of location is the temporary network address that this does not conflict;
The network address of the interchanger is set in actual switch list to possess currently the only characteristic;
The seizure condition for setting the current temporary network address that do not conflict is occupied.
10. it is the static network management address that do not conflict intelligently to configure interchanger in a kind of LAN as claimed in claim 1 Method, it is characterised in that in the step S15, when the privately owned looped network protocol requirement of each interchanger manufacturer has looped network soft kill point, Then need to ensure that at least one looped network soft kill point will not just cause network storm in looped network each node switch.
CN201611242653.6A 2016-12-29 2016-12-29 Method for intelligently configuring conflict-free static network management address for switch Active CN106789288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611242653.6A CN106789288B (en) 2016-12-29 2016-12-29 Method for intelligently configuring conflict-free static network management address for switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611242653.6A CN106789288B (en) 2016-12-29 2016-12-29 Method for intelligently configuring conflict-free static network management address for switch

Publications (2)

Publication Number Publication Date
CN106789288A true CN106789288A (en) 2017-05-31
CN106789288B CN106789288B (en) 2021-04-02

Family

ID=58923741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611242653.6A Active CN106789288B (en) 2016-12-29 2016-12-29 Method for intelligently configuring conflict-free static network management address for switch

Country Status (1)

Country Link
CN (1) CN106789288B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306772A (en) * 2018-02-12 2018-07-20 上海易杵行智能科技有限公司 The distribution method and system of basic data can be certified in a kind of distribution high-reliability terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901551A (en) * 2005-07-19 2007-01-24 上海贝尔阿尔卡特股份有限公司 Repeat address detecting method and its device for supporting IPv6 two layer access net
US20090198800A1 (en) * 2008-02-06 2009-08-06 Alcatel Lucent DHCP address conflict detection/enforcement
CN101552724A (en) * 2009-05-11 2009-10-07 杭州华三通信技术有限公司 Generation method and apparatus for neighbor table items
CN102082801A (en) * 2011-02-16 2011-06-01 中兴通讯股份有限公司 Method and system for preventing IPv6 (Internet Protocol Version 6) from duplicate address detection attack
US8788707B1 (en) * 2010-05-27 2014-07-22 Crimson Corporation Assigning a random static IP address in a quarantine network
CN105610996A (en) * 2016-01-29 2016-05-25 深圳市磊科实业有限公司 DHCP (Dynamic Host Configuration Protocol) conflict detecting method and device applied to switch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901551A (en) * 2005-07-19 2007-01-24 上海贝尔阿尔卡特股份有限公司 Repeat address detecting method and its device for supporting IPv6 two layer access net
US20090198800A1 (en) * 2008-02-06 2009-08-06 Alcatel Lucent DHCP address conflict detection/enforcement
CN101552724A (en) * 2009-05-11 2009-10-07 杭州华三通信技术有限公司 Generation method and apparatus for neighbor table items
US8788707B1 (en) * 2010-05-27 2014-07-22 Crimson Corporation Assigning a random static IP address in a quarantine network
CN102082801A (en) * 2011-02-16 2011-06-01 中兴通讯股份有限公司 Method and system for preventing IPv6 (Internet Protocol Version 6) from duplicate address detection attack
CN105610996A (en) * 2016-01-29 2016-05-25 深圳市磊科实业有限公司 DHCP (Dynamic Host Configuration Protocol) conflict detecting method and device applied to switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306772A (en) * 2018-02-12 2018-07-20 上海易杵行智能科技有限公司 The distribution method and system of basic data can be certified in a kind of distribution high-reliability terminal equipment

Also Published As

Publication number Publication date
CN106789288B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN102223651B (en) Method for assisting base station in self starting and RNC (Radio Network Controller)/DHCP (Dynamic Host Configuration Protocol) server
CN102546251B (en) Hybrid-detection-technology-based network topology discovery and automatic topology method and system
CN101534216B (en) Automatic topology realisation method based on topological bucket algorithm
CN108521656A (en) A kind of Lora communication means and system
CN107294745B (en) Network topology automatic discovery method and device
WO2016177049A1 (en) Method and device for achieving capacity expansion and reduction of access apparatus
CN110061916A (en) Automatic multiple cases link aggregation configuration with link layer discovery
CN108200628B (en) Wireless ad hoc networking method of linear topological structure
CN102377679A (en) Method for realizing link discovery and management in FTTX access system
CN101471813A (en) Configuration method, system and equipment for implementing domain-striding maintenance management
CN104754016A (en) Node cluster implementation method, device and system in peer-to-peer network
CN100469037C (en) Layer control tree-shape network based on CAN bus for supporting plug and use
CN1535516A (en) Telecommunications network with automatic detection of topology and method for this detection
CN106789288A (en) It is the method for static network management address of not conflicting that interchanger is intelligently configured in a kind of LAN
CN107995047B (en) Topology networking method and device for data center
CN104184840B (en) Methods, devices and systems for dynamic management address
Medeiros et al. A light-weight event-driven protocol for sensor clustering in wireless camera networks
CN107708142A (en) A kind of access device AP group technology, equipment and system
CN106230728A (en) The method and device of fast route convergence in the case of circuit concussion
CN103391232B (en) Virtual machine bus connection method in cloud system
US20230142790A1 (en) Loop detection method and loop break method for mesh network
CN108011730B (en) Method and device for automatically changing ring network resources in network management system
CN103458474B (en) More self-organized network management method and apparatus
CN106559490B (en) A kind of management method for storage cluster equipment
CN113595750B (en) Network topology dividing method and device and network topology management equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wang Xin

Inventor after: Feng Chengkai

Inventor before: Feng Chengkai

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230406

Address after: 412000 room 603, building E4, Yunlong headquarters economic Park, No. 5099, Yunlong Avenue, Yunlong demonstration zone, Zhuzhou City, Hunan Province

Patentee after: Hunan KUKE track equipment Co.,Ltd.

Address before: 200071 room 1603, No.1, Lane 258, Yongxing Road, Jing'an District, Shanghai

Patentee before: SHANGHAI YICHUXING INTELLIGENT TECHNOLOGY CO.,LTD.