CN109462557A - The backup method of BFD session on a kind of active and standby master control borad - Google Patents

The backup method of BFD session on a kind of active and standby master control borad Download PDF

Info

Publication number
CN109462557A
CN109462557A CN201811195285.3A CN201811195285A CN109462557A CN 109462557 A CN109462557 A CN 109462557A CN 201811195285 A CN201811195285 A CN 201811195285A CN 109462557 A CN109462557 A CN 109462557A
Authority
CN
China
Prior art keywords
bfd
control board
module
bfd session
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201811195285.3A
Other languages
Chinese (zh)
Inventor
李秀军
刘丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanxi Shanshui Optoelectronic Technology Co Ltd
Original Assignee
Shanxi Shanshui Optoelectronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanxi Shanshui Optoelectronic Technology Co Ltd filed Critical Shanxi Shanshui Optoelectronic Technology Co Ltd
Priority to CN201811195285.3A priority Critical patent/CN109462557A/en
Publication of CN109462557A publication Critical patent/CN109462557A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The backup method of BFD session, this method step are as follows: the BFD session configuration data of creation, the BFD session negotiation parameter of state UP are issued by slave control board by the upper application module of main control board first on a kind of active and standby master control borad;The upper application module of slave control board is created into BFD session according to the BFD session configuration data received in BFD module;Again according to the BFD session negotiation parameter received, the BFD Init message of building simulation opposite end is transmitted to BFD module;So that the BFD session status of active and standby master control borad is fully synchronized.The program can on simple realization IPRAN convergence device exchange chip carry the BFD session status in BFD module back up in realtime and batch backup, the BFD protocol massages of subsequent opposite end are sent to main control board and slave control board by analog switch simultaneously, and main control board BFD module can synchronous variation with slave control board BFD module.

Description

