CN100431300C - Method for using backup circuitry automatically - Google Patents

Method for using backup circuitry automatically Download PDF

Info

Publication number
CN100431300C
CN100431300C CNB2005100212843A CN200510021284A CN100431300C CN 100431300 C CN100431300 C CN 100431300C CN B2005100212843 A CNB2005100212843 A CN B2005100212843A CN 200510021284 A CN200510021284 A CN 200510021284A CN 100431300 C CN100431300 C CN 100431300C
Authority
CN
China
Prior art keywords
bridge
link
state information
automatically
local terminal
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.)
Expired - Fee Related
Application number
CNB2005100212843A
Other languages
Chinese (zh)
Other versions
CN1735039A (en
Inventor
章波
孙泽勇
张贻华
李建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
MAIPU (SICHUAN) COMMUNICATION 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 MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd filed Critical MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd
Priority to CNB2005100212843A priority Critical patent/CN100431300C/en
Publication of CN1735039A publication Critical patent/CN1735039A/en
Application granted granted Critical
Publication of CN100431300C publication Critical patent/CN100431300C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a method for using backup circuitry automatically, particularly to an automatic switchover method for backup circuitry of bridge networking. The bridges at both ends of a transmission link detect the state information of the self end link on line, and send the state information to the opposite end by establishing information frames; the bridges at both ends automatically switch over a main link and a backup link according to the abnormal conditions of the state information of the self end link and the state information of the opposite end link. The present invention using the automatic switchover of the backup circuitry reduces the time of service interruption, decreases the maintenance amount of the system, and enhances the reliability of a network.

Description

A kind of method of using backup circuitry automatically
Technical field
The present invention relates to network communication field, particularly the method for using backup circuitry automatically in the network environment of bridge networking.
Background technology
With Fig. 1 is example, in the applied environment of existing employing bridge building network, in order to guarantee professional normally carrying out, increase the reliability of network, master between bridge and bridge is with the transmission line, usually between router, all be equipped with the backup dial line, when the master is broken down with transmission line, can carry out normal professional transmission by switching to the dial backup circuit.In existing professional transmission course, after in case main line breaks down, generally all need manual intervention could start standby dial line, this has brought very big inconvenience for the maintenance of network, not only increased the workload of network operation, and can carry out normal business and produce certain influence, particularly for the site of long-term unattended duty or when night, network broke down, traditional method makes that professional recovery need be through for a long time.
Summary of the invention
Technical problem to be solved by this invention is exactly: when overcoming main line and breaking down, need manual switching to arrive spare line response to network variation in time, the long shortcoming of service outage duration, a kind of method of using backup circuitry automatically is provided, reduce service outage duration, the maintenance of minimizing system, the reliability of raising network.
The method of using backup circuitry automatically proposed by the invention is meant: the two ends bridge is connected between the router of two ends, after system initialization is finished, the online detection local terminal of two ends bridge link-state information, and this detected local terminal link information sent to the opposite end bridge by the information frame that makes up; The local terminal bridge receives the link-state information frame that the opposite end bridge sends simultaneously; The two ends bridge is judged according to received opposite end link-state information and detected local terminal link-state information respectively, if any any unusual, then local terminal bridge Ethernet link is forbidden falling; The two ends router detection starts dial-up connection automatically after the illegal state information of institute's connection bridge Ethernet link, spare line is started working.
Bridge carries out online timing with timer internal as the sampling time and detects, and the main link-state information that detects comprises:
A) whether carrier wave is arranged;
B) frame synchronization whether under the framed mode;
C) whether transmission network circuit and ethernet link are communicated with;
D) and transmission line and whether loopback appears.
The information frame that bridge makes up is a kind of short frame, and the transmission of this short frame does not influence regular traffic.
Among the present invention, when all unusual disappearances of link, the two ends bridge will recover its Ethernet link automatically, and this moment, router cut off extension wire automatically, and business recovery is worked with transmission line to original master.
The invention has the beneficial effects as follows: the means that a kind of fast quick-recovery business is provided for network by the method for using backup circuitry automatically, can automatic diagnosis line fault by the present invention, can be unmanned guard, using backup circuitry automatically under the unmanned situation about participating in, ensure professional smoothness, reduced the maintenance of equipment; Simultaneously because this method mainly by the software realization, has therefore reduced equipment cost, for the client has brought direct economic benefit.
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Description of drawings
Fig. 1 is a network environment schematic diagram of the present invention;
Fig. 2 is the structural representation of the information frame that makes up of the present invention.
Embodiment
In the network environment as Fig. 1, in the bridge internal build information frame of one 4 byte, its structure is referring to Fig. 2, and is mutual as the link-state information between bridge, wherein the 1st byte is frame type field, and present frame type value defined is 0 * 20 (can expand later on); The 2nd byte is the link-state information field, and wherein every definition is respectively:
The 1st, frame synchronization information;
The 2nd, carrier information;
The 3rd, the transmission network link information;
The 4th, Ethernet link information;
Other position keeps.
The 3rd byte is that verification is used; The 4th byte is a system random number, is used for the transmission line loopback detection.
After initial configuration was finished in system start-up, circuit began the regular traffic transmission, and bridge begins transmission line is detected in real time simultaneously.Whether bridge at first detected transmission circuit carrier wave is normal, the 1st of fill message frame the 2nd byte; Judge the frame synchronization information of framed mode, the 2nd of fill message frame the 2nd byte; Judge whether the transmission network circuit is normal, the 3rd of fill message frame the 2nd byte according to whether receiving correct data frame (comprising all traffic frames and information frame); For filling in of the 4th of information frame the 2nd byte, at first judge according to the other side's information frame that receives, if too link information is unusual for the other side,, directly fill in the 4th information of the 2nd byte for normal for fear of causing the irrecoverable of main line; Otherwise the Ethernet link situation according to oneself is filled in.The 3rd byte of information frame is filled in check code.The 4th byte of information frame is filled in random number, and random number can be taken from the timer value of bridge.After information frame is filled in and finished, send to the opposite end bridge by the transmission network circuit.
Bridge judges according to the 2nd byte in carrier wave, frame synchronization, the transmission line situation of local terminal and the other side's bridge information frame that receives, if find wherein to have any unusual, the local terminal Ethernet link forbidden falling.In addition, bridge compares the value of the 4th byte in random number that sends and the other side's information frame that receives, if send for 3 times and receive identically continuously, then thinks the loopback fault to occur, and the local terminal Ethernet link is forbidden falling.The working method of two ends bridge is identical, and when unusual appearance arbitrarily, the two ends bridge all can be finished the local terminal Ethernet link and forbid that the system that guaranteed can switch to spare line work very soon.
When bridge detects when causing that abnormality that Ethernet link forbids disappears, bridge will recover Ethernet link automatically, and business returns to former master again and uses transmission line.
The circuit of bridge detection in the present invention is main comprising unusually:
A) transmission line looper;
B) local terminal loss of carrier;
C) the local terminal OOF under the framed mode;
D) under the local terminal normal condition, the alarm of opposite end loss of carrier;
E) under the local terminal normal condition, the alarm of end OOF;
F) under the local terminal normal condition, opposite end Ethernet link fault warning;
G) under the local terminal normal condition, opposite end transmission line failure alarm etc.
Through test of many times checking, occur a) using in the network environment-g) unusual various situations, system can both in time switch accurately and reliably, can deadlock at the state of mistake, and, can not influence the operate as normal of equipment by flow rate test, obtained the goal of the invention of expection.
The information frame of mentioning in the present embodiment is to produce by FPGA (field programmable gate array), and the definition of this information frame and producing method are not unique, and the definition of other information frames and producing method also belong to protection scope of the present invention.

Claims (5)

1, a kind of method of using backup circuitry automatically, it is characterized in that the two ends bridge is connected between the router of two ends, after system initialization is finished, the online detection local terminal of two ends bridge link-state information, and this detected local terminal link information sent to the opposite end bridge by the information frame that makes up; The local terminal bridge receives the link-state information frame that the opposite end bridge sends simultaneously; The two ends bridge is judged according to received opposite end link-state information and detected local terminal link-state information respectively, if any any unusual, then the local terminal Ethernet link is forbidden falling; The two ends router detection starts dial-up connection automatically after the illegal state information of institute's connection bridge Ethernet link, spare line is started working.
2, the method for using backup circuitry automatically as claimed in claim 1 is characterized in that, described bridge carries out online timing with timer internal as the sampling time and detects.
3, the method for using backup circuitry automatically as claimed in claim 1 is characterized in that, the link-state information that described bridge detects mainly comprises:
A) whether carrier wave is arranged;
B) frame synchronization whether under the framed mode;
C) whether transmission network circuit and ethernet link are communicated with;
D) and transmission line and whether loopback appears.
4, the method for using backup circuitry automatically as claimed in claim 3 is characterized in that, the information frame that described bridge makes up is a kind of short frame, and the transmission of this short frame does not influence regular traffic.
5, as the method for the described using backup circuitry automatically of the arbitrary claim of claim 1-4, it is characterized in that when link disappeared unusually, described two ends bridge can recover its Ethernet link automatically, described router cuts off extension wire automatically, and business recovery is used line work to original master.
CNB2005100212843A 2005-07-18 2005-07-18 Method for using backup circuitry automatically Expired - Fee Related CN100431300C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100212843A CN100431300C (en) 2005-07-18 2005-07-18 Method for using backup circuitry automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100212843A CN100431300C (en) 2005-07-18 2005-07-18 Method for using backup circuitry automatically

Publications (2)

Publication Number Publication Date
CN1735039A CN1735039A (en) 2006-02-15
CN100431300C true CN100431300C (en) 2008-11-05

Family

ID=36077251

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100212843A Expired - Fee Related CN100431300C (en) 2005-07-18 2005-07-18 Method for using backup circuitry automatically

Country Status (1)

Country Link
CN (1) CN100431300C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282852B (en) * 2018-02-06 2021-04-27 Oppo广东移动通信有限公司 WiFi bridging management method and device, mobile terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321004A (en) * 2000-04-25 2001-11-07 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1354575A (en) * 2000-11-22 2002-06-19 深圳市中兴通讯股份有限公司 Communication method applicable to double-network fault-tolerance system
CN1501593A (en) * 2002-11-15 2004-06-02 华为技术有限公司 A method for implementing bridge link backup
CN1512675A (en) * 2002-12-31 2004-07-14 东方通信科技发展有限公司 Conversion method for main and spare communication channels

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321004A (en) * 2000-04-25 2001-11-07 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1354575A (en) * 2000-11-22 2002-06-19 深圳市中兴通讯股份有限公司 Communication method applicable to double-network fault-tolerance system
CN1501593A (en) * 2002-11-15 2004-06-02 华为技术有限公司 A method for implementing bridge link backup
CN1512675A (en) * 2002-12-31 2004-07-14 东方通信科技发展有限公司 Conversion method for main and spare communication channels

Also Published As

Publication number Publication date
CN1735039A (en) 2006-02-15

Similar Documents

Publication Publication Date Title
US10708132B2 (en) Technique for handling a status change in an interconnect node
CN101558609A (en) Method, device and system for ring protection
CN100571173C (en) A kind of detection method of network node abnormality
CN1953400A (en) A method to control the continuity detection of Ethernet link
CN101877646B (en) Protection switching method and node equipment
CN101188527B (en) A heartbeat detection method and device
CN104065546B (en) Ethernet protects switching method
CN102611589A (en) Automatic detection device of disconnection of router and working method thereof
CN101141366A (en) Method of preventing data loop in ring ethernet
CN101018183A (en) A topology notification method, system and device based on L2VPN
CN103442035A (en) Method for achieving dual-network hot standby redundancy of blank pipe automatic system
CN105381565A (en) Intelligent inspection system and method for fire water supply system
CN101777997A (en) Method and system for switching flow of network link
CN101989933A (en) Method and system for failure detection
CN110488597A (en) Locomotive Main Processor Unit dual redundant control method
CN101436938A (en) Method, system and switching equipment for halting/recovering port transmitting and receiving service
CN102231674A (en) Processing method and apparatus of far-end fault of Ethernet
CN101931569A (en) Link fault detection method for Ethernet Ring
CN101908983A (en) Joint detection method and system for Ethernet local segment protection
CN100466564C (en) Failure monitoring method and device of the virtual rented line
CN107026780A (en) A kind of distribution optical fiber ring network fault point positioning method and system based on Internet of Things
CN101790110A (en) Device and method for coordinating and recovering automatic protection switching operation
CN100431300C (en) Method for using backup circuitry automatically
ES2309393T3 (en) METHOD TO SIGN A LINK FAILURE IN A NETWORK.
CN101511100B (en) Link detection method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: MAIPU COMMUNICATION TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: Sichuan city of Chengdu province high tech Zone nine Hing Road No. 16 building, Maipu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: Sichuan city of Chengdu province high tech Zone nine Hing Road No. 16 building, Maipu

Patentee before: Maipu (Sichuan) communication technology Co.,Ltd.

CP02 Change in the address of a patent holder

Address after: No. 1, No. 288 building, 610041 floor, Maipu Sichuan province Chengdu Tianfu Avenue, 17 floor

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 Sichuan city of Chengdu province high tech Zone nine Hing Road No. 16 building, Maipu

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041, 17 floor, maple building, 1 building, 288 Tianfu street, Chengdu, Sichuan.

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081105

CF01 Termination of patent right due to non-payment of annual fee