CN103957049A - Automatic optical fiber link protection method and system based on APS protocol - Google Patents

Automatic optical fiber link protection method and system based on APS protocol Download PDF

Info

Publication number
CN103957049A
CN103957049A CN201410216665.6A CN201410216665A CN103957049A CN 103957049 A CN103957049 A CN 103957049A CN 201410216665 A CN201410216665 A CN 201410216665A CN 103957049 A CN103957049 A CN 103957049A
Authority
CN
China
Prior art keywords
frame
optical fiber
fiber link
ethernet
ethernet overhead
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
Application number
CN201410216665.6A
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201410216665.6A priority Critical patent/CN103957049A/en
Publication of CN103957049A publication Critical patent/CN103957049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an automatic optical fiber link protection method based on an APS protocol. The automatic optical fiber link protection method comprises the steps that a source node of an optical fiber link enables APS protocol information of an optical link channel in need of protection to be packaged into an Ethernet overhead frame, the Ethernet overhead frame is sent to a destination node of the optical fiber link, and the destination node of the optical fiber link receives the Ethernet overhead frame and analyzes out the APS protocol information. The invention further provides an automatic optical fiber link protection system based on the APS protocol. The system comprises a configuration unit, a cache unit, a packaging unit, a sending unit, a receiving unit and an analyzing unit. By the adoption of the automatic optical fiber link protection method and system, the expansibility is enhanced, the interference resistance and the reliability are improved and meanwhile the number of single-disk overhead buses is reduced.

Description

Automatic protection method and system for optical fiber link based on APS protocol
Technical Field
The present invention relates to the field of optical fiber communications, and in particular, to an Automatic Protection Switching (APS) protocol-based method and system for automatically protecting an optical fiber link.
Background
Currently, an optical fiber communication network becomes a main part of national economic information infrastructure, and once the optical fiber communication network is blocked, the optical fiber communication network has great influence on the society and causes great economic loss to the society. In order to ensure that an optical fiber communication line can be quickly restored when the optical fiber communication line is blocked, and ensure normal communication, an optical fiber automatic switching protection technology is generally adopted, namely, after transmission of a working link is interrupted or performance is degraded to a certain degree, a fault is timely discovered, a working optical path is quickly and automatically switched to a standby channel, communication is restored within a very short time, and quick response and restoration to the optical fiber fault are completed.
The current automatic protection of the optical fiber link mainly comprises the following steps:
(1) bidirectional link 1+1 protection: both the source node and the sink node send traffic to and receive traffic from the working and backup paths of the optical fiber link simultaneously. When the working path of the optical fiber link fails, the host node automatically performs switching action, receives services from the standby path of the optical fiber link, simultaneously sends APS protocol information to the source node, the source node also automatically performs switching after receiving the APS protocol information and receives services from the standby path of the optical fiber link, and the services in two directions are switched to the standby path of the optical fiber link when the failure occurs, so that the protection is called bidirectional link 1+1 protection;
(2) bidirectional link 1:1 protection: the source node sends the service to the working path of the optical fiber link, the sink node receives the service from the working path of the optical fiber link, when the working path of the optical fiber link fails, the sink node automatically generates the switching action, receives the service from the backup path of the optical fiber link, and simultaneously sends APS protocol information to the source node, the source node automatically generates the bridge connection after receiving the APS protocol information and sends the service to the backup path of the optical fiber link, because when the failure occurs, only the service in the failure direction is switched to the backup path of the optical fiber link, the protection is called as bidirectional link 1:1 protection. However, these conventional APS protocol information transmission methods based on time division multiplexing have the following disadvantages:
(1) the expansion difficulty is large due to the limitation of the time slot width, and once the expansion is carried out, all single disks are modified;
(2) the APS protocol information transmission bus adopts a bus design mode of connecting a plurality of slots in series, and has poor anti-jamming capability;
(3) for different kinds of overhead, different bus transfers are required, resulting in an excessive number of buses.
Disclosure of Invention
The invention aims to solve the technical problems of high expansion difficulty, poor anti-jamming capability and excessive bus number of an APS protocol information transmission method based on time division multiplexing.
In order to solve the above technical problem, the technical solution adopted by the present invention is to provide an automatic protection method for an optical fiber link based on an APS protocol, comprising the following steps:
the source node of the optical fiber link encapsulates APS protocol information of the optical fiber link channel needing to be protected into an Ethernet overhead frame and sends the Ethernet overhead frame to the destination node of the optical fiber link; and the host node of the optical fiber link receives the Ethernet overhead frame, analyzes the APS protocol information and sends the APS protocol information to a corresponding channel.
In the above method, the ethernet overhead frame includes a frame header, a frame type, and a frame content, where:
the frame header of the Ethernet overhead frame comprises a destination address and a source address, and is used for indicating a destination slot position and a source slot position of the transmitted APS information;
the frame type of the Ethernet overhead frame is used for indicating whether the Ethernet overhead frame is an APS frame or other types of frames; when the frame type of the ethernet overhead frame indicates that the ethernet overhead frame is an APS frame, the frame content of the ethernet overhead frame is information of the APS protocol.
In the above method, when the length of the ethernet overhead frame is smaller than the minimum ethernet frame length, the length of the ethernet overhead frame is padded to the minimum ethernet frame length with the padding bytes.
In the above method, before encapsulating the APS protocol information,
configuring a channel needing protection at a source node of the optical fiber link;
and caching the ID information and APS protocol information of the channel to be protected, and framing the cached content after all the configuration is finished.
In the above method, after sending the ethernet frame to the sink node of the optical fiber link, the source node of the optical fiber link monitors whether there is a new channel to be protected, and if so, encapsulates APS protocol information of the new channel into an ethernet overhead frame and sends the ethernet overhead frame to the sink node of the optical fiber link.
In the method, after sending the ethernet frame to the sink node of the optical fiber link, the source node of the optical fiber link monitors whether the APS protocol information of the protected channel is updated, and if so, encapsulates the updated APS protocol information into an ethernet overhead frame and sends the ethernet overhead frame to the sink node of the optical fiber link.
In the method, the packaging and the analysis of the APS protocol information are completed through the FPGA.
The invention also provides an automatic protection system of optical fiber link based on APS protocol, which comprises: the device comprises a configuration unit, a cache unit, a packaging unit, a sending unit, a receiving unit and an analysis unit; wherein,
the configuration unit is used for configuring a channel needing to be protected;
the cache unit is used for caching ID information and APS protocol information of a channel to be protected;
the encapsulation unit is used for encapsulating APS protocol information into an Ethernet overhead frame;
the sending unit is configured to send the encapsulated ethernet overhead frame;
the receiving unit is configured to receive the encapsulated ethernet overhead frame;
and the analysis unit is used for analyzing the received Ethernet overhead frame by the user.
In the above system, the ethernet overhead frame includes a frame header, a frame type, and a frame content, wherein:
the frame header of the Ethernet overhead frame comprises a destination address and a source address, and is used for indicating a destination slot position and a source slot position of the transmitted APS information;
the frame types of the Ethernet overhead frame comprise an APS frame and other types of frames; when the frame type of the ethernet overhead frame is an APS frame, the frame content of the ethernet overhead frame is information of the APS protocol.
In the system, when the encapsulation and the analysis of the APS protocol information are completed through the FPGA.
The automatic protection method of the optical fiber link based on the APS protocol provided by the invention achieves the following advantages through the information encapsulation and analysis of the APS protocol:
(1) the expansibility is enhanced, and the APS protocol information in the Ethernet overhead frame can be added and deleted according to the requirement of a service bus without changing the contents of other single disks;
(2) the anti-interference performance is greatly improved, and the reliability is improved;
(3) the data can be transmitted on the same bus shared with other overhead bytes, and the number of single-disk overhead buses is reduced.
Drawings
Fig. 1 is a processing flow of a fiber link source node in the method provided by the present invention;
fig. 2 is a processing flow of a fiber link source node in the method provided by the present invention;
fig. 3 is a schematic diagram of an automatic protection system for an optical fiber link according to the present invention.
Detailed Description
The invention provides an automatic protection method of an optical fiber link based on an APS protocol, which comprises the following steps: the source node of the optical fiber link packages APS protocol information of the optical fiber link channel needing to be protected into an Ethernet overhead frame and sends the Ethernet overhead frame to the destination node of the optical fiber link, and the destination node of the optical fiber link receives the Ethernet overhead frame, analyzes the APS protocol information and then sends the APS protocol information to the corresponding channel. After the protection switching occurs, the source node becomes the sink node, and the sink node becomes the source node, and the same manner is adopted to realize automatic protection. The method has good expansibility and high reliability and can effectively reduce the number of buses. The invention is described in detail below with reference to the drawings and the detailed description.
In the method for automatically protecting an optical fiber link based on an APS protocol, a processing flow of an optical fiber link source node is shown in fig. 1, and the method specifically includes the following steps:
step 101, configuring a channel to be protected at a source node of an optical fiber link;
step 102, buffering ID information and APS protocol information of a channel to be protected so as to uniformly frame and send buffered contents after finishing all configurations;
103, encapsulating APS protocol information of the optical fiber link channel to be protected into an Ethernet overhead frame;
step 104, framing the encapsulated Ethernet overhead frame and sending the framed Ethernet overhead frame to a destination node of the optical fiber link;
step 105, monitoring whether new configuration exists, and if so, turning to step 101; otherwise, go to step 106;
and step 106, monitoring whether APS protocol information of the current protection channel is changed, if so, turning to step 103, otherwise, turning to step 105.
The invention makes full use of the characteristic that the Ethernet frame mode can transmit various bus overheads, expands the Ethernet frame, and defines the Ethernet overhead frame to distinguish various types of overheads. The Ethernet overhead frame mainly comprises four parts of a frame head, a frame type, a frame content and a stuffing byte, wherein:
frame head: the APS slot comprises a destination address dMAC and a source address sMAC, and is used for indicating a destination slot position and a source slot position of the transmitted APS information;
frame type: for indicating the frame type of the current ethernet overhead frame to distinguish whether the current ethernet overhead frame is an APS frame or other type of frame, for example: a frame type of 11 indicates that the ethernet overhead frame is an APS frame, and a frame type of 10 indicates that the ethernet overhead frame is another type of frame.
The frame content is as follows: frame information to be transmitted, such as APS bytes;
stuffing bytes: for padding the current ethernet overhead frame length to the minimum ethernet overhead frame length, e.g. with 0, when it is less than 60 bytes (minimum ethernet overhead frame length).
When the frame type of the Ethernet overhead frame indicates that the Ethernet overhead frame is an APS frame, the frame content of the Ethernet overhead frame is information of an APS protocol; and the other types are processed normally.
In the method for automatically protecting an optical fiber link based on an APS protocol, a processing flow of a host node of the optical fiber link is shown in fig. 2, and the method specifically comprises the following steps:
step 201, a sink node of an optical fiber link receives an ethernet overhead frame sent by a source node of the optical fiber link;
step 202, caching the received frame content, and meanwhile, judging whether the frame is an APS protocol information frame sent to the host node according to information such as a frame header, a frame type and the like, and if so, executing step 204; otherwise, executing step 203;
step 203, deleting the frame content inconsistent with the APS protocol information frame of the sink node from the cache, and then executing step 201;
step 204, analyzing the frame content of the Ethernet overhead frame to obtain APS protocol information of the optical fiber link channel to be protected;
and step 205, transmitting the APS protocol information to the corresponding channel.
The invention also provides an automatic protection system for an optical fiber link based on the APS protocol, as shown in fig. 3, the system includes the following units:
a configuration unit 301, a buffer unit 302, an encapsulation unit 303, a transmission unit 304, a reception unit 305, and an analysis unit 306; wherein,
a configuration unit 301, configured to configure a channel to be protected;
a buffering unit 302, configured to buffer ID information and APS protocol information of a channel to be protected;
an encapsulating unit 303, configured to encapsulate the APS protocol information into an ethernet overhead frame;
a sending unit 304, configured to send the encapsulated ethernet overhead frame;
a receiving unit 305, configured to receive the encapsulated ethernet overhead frame;
a parsing unit 306, configured to parse the received ethernet overhead frame.
The buffer unit 302, the encapsulation unit 303, and the parsing unit 306 may be implemented by an FPGA.
In order to improve the processing response speed, the APS overhead bus processing of the service single disk adopts Field-Programmable Gate Array (FPGA) processing. The CPU of the service single disk configures a channel to be protected according to service configuration requirements, and then the FPGA completes framing and sending processing of APS Ethernet overhead frames; then, the FPGA judges whether the APS information of the protection channel changes in real time, and if so, the APS Ethernet overhead frame is sent immediately; meanwhile, the CPU can also control the FPGA to send APS overhead frames in a timing mode, and single-disk APS information is guaranteed to be transmitted to the main control unit in real time. And simultaneously, the service single disk receives the APS Ethernet overhead frame sent by the main control unit in real time and transmits the APS information sent to the service single disk to the line side.
The optical fiber link automatic protection system based on APS protocol provided by the invention adopts a similar communication bus layout form, APS overhead information is transmitted in a message form, and the overhead information is transmitted according to the MAC address: and the service single disk realizes the selection of the main Ethernet channel and the standby Ethernet channel according to the working state indication of the main control disk. The single service disk only needs to be configured with a channel to be protected, and the FPGA automatically completes the detection and sending of the APS information according to the configured protection channel.
In summary, compared with the prior art, the invention has the following advantages:
1. the expansibility is enhanced, and the APS protocol information in the Ethernet overhead frame can be added and deleted according to the requirement of a service bus without changing the contents of other single disks;
2. the anti-interference performance is greatly improved, and the reliability is improved;
3. the data can be transmitted on the same bus shared with other overhead bytes, and the number of single-disk overhead buses is reduced.
The present invention is not limited to the above-mentioned preferred embodiments, and any structural changes made under the teaching of the present invention shall fall within the protection scope of the present invention, which has the same or similar technical solutions as the present invention.