The backup method of BFD session on a kind of active and standby master control borad
Technical field
The present invention relates to a kind of backup methods of BFD session on active and standby master control borad.
Background technique
One of the network equipment is more and more important to be characterized in requiring quickly to examine communication failure between adjacent system It surveys, replaceable channel can be set up faster when breaking down in this way or is switched to other channels.In order to meet this need It asks, produces BFD (Bidirectional Forwarding Detection, two-way converting detection) technology.
BFD technology is a kind of two-way converting testing mechanism standardized, medium is unrelated, agreement is unrelated, can be difference Upper layer application (such as routing, PW, LDP, OSPF, IS-IS etc.) provide fault detection service.BFD technology is also a kind of fast Fast fault detection mechanism is capable of providing the detection of Millisecond, passes through BFD and upper layer application and links, it can be ensured that routing it is quick Convergence, it is ensured that business is quickly switched.After adjacent system sets up connection relationship by BFD technology, built between them BFD detection messages are periodically mutually sent out on vertical session channel;If some system is interior when detecting not to receive opposite end BFD detection messages, then it is assumed that failure has occurred in this bi-directional session channel.
Currently, the network services such as voice, video, special line in IPRAN network all propose the flow break period tightened up Requirement, the control of flow interrupt time caused by many operator's expectation network failures is even lower within 50ms, this will It asks in IPRAN deployed with devices BFD technology, and is required to provide the detection of Millisecond.IPRAN convergence device usually also requires Using dual master control plate technology come lifting means reliability, guarantee in the system failure forwarded interrupt less as far as possible even not in It is disconnected, it may be assumed that two pieces of master control borads to be configured in IPRAN equipment, wherein main control board is responsible for agreement operation and business forwarding, spare master Plate is controlled as backup, when main control board breaks down, by the corresponding agreement operation of slave control board rapid pipe connecting and business Forwarding.
Currently, IPRAN convergence device generally all configures two pieces of master control borads, one of master control borad works in master state, Another piece of master control borad work realizes the single-emission and double-receiving function of message by the analog switch on business board: only in stand-by state The message that main control board is sent can be sent to opposite equip. by analog switch, and the message received from opposite end is opened by simulation It closes while being sent to main control board and slave control board;Master control borad is all that the external FPGA of exchange chip realizes BFD technology, double masters Control the backup procedure of BFD session on plate are as follows: the upper application module of main control board joins the configuration data of BFD session, negotiation Several and session status issues slave control board, and the upper application module of slave control board, which is directly modified, corresponds to BFD meeting in its FPGA The configuration data of words negotiates parameter and session status, so that the BFD session of slave control board and main control board is fully synchronized. The all included BFD module of more and more exchange chips now, it is effective substitution that the external FPGA of exchange chip realizes BFD technology Scheme all has advantage on its workinprocess cost and product energy consumption;If IPRAN convergence device uses this included BFD module The One Chip Solutions of exchange chip, this IPRAN convergence device will have very big market competition advantage.However due to This kind of exchange chip carries the negotiation parameter of the BFD session in BFD module and session status and can not directly be repaired by application module Change, therefore exchange chip on IPRAN convergence device cannot achieve by traditional BFD session backup method and carry in BFD module BFD session active and standby synchronization.
Summary of the invention
Its of the invention purpose, which is that, provides a kind of backup method of BFD session on active and standby master control borad, solves traditional BFD session backup method cannot achieve the active and standby same of the BFD session in the included BFD module of exchange chip on IPRAN convergence device The problem of step.
It adopts the technical scheme that achieve the above object, the backup method of BFD session on a kind of active and standby master control borad should Method the following steps are included:
(1) first by the upper application module of main control board by the BFD meeting of the BFD session configuration data, state UP of creation Words negotiate parameter and issue slave control board;
(2) upper application module of slave control board is created in BFD module according to the BFD session configuration data received BFD session;
(3) again according to the BFD session negotiation parameter received, the BFD Init message of building simulation opposite end is transmitted to BFD module;
(4) make the BFD session status of active and standby master control borad fully synchronized.
Beneficial effect
The present invention has the following advantages that compared with prior art.
It is an advantage of the invention that this method exchange chip can carry in BFD module on simple realization IPRAN convergence device BFD session status back up in realtime and batch backup, the BFD protocol massages of subsequent opposite end are sent to simultaneously by analog switch Main control board and slave control board, main control board BFD module and slave control board BFD module synchronous can change, even if Active and standby master control board switching occurs, BFD session connection will not be interrupted and restart.
Detailed description of the invention
Below in conjunction with attached drawing, the invention will be further described.
Fig. 1 is the flow diagram of backing up in realtime of BFD session in the embodiment of the present invention 1;
Fig. 2 is the batch backup flow diagram of BFD session in the embodiment of the present invention 2.
Specific embodiment
The backup method of BFD session on a kind of active and standby master control borad, as shown in Figure 1 and Figure 2, method includes the following steps:
(1) first by the upper application module of main control board by the BFD meeting of the BFD session configuration data, state UP of creation Words negotiate parameter and issue slave control board;
(2) upper application module of slave control board is created in BFD module according to the BFD session configuration data received BFD session;
(3) again according to the BFD session negotiation parameter received, the BFDInit message of building simulation opposite end is transmitted to BFD module;
(4) make the BFD session status of active and standby master control borad fully synchronized.
The present invention provides a kind of backup methods of BFD session on active and standby master control borad, to realize that IPRAN convergence device is submitted The active and standby synchronization for changing the BFD session that chip carries in BFD module, even if active and standby master control board switching occurs, BFD session connection is not yet It can interrupt and restart.Technical solution provided by the invention is capable of the active and standby synchronization of black box for processing BFD session, shields BFD module Inside realize details, driven by way of simulate opposite end BFD Init message active and standby BFD session parameter and session status guarantor It holds unanimously, realize simple and does not allow error-prone.
Embodiment 1
The backup method of BFD session on a kind of active and standby master control borad, as shown in Figure 1, detailed process are as follows:
Step 101, when the main control board of IPRAN convergence device and slave control board are all run in place, the first upper layer application Module creation BFD session, and the configuration data for creating BFD session is sent to the second upper application module, wherein the first upper layer Application module is corresponding BFD upper application module on main control board, and the second upper application module is corresponding for slave control board BFD upper application module;
Step 102, the first upper application module calls special purpose interface to create BFD session instance, BFD meeting in the first BFD module Speech phase DOWN;First BFD module is corresponding exchange chip BFD module on main control board;
Step 103, the second upper application module creates BFD session according to the configuration data for receiving BFD session, and calls dedicated Interface creates BFD session instance, BFD session status DOWN in the 2nd BFD module;Wherein the 2nd BFD module is spare master control Corresponding exchange chip BFD module on plate;
Step 104, the first BFD module is held consultation with opposite end BFD session, receives opposite end BFD Down message and BFD Init/ Up message, BFD session will be by state DOWN- > state I NIT- > state UP, or after receiving opposite end BFD Init message, BFD session It will be by state DOWN- > state UP;After BFD session status UP, the first upper application module is notified;
Step 105, after the first upper application module receives BFD session status UP notice, the first upper application module is from the first BFD Module obtains the negotiation parameter of BFD session, is subsequently transmitted to the second upper application module;
Step 106, the second upper application module is according to the negotiation parameter for receiving BFD session, and the BFD session backed up with before The BFD Init message of configuration data, building simulation opposite end injects exchange chip, and the BFD Init message for simulating opposite end is transmitted to 2nd BFD module;
Step 107, the 2nd BFD module receives the BFD Init message of simulation opposite end, and according to BFD state transition machine, BFD session will By state DOWN- > state UP, perhaps remained unchanged by state I NIT- > state UP or BFD session status UP;BFD session After state UP, the second upper application module is notified.
By above step, slave control board BFD module just reaches the shape of backing up in realtime of main control board BFD module The BFD protocol massages of state, subsequent opposite end are sent to main control board and slave control board, primary master control by analog switch simultaneously Plate BFD module and slave control board BFD module can synchronous variation, even if generation masterslave switchover, BFD session connection will not in Break and restarts.
Embodiment 2
The backup method of BFD session on a kind of active and standby master control borad, as shown in Fig. 2, detailed process are as follows:
Step 201, when being directed to main control board insertion slave control board on IPRAN convergence device, third upper layer application mould The configuration data of the BFD session of all creations is sent to the 4th upper application module by block, and wherein third upper application module is Upper application module on main control board, the 4th upper application module are the corresponding BFD upper application module of slave control board;
Step 202, the 4th upper application module successively creates BFD session according to the configuration data for receiving BFD session;And it calls Special purpose interface, in the corresponding BFD session of the 4th BFD module creation;Wherein the 4th BFD module is corresponding friendship on slave control board Change chip BFD module;
Step 203, third upper application module obtain the 3rd BFD module in institute the stateful BFD session negotiation parameter for UP, criticize Amount backup is sent to the 4th upper application module;Wherein the 3rd BFD module is corresponding exchange chip BFD mould on slave control board Block;
Step 204, the 4th upper application module is according to the negotiation parameter for receiving BFD session, and the BFD session backed up with before The BFD Init message of configuration data, building simulation opposite end injects exchange chip, and the BFD Init message for simulating opposite end is transmitted to 4th BFD module;
Step 205, the 4th BFD module is subsequently received the BFD Init message of simulation opposite end, according to BFD state transition machine, BFD meeting Words will by state DOWN- > state UP, stateful UP BFD session all active and standby synchronizations;After BFD session status UP, is notified Four upper application modules.
By above step, slave control board BFD module just reaches the batch backup shape of main control board BFD module The BFD protocol massages of state, subsequent opposite end are sent to main control board and slave control board, primary master control by analog switch simultaneously Plate BFD module and slave control board BFD module can synchronous variation, even if generation masterslave switchover, BFD session connection will not in Break and restarts.

