WO2013189361A2 - Method for processing message and network element apparatus - Google Patents

Method for processing message and network element apparatus Download PDF

Info

Publication number
WO2013189361A2
WO2013189361A2 PCT/CN2013/081765 CN2013081765W WO2013189361A2 WO 2013189361 A2 WO2013189361 A2 WO 2013189361A2 CN 2013081765 W CN2013081765 W CN 2013081765W WO 2013189361 A2 WO2013189361 A2 WO 2013189361A2
Authority
WO
WIPO (PCT)
Prior art keywords
ptp
message
ptp message
frame
network element
Prior art date
Application number
PCT/CN2013/081765
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013189361A3 (en
Inventor
杨明杰
张建军
吴胜兵
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013189361A2 publication Critical patent/WO2013189361A2/en
Publication of WO2013189361A3 publication Critical patent/WO2013189361A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0647Synchronisation among TDM nodes
    • H04J3/065Synchronisation among TDM nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching

Definitions

  • the invention relates to the field of optical wave division communication, and realizes the processing of the whole network element time synchronization and the precise time transmission of the wavelength division system, and the method and the network element device. Background technique
  • the traditional TDM (Time Division Multiplex, time division multiplexing) network (PDH (Plesiochronous Digital Hierarchy, bad plesiochronous digital line 1 J) / SDH (Synchronous Digital Hierarchy, synchronous digital hierarchy) is carrying TDM traffic (such as E1 / T1) of At the same time, the clock information can be accurately transmitted, and the receiving end can recover the service according to the extracted clock information.
  • the TDM line can also provide a synchronous reference clock for some application networks, and a more common application is a mobile Backhaul (mobile backhaul) network.
  • WDM Widelength Division Multiplexing
  • the protocol signaling used to implement the network accurate time alignment is filled in TCP (Transmission Control Protocol) / UDP in the form of payload (load).
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • layer packets are encapsulated in the IP layer and Ethernet, or the protocol signaling is directly encapsulated in Ethernet, and peer-to-peer interaction and resolution are performed between nodes in the network. Processing, realizing time synchronization of the whole network and providing precise time function.
  • the current data communication system of Datacom and PTN (Packet Transport Network) generally adopts this method.
  • the WDM network is characterized in that the OTU (Optical Transmission Unit) frame is encapsulated in the user equipment for large-capacity and long-distance transmission.
  • the device is shown in Figure 1.
  • the typical networking mode is shown in Figure 1. 2
  • the processing method and steps of a one-way service flow of the wavelength division system to the user's Ethernet service are shown in Figure 3:
  • Figure 3 shows a typical WDM network consisting of three WDM network elements.
  • User services are accessed from the client side. After cross-connection, they are encapsulated into OTUk frames and transmitted to the next NE for processing. The OTU frame of the user service is transmitted to the destination network element, decapsulated, restored to the user service, and sent out from the client side board.
  • the specific steps are:
  • Step 301 The WDM network device client-side service receiving device 201 receives the user's GE (GigabitEthernet)/FE (Fast Ethernet) service, and encapsulates the Ethernet service into an ODUk frame through the backplane connection line. Sended to the service electrical cross processing device 203;
  • Step 302 The electrical cross-processing device 203 cross-processes the service, and sends the cross-processed ODUk frame to the line-side service package sending device 205 through the backplane connection line;
  • Step 303 The line side service encapsulation transmitting device 205 encapsulates the ODUk frame into an OTU frame and sends it to the network element 2;
  • Step 304 The line side service receiving device 209 of the network element 2 receives the OTU frame decapsulated into an ODUk frame, and sends it to the electrical cross processing device 208;
  • Step 305 The electrical cross-processing device 208 cross-processes the service, and sends the cross-processed ODUk frame to the line-side service encapsulation transmitting device 210 through the backplane connection line;
  • Step 306 The line side service encapsulation transmitting device 210 encapsulates the ODUk frame into an OTU frame and sends it to the network element 3;
  • Step 307 The line side service receiving device 214 of the network element 3 receives the OTU frame decapsulated into an ODUk frame, and sends it to the electrical cross processing device 213;
  • Step 308 The electrical cross processing device 213 cross-processes the service; the ODUk frame after the cross processing is sent to the client side service decapsulation transmitting device 212 through the backplane connection line;
  • Step 309 The client-side service decapsulation transmitting device 212 decapsulates the ODUk frame into an Ethernet service and sends the packet to the client device.
  • the service has been transmitted in the network in the form of ODUk and OTU frames, which is a complete end-to-end transmission mode.
  • the PTP protocol packets need to be encapsulated in the Ethernet frame format for interaction.
  • PTP protocol packets cannot be stripped off on the line side.
  • the transmission and resolution of the network between the wavelength divisions is accurate. Protocol signaling can not achieve the time synchronization of the whole network and provide accurate time. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method for processing a message and a network element device, so as to implement PTP protocol packet exchange between the network elements of the WDM network, so that the PTP protocol can be transmitted and parsed between the network elements. ⁇ , thus achieving accurate time transfer of the WDM network.
  • the present invention provides a method for processing a message, including: assembling a precision time protocol (PTP) message;
  • PTP precision time protocol
  • the PTP packet is inserted into the reserved bytes of the optical transport unit (OTU) frame overhead or mixed into the Ethernet packet and sent.
  • OFT optical transport unit
  • the foregoing method further has the following features: the reserved bytes for inserting the PTP text into an OTU frame overhead include:
  • the PTP packet is split into a number of 1-byte fields or multi-byte fields, and the reserved bytes of the OTU frame overhead are inserted in a multiframe format.
  • the inserting the PTP message into a reserved byte of an optical transmission unit (OTU) frame overhead or mixing into an Ethernet packet includes:
  • the PTP packet is periodically inserted into the reserved byte of the OTU frame overhead or mixed into the Ethernet packet.
  • the above method further has the following features:
  • the device After receiving the Ethernet service, the device detects whether the Ethernet service includes a PTP packet, and if the PTP packet is included, the PTP packet is separated from the Ethernet service.
  • the above method further has the following features:
  • the PTP packet After receiving the OTU frame, detecting whether the OTU frame carries a PTP packet, and if the PTP packet is carried, the PTP packet is parsed from the OTU frame.
  • the present invention further provides a network element device, including:
  • the first module is configured to: assemble a precision time protocol (PTP) message, and send the PTP message to the second module and/or the third module;
  • PTP precision time protocol
  • the second module is configured to: insert the PTP packet into an optical transmission unit (OTU) frame After the reserved bytes of the pin are sent;
  • OFTU optical transmission unit
  • the third module is configured to: send the PTP packet and the Ethernet packet after mixing.
  • the network element device further has the following features:
  • the second module is configured to: disassemble the PTP message into a plurality of 1-byte fields or multi-byte fields, and insert the reserved bytes of the OTU frame overhead in a multi-frame format and send the PTU message.
  • the network element device further has the following features:
  • the first module is configured to: periodically send the PTP message to the second module and/or the third module.
  • the network element device further has the following features:
  • the fourth module is configured to: after receiving the Ethernet service, detecting whether the Ethernet service includes a PTP packet, and if the PTP packet is included, separating the PTP packet from the Ethernet service.
  • the network element device further has the following features:
  • the fifth module is configured to: after receiving the OTU frame, detecting whether the OTU frame carries a PTP packet, and if the PTP packet is carried, parsing the PTP packet from the OTU frame.
  • 1 is a wavelength division network element service processing device
  • FIG. 2 is a schematic diagram of a typical WDM network element
  • FIG. 3 is a flowchart of processing a unidirectional Ethernet service of a wavelength division network element
  • FIG. 4 is a schematic diagram of a wavelength division network element device according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for processing, by a network element client side device, a PTP protocol packet sent by a client device according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a method for a network element client side device to send a PTP protocol packet to a client device according to an embodiment of the present invention
  • Flow chart of the method: 8 is a flowchart of a method for a network element line device to send a PTP protocol packet to a network element line receiving side according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of networking of PTP protocol packets exchanged between a client device and a client device according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of networking of PTP protocol packets exchanged between a line side of a network element and a line side of a network element according to an embodiment of the present invention
  • FIG. 11 is a diagram showing the location of an OTU frame overhead reserved word according to an embodiment of the present invention. Preferred embodiment of the invention
  • FIG. 4 A schematic diagram of a wavelength division network element according to an embodiment of the present invention, as shown in FIG. 4, data interaction between devices in a wavelength division network element is completed through a backplane connection line;
  • the client side service receiving processing device 403 is configured to receive the client side Ethernet service and encapsulate the ODUk frame.
  • the client side service decapsulation transmitting device 404 is configured to decapsulate the ODUk frame into an Ethernet service, and the electrical cross processing device 406 is configured to perform cross processing on the ODUk frame.
  • the line side service receiving and processing device 407 is configured to decapsulate the OTU frame into an ODUk frame
  • the line side service encapsulating device 408 is configured to encapsulate the ODUk frame into an OTU frame.
  • the client side PTP packet separating apparatus 401 is configured to separate the Ethernet packet containing the PTP information from the client service;
  • the client side PTP message integration device 402 is configured to combine PTP signaling into a client service for sending;
  • the PTP 4 ⁇ centralized processing device 405 is configured to perform centralized processing and calculation of PTP signaling, and perform signaling interaction of the PTP protocol;
  • the line side PTP signaling separation device 409 is configured to receive an OTU frame on the line side, and separately recover the PTP signaling from the OTU frame;
  • the line side PTP signaling insertion transmitting device 410 is configured to insert a message containing PTP signaling into a reserved byte of an OTU frame overhead in a multiframe format, and the reserved byte of the OTU frame overhead may be located on the first line of the OTU frame. -14 bytes, line 2 1-2 bytes, line 4 9-14 bytes, PTP overhead position configurable, as shown in Figure 11;
  • the method used in the embodiment of the present invention uses the PTP packet to be forwarded and processed in a centralized manner, and the PTP signaling carried in the Ethernet frame is transmitted on the line side by inserting the OTU frame overhead reserved byte, thereby realizing each PTP protocol packets exchange between NEs.
  • FIG. 5 and FIG. 6 are flowcharts of a method for a PTP protocol packet exchanged between a client side of a network element and a client device according to an embodiment of the present invention
  • FIG. 9 is a diagram of a network element client side interacting with a client device (using a PTN device as an example) according to an embodiment of the present invention.
  • Step 501 The PTP packet separating apparatus 901 on the client side receives the Ethernet service with the PTP packet mixed;
  • Step 502 The PTP packet separation device 901 on the client side separates the PTP packet from the normal service and sends the PTP packet to the corresponding device for processing.
  • Step 503 The client-side PTP packet separating apparatus 901 processes the separated common service and forwards the existing service and processing mode to the client-side service receiving and processing device 903, that is, the device 903 encapsulates the Ethernet service into an ODUk frame.
  • the backplane connection line is forwarded to the electrical cross processing device 906 for processing;
  • Step 504 The device 906 cross-processes the ODUk frame.
  • Step 505 The line side service device 908 encapsulates the ODUk frame into an OTU frame transmission.
  • Step 507 The device 905 performs processing calculation on the file.
  • the device 905 uses the BMC (Best Master Clock) algorithm to calculate the protocol state machine, determines the state of the time port, determines which time ports are enabled to receive and enable the transmission of time protocol packets, and sends the time protocol packets according to the state of the time port. Specific protocol message.
  • BMC Best Master Clock
  • FIG. 6 is a flowchart of a method for a network element client to send a PTP protocol packet to a client device according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:
  • Step 601 The PTP packet centralized processing device 905 assembles the PTP packet, and forwards the PTP text integration device 902 to the client side;
  • Step 602 The client side PTP message merging device 902 receives the normal Ethernet service transferred from the client side service decapsulation transmitting device 904.
  • Step 603 The client side PTP message merging device 902 receives the PTP ⁇ message transmitted from the PTP message concentrating device 905;
  • Step 604 The common Ethernet packet and the PTP packet are mixed and sent to the client device.
  • FIG. 10 is a schematic diagram of a networking diagram in which a PTP protocol is exchanged between a line side of a network element and a line side of a network element according to an embodiment of the present invention.
  • the method for sending a PTP protocol packet to the network element side of the network element side of the embodiment of the present invention, as shown in FIG. 7, includes the following steps:
  • Step 701 The line side PTP signaling separation device 1009 receives the OTU frame sent by the line side.
  • Step 702 The line side PTP signaling separation device 1009 monitors whether the reserved byte of the OTU frame carries the PTP signaling in a multiframe manner. Then, the process proceeds to step 706; otherwise, the process proceeds to step 703; step 703: the device 1007 resolves the OTU frame into an ODUk frame, and the device is processed by the electrical cross processing device 1006.
  • Step 704 The device 1006 performs point cross processing on the ODUk frame.
  • Step 705 The client side service decapsulation transmitting apparatus 1004 decapsulates the ODUk frame into an Ethernet frame or encapsulates it into an OTUk frame transmission.
  • Step 706 Parsing the PTP signaling, reassembling the packet into a packet, and forwarding the decoded packet to the processing device 1005;
  • Step 707 The processing unit 1005 performs calculation processing on the text.
  • FIG. 8 is a flowchart of a method for transmitting a protocol packet by a network element line side to a network element line receiving side according to an embodiment of the present invention. As shown in FIG. 8, the method includes the following steps:
  • the line side of the WDM network line is connected to the line side of the WDM network, which explains the process of receiving the packet on the line side of the WDM network:
  • Step 801 ⁇ ⁇
  • the centralized processing device 1005 assembles ⁇ ⁇ to the line side ⁇ signaling insertion transmitting device 1010;
  • Step 802 The device 1010 receives the frame transmitted from the line side service encapsulation device 1008.
  • Step 803 The device 1010 receives the message transmitted from the device 1005.
  • Step 804 The device 1010 splits the ⁇ message into a number of 1-byte fields, inserts the ⁇ frame reserved byte in a multi-frame format, and transmits it from the line side.
  • the specific configurable row and column number only supports the OTU reserved overhead field, including the first row of 13-14 bytes, the second row of 1-2 bytes, and the fourth row of 9-14 bytes.
  • the peer-to-peer packet exchange cannot be performed between the existing WDM network elements.
  • the best method is to add a time slot to the processing board. This requires a separate device slot and separate. Transmission channel.
  • the embodiment of the present invention provides a method for processing a message and a network element device, which can implement PTP protocol packet exchange between the network elements of the WDM network, so that the PTP protocol can be transmitted and parsed between the network elements.
  • a network element device which can implement PTP protocol packet exchange between the network elements of the WDM network, so that the PTP protocol can be transmitted and parsed between the network elements.

Abstract

A method for processing a message and a network element apparatus. The method comprises: assembling a precision time protocol (PTP) message; and inserting the PTP message into a reserved byte of an overhead of an optical transport unit (OTU) frame or mixing the PTP message into an Ethernet message to be transmitted. This solution can implement interaction of the PTP protocol message between network elements of a wavelength division network, so that the PTP protocol message can be transferred and analyzed among the network elements, and thereby precision time transfer of the wavelength division network can be realized.

Description

一种处理报文的方法和网元设备  Method for processing message and network element device
技术领域 Technical field
本发明涉及光波分通信领域, 实现波分系统全网元时间同步和精确时间 传送的处理 ^艮文的方法和网元设备。 背景技术  The invention relates to the field of optical wave division communication, and realizes the processing of the whole network element time synchronization and the precise time transmission of the wavelength division system, and the method and the network element device. Background technique
传统的 TDM ( Time Division Multiplex , 时分复用 ) 网络 ( PDH ( Plesiochronous Digital Hierarchy , 准同步数字系歹1 J ) /SDH ( Synchronous Digital Hierarchy, 同步数字系列)在传送 TDM业务(如 E1/T1 )的同时, 可 以准确传送时钟信息, 接收端可以根据提取的时钟信息对业务进行恢复。 同 时, TDM线路还可以为某些应用网络提供同步参考时钟, 比较普遍的应用是 移动的 Backhaul (移动回程) 网络。 随着 WDM ( Wavelength Division Multiplexing, 波分多路复用) 系统向多承载、 多业务、 以及智能化等方向 发展, 对波分系统的网络质量、 业务服务类型提出了更高的要求, 也需要实 现全网的时间同步和提供精确时间功能。 The traditional TDM (Time Division Multiplex, time division multiplexing) network (PDH (Plesiochronous Digital Hierarchy, bad plesiochronous digital line 1 J) / SDH (Synchronous Digital Hierarchy, synchronous digital hierarchy) is carrying TDM traffic (such as E1 / T1) of At the same time, the clock information can be accurately transmitted, and the receiving end can recover the service according to the extracted clock information. Meanwhile, the TDM line can also provide a synchronous reference clock for some application networks, and a more common application is a mobile Backhaul (mobile backhaul) network. With the development of WDM (Wavelength Division Multiplexing) systems to multi-bearer, multi-service, and intelligent, higher requirements are placed on the network quality and service type of WDM systems. Need to achieve time synchronization across the network and provide precise time capabilities.
根据 IEEE1588v2定义的 PTP( Precision Time Protocol, ^"确时间协议), 通过把用来实现网络精确时间对时的协议信令以 payload (负载)形式填充在 TCP ( Transmission Control Protocol传输控制协议) /UDP ( User Datagram Protocol, 用户数据报协议)层报文内, 再经过 IP层和以太网封装, 或者直 接将协议信令以以太网形式封装, 在网络各节点之间进行点对点的交互传递 和解析并处理,实现全网的时间同步和提供精确时间功能。 目前的数通、 PTN ( Packet Transport Network, 分组传送网 ) 网络普遍釆用这一方式。  According to the PTP (Precision Time Protocol) defined by IEEE1588v2, the protocol signaling used to implement the network accurate time alignment is filled in TCP (Transmission Control Protocol) / UDP in the form of payload (load). (User Datagram Protocol) layer packets are encapsulated in the IP layer and Ethernet, or the protocol signaling is directly encapsulated in Ethernet, and peer-to-peer interaction and resolution are performed between nodes in the network. Processing, realizing time synchronization of the whole network and providing precise time function. The current data communication system of Datacom and PTN (Packet Transport Network) generally adopts this method.
而波分网络的特点是为了实现大容量、 远距离传输, 将用户业务进行了 OTU( Optical Transform Unit,光传输单元)帧封装;其设备装置如图 1所示, 典型的组网方式如图 2所示, 波分系统对用户的以太网业务的一条单向业务 流处理方式和步骤如图 3所示:  The WDM network is characterized in that the OTU (Optical Transmission Unit) frame is encapsulated in the user equipment for large-capacity and long-distance transmission. The device is shown in Figure 1. The typical networking mode is shown in Figure 1. 2, the processing method and steps of a one-way service flow of the wavelength division system to the user's Ethernet service are shown in Figure 3:
图 3所示为由三个波分网元组成的典型波分网络, 用户业务从客户侧接 入, 交叉后汇聚封装成 OTUk帧, 传送到下一网元进行处理, 直到将封装了 用户业务的 OTU帧传送到目的网元, 再解封装, 恢复成用户业务, 从客户 侧板发送出去。 具体步骤为: Figure 3 shows a typical WDM network consisting of three WDM network elements. User services are accessed from the client side. After cross-connection, they are encapsulated into OTUk frames and transmitted to the next NE for processing. The OTU frame of the user service is transmitted to the destination network element, decapsulated, restored to the user service, and sent out from the client side board. The specific steps are:
步骤 301 : 波分网络设备客户侧业务接收装置 201 接收用户的 GE ( GigabitEthernet , 吉比特以太网) /FE(FastEthernet , 快速以太网)业务, 将 以太网业务封装为 ODUk 帧, 通过背板连接线发送往业务电交叉处理装置 203;  Step 301: The WDM network device client-side service receiving device 201 receives the user's GE (GigabitEthernet)/FE (Fast Ethernet) service, and encapsulates the Ethernet service into an ODUk frame through the backplane connection line. Sended to the service electrical cross processing device 203;
步骤 302: 电交叉处理装置 203将业务进行交叉处理, 将进行交叉处理 后的 ODUk帧通过背板连接线发送往线路侧业务封装发送装置 205;  Step 302: The electrical cross-processing device 203 cross-processes the service, and sends the cross-processed ODUk frame to the line-side service package sending device 205 through the backplane connection line;
步骤 303: 线路侧业务封装发送装置 205将 ODUk帧封装成 OTU帧,发 送往网元 2;  Step 303: The line side service encapsulation transmitting device 205 encapsulates the ODUk frame into an OTU frame and sends it to the network element 2;
步骤 304:网元 2的线路侧业务接收装置 209收到 OTU帧解封装为 ODUk 帧, 送往电交叉处理装置 208;  Step 304: The line side service receiving device 209 of the network element 2 receives the OTU frame decapsulated into an ODUk frame, and sends it to the electrical cross processing device 208;
步骤 305: 电交叉处理装置 208将业务进行交叉处理, 将进行交叉处理 后的 ODUk帧通过背板连接线发送往线路侧业务封装发送装置 210;  Step 305: The electrical cross-processing device 208 cross-processes the service, and sends the cross-processed ODUk frame to the line-side service encapsulation transmitting device 210 through the backplane connection line;
步骤 306: 线路侧业务封装发送装置 210将 ODUk帧封装成 OTU帧,发 送往网元 3;  Step 306: The line side service encapsulation transmitting device 210 encapsulates the ODUk frame into an OTU frame and sends it to the network element 3;
步骤 307:网元 3的线路侧业务接收装置 214收到 OTU帧解封装为 ODUk 帧, 送往电交叉处理装置 213;  Step 307: The line side service receiving device 214 of the network element 3 receives the OTU frame decapsulated into an ODUk frame, and sends it to the electrical cross processing device 213;
步骤 308: 电交叉处理装置 213将业务进行交叉处理; 将进行交叉处理 后的 ODUk帧通过背板连接线发送往客户侧业务解封装发送装置 212;  Step 308: The electrical cross processing device 213 cross-processes the service; the ODUk frame after the cross processing is sent to the client side service decapsulation transmitting device 212 through the backplane connection line;
步骤 309: 客户侧业务解封装发送装置 212将 ODUk帧解封装为以太网 业务, 发送到客户设备;  Step 309: The client-side service decapsulation transmitting device 212 decapsulates the ODUk frame into an Ethernet service and sends the packet to the client device.
这一过程中, 业务都一直是以 ODUk、 OTU帧的形式在网络中传输, 是 一种完全端到端的传输模式。 而 PTP协议报文需封装在以太网帧格式中进行 交互, 釆用现有的这种技术, PTP协议报文无法在线路侧被剥离出来, 波分 之间传递和解析网络精确时间对时的协议信令, 实现不了全网时间同步和提 供精确时间的功能。 发明内容 In this process, the service has been transmitted in the network in the form of ODUk and OTU frames, which is a complete end-to-end transmission mode. The PTP protocol packets need to be encapsulated in the Ethernet frame format for interaction. With the existing technology, PTP protocol packets cannot be stripped off on the line side. The transmission and resolution of the network between the wavelength divisions is accurate. Protocol signaling can not achieve the time synchronization of the whole network and provide accurate time. Summary of the invention
本发明要解决的技术问题是提供一种处理报文的方法及网元设备, 以在 波分网络网元之间实现 PTP协议报文交互,使得各网元之间能够传递和解析 PTP协议 ^艮文, 从而实现波分网络的精确时间传送。  The technical problem to be solved by the present invention is to provide a method for processing a message and a network element device, so as to implement PTP protocol packet exchange between the network elements of the WDM network, so that the PTP protocol can be transmitted and parsed between the network elements.艮文, thus achieving accurate time transfer of the WDM network.
为了解决上述技术问题, 本发明提供了一种处理报文的方法, 包括: 组装精确时间协议( PTP )报文;  In order to solve the above technical problem, the present invention provides a method for processing a message, including: assembling a precision time protocol (PTP) message;
将所述 PTP报文插入光传输单元( OTU )帧开销的保留字节或混合入以 太网报文中后发送。  The PTP packet is inserted into the reserved bytes of the optical transport unit (OTU) frame overhead or mixed into the Ethernet packet and sent.
优选地, 上述方法还具有下面特点: 所述将所述 PTP 文插入 OTU帧 开销的保留字节包括:  Preferably, the foregoing method further has the following features: the reserved bytes for inserting the PTP text into an OTU frame overhead include:
将所述 PTP报文拆解成若干个 1字节字段或多字节字段, 以复帧形式插 入 OTU帧开销的保留字节。  The PTP packet is split into a number of 1-byte fields or multi-byte fields, and the reserved bytes of the OTU frame overhead are inserted in a multiframe format.
优选地, 上述方法还具有下面特点: 所述将所述 PTP报文插入光传输单 元(OTU ) 帧开销的保留字节或混合入以太网报文中包括:  Preferably, the foregoing method further has the following features: the inserting the PTP message into a reserved byte of an optical transmission unit (OTU) frame overhead or mixing into an Ethernet packet includes:
定时地将所述 PTP报文插入 OTU帧开销的保留字节或混合入以太网报 文中。  The PTP packet is periodically inserted into the reserved byte of the OTU frame overhead or mixed into the Ethernet packet.
优选地, 上述方法还具有下面特点: 还包括:  Preferably, the above method further has the following features:
接收到以太网业务后, 检测所述以太网业务是否包括 PTP报文, 如包括 PTP报文, 则从所述以太网业务中分离出所述 PTP报文。  After receiving the Ethernet service, the device detects whether the Ethernet service includes a PTP packet, and if the PTP packet is included, the PTP packet is separated from the Ethernet service.
优选地, 上述方法还具有下面特点: 还包括:  Preferably, the above method further has the following features:
接收到 OTU帧后, 检测所述 OTU帧是否携带 PTP报文, 如携带 PTP 报文, 则从所述 OTU帧中解析出所述 PTP报文。  After receiving the OTU frame, detecting whether the OTU frame carries a PTP packet, and if the PTP packet is carried, the PTP packet is parsed from the OTU frame.
为了解决上述问题, 本发明还提供了一种网元设备, 包括:  In order to solve the above problem, the present invention further provides a network element device, including:
第一模块, 设置为: 组装精确时间协议(PTP )报文, 将所述 PTP报文 发送给第二模块和 /或第三模块;  The first module is configured to: assemble a precision time protocol (PTP) message, and send the PTP message to the second module and/or the third module;
所述第二模块, 设置为: 将所述 PTP报文插入光传输单元(OTU )帧开 销的保留字节后发送; The second module is configured to: insert the PTP packet into an optical transmission unit (OTU) frame After the reserved bytes of the pin are sent;
所述第三模块, 设置为: 将所述 PTP报文与以太网报文混合后发送。 优选地, 上述网元设备还具有下面特点:  The third module is configured to: send the PTP packet and the Ethernet packet after mixing. Preferably, the network element device further has the following features:
所述第二模块, 设置为: 将所述 PTP报文拆解成若干个 1字节字段或多 字节字段, 以复帧形式插入 OTU帧开销的保留字节后发送。  The second module is configured to: disassemble the PTP message into a plurality of 1-byte fields or multi-byte fields, and insert the reserved bytes of the OTU frame overhead in a multi-frame format and send the PTU message.
优选地, 上述网元设备还具有下面特点:  Preferably, the network element device further has the following features:
所述第一模块,设置为: 定时地将所述 PTP报文发送给第二模块和 /或第 三模块。  The first module is configured to: periodically send the PTP message to the second module and/or the third module.
优选地, 上述网元设备还具有下面特点: 还包括:  Preferably, the network element device further has the following features:
第四模块, 设置为: 接收到以太网业务后, 检测所述以太网业务是否包 括 PTP报文, 如包括 PTP报文, 则从所述以太网业务中分离出所述 PTP报 文。  The fourth module is configured to: after receiving the Ethernet service, detecting whether the Ethernet service includes a PTP packet, and if the PTP packet is included, separating the PTP packet from the Ethernet service.
优选地, 上述网元设备还具有下面特点: 还包括:  Preferably, the network element device further has the following features:
第五模块, 设置为: 接收到 OTU帧后, 检测所述 OTU帧是否携带 PTP 报文, 如携带 PTP报文, 则从所述 OTU帧中解析出所述 PTP报文。 附图概述  The fifth module is configured to: after receiving the OTU frame, detecting whether the OTU frame carries a PTP packet, and if the PTP packet is carried, parsing the PTP packet from the OTU frame. BRIEF abstract
图 1是波分网元业务处理装置;  1 is a wavelength division network element service processing device;
图 2典型波分网元组网示意图;  Figure 2 is a schematic diagram of a typical WDM network element;
图 3是波分网元单向以太网业务处理流程图;  FIG. 3 is a flowchart of processing a unidirectional Ethernet service of a wavelength division network element;
图 4是本发明实施例的波分网元设备的示意图;  4 is a schematic diagram of a wavelength division network element device according to an embodiment of the present invention;
图 5是本发明实施例的网元客户侧设备处理客户设备发来的 PTP协议报 文的方法的流程图;  5 is a flowchart of a method for processing, by a network element client side device, a PTP protocol packet sent by a client device according to an embodiment of the present invention;
图 6是本发明实施例的网元客户侧设备向客户设备发送 PTP协议报文的 方法的流程图;  6 is a flowchart of a method for a network element client side device to send a PTP protocol packet to a client device according to an embodiment of the present invention;
的方法的流程图: 图 8是本发明实施例的网元线路侧设备向网元线路接收侧发送 PTP协议 报文的方法的流程图; Flow chart of the method: 8 is a flowchart of a method for a network element line device to send a PTP protocol packet to a network element line receiving side according to an embodiment of the present invention;
图 9是本发明实施例的网元客户侧设备与客户设备交互 PTP协议报文的 组网示意图;  FIG. 9 is a schematic diagram of networking of PTP protocol packets exchanged between a client device and a client device according to an embodiment of the present invention;
图 10是本发明实施例的网元线路侧与网元线路侧交互 PTP协议报文的 组网示意图;  10 is a schematic diagram of networking of PTP protocol packets exchanged between a line side of a network element and a line side of a network element according to an embodiment of the present invention;
图 11是本发明实施例的 OTU帧开销保留字位置图。 本发明的较佳实施方式  FIG. 11 is a diagram showing the location of an OTU frame overhead reserved word according to an embodiment of the present invention. Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
为实现 PTP协议报文在波分网络各网元之间进行交互, 而又不占用业务 通道,可将 PTP报文拆解成若干 1字节字段或多字节字段,随帧填充到 OTUk 帧的保留字节中, 传到对端, 对端设备将该字段解析, 提取后重新组成 PTP 协议报文, 交给 PTP协议处理单元进行处理。  To implement the PTP protocol packet exchange between the NEs of the WDM network without occupying the service channel, you can split the PTP packet into several 1-byte fields or multi-byte fields and fill the OTUk frame with the frame. The reserved byte is transmitted to the peer end, and the peer device parses the field, and then re-forms the PTP protocol packet and sends it to the PTP protocol processing unit for processing.
本发明实施例的波分网元的示意图, 如图 4所示, 波分网元中各装置之 间数据交互均通过背板连接线完成;  A schematic diagram of a wavelength division network element according to an embodiment of the present invention, as shown in FIG. 4, data interaction between devices in a wavelength division network element is completed through a backplane connection line;
包含与原有技术相同的以下模块:  Contains the same modules as the original technology:
客户侧业务接收处理装置 403 , 用于接收客户侧以太网业务并封装成 ODUk帧;  The client side service receiving processing device 403 is configured to receive the client side Ethernet service and encapsulate the ODUk frame.
客户侧业务解封装发送装置 404,用于将 ODUk帧解封装为以太网业务; 电交叉处理装置 406, 用于对 ODUk帧进行交叉处理;  The client side service decapsulation transmitting device 404 is configured to decapsulate the ODUk frame into an Ethernet service, and the electrical cross processing device 406 is configured to perform cross processing on the ODUk frame.
线路侧业务接收处理装置 407, 用于将 OTU帧解封装为 ODUk帧; 线路侧业务封装装置 408, 用于将 ODUk帧封装为 OTU帧;  The line side service receiving and processing device 407 is configured to decapsulate the OTU frame into an ODUk frame, and the line side service encapsulating device 408 is configured to encapsulate the ODUk frame into an OTU frame.
还包括新增加的以下模块:  Also included are the newly added modules:
客户侧 PTP报文分离装置 401 , 用于将包含 PTP信息的以太网报文从客 户业务中分离出来; 客户侧 PTP报文合入装置 402,用于将 PTP信令合入客户业务进行发送;The client side PTP packet separating apparatus 401 is configured to separate the Ethernet packet containing the PTP information from the client service; The client side PTP message integration device 402 is configured to combine PTP signaling into a client service for sending;
PTP 4艮文集中处理装置 405, 用于将 PTP信令集中处理计算, 进行 PTP 协议的信令交互; The PTP 4 集中 centralized processing device 405 is configured to perform centralized processing and calculation of PTP signaling, and perform signaling interaction of the PTP protocol;
线路侧 PTP信令分离装置 409 , 用于接收线路侧的 OTU帧, 将 PTP信 令从 OTU帧中分离恢复出来;  The line side PTP signaling separation device 409 is configured to receive an OTU frame on the line side, and separately recover the PTP signaling from the OTU frame;
线路侧 PTP信令插入发送装置 410, 用于将含有 PTP信令的报文以复帧 形式插入 OTU帧开销的保留字节,该 OTU帧开销的保留字节可以位于 OTU 帧的第 1行 13-14字节, 第 2行 1-2字节, 第 4行 9-14字节, PTP开销位置 可配置, 如图 11所示;  The line side PTP signaling insertion transmitting device 410 is configured to insert a message containing PTP signaling into a reserved byte of an OTU frame overhead in a multiframe format, and the reserved byte of the OTU frame overhead may be located on the first line of the OTU frame. -14 bytes, line 2 1-2 bytes, line 4 9-14 bytes, PTP overhead position configurable, as shown in Figure 11;
本发明实施例所使用的方法, 釆用了 PTP报文分部转发, 集中处理, 将 以以太网帧携带的 PTP信令通过插入 OTU帧开销保留字节的方式在线路侧 传输, 实现了各网元之间的 PTP协议报文交互。  The method used in the embodiment of the present invention uses the PTP packet to be forwarded and processed in a centralized manner, and the PTP signaling carried in the Ethernet frame is transmitted on the line side by inserting the OTU frame overhead reserved byte, thereby realizing each PTP protocol packets exchange between NEs.
图 5和图 6是本发明实施例的网元客户侧与客户设备交互 PTP协议报文 的方法的流程图;  5 and FIG. 6 are flowcharts of a method for a PTP protocol packet exchanged between a client side of a network element and a client device according to an embodiment of the present invention;
图 9是本发明实施例的网元客户侧与客户设备(以 PTN设备为例)交互 FIG. 9 is a diagram of a network element client side interacting with a client device (using a PTN device as an example) according to an embodiment of the present invention.
PTP协议 ^艮文的组网示意图。 PTP protocol ^ Network diagram of the text.
以波分网元客户侧与 PTN设备对接为例, 如图 5所示, 包括以下步骤: 步骤 501 : 客户侧 PTP报文分离装置 901接收到混合有 PTP报文的以太 网业务;  For example, as shown in FIG. 5, the method includes the following steps: Step 501: The PTP packet separating apparatus 901 on the client side receives the Ethernet service with the PTP packet mixed;
步骤 502: 客户侧 PTP报文分离装置 901将 PTP报文和普通业务分离后 分别送到对应的装置进行处理;  Step 502: The PTP packet separation device 901 on the client side separates the PTP packet from the normal service and sends the PTP packet to the corresponding device for processing.
步骤 503: 客户侧 PTP报文分离装置 901对分离出来的普通业务釆用现 有的技术和处理方式转送客户侧业务接收处理装置 903进行处理,即装置 903 将以太网业务封装为 ODUk帧, 通过背板连接线转送到电交叉处理装置 906 进行处理;  Step 503: The client-side PTP packet separating apparatus 901 processes the separated common service and forwards the existing service and processing mode to the client-side service receiving and processing device 903, that is, the device 903 encapsulates the Ethernet service into an ODUk frame. The backplane connection line is forwarded to the electrical cross processing device 906 for processing;
步骤 504: 装置 906将 ODUk帧进行交叉处理;  Step 504: The device 906 cross-processes the ODUk frame.
步骤 505: 线路侧业务装置 908将 ODUk帧封装为 OTU帧发送; 步骤 506:客户侧 PTP报文分离装置 901对分离出来的 PTP报文转送 PTP 集中处理装置 905处理; Step 505: The line side service device 908 encapsulates the ODUk frame into an OTU frame transmission. Step 506: The client side PTP packet separating apparatus 901 transfers the separated PTP packet to the PTP centralized processing apparatus 905 for processing;
步骤 507: 装置 905对 ΡΤΡ ·^文进行处理计算。  Step 507: The device 905 performs processing calculation on the file.
装置 905使用 BMC ( Best Master Clock 最佳主时钟 )算法计算协议状态 机, 决定时间端口的状态, 决定哪些时间端口使能接收和使能发送时间协议 报文, 根据时间端口的状态向这些端口发送特定的协议报文。  The device 905 uses the BMC (Best Master Clock) algorithm to calculate the protocol state machine, determines the state of the time port, determines which time ports are enabled to receive and enable the transmission of time protocol packets, and sends the time protocol packets according to the state of the time port. Specific protocol message.
图 6是本发明实施例的网元客户侧向客户设备发送 PTP协议报文的方法 流程图, 如图 6所示, 包括以下步骤:  FIG. 6 is a flowchart of a method for a network element client to send a PTP protocol packet to a client device according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:
步骤 601 : PTP报文集中处理装置 905组装 PTP报文, 转送客户侧 PTP 文合入装置 902;  Step 601: The PTP packet centralized processing device 905 assembles the PTP packet, and forwards the PTP text integration device 902 to the client side;
步骤 602: 客户侧 PTP报文合入装置 902接收从客户侧业务解封装发送 装置 904转送来的普通以太网业务;  Step 602: The client side PTP message merging device 902 receives the normal Ethernet service transferred from the client side service decapsulation transmitting device 904.
步骤 603: 客户侧 PTP报文合入装置 902接收从 PTP报文集中处理装置 905转送来的 PTP ^艮文;  Step 603: The client side PTP message merging device 902 receives the PTP 艮 message transmitted from the PTP message concentrating device 905;
步骤 604: 将普通以太网报文和 PTP报文混合发送给客户侧设备。 文的方法流程图,图 10是本发明实施例的网元线路侧与网元线路侧交互 PTP 协议 4艮文的组网示意图。 本发明实施例的网元线路侧向网元线路侧发送 PTP 协议报文的方法, 如图 7所示, 包括以下步骤:  Step 604: The common Ethernet packet and the PTP packet are mixed and sent to the client device. FIG. 10 is a schematic diagram of a networking diagram in which a PTP protocol is exchanged between a line side of a network element and a line side of a network element according to an embodiment of the present invention. The method for sending a PTP protocol packet to the network element side of the network element side of the embodiment of the present invention, as shown in FIG. 7, includes the following steps:
步骤 701: 线路侧 PTP信令分离装置 1009接收线路侧发来的 OTU帧; 步骤 702: 线路侧 PTP信令分离装置 1009监测 OTU帧的保留字节中是 否以复帧形式携带 PTP信令, 如是, 则转向步骤 706; 否则转向步骤 703; 步骤 703:装置 1007将 OTU帧解为 ODUk帧,转送电交叉处理装置 1006 处理;  Step 701: The line side PTP signaling separation device 1009 receives the OTU frame sent by the line side. Step 702: The line side PTP signaling separation device 1009 monitors whether the reserved byte of the OTU frame carries the PTP signaling in a multiframe manner. Then, the process proceeds to step 706; otherwise, the process proceeds to step 703; step 703: the device 1007 resolves the OTU frame into an ODUk frame, and the device is processed by the electrical cross processing device 1006.
步骤 704: 装置 1006将 ODUk帧进行点交叉处理;  Step 704: The device 1006 performs point cross processing on the ODUk frame.
步骤 705:客户侧业务解封装发送装置 1004将 ODUk帧解封装成以太网 帧或封装成 OTUk帧发送。 步骤 706: 将 PTP信令解析出来, 重新组包成 ΡΤΡ报文, 将解出的 ΡΤΡ 才艮文转送 ΡΤΡ · ^艮文集中处理装置 1005; Step 705: The client side service decapsulation transmitting apparatus 1004 decapsulates the ODUk frame into an Ethernet frame or encapsulates it into an OTUk frame transmission. Step 706: Parsing the PTP signaling, reassembling the packet into a packet, and forwarding the decoded packet to the processing device 1005;
步骤 707、 ΡΤΡ ^艮文集中处理装置 1005对 ΡΤΡ 文进行计算处理。  Step 707: The processing unit 1005 performs calculation processing on the text.
图 8是本发明实施例的网元线路侧向网元线路接收侧发送 ΡΤΡ协议报文 的方法流程图, 如图 8所示, 包括以下步骤:  FIG. 8 is a flowchart of a method for transmitting a protocol packet by a network element line side to a network element line receiving side according to an embodiment of the present invention. As shown in FIG. 8, the method includes the following steps:
以波分网元线路侧与波分网元线路侧对接为例, 说明波分网元线路侧的 ΡΤΡ报文接收处理步骤:  As an example, the line side of the WDM network line is connected to the line side of the WDM network, which explains the process of receiving the packet on the line side of the WDM network:
步骤 801 : ΡΤΡ ^艮文集中处理装置 1005组装 ΡΤΡ ^艮文转送至线路侧 ΡΤΡ 信令插入发送装置 1010;  Step 801: ΡΤΡ ^艮 The centralized processing device 1005 assembles ΡΤΡ ^艮文 to the line side 信令 signaling insertion transmitting device 1010;
步骤 802:装置 1010接收从线路侧业务封装装置 1008转送来的 ΟΤΝ帧; 步骤 803: 装置 1010接收从装置 1005转送来的 ΡΤΡ报文;  Step 802: The device 1010 receives the frame transmitted from the line side service encapsulation device 1008. Step 803: The device 1010 receives the message transmitted from the device 1005.
步骤 804: 装置 1010将 ΡΤΡ报文拆解成若干 1字节字段, 以复帧形式插 入 ΟΤΝ帧保留字节, 从线路侧发送。  Step 804: The device 1010 splits the ΡΤΡ message into a number of 1-byte fields, inserts the ΟΤΝ frame reserved byte in a multi-frame format, and transmits it from the line side.
具体可配置的行列号仅支持 OTU保留开销域, 包含第 1行 13-14字节, 第 2行 1-2字节, 第 4行 9-14字节。  The specific configurable row and column number only supports the OTU reserved overhead field, including the first row of 13-14 bytes, the second row of 1-2 bytes, and the fourth row of 9-14 bytes.
如釆用现有技术波分网络网元之间无法进行点对点的 ΡΤΡ报文交互; 目 前最好的方法是通过新增加时间传送功能的处理单板, 如此就需要单独占用 一个设备槽位和单独的传输通道。  For example, the peer-to-peer packet exchange cannot be performed between the existing WDM network elements. The best method is to add a time slot to the processing board. This requires a separate device slot and separate. Transmission channel.
而通过增加新的装置和业务处理方式则可以实现波分网络的精确时间传 送, 且新增加的都是软件装置, 无需新增加传输的硬件单板、 器件, 不占用 设备槽位和传输通道。  By adding new devices and service processing methods, accurate time transfer of the WDM network can be realized, and new software devices are added, which do not require newly added hardware boards and devices, and do not occupy device slots and transmission channels.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software. The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
综上, 本发明实施例提供一种处理报文的方法及网元设备, 可以在波分 网络网元之间实现 PTP协议报文交互,使得各网元之间能够传递和解析 PTP 协议 4艮文, 从而实现波分网络的精确时间传送。  In summary, the embodiment of the present invention provides a method for processing a message and a network element device, which can implement PTP protocol packet exchange between the network elements of the WDM network, so that the PTP protocol can be transmitted and parsed between the network elements. Thus, to achieve accurate time transfer of the WDM network.

Claims

权 利 要 求 书 claims
1、 一种处理报文的方法, 包括: 1. A method of processing messages, including:
组装精确时间协议( PTP )报文; Assemble Precision Time Protocol (PTP) messages;
将所述 PTP报文插入光传输单元( OTU )帧开销的保留字节或混合入以 太网报文中后发送。 The PTP message is inserted into the reserved bytes of the optical transmission unit (OTU) frame overhead or mixed into the Ethernet message before being sent.
2、 如权利要求 1所述的方法, 其中, 所述将所述 PTP报文插入 OTU帧 开销的保留字节包括: 2. The method of claim 1, wherein the reserved bytes of overhead of inserting the PTP message into the OTU frame include:
将所述 PTP报文拆解成若干个 1字节字段或多字节字段, 以复帧形式插 入 OTU帧开销的保留字节。 The PTP message is disassembled into several 1-byte fields or multi-byte fields, and the reserved bytes of the OTU frame overhead are inserted in the form of a multiframe.
3、 如权利要求 1所述的方法, 其中, 所述将所述 PTP报文插入光传输 单元(OTU ) 帧开销的保留字节或混合入以太网报文中包括: 3. The method of claim 1, wherein inserting the PTP message into the reserved bytes of the optical transmission unit (OTU) frame overhead or mixing it into the Ethernet message includes:
定时地将所述 PTP报文插入 OTU帧开销的保留字节或混合入以太网报 文中。 The PTP message is regularly inserted into the reserved bytes of the OTU frame overhead or mixed into the Ethernet message.
4、 如权利要求 1-3任一项所述的方法, 其中, 还包括: 4. The method according to any one of claims 1-3, further comprising:
接收到以太网业务后, 检测所述以太网业务是否包括 PTP报文, 如包括 After receiving the Ethernet service, detect whether the Ethernet service includes a PTP message, if it includes
PTP报文, 则从所述以太网业务中分离出所述 PTP报文。 PTP message, then separate the PTP message from the Ethernet service.
5、 如权利要求 1-3任一项所述的方法, 其中, 还包括: 5. The method according to any one of claims 1 to 3, further comprising:
接收到 OTU帧后, 检测所述 OTU帧是否携带 PTP报文, 如携带 PTP 报文, 则从所述 OTU帧中解析出所述 PTP报文。 After receiving the OTU frame, it is detected whether the OTU frame carries a PTP message. If it carries a PTP message, the PTP message is parsed from the OTU frame.
6、 一种网元设备, 包括: 6. A network element device, including:
第一模块, 设置为: 组装精确时间协议(PTP )报文, 将所述 PTP报文 发送给第二模块和 /或第三模块; The first module is configured to: assemble a Precision Time Protocol (PTP) message and send the PTP message to the second module and/or the third module;
所述第二模块, 设置为: 将所述 PTP报文插入光传输单元(OTU )帧开 销的保留字节后发送; The second module is configured to: insert the PTP message into the reserved bytes of the optical transmission unit (OTU) frame overhead and send it;
所述第三模块, 设置为: 将所述 PTP报文与以太网报文混合后发送。 The third module is configured to: mix the PTP message and the Ethernet message and send them.
7、 如权利要求 6所述的网元设备, 其中, 7. The network element device as claimed in claim 6, wherein,
所述第二模块, 设置为: 将所述 PTP报文拆解成若干个 1字节字段或多 字节字段, 以复帧形式插入 OTU帧开销的保留字节后发送。 The second module is configured to: disassemble the PTP message into several 1-byte fields or more Byte field, inserted into the reserved bytes of the OTU frame overhead in the form of a multiframe and then sent.
8、 如权利要求 6所述的网元设备, 其中, 8. The network element device as claimed in claim 6, wherein,
所述第一模块,设置为: 定时地将所述 PTP报文发送给第二模块和 /或第 三模块。 The first module is configured to: regularly send the PTP message to the second module and/or the third module.
9、 如权利要求 6-8任一项所述的网元设备, 其中, 还包括: 9. The network element device according to any one of claims 6 to 8, further comprising:
第四模块, 设置为: 接收到以太网业务后, 检测所述以太网业务是否包 括 PTP报文, 如包括 PTP报文, 则从所述以太网业务中分离出所述 PTP报 文。 The fourth module is configured to: after receiving the Ethernet service, detect whether the Ethernet service includes a PTP message, and if it includes a PTP message, separate the PTP message from the Ethernet service.
10、 如权利要求 6-8任一项所述的网元设备, 其中, 还包括: 10. The network element device according to any one of claims 6 to 8, further comprising:
第五模块, 设置为: 接收到 OTU帧后, 检测所述 OTU帧是否携带 PTP 报文, 如携带 PTP报文, 则从所述 OTU帧中解析出所述 PTP报文。 The fifth module is configured to: after receiving the OTU frame, detect whether the OTU frame carries a PTP message, and if it carries a PTP message, parse the PTP message from the OTU frame.
PCT/CN2013/081765 2012-08-20 2013-08-19 Method for processing message and network element apparatus WO2013189361A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210296552.2 2012-08-20
CN201210296552.2A CN102843293B (en) 2012-08-20 2012-08-20 A kind of method and network element device for handling message

Publications (2)

Publication Number Publication Date
WO2013189361A2 true WO2013189361A2 (en) 2013-12-27
WO2013189361A3 WO2013189361A3 (en) 2014-02-13

Family

ID=47370366

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081765 WO2013189361A2 (en) 2012-08-20 2013-08-19 Method for processing message and network element apparatus

Country Status (2)

Country Link
CN (1) CN102843293B (en)
WO (1) WO2013189361A2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843293B (en) * 2012-08-20 2018-01-26 中兴通讯股份有限公司 A kind of method and network element device for handling message
CN104426772A (en) * 2013-09-10 2015-03-18 中国移动通信集团公司 Precision time protocol (PTP) message transmitting and receiving methods and PTP message transmitting and receiving equipment
CN106856422B (en) * 2015-12-09 2020-06-16 深圳市中兴微电子技术有限公司 Timestamp processing method and device for time message in optical transmission network
CN107769878A (en) * 2016-08-16 2018-03-06 南京中兴新软件有限责任公司 Method for synchronizing time and device based on optical transfer network link
CN106713040B (en) * 2016-12-29 2019-11-19 大唐电信(成都)信息技术有限公司 A kind of GM equipment in-band management network-building method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582733A (en) * 2009-06-18 2009-11-18 中兴通讯股份有限公司 Method and system for realizing high precision time synchronization among SDH equipment
CN102006157A (en) * 2010-11-26 2011-04-06 中兴通讯股份有限公司 Time synchronization method and system
CN102843293A (en) * 2012-08-20 2012-12-26 中兴通讯股份有限公司 Method for processing message and network element equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8630315B2 (en) * 2010-02-17 2014-01-14 Ciena Corporation Ethernet network synchronization systems and methods
US8457001B2 (en) * 2010-04-23 2013-06-04 Ciena Corporation Mesh restoration in optical transport networks
CN102582733A (en) * 2012-03-06 2012-07-18 力帆实业(集团)股份有限公司 Mounting structure of motorcycle ignition coil and frame

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582733A (en) * 2009-06-18 2009-11-18 中兴通讯股份有限公司 Method and system for realizing high precision time synchronization among SDH equipment
CN102006157A (en) * 2010-11-26 2011-04-06 中兴通讯股份有限公司 Time synchronization method and system
CN102843293A (en) * 2012-08-20 2012-12-26 中兴通讯股份有限公司 Method for processing message and network element equipment

Also Published As

Publication number Publication date
CN102843293B (en) 2018-01-26
WO2013189361A3 (en) 2014-02-13
CN102843293A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
EP3089423B1 (en) Ethernet signal transmission method, scheduling method and device and system thereof
CN111201728B (en) Data transmission method in optical network and optical network equipment
RU2598034C2 (en) Distribution of clock synchronization in optical communication network
CN108880722B (en) Clock synchronization method, system and optical transmission equipment
CN108965157B (en) Data transmission method, device, equipment and system
US9882704B2 (en) Method and apparatus to add new system functions to deployed network element using smart transceivers
JP2010541509A (en) Method, apparatus and system for transmitting and receiving client signals
WO2015106577A1 (en) Method and system for converting otn signal into ethernet payload
EP2667552B1 (en) Method for service transmission over optical transport network, device and system for realizing same
EP4027650A1 (en) Method and device for service processing in optical transport network, and system
WO2013189361A2 (en) Method for processing message and network element apparatus
JP5597765B2 (en) Method, apparatus and system for transmitting SDH / SONET section overhead bytes
WO2010111963A1 (en) Time synchronization device, method and system
JP2014525708A (en) Network elements for switching time division multiplexed signals
FI119310B (en) Procedure and equipment for transmitting time marking information
WO2018218511A1 (en) Time delay measurement method and site
WO2019170064A1 (en) Method, apparatus and system for processing ethernet data in optical network
WO2019100982A1 (en) Data transmission method and device
EP2472803B1 (en) Method, apparatus, system for hybrid-transmitting and bridging of circuit service and packet service
KR101492747B1 (en) Method for time distribution in synchronous ethernet and sonet/sdh domains
US8699524B2 (en) Method and apparatus for generating resize control overhead in optical transport network
JP2006109357A (en) Synchronous clock information transfer method, transmission apparatus and communication system
WO2012171384A1 (en) Method and device for implementing circuit emulation service in passive optical network
CN116264587A (en) Data transmission method and related device
CN113574826B (en) Method and device for synchronizing messages by interactive clock

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13807529

Country of ref document: EP

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 13807529

Country of ref document: EP

Kind code of ref document: A2