Claims (10)

1. An automatic protection method for an optical fiber link based on an APS protocol is characterized by comprising the following steps:
the source node of the optical fiber link encapsulates APS protocol information of the optical fiber link channel to be protected into an Ethernet overhead frame and sends the Ethernet overhead frame to the destination node of the optical fiber link;
and the host node of the optical fiber link receives the Ethernet overhead frame, analyzes the APS protocol information and then sends the APS protocol information to a corresponding channel.
2. The method of claim 1, wherein the ethernet overhead frame comprises a frame header, a frame type, and a frame content, wherein:
the frame header of the Ethernet overhead frame comprises a destination address and a source address, and is used for indicating a destination slot position and a source slot position of the transmitted APS information;
the frame type of the Ethernet overhead frame is used for indicating whether the Ethernet overhead frame is an APS frame or other types of frames; when the frame type of the ethernet overhead frame indicates that the ethernet overhead frame is an APS frame, the frame content of the ethernet overhead frame is information of the APS protocol.
3. The method of claim 1, wherein the length of the ethernet overhead frame is padded to a minimum ethernet frame length with padding bytes when the length of the ethernet overhead frame is less than the minimum ethernet frame length.
4. The method of any of claims 1 to 3, further comprising, prior to encapsulating the APS protocol information,
configuring a channel needing protection at a source node of the optical fiber link;
and caching the ID information and APS protocol information of the channel to be protected, and framing the cached content after all the configuration is finished.
5. The method according to any of claims 1 to 3, wherein after sending the Ethernet frame to the sink node of the optical fiber link, the source node of the optical fiber link monitors whether there is a new channel that needs protection, and if so, encapsulates APS protocol information of the new channel into an Ethernet overhead frame and sends the Ethernet overhead frame to the sink node of the optical fiber link.
6. The method according to any of claims 1 to 3, wherein after sending the Ethernet frame to the sink node of the optical fiber link, the source node of the optical fiber link monitors whether the APS protocol information of the protected channel is updated, and if so, encapsulates the updated APS protocol information into an Ethernet overhead frame and sends the Ethernet overhead frame to the sink node of the optical fiber link.
7. The method of any of claims 1 to 3, wherein the encapsulating and parsing of the APS protocol information is done by an FPGA.
8. An optical fiber link automatic protection system based on APS protocol, comprising: the device comprises a configuration unit, a cache unit, a packaging unit, a sending unit, a receiving unit and an analysis unit; wherein,
the configuration unit is used for configuring a channel needing to be protected;
the cache unit is used for caching ID information and APS protocol information of a channel to be protected;
the encapsulation unit is used for encapsulating APS protocol information into an Ethernet overhead frame;
the sending unit is configured to send the encapsulated ethernet overhead frame;
the receiving unit is configured to receive the encapsulated ethernet overhead frame;
and the analysis unit is used for analyzing the received Ethernet overhead frame by the user.
9. The system of claim 8, wherein the ethernet overhead frame comprises a frame header, a frame type, and a frame content, wherein:
the frame header of the Ethernet overhead frame comprises a destination address and a source address, and is used for indicating a destination slot position and a source slot position of the transmitted APS information;
the frame type of the Ethernet overhead frame is used for indicating whether the Ethernet overhead frame is an APS frame or other types of frames; when the frame type of the ethernet overhead frame indicates that the ethernet overhead frame is an APS frame, the frame content of the ethernet overhead frame is information of the APS protocol.
10. The system of claim 8, wherein the encapsulation and parsing of the APS protocol information is done through an FPGA.
CN201410216665.6A 2014-05-22 2014-05-22 Automatic optical fiber link protection method and system based on APS protocol Pending CN103957049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410216665.6A CN103957049A (en) 2014-05-22 2014-05-22 Automatic optical fiber link protection method and system based on APS protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410216665.6A CN103957049A (en) 2014-05-22 2014-05-22 Automatic optical fiber link protection method and system based on APS protocol

