CN106656608A - Method for inhibiting interface oscillation, and routing device - Google Patents
Method for inhibiting interface oscillation, and routing device Download PDFInfo
- Publication number
- CN106656608A CN106656608A CN201611227538.1A CN201611227538A CN106656608A CN 106656608 A CN106656608 A CN 106656608A CN 201611227538 A CN201611227538 A CN 201611227538A CN 106656608 A CN106656608 A CN 106656608A
- Authority
- CN
- China
- Prior art keywords
- interface
- concussion
- routing device
- routing
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- 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
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- 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/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/14—Routing performance; Theoretical aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/60—Router architectures
Abstract
The embodiment of the present invention provides a method for inhibiting interface oscillation, and a routing device. The method comprises the following steps: the routing device detects a state parameter related to interface oscillation on the routing device; the routing device determines whether to inhibit an oscillation interface of the routing device according to the state parameter; and when the oscillation interface is determined to require inhibition, the routing device inhibits the oscillation interface. According to the method for inhibiting interface oscillation, the routing device can initiatively perform the inhibition processing according to own state parameter, so that the efficiency of inhibiting the interface oscillation can be improved.
Description
Technical field
The invention relates to the communications field, and a kind of method more particularly, to suppression interface concussion and road
By equipment.
Background technology
With the gradually increase of Internet service, the interface quantity of existing network routing device operation is more and more.Intermediate system
To intermediate system (Intermediate System-to-Intermediate System, ISIS) agreement, open shortest path
Footpath preferential (Open Shortest Path First, OSPF) agreement, Border Gateway Protocol (Border Gateway
Protocol, BGP) etc. protocol neighbors quantity it is larger, once interface on routing device occurs frequent flash, then route can be set
Standby central processing unit (Central Processing Unit, CPU) process performance makes a big impact, and serious conditions cause road
Paralysed by equipment, network is unusable.
Problem is frequently shaken for routing device interface, the solution that prior art is proposed is connecing on routing device
Mouth configuration interface concussion suppresses order.When interface occurs frequently concussion, and when reaching the suppression threshold of configuration, routing device is automatic
The interface of concussion is suppressed to (down) state that goes offline, it is to avoid the frequent response interface state of protocol layer (ISIS/OSPF/BGP etc.)
Change, so as to ensure equipment stable operation.
But, implement such scheme due to needing manual configuration interface concussion to suppress order, cause to suppress interface concussion effect
Rate is relatively low.
The content of the invention
The embodiment of the present application provides a kind of method for suppressing interface to shake and routing device, it is possible to increase suppress interface concussion
Efficiency.
First aspect, there is provided a kind of method of suppression interface concussion, the method includes:Routing device is on routing device
The state parameter relevant with interface concussion is detected;Routing device is according to state parameter, it is determined whether the shake to routing device
Swinging interface carries out suppression process;When it is determined that carrying out suppressing to process to concussion interface, routing device suppresses to shaking interface
Process.
The application suppresses the method that interface shakes, and routing device is by the detection routing device relevant with interface concussion
State parameter, it is determined whether carry out suppression process to shaking interface, it is actively right when needing that concussion interface is carried out suppressing to process
Concussion interface carries out suppression process.Because the method need not be participated in manually, routing device can be main according to oneself state parameter
It is dynamic to carry out suppression process such that it is able to improve the efficiency for suppressing interface concussion.The method can also be widely used in existing network, and
While liberating artificial, when manual configuration interface concussion can be avoided to suppress order, part of interface omits the problem of configuration.
In a kind of possible implementation, routing device carries out suppression process to shaking interface, including:Routing device to
Concussion interface sends concussion and suppresses parameter, concussion to suppress parameter to be used for control concussion interface in the state that goes offline.
Specifically, when it is determined that carrying out suppressing to process to concussion interface, routing device to concussion interface issues concussion suppression
Parameter, makes concussion interface enter holddown, during suppression shake interface remain down states, it is to avoid routing device its
His module, the frequently response interface concussion of such as CPU, protocol module.
In a kind of possible implementation, the method also includes:Routing device closes the photophore of concussion interface, so that
The opposite end interface of concussion interface is in the state that goes offline.
If concussion interface enters holddown and keeps down, and opposite end interface is in up states, and opposite equip. may
Service message is sent into this routing device, message reached and lost in down states due to shaking interface after this routing device
Abandon, cause service impact.In order to avoid the situation of interface one end up one end down, this concussion equipment can be closed in suppression shape
The photophore of state interface, makes to can not receive end interface optical signal and also links down, so as to avoid service impact.
In a kind of possible implementation, routing device carries out suppression process to shaking interface, including:Routing device is not
Process shaking the interface on-line message reported in preset time period and the message that goes offline.
The protocol module of routing device is received after the multiple concussion message of same concussion interface, is closed to shaking message
And process.Specifically, routing device can by report in preset time period a up message and down message merge to
Disappear.The response times of up/down message can be so reduced, so as to reduce agreement amount of calculation.
In a kind of possible implementation, state parameter includes at least one in the following:The shake of routing device
Swing the quantity of interface, the concussion frequency of each concussion interface, each is shaken in interface Routing Protocol, the routing device that are run
Neighbours' quantity of each Routing Protocol in utilization rate, the Routing Protocol of central processor CPU, the route quantity of each Routing Protocol,
The neighbor state of each Routing Protocol, neighbor state includes concussion state and non-oscillating state.
Alternatively, Routing Protocol can be ISIS agreements, ospf protocol, bgp protocol, note distribution protocol (Label
Distribution Protocol, LDP) etc. agreement.
In a kind of possible implementation, routing device is according to state parameter, it is determined whether the concussion to routing device
Interface carries out suppression process, including:Whether one of them of routing device in state parameter is more than or equal to pre-determined threshold,
Or whether be all higher than according to state parameter or equal to corresponding pre-determined threshold, it is determined whether the concussion interface of routing device is carried out
Suppression is processed;Wherein, when it is determined that carrying out suppressing to process to concussion interface, routing device carries out suppression process to shaking interface,
Including:When one of them in state parameter is more than or equal to pre-determined threshold, or state parameter is all higher than or pre- equal to corresponding
Gating is prescribed a time limit, and routing device carries out suppression process to shaking interface.
In a kind of possible implementation, method also includes:When one of them in state parameter is less than pre-determined threshold,
Or state parameter is when being respectively less than corresponding pre-determined threshold, routing device is cancelled the suppression to shaking interface and is processed.
Second aspect, there is provided a kind of routing device, for performing any possible reality of first aspect or first aspect
Method in existing mode.Specifically, the routing device includes any possible reality for performing first aspect or first aspect
The unit of the method in existing mode.
A kind of third aspect, there is provided routing device, the routing device includes memory and processor, and the memory is used for
Storage computer program, the processor is used to that the computer program to be called and run from memory so that the routing device is held
Method in any possible implementation of the above-mentioned first aspect of row and first aspect.
Fourth aspect, there is provided a kind of computer program, the computer program includes:Computer program generation
Code, the processing unit of routing device, Transmit-Receive Unit or processor, transceiver in the computer program code is by first aspect
During operation so that the routing device performs the method in any possible implementation of first aspect and first aspect.
A kind of 5th aspect, there is provided computer-readable recording medium, for storing computer program, the computer program
Including the instruction for the method in any possible implementation for performing first aspect and first aspect.
Description of the drawings
Fig. 1 shows the configuration diagram of the routing device according to the embodiment of the present application.
Fig. 2 shows the indicative flowchart of the method for the suppression interface concussion according to the embodiment of the present application.
Fig. 3 shows the schematic block diagram of the routing device according to the embodiment of the present application.
Fig. 4 shows the schematic diagram of the routing device according to the embodiment of the present application.
Specific embodiment
Below in conjunction with the accompanying drawings, embodiments herein is described.
Fig. 1 is the configuration diagram of the routing device according to the embodiment of the present application.As shown in figure 1, routing device 100 includes
Detection module 110, diagnostic module 120 and processing module 130.It should be understood that routing device 100 can be router.
Detection module 110 is by the concussion interface quantity to routing device 100, concussion frequency, the CPU of each concussion interface
One or more state parameter relevant with interface concussion such as utilization rate detected, state parameter is input into diagnostic module
120;Diagnostic module 120 judges the current state of routing device to the routing device system according to one or more state parameter
Affect, if it is determined that routing device system has risk, then notification handler module 130 carries out suppression process, it is to avoid routing device
System risk.
With reference to Fig. 2, the method for interface concussion that suppresses according to the application is described in detail.
S210, routing device is detected to state parameter relevant with interface concussion on routing device.
Specifically, detection module 110 can periodically or non-periodically detect at least one in the following state parameter:Road
Routing Protocol, the road run by the quantity of the concussion interface of equipment, the concussion frequency of each concussion interface, each concussion interface
By neighbours' quantity of each Routing Protocol in the utilization rate of the central processor CPU of equipment, Routing Protocol, each Routing Protocol
Route quantity, the neighbor state of each Routing Protocol, neighbor state includes concussion state and non-oscillating state.
The concussion frequency of concussion interface can be using unit time/second (s) expression.Route association involved by the embodiment of the present application
View can be ISIS agreements, ospf protocol, bgp protocol, note distribution protocol (Label Distribution Protocol,
The agreement such as LDP).
When the neighbor state of Routing Protocol is judged, can be judged according to prior art.For example, if in a timing
Between in section, can receive during a certain interface to a certain protocol neighbors, the message of such as bgp neighbor, when and can not receive
The message of bgp neighbor, then it is assumed that the bgp neighbor is in concussion state.It should be understood that only illustrated with the embodiment herein,
And and not this Applicant's Abstract graph particular determination.
S220, routing device is according to the state parameter, it is determined whether the concussion interface of routing device is carried out at suppression
Reason.
Specifically, the step can be performed by diagnostic module 120.Detection module 110 can report above-mentioned state parameter
To diagnostic module 120, diagnostic module 120 connects according to state parameter, such as quantity of the concussion interface of routing device, each concussion
Each Routing Protocol in Routing Protocol, the utilization rate of CPU, Routing Protocol that the concussion frequency of mouth, each concussion interface are run
Neighbours' quantity, the route quantity of each Routing Protocol, the neighbor state of each Routing Protocol, neighbor state include concussion state
With at least one in non-oscillating state, it is determined whether carry out suppression process to the concussion interface of routing device.For example, route sets
Standby one of which that can only in above-mentioned every state parameter, it is determined whether the concussion interface of routing device is suppressed
Process.And for example, routing device can consider the wherein multinomial or all item in above-mentioned every state parameter, it is determined whether right
The concussion interface of routing device carries out suppression process.
S230, when it is determined that carrying out suppressing to process to concussion interface, routing device carries out suppression process to shaking interface.
The application suppresses the method that interface shakes, and routing device is by the detection routing device relevant with interface concussion
State parameter, it is determined whether carry out suppression process to shaking interface, it is actively right when needing that concussion interface is carried out suppressing to process
Concussion interface carries out suppression process.Because the method need not be participated in manually, routing device can be main according to oneself state parameter
It is dynamic to carry out suppression process such that it is able to improve the efficiency for suppressing interface concussion.The method can also be widely used in existing network, and
While liberating artificial, when manual configuration interface concussion can be avoided to suppress order, part of interface omits the problem of configuration.
It is non-limiting as an example, in routing device according to state parameter, it is determined whether the concussion interface to routing device
When carrying out suppressing to process, whether routing device can be more than pre-determined threshold according to state parameter, it is determined whether the route is set
Standby concussion interface carries out suppression process.
It should be understood that pre-determined threshold can be the threshold value of the advance equipment of system of routing device, the pre-determined threshold can be deposited
In being stored in diagnostic module 120.
Alternatively, routing device can be somebody's turn to do according to whether the one of which in the state parameter of routing device is more than or equal to
The pre-determined threshold of item, it is determined whether suppression process is carried out to the concussion interface of the routing device.When routing device determines the road
When being more than or equal to this pre-determined threshold by the one of which in the state parameter of equipment, carry out at suppression to shaking interface
Reason.When pre-determined threshold of the one of which in the state parameter that routing device determines the routing device less than this, not to shake
Swinging interface carries out suppression process.
Alternatively, whether the wherein multinomial or all item that routing device can be in the state parameter of routing device is big
In or equal to every pre-determined threshold, it is determined whether suppression process is carried out to the concussion interface of routing device.When routing device it is true
Determine the wherein multinomial or all item in the state parameter of routing device to be all higher than or during equal to every pre-determined threshold, concussion is connect
Mouth carries out suppression process.When the wherein multinomial or all item in the state parameter that routing device determines routing device has one of which
During less than the pre-determined threshold, suppression process is not carried out to shaking interface.Alternatively, when routing device determines the shape of routing device
In wherein multinomial or all item in state parameter, have it is multinomial be all higher than or equal to corresponding pre-determined threshold, and only small part is little
When corresponding pre-determined threshold, routing device carries out suppression process to shaking interface.
In the embodiment of the present application, when diagnostic module 120 is determined to shaking notification handler module when interface carries out suppressing to process
130, the suppression performed to shaking interface by processing module 130 is processed.
Alternatively, when routing device carries out suppressing to process to shaking interface, following several ways can be adopted.Namely
Say, processing module 130 can carry out suppression process using following several ways to shaking interface.
Mode one:
Routing device to concussion interface transmission concussion suppresses parameter, concussion to suppress parameter and be in for control concussion interface
Line states.
Specifically, when it is determined that carrying out suppressing to process to concussion interface, routing device to concussion interface issues concussion suppression
Parameter, makes concussion interface enter holddown, during suppression shake interface remain down states, it is to avoid routing device its
His module, the frequently response interface concussion of such as CPU, protocol module.
It should be understood that protocol module here is used to process the agreement layer service of the routing device.
Mode two:
Routing device closes the photophore of concussion interface, so that concussion interface to end interface is in the state of going offline.
Keep down, and opposite end interface in up states of reaching the standard grade if concussion interface enters holddown, opposite equip. can
Service message can be sent to this routing device, message is reached after this routing device due to shaking interface in down states
Abandon, cause service impact.In order to avoid the situation of interface one end up one end down, this concussion equipment can be closed in suppression
The photophore of state interface, makes to can not receive end interface optical signal and also links down, so as to avoid service impact.
Mode three:
Routing device is not to shaking at reach the standard grade (up) message and the message that goes offline that interface is reported in preset time period
Reason.
The protocol module of routing device is received after the multiple concussion message of same concussion interface, is closed to shaking message
And process.Specifically, routing device can by report in preset time period a up message and down message merge to
Disappear.The response times of up/down message can be so reduced, so as to reduce agreement amount of calculation.
For example, if a certain concussion interface has successively reported up message, down message and up in 100 milliseconds (ms)
Message, then the protocol module can ignore the up message and down message for first reporting, at the up message for only reporting to after
Reason.And for example, if a certain concussion interface has successively reported up message, down message, up message, down in 100 milliseconds (ms)
Message and up message, then the protocol module can ignore the adjacent two group up message and down message for first reporting, only to most
The up message for reporting afterwards is processed.
Alternatively, the method can also include:When one of them in state parameter is less than pre-determined threshold, or the state
When parameter is respectively less than corresponding pre-determined threshold, routing device is cancelled the suppression to shaking interface and is processed.
Specifically, routing device is carried out at suppression according to the state parameter of routing device to the concussion interface of routing device
After reason.If after a period of time, routing device detects the one of which of state parameter less than this pre-determined threshold, or inspection again
The pre-determined threshold for measuring wherein multinomial or all of item is respectively less than pre-determined threshold, then cancel the suppression to shaking interface and process, example
The photophore of concussion interface is such as opened, is sent under concussion interface and is exited suppression parameter, so as to control concussion interface suppression is exited
State etc..
So that state parameter is for the quantity for shaking interface as an example, if it is 3 that routing device detects the quantity of concussion interface, greatly
In pre-determined threshold 2, then suppression process is carried out to this 3 interfaces, for example, sends concussion to this 3 interfaces and suppress parameters, control this 3
Individual interface is in the state that goes offline.But if after a period of time, such as after 2 minutes, the quantity for shaking interface is reduced to 1 or owns
During the equal normal work of interface, then routing device can cancel the suppression to this 3 interfaces and process, for example, issue to 3 interfaces
Suppression parameter is exited, control concussion interface exits holddown etc..
It should be noted that, although routing device detect concussion interface quantity be 3 when, to this 3 concussion interfaces enter
Row suppression is processed, but afterwards routing device still can detect that 3 interfaces are the reason for whether concussion, and suppression process can be
Protocol layer is processed, and it is the physical state for detecting interface to detect whether interface shakes, and both do not influence each other.
In order to help those skilled in the art to more fully understand the application, the application is entered below in conjunction with specific embodiment
Row is further described.It should be noted that the specific embodiment more fully understands this only to assist in those skilled in the art
The technical scheme of application, and not to the restriction of the application.
As the application one embodiment, the quantity and cpu busy percentage of routing device detection concussion interface.If concussion connects
Mouth quantity is zero, is illustrated without interface in concussion state, then need not perform follow-up suppression handling process.If concussion number of ports
Amount is not zero, then whether routing device judges cpu busy percentage more than default cpu busy percentage thresholding, when cpu busy percentage is more than default
During cpu busy percentage thresholding, routing device carries out suppression process to shaking interface;When cpu busy percentage it is sharp less than or equal to default CPU
During with rate thresholding, illustrate the temporary devoid of risk of routing device, can be shaken with response interface, now not to shake interface carry out at suppression
Reason.
As the frequency of oscillation of another specific embodiment, routing device detection concussion interface quantity and each concussion interface,
According to detection concussion interface quantity and the frequency of oscillation of each concussion interface, it is determined whether carry out suppression process.Routing device pin
To shaking interface quantity, default concussion frequency threshold may be different.For example, system can pre-set concussion interface quantity it is big
In 0 less than 3 when concussion frequency threshold be 10 times/s, shake interface quantity more than 2 less than 5 when concussion frequency threshold be 5 times/
s.It is 3 when routing device detects concussion interface quantity, frequency of each concussion interface is respectively 6 times/s, 7 times/s, 6 times/s
When, suppression process is carried out to this 3 concussion interfaces.If it is 3 that routing device detects concussion interface quantity, each concussion interface
Frequency be respectively 6 times/s, 3 times/s, during 3 times/s, then suppression process is not carried out to this 3 concussion interfaces.
The reason for causing CPU processing pressures big in view of interface concussion:1) for ISIS/OSPF agreements, will shake
Swing Interface status to be flooded to all neighbours, because neighbours' quantity is up to hundreds of or more ranks, CPU processing pressures are very
Greatly;2) if it is BGP route outgoing interfaces to shake interface, a large amount of BGP routes need convergence, and big route scene process pressure is very big.
Used as another embodiment is applied for, routing device considers utilization rate, concussion interface quantity and the protocol neighbors quantity of CPU, really
It is fixed whether to carry out suppression process.For example, when cpu busy percentage is 98%, more than default cpu busy percentage 80%, interface quantity is shaken
For 4, more than default concussion interface quantity 3, and protocol neighbors quantity is 500, during more than preset protocol neighbours' quantity 200, then road
Suppression process is carried out by equipment to shaking interface.And for example, when cpu busy percentage is 98%, more than default cpu busy percentage 80%, shake
It is 5 to swing interface quantity, and more than default concussion interface quantity 3, protocol neighbors quantity is 100, although less than preset protocol neighbours' number
When measuring 200, because cpu busy percentage is higher, and protocol neighbors quantity is larger, and now routing device also can be carried out to shaking interface
Suppression is processed.
Used as the another embodiment of the application, routing device can arrange the priority of every state parameter, and for example route sets
It is standby to pay the utmost attention to cpu busy percentage, the quantity of concussion interface, concussion frequency, the route of each Routing Protocol of each concussion interface
Quantity, when this quadrinomial parameter is all higher than the pre-determined threshold of items, then carries out suppression process to shaking interface.If in this three
There is one of which, such as cpu busy percentage is less than cpu busy percentage pre-determined threshold, and routing device can consider other ginsengs
Number, such as in each concussion interface is run Routing Protocol, Routing Protocol on the basis of neighbours' quantity of each Routing Protocol,
Judge whether again to carry out suppression process to shaking interface.For example, neighbours' quantity of each Routing Protocol is all higher than in Routing Protocol
During corresponding pre-determined threshold, routing device carries out suppression process to shaking interface.
Used as the another embodiment of the application, routing device is only considering individual event state parameter, only according to individual event state parameter
When judging whether to suppress to process, the pre-determined threshold of this state parameter can be arranged higher.And considering compared with multimode
Parameter, when judging whether to suppress to process according to this multimode parameter, can be correspondingly corresponding by this multinomial state parameter
Pre-determined threshold arranges more lower, if routing device detects this multimode parameter and is all higher than corresponding pre-determined threshold, enters
Row suppression is processed.In such manner, it is possible to largely ensure that routing device is in good running status.
More than, the suppression interface shake of the embodiment of the present application according to the embodiment of the present application is described in detail with reference to Fig. 1 and Fig. 2
The method swung.Hereinafter, the routing device according to the embodiment of the present application is described in detail with reference to Fig. 3 and Fig. 4.
Fig. 3 shows the schematic block diagram of the routing device 300 of the embodiment of the present application.As shown in figure 3, the routing device
300 include:Detector unit 310, judging unit 320 and processing unit 330.
It should be understood that the routing device 300 can correspond to the routing device 100 shown in Fig. 1.Specifically, in routing device 300
Detector unit 310, judging unit 320 and processing unit 330 detection module that can correspond respectively in routing device 100
110th, diagnostic module 120 and processing module 130.
It should be understood that the routing device 300 can correspond to the routing device described in said method, also, the routing device
Each module or unit are respectively used to perform each action in said method performed by routing device or processing procedure in 300, here,
In order to avoid repeating, description is omitted.
Fig. 4 shows the schematic diagram of the routing device 400 according to the embodiment of the present application.As shown in figure 4, the route
Equipment 400 includes:Transceiver 410, processor 420 and memory 430.Wherein, transceiver 410, processor 420 and memory
Communicated by internal connecting path between 430, transmission is controlled and/or data-signal.
Specifically, the routing device 400 can correspond to the routing device described in said method.In the routing device 400,
Processor 420 can be used to perform the method for embodiment illustrated in fig. 2, and realize function of the routing device in embodiment illustrated in fig. 2.
The embodiment of the present application can apply in processor, or be realized by processor.Processor can be a kind of integrated
Circuit chip, the disposal ability with signal.During realization, each step of said method embodiment can pass through processor
In the integrated logic circuit of hardware or the instruction of software form complete.Above-mentioned processor can be CPU
(Central Processing Unit, referred to as " CPU "), the processor can also be at other general processors, data signal
Reason device (Digital Signal Processor, referred to as " DSP "), special IC (Application Specific
Integrated Circuit, referred to as " ASIC "), ready-made programmable gate array (Field Programmable Gate
Array, referred to as " FPGA ") either other PLDs, discrete gate or transistor logic, discrete hardware group
Part.Can realize or perform disclosed each method in the embodiment of the present application, step and logic diagram.General processor can be with
It is microprocessor or the processor can also be any conventional processor etc..Method with reference to disclosed in the embodiment of the present application
The step of can be embodied directly in hardware decoding processor and perform and complete, or with the hardware in decoding processor and software device group
Close execution to complete.Software device may be located at random access memory, flash memory, read-only storage, and programmable read only memory or electricity can
In the ripe storage medium in this areas such as erasable programmable storage, register.The storage medium is located at memory, and processor is read
Information in access to memory, the step of complete said method with reference to its hardware.
It should also be understood that the memory in the embodiment of the present application can be volatile memory or nonvolatile memory, or
May include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, referred to as " ROM "), programmable read only memory
(Programmable ROM, referred to as " PROM "), Erasable Programmable Read Only Memory EPROM (ErasablePROM, letter
Claim " EPROM "), Electrically Erasable Read Only Memory (Electrically EPROM, referred to as " EEPROM ") or flash memory.Easily
The property lost memory can be random access memory (RandomAccess Memory, referred to as " RAM "), and it is used as outside high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, referred to as " SRAM "), dynamic random access memory (Dynamic RAM, referred to as " DRAM "), synchronous dynamic with
Machine access memory (Synchronous DRAM, referred to as " SDRAM), double data speed synchronous dynamic RAM
(Double Data Rate SDRAM, referred to as " DDR SDRAM "), enhancement mode Synchronous Dynamic Random Access Memory
(Enhanced SDRAM, referred to as " ESDRAM "), synchronized links dynamic random access memory (Synchlink DRAM, referred to as
" SLDRAM ") and direct rambus random access memory (Direct Rambus RAM, referred to as " DR RAM ").It should be noted that
The memory of system and method described herein is intended to including but not limited to these memories with any other suitable type.
It should be understood that in the various embodiments of the application, the size of the sequence number of above-mentioned each process is not meant to that execution is suitable
The priority of sequence, the execution sequence of each process should determine with its function and internal logic, and should not be to the enforcement of the embodiment of the present application
Process constitutes any restriction.
During realization, each step of said method can pass through the integrated logic circuit of the hardware in processor or
The instruction of software form is completed.The step of processing method of the communication interface failure with reference to disclosed in the embodiment of the present application, can be straight
Connect and be presented as that hardware processor execution is completed, or completed with the hardware in processor and the combination execution of software device.Software device can
With positioned at random access memory, flash memory, read-only storage, are posted at programmable read only memory or electrically erasable programmable memory
In the ripe storage medium in this areas such as storage.The storage medium is located at memory, and processor reads the information in memory, knot
The step of closing its hardware and complete said method.To avoid repeating, it is not detailed herein.
Those of ordinary skill in the art are it is to be appreciated that the list of each example with reference to the embodiments described herein description
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding
Scope of the present application.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with
Realize by another way.For example, device embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing
Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with
In being stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of the application each embodiment methods described.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, the protection domain of the only specific embodiment of the application, but the application is not limited thereto, any
Those familiar with the art can readily occur in change or replacement in the technical scope that the application is disclosed, and all should contain
Cover within the protection domain of the application.Therefore, the protection domain of the application should be defined by the scope of the claims.
Claims (14)
1. a kind of method that suppression interface shakes, it is characterised in that include:
Routing device is detected to state parameter relevant with interface concussion on the routing device;
The routing device is according to the state parameter, it is determined whether the concussion interface of the routing device is carried out at suppression
Reason;
When it is determined that carrying out suppressing to process to the concussion interface, the routing device is carried out at suppression to the concussion interface
Reason.
2. the method for claim 1, it is characterised in that the routing device is carried out at suppression to the concussion interface
Reason, including:
The routing device sends concussion and suppresses parameter, the concussion to suppress parameter to be used to control the shake to the concussion interface
Interface is swung in the state that goes offline.
3. method as claimed in claim 2, it is characterised in that methods described also includes:
The routing device closes the photophore of the concussion interface, so that the opposite end interface of the concussion interface is in the shape that goes offline
State.
4. the method for claim 1, it is characterised in that the routing device is carried out at suppression to the concussion interface
Reason, including:
The routing device is not shaken at the interface on-line message reported in preset time period and the message that goes offline described
Reason.
5. the method as any one of Claims 1-4, it is characterised in that the state parameter is included in the following
At least one:
The quantity of the concussion interface of the routing device, the concussion frequency of each concussion interface, described each concussion interface are transported
Each Routing Protocol in capable Routing Protocol, the utilization rate of the central processor CPU of the routing device, the Routing Protocol
Neighbours' quantity, the route quantity of each Routing Protocol, the neighbor state of each Routing Protocol, the neighbor state bag
Include concussion state and non-oscillating state.
6. the method as any one of claim 1 to 5, it is characterised in that the routing device is joined according to the state
Number, it is determined whether suppression process is carried out to the concussion interface of the routing device, including:
Whether one of them of the routing device in the state parameter is more than or equal to pre-determined threshold, or according to described
Whether state parameter is all higher than or equal to corresponding pre-determined threshold, it is determined whether the concussion interface of the routing device is pressed down
System process;
Wherein, when it is determined that carrying out suppressing to process to the concussion interface, the routing device presses down to the concussion interface
System process, including:
When one of them in the state parameter is more than or equal to pre-determined threshold, or the state parameter is all higher than or equal to right
During the pre-determined threshold answered, the routing device carries out the suppression process to the concussion interface.
7. method as claimed in claim 6, it is characterised in that methods described also includes:
When one of them in the state parameter is less than pre-determined threshold, or the state parameter is respectively less than corresponding pre-determined threshold
When, the routing device cancels the suppression process to the concussion interface.
8. a kind of routing device, it is characterised in that include:
Detector unit, for detecting to state parameter relevant with interface concussion on the routing device;
Judging unit, for the state parameter detected according to the detector unit, it is determined whether to the routing device
Concussion interface carry out suppression process;
Processing unit, for when the judging unit determines that carry out suppression to the concussion interface is processed, connecing to the concussion
Mouth carries out suppression process.
9. routing device as claimed in claim 8, it is characterised in that the processing unit specifically for:
Concussion suppression parameter is sent to the interface that shakes, the concussion suppresses parameter and is in for controlling the concussion interface
Line states.
10. routing device as claimed in claim 9, it is characterised in that the processing unit is additionally operable to:
The photophore of the concussion interface is closed, so that the opposite end interface of the concussion interface is in the state that goes offline.
11. routing devices as claimed in claim 8, it is characterised in that the processing unit specifically for:
The on-line message and the message that goes offline not reported in preset time period to the concussion interface is processed.
12. routing devices as any one of claim 8 to 11, it is characterised in that the state parameter includes following
At least one in items:
The quantity of the concussion interface of the routing device, the concussion frequency of each concussion interface, described each concussion interface are transported
Each Routing Protocol in capable Routing Protocol, the utilization rate of the central processor CPU of the routing device, the Routing Protocol
Neighbours' quantity, the route quantity of each Routing Protocol, the neighbor state of each Routing Protocol, the neighbor state bag
Include concussion state and non-oscillating state.
13. routing devices as any one of claim 8 to 12, it is characterised in that the judging unit specifically for:
Whether pre-determined threshold is more than or equal to according to one of them in the state parameter that the detector unit is detected, or
Whether it is all higher than according to the state parameter that the detector unit is detected or equal to corresponding pre-determined threshold, it is determined whether right
The concussion interface of the routing device carries out suppression process;
Wherein, the processing unit specifically for:
One of them in the judging unit determines the state parameter is more than or equal to pre-determined threshold, or state ginseng
Number is all higher than or during equal to corresponding pre-determined threshold, and to the concussion interface suppression process is carried out.
14. routing devices as claimed in claim 13, it is characterised in that the processing unit is additionally operable to:
One of them in the judging unit determines the state parameter is little less than pre-determined threshold, or the state parameter
When corresponding pre-determined threshold, cancel and the suppression of the concussion interface is processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611227538.1A CN106656608A (en) | 2016-12-27 | 2016-12-27 | Method for inhibiting interface oscillation, and routing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611227538.1A CN106656608A (en) | 2016-12-27 | 2016-12-27 | Method for inhibiting interface oscillation, and routing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106656608A true CN106656608A (en) | 2017-05-10 |
Family
ID=58832691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611227538.1A Pending CN106656608A (en) | 2016-12-27 | 2016-12-27 | Method for inhibiting interface oscillation, and routing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656608A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108011661A (en) * | 2017-11-29 | 2018-05-08 | 清华大学 | A kind of satellite network route oscillation suppressing method and system |
CN108847965A (en) * | 2018-05-30 | 2018-11-20 | 新华三技术有限公司 | Cluster member state shakes prevention method and device |
CN112804141A (en) * | 2018-09-06 | 2021-05-14 | 华为技术有限公司 | Method for sending message, network equipment and computer storage medium |
CN113746747A (en) * | 2021-08-31 | 2021-12-03 | 烽火通信科技股份有限公司 | LSP message flow control method and system |
CN114221896A (en) * | 2021-11-11 | 2022-03-22 | 新华三大数据技术有限公司 | Method and device for inhibiting BGP (Border gateway protocol) routing oscillation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227262A (en) * | 2008-02-20 | 2008-07-23 | 中兴通讯股份有限公司 | System and method of route inhibiting |
CN101291545A (en) * | 2008-06-04 | 2008-10-22 | 杭州华三通信技术有限公司 | Light path protected seamless switching method and light path protecting equipment |
CN101867502A (en) * | 2010-06-02 | 2010-10-20 | 中兴通讯股份有限公司 | Method and device for inhibiting port oscillation |
-
2016
- 2016-12-27 CN CN201611227538.1A patent/CN106656608A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227262A (en) * | 2008-02-20 | 2008-07-23 | 中兴通讯股份有限公司 | System and method of route inhibiting |
CN101291545A (en) * | 2008-06-04 | 2008-10-22 | 杭州华三通信技术有限公司 | Light path protected seamless switching method and light path protecting equipment |
CN101867502A (en) * | 2010-06-02 | 2010-10-20 | 中兴通讯股份有限公司 | Method and device for inhibiting port oscillation |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108011661A (en) * | 2017-11-29 | 2018-05-08 | 清华大学 | A kind of satellite network route oscillation suppressing method and system |
CN108011661B (en) * | 2017-11-29 | 2020-01-14 | 清华大学 | Satellite network routing oscillation suppression method and system |
CN108847965A (en) * | 2018-05-30 | 2018-11-20 | 新华三技术有限公司 | Cluster member state shakes prevention method and device |
CN108847965B (en) * | 2018-05-30 | 2022-01-25 | 新华三技术有限公司 | Cluster member state oscillation prevention method and device |
CN112804141A (en) * | 2018-09-06 | 2021-05-14 | 华为技术有限公司 | Method for sending message, network equipment and computer storage medium |
CN112804141B (en) * | 2018-09-06 | 2023-09-26 | 华为技术有限公司 | Method for transmitting message, network equipment and computer storage medium |
CN113746747A (en) * | 2021-08-31 | 2021-12-03 | 烽火通信科技股份有限公司 | LSP message flow control method and system |
CN113746747B (en) * | 2021-08-31 | 2023-05-30 | 烽火通信科技股份有限公司 | LSP message flow control method and system |
CN114221896A (en) * | 2021-11-11 | 2022-03-22 | 新华三大数据技术有限公司 | Method and device for inhibiting BGP (Border gateway protocol) routing oscillation |
CN114221896B (en) * | 2021-11-11 | 2023-12-26 | 新华三大数据技术有限公司 | BGP route oscillation suppression method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106656608A (en) | Method for inhibiting interface oscillation, and routing device | |
US11240153B1 (en) | Scoring policies for predictive routing suggestions | |
EP3439241B1 (en) | Using machine learning to monitor link quality and predict link faults | |
CN105745870B (en) | Extend operation from for detecting the serial multistage filter flowed greatly removal nose filter to remove stream to realize | |
CN106656801A (en) | Method and device for redirection of forwarding path of business flow and business flow forwarding system | |
CN104579770A (en) | Method and device for managing data transmission channels | |
CN104012051A (en) | An ip fast reroute scheme offering full protection | |
CN108173911A (en) | A kind of micro services fault detect processing method and processing device | |
CN109478940B (en) | Deterministic, calibrated, synchronized internetworking access | |
WO2017215378A1 (en) | Software-defined network, node, path calculation method and device, and storage medium | |
CN102484611B (en) | Link state identifier collision handling | |
CN106533973A (en) | Method and system for distributing service message, and equipment | |
US20230216738A1 (en) | Systems and methods for controlling the deployment of network configuration changes based on weighted impact | |
CN108293003A (en) | Distribution figure handles the fault-tolerant of network | |
JP2017506847A (en) | Method and system for providing failover and failback in a multi-network router | |
CN105515970B (en) | A kind of method and apparatus being used for transmission message | |
CN107656847A (en) | Node administration method, system, device and storage medium based on distributed type assemblies | |
CN104168192A (en) | Rerouting method and device in fault network | |
CN108270677A (en) | A kind of fast route convergence method and device | |
Yusuf et al. | Distributed controller placement in software-defined networks with consistency and interoperability problems | |
CN108235800A (en) | A kind of network failure probing method and control centre's equipment | |
CN106506622A (en) | A kind of core business processing method and processing device | |
CN103931139B (en) | Method and device for redundancy protection, and device and system | |
Yallouz et al. | Tunable survivable spanning trees | |
CN109560961B (en) | Virtual network service chain deployment method for improving availability based on superposition |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |