CN100474823C - A method for transferring connection state of Ethernet port - Google Patents

A method for transferring connection state of Ethernet port Download PDF

Info

Publication number
CN100474823C
CN100474823C CNB021525064A CN02152506A CN100474823C CN 100474823 C CN100474823 C CN 100474823C CN B021525064 A CNB021525064 A CN B021525064A CN 02152506 A CN02152506 A CN 02152506A CN 100474823 C CN100474823 C CN 100474823C
Authority
CN
China
Prior art keywords
connection status
frame
signal
equipment
lsp
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 - Lifetime
Application number
CNB021525064A
Other languages
Chinese (zh)
Other versions
CN1501642A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB021525064A priority Critical patent/CN100474823C/en
Priority to PCT/CN2003/000669 priority patent/WO2004045145A1/en
Priority to AU2003255112A priority patent/AU2003255112A1/en
Publication of CN1501642A publication Critical patent/CN1501642A/en
Application granted granted Critical
Publication of CN100474823C publication Critical patent/CN100474823C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Abstract

The invention relates to a method for transmitting the connection state of the Ethernet port, characterized by that, in the Ethernet data frame transmission, two data devices transfer the local port connection state signal through EoS device, by transmitting the connection state reach-through frame LSP generated by the EoS itself, the connection state signals of the two devices are kept consistent logically, and guaranteeing that the data communication not be interrupted. The method by the invention improves the Ethernet communication data frame's data reliability and network survivability.

Description

A kind of method of transmitting the ethernet port connection status
Technical field
The present invention relates to a kind of method of transmitting the ethernet port connection status by EoS equipment.
Background technology
As shown in Figure 1, the transfer of data course of work when data equipment directly connects is as follows: (be example with direction from A to B only, the transmission method from B to A is identical)
1) transmitting apparatus A detects the LinkA signal that receiving equipment B brings, and after this signal is effective, data is sent to receiving equipment B; If LinkA is invalid, device A can not send data to equipment B.
2) if there is alternate channel in device A, this LinkA disablement signal can be used for starting alternate channel by device A; Equally, " LINK " signal that device A is sent to equipment B also will lose efficacy (this signal that do not draw among path and Fig. 1, failure reasons has been to use same access path), should " LINK " disablement signal also will make equipment B enable alternate channel.After 2 equipment have all been enabled alternate channel, communicating by letter of device A and equipment B will recover, thereby improve the network survivability performance of data equipment.
Along with the fast development of SDH/SONET network, SDH/SONET communication has become the main means that information is transmitted.The EoS technology is also used more widely, and in the transmission of the ethernet data frame of metropolitan area network, the most frequently used method is to connect two data equipment by EoS equipment, and data equipment can be two layers/three-tier switch or router etc.These two data equipment do not have annexation physically, but are provided with alternate channel.As shown in Figure 2, ethernet frame by the SDH network transfer method is: (be example with direction from A to B only, the transmission method from B to A is identical)
1) data equipment A detect LinkA that EoS#A sends effectively after, data equipment A could send data to EoS#A;
2) ethernet frame of A transmission is filled in the payload of SDH frame by the EoS#A device processes, and arrives EoS#B by the SDH Network Transmission, and EoS#B takes out the ethernet frame that data equipment A brings from SDH frame payload;
3) EoS#B judges whether LinkB is effective, if LinkB is effective, this ethernet frame is delivered to data equipment B, finishes the transmission of ethernet frame from A to B.
Like this, directly linking to each other different with data equipment is that two data equipments that link to each other by EoS equipment do not have annexation physically.The LinkA signal might not be identical with the LinkB signal, for example, certain reason causes LinkA to lose efficacy and LinkB when effective (stube cable/optical cable such as the LinkA signal is disconnected), data equipment A can detect to connect and lose efficacy, thereby the startup alternate channel, and data equipment B effectively can not start alternate channel because of LinkB, so, even have alternate channel between device A and the equipment B, the communication between device A and the equipment B also can be interrupted.Want head it off, must be consistent from making two Link signals in logic.
Summary of the invention
In order to solve the problem that in the above-mentioned Ethernet transmission two ends data equipment connection status signal is consistent, improve the reliability that ethernet frame transmits, the present invention proposes a kind of method of transmitting the ethernet port connection state information by EoS equipment.
The technical scheme that realizes the object of the invention is: a kind of method of transmitting the ethernet port connection status, two data equipments link to each other with SDH (Synchronous Digital Hierarchy) SDH/ Synchronous Optical Network SONET transmission network by EoS (Ethernet overSDH/SONET: Ethernet transmits in SDH/SONET) equipment respectively in the Ethernet transmission, realize transmitting mutually between the EoS equipment port status information of this machine, it is characterized in that may further comprise the steps:
1), the connection status signal of the data equipment that is attached thereto of EoS Equipment Inspection, when the connection status signal changed, EoS equipment produced connection status break-through frame LSP;
2), when the connection status invalidating signal, repeat to send " connect and lost efficacy " signal; When the connection status signal is effective, send " connecting effectively " signal;
3), encapsulation connection status break-through LSP frame, mapping advances in the SDH/SONET payload to be transferred to opposite end EoS equipment, opposite end EoS equipment solves connection status break-through frame LSP from payload, and explains the local terminal port link information of carrying in the connection status break-through frame;
4) if opposite end EoS equipment receives " connect lost efficacy " signal, the connection status signal is arranged to engineering noise, stops communicating by letter between opposite end EoS equipment and the data equipment master channel; If opposite end EoS equipment is received " connecting effectively " signal, the connection status signal between EoS equipment and the data equipment is arranged to " effectively ", enable the master channel of opposite end EoS equipment and user data equipment;
5) if having backup data channel between two data equipment, " connecting and lost efficacy " signal will make the opposite end data equipment enable backup data channel, simultaneously, " connect lost efficacy " signal of local terminal also will make Local Data equipment enable backup data channel, thereby the communication between two data equipment is recovered;
6), local terminal EoS equipment continue to detect the connection status signal, after the connection status signal changes once more, setting up procedure 2).
The frame format of described connection status break-through frame LSP adopts the frame format of the ethernet frame of definition in the standard IEEE 802.3.
Described connection status break-through frame LSP adopts and the same transmission path of ethernet data frame.
Media access control MAC address field among the connection status break-through frame LSP uses specific address sequence, and the media access control MAC address that may occur on this address and the network is inequality, and this address can be used to discern the LSP frame.
Type field in the connection status break-through frame LSP frame is used the type thresholding of special-purpose ethernet frame, and the type thresholding is different with defined frame type, and the available frame type is discerned the LSP frame.
Encapsulation/decapsulation mode between LSP frame and the SDH payload can be link access protocol-SDH (LAPS, Link Access Protocol-SDH), high-level data link control procedure (HDLC, High level Data Link Control), general frame forming is handled the mode in (GPF, General FramingProcedure) agreement; Shine upon/separate mapping mode normally Virtual Concatenation or cascade.
After opposite end EoS equipment received " connect and lost efficacy " signal in the step 4), the method for the connection status signal being arranged to engineering noise was: for optical interface, adopt the method for turn-offing laser; For electrical interface, adopt the method that stops to send " heartbeat pulse ".
The inventive method is by the LSP frame, the port connection status of two ends data equipment and EoS equipment logically is consistent, realized that data equipment is by among the SDH/SONET during transmitting digital information, when failing with data channel, the master can enable backup data channel automatically, the assurance data communication can not interrupted, thereby has improved the reliability and the network survivability performance of the Ethernet transferring data frames of metropolitan area network greatly.
Description of drawings
Fig. 1 is the transmission method schematic diagram of data equipment when directly connecting.
Fig. 2 is that ethernet device passes through SDH network transfer method schematic diagram.
Embodiment
The present invention's equipment in practice connects with reference to figure 2.Data equipment A (switch/router) links to each other with EoS equipment B (EoS#B) with EoS device A (EoS#A) respectively with data equipment B (switch/router), link to each other by the SDH/SONET network between the EoS equipment, alternate channel link to each other (alternate channel can be SDH/SONET or other link) is arranged between data equipment A and the data equipment B.
EoS#A detects the LinkA signal, when the LinkA signal condition changes, the EoS equipment self produces the LSP frame, the carrier of LSP frame can use the standard ethernet frame of 802.3 definition, the form that present embodiment LSP frame uses is identical with the shortest frame of standard 802.3 definition 64 bytes, and still, this is for simplified design, also can use other form or frame length, as long as between EoS equipment, arrange in advance.The realization of LSP frame is based on the mode of in-band management, promptly adopts same transmission path with general ethernet data frame.The LSP frame only transmits between the EoS that is connected in SDH/SONET circuit two ends, and the user data equipment that EoS hangs down can not produce or receive the LSP frame.
By the LSP frame is encapsulated, mapping advances in the SDH/SONET payload to be transferred to opposite equip. again, and opposite equip. solves the LSP frame from the SDH/SONET payload, and explains the Peer-Port connection state information that carries in the LSP frame.
High-level data link control procedure), GPF various ways such as (General Framing Procedure: general frame forming are handled) encapsulation/decapsulation between LSP frame and the SDH payload, mapping/separate mapping mode without limits, encapsulation/decapsulation can be LAPS (Link Access Protocol-SDH: link access protocol-SDH), HDLC (High level Data Link Control:; Shine upon/separate and shine upon normally Virtual Concatenation or cascade.
Can make and discern the LSP frame in two ways, only need to use following a kind of getting final product:
1, can use the media access control MAC address to discern the LSP frame, specific address sequence must be used in MAC Address territory in the LSP frame at this moment, can not be identical with the MAC Address that may occur on the network, because the global uniqueness of MAC Address can use the MAC Address of the equipment of putting aside as useless to avoid the MAC Address conflict.
2, can use ethernet frame type to discern the LSP frame, the type field in the LSP frame can not be identical with the frame type that has defined, and needs the frame type of application-specific.
Specifically, a LSP negotiations process may further comprise the steps:
(1), when the connection status signal LinkA of EoS device A is invalid, send " connect and lost efficacy " signal.This LSP frame need repeat to send, and can stop to send the LSP frame behind the opposite equip. return response again, does not perhaps detect the answer signal of opposite equip., retransmits up to the LinkA signal always and recovers effectively;
When the connection status signal LinkA of EoS#A and data equipment A is effective, send " connecting effectively " information.This LSP frame is as long as send once.Opposite end EoS equipment thinks that the LinkA signal recovers effectively after receiving this LSP frame or do not detect LSP in the determining time and " connecting and lost efficacy " frame;
Its Link signal effectively/invalid can in the payload of ethernet frame, the setting, be that 0x55 is effective such as first byte of payload; Be that other value is for invalid.In order to improve the accuracy of control, use " request " " to reply " mode in the present embodiment, what promptly no matter carry in the LSP frame is " connecting effectively ", or " it is invalid to connect " information, all use the mode that repeats to send, the interval of repeating transmission time is controlled, retransmits till the LSP frame of receiving opposite equip. is replied;
(2) if EoS#B receives " connect and lost efficacy " signal, status signal LinkB is arranged to engineering noise (simultaneously, can also send the LSP acknowledgement frame to EoS#A according to configuration), for optical interface, adopt the method for turn-offing laser; For electrical interface, adopt the method stop to send " heartbeat pulse " (heartbeat pulse, promptly the 100M Ethernet is to connect pulse FLP fast, the 10M Ethernet is common connection pulse NLP); If EoS#B receives " connecting effectively " signal, status signal LinkB is arranged to " effectively ", enable the master channel of EoS#B and user data equipment;
(3) if there are alternate channel in user data device A and user data equipment B, LinkB lost efficacy and will make data equipment B enable alternate channel, simultaneously, LinkA lost efficacy and will make data equipment A enable alternate channel, thereby had guaranteed that the communication between data equipment A and the data equipment B is recovered;
(4), EoS#A continues to detect connection status signal LinkA.After the LinkA signal changes once more, restart new connection status break-through frame LSP process, according to new LSP process, it is unimpeded that the communication between data equipment A and the data equipment B keeps, its the possibility of result is to use the master to use data channel, also may use backup data channel.

Claims (8)

1, a kind of method of transmitting the ethernet port connection status, two data equipments link to each other with SDH (Synchronous Digital Hierarchy) SDH/ Synchronous Optical Network SONET transmission network by EoS equipment respectively in the Ethernet transmission, realize transmitting mutually between the EoS equipment port status information of this machine, it is characterized in that may further comprise the steps:
1), the connection status signal of the data equipment that is attached thereto of EoS Equipment Inspection, when the connection status signal changed, EoS equipment produced connection status break-through frame LSP;
2), when the connection status invalidating signal, repeat to send " connect and lost efficacy " signal; When the connection status signal is effective, send " connecting effectively " signal;
3), local terminal EoS equipment packages connection status break-through frame LSP, mapping advances in the SDH/SONET payload to be transferred to opposite end EoS equipment, opposite end EoS equipment solves connection status break-through frame LSP from payload, and explains the local terminal port link information of carrying in the connection status break-through frame;
4) if opposite end EoS equipment receives " connect lost efficacy " signal, the connection status signal is arranged to engineering noise, stops communicating by letter between opposite end EoS equipment and the data equipment master channel;
If opposite end EoS equipment is received " connecting effectively " signal, the connection status signal between EoS equipment and the data equipment is arranged to " effectively ", enable the master channel of opposite end EoS equipment and user data equipment;
5) if having backup data channel between two data equipment, " connecting and lost efficacy " signal will make the opposite end data equipment enable backup data channel, simultaneously, " connect lost efficacy " signal of local terminal also will make Local Data equipment enable backup data channel, thereby the communication between two data equipment is recovered;
6), local terminal EoS equipment continue to detect the connection status signal, after the connection status signal changes once more, setting up procedure 2).
2, the method for transmission ethernet port connection status according to claim 1 is characterized in that: the frame format of described connection status break-through frame LSP adopts the frame format of the ethernet frame of definition in the standard IEEE 802.3.
3, the method for transmission ethernet port connection status according to claim 1 is characterized in that: described connection status break-through frame LSP adopts and the same transmission path of ethernet data frame.
4, the method for transmission ethernet port connection status according to claim 2, it is characterized in that: the media access control MAC address field among the connection status break-through frame LSP uses specific address sequence, the media access control MAC address that occurs on this address and the network is inequality, and this address is used for discerning the LSP frame.
5, the method for transmission ethernet port connection status according to claim 2, it is characterized in that: the type field in the connection status break-through frame LSP frame is used the type thresholding of special-purpose ethernet frame, the type thresholding is different with defined frame type, discerns the LSP frame with frame type.
6, the method for transmission ethernet port connection status according to claim 1 is characterized in that: the encapsulation/decapsulation mode between LSP frame and the SDH payload is that link access protocol-SDH LAPS, high-level data link control procedure HDLC, general frame forming are handled the mode in the GPF agreement; Shining upon/separate mapping mode is Virtual Concatenation or cascade.
7, the method for transmission ethernet port connection status according to claim 1, it is characterized in that: step 2) in when the connection status invalidating signal, repeat to send " connect and lost efficacy " signal, behind the EoS equipment return response of opposite end, stop to send this LSP frame again, or do not detect the answer signal of opposite end EoS equipment, retransmit up to the connection status signal always and recover effectively;
When the connection status signal is effective, send " connecting effectively " signal, this LSP frame only sends once, and opposite end EoS equipment thinks that the connection status signal recovers effectively after receiving this LSP frame or do not detect LSP in the determining time and " connecting and lost efficacy " signal; Also use the mode that repeats to send, retransmit till the LSP frame of receiving opposite equip. is replied.
8, the method for transmission ethernet port connection status according to claim 1, behind " connect and the lost efficacy " signal that it is characterized in that opposite end EoS equipment receives in the step 4), the method of the connection status signal being arranged to engineering noise is: for optical interface, adopt the method for turn-offing laser; For electrical interface, adopt the method that stops to send " heartbeat pulse ".
CNB021525064A 2002-11-14 2002-11-14 A method for transferring connection state of Ethernet port Expired - Lifetime CN100474823C (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CNB021525064A CN100474823C (en) 2002-11-14 2002-11-14 A method for transferring connection state of Ethernet port
PCT/CN2003/000669 WO2004045145A1 (en) 2002-11-14 2003-08-13 Method of transmitting ethernet port link state
AU2003255112A AU2003255112A1 (en) 2002-11-14 2003-08-13 Method of transmitting ethernet port link state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021525064A CN100474823C (en) 2002-11-14 2002-11-14 A method for transferring connection state of Ethernet port

Publications (2)

Publication Number Publication Date
CN1501642A CN1501642A (en) 2004-06-02
CN100474823C true CN100474823C (en) 2009-04-01

Family

ID=32304083

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021525064A Expired - Lifetime CN100474823C (en) 2002-11-14 2002-11-14 A method for transferring connection state of Ethernet port

Country Status (3)

Country Link
CN (1) CN100474823C (en)
AU (1) AU2003255112A1 (en)
WO (1) WO2004045145A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100440800C (en) * 2005-11-30 2008-12-03 中兴通讯股份有限公司 Method for realizing regional-field network WAN port TRUNK protection
CN101030967B (en) * 2006-03-01 2011-11-30 中兴通讯股份有限公司 Method for inspecting and maintaining network controlling channel accessibility
CN101119161B (en) * 2006-08-04 2011-08-10 中兴通讯股份有限公司 Fail processing system and method of transmission equipment
CN1964249B (en) 2006-10-20 2010-08-25 华为技术有限公司 A method and device to realize punch-through of point-to-multipoint network link status
US20080107027A1 (en) * 2006-11-02 2008-05-08 Nortel Networks Limited Engineered paths in a link state protocol controlled Ethernet network
CN101227317B (en) * 2007-11-02 2010-06-23 中兴通讯股份有限公司 Method for managing data communication channel of synchronizing digital hierarchy equipment
CN102739982A (en) * 2012-05-29 2012-10-17 浙江大华技术股份有限公司 Digital video matrix cascade system as well as communication device and method thereof
CN104427544B (en) * 2013-09-10 2019-08-27 华为技术有限公司 Detect router between whether direct-connected method and router
US9354990B2 (en) 2013-09-11 2016-05-31 International Business Machines Corporation Coordination of spare lane usage between link partners
CN104811261B (en) * 2014-01-28 2018-03-02 中国电信股份有限公司 The method of OTN apparatus and its process signal
CN105100681B (en) * 2014-04-28 2018-09-28 浙江大华技术股份有限公司 Video matrix cascade Mach-Zehnder interferometer method, apparatus and system
CN105407084B (en) * 2015-10-26 2018-09-25 浪潮软件股份有限公司 A kind of network transmission device, method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6041042A (en) * 1997-05-27 2000-03-21 Cabletron Systems, Inc. Remote port mirroring system and method thereof
JP2000022596A (en) * 1998-06-29 2000-01-21 Nec Corp Redundant system management system
JP3459896B2 (en) * 2000-05-17 2003-10-27 日本電気通信システム株式会社 Standby path access device
CN1268092C (en) * 2001-04-18 2006-08-02 信息产业部武汉邮电科学研究院 Interface device and method for direct match of Ethernet with physical channel

Also Published As

Publication number Publication date
WO2004045145A1 (en) 2004-05-27
CN1501642A (en) 2004-06-02
AU2003255112A1 (en) 2004-06-03

Similar Documents

Publication Publication Date Title
US7826400B2 (en) Packet ring network system and packet transport method
US7394758B2 (en) Method for supporting SDH/SONET APS on Ethernet
CN100474823C (en) A method for transferring connection state of Ethernet port
CN101156396B (en) Data frame transmission processing method and system
CN101984591B (en) Service convergence method and system in transport-multiprotocol label switching network
US7590147B2 (en) LAN signal transmitting method and apparatus adapted to shut down a LAN signal if extracted link information indicates link down
US8000600B2 (en) Method and an apparatus for preventing traffic interruptions between client ports exchanging information through a communication network
US6741566B1 (en) Remote management ethernet network and device
WO2011080042A1 (en) Neighbor discovery for ethernet private line on user network interfaces
CN1747606B (en) Service data transmission method and apparatus thereof
US8660125B2 (en) Node device, integrated circuit and control method in ring transmission system
US7751335B2 (en) Failure handling system
US10182001B2 (en) Method for cross-trafficking between two slaves of an annular data network
CN101345612A (en) Data transmission method and device based on time division multiplexing link
US7463655B2 (en) Method of transmitting data with redundant structure, and device for transmitting data by said method
CN103532740A (en) Remote management implementation method, remote management implementation system, general communication channel (GCC) overhead processing method and GCC overhead processing device
US20060215570A1 (en) Method of achieving the network link status penetrate
CN105721269B (en) Ethernet ring network protection method and device
CN101494511B (en) Method for distributing T-MPLS looped network label
CN114124786A (en) R-NAT device for rail transit train and ETBN exchanger
WO2018077110A1 (en) Method for sending packets and receiving packets, and network device and packet sending system
CN113098673B (en) Full duplex communication device based on serial link mirror image cache
CN101351056B (en) Method and apparatus for transmitting fault information
CN101299703B (en) Elastic packet ring as well as link condition transference method for the same
CN116055016A (en) Time slot negotiation method and device

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
CX01 Expiry of patent term

Granted publication date: 20090401

CX01 Expiry of patent term