CN107547368A - BFD conversation switching methods, device and storage medium - Google Patents
BFD conversation switching methods, device and storage medium Download PDFInfo
- Publication number
- CN107547368A CN107547368A CN201710661245.2A CN201710661245A CN107547368A CN 107547368 A CN107547368 A CN 107547368A CN 201710661245 A CN201710661245 A CN 201710661245A CN 107547368 A CN107547368 A CN 107547368A
- Authority
- CN
- China
- Prior art keywords
- bfd
- sessions
- hardware
- pattern
- software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The embodiment of the present disclosure is related to a kind of BFD conversation switching methods, device and storage medium.This method includes:When detecting that hardware conversation modes do not support BFD sessions, start the software sessions pattern for supporting BFD sessions;Under the software sessions pattern, BFD messages are sent to opposite equip. corresponding to the BFD sessions, stop the BFD sessions under the hardware conversation modes;And when receiving the BFD messages that the opposite equip. is sent, the BFD sessions are maintained under the software sessions pattern.BFD conversation switching methods, device and the storage medium of the embodiment of the present disclosure, when the configuration variation that can be realized in BFD sessions causes the hardware conversation modes not support BFD sessions, BFD sessions are smoothly switched to software sessions pattern by hardware conversation modes, BFD sessions are avoided to shake, so as to avoid customer service from shaking.
Description
Technical field
The embodiment of the present disclosure is related to communication technical field, more particularly to a kind of BFD conversation switching methods, device and storage are situated between
Matter.
Background technology
BFD (Bidirectional Forwarding Detection, two-way converting detection) is a kind of general, standard
Quick fault testing mechanism change, that medium is unrelated and agreement is unrelated, for detecting the connection situation of link in network, ensures to set
Communication failure can be quickly detected between standby, so as to take measures in time, ensures business continuous service.BFD can be
Various upper-layer protocols such as Routing Protocol, MPLS (Multi-Protocol Label Switching, multiprotocol label switching)
Etc. the failure in two-way converting path between two equipment of quick detection.
At present, BFD can have two kinds of implementations of pure software or software and hardware combining.Pure software is realized by software programming
The maintenance of BFD sessions.Software and hardware combining is SDK (the Software Development by software transfer BFD special chips
Kit, SDK), chip realizes the maintenance of BFD sessions.In general, chip can only be realized according to standard agreement,
Excessively complicated logic can not be handled.And realize that the maintenance of BFD sessions there may be defect by chip, such as do not support to detect
Pattern, or operational mode etc. is not supported.In the above case said, can select to switch to the BFD sessions that chip is safeguarded using soft
Part is safeguarded.
In correlation technique, after the BFD sessions of chip maintenance are established, cause if finding the configuration variation of BFD sessions
Chip is unsatisfactory for BFD sessions and safeguards condition, then needs that BFD sessions first are arranged into Admin Down (operational session is closed)
State, session negotiation is then re-started again to establish the BFD sessions of software program maintenance, and the transfer process may result in
BFD sessions are shaken, and then cause customer service to be shaken.
The content of the invention
In view of this, the embodiment of the present disclosure proposes a kind of BFD conversation switching methods, device and storage medium, to reduce
The phenomenon for causing BFD sessions to be shaken when BFD sessions are switched to software sessions pattern by hardware conversation modes in correlation technique.
According to the one side of the embodiment of the present disclosure, there is provided a kind of BFD conversation switching methods, including:
When detecting that hardware conversation modes do not support BFD sessions, start the software sessions pattern for supporting BFD sessions;
Under the software sessions pattern, BFD messages are sent to opposite equip. corresponding to the BFD sessions, described in termination
The BFD sessions under hardware conversation modes;And when receiving the BFD messages that the opposite equip. is sent, described soft
The BFD sessions are maintained under part conversation modes.
In a kind of possible implementation, the BFD sessions are maintained under the software sessions pattern, including:
Periodically BFD messages are sent to the opposite equip.;
Periodically detect the BFD messages that the opposite equip. is sent.
In a kind of possible implementation, the BFD messages include being used for the status information for representing BFD session status,
It is then described to maintain the BFD sessions under the software sessions pattern, including:It is determined to establish when according to the status information
During state Up BFD sessions, the BFD sessions are maintained under the software sessions pattern.
In a kind of possible implementation, stop the BFD sessions under the hardware conversation modes, including:
Delete the information of the BFD sessions in hardware chip;Or
Stop the hardware chip and periodically detect the BFD messages that the opposite equip. is sent.
According to the another aspect of the embodiment of the present disclosure, there is provided a kind of BFD conversation switching methods, including:
When detecting that hardware conversation modes support BFD sessions, start the hardware conversation modes;
Under the hardware conversation modes, the BFD messages stopped under software sessions pattern receive;When receiving the BFD
During the information of session, the BFD sessions are maintained under the hardware conversation modes;Stop the BFD under the software sessions pattern
Message is sent.
In a kind of possible implementation, the BFD sessions are maintained under the hardware conversation modes, including:
Periodically BFD messages are sent to opposite equip. corresponding to the BFD sessions;
Periodically detect the BFD messages that the opposite equip. is sent.
It is described to maintain the BFD sessions under the hardware conversation modes in a kind of possible implementation, including:
The information of the BFD sessions is loaded into hardware chip, maintains the BFD sessions.
According to the another aspect of the embodiment of the present disclosure, there is provided a kind of BFD sessions switching device, including:
Software sessions pattern starting module, for when detecting that hardware conversation modes do not support BFD sessions, starting and supporting
The software sessions pattern of BFD sessions;
First handover module, under the software sessions pattern, being sent to opposite equip. corresponding to the BFD sessions
BFD messages, stop the BFD sessions under the hardware conversation modes;And receiving what the opposite equip. was sent
During BFD messages, the BFD sessions are maintained under the software sessions pattern.
In a kind of possible implementation, first handover module includes:
First sending module, for periodically sending BFD messages to the opposite equip.;
First detection module, the BFD messages sent for periodically detecting the opposite equip..
In a kind of possible implementation, the BFD messages include being used for the status information for representing BFD session status,
Then first handover module includes:Maintenance module, for as the BFD for being determined to establish state Up according to the status information
During session, the BFD sessions are maintained under the software sessions pattern.
In a kind of possible implementation, first handover module includes stopping module, is used for:
Delete the information of the BFD sessions in hardware chip;Or
Stop the hardware chip and periodically detect the BFD messages that the opposite equip. is sent.
According to the another aspect of the embodiment of the present disclosure, there is provided a kind of BFD sessions switching device, including:
Hardware conversation modes starting module, it is described hard for when detecting that hardware conversation modes support BFD sessions, starting
Part conversation modes;
Second handover module, under the hardware conversation modes, the BFD messages stopped under software sessions pattern to connect
Receive;When receiving the information of the BFD sessions, the BFD sessions are maintained under the hardware conversation modes;Stop described soft
BFD messages under part conversation modes are sent.
In a kind of possible implementation, second handover module includes:
Second sending module, for periodically sending BFD messages to the opposite equip.;
Second detection module, the BFD messages sent for periodically detecting the opposite equip..
In a kind of possible implementation, second handover module includes insmoding, and is used for:
The information of the BFD sessions is loaded into hardware chip, maintains the BFD sessions.
According to the another aspect of the embodiment of the present disclosure, there is provided a kind of machinable medium, be stored with machine and can perform
Instruction, when being called and being performed by processor, the machine-executable instruction promotes to realize during the computing device above-mentioned
Method.
BFD conversation switching methods, device and the storage medium of the embodiment of the present disclosure, when detecting that hardware conversation modes do not prop up
When holding BFD sessions, start the software sessions pattern for supporting BFD sessions, under software sessions pattern, to right corresponding to BFD sessions
End equipment sends BFD messages, stops the BFD sessions under hardware conversation modes, and receiving the BFD reports of opposite equip. transmission
Wen Shi, BFD sessions are maintained under software sessions pattern, thus, it is possible to realize that the configuration variation in BFD sessions causes hardware session
When pattern does not support BFD sessions, BFD sessions are smoothly switched to software sessions pattern by hardware conversation modes, avoid BFD meetings
Words are shaken, so as to avoid customer service from shaking.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the further feature and aspect of the embodiment of the present disclosure
It will be clear.
Brief description of the drawings
Comprising in the description and the accompanying drawing of a part for constitution instruction and specification together illustrate the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principle of the disclosure.
Fig. 1 shows the flow chart of the BFD conversation switching methods according to the embodiment of the embodiment of the present disclosure one.
Fig. 2 shows a schematical flow chart of the BFD conversation switching methods according to an embodiment.
Fig. 3 shows the flow chart of the BFD conversation switching methods according to the embodiment of the disclosure one.
Fig. 4 shows a schematical flow chart of the BFD conversation switching methods according to an embodiment.
Fig. 5 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.
Fig. 6 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.
Fig. 7 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.
Fig. 8 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.
Fig. 9 shows the block diagram for BFD sessions switching device 900 according to the embodiment of the disclosure one.
Embodiment
Describe various exemplary embodiments, feature and the aspect of the disclosure in detail below with reference to accompanying drawing.It is identical in accompanying drawing
Reference represent the same or analogous element of function.Although the various aspects of embodiment are shown in the drawings, remove
Non-specifically point out, it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " is meant " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details is given in embodiment below.
It will be appreciated by those skilled in the art that without some details, the disclosure can equally be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
The embodiment of the present disclosure provides a kind of BFD conversation switching methods, can include:
When detecting that hardware conversation modes do not support BFD sessions, start the software sessions pattern for supporting BFD sessions;
Under the software sessions pattern, BFD messages are sent to opposite equip. corresponding to the BFD sessions, described in termination
The BFD sessions under hardware conversation modes;And when receiving the BFD messages that the opposite equip. is sent, described soft
The BFD sessions are maintained under part conversation modes.
Wherein, BFD sessions are maintained to refer to the SDK by software transfer BFD special chips under hardware conversation modes, and
The maintenance of BFD sessions is realized by BFD special chips.BFD sessions are maintained to refer to by software journey under software sessions pattern
Sequence realizes the maintenance of BFD sessions.
The embodiment of the present disclosure can realize that the configuration variation in BFD sessions causes hardware conversation modes not support BFD sessions
When, BFD sessions are smoothly switched to software sessions pattern by hardware conversation modes, avoid BFD sessions from shaking, so as to keep away
Exempt from customer service concussion.
In the disclosed embodiments, one group of BFD session is maintained to include two aspects:On the one hand it is that local device sends BFD
Message (optional, message can be sent in the first preset time period), on the other hand receive the BFD messages of opposite equip. transmission
(optional, message is received in the second preset time period).Either software sessions pattern or hardware conversation modes, when
Opposite equip. can receive BFD messages, BFD sessions not Down;When receiving BFD messages, the BFD sessions are maintained.In this public affairs
Open in embodiment, BFD session Down, refer to that BFD sessions are closed.
In certain embodiments, the BFD sessions of hardware conversation modes are smoothly switched under software sessions pattern and maintained,
Then show that current BFD sessions are unable to Down when conversation modes switch.Exemplary, can be complete within a BFD session cycle
Into the switching of conversation modes, now current BFD sessions not Down.Optionally, a BFD session cycle can include:Locally set
The standby BFD messages that opposite equip. transmission is received to opposite equip. transmission BFD messages and local device.
In certain embodiments, two timers can be set:First timer and second timer, wherein, the first timing
Device is set the first preset time period progress timing that BFD messages are sent to local device, when first timer time-out, this
Ground equipment sends BFD messages;Second timer, which is set, to be received the second preset time period of BFD messages to local device and enters
Row timing, when second timer time-out, show that local device does not receive BFD messages in the second preset time period.When
Local device starts timing to first timer during opposite equip. transmission BFD messages, and is received in the second preset time period
The BFD messages sent to opposite equip. start second timer timing.If local device does not connect in the second preset time period
Receive the BFD messages of opposite equip. transmission, then it represents that BFD session Down, now need to re-establish BFD sessions with opposite equip..
Stop after being sent due to BFD messages of the embodiment of the present disclosure under software sessions pattern under hardware conversation modes
BFD sessions, therefore the not Down of the BFD sessions under hardware conversation modes;Opposite equip. transmission is received under software sessions pattern
During BFD messages, the switching of conversation modes is completed within a BFD session cycle, BFD sessions are smoothly switched to software meeting
Maintained under words pattern.Optionally, under software sessions pattern, local device receives opposite end in the second preset time period and set
The BFD messages that preparation is sent.The embodiment of the present disclosure can realize that the configuration variation in BFD sessions causes hardware conversation modes not supported
During BFD sessions, BFD sessions are smoothly switched to software sessions pattern by hardware conversation modes, avoid BFD sessions from shaking
Swing, so as to avoid customer service from shaking.
Fig. 1 shows the flow chart of the BFD conversation switching methods according to the embodiment of the disclosure one.The executive agent of this method can
Think the equipment such as router, or the working plate in distributed communication equipment, the embodiment of the present disclosure are not restricted to this.Can
Choosing, the embodiment of the present disclosure is used to BFD sessions smoothly switching to the maintenance of software sessions pattern from hardware conversation modes.Such as figure
Shown in 1, in the method, local device maintains current BFD sessions under hardware conversation modes.
In step s 11, when detecting that hardware conversation modes do not support BFD sessions, the software for supporting BFD sessions is started
Conversation modes.
Wherein, BFD sessions are maintained to refer to the SDK by software transfer BFD special chips under hardware conversation modes, and
The maintenance of BFD sessions is realized by BFD special chips.BFD sessions are maintained to refer to by software journey under software sessions pattern
Sequence realizes the maintenance of BFD sessions.Generally, due to BFD special chips have preferable maintainability, in hardware conversation modes
In the case of being able to maintain that BFD sessions, then BFD sessions are maintained under hardware conversation modes as far as possible, to realize preferable maintainability
Energy.
In a kind of possible implementation, the hardware parameters of BFD sessions, time parameter, mode of operation, inspection are being detected
When the rule of the hardware chip of one or more and local device in survey pattern or operational mode mismatches, determination hardware session
Pattern does not support BFD sessions.
Wherein, the rule of hardware chip can refer to hardware chip in hardware parameter, time parameter, mode of operation, detection mould
Parameter area or condition and range that formula or operational mode etc. are pre-set etc..The mode of operation of BFD sessions can include control
Message mode processed or Echo message modes etc.;The detection pattern of BFD sessions can include single-hop detection, multi-hop detection or two-way inspection
Survey etc.;The operational mode of BFD sessions can be included in the aggressive mode before BFD session establishments or Passive Mode etc., and in BFD
Asynchronous mode or query pattern after session establishment etc..
As an example of the implementation, the parameter area that hardware chip is pre-set in terms of time parameter is T1
~T2.If local device detects that the time parameter of BFD sessions is T3, do not fall that (such as T3 is less than T1 or T3 in T1~T2 in T3
More than T2) in when, it is believed that the rule mismatch of the time parameters of BFD sessions and hardware chip, then local device judge hard
Part conversation modes do not support BFD sessions.
It should be noted that although with the hardware parameter of BFD sessions, time parameter, mode of operation, detection pattern or operation
Pattern describes the reason for causing hardware conversation modes not support BFD sessions as example as above, but those skilled in the art's energy
It is enough to understand, embodiment of the present disclosure not limited to this.Those skilled in the art can flexibly set according to practical application scene to cause firmly
Part conversation modes are supported and/or do not support the rule or parameter of BFD sessions.
In step s 12, under software sessions pattern, BFD messages is sent to opposite equip. corresponding to BFD sessions, are stopped
BFD sessions under hardware conversation modes;And when receiving the BFD messages of opposite equip. transmission, under software sessions pattern
Maintain BFD sessions.
In an optional embodiment, after BFD messages are sent to opposite equip., a control can be sent to local device and is referred to
Order, so that local device stops the BFD sessions under hardware conversation modes according to the control instruction.Optionally, to local hardware core
Piece sends a control instruction, so that hardware chip stops the BFD sessions under hardware conversation modes according to the control instruction.
In other optional embodiment, when step 11 starts hardware conversation modes, it becomes possible to perform in step S12
" sending BFD messages to opposite equip. corresponding to BFD sessions, stop the BFD sessions under hardware conversation modes ".
As an example of the present embodiment, BFD sessions 1 are established between device A and equipment B, for detection device A and
The failure in two-way converting path between equipment B.Wherein, for BFD sessions 1, device A is equipment B opposite equip., and equipment B is
The opposite equip. of device A.Established between device A and equipment B after BFD sessions 1, device A can be under hardware conversation modes
Maintain BFD sessions 1.If device A detects that hardware conversation modes do not support BFD sessions 1, start the software for supporting BFD sessions 1
Conversation modes.Device A sends BFD messages under software sessions pattern, to equipment B, stops the BFD sessions under hardware conversation modes
1, and when receiving the BFD messages of equipment B transmissions, BFD sessions 1 are maintained under software sessions pattern.
Which kind of it should be noted that it will be appreciated by those skilled in the art that safeguarded between device A and equipment B by mode
BFD sessions are without relevance and do not influence each other.For example, the situation of BFD sessions is maintained under hardware conversation modes in device A
Under, equipment B can maintain BFD sessions under hardware conversation modes, and BFD sessions can also be maintained under software sessions pattern.
In the case that device A maintains BFD sessions under software sessions pattern, equipment B can maintain BFD meetings under software sessions pattern
Words, can also maintain BFD sessions under hardware conversation modes.
It should be noted that it will be appreciated by those skilled in the art that in the case where device A has multiple BFD sessions, it is more
Individual BFD sessions without relevance and do not influence each other each other.For example, BFD sessions are established between device A and equipment B
1, BFD sessions 2 are established between device A and equipment C.If device A detects that hardware conversation modes do not support BFD sessions 2, open
The dynamic software sessions pattern for supporting BFD sessions 2.Device A sends BFD messages under software sessions pattern, to equipment C, stops hard
BFD sessions 2 under part conversation modes, and when receiving the BFD messages of equipment C transmissions, maintained under software sessions pattern
BFD sessions 2.Thus, device A maintains BFD sessions 1 under hardware conversation modes, and BFD sessions 2 are maintained under software sessions pattern.
In correlation technique, after the BFD sessions safeguarded under establishing hardware conversation modes, if detecting matching somebody with somebody for BFD sessions
When putting change causes the hardware conversation modes not support BFD sessions, then need that BFD sessions first are arranged into Admin Down states,
Then the BFD sessions that session negotiation is safeguarded to establish under software sessions pattern are re-started again.The BFD sessions of the embodiment of the present disclosure
Switching method, if detect the configuration variation of BFD sessions and cause the hardware conversation modes not support BFD sessions, start and support BFD
The software sessions pattern of session, under software sessions pattern, BFD messages are sent to opposite equip. corresponding to BFD sessions, are stopped hard
BFD sessions under part conversation modes, and when receiving the BFD messages of opposite equip. transmission, tieed up under software sessions pattern
Hold BFD sessions.During thus, it is possible to realize that the configuration variation in BFD sessions causes the hardware conversation modes not support BFD sessions, smoothly
BFD sessions are switched to software sessions pattern by ground by hardware conversation modes, avoid BFD sessions from shaking, so as to avoid user
Business is shaken.
In a kind of possible implementation, BFD sessions are maintained under software sessions pattern, including:Periodically to right
End equipment sends BFD messages;Periodically detect the BFD messages that opposite equip. is sent.
Wherein, BFD sessions are maintained under software sessions pattern, periodically send BFD messages to opposite equip., including:
BFD messages are sent to opposite equip. by software program at interval of the first preset time period.Maintained under software sessions pattern
BFD sessions, the BFD messages that opposite equip. is sent periodically are detected, including:Pass through software at interval of the second preset time period
The BFD messages that Programmable detection opposite equip. is sent.First preset time period and preset time period can be advance when second
The time span of setting, the embodiment of the present disclosure are without limitation.First preset time period can be between 10 milliseconds to 1 second
Numerical value.Second preset time period can be 3 to 5 times of the first preset time period.For example, the first preset time period can
Think 30 milliseconds, the second preset time period can be 90 milliseconds.
It is understood that the preset time period of ratio first that the second preset time period is set is long, this can be caused
Ground equipment may have sent more than one BFD messages in second preset time period and (such as have sent three BFD report
Text), as long as and opposite equip. receives one of BFD messages and can cause BFD sessions not Down, add BFD meetings
The serious forgiveness of words, the success rate that BFD sessions are smoothed switching is improved, reduce BFD sessions and customer service shakes
Possibility.
As an example of the implementation, BFD sessions 1 are established between device A and equipment B.In software sessions mould
BFD sessions 1 are maintained under formula, then two timers, transmission timer and detection timer are set in the software program of device A.
Transmission timer is arranged to overtime when more than the first preset time period.In the case of transmission timer time-out, device A can
To send BFD messages to equipment B by software program, to ensure that equipment B can receive periodic BFD messages, equipment B will not
BFD sessions 1 are closed.Detection timer is arranged to overtime when more than the second preset time period.In detection timer expiry
In the case of, if device A receives the BFD messages sent to equipment B not over software program, then it represents that device A is pre- second
If receiving the BFD messages of equipment B transmissions in the time cycle not over software program, device A closes BFD sessions 1.
In a kind of possible implementation, BFD messages include being used for the status information for representing BFD session status, then exist
BFD sessions are maintained under software sessions pattern, including:When being determined to establish state Up BFD sessions according to status information,
BFD sessions are maintained under software sessions pattern.When to determine current BFD sessions be Up according to state, represent that BFD sessions are put down
It is switched under software sessions pattern and maintains slidingly.
It is understood that the current shape of BFD sessions can be noticed between equipment by the state field in BFD messages
State.Wherein, BFD sessions may have four kinds of states:State Admin Down (state field 0), state Down (State words
Section for 1), state I nit (state field 2) and state Up (state field 3).State Admin Down show BFD sessions
The person of being managed forces Down, and this will enter opposite equip. and be maintained at state Down.State Down represents that BFD sessions are closed
Close, thus the link or network failure between equipment corresponding to BFD sessions.State I nit represent local device with it is right
In end equipment communication, local device wishes to make BFD session establishments, but opposite equip. does not recognize this change also.Shape
State Up represents the success of BFD session establishments and normal work, is thus connected between equipment corresponding to BFD sessions normal.
In correlation technique, the process that BFD sessions are established between device A and equipment B is as follows:Device A and equipment B start BFD,
It is each initially state Down.Device A sends carrier state Down BFD messages to equipment B.Equipment B receives carrying shape
State Down BFD messages, then state I nit is switched to, and carrier state Init BFD messages are sent to device A.Equipment B is being cut
The BFD messages changed to state I nit and then receive carrier state Down do not process then.The BFD state change mistakes of device A
Journey is same as above.Equipment B receives carrier state Init BFD messages, then is switched to state Up.The BFD state change processes of device A
Ibid.The BFD states of local device are that state UP indicates the success of BFD session establishments.In device A and equipment B generating states Down
To after state I nit change, then detection timer is respectively started, the effect for detecting timer is to prevent the BFD of local device
State block is in state I nit.It is local if not receiving state I nit or state Up BFD messages yet within the defined time
The BFD state auto-switchings of equipment return state Down.
As an example of the implementation, BFD sessions 1 are established between device A and equipment B.In device A and equipment
Established between B after BFD sessions 1, device A can maintain BFD sessions 1 under hardware conversation modes.If device A detects hardware
Conversation modes do not support BFD sessions 1, then start the software sessions pattern for supporting BFD sessions 1.Device A is in software sessions pattern
Under, the BFD messages for including state Up are sent to equipment B, stop the BFD sessions 1 under hardware conversation modes, and set receiving
During the BFD messages including state Up that standby B is sent, BFD sessions 1 are maintained under software sessions pattern.
In a kind of possible implementation, stop the BFD sessions under hardware conversation modes, including:Delete hardware chip
In BFD sessions information;Or stop the BFD messages that hardware chip periodically detects opposite equip. transmission.
It should be noted that it will be appreciated by those skilled in the art that multiple BFD meetings are there may be under hardware conversation modes
Words.For example, establishing BFD sessions 1 between device A and equipment B, BFD sessions 2 are established between device A and equipment C, in device A
BFD sessions 3 are established between equipment D, then can include BFD sessions 1, BFD sessions 2 and BFD under the hardware conversation modes of device A
Session 3.Wherein, BFD sessions 1, BFD sessions 2 and BFD sessions 3 can be recorded by modes such as lists.
As an example of the implementation, BFD sessions 1 are switched to software sessions pattern by hardware conversation modes.If
Standby A can stop the BFD sessions 1 under hardware conversation modes by deleting the information of the BFD sessions 1 in hardware chip.Work as equipment
A receive opposite equip. transmission BFD messages when, due in hardware chip without the information of BFD sessions, therefore will not again from
BFD messages are matched in hardware chip, but the BFD messages are sent to software sessions pattern and matched, so as to stop hardware
BFD sessions 1 under conversation modes.For example, the processor of device A can be sent for deleting in hardware chip to hardware chip
The instruction of the information of BFD sessions 1, to delete the information of the BFD sessions 1 in hardware chip, when device A receives opposite equip. hair
During the BFD messages sent, BFD messages will not be matched from hardware chip again, but the BFD messages are sent to software sessions pattern
Matched, so as to stop the BFD sessions 1 under hardware conversation modes.
As another example of the implementation, BFD sessions 1 are switched to software sessions pattern by hardware conversation modes.
Device A can be stopped under hardware conversation modes by stopping the hardware chip BFD messages that periodically detection device B is sent
BFD sessions 1.For example, the processor of device A can be sent to hardware chip for stopping hardware chip periodically detection device
The instruction for the BFD messages that B is sent, it is hard so as to stop to stop the hardware chip BFD messages that periodically detection device B is sent
BFD sessions 1 under part conversation modes.
Distributed communication equipment can be an equipment being made up of multiple working plates, externally show as an entirety, and
Each share some business in inside.Wherein, working plate can include master control borad and business board.For BFD sessions, overall control can
To be realized on master control borad, and specifically safeguard and can be realized on enclosure board, i.e., the transmission of BFD messages is responsible for by enclosure board and connect
Receive.In correlation technique, one can be selected from multiple master control borads and multiple business boards and be used as enclosure board.
In a kind of possible implementation, the executive agent of this method is distributed communication equipment.Distributed communication is set
It is standby that current BFD sessions are maintained under hardware conversation modes.Fig. 2 shows to show according to the one of the BFD conversation switching methods of an embodiment
The flow chart of meaning property.As shown in Fig. 2 master control borad notifies each working plate to be switched to software sessions pattern (step S21).Each work
Make plate and start transmission timer, send BFD messages (step S22) to opposite equip. respectively.Master control borad notice hardware chip is deleted
The information (step S23) of BFD sessions.Hardware chip is completed to delete the information (step S24) of BFD sessions.First working plate receives
The BFD messages sent to opposite equip., and notify master control borad (step S25).Master control borad is sent for representing to each working plate
First working plate is the information (step S26) of enclosure board.Each working plate judges oneself to be enclosure board (step S27), if
It is then to start detection timer (step S28), otherwise stops transmission timer (step S29).
As an example of the present embodiment, communication equipment illustrates as example in a distributed manner.Distributed communication is set
Standby business board 1, business board 2 and business board 3 including under master control borad 1 and the control of master control borad 1.Distributed communication equipment 1 (with
Lower abbreviation equipment 1) between distributed communication equipment 2 (hereinafter referred to as equipment 2) establish BFD sessions.Equipment 1 and equipment 2 it
Between establish after BFD sessions, equipment 1 can maintain BFD sessions under hardware conversation modes.Detecting hardware conversation modes not
When supporting BFD sessions, the master control borad 1 of equipment 1 is sent to business board 1, business board 2 and business board 3 respectively starts notice, starts branch
Hold the software sessions pattern of BFD sessions.Master control borad 1, business board 1, business board 2 and the business board 3 of equipment 1 are in software sessions pattern
Under, send BFD messages to equipment 2.The master control borad 1 of equipment 1 is sent to business board 1, business board 2 and business board 3 respectively to be stopped to lead to
Know, stop the BFD sessions under hardware conversation modes.If business board 2 receives the BFD messages of the transmission of equipment 2, by business board 2
Enclosure board as BFD sessions.Business board 2 maintains BFD sessions under software sessions pattern.Further, the periodicity of business board 2
Ground sends BFD messages, and the BFD messages that periodically detection device 2 is sent to equipment 2.
The embodiment of the present disclosure also provides a kind of BFD conversation switching methods, can include:
When detecting that hardware conversation modes support BFD sessions, start the hardware conversation modes;
Under the hardware conversation modes, the BFD messages stopped under software sessions pattern receive;When receiving the BFD
During the information of session, the BFD sessions are maintained under the hardware conversation modes;Stop the BFD under the software sessions pattern
Message is sent.
Wherein, BFD sessions are maintained to refer to the SDK by software transfer BFD special chips under hardware conversation modes, and
The maintenance of BFD sessions is realized by BFD special chips.BFD sessions are maintained to refer to by software journey under software sessions pattern
Sequence realizes the maintenance of BFD sessions.
When the embodiment of the present disclosure can realize that the configuration variation in BFD sessions causes the support BFD sessions of hardware conversation modes,
Smoothly BFD sessions are avoided to shake, so as to avoid by software sessions pattern switching to hardware conversation modes BFD sessions
Customer service is shaken.
In the disclosed embodiments, one group of BFD session is maintained to include two aspects:On the one hand it is that local device sends BFD
Message (optional, message can be sent in the first preset time period), on the other hand receive the BFD messages of opposite equip. transmission
(optional, message is received in the second preset time period).Either software sessions pattern or hardware conversation modes, when
Opposite equip. can receive BFD messages, BFD sessions not Down;When receiving BFD messages, the BFD sessions are maintained.In this public affairs
Open in embodiment, BFD session Down, refer to that BFD sessions are closed.
In certain embodiments, the BFD sessions of software sessions pattern are smoothly switched under hardware conversation modes and maintained,
Then show that current BFD sessions are unable to Down when conversation modes switch.Exemplary, can be complete within a BFD session cycle
Into the switching of conversation modes, now current BFD sessions not Down.Optionally, a BFD session cycle can include:Locally set
The standby BFD messages that opposite equip. transmission is received to opposite equip. transmission BFD messages and local device.
In certain embodiments, two timers can be set:First timer and second timer, wherein, the first timing
Device is set the first preset time period progress timing that BFD messages are sent to local device, when first timer time-out, this
Ground equipment sends BFD messages;Second timer, which is set, to be received the second preset time period of BFD messages to local device and enters
Row timing, when second timer time-out, show that local device does not receive BFD messages in the second preset time period.When
Local device starts timing to first timer during opposite equip. transmission BFD messages, and is received in the second preset time period
The BFD messages sent to opposite equip. start second timer timing.If local device does not connect in the second preset time period
Receive the BFD messages of opposite equip. transmission, then it represents that BFD session Down, now need to re-establish BFD sessions with opposite equip..
Because the embodiment of the present disclosure is after hardware conversation modes are started, the BFD messages stopped under software sessions pattern receive,
Now still BFD session messages are being sent under software sessions pattern, therefore the not Down of the BFD sessions under software sessions pattern;Hard
When the information of BFD sessions is received under part conversation modes and maintaining the BFD sessions, stop under software sessions pattern and send
BFD messages, now stop under software sessions pattern and maintain the BFD messages.The embodiment of the present disclosure is a BFD session cycle
The switching of conversation modes is inside completed, BFD sessions are smoothly switched under hardware conversation modes and maintained.
Fig. 3 shows the flow chart of the BFD conversation switching methods according to the embodiment of the disclosure one.The executive agent of this method can
Think the equipment such as router, or the working plate in distributed communication equipment, the embodiment of the present disclosure are not restricted to this.Can
Choosing, the embodiment of the present disclosure is used to for BFD sessions to be switched to the maintenance of hardware conversation modes from software sessions mode smooth.Such as figure
Shown in 3, in the method, local device maintains current BFD sessions under software sessions pattern.
In step S31, when detecting that hardware conversation modes support BFD sessions, start hardware conversation modes.
Wherein, BFD sessions are maintained to refer to the SDK by software transfer BFD special chips under hardware conversation modes, and
The maintenance of BFD sessions is realized by BFD special chips.BFD sessions are maintained to refer to by software journey under software sessions pattern
Sequence realizes the maintenance of BFD sessions.Generally, due to BFD special chips have preferable maintainability, in hardware conversation modes
In the case of being able to maintain that BFD sessions, then BFD sessions are maintained under hardware conversation modes as far as possible, to realize preferable maintainability
Energy.
In a kind of possible implementation, the hardware parameters of BFD sessions, time parameter, mode of operation, inspection are being detected
During the rule match of the hardware chip of survey pattern or operational mode and local device, determination hardware conversation modes support BFD sessions.
Wherein, the rule of hardware chip can refer to hardware chip in hardware parameter, time parameter, mode of operation, detection mould
Parameter area or condition and range that formula or operational mode etc. are pre-set etc..The mode of operation of BFD sessions can include control
Message mode processed or Echo message modes etc.;The detection pattern of BFD sessions can include single-hop detection, multi-hop detection or two-way inspection
Survey etc.;The operational mode of BFD sessions can be included in the aggressive mode before BFD session establishments or Passive Mode etc., and in BFD
Asynchronous mode or query pattern after session establishment etc..
In step s 32, under hardware conversation modes, the BFD messages stopped under software sessions pattern receive;When receiving
During the information of BFD sessions, BFD sessions are maintained under hardware conversation modes;And the BFD messages under stopping software sessions pattern
Send.
In other optional embodiment, when step 31 starts hardware conversation modes, it becomes possible to perform in step S32
" the BFD messages stopped under software sessions pattern receive ".
Hardware chip can carry out BFD messages after the information of BFD sessions is received according to the logic of hardware chip
The maintenance of transmission, reception and BFD sessions.For example, hardware chip is after the information of BFD sessions is received, to BFD sessions pair
The opposite equip. answered sends carrier state Up BFD messages, and is receiving the carrier state Up of opposite equip. transmission BFD reports
Wen Shi, BFD sessions are maintained under hardware conversation modes.After maintaining BFD sessions under hardware conversation modes, hardware chip can be with
By setting signal position or information is sent, to cause local device to detect the maintenance BFD sessions under hardware conversation modes, and is stopped
Only the BFD messages under software sessions pattern are sent.
As an example of the present embodiment, BFD sessions 1 are established between device A and equipment B, for detection device A and
The failure in two-way converting path between equipment B.Wherein, for BFD sessions 1, device A is equipment B opposite equip., and equipment B is
The opposite equip. of device A.Established between device A and equipment B after BFD sessions 1, device A can be under software sessions pattern
Maintain BFD sessions 1.If device A detects that hardware conversation modes support BFD sessions 1, start hardware conversation modes.Device A exists
Under hardware conversation modes, the BFD messages stopped under software sessions pattern receive.When hardware chip receives the information of BFD sessions 1
When, BFD sessions 1 are maintained under hardware conversation modes.The BFD messages that device A stops under software sessions pattern are sent.
In a kind of possible implementation, BFD sessions are maintained under hardware conversation modes, including:Periodically to right
End equipment sends BFD messages;Periodically detect the BFD messages that opposite equip. is sent.
Wherein, BFD sessions are maintained under hardware conversation modes, periodically send BFD messages to opposite equip., including:
BFD messages are sent to opposite equip. by hardware chip at interval of the first preset time period.Maintained under hardware conversation modes
BFD sessions, the BFD messages that opposite equip. is sent periodically are detected, including:Pass through hardware at interval of the second preset time period
The BFD messages that chip detection opposite equip. is sent.First preset time period and the second preset time period can be to set in advance
The time span put, the embodiment of the present disclosure are without limitation.First preset time period can be between 10 milliseconds to 1 second
Numerical value.Second preset time period can be longer than the first preset time period.Optionally, the second preset time period can be set
For 3 to 5 times of the first preset time period.For example, the first preset time period can be 30 milliseconds, the second preset time period
It can be 90 milliseconds.
It is understood that the preset time period of ratio first that the second preset time period is set is long, this can be caused
Ground equipment may have sent more than one BFD messages in second preset time period and (such as have sent three BFD report
Text), as long as and local device receives one of BFD messages and can cause BFD sessions not Down, add BFD meetings
The serious forgiveness of words, the success rate that BFD sessions are smoothed switching is improved, reduce BFD sessions and customer service shakes
Possibility.
As an example of the implementation, BFD sessions 1 are established between device A and equipment B.In hardware session mould
BFD sessions 1 are maintained under formula, then two timers, transmission timer and detection timer are set in the hardware chip of device A.
Transmission timer is arranged to overtime when more than the first preset time period.In the case of transmission timer time-out, device A can
To send BFD messages to equipment B by hardware chip, to ensure that equipment B can receive periodic BFD messages, equipment B will not
BFD sessions 1 are closed.Detection timer is arranged to overtime when more than the second preset time period.In detection timer expiry
In the case of, if device A receives the BFD messages sent to equipment B not over hardware chip, then it represents that device A is pre- second
If receiving the BFD messages of equipment B transmissions in the time cycle not over hardware chip, device A closes BFD sessions 1.
In a kind of possible implementation, BFD sessions are maintained under hardware conversation modes, including:By the letter of BFD sessions
Breath is loaded into hardware chip, maintains BFD sessions.
As an example of the implementation, BFD sessions 1 are by software sessions pattern switching to hardware conversation modes.If
Standby A can maintain BFD sessions 1 by the way that the information of BFD sessions 1 is loaded into hardware chip under hardware conversation modes.For example, set
Standby A processor can send the information of BFD sessions 1 by the interface of hardware chip to hardware chip.Wherein, BFD sessions 1
Information can include opposite equip. corresponding to BFD sessions 1 and identify, and the hardware parameter of BFD sessions 1, time parameter, Working mould
Formula, detection pattern or operational mode etc. establish the parameter or condition needed for BFD sessions 1, and the embodiment of the present disclosure is without limitation.
In a kind of possible implementation, the executive agent of this method is distributed communication equipment.Distributed communication is set
It is standby that current BFD sessions are maintained under software sessions pattern.Fig. 4 shows to show according to the one of the BFD conversation switching methods of an embodiment
The flow chart of meaning property.As shown in figure 4, master control borad notifies each working plate to be switched to hardware conversation modes (step S41).Each work
Make plate and stop detection timer (step S42).The information of BFD sessions is loaded into hardware chip (step S43) by master control borad.Hardware core
Piece is completed to maintain BFD sessions (step S44) under hardware conversation modes.Master control borad detects that hardware chip is completed in hardware session
BFD sessions are maintained under pattern, notify each working plate to stop transmission timer (step S45).Each working plate, which stops sending, to be determined
When device (step S46).
As an example of the present embodiment, communication equipment illustrates as example in a distributed manner.Distributed communication is set
Standby business board 1, business board 2 and business board 3 including under master control borad 1 and the control of master control borad 1.Distributed communication equipment 1 (with
Lower abbreviation equipment 1) between distributed communication equipment 2 (hereinafter referred to as equipment 2) establish BFD sessions.Equipment 1 and equipment 2 it
Between establish after BFD sessions, equipment 1 can maintain BFD sessions under software sessions pattern.Detecting hardware conversation modes branch
When holding BFD sessions, the master control borad 1 of equipment 1 sends the first expiry notification to business board 1, business board 2 and business board 3 respectively, stops
BFD messages under software sessions pattern receive.The information of BFD sessions is loaded into hardware chip by master control borad 1.Hardware chip is completed
BFD sessions are maintained under hardware conversation modes.Master control borad 1 detects that hardware chip is completed to maintain BFD meetings under hardware conversation modes
Words, then the second expiry notification is sent to business board 1, business board 2 and business board 3 respectively, stop the BFD reports under software sessions pattern
Text is sent.Further, hardware chip periodically to equipment 2 send BFD messages, and periodically detection device 2 send
BFD messages.
In correlation technique, after the BFD sessions safeguarded under establishing software sessions pattern, if detecting matching somebody with somebody for BFD sessions
When putting change causes the support BFD sessions of hardware conversation modes, then need that BFD sessions first are arranged into Admin Down states, so
Re-start the BFD sessions that session negotiation is safeguarded to establish under hardware conversation modes again afterwards.The BFD sessions of the embodiment of the present disclosure are cut
Change method, if detect BFD sessions configuration variation cause hardware conversation modes support BFD sessions when, start hardware session mould
Formula, under hardware conversation modes, the BFD messages stopped under software sessions pattern receive, when receiving the information of BFD sessions,
BFD sessions are maintained under hardware conversation modes, the BFD messages stopped under software sessions pattern are sent.Thus, it is possible to realize in BFD
When the configuration variation of session causes the support BFD sessions of hardware conversation modes, smoothly by BFD sessions by software sessions pattern switching
To hardware conversation modes, BFD sessions are avoided to shake, so as to avoid customer service from shaking.
Fig. 5 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.The device can by software and/or
Hardware realizes that the device can be integrated in the communication equipment for providing BFD conversational services or system.Optionally, the device can
With applied to equipment such as routers, or the working plate in distributed communication equipment, the embodiment of the present disclosure are not limited this
System.As shown in figure 5, the device includes:Software sessions pattern starting module 11 and the first handover module 12.
Wherein, software sessions pattern starting module 11, for when detecting that hardware conversation modes do not support BFD sessions,
Start the software sessions pattern for supporting BFD sessions;First handover module 12, under the software sessions pattern, to described
Opposite equip. corresponding to BFD sessions sends BFD messages, stops the BFD sessions under the hardware conversation modes;And
When receiving the BFD messages that the opposite equip. is sent, the BFD sessions are maintained under the software sessions pattern.
Fig. 6 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.As shown in Figure 6:
In a kind of possible implementation, first handover module 12 includes:First sending module 121, for week
BFD messages are sent to the opposite equip. to phase property;First detection module 122, for periodically detecting the opposite equip.
The BFD messages of transmission.
In a kind of possible implementation, the BFD messages include being used for the status information for representing BFD session status,
Then first handover module 12 includes:Maintenance module 123, it is determined to establish state Up according to the status information for working as
BFD sessions when, the BFD sessions are maintained under the software sessions pattern.
In a kind of possible implementation, first handover module 12 includes stopping module 124, is used for:Delete hard
The information of BFD sessions in part chip;Or stop the hardware chip and periodically detect the BFD reports that the opposite equip. is sent
Text.
The BFD session switching devices of the embodiment of the present disclosure, the configuration variation that can be realized in BFD sessions cause hardware session
When pattern does not support BFD sessions, BFD sessions are smoothly switched to software sessions pattern by hardware conversation modes, avoid BFD meetings
Words are shaken, so as to avoid customer service from shaking.
Fig. 7 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.The device can by software and/or
Hardware realizes that the device can be integrated in the communication equipment for providing BFD conversational services or system.Optionally, the device can
With applied to equipment such as routers, or the working plate in distributed communication equipment, the embodiment of the present disclosure are not limited this
System.As shown in fig. 7, the device includes:Hardware conversation modes starting module 21 and the second handover module 22.
Wherein, hardware conversation modes starting module 21, for when detecting that hardware conversation modes support BFD sessions, opening
Move the hardware conversation modes;Second handover module 22, under the hardware conversation modes, stopping under software sessions pattern
BFD messages receive;When receiving the information of the BFD sessions, the BFD meetings are maintained under the hardware conversation modes
Words;The BFD messages stopped under the software sessions pattern are sent.
Fig. 8 shows the block diagram of the BFD session switching devices according to the embodiment of the disclosure one.As shown in Figure 8:
In a kind of possible implementation, second handover module 22 includes:Second sending module 221, for week
BFD messages are sent to the opposite equip. to phase property;Second detection module 222, for periodically detecting the opposite equip.
The BFD messages of transmission.
In a kind of possible implementation, second handover module 22 includes insmoding 223, is used for:By described in
The information of BFD sessions is loaded into hardware chip, maintains the BFD sessions.
The BFD session switching devices of the embodiment of the present disclosure, the configuration variation that can be realized in BFD sessions cause hardware session
When pattern supports BFD sessions, BFD sessions are smoothly avoided into BFD sessions by software sessions pattern switching to hardware conversation modes
Shake, so as to avoid customer service from shaking.
Fig. 9 shows the block diagram for BFD sessions switching device 900 according to the embodiment of the disclosure one.Reference picture 9, the dress
The machinable medium 902 for putting 900 and may include processor 901, being stored with machine-executable instruction.Processor 901 and machine
Device readable storage medium storing program for executing 902 can communicate via system bus 903.Also, processor 901 passes through read machine readable storage medium storing program for executing
Machine-executable instruction corresponding with BFD session switch logics is to perform BFD conversation switching methods described above in 902.
Machinable medium 902 referred to herein can be any electronics, magnetic, optics or other physical stores
Device, can be included or storage information, such as executable instruction, data, etc..For example, machinable medium can be:
RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven
Dynamic device (such as hard disk drive), solid state hard disc, any kind of storage dish (such as CD, dvd), or similar storage are situated between
Matter, or combinations thereof.
It is described above the presently disclosed embodiments, described above is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
The principle of each embodiment, practical application or improvement to the technology in market are best being explained, or is making the art
Other those of ordinary skill are understood that each embodiment disclosed herein.
Claims (10)
- A kind of 1. BFD conversation switching methods, it is characterised in that including:When detecting that hardware conversation modes do not support BFD sessions, start the software sessions pattern for supporting BFD sessions;Under the software sessions pattern, BFD messages are sent to opposite equip. corresponding to the BFD sessions, stop the hardware The BFD sessions under conversation modes;And when receiving the BFD messages that the opposite equip. is sent, in the software meeting The BFD sessions are maintained under words pattern.
- 2. according to the method for claim 1, it is characterised in that the BFD sessions are maintained under the software sessions pattern, Including:Periodically BFD messages are sent to the opposite equip.;Periodically detect the BFD messages that the opposite equip. is sent.
- 3. according to the method for claim 1, it is characterised in that the BFD messages include being used to represent BFD session status Status information, then it is described to maintain the BFD sessions under the software sessions pattern, including:When true according to the status information When can establish state Up BFD sessions surely, the BFD sessions are maintained under the software sessions pattern.
- 4. according to the method for claim 1, it is characterised in that stop the BFD sessions under the hardware conversation modes, wrap Include:Delete the information of the BFD sessions in hardware chip;OrStop the hardware chip and periodically detect the BFD messages that the opposite equip. is sent.
- A kind of 5. BFD conversation switching methods, it is characterised in that including:When detecting that hardware conversation modes support BFD sessions, start the hardware conversation modes;Under the hardware conversation modes, the BFD messages stopped under software sessions pattern receive;When receiving the BFD sessions Information when, the BFD sessions are maintained under the hardware conversation modes;Stop the BFD messages under the software sessions pattern Send.
- 6. according to the method for claim 5, it is characterised in that the BFD sessions are maintained under the hardware conversation modes, Including:Periodically BFD messages are sent to opposite equip. corresponding to the BFD sessions;Periodically detect the BFD messages that the opposite equip. is sent.
- 7. according to the method for claim 5, it is characterised in that described to maintain the BFD under the hardware conversation modes Session, including:The information of the BFD sessions is loaded into hardware chip, maintains the BFD sessions.
- A kind of 8. BFD sessions switching device, it is characterised in that including:Software sessions pattern starting module, for when detecting that hardware conversation modes do not support BFD sessions, starting and supporting BFD The software sessions pattern of session;First handover module, under the software sessions pattern, BFD to be sent to opposite equip. corresponding to the BFD sessions Message, stop the BFD sessions under the hardware conversation modes;And in the BFD reports for receiving the opposite equip. transmission Wen Shi, the BFD sessions are maintained under the software sessions pattern.
- A kind of 9. BFD sessions switching device, it is characterised in that including:Hardware conversation modes starting module, for when detecting that hardware conversation modes support BFD sessions, starting the hardware meeting Words pattern;Second handover module, the BFD messages under the hardware conversation modes, stopping under software sessions pattern receive;When When receiving the information of the BFD sessions, the BFD sessions are maintained under the hardware conversation modes;Stop the software meeting BFD messages under words pattern are sent.
- 10. a kind of machinable medium, is stored with machine-executable instruction, described when being called and being performed by processor Machine-executable instruction promotes any described BFD conversation switching methods of the computing device such as claim 1~7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710661245.2A CN107547368B (en) | 2017-08-04 | 2017-08-04 | BFD session switching method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710661245.2A CN107547368B (en) | 2017-08-04 | 2017-08-04 | BFD session switching method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107547368A true CN107547368A (en) | 2018-01-05 |
CN107547368B CN107547368B (en) | 2020-01-07 |
Family
ID=60970902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710661245.2A Active CN107547368B (en) | 2017-08-04 | 2017-08-04 | BFD session switching method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107547368B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109245961A (en) * | 2018-09-29 | 2019-01-18 | 优刻得科技股份有限公司 | Link-quality detection method, device, storage medium and equipment |
CN110808873A (en) * | 2019-10-21 | 2020-02-18 | 锐捷网络股份有限公司 | Method and device for detecting link failure |
CN113765797A (en) * | 2021-09-24 | 2021-12-07 | 新华三信息安全技术有限公司 | Message processing method and device |
CN114006836A (en) * | 2021-11-01 | 2022-02-01 | 迈普通信技术股份有限公司 | Timer adjustment method and device, electronic equipment and computer-readable storage medium |
CN117278345A (en) * | 2023-11-20 | 2023-12-22 | 新华三技术有限公司 | Energy saving method and device applied to network equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075921A (en) * | 2007-07-20 | 2007-11-21 | 华为技术有限公司 | Method and apparatus for processing two-way converting inspection session |
CN101247270A (en) * | 2008-03-19 | 2008-08-20 | 中兴通讯股份有限公司 | System and method for implementing bidirectional forwarding detection |
CN101645810A (en) * | 2009-09-02 | 2010-02-10 | 杭州华三通信技术有限公司 | Method and equipment for detecting pseudo wire (PW) |
CN102025562A (en) * | 2010-11-25 | 2011-04-20 | 中兴通讯股份有限公司 | Path detection method and device |
CN102223258A (en) * | 2011-08-02 | 2011-10-19 | 杭州华三通信技术有限公司 | Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption |
CN104270367A (en) * | 2014-09-30 | 2015-01-07 | 杭州华三通信技术有限公司 | BFD conversation establishing method and device |
US20150295909A1 (en) * | 2014-04-15 | 2015-10-15 | Ciena Corporation | Integrity check optimization systems and methods in live connectivity frames |
US9258234B1 (en) * | 2012-12-28 | 2016-02-09 | Juniper Networks, Inc. | Dynamically adjusting liveliness detection intervals for periodic network communications |
CN105592490A (en) * | 2015-08-31 | 2016-05-18 | 杭州华三通信技术有限公司 | Route switching method and equipment |
CN106301840A (en) * | 2015-05-27 | 2017-01-04 | 中兴通讯股份有限公司 | The sending method of two-way converting detection BFD message and device |
-
2017
- 2017-08-04 CN CN201710661245.2A patent/CN107547368B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075921A (en) * | 2007-07-20 | 2007-11-21 | 华为技术有限公司 | Method and apparatus for processing two-way converting inspection session |
CN101247270A (en) * | 2008-03-19 | 2008-08-20 | 中兴通讯股份有限公司 | System and method for implementing bidirectional forwarding detection |
CN101645810A (en) * | 2009-09-02 | 2010-02-10 | 杭州华三通信技术有限公司 | Method and equipment for detecting pseudo wire (PW) |
CN102025562A (en) * | 2010-11-25 | 2011-04-20 | 中兴通讯股份有限公司 | Path detection method and device |
CN102223258A (en) * | 2011-08-02 | 2011-10-19 | 杭州华三通信技术有限公司 | Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption |
US9258234B1 (en) * | 2012-12-28 | 2016-02-09 | Juniper Networks, Inc. | Dynamically adjusting liveliness detection intervals for periodic network communications |
US20150295909A1 (en) * | 2014-04-15 | 2015-10-15 | Ciena Corporation | Integrity check optimization systems and methods in live connectivity frames |
CN104270367A (en) * | 2014-09-30 | 2015-01-07 | 杭州华三通信技术有限公司 | BFD conversation establishing method and device |
CN106301840A (en) * | 2015-05-27 | 2017-01-04 | 中兴通讯股份有限公司 | The sending method of two-way converting detection BFD message and device |
CN105592490A (en) * | 2015-08-31 | 2016-05-18 | 杭州华三通信技术有限公司 | Route switching method and equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109245961A (en) * | 2018-09-29 | 2019-01-18 | 优刻得科技股份有限公司 | Link-quality detection method, device, storage medium and equipment |
CN110808873A (en) * | 2019-10-21 | 2020-02-18 | 锐捷网络股份有限公司 | Method and device for detecting link failure |
CN110808873B (en) * | 2019-10-21 | 2022-02-22 | 锐捷网络股份有限公司 | Method and device for detecting link failure |
CN113765797A (en) * | 2021-09-24 | 2021-12-07 | 新华三信息安全技术有限公司 | Message processing method and device |
CN113765797B (en) * | 2021-09-24 | 2022-11-18 | 新华三信息安全技术有限公司 | Message processing method and device |
CN114006836A (en) * | 2021-11-01 | 2022-02-01 | 迈普通信技术股份有限公司 | Timer adjustment method and device, electronic equipment and computer-readable storage medium |
CN117278345A (en) * | 2023-11-20 | 2023-12-22 | 新华三技术有限公司 | Energy saving method and device applied to network equipment |
CN117278345B (en) * | 2023-11-20 | 2024-02-13 | 新华三技术有限公司 | Energy saving method and device applied to network equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107547368B (en) | 2020-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107547368A (en) | BFD conversation switching methods, device and storage medium | |
CN107547383A (en) | Path detection method and device | |
US8937869B2 (en) | Communication device, communication system, and communication fault detection method | |
CN101465859B (en) | Method and device for triggering main and standby interface board inverse switch | |
US20060165064A1 (en) | Method and apparatus for a network element to track the availability of other network elements | |
CN100442767C (en) | Method for stable restart of router realizing fast route convergence | |
CN109495345B (en) | BFD processing method and network equipment | |
CN111447101B (en) | Link detection method, device, computer equipment and storage medium | |
CN101163060A (en) | BFD session establishing method, BFD session establishing device and routing device | |
CN101505277B (en) | Method, equipment and system for withdrawing from elegant restart | |
CN109150659B (en) | Processor and BFD message transmission method | |
US8687501B1 (en) | Automatic detection and configuration of Ethernet OAM protocols | |
US8670331B2 (en) | Method and apparatus for detecting Ethernet operation, administration and maintenance (OAM) | |
CN101909006A (en) | BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof | |
CN108259213A (en) | NETCONF session status detection method and device | |
CN107347034B (en) | Link information processing method, device and system | |
CN109873719B (en) | Fault detection method and device | |
CN112367179B (en) | Link switching method and device | |
CN101635656B (en) | Fault detection method in layered ordered address packet network, system and equipment | |
CN106255161B (en) | Method, control plane CP and the user equipment (UE) that the connection of packet data network PDN is established | |
CN113726650B (en) | SBFD detection method and network equipment | |
CN102255797B (en) | Method and equipment for quickly determining OSPF (Open Shortest Path First) interface role | |
CN108337118A (en) | Message forwarding method and device | |
CN104917689A (en) | Intelligent dial on-demand realization method and system and access router | |
CN106301835B (en) | BFD link establishing method and device and router |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |