CN106452834A - Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process - Google Patents
Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process Download PDFInfo
- Publication number
- CN106452834A CN106452834A CN201610782200.6A CN201610782200A CN106452834A CN 106452834 A CN106452834 A CN 106452834A CN 201610782200 A CN201610782200 A CN 201610782200A CN 106452834 A CN106452834 A CN 106452834A
- Authority
- CN
- China
- Prior art keywords
- network interface
- state
- standby
- network
- primary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0681—Configuration of triggering conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
Abstract
The invention discloses a method for guaranteeing consistency of main/standby network ports of series connection equipment in a communication process. The method comprises steps that firstly, access to a network port of the main series connection equipment is carried, and access to a network port of the standby series connection equipment is not carried out temporarily; a connection state is detected through network ports of two switches connected with the network port of the main series connection equipment, if the network port is in a standby state, the state of the network port is converted into a disconnection state after network connection is detected to disconnect, and the standby state is kept after network connection is re-detected to recover to a normal state; if the network port is in a main state, the state of the network port is converted into the disconnection state after network connection is detected to disconnect, the original standby network port is switched to the main network port to make the data realize autonomous transmission through the network port, the state of the network port is changed into the standby state after network connection is re-detected to recover to the normal state. The method is advantaged in that the series connection equipment and the main/standby ports of the switches at two ends can be kept to be consistent, and normal business operation is guaranteed.
Description
Technical field
When the present invention is directed to current concatenation equipment using active/standby mode, the inconsistent problem of two ends standby usage may be led to,
Proposition one kind is effectively reliably a kind of to ensure that concatenation equipment keeps the conforming method of standby usage network interface in communication process.
Background technology
Telecommunication apparatus typically to ensure the reliability communicating by the way of two-shipper standby usage at present, needs two of communication
The main computer of equipment and guest machine are all respectively connected to a switch by network interface, are entered using repeated link between two switches
Row connects, and in order to ensure the reliability communicating, is generally also attached using the active and standby mode of two-wire between switch.Concatenation sets
For in access system, in order to keep the noninductive access to legacy network equipment, access in concatenation equipment and do not affect when exiting
The normal operation of business, is generally all serially connected between two switches, and in order to ensure the reliability communicating, concatenation equipment also must
Must be accessed by the way of standby usage.
In the case of the normal operation of business after the access of concatenation equipment, the active and standby network interface connection of switch is as shown in Figure 1.Its
In, solid line represents primary connection, and dotted line represents standby connection.3 mouthfuls of switch S1 and 4 mouthfuls are set to smart-link pattern,
Standby usage each other;3 mouthfuls of switch S2 and 4 mouthfuls are set to smart-link pattern, standby usage each other.Switch can be examined automatically
Survey grid mouth connection status, if connection status is detected extremely, can carry out the active-standby switch of network interface automatically.Two switches
Primary network interface is all connected on two network interfaces of primary concatenation equipment.Data delivers to the network interface 3 of S1 from the main equipment of intelligent network A,
Enter primary concatenation equipment, after primary concatenation equipment submits to preventer process, be sent to the network interface of S2 from another network interface
3, finally it is submitted to the host apparatus of intelligent network B, the normal exchange completing a business datum is processed.
But due to concatenating the independence of equipment, and the uncertainty of equipment starting time and order is it is impossible to ensure two
The main port of end switch can be consistent with the equipment of concatenation, now may result in the interruption of business, as shown in Figure 2.
Content of the invention
In view of the defect that prior art exists, the invention aims to provide a kind of guarantee concatenation equipment in communication process
The middle holding conforming method of standby usage network interface, the method can allow concatenation equipment and the switch standby usage port at two ends keep
Consistent it is ensured that being normally carried out of business.
To achieve these goals, technical scheme:
A kind of guarantee concatenation equipment keeps the conforming method of standby usage network interface it is characterised in that wrapping in communication process
Include following steps:
S1, when by network is linked into using the concatenation equipment of main-standby mode, access the net of primary concatenation equipment first
Mouthful, the network interface of standby concatenation equipment wouldn't access;
S2, by two switch network interfaces being connected with the network interface of primary concatenation equipment, its connection status is detected,
If currently the network interface of this two switches is resting state, after network connection disconnection is detected, network interface state is changed into disconnected
Open state, and recover normally to keep afterwards resting state network connection is again detected;If the currently network interface of this two switches
For master state, then, after network connection disconnection is detected, network interface state is gone off state, former standby network interface is cut simultaneously
It is changed to primary network interface and makes data from currently set primary network interface transmission simultaneously, and recover network connection is again detected
After normal, its corresponding state is changed into resting state;
S3, the network interface of the standby concatenation equipment of access, and make the network interface of described standby concatenation equipment in the set time
Interior holding power-down state;
S4, the primary network interface of two switches by being connected with the network interface of standby concatenation equipment are carried out to its connection status
Detection, if currently the primary network interface of this two switches detects network connection disconnection, by its each corresponding network interface shape
State goes off state, current standby network interface is switched to primary network interface simultaneously and makes data from currently set primary
Network interface is transferred to primary concatenation equipment, completes normal business datum transmission;
S5, the network interface of described standby concatenation equipment is made to recover power-up state within the set time.
Further, as the preferred version of the present invention
The power-down state of described primary concatenation equipment is realized by way of changing its network controller chip register, its
Power-up state is all realized by changing the network interface depositor of standby concatenation equipment.
Compared with prior art, beneficial effects of the present invention:
The present invention is by, during to being linked into network using the concatenation equipment of main-standby mode, carrying out corresponding switch network interface
Setting mechanism achieves the conforming purpose of design of standby usage network interface ensureing concatenation equipment and two ends exchange machine, has reached and has added
Plus on the premise of technical costss, easily and fast achieve the normal transmit process of Network data.
Brief description
Fig. 1 is network interface connection view during the normal operation of existing concatenation equipment-switch;
Fig. 2 is the network interface connection view during exception of existing concatenation equipment-switch;
Fig. 3 is the flow chart of steps corresponding to the method for the invention;
Fig. 4 is the network interface connection view of two switches corresponding to the method for the invention;
Fig. 5 is the network interface connection view after the primary concatenation equipment of access and network interface status modifier corresponding to Fig. 4.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, is clearly and completely described to technical scheme it is clear that described embodiment is that a present invention part is real
Apply example, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that obtained, broadly fall into the scope of protection of the invention.
The smart-link characteristic based on switch network interface for the present invention, that is, in a network, two standby usage network interfaces of switch
When being set to smart-link pattern, can be according to the connection status active and standby network interface of automatic switchover of network interface, and also the same time can only
There is the characteristic of a primary network interface, devise a kind of standby usage network interface holding one enabling to concatenation equipment and two ends exchange machine
The method of cause property, concrete steps are as shown in Figure 3;Simultaneously in order to further illustrate described scheme, to described taking instantiation 1 as a example
Method is described in detail.
Example 1:The concatenation equipment of backup form based on described concatenation equipment, and be linked into by two switches S1, S2
In network, and the network interface 3 of switch S1 and the network interface 3 of switch S2 are connected;The network interface 4 of the network interface 4 of S1 and S2 connects, its
Middle network interface 3 is primary network interface, and network interface 4 is standby network interface, and the network interface connection state of specific two switches is as shown in Figure 4.
Then the step of corresponding instance 1 include as follows:
During described concatenation equipment access network, access the network interface of primary concatenation equipment, the network interface of standby concatenation equipment first
Wouldn't access;
In the case, two switch network interfaces being connected with the network interface of primary concatenation equipment can detect and once include even
Connect disconnection, the change process of the connection status then connecting again, if switch network interface is originally resting state, detects
After disconnecting to network interface connection, its network interface state is gone off, and recover normally to keep standby afterwards network connection is again detected
Use state;If the network interface of this two switches was master state originally, after network connection disconnection is detected, by network interface shape
State goes off state, former standby network interface is switched to primary network interface so that later business datum is all from new primary simultaneously
Network interface is transmitted, and again detecting after network connection is recovered normally, its corresponding state is changed into resting state, such as
Shown in Fig. 5, the network interface 3 of two switches is changed into resting state, network interface 4 is changed into master state;
Then access the network interface that standby concatenation equipment accesses standby concatenation equipment, and make described standby concatenation equipment
Network interface keeps power-down state, in order to be connected to the switch network interface of standby concatenation equipment in (several seconds) within the set time
4 changes being able to detect that network interface state, such as can keep power-down state by the way of modification network controller chip register;
The primary network interface 4 of two switches by being connected with the network interface of standby concatenation equipment is entered to its connection status afterwards
Row detection, if currently the primary network interface 4 of this two switches detects network connection disconnection, by its each corresponding network interface
State goes off state, current standby network interface 3 is switched to primary network interface simultaneously, and makes data certainly currently set
Primary network interface 3 is transferred to primary concatenation equipment, and concatenation equipment is sent from another primary network interface after processing, and completes normal business
Data transmits;
The network interface finally making described standby concatenation equipment recovers power-up state within the set time, such as by modification
The network interface depositor of standby concatenation equipment is realized, and allows network interface recover normal condition, now the network interface 4 of switch can detect connection
Recovering state is normal, network interface 4 state is changed into resting state, its connection status refers to Fig. 1, through above-mentioned all processes
Realize the conforming purpose of standby usage network interface of concatenation equipment and two ends exchange machine.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto,
Any those familiar with the art the invention discloses technical scope in, technology according to the present invention scheme and its
Inventive concept equivalent or change in addition, all should be included within the scope of the present invention.
Claims (2)
1. a kind of guarantee concatenation equipment keeps the conforming method of standby usage network interface it is characterised in that including in communication process
Following steps:
S1, when by network is linked into using the concatenation equipment of main-standby mode, access the network interface of primary concatenation equipment first, standby
Wouldn't be accessed with the network interface concatenating equipment;
S2, by two switch network interfaces being connected with the network interface of primary concatenation equipment, its connection status is detected, if working as
The network interface of this two switches front is resting state, then, after network connection disconnection is detected, network interface state is gone off shape
State, and recover normally to keep afterwards resting state network connection is again detected;If currently based on the network interface of this two switches
With state, then, after network connection disconnection is detected, network interface state is gone off state, former standby network interface is switched to simultaneously
Primary network interface makes data from currently set primary network interface transmission simultaneously, and recovers normal network connection is again detected
Afterwards its corresponding state is changed into resting state;
S3, the network interface of the standby concatenation equipment of access, and the network interface of described standby concatenation equipment was protected within the set time
Hold power-down state;
S4, the primary network interface of two switches by being connected with the network interface of standby concatenation equipment are examined to its connection status
Survey, if currently the primary network interface of this two switches detects network connection disconnection, by its each corresponding network interface state
Go off state, current standby network interface is switched to primary network interface simultaneously and make data from currently set primary net
Port transmission, to primary concatenation equipment, completes normal business datum transmission;
S5, the network interface of described standby concatenation equipment is made to recover power-up state within the set time.
2. method according to claim 1 it is characterised in that:
The power-down state of described primary concatenation equipment is realized by way of changing its network controller chip register, thereon electricity
State is all realized by changing the network interface depositor of standby concatenation equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610782200.6A CN106452834A (en) | 2016-08-31 | 2016-08-31 | Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610782200.6A CN106452834A (en) | 2016-08-31 | 2016-08-31 | Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106452834A true CN106452834A (en) | 2017-02-22 |
Family
ID=58091555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610782200.6A Pending CN106452834A (en) | 2016-08-31 | 2016-08-31 | Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452834A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294594A (en) * | 2017-07-03 | 2017-10-24 | 博为科技有限公司 | A kind of passive optical network equipment, switching method and system |
CN108809756B (en) * | 2018-05-18 | 2020-11-27 | 深圳市智微智能科技股份有限公司 | Communication method of photoelectric conversion module under linux system and related product |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6603741B1 (en) * | 1999-05-08 | 2003-08-05 | 3Com Corporation | Monitoring of connection between network devices in a packet-based communication system |
CN1665174A (en) * | 2004-03-03 | 2005-09-07 | 华为技术有限公司 | Apparatus for providing node protection in optical network and implementing method thereof |
CN1889373A (en) * | 2005-06-30 | 2007-01-03 | 华为技术有限公司 | Method for realizing master and spare conversion of distributing connection equipment |
US20080101242A1 (en) * | 2006-11-01 | 2008-05-01 | Sadler Jonathan B | Intelligent network planning and provisioning tool |
CN101257405A (en) * | 2008-04-03 | 2008-09-03 | 中兴通讯股份有限公司 | Method for implementing double chain circuits among master-salve equipments |
CN101465813A (en) * | 2009-01-08 | 2009-06-24 | 杭州华三通信技术有限公司 | Method for switching main and standby links, ring shaped networking and switching equipment |
CN102891769A (en) * | 2012-10-16 | 2013-01-23 | 杭州华三通信技术有限公司 | Link fault informing method and apparatus |
CN103152262A (en) * | 2013-02-25 | 2013-06-12 | 华为技术有限公司 | Method and equipment for connection establishment |
CN105591919A (en) * | 2015-08-31 | 2016-05-18 | 杭州华三通信技术有限公司 | FLUSH message processing method and equipment |
-
2016
- 2016-08-31 CN CN201610782200.6A patent/CN106452834A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6603741B1 (en) * | 1999-05-08 | 2003-08-05 | 3Com Corporation | Monitoring of connection between network devices in a packet-based communication system |
CN1665174A (en) * | 2004-03-03 | 2005-09-07 | 华为技术有限公司 | Apparatus for providing node protection in optical network and implementing method thereof |
CN1889373A (en) * | 2005-06-30 | 2007-01-03 | 华为技术有限公司 | Method for realizing master and spare conversion of distributing connection equipment |
US20080101242A1 (en) * | 2006-11-01 | 2008-05-01 | Sadler Jonathan B | Intelligent network planning and provisioning tool |
CN101257405A (en) * | 2008-04-03 | 2008-09-03 | 中兴通讯股份有限公司 | Method for implementing double chain circuits among master-salve equipments |
CN101465813A (en) * | 2009-01-08 | 2009-06-24 | 杭州华三通信技术有限公司 | Method for switching main and standby links, ring shaped networking and switching equipment |
CN102891769A (en) * | 2012-10-16 | 2013-01-23 | 杭州华三通信技术有限公司 | Link fault informing method and apparatus |
CN103152262A (en) * | 2013-02-25 | 2013-06-12 | 华为技术有限公司 | Method and equipment for connection establishment |
CN105591919A (en) * | 2015-08-31 | 2016-05-18 | 杭州华三通信技术有限公司 | FLUSH message processing method and equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294594A (en) * | 2017-07-03 | 2017-10-24 | 博为科技有限公司 | A kind of passive optical network equipment, switching method and system |
CN107294594B (en) * | 2017-07-03 | 2023-11-14 | 博为科技有限公司 | Passive optical network device, switching method and system |
CN108809756B (en) * | 2018-05-18 | 2020-11-27 | 深圳市智微智能科技股份有限公司 | Communication method of photoelectric conversion module under linux system and related product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100407646C (en) | Method for realizing data service backup | |
EP1708379B1 (en) | Communication system having backup function for several series devices and method for carrying out the function of switching | |
CN101582797B (en) | Management board and two-unit standby system and method | |
CN107347027A (en) | A kind of link redundancy communication system based on EtherCAT | |
CN105306605B (en) | A kind of double host server systems | |
CN105871592A (en) | Duplicated hot-redundancy method of telephone dispatching device in distributed system architecture | |
CN103188173A (en) | Switch equipment | |
CN105045164A (en) | Degradable triple-redundant synchronous voting computer control system and method | |
CN101277269A (en) | Terminal with dependable communication, terminal switch method and system as well as method for implementing the system | |
CN107592187A (en) | A kind of means of voting based on binary channels voting system | |
CN101697531A (en) | Method, device and equipment for multiplexing port | |
CN102820994A (en) | Data exchange device and data exchange method for network isolation environment | |
CN106452834A (en) | Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process | |
CN102355414B (en) | Automatic protection switching state machine processing method and device | |
CN205068032U (en) | Computer control system is decided by vote to synchronization that can demote | |
CN106027282A (en) | Network probe for preventing link interruption and network probe method | |
CN102866698A (en) | Human machine interface (HMI) redundant communication method for distributed control system controller | |
CN103001808A (en) | Switch for detecting port faults and achieving method | |
CN103095464A (en) | System for reducing power-on and power-off recovery delay of Ethernet shunt network side | |
CN105871524B (en) | A kind of method and system based on TIPC protocol realization two-node cluster hot backup | |
KR100724495B1 (en) | Programmable logic controller duplex system and running method | |
CN104022829B (en) | A kind of center-side list ethernet port converges the Ethernet optical transmission chain of output | |
CN103942127B (en) | The backup architecture of a kind of WAT test and backup method | |
CN109088753B (en) | Circuit and method for automatically detecting RS485 communication fault | |
CN202841134U (en) | Main control exchange board heat backup system based on data center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20200407 |