Claims (1)

1. the backup method of BFD session on a kind of active and standby master control borad, which is characterized in that method includes the following steps:
The BFD session of the BFD session configuration data of creation, state UP are assisted by the upper application module of main control board first Quotient's parameter issues slave control board;
The upper application module of slave control board is created into BFD meeting according to the BFD session configuration data received in BFD module Words;
Again according to the BFD session negotiation parameter received, the BFD Init message of building simulation opposite end is transmitted to BFD module;
So that the BFD session status of active and standby master control borad is fully synchronized.
CN201811195285.3A 2018-10-15 2018-10-15 The backup method of BFD session on a kind of active and standby master control borad Withdrawn CN109462557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811195285.3A CN109462557A (en) 2018-10-15 2018-10-15 The backup method of BFD session on a kind of active and standby master control borad

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811195285.3A CN109462557A (en) 2018-10-15 2018-10-15 The backup method of BFD session on a kind of active and standby master control borad

Publications (1)

Publication Number Publication Date
CN109462557A true CN109462557A (en) 2019-03-12

Family

ID=65607681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811195285.3A Withdrawn CN109462557A (en) 2018-10-15 2018-10-15 The backup method of BFD session on a kind of active and standby master control borad

Country Status (1)

Country Link
CN (1) CN109462557A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021025826A1 (en) * 2019-08-02 2021-02-11 Ciena Corporation Retaining active operations, administration, and maintenance (oam) sessions across multiple devices operating as a single logical device
US11206197B2 (en) 2017-04-05 2021-12-21 Ciena Corporation Scaling operations, administration, and maintenance sessions in packet networks

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075861A (en) * 2007-06-28 2007-11-21 中兴通讯股份有限公司 Method for realizing main spared board thermal backup and reversing main spared board
CN101340380A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN102710466A (en) * 2012-06-11 2012-10-03 烽火通信科技股份有限公司 Master and backup board card changeover protection system, and bidirectional forwarding detection seamless handover method and device
CN104270309A (en) * 2014-09-09 2015-01-07 烽火通信科技股份有限公司 Method for achieving multi-hop BFD under IP RAN equipment
CN104333872A (en) * 2014-10-29 2015-02-04 中国联合网络通信集团有限公司 Method and system for establishing session based on bidirectional forwarding detection technology
US20180077051A1 (en) * 2016-09-15 2018-03-15 Cisco Technology, Inc. Reroute Detection in Segment Routing Data Plane

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075861A (en) * 2007-06-28 2007-11-21 中兴通讯股份有限公司 Method for realizing main spared board thermal backup and reversing main spared board
CN101340380A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN102710466A (en) * 2012-06-11 2012-10-03 烽火通信科技股份有限公司 Master and backup board card changeover protection system, and bidirectional forwarding detection seamless handover method and device
CN104270309A (en) * 2014-09-09 2015-01-07 烽火通信科技股份有限公司 Method for achieving multi-hop BFD under IP RAN equipment
CN104333872A (en) * 2014-10-29 2015-02-04 中国联合网络通信集团有限公司 Method and system for establishing session based on bidirectional forwarding detection technology
US20180077051A1 (en) * 2016-09-15 2018-03-15 Cisco Technology, Inc. Reroute Detection in Segment Routing Data Plane

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李铭超: ""IPRAN承载网中BFD协议的研究与实现"", 《武汉邮电科学研究院硕士学位论文》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11206197B2 (en) 2017-04-05 2021-12-21 Ciena Corporation Scaling operations, administration, and maintenance sessions in packet networks
WO2021025826A1 (en) * 2019-08-02 2021-02-11 Ciena Corporation Retaining active operations, administration, and maintenance (oam) sessions across multiple devices operating as a single logical device
US11310102B2 (en) 2019-08-02 2022-04-19 Ciena Corporation Retaining active operations, administration, and maintenance (OAM) sessions across multiple devices operating as a single logical device

