CN110190978A - A kind of method, first routing device and storage medium avoiding conflict - Google Patents
A kind of method, first routing device and storage medium avoiding conflict Download PDFInfo
- Publication number
- CN110190978A CN110190978A CN201810155806.6A CN201810155806A CN110190978A CN 110190978 A CN110190978 A CN 110190978A CN 201810155806 A CN201810155806 A CN 201810155806A CN 110190978 A CN110190978 A CN 110190978A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- mentioned
- routing device
- collision detection
- parameter
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of method, first routing device and storage medium for avoiding conflict, the above-mentioned method for avoiding conflict includes: to receive modification instruction;Wherein, modification instruction carries the corresponding configuration information of first routing device;First routing device is any one routing device in multiple routing devices;The corresponding parameter to be modified of configuration information is determined from the corresponding parameter preset of first routing device;When parameter to be modified has uniqueness, collision detection is carried out to configuration information, and obtain the corresponding collision detection result of configuration information;If collision detection result is there is no conflict, response modification instruction modifies parameter to be modified according to configuration information.
Description
Technical field
The present invention relates to route technology field more particularly to a kind of method, first routing device and storages for avoiding conflict
Medium.
Background technique
When routing refers to grouping from source to destination, the process of the network range of end-to-end path is determined, routing work exists
The data packet forwarding device of network layer, router realize network interconnection by forwarding data packet.In the same routed domain, road
Must be unique by the part parameter preset that some applications installed in equipment or agreement are usually distinctly claimed every equipment in domain, such as
Fruit cannot be guaranteed the uniqueness of parameter preset configuration, will there is conflict.The presence of conflict, which may result in network, to be occurred respectively
Kind is abnormal, can not work normally these applications or agreement on routing device, in some instances it may even be possible to will lead to network storm and net
Network concussion.
Since in the prior art, whether configuration parameter correctly only depends on the configuration work of route system administrator, therefore
The generation of conflict can not be effectively prevented from, when there is conflict in route system, these applications in the route system or
Agreement may need costly energy that processing is gone to conflict, and routing can then be greatly increased by handling process flow complicated when conflicting
The resource loss of routing device in system.
Summary of the invention
The embodiment of the present invention provides a kind of method, first routing device and storage medium for avoiding conflict, can be effectively
The generation of conflict is avoided, so as to reduce the resource loss of routing device in route system.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of methods for avoiding conflict, comprising:
Receive modification instruction;Wherein, the modification instruction carries the corresponding configuration information of first routing device;Described first
Routing device is any one routing device in multiple routing devices;
The corresponding parameter to be modified of the configuration information is determined from the corresponding parameter preset of the first routing device;
When the parameter to be modified has uniqueness, collision detection is carried out to the configuration information, and match described in acquisition
Confidence ceases corresponding collision detection result;
If the collision detection result is to respond the modification instruction there is no conflict, repaired according to the configuration information
Change the parameter to be modified.
In the above scheme, described when the parameter to be modified has uniqueness, conflict to the configuration information
Detection, and after obtaining the corresponding collision detection result of the configuration information, the method also includes:
If the collision detection result is the presence of conflict, alert process is carried out.
In the above scheme, described when the parameter to be modified has uniqueness, conflict to the configuration information
Detection, and obtain the corresponding collision detection result of the configuration information, comprising:
Collision detection request is sent to controller, so that the controller carries out the punching according to collision detection request
Prominent detection;Wherein, the controller and the first routing device establish connection;The collision detection request carries the configuration
Information;
Receive the collision detection result that the controller is sent.
In the above scheme, described when the parameter to be modified has uniqueness, conflict to the configuration information
Detection, and obtain the corresponding collision detection result of the configuration information, comprising:
Obtain that secondary route equipment is corresponding prestores configuration information;Wherein, the secondary route equipment is the multiple road
By establishing the routing device of connection with the first routing device in equipment;
According to the configuration information and it is described prestore configuration information, obtain the collision detection result.
In the above scheme, it is described according to the configuration information and it is described prestore configuration information, obtain the collision detection
As a result, comprising:
The configuration information and the configuration information that prestores are compared;
If described, to prestore configuration information identical as the configuration information, it is determined that the collision detection result is the presence of punching
It is prominent;
Prestore configuration information and the configuration information is not identical if described, it is determined that the collision detection result be there is no
Conflict.
In the above scheme, the acquisition secondary route equipment is corresponding prestore configuration information before, the method is also wrapped
It includes:
The corresponding configuration delay time of the first routing device is set;
Record the first routing device corresponding setup time.
In the above scheme, the acquisition secondary route equipment is corresponding prestore configuration information after, and it is described according to institute
State configuration information and it is described prestore configuration information, before obtaining the collision detection result, the method also includes:
Compare the setup time and the configuration delay time;
When the setup time being equal to the configuration delay time, judgement starts to carry out the collision detection.
In the above scheme, described that the configuration information pair is determined from the corresponding parameter preset of the first routing device
After the parameter to be modified answered, the method also includes:
When the parameter to be modified does not have uniqueness, then the parameter to be modified is modified according to the configuration information.
The embodiment of the invention provides a kind of first routing device, the first routing device include processor, receiver,
Be stored with memory, the communication interface of the processor-executable instruction, and for connect the processor, the receiver,
The bus of the memory and the communication interface, when executed, the processor and the receiver are held
The method for avoiding conflict as described above is realized when row.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with program, are applied to the first via
By realizing the method for avoiding conflict as described above when described program is executed by processor in equipment.
It can be seen that the embodiment of the invention provides a kind of method, first routing device and storage medium for avoiding conflict,
Receive modification instruction;Wherein, modification instruction carries the corresponding configuration information of first routing device;First routing device is multiple roads
By any one routing device in equipment;Determine that configuration information is corresponding to be repaired from the corresponding parameter preset of first routing device
Change parameter;When parameter to be modified has uniqueness, collision detection is carried out to configuration information, and obtain the corresponding punching of configuration information
Prominent testing result;If collision detection result is there is no conflict, response modification instruction modifies ginseng to be modified according to configuration information
Number.That is, a kind of method, routing device and storage medium for avoiding conflict that the embodiment of the present invention proposes, in the first via
By equipment receive carry configuration information, corresponding to first routing device modification instruction after, first this can be matched
Confidence breath carries out collision detection, and determine collision detection result be there is no conflict and then according to configuration information to this
One routing device is configured, and then can be effectively prevented from the generation of conflict, is set so as to reduce routing in route system
Standby resource loss.
Detailed description of the invention
Fig. 1 is a kind of implementation process schematic diagram one for method for avoiding conflict that the embodiment of the present invention proposes;
Fig. 2 is that route system constitutes schematic diagram one;
Fig. 3 is that route system constitutes schematic diagram two;
Fig. 4 is a kind of implementation process schematic diagram two for method for avoiding conflict that the embodiment of the present invention proposes;
Fig. 5 is a kind of implementation process schematic diagram three for method for avoiding conflict that the embodiment of the present invention proposes;
Fig. 6 is a kind of implementation process schematic diagram four for method for avoiding conflict that the embodiment of the present invention proposes;
Fig. 7 is a kind of implementation process schematic diagram five for method for avoiding conflict that the embodiment of the present invention proposes;
Fig. 8 is a kind of implementation process schematic diagram six for method for avoiding conflict that the embodiment of the present invention proposes;
Fig. 9 is a kind of implementation process schematic diagram seven for method for avoiding conflict that the embodiment of the present invention proposes;
Figure 10 is a kind of implementation process schematic diagram eight for method for avoiding conflict that the embodiment of the present invention proposes;
Figure 11 is a kind of implementation process schematic diagram nine for method for avoiding conflict that the embodiment of the present invention proposes;
Figure 12 is the composed structure schematic diagram for the first routing device that the embodiment of the present invention proposes.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
Embodiment one
Fig. 1 is a kind of implementation process schematic diagram one for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 1 institute
Show, in an embodiment of the present invention, the method that first routing device avoids conflict may comprise steps of:
Step 101 receives modification instruction;Wherein, modification instruction carries the corresponding configuration information of first routing device;First
Routing device is any one routing device in multiple routing devices.
In an embodiment of the present invention, first routing device can first receive modification instruction.Wherein, above-mentioned modification instruction can
To carry the corresponding configuration information of above-mentioned first routing device, i.e., above-mentioned first routing device can first receive corresponding
Configuration parameter.
It should be noted that in an embodiment of the present invention, above-mentioned configuration information can be used for the above-mentioned first via by setting
The instruction that standby corresponding parameter preset is modified.
Further, in an embodiment of the present invention, above-mentioned first routing device is any of multiple routing devices
Routing device.Specifically, route system can be made of multiple routing devices, any one routing device in above-mentioned route system
It all can be above-mentioned first routing device.
It should be noted that in an embodiment of the present invention, a route system can be made of multiple routing devices.Tool
Body, in an embodiment of the present invention, Fig. 2 is route system composition schematic diagram one, as shown in Fig. 2, under centralized architecture, on
Stating route system may include multiple routing devices and the controllers such as routing device 1, routing device 2, wherein above-mentioned multiple routings
Equipment is connected with above controller respectively.Fig. 3 is that route system constitutes schematic diagram two, as shown in figure 3, above-mentioned route system can be with
Including multiple routing devices such as routing device 1, routing devices 2, wherein interconnected respectively between above-mentioned multiple routing devices.
Step 102 determines the corresponding parameter to be modified of configuration information from the corresponding parameter preset of first routing device.
In an embodiment of the present invention, above-mentioned routing device carries the corresponding configuration of above-mentioned first routing device in reception
After the above-mentioned modification instruction of information, it can be determined above-mentioned with confidence from the corresponding parameter preset of above-mentioned first routing device
Cease corresponding parameter to be modified.
It should be noted that in an embodiment of the present invention, above-mentioned configuration information may include above-mentioned first routing device
Corresponding parameter to be modified, therefore, above-mentioned first routing device, can be from above-mentioned first after receiving above-mentioned configuration information
In the corresponding pre-set above-mentioned parameter preset of routing device, ginseng to be modified corresponding with above-mentioned configuration information is determined
Number, to further determine whether above-mentioned parameter to be modified needs uniquely to configure.
Step 103, when parameter to be modified have uniqueness when, to configuration information carry out collision detection, and obtain match confidence
Cease corresponding collision detection result.
In an embodiment of the present invention, above-mentioned first routing device is from the corresponding parameter preset of above-mentioned first routing device
In, after determining the corresponding parameter to be modified of above-mentioned configuration information, first whether there can be uniqueness to above-mentioned parameter to be modified
Judged, if above-mentioned parameter to be modified has uniqueness, above-mentioned first routing device can further match to above-mentioned
Confidence breath carries out collision detection, and then obtains the corresponding collision detection result of above-mentioned configuration information.
Further, in an embodiment of the present invention, above-mentioned first routing device is determining that above-mentioned configuration information is corresponding
Above-mentioned parameter to be modified after, need to further determine that whether above-mentioned parameter to be modified has uniqueness, thus according to above-mentioned
The uniqueness of parameter to be modified determines the need for further progress collision detection.
Specifically, in an embodiment of the present invention, if above-mentioned first routing device determines that above-mentioned parameter to be detected has
Uniqueness, i.e., above-mentioned parameter request to be modified corresponding with above-mentioned configuration information is only in the parameter preset of above-mentioned first routing device
One configuration, then above-mentioned first routing device further can carry out collision detection to above-mentioned configuration information, so that it is determined that being
It is no to there is conflict.
Further, in an embodiment of the present invention, above-mentioned first routing device is determining that above-mentioned parameter to be detected has
After uniqueness, collision detection can be carried out to above-mentioned configuration information, to obtain collision detection result.Specifically, in this hair
In bright embodiment, above-mentioned first routing device can be by the corresponding above-mentioned configuration information of above-mentioned first routing device and above-mentioned road
It is compared by the corresponding preset configuration information of other routing devices in multiple routing devices in system, to judge above-mentioned match
Confidence breath is with the presence or absence of conflict.
If step 104, collision detection result are the response modification instruction there is no conflict, according to configuration information modification to
Modify parameter.
In an embodiment of the present invention, if above-mentioned parameter to be modified has uniqueness, above-mentioned first routing device is to upper
It states configuration information and carries out collision detection, and then after the corresponding collision detection result of the above-mentioned configuration information of acquisition, if conflict inspection
Surveying result is there is no conflict, then above-mentioned first routing device can modify above-mentioned ginseng to be modified according to above-mentioned configuration information
Number.
Further, in an embodiment of the present invention, above-mentioned first routing device conflicts to above-mentioned configuration information
After detection, if it is determined that above-mentioned configuration information can be thought according to above-mentioned configuration information there is no conflict to above-mentioned first
Routing device, which carries out configuration, will not generate conflict, and therefore, above-mentioned first routing device can be modified according to above-mentioned configuration information
The above-mentioned parameter to be modified of above-mentioned first routing device corresponding with above-mentioned configuration information.
The embodiment of the invention provides a kind of methods for avoiding conflict, receive modification instruction;Wherein, modification instruction carries the
The corresponding configuration information of one routing device;First routing device is any one routing device in multiple routing devices;From first
The corresponding parameter to be modified of configuration information is determined in the corresponding parameter preset of routing device;When parameter to be modified has uniqueness
When, collision detection is carried out to configuration information, and obtain the corresponding collision detection result of configuration information;If collision detection result is not
There are conflicts, then response modification instructs, and modify parameter to be modified according to configuration information.That is, the embodiment of the present invention proposes
It is a kind of avoid conflict method, first routing device receive carry configuration information, corresponding to the first via by setting
After standby modification instruction, collision detection first can be carried out to the configuration information, and determine collision detection result be there is no
Conflict and then the first routing device configured according to configuration information, and then the generation of conflict can be effectively prevented from,
So as to reduce the resource loss of routing device in route system.Also, it implements simple and convenient, convenient for universal, is applicable in
Range is wider.
Embodiment two
Fig. 4 is a kind of implementation process schematic diagram two for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 4 institute
Show, be based on embodiment one, in an embodiment of the present invention, further, above-mentioned first routing device from the above-mentioned first via by
It is after determining the corresponding parameter to be modified of above-mentioned configuration information, i.e., above-mentioned after step 102 in the corresponding parameter preset of equipment
First routing device avoid conflict method can with the following steps are included:
Step 105, when parameter to be modified does not have uniqueness, then parameter to be modified is modified according to configuration information.
In an embodiment of the present invention, above-mentioned first routing device is from the corresponding parameter preset of above-mentioned first routing device
In, after determining the corresponding parameter to be modified of above-mentioned configuration information, first whether there can be uniqueness to above-mentioned parameter to be modified
Judged, if above-mentioned parameter to be modified does not have uniqueness, above-mentioned first routing device can be directly according to above-mentioned
Configuration information modifies above-mentioned parameter to be modified.
It should be noted that in an embodiment of the present invention, above-mentioned first routing device is determining above-mentioned configuration information
After corresponding above-mentioned parameter to be modified, need to further determine that whether above-mentioned parameter to be modified has uniqueness, if above-mentioned
First routing device determines that above-mentioned parameter to be detected does not have uniqueness, i.e., in the parameter preset of above-mentioned first routing device with it is upper
It states the corresponding above-mentioned parameter to be modified of configuration information not requiring uniquely to configure, then above-mentioned first routing device can be pressed directly
It modifies according to above-mentioned configuration information to above-mentioned parameter to be modified, without further carrying out conflict inspection to above-mentioned configuration information
It surveys.
Fig. 5 is a kind of implementation process schematic diagram three for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 5 institute
Show, is based on embodiment one, it is in an embodiment of the present invention, further, above-mentioned when above-mentioned parameter to be modified has uniqueness
First routing device is carrying out collision detection to above-mentioned configuration information, and obtains the corresponding collision detection result of above-mentioned configuration information
Later, i.e., after step 103, above-mentioned first first routing device avoid conflict method can with the following steps are included:
If step 106, collision detection result are the presence of conflict, alert process is carried out.
In an embodiment of the present invention, if above-mentioned parameter to be modified has uniqueness, above-mentioned first routing device is to upper
It states configuration information and carries out collision detection, and then after the corresponding collision detection result of the above-mentioned configuration information of acquisition, if conflict inspection
Surveying result is the presence of conflict, then above-mentioned first routing device can carry out alert process.
Further, in an embodiment of the present invention, above-mentioned first routing device conflicts to above-mentioned configuration information
After detection, if it is determined that above-mentioned configuration information has conflict, can think according to above-mentioned configuration information to the above-mentioned first via
By equipment carry out configuration can generate conflict, therefore, above-mentioned first routing device just will not according to above-mentioned configuration information modification with it is upper
The above-mentioned parameter to be modified of the corresponding above-mentioned first routing device of configuration information is stated, meanwhile, above-mentioned first routing device can be with
Alert process is carried out to above-mentioned configuration information.
The embodiment of the invention provides a kind of methods for avoiding conflict, receive modification instruction;Wherein, modification instruction carries the
The corresponding configuration information of one routing device;First routing device is any one routing device in multiple routing devices;From first
The corresponding parameter to be modified of configuration information is determined in the corresponding parameter preset of routing device;When parameter to be modified has uniqueness
When, collision detection is carried out to configuration information, and obtain the corresponding collision detection result of configuration information;If collision detection result is not
There are conflicts, then response modification instructs, and modify parameter to be modified according to configuration information.That is, the embodiment of the present invention proposes
It is a kind of avoid conflict method, first routing device receive carry configuration information, corresponding to the first via by setting
After standby modification instruction, collision detection first can be carried out to the configuration information, and determine collision detection result be there is no
Conflict and then the first routing device configured according to configuration information, and then the generation of conflict can be effectively prevented from,
So as to reduce the resource loss of routing device in route system.Also, it implements simple and convenient, convenient for universal, is applicable in
Range is wider.
Embodiment three
Fig. 6 is a kind of implementation process schematic diagram four for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 6 institute
Show, be based on embodiment one, in an embodiment of the present invention, further, above-mentioned Fig. 2 is based on, if above-mentioned route system includes
Controller and multiple routing devices, and when above controller is connected with above-mentioned multiple routing devices respectively, when above-mentioned ginseng to be modified
When number has uniqueness, above-mentioned first routing device carries out collision detection to above-mentioned configuration information, and obtains above-mentioned configuration information
The method of corresponding collision detection result may comprise steps of:
Step 201 sends collision detection request to controller, so that controller carries out conflict inspection according to collision detection request
It surveys;Wherein, controller and first routing device establish connection;Collision detection request carries configuration information.
In an embodiment of the present invention, above-mentioned first routing device is from the corresponding parameter preset of above-mentioned first routing device
In, after determining the corresponding parameter to be modified of above-mentioned configuration information, first it can send punching by the controller into above-mentioned route system
Prominent detection request, so that above controller carries out above-mentioned collision detection according to above-mentioned collision detection request.
Further, in an embodiment of the present invention, above-mentioned configuration information can be carried in above-mentioned collision detection request, together
When, above-mentioned collision detection request can also carry the mark of above-mentioned first routing device.
Further, in an embodiment of the present invention, in above-mentioned route system, above controller and the above-mentioned first via by
Equipment establishes connection.Specifically, in an embodiment of the present invention, above controller is set with multiple routings in above-mentioned route system
Back-up does not establish connection.
Step 202 receives the collision detection result that controller is sent.
In an embodiment of the present invention, above-mentioned first routing device sends conflict in the controller into above-mentioned route system
After detection request, the above-mentioned collision detection result of above controller transmission can be received.
It should be noted that in an embodiment of the present invention, above-mentioned first routing device is by above controller to above-mentioned
Configuration information carries out above-mentioned collision detection, to obtain above-mentioned collision detection result.
Further, the controller in above-mentioned route system can be by other in above-mentioned configuration information and the route system
The corresponding preset configuration information of routing device is compared, and to carry out above-mentioned collision detection, and obtains above-mentioned collision detection result.
Further, in an embodiment of the present invention, above-mentioned first routing device is matched by above controller to above-mentioned
After confidence breath carries out above-mentioned collision detection, the above-mentioned collision detection result of above controller transmission can be obtained.
Further, the above controller in above-mentioned route system is carrying out collision detection to above-mentioned configuration information, and obtains
After obtaining above-mentioned collision detection result, above-mentioned collision detection result can be sent to above-mentioned first routing device, to make
Above-mentioned first routing device can further determine whether to be matched according to above-mentioned configuration information according to above-mentioned collision detection result
It sets.
The embodiment of the invention provides a kind of methods for avoiding conflict, receive modification instruction;Wherein, modification instruction carries the
The corresponding configuration information of one routing device;First routing device is any one routing device in multiple routing devices;From first
The corresponding parameter to be modified of configuration information is determined in the corresponding parameter preset of routing device;When parameter to be modified has uniqueness
When, collision detection is carried out to configuration information, and obtain the corresponding collision detection result of configuration information;If collision detection result is not
There are conflicts, then response modification instructs, and modify parameter to be modified according to configuration information.That is, the embodiment of the present invention proposes
It is a kind of avoid conflict method, first routing device receive carry configuration information, corresponding to the first via by setting
After standby modification instruction, collision detection first can be carried out to the configuration information, and determine collision detection result be there is no
Conflict and then the first routing device configured according to configuration information, and then the generation of conflict can be effectively prevented from,
So as to reduce the resource loss of routing device in route system.Also, it implements simple and convenient, convenient for universal, is applicable in
Range is wider.
Example IV
Fig. 7 is a kind of implementation process schematic diagram five for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 7 institute
Show, be based on embodiment three, in an embodiment of the present invention, further, above-mentioned first routing device passes through above controller pair
The method that above-mentioned configuration information carries out above-mentioned collision detection may comprise steps of:
Step 301, controller read that multiple routing devices are corresponding multiple to prestore configuration information;Wherein, a routing is set
Standby corresponding one prestores configuration information.
In an embodiment of the present invention, above-mentioned first routing device is sent in the above controller into above-mentioned route system
After collision detection request, above controller can read that above-mentioned multiple routing devices are corresponding multiple to prestore configuration information.
Specifically, in an embodiment of the present invention, above-mentioned multiple routing devices in above-mentioned route system are previously stored with
It is corresponding with above-mentioned multiple routing devices multiple to prestore configuration information.Specifically, in an embodiment of the present invention, above-mentioned multiple
A routing device corresponding one in routing device prestores configuration information.
Further, in an embodiment of the present invention, above-mentioned first routing device is sending conflict inspection to above controller
It surveys after request, above controller can obtain that above-mentioned multiple routing devices are corresponding above-mentioned multiple to be prestored with confidence respectively
Breath, thus can according to it is above-mentioned it is multiple prestore configuration information and above-mentioned configuration information, determine whether exist conflict.
Step 302 compares configuration information with multiple configuration informations that prestore respectively, to carry out collision detection.
In an embodiment of the present invention, above-mentioned multiple routing devices are corresponding multiple to prestore configuration to above controller reading
After information, above-mentioned configuration information can be compared with above-mentioned multiple configuration informations that prestore respectively, to carry out above-mentioned punching
Prominent detection.
Further, in an embodiment of the present invention, above controller is after obtaining above-mentioned multiple preset configuration information,
Above-mentioned multiple preset configuration information above-mentioned configuration information corresponding with above-mentioned first routing device can be compared respectively, from
And conflict is determined whether there is according to comparison result.
Specifically, in an embodiment of the present invention, above controller by above-mentioned configuration information respectively with it is above-mentioned multiple pre-
Deposit after configuration information compares, if it is above-mentioned it is multiple prestore in configuration information there are at least one prestore configuration information with it is upper
It is identical to state configuration information, then above controller can determine above-mentioned collision detection result to there is conflict.
Further, in an embodiment of the present invention, above controller by above-mentioned configuration information respectively with it is above-mentioned multiple
Prestore after configuration information compares, if it is above-mentioned it is multiple prestore configuration information and above-mentioned configuration information is not identical, on
Stating controller can determine that above-mentioned collision detection result is that there is no conflicts.
According to foregoing description it is found that 301-302, above controller read above-mentioned multiple routing devices pair through the above steps
That answers multiple prestores configuration information;Wherein, one routing device corresponding one prestores configuration information;Above-mentioned configuration information is distinguished
It is compared with above-mentioned multiple configuration informations that prestore, to carry out above-mentioned collision detection.That is, what the embodiment of the present invention proposed
A method of avoid conflict, first routing device receive carry configuration information, correspond to first routing device
Modification instruction after, can first to the configuration information carry out collision detection, and determining collision detection result be there is no punchings
It dashes forward and then the first routing device is configured according to configuration information, and then the generation of conflict can be effectively prevented from, from
And it can reduce the resource loss of routing device in route system.Also, it implements simple and convenient, convenient for universal, is applicable in model
It encloses wider.
Embodiment five
Fig. 8 is a kind of implementation process schematic diagram six for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 8 institute
Show, is based on embodiment one, it is in an embodiment of the present invention, further, above-mentioned when above-mentioned parameter to be modified has uniqueness
First routing device carries out collision detection to above-mentioned configuration information, and obtains the corresponding collision detection result of above-mentioned configuration information
Method may comprise steps of:
Step 401 obtains that secondary route equipment is corresponding prestores configuration information;Wherein, secondary route equipment is multiple roads
By establishing the routing device of connection with first routing device in equipment.
In an embodiment of the present invention, above-mentioned first routing device is from the corresponding parameter preset of above-mentioned first routing device
In, after determining the corresponding parameter to be modified of above-mentioned configuration information, it can first obtain that secondary route equipment is corresponding to prestore configuration
Information.
It should be noted that in an embodiment of the present invention, above-mentioned secondary route equipment in above-mentioned route system by wrapping
In the multiple routing devices included, other routing devices of connection are established with above-mentioned first routing device.
Specifically, in an embodiment of the present invention, above-mentioned multiple routing devices in above-mentioned route system are previously stored with
It is corresponding with above-mentioned multiple routing devices multiple to prestore configuration information.Specifically, in an embodiment of the present invention, above-mentioned multiple
A routing device corresponding one in routing device prestores configuration information.
Further, in an embodiment of the present invention, above-mentioned first routing device is corresponding from above-mentioned first routing device
Parameter preset in, after determining the corresponding parameter to be modified of above-mentioned configuration information, the above-mentioned first via in above-mentioned route system
By equipment can obtain respectively above-mentioned secondary route equipment it is corresponding it is above-mentioned prestore configuration information, thus can be according to above-mentioned
Configuration information and above-mentioned configuration information are prestored, determines whether there is conflict.
Step 402 according to configuration information and prestores configuration information, obtains collision detection result.
In an embodiment of the present invention, the above-mentioned first routing device in above-mentioned route system is obtaining above-mentioned secondary route
Equipment is corresponding prestore configuration information after, can according to above-mentioned configuration information and it is above-mentioned prestore configuration information, obtain above-mentioned
Collision detection result.
Further, in an embodiment of the present invention, above-mentioned first routing device obtain above-mentioned preset configuration information it
Afterwards, above-mentioned preset configuration information above-mentioned configuration information corresponding with above-mentioned first routing device can be compared respectively, from
And conflict is determined whether there is according to comparison result.
The embodiment of the invention provides a kind of methods for avoiding conflict, receive modification instruction;Wherein, modification instruction carries the
The corresponding configuration information of one routing device;First routing device is any one routing device in multiple routing devices;From first
The corresponding parameter to be modified of configuration information is determined in the corresponding parameter preset of routing device;When parameter to be modified has uniqueness
When, collision detection is carried out to configuration information, and obtain the corresponding collision detection result of configuration information;If collision detection result is not
There are conflicts, then response modification instructs, and modify parameter to be modified according to configuration information.That is, the embodiment of the present invention proposes
It is a kind of avoid conflict method, first routing device receive carry configuration information, corresponding to the first via by setting
After standby modification instruction, collision detection first can be carried out to the configuration information, and determine collision detection result be there is no
Conflict and then the first routing device configured according to configuration information, and then the generation of conflict can be effectively prevented from,
So as to reduce the resource loss of routing device in route system.Also, it implements simple and convenient, convenient for universal, is applicable in
Range is wider.
Embodiment six
Fig. 9 is a kind of implementation process schematic diagram seven for method for avoiding conflict that the embodiment of the present invention proposes, such as Fig. 9 institute
Show, is based on embodiment five, in an embodiment of the present invention, further, above-mentioned first routing device is according to above-mentioned configuration information
Configuration information is prestored with above-mentioned, the method for obtaining above-mentioned collision detection result may comprise steps of:
Step 402a, it by configuration information and prestores configuration information and compares.
In an embodiment of the present invention, in an embodiment of the present invention, the above-mentioned first via in above-mentioned route system is by setting
It is standby after obtaining that above-mentioned secondary route equipment is corresponding and prestoring configuration information, can by above-mentioned configuration information respectively with it is above-mentioned
It prestores configuration information to compare, to carry out above-mentioned collision detection.
Further, in an embodiment of the present invention, above-mentioned first routing device obtain above-mentioned preset configuration information it
Afterwards, above-mentioned preset configuration information above-mentioned configuration information corresponding with above-mentioned first routing device can be compared respectively, from
And conflict is determined whether there is according to comparison result.
If it is identical as configuration information step 402b, to prestore configuration information, it is determined that collision detection result is the presence of conflict.
In an embodiment of the present invention, above-mentioned first routing device by above-mentioned configuration information and above-mentioned is prestoring configuration information
After comparing, prestore in configuration information that there are at least one to prestore configuration information and above-mentioned configuration information phase if above-mentioned
Together, then above-mentioned first routing device can determine above-mentioned collision detection result to there is conflict.
Further, in an embodiment of the present invention, if it is above-mentioned prestore to prestore in configuration information there are at least one match
Confidence breath it is identical as above-mentioned configuration information, i.e., if above-mentioned first routing device according to above-mentioned configuration information to the above-mentioned first via by
After equipment is configured, then will lead to above-mentioned route system cannot be guaranteed the uniqueness for the parameter preset for requiring uniquely to configure,
So above-mentioned first routing device can determine that above-mentioned configuration parameter has conflict, i.e., above-mentioned collision detection result is the presence of punching
It is prominent.
If it is not identical as configuration information step 402c, to prestore configuration information, it is determined that collision detection result is that there is no punchings
It is prominent.
In an embodiment of the present invention, above-mentioned routing device is carried out by above-mentioned configuration information and the above-mentioned configuration information that prestores
After comparison, configuration information is prestored and above-mentioned configuration information is not identical if above-mentioned, above-mentioned first routing device can
Determine that above-mentioned collision detection result is that there is no conflicts.
Further, in an embodiment of the present invention, if above-mentioned prestore configuration information and above-mentioned configuration information not phase
Together, i.e., above-mentioned if after above-mentioned first routing device configures above-mentioned first routing device according to above-mentioned configuration information
Route system can also guarantee the uniqueness for the parameter preset for requiring uniquely to configure, then above-mentioned first routing device can be sentenced
For fixed above-mentioned configuration parameter there is no conflict, i.e., above-mentioned collision detection result is that there is no conflicts.
According to foregoing description it is found that 402a-402c through the above steps, above-mentioned first routing device is by configuration information and pre-
Configuration information is deposited to compare;If it is identical as configuration information to prestore configuration information, it is determined that collision detection result is the presence of conflict;
If it is not identical as configuration information to prestore configuration information, it is determined that collision detection result is that there is no conflicts.That is, of the invention
Embodiment propose it is a kind of avoid conflict method, first routing device receive carry configuration information, correspond to
After the modification instruction of first routing device, collision detection first can be carried out to the configuration information, and determining collision detection knot
Fruit is to configure there is no conflict and then according to configuration information to the first routing device, and then can be effectively prevented from
The generation of conflict, so as to reduce the resource loss of routing device in route system.Also, implement it is simple and convenient, just
In popularizing, the scope of application is wider.
Embodiment seven
Figure 10 is a kind of implementation process schematic diagram eight for method for avoiding conflict that the embodiment of the present invention proposes, such as Figure 10 institute
Show, be based on embodiment five, in an embodiment of the present invention, further, above-mentioned first routing device is set in acquisition secondary route
It is standby it is corresponding prestore configuration information before, i.e., before step 401, the method that above-mentioned first routing device avoids conflict can also be wrapped
Include following steps:
Step 403, the corresponding configuration delay time of setting first routing device.
In an embodiment of the present invention, above-mentioned first routing device to above-mentioned parameter to be modified whether have uniqueness into
Row judgement, if above-mentioned parameter to be modified has uniqueness, the first via can be first arranged by setting in above-mentioned first routing device
Standby corresponding configuration delay time.
It should be noted that in an embodiment of the present invention, above-mentioned first routing device is connecing determining above-mentioned parameter to be modified
, can be to one corresponding delay time of setting, i.e., above-mentioned configuration delay time after uniqueness, and match above-mentioned
It sets and assumes that above-mentioned first routing device can receive other all routing devices in above-mentioned route system in delay time
Above-mentioned preset configuration information.
Further, in an embodiment of the present invention, above-mentioned first routing device can be arranged according to own situation and correspond to
Above-mentioned configuration delay time.
Specifically, in an embodiment of the present invention, if above-mentioned first routing device is newly to access to above-mentioned route system
Equipment, then above-mentioned configuration delay time should configure it is slightly longer, for guarantee within delay time the first via by
Equipment can receive the configuration information of all routing devices in above-mentioned route system.Correspondingly, if above-mentioned first routing device
The equipment for newly accessing to above-mentioned route system, then above-mentioned configuration delay time should configure it is slightly shorter.
Step 404, record first routing device corresponding setup time.
In an embodiment of the present invention, above-mentioned first routing device prolongs in the corresponding configuration of the above-mentioned first routing device of setting
When the time after, above-mentioned first routing device can be with start recording above-mentioned corresponding setup time.
Further, in an embodiment of the present invention, above-mentioned first routing device record its to setup time, thus
It can be according to above-mentioned configuration delay time and above-mentioned setup time, to whether starting to carry out collision detection to determine.
Figure 11 is a kind of implementation process schematic diagram nine for method for avoiding conflict that the embodiment of the present invention proposes, such as Figure 11 institute
Show in an embodiment of the present invention, further, above-mentioned first routing device is matched in acquisition corresponding prestore of secondary route equipment
After confidence breath, i.e., after step 401, and according to configuration information and configuration information is prestored, before obtaining collision detection result, i.e.,
Before step 402, above-mentioned first routing device avoid conflict method can with the following steps are included:
Step 405 compares setup time and configuration delay time.
In an embodiment of the present invention, secondary route equipment is corresponding prestores with confidence obtaining for above-mentioned first routing device
It, can more above-mentioned setup time and above-mentioned configuration delay time after breath.
Further, in an embodiment of the present invention, above-mentioned first routing device can by above-mentioned setup time and
Above-mentioned configuration delay time is compared, with to whether start carry out collision detection determine.
Step 406, when setup time be equal to configuration delay time when, judgement start carry out collision detection.
In an embodiment of the present invention, above-mentioned first routing device is when being delayed more above-mentioned setup time and above-mentioned configuration
Between after, if above-mentioned setup time is equal to above-mentioned configuration delay time, above-mentioned first routing device just determines to open
Begin to carry out above-mentioned collision detection.
The embodiment of the invention provides a kind of methods for avoiding conflict, receive modification instruction;Wherein, modification instruction carries the
The corresponding configuration information of one routing device;First routing device is any one routing device in multiple routing devices;From first
The corresponding parameter to be modified of configuration information is determined in the corresponding parameter preset of routing device;When parameter to be modified has uniqueness
When, collision detection is carried out to configuration information, and obtain the corresponding collision detection result of configuration information;If collision detection result is not
There are conflicts, then response modification instructs, and modify parameter to be modified according to configuration information.That is, the embodiment of the present invention proposes
It is a kind of avoid conflict method, first routing device receive carry configuration information, corresponding to the first via by setting
After standby modification instruction, collision detection first can be carried out to the configuration information, and determine collision detection result be there is no
Conflict and then the first routing device configured according to configuration information, and then the generation of conflict can be effectively prevented from,
So as to reduce the resource loss of routing device in route system.Also, it implements simple and convenient, convenient for universal, is applicable in
Range is wider.
Embodiment eight
Under same inventive concept based on embodiment one to embodiment seven, Figure 12 is the first via that the embodiment of the present invention proposes
By the composed structure schematic diagram of equipment, as shown in figure 12, the first routing device 1 that the embodiment of the present invention proposes may include processing
Device 10, receiver 11, the memory 12 for being stored with 10 executable instruction of processor, communication interface 13, and for connecting processor
10, the bus 14 of receiver 11, memory 12 and communication interface 13.
In an embodiment of the present invention, above-mentioned processor 10 can be application-specific IC (Application
Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor,
DSP), digital signal processing device (Digital Signal Processing Device, DSPD), programmable logic device
(ProgRAMmable Logic Device, PLD), field programmable gate array (Field ProgRAMmable Gate
Array, FPGA), CPU, controller, at least one of microcontroller, microprocessor.It is to be appreciated that being set for different
It is standby, can also be to be other for realizing the electronic device of above-mentioned processor function, the embodiment of the present invention is not especially limited.This
One routing device 1 can also include memory 12, which can connect with processor 10, wherein memory 12 is used for
Executable program code is stored, which includes computer operation instruction, and memory 12 may be stored comprising high-speed RAM
Device, it is also possible to further include nonvolatile memory, for example, at least two magnetic disk storages.
In an embodiment of the present invention, bus 14 is used for connection communication interface 13, processor 10, receiver 11, transmitter
Being in communication with each other between 22 and memory 12 and these devices.
In an embodiment of the present invention, memory 12, for storing instruction and data.
Receiver 11, for receiving modification instruction;Wherein, it is corresponding with confidence to carry first routing device for modification instruction
Breath;First routing device is any one routing device in multiple routing devices.
Processor 10, for determining that above-mentioned configuration information is corresponding from the corresponding parameter preset of above-mentioned first routing device
Parameter to be modified;And when above-mentioned parameter to be modified has uniqueness, collision detection is carried out to above-mentioned configuration information, and obtain
The corresponding collision detection result of above-mentioned configuration information;And if above-mentioned collision detection result is that there is no conflict, response modifications
Instruction modifies above-mentioned parameter to be modified according to above-mentioned configuration information.
Further, in an embodiment of the present invention, above-mentioned processor 10 is also used to above-mentioned when above-mentioned parameter tool to be modified
When having uniqueness, to above-mentioned configuration information carry out collision detection, and obtain the corresponding collision detection result of above-mentioned configuration information it
Afterwards, if above-mentioned collision detection result is the presence of conflict, alert process is carried out.
Further, in an embodiment of the present invention, above-mentioned processor 10 is specifically used for sending collision detection to controller
Request, so that controller requests to carry out collision detection according to collision detection;Wherein, controller and first routing device, which are established, connects
It connects;Collision detection request carries configuration information;And receive the collision detection result that controller is sent.
Further, in an embodiment of the present invention, above-mentioned processor 10, also particularly useful for acquisition secondary route equipment pair
That answers prestores configuration information;Wherein, secondary route equipment is that the road of connection is established with first routing device in multiple routing devices
By equipment;And according to configuration information and configuration information is prestored, obtain collision detection result.
Further, in an embodiment of the present invention, above-mentioned processor 10 is matched also particularly useful for by configuration information and prestoring
Confidence breath compares;And if to prestore configuration information identical as configuration information, it is determined that collision detection result is the presence of conflict;
And if to prestore configuration information not identical as configuration information, it is determined that collision detection result is that there is no conflicts.
Further, in an embodiment of the present invention, above-mentioned processor 10 is also used to corresponding from above-mentioned first routing device
Parameter preset in determine the corresponding parameter to be modified of above-mentioned configuration information after, when above-mentioned parameter to be modified does not have uniqueness
When, then above-mentioned parameter to be modified is modified according to above-mentioned configuration information.
Further, in an embodiment of the present invention, above-mentioned processor 10, also particularly useful for acquisition secondary route equipment pair
Before that answers prestores configuration information, the corresponding configuration delay time of setting first routing device;And record first routing device
Corresponding setup time.
Further, in an embodiment of the present invention, above-mentioned processor 10, also particularly useful for acquisition secondary route equipment pair
After that answers prestores configuration information, according to configuration information and configuration information is prestored, before obtaining collision detection result, compares configuration
Time and configuration delay time;And when setup time being equal to configuration delay time, judgement starts to carry out collision detection.
In practical applications, above-mentioned memory 12 can be volatibility first memory (volatile memory), such as
Arbitrary access first memory (Random-Access Memory, RAM);Or non-volatile first memories (non-
Volatile memory), for example, read-only first memory (Read-Only Memory, ROM), quick flashing first memory
(flash memory), hard disk (Hard Disk Drive, HDD) or solid state hard disk (Solid-State Drive, SSD);Or
The combination of the first memory of person's mentioned kind, and instruction and data is provided to processor 10.
In addition, each functional module in the present embodiment can integrate in one processing unit, it is also possible to each list
Member physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can be with
Using formal implementation of hardware, can also be realized in the form of software function module.
If integrated unit realizes that being not intended as independent product is sold or made in the form of software function module
Used time can store in a computer readable storage medium, based on this understanding, the technical solution sheet of the present embodiment
The all or part of the part that contributes to existing technology or the technical solution can be with software product in other words in matter
Form embodies, which is stored in a storage medium, including some instructions are used so that a meter
It calculates machine equipment (can be personal computer, server or the network equipment etc.) or processor (processor) executes this implementation
The all or part of the steps of example method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
The embodiment of the invention provides a kind of first routing devices, receive modification instruction;Wherein, modification instruction carries first
The corresponding configuration information of routing device;First routing device is any one routing device in multiple routing devices;From the first via
By determining the corresponding parameter to be modified of configuration information in the corresponding parameter preset of equipment;When parameter to be modified has uniqueness,
Collision detection is carried out to configuration information, and obtains the corresponding collision detection result of configuration information;If collision detection result is not deposit
Conflicting, then response modification instructs, and modifies parameter to be modified according to configuration information.That is, what the embodiment of the present invention proposed
It is a kind of avoid conflict first routing device, first routing device receive carry configuration information, correspond to first
After the modification instruction of routing device, collision detection first can be carried out to the configuration information, and determining that collision detection result is
The first routing device is configured there is no conflict and then according to configuration information, and then conflict can be effectively prevented from
Generation, so as to reduce the resource loss of routing device in route system.Also, implement it is simple and convenient, convenient for general
And the scope of application is wider.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with program, be applied to the first via by
The method such as embodiment one to embodiment seven is realized in equipment, when which is executed by processor.
Specifically, one of the present embodiment avoids the corresponding program instruction of method of conflict that from being stored in light
Disk, hard disk, on the storage mediums such as USB flash disk, when the program instruction corresponding with a kind of method for avoiding conflict in storage medium is by one
Electronic equipment reads or is performed, and includes the following steps:
Receive modification instruction;Wherein, modification instruction carries the corresponding configuration information of first routing device;First routing device
For any one routing device in multiple routing devices;
The corresponding parameter to be modified of configuration information is determined from the corresponding parameter preset of first routing device;
When parameter to be modified has uniqueness, collision detection is carried out to configuration information, and it is corresponding to obtain configuration information
Collision detection result;
If collision detection result is there is no conflict, response modification instruction modifies parameter to be modified according to configuration information.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the realization of equipment (system) and computer program product
Flow diagram and/or block diagram describe.It should be understood that flow diagram and/or box can be realized by computer program instructions
The combination of each flow and/or block in figure and the process in implementation process schematic diagram and/or block diagram and/or box.
These computer program instructions be can provide to general purpose computer, special purpose computer, Embedded Processor or other programmable datas
The processor of processing equipment is to generate a machine, so that passing through computer or the processor of other programmable data processing devices
The instruction of execution generate for realizing in one box of implementation process schematic diagram one process or multiple processes and/or block diagrams or
The device for the function of being specified in multiple boxes.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
The manufacture of device is enabled, which realizes in implementation process schematic diagram one process or multiple processes and/or block diagrams one
The function of being specified in a box or multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction that is executed on other programmable devices provide for realizing in one process of implementation process schematic diagram or multiple processes and/or
The step of function of being specified in one or more blocks of the block diagram.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of method for avoiding conflict, which is characterized in that the described method includes:
Receive modification instruction;Wherein, the modification instruction carries the corresponding configuration information of first routing device;The first via by
Equipment is any one routing device in multiple routing devices;
The corresponding parameter to be modified of the configuration information is determined from the corresponding parameter preset of the first routing device;
When the parameter to be modified has uniqueness, collision detection is carried out to the configuration information, and is obtained described with confidence
Cease corresponding collision detection result;
If the collision detection result is to respond the modification instruction there is no conflict, modify institute according to the configuration information
State parameter to be modified.
2. the method according to claim 1, wherein it is described when the parameter to be modified have uniqueness when, it is right
The configuration information carries out collision detection, and after obtaining the corresponding collision detection result of the configuration information, the method is also
Include:
If the collision detection result is the presence of conflict, alert process is carried out.
3. the method according to claim 1, wherein it is described when the parameter to be modified have uniqueness when, it is right
The configuration information carries out collision detection, and obtains the corresponding collision detection result of the configuration information, comprising:
Collision detection request is sent to controller, is examined so that the controller carries out the conflict according to collision detection request
It surveys;Wherein, the controller and the first routing device establish connection;The collision detection request carries described with confidence
Breath;
Receive the collision detection result that the controller is sent.
4. the method according to claim 1, wherein it is described when the parameter to be modified have uniqueness when, it is right
The configuration information carries out collision detection, and obtains the corresponding collision detection result of the configuration information, comprising:
Obtain that secondary route equipment is corresponding prestores configuration information;Wherein, the secondary route equipment is that the multiple routing is set
In standby, the routing device of connection is established with the first routing device;
According to the configuration information and it is described prestore configuration information, obtain the collision detection result.
5. according to the method described in claim 4, it is characterized in that, described according to the configuration information and described prestore with confidence
Breath, obtains the collision detection result, comprising:
The configuration information and the configuration information that prestores are compared;
If described, to prestore configuration information identical as the configuration information, it is determined that the collision detection result is the presence of conflict;
Configuration information is prestored and the configuration information is not identical if described, it is determined that the collision detection result is that there is no punchings
It is prominent.
6. according to the method described in claim 4, it is characterized in that, the acquisition secondary route equipment is corresponding prestores with confidence
Before breath, the method also includes:
The corresponding configuration delay time of the first routing device is set;
Record the first routing device corresponding setup time.
7. according to the method described in claim 6, it is characterized in that, the acquisition secondary route equipment is corresponding prestores with confidence
After breath, and it is described according to the configuration information and it is described prestore configuration information, it is described before obtaining the collision detection result
Method further include:
Compare the setup time and the configuration delay time;
When the setup time being equal to the configuration delay time, judgement starts to carry out the collision detection.
8. the method according to claim 1, wherein described from the corresponding parameter preset of the first routing device
After the corresponding parameter to be modified of the middle determination configuration information, the method also includes:
When the parameter to be modified does not have uniqueness, then the parameter to be modified is modified according to the configuration information.
9. a kind of first routing device, which is characterized in that the first routing device includes processor, receiver, stores
Memory, the communication interface of processor-executable instruction are stated, and for connecting the processor, the receiver, the storage
The bus of device and the communication interface, when executed, the processor and the receiver are realized when executing
The method according to claim 1.
10. a kind of computer readable storage medium, is stored thereon with program, it is applied in first routing device, which is characterized in that
The method according to claim 1 is realized when described program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810155806.6A CN110190978A (en) | 2018-02-23 | 2018-02-23 | A kind of method, first routing device and storage medium avoiding conflict |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810155806.6A CN110190978A (en) | 2018-02-23 | 2018-02-23 | A kind of method, first routing device and storage medium avoiding conflict |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110190978A true CN110190978A (en) | 2019-08-30 |
Family
ID=67713431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810155806.6A Withdrawn CN110190978A (en) | 2018-02-23 | 2018-02-23 | A kind of method, first routing device and storage medium avoiding conflict |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110190978A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112667867A (en) * | 2020-12-31 | 2021-04-16 | 北京卓讯科信技术有限公司 | Matching conflict checking method and equipment based on TCAM (ternary content addressable memory) feature code |
CN114726756A (en) * | 2022-03-30 | 2022-07-08 | 联想(北京)有限公司 | Configuration monitoring method and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014044A (en) * | 2009-09-04 | 2011-04-13 | 技嘉科技股份有限公司 | Domain collision avoidance method and router using same |
CN102439949A (en) * | 2011-10-17 | 2012-05-02 | 华为技术有限公司 | Method for solving internet protocol address assignment conflict and related device and system |
US20130311635A1 (en) * | 2007-06-29 | 2013-11-21 | Apple Inc. | Network management |
CN104202443A (en) * | 2014-09-26 | 2014-12-10 | 浙江中控技术股份有限公司 | Method and device for disaster tolerance treatment of IP address conflict and corresponding equipment |
CN107181832A (en) * | 2017-05-26 | 2017-09-19 | 杭州迪普科技股份有限公司 | A kind of Router ID collision detection methods and device |
-
2018
- 2018-02-23 CN CN201810155806.6A patent/CN110190978A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130311635A1 (en) * | 2007-06-29 | 2013-11-21 | Apple Inc. | Network management |
CN102014044A (en) * | 2009-09-04 | 2011-04-13 | 技嘉科技股份有限公司 | Domain collision avoidance method and router using same |
CN102439949A (en) * | 2011-10-17 | 2012-05-02 | 华为技术有限公司 | Method for solving internet protocol address assignment conflict and related device and system |
CN104202443A (en) * | 2014-09-26 | 2014-12-10 | 浙江中控技术股份有限公司 | Method and device for disaster tolerance treatment of IP address conflict and corresponding equipment |
CN107181832A (en) * | 2017-05-26 | 2017-09-19 | 杭州迪普科技股份有限公司 | A kind of Router ID collision detection methods and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112667867A (en) * | 2020-12-31 | 2021-04-16 | 北京卓讯科信技术有限公司 | Matching conflict checking method and equipment based on TCAM (ternary content addressable memory) feature code |
CN112667867B (en) * | 2020-12-31 | 2022-05-10 | 北京卓讯科信技术有限公司 | Matching conflict checking method and equipment based on TCAM (ternary content addressable memory) feature code |
CN114726756A (en) * | 2022-03-30 | 2022-07-08 | 联想(北京)有限公司 | Configuration monitoring method and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107592209B (en) | Method and system for automatically configuring IP address information by multi-network card server | |
CN111045690A (en) | Block chain node service deployment method, device, system, computing equipment and medium | |
US10355971B2 (en) | System and method for data path validation and verification | |
CN111934996B (en) | Message transmission method and device | |
CN109474495B (en) | Tunnel detection method and device | |
CN105474602A (en) | Method, device and equipment of identifying attack flow in software defined network | |
RO131305A2 (en) | Methods, systems and computer-readable media for receiving a clock synchronization message | |
CN109257133B (en) | Whole-network clock synchronization method and device applied to LTE (Long term evolution) rail transit network | |
CN110190978A (en) | A kind of method, first routing device and storage medium avoiding conflict | |
CN105933185A (en) | Method and device for determining connection abnormity type of router | |
CN109873737A (en) | A kind of test method and device | |
EP3748913A1 (en) | Link bandwidth utilization rate acquisition method and device, and terminal | |
CN108541000A (en) | A kind of method, medium and the equipment of detection network connection | |
RU2715285C1 (en) | Method of increasing stability of a secure connection between elements of a corporate management system using information and communication resources, which are controlled by two or more communication operators | |
EP3618371B1 (en) | Routing path analysis method and device | |
CN109495330B (en) | Method and device for realizing UDP interception test | |
CN105516134A (en) | Authentication method and system for system integration | |
CN114301813A (en) | Time delay measuring method and device for PING detection | |
CN110611678B (en) | Method for identifying message and access network equipment | |
CN105763347A (en) | Method for obtaining parameter, network equipment and system | |
CN107483431A (en) | A kind of switch ports themselves safety protecting method and device based on ICP/IP protocol | |
CN113132250B (en) | Data packet transmission method, device, electronic equipment and medium | |
CN113708992B (en) | Reverse proxy test method, device, electronic equipment and storage medium | |
CN110311869A (en) | The method, apparatus and electronic equipment of the network optimization | |
CN115396165B (en) | File management method and device, electronic equipment and storage medium |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190830 |
|
WW01 | Invention patent application withdrawn after publication |