Publications (1)

Publication Number Publication Date
CN103957049A true CN103957049A (en) 2014-07-30

Family

ID=51334287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410216665.6A Pending CN103957049A (en) 2014-05-22 2014-05-22 Automatic optical fiber link protection method and system based on APS protocol

Country Status (1)

Country Link
CN (1) CN103957049A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888345A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 A kind of method and apparatus of information transfer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030043736A1 (en) * 2001-09-04 2003-03-06 Gonda Rumi Sheryar Method for supporting SDH/SONET APS on ethernet
CN1852210A (en) * 2006-05-08 2006-10-25 杭州华为三康技术有限公司 Method for transmitting control message and a station apparatus
CN101072155A (en) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 Single optical fiber fault processing method for Ethernet antomatic protection system
CN101515835A (en) * 2009-03-27 2009-08-26 中兴通讯股份有限公司 Method and device for backing up across-board optical port
CN103200467A (en) * 2013-03-14 2013-07-10 烽火通信科技股份有限公司 Device and method for transmitting network element protocol messages in optical network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030043736A1 (en) * 2001-09-04 2003-03-06 Gonda Rumi Sheryar Method for supporting SDH/SONET APS on ethernet
CN1852210A (en) * 2006-05-08 2006-10-25 杭州华为三康技术有限公司 Method for transmitting control message and a station apparatus
CN101072155A (en) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 Single optical fiber fault processing method for Ethernet antomatic protection system
CN101515835A (en) * 2009-03-27 2009-08-26 中兴通讯股份有限公司 Method and device for backing up across-board optical port
CN103200467A (en) * 2013-03-14 2013-07-10 烽火通信科技股份有限公司 Device and method for transmitting network element protocol messages in optical network equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888345A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 A kind of method and apparatus of information transfer

Similar Documents

Publication Publication Date Title
CN111988369B (en) Intelligent controller and sensor network bus, system and method
CN112422389B (en) Ethernet and field bus fusion gateway based on chip-level encryption and transmission method
KR102088298B1 (en) Method and appratus for protection switching in packet transport system
CN100505673C (en) Method and system for detecting path maximal transmission unit
GB2332128A (en) Arrangement for transmitting packet data segments from a media access controller across multiple physical links
GB2561129A (en) Apparatus and method for ensuring reliability of protection trip of intelligent substation
WO2015169057A1 (en) Packet transmission method and device, and interconnection interface
CN104639435A (en) Method and device for data stream forwarding in SDN (Software Defined Networking)
CN105141493B (en) Business frame processing method and system when ring network fault
US11792099B2 (en) Troubleshooting method, device, and readable storage medium
US9060030B2 (en) Frame concatenation apparatus
CN101207571A (en) Apparatus and method for forwarding packets
CN111130893A (en) Message transmission method and device
CN111490933A (en) Bidirectional forwarding detection switching method and edge device
CN101667959B (en) Method and device for transmitting data in physical layer and data transmission system
KR102509386B1 (en) Flexible Ethernet communication method and network device
US20210297285A1 (en) Communication method and apparatus
CN102255790A (en) Method and system for informing congestion control information
CN103957049A (en) Automatic optical fiber link protection method and system based on APS protocol
CN104601490A (en) Network device and traffic control method and device thereof
CN108964823B (en) Ethernet dual-engine data processing method and system
US7920465B2 (en) Method and apparatus for transmitting the control signal of resilient packet ring media access control
CN101252525B (en) Method and apparatus for backing up link in PON network
US7653526B1 (en) Method and system for emulating an ethernet link over a sonet path
CN108712242B (en) System and method for improving signaling processing capacity in packet equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140730