Similar Documents

Publication Publication Date Title
CN103455005B (en) Controller redundancy and switching method
CN101217353B (en) A control method on multi-point dual redundancy system of call center
CN100553241C (en) Conversation inceptive protocol gateway master-slave conversion system and method thereof
CN101079759B (en) Distributed bidirectional forwarding detection method and device
CN101257405B (en) Method for implementing double chain circuits among master-salve equipments
CN108551397B (en) Bridge device, application and communication control method of multi-PLC master station and multi-PLC slave station
WO2018233645A1 (en) Method and system for transmitting train network data based on canopen protocol, and apparatus therefor
CN102638735B (en) Optical node device and business switching method thereof
CN201936169U (en) Central redundancy control system for shielding door of rail transportation station
CN109462557A (en) The backup method of BFD session on a kind of active and standby master control borad
US10929254B2 (en) Data processing system providing service continuity protection
CN104639867A (en) Method and system for resuming video conferences
CN100496030C (en) Integrated access media gateway device based on the high-available system
CN105490960B (en) Message forwarding method and system based on SDN framework
CN105681131A (en) Main-backup system and parallel outputting method thereof
CN107395444A (en) One kind is based on SDN controller failures recovery system and method
CN102407868B (en) Hot-standby dual-connection method suitable for communication protocol of modern monitoring system of rail transit
JP2008141729A (en) Network device and method for synchronously transmitting data employed by the same
CN101764736B (en) Method for using standard ATCA equipment
CN103048920B (en) Hot standby service redundant control method and system for container water chilling unit
WO2012000338A1 (en) Method and system for achieving main/standby switch for single boards
CN106533771A (en) Network device and control information transmission method
CN101009653A (en) The method for sending message and the system for switching device and main and standby switching
CN113093592B (en) Redundancy control system and method with data synchronization and decision judgment
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190312