WO2018001224A1 - 网元设备及其传输模式配置装置和方法 - Google Patents

网元设备及其传输模式配置装置和方法 Download PDF

Info

Publication number
WO2018001224A1
WO2018001224A1 PCT/CN2017/090235 CN2017090235W WO2018001224A1 WO 2018001224 A1 WO2018001224 A1 WO 2018001224A1 CN 2017090235 W CN2017090235 W CN 2017090235W WO 2018001224 A1 WO2018001224 A1 WO 2018001224A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
interface
clock
time
message
Prior art date
Application number
PCT/CN2017/090235
Other languages
English (en)
French (fr)
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 WO2018001224A1 publication Critical patent/WO2018001224A1/zh

Links

Images

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a network element device and a transmission mode configuration apparatus and method thereof.
  • the clock time transmission is a necessary function of the telecommunication equipment.
  • a three-layer monitoring board is required to provide routing and forwarding data packets between the network elements for communication between the network elements.
  • the interface board can be used together because multiple OSC (Optical Supervisory Channel) panel ports need to be configured on the panel.
  • OSC Optical Supervisory Channel
  • the scenario of the out-of-band interface with the outbound transmission clock time packet is shown in Figure 1.
  • the external clock port of the interface board and the 1PPS (Pulse Per Second) + TOD (Time of Day) interface are used.
  • the clock and time information are respectively connected to the interface board.
  • the interface board encapsulates the information into clock-time packets and transparently sends the packets to the monitoring board of the local network. Then, the interface sends the clock to the downstream NE through the OSC interface of the monitoring board. time.
  • the interface board on the network element device shown in Figure 1 only supports the out-of-band transmission mode.
  • the networking shown in Figure 1 cannot meet the service requirement. For example, if the user service is accessed from the client side, the clock time packet is encapsulated by an OTU (Optical Transform Unit) frame through the PTP (Picture Transfer Protocol) protocol, and transmitted to the next through the outband interface.
  • OTU Optical Transform Unit
  • PTP Physical Transfer Protocol
  • the network element device and its transmission mode configuration apparatus and method provided by the embodiments of the present disclosure mainly solve the technical problem that the interface board on the network element device only supports the outband transmission mode.
  • an embodiment of the present disclosure provides a service board, a clock board, and an interface board that are sequentially connected;
  • the service board and the interface board are connected to the upstream clock source device through the first interface and the second interface, respectively;
  • the interface board is configured to receive a mode configuration message sent by the terminal in the transmission mode configuration, and configure the transmission mode to be out-of-band transmission and enable the second interface when the configuration message includes an out-of-band mode configuration instruction;
  • the configuration message includes an in-band mode configuration command
  • the transmission mode is configured to be in-band transmission and the clock board is enabled.
  • the embodiment of the present disclosure further provides a transmission mode configuration device of a network element device, where the network element device includes a service board, a clock board, and an interface board that are sequentially connected, where the service board and the interface board respectively pass the first interface and The second interface is connected to the upstream clock source device;
  • the transmission mode configuration device includes:
  • a configuration module configured to receive a mode configuration message delivered by the terminal in the transmission mode configuration mode, and configure the transmission mode of the interface board to be out-of-band transmission when the configuration message includes an out-of-band mode configuration command, and enable the a second interface; when the configuration message includes an in-band mode configuration command, configuring a transmission mode of the interface board to be in-band transmission and enabling the clock board.
  • the embodiment of the present disclosure further provides a method for configuring a transmission mode of a network element device, where the network element device includes a service board, a clock board, and an interface board that are sequentially connected, where the service board and the interface board respectively pass the first interface and The second interface is connected to the upstream clock source device; the method includes:
  • the embodiment of the present disclosure further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing transmission mode configuration method of the network element device.
  • the service board, the clock board, and the interface board that are sequentially connected are set on the network element device, and the service board and the interface board respectively pass the An interface and a second interface are connected to the upstream clock source device.
  • the interface board receives the mode configuration packet sent by the terminal in the transmission mode configuration mode.
  • the configuration packet includes the outband mode configuration command
  • the transmission mode is configured to be out-of-band transmission and enabled.
  • Second interface configures the transmission mode to in-band transmission and enables the clock board when the configuration message contains an in-band mode configuration command.
  • the present disclosure adds a hardware layer for implementing the in-band transmission service board and the clock board on the network element device, and then configuring the configuration message under the terminal according to the receiving transmission mode to determine whether the interface board adopts an out-of-band transmission mode or an in-band transmission mode.
  • the processing capability and flexibility of the interface board are increased, the service requirements can be better used, and the implementation is simple, the cost is low, and the versatility is good.
  • FIG. 1 is a schematic diagram of networking of a network element device
  • FIG. 2 is a schematic diagram of networking of network element devices in Embodiment 1 of the present disclosure
  • FIG. 3 is a schematic diagram of a process of processing a mode configuration message according to Embodiment 1 of the present disclosure
  • FIG. 4 is a schematic diagram of a processing procedure of a time-to-time notification message according to Embodiment 1 of the present disclosure
  • FIG. 5 is a schematic structural diagram of a transmission mode configuration apparatus according to Embodiment 2 of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a transmission mode configuration terminal in Embodiment 2 of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another transmission mode configuration apparatus according to Embodiment 2 of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a clock board in Embodiment 2 of the present disclosure.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the service board 1, the clock board 2, and the interface board 3 are sequentially connected to the network element device, and the network element device further includes a monitoring board 4 connected to the interface board 3.
  • the service board 1 is connected to the upstream clock source device through the first interface
  • the interface board 2 is connected to the upstream clock source device through the second interface.
  • the upstream clock source device in this embodiment may be an upstream network element device or various instrument devices that generate a clock source.
  • the first interface in this embodiment may be an Ethernet interface, such as a GE (Gigabit Ethernet) 10GE interface.
  • the mode configuration message is sent to the network element device by using the configuration mode and the unique identification information of the interface board 3 to be configured. For example, it can be sent to the control board of the network element device (not shown).
  • the control board finds the corresponding interface board 3 on the local network element device according to the unique identification information of the interface board 3 to be configured in the mode configuration packet.
  • the mode configuration packet is delivered.
  • the transmission mode configuration terminal in this embodiment may use any terminal that can send configuration commands to the interface board 3, such as a CLI (command-line interface) terminal or a network management server.
  • the method for configuring the transmission mode of the network element device interface board 3 includes:
  • the mode configuration message After receiving the mode configuration message delivered by the terminal in the transmission mode configuration mode, it is determined whether the mode configuration message includes an out-of-band mode configuration command or an in-band mode configuration command.
  • the interface board 3 transmission mode is configured.
  • the second interface is enabled, that is, the second interface directly connected to the upstream time source device is enabled; when the configuration message includes the in-band mode configuration command, the transmission mode of the interface board 3 is configured to be transmitted in-band.
  • the clock board is enabled. At this time, the upstream clock source device—service board—clock board—interface board 3 is enabled. Enabling the clock board also includes enabling the time calibration of the clock board.
  • the above process can be completed by the interface board 3 itself. That is, after the interface board 3 receives the mode configuration message delivered by the transmission mode configuration terminal, the configuration of the transmission mode is completed according to the above procedure.
  • the transmission mode configuration terminal may send a plurality of packets to the interface board 3 through the control board, such as a clock configuration packet, a time configuration packet, a port attribute configuration packet, etc., for different packets.
  • the unique identifier (such as the command code) of the message contained in it is different.
  • the process of receiving and processing the mode configuration packet by the interface board 3 is shown in FIG. 3, and includes:
  • the interface board 3 After receiving various types of packets, the interface board 3 identifies the mode configuration packet from various types of packets, for example, according to the unique identifier of the packet.
  • the interface board 3 parses the identified mode configuration packet, and extracts the mode configuration command and the unique identifier information of the interface board, and according to the unique identifier information, it can determine whether it is a mode configuration message sent to itself. No, no action is taken.
  • the interface board 3 After determining that the mode configuration message is sent to itself, the interface board 3 performs corresponding transmission mode configuration according to the parsed mode configuration command (out-of-band mode configuration command or in-band mode configuration command).
  • the interface mode 3 when the interface mode 3 is configured in the transmission mode, if the previously configured transmission mode is configured, the configuration of the previous transmission mode is cleared, and then the configuration information corresponding to the new transmission mode is set, saved, and And configuration of the corresponding hardware (for example, corresponding logic can be turned into a logic device), and when the new transmission mode is the in-band transmission mode, the time correction function of starting the clock board is also included. For example, the time correction notification is sent to the clock board trigger time correction function.
  • the interface board 3 when the interface board 3 is configured with the in-band transmission mode, the interface board 3 enables the clock board, and the receiving time board notification message sent by the clock board according to the preset time synchronization rule, the pair The time notification message contains standard time information. After receiving the time notification message, the interface board 3 extracts the current local time information and compares the standard time information in the time notification message, and corrects the local time information according to the comparison result. For example, the local time information and the standard time information may be subtracted, and the local time information is corrected correspondingly according to the result obtained by the subtraction.
  • the packet received by the interface board 3 from the clock board 2 may also include multiple types, such as a time-level message, a 1PPS+TOD message, and the like, and the protocol identifiers carried in different packets are different. Therefore, each message can be identified according to the protocol identifier.
  • the clock board 2 can send a message to the interface board 3, for example, via the backplane clock channel.
  • the process of receiving and processing the time-of-day notification message by the interface board 3 is shown in FIG. 4, and includes:
  • the interface board 3 receives the packet, and identifies the time notification message according to the protocol identifier in the packet.
  • the interface board 3 scans whether the received time notification message is received according to a certain scanning period. If it is not scanned, you can continue scanning; and you can make a corresponding alarm when it has not been scanned for several consecutive times.
  • the interface board 3 corrects the local time according to the foregoing process according to the scanned time-of-day notification message.
  • the interface board 3 configures the transmission mode to be out-of-band transmission
  • the time information and clock information from the upstream clock source device are received through the second interface, and the time clock message is assembled and sent to the monitoring board 4, and the monitoring is performed.
  • the board is transferred to the downstream network element.
  • the second interface in this embodiment includes an external clock interface and a 1PPS+TOD interface.
  • the service board 1 receives the time clock message from the upstream clock source device and sends it to the clock board 2; the clock board 2 sends the received clock time message to the interface board 3
  • the interface board 3 sends the clock time message from the clock board to the monitoring board 4, and transmits it to the downstream network element device via the monitoring board 4.
  • the monitoring board 4 can send a clock time message to the downstream network element device through its OSC port.
  • the interface board of the network element device can determine whether the current use of the outband transmission mode or the inband transmission mode is currently performed according to the role of the current network in the network, that is, the interface board supports the configuration of the inband and outband transmission modes. Switching improves the processing capability of the interface board, which is simple and versatile.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a transmission mode configuration apparatus for configuring the network element device in FIG. 2, as shown in FIG. 5, including:
  • the configuration module 51 is configured to receive the mode configuration message sent by the terminal in the transmission mode configuration mode, configure the transmission mode of the interface board to be out-of-band transmission, and enable the second interface when the configuration message includes the out-of-band mode configuration command.
  • the configuration message contains an in-band mode configuration command, configure the transmission mode of the interface board to be in-band and enable the clock board.
  • the configuration module 51 includes:
  • the configuration packet receiving unit 511 is configured to receive the packet sent by the transmission mode configuration terminal (including but not limited to a clock configuration packet, a time configuration packet, and a port attribute configuration packet), and is received from each received packet.
  • the mode configuration packet is identified, for example, according to the unique identifier of the packet.
  • the transmission mode configuration terminal in this embodiment includes a mode message sending module 61, which is used to The configuration message receiving unit 511 sends a mode configuration message.
  • the mode message parsing unit 512 is configured to parse the mode configuration message to obtain an outband mode configuration command or an inband mode configuration command.
  • the mode setting unit 513 is configured to configure a transmission mode of the interface board according to an outband mode configuration command or an inband mode configuration command parsed by the mode message parsing unit.
  • the transmission mode configuration apparatus further includes a time correction module 52, configured to receive a time notification message delivered by the clock board when the configuration module 51 configures the transmission mode of the interface board to be in-band transmission, and Correcting time information local to the interface board according to the time-to-time notification message.
  • the time correction module 52 includes:
  • the protocol message receiving unit 521 is configured to receive the message from the clock board, and identify the time-to-time notification message from each received message.
  • the packet received by the protocol packet receiving unit 521 from the clock board and other places may also include various types, such as a time-level message, a 1PPS+TOD message, for example, the message may be identified by the protocol identifier in the message. Identification.
  • the clock board in this embodiment includes a timing transmission time message module 81 for periodically transmitting a time-to-time notification message to the protocol message receiving unit 521.
  • the timing detection time message unit 522 is configured to periodically detect whether the protocol message receiving unit receives the time notification message
  • the time adjustment unit 523 is configured to extract the standard time information in the time-to-time notification message detected by the timing detection time-of-day message unit, and compare the current local time information of the interface board with the standard time information, according to the ratio. Correct the interface local time information to the result. For example, the time adjustment unit 523 can subtract the local time information from the standard time information, and correct the local time information according to the result obtained by the subtraction.
  • the functions of the timing correction unit 523 can be implemented by each sub-module in the interface board. After the transmission mode of the interface board is set by each module unit, the interface board can use the out-of-band or in-band transmission mode to perform related services according to the settings.
  • the embodiment of the present disclosure determines whether the interface board uses the outband mode or the inband mode according to the role of the interface board in the networking environment, and then configures the terminal to configure the corresponding mode configuration packet to the interface board through the transmission mode configuration terminal, where the interface board is in the interface board. After the corresponding configuration is valid and a series of modes are initialized, it can run in the configured working mode. If the working mode is in the outband mode, the clock time packet received by the panel port is directly transmitted to the monitoring board of the local network element. If the working mode is in the inband mode, the network element The clock board periodically sends the current standard time information through the backplane network interface.
  • the interface board needs to detect the received packets at the same time, and parses the received time-based packets to obtain standard time information, and then compares and calculates with the local time information, and The calculation result is corrected to the local time, and the function of synchronizing the clock time in the network element in the in-band mode is completed.
  • a service board and a clock board hardware foundation for implementing in-band transmission are added to the network element device, and then the configuration packet under the terminal is configured according to the receiving transmission mode to determine whether the interface board adopts an outband transmission mode or an inband transmission mode.
  • the processing capability and flexibility of the interface board are increased, the service requirements can be better used, and the implementation is simple, the cost is low, and the versatility is good.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)

Abstract

本公开实施例提供一种网元设备及其传输模式配置装置及方法,在网元设备上设置依次连接的业务板、时钟板和接口板,且将业务板和接口板分别通过第一接口和第二接口与上游时钟源设备连接;接口板接收传输模式配置终端下发的模式配置报文,在配置报文包含带外模式配置指令时,将传输模式配置为带外传输并启用第二接口;在配置报文包含带内模式配置指令时,将传输模式配置为带内传输并启用时钟板。通过在网元设备上增设实现带内传输的业务板和时钟板硬件基础,根据接收传输模式配置终端下的配置报文确定接口板是采用带外传输模式还是带内传输模式,增加了接口板的处理能力和灵活性,能更好的使用业务需求,且实现简单,成本低,通用性好。

Description

网元设备及其传输模式配置装置和方法 技术领域
本公开涉及通信领域,尤其涉及一种网元设备及其传输模式配置装置和方法。
背景技术
时钟时间传送是电信设备的必需功能,在波分电信设备组网中,需要配备三层监控单板,为网元之间的通信提供路由和转发网元之间的数据报文。在三层监控单板上,由于面板上需要布置多个OSC(Optical Supervisory Channel,光监控信道)面板口,无法再设计外时钟口,因此通常需要接口板来配合使用。常用的带外接口带外传送时钟时间报文的场景如图1所示,通过接口板的外时钟口和1PPS(Pulse Per Second,每秒脉冲数)+TOD(Time of Day,时间信息)口分别接入时钟和时间信息,接口板将这些信息封装成时钟时间报文透明发送给本网元的监控板,然后经由监控板的OSC口传送到下游网元,从而实现同步下游网元的时钟时间。但目前图1所示的网元设备上的接口板仅支持带外传输模式,当用户业务需要通过带内传输时,则图1所示的组网无法满足该业务需求。例如,如果用户业务从客户侧接入,通过PTP(Picture Transfer Protocol,图片传输协议)协议将时钟时间报文使用OTU(Optical Transform Unit,光转换单元)帧封装,经带外接口传送到下一网元,图1所示的组网就无法满足该业务需求。
发明内容
本公开实施例提供的网元设备及其传输模式配置装置和方法,主要解决的技术问题是:解决网元设备上的接口板只支持带外传输模式的问题。
为解决上述技术问题,本公开实施例提供一种包括依次连接的业务板、时钟板和接口板;
所述业务板和所述接口板分别通过第一接口和第二接口与上游时钟源设备连接;
所述接口板用于接收传输模式配置终端下发的模式配置报文,在所述配置报文包含带外模式配置指令时,将传输模式配置为带外传输并启用所述第二接口;在所述配置报文包含带内模式配置指令时,将传输模式配置为带内传输并启用所述时钟板。
本公开实施例还提供一种网元设备的传输模式配置装置,所述网元设备包括依次连接的业务板、时钟板和接口板,所述业务板和所述接口板分别通过第一接口和第二接口与上游时钟源设备连接;所述传输模式配置装置包括:
配置模块,用于接收传输模式配置终端下发的模式配置报文,在所述配置报文包含带外模式配置指令时,将所述接口板的传输模式配置为带外传输,并启用所述第二接口;在所述配置报文包含带内模式配置指令时,将所述接口板的传输模式配置为带内传输并启用所述时钟板。
本公开实施例还提供一种网元设备的传输模式配置方法,所述网元设备包括依次连接的业务板、时钟板和接口板,所述业务板和所述接口板分别通过第一接口和第二接口与上游时钟源设备连接;所述方法包括:
接收传输模式配置终端下发的模式配置报文,在所述配置报文包含带外模式配置指令时,将所述接口板的传输模式配置为带外传输,并启用所述第二接口;在所述配置报文包含带内模式配置指令时,将所述接口板的传输模式配置为带内传输并启用所述时钟板。
本公开实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的网元设备的传输模式配置方法。
本公开的有益效果是:
根据本公开实施例提供的网元设备及其传输模式配置装置、方法及存储介质,在网元设备上设置依次连接的业务板、时钟板和接口板,且将业务板和接口板分别通过第一接口和第二接口与上游时钟源设备连接;接口板接收传输模式配置终端下发的模式配置报文,在配置报文包含带外模式配置指令时,将传输模式配置为带外传输并启用第二接口;在配置报文包含带内模式配置指令时,将传输模式配置为带内传输并启用时钟板。本公开在网元设备上增设实现带内传输的业务板和时钟板硬件基础,然后根据接收传输模式配置终端下的配置报文确定接口板是采用带外传输模式还是带内传输模式,在现有网元设备单板基础之上,增加了接口板的处理能力和灵活性,能更好的使用业务需求,且实现简单,成本低,通用性好。
附图说明
图1为一种网元设备组网示意图;
图2为本公开实施例一中的网元设备组网示意图;
图3为本公开实施例一中的模式配置报文处理过程示意图;
图4为本公开实施例一中的对时时间通知报文处理过程示意图;
图5为本公开实施例二中的传输模式配置装置结构示意图;
图6为本公开实施例二中的传输模式配置终端结构示意图;
图7为本公开实施例二中的另一传输模式配置装置结构示意图;
图8为本公开实施例二中的时钟板结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本公开中一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
实施例一:
本实施例中,参见图2所示,在网元设备上依次连接的业务板1、时钟板2和接口板3,网元设备还包括与接口板3连接的监控板4。其中,业务板1通过第一接口与上游时钟源设备连接,接口板2通过和第二接口与上游时钟源设备连接。本实施例中的上游时钟源设备可以是上游网元设备,或者产生时钟源的各种仪表设备。本实施例中的第一接口可以太网接口,例如GE(Gigabit Ethernet,千兆位以太网)/10GE接口。
本实施例中对于网元设备上接口板3当前是用带外传输模式还是带内传输模式可以由组网人员根据当前组网需求灵活确定。并在确定好之后通过传输模式配置终端向网元设备下发包含配置指令和待配置接口板3的唯一标识信息的模式配置报文。例如可以下发给网元设备的控制板(图中未示出),由控制板根据模式配置报文中待配置接口板3的唯一标识信息在本网元设备上找到对应的接口板3并将该模式配置报文进行下发。本实施例中的传输模式配置终端可以采用任意能向接口板3下发配置指令的终端,例如CLI(command-line interface,命令行界面)终端或者网络管理服务器等。
基于上述设置,对网元设备接口板3传输模式的配置方法包括:
接收到传输模式配置终端下发的模式配置报文后,判断模式配置报文包含的是带外模式配置指令还是带内模式配置指令,为带外模式配置指令时,将接口板3传输模式配置为带外传输,并启用第二接口,也即启用直接与上游时间源设备连接的第二接口;当配置报文包含带内模式配置指令时,将接口板3的传输模式配置为带内传输并启用时钟板,此时上游时钟源设备—业务板—时钟板—接口板3这条链路被启用。启用时钟板还包括启用时钟板的时间校准功能。以上过程可以由接口板3自身完成。也即接口板3接收到传输模式配置终端下发的模式配置报文后,按照上述过程完成对自身传输模式的配置。
本实施例中,传输模式配置终端通过控制板发给接口板3的报文可能会有多种,例如时钟配置报文、时间配置报文、端口属性配置报文等,对于不同的报文其里面所含的报文唯一标识(例如命令码)不同。接口板3接收并处理模式配置报文的过程参见图3所示,包括:
S301:接口板3接收到各种报文后,从各种报文中识别出模式配置报文,例如可根据报文唯一标识进行识别。
S302:接口板3对识别出的模式配置报文进行解析,提取出其中的模式配置指令和接口板的唯一标识信息,根据该唯一标识信息可以判断是否是发给自己的模式配置报文,如果不是,则不作任何处理。
S303:接口板3在确定是发给自己的模式配置报文后,根据解析出的模式配置指令(带外模式配置指令或带内模式配置指令)进行对应的传输模式配置。本实施例中,接口板3在进行传输模式配置时,包括如果之前已有配置好的传输模式,则将之前的传输模式的配置清除,然后进行新传输模式对应的配置信息进行设置、保存和以及对相应的硬件(例如相应的可变成逻辑器件)配置,且在新传输模式为带内传输模式时,还包括启动时钟板的时间校正功能。例如发时间校正通知给时钟板触发时间校正功能。
本实施例中,当接口板3当前配置的是带内传输模式时,接口板3启用时钟板后,还包括接收时钟板按预设时间同步规则下发的对时时间通知报文,该对时时间通知报文中包含标准时间信息。接口板3收到该对时时间通知报文后,提取当前的本地时间信息与对时时间通知报文中的标准时间信息进行比对,根据比对结果对本地时间信息进行校正。例如可以将本地时间信息与标准时间信息做减法运算,根据减法得到的结果对本地时间信息进行相应的校正。
本实施例中,接口板3从时钟板2接收到的报文也可能包括多种,例如时间等级报文、1PPS+TOD报文等,不同报文中携带的协议标识不同。因此可以根据协议标识对各报文进行识别。时钟板2例如可以通过背板时钟通道向接口板3发送报文。其中,接口板3接收并处理对时时间通知报文的情况过程参见图4所示,包括:
S401:接口板3接收报文,并根据报文中的协议标识从中识别出对时时间通知报文。
S402:接口板3按照一定的扫描周期扫描是否接收到的对时时间通知报文。如没有扫描到,可以继续扫描;且可以在连续的几次都未扫描到时进行相应的报警。
S403:接口板3根据扫描到的对时时间通知报文按上述过程对本地时间进行校正。
通过上述过程,接口板3将传输模式配置为带外传输时,则通过第二接口接收来自上游时钟源设备的时间信息和时钟信息,并组装成时间时钟报文发送给监控板4,经由监控板传送到下游网元。可选的,本实施例中的第二接口包括外时钟接口和1PPS+TOD接口。
接口板3将传输模式配置为带内传输时,业务板1接收来自上游时钟源设备的时间时钟报文并发送给时钟板2;时钟板2将接收的时钟时间报文下发给接口板3;接口板3将来自时钟板的时钟时间报文发送给监控板4,经由监控板4传送到下游网元设备。监控板4例如可通过其OSC口将时钟时间报文下发给下游网元设备。
本实施例中网元设备的接口板可以根据自身当前在组网中的角色确定当前使用带外传输模式还是带内传输模式,也即接口板支持带内、带外两种传输模式的配置和切换,提升了接口板的处理能力,实现简单,通用性好。
实施例二:
本实施例提供了对图2中的网元设备进行配置的传输模式配置装置,参见图5所示,包括:
配置模块51,用于接收传输模式配置终端下发的模式配置报文,在配置报文包含带外模式配置指令时,将接口板的传输模式配置为带外传输,并启用所述第二接口;在配置报文包含带内模式配置指令时,将接口板的传输模式配置为带内传输并启用所述时钟板。
其中,配置模块51包括:
配置报文接收单元511,用于接收传输模式配置终端下发的报文(包含但不限于时钟配置报文、时间配置报文、端口属性配置报文),并从接收到的各报文中识别出模式配置报文,例如可以根据报文唯一标识进行识别。
参见图6所示,本实施例中的传输模式配置终端包括模式报文发送模块61,用于向 配置报文接收单元511发送模式配置报文。
模式报文解析单元512,用于解析模式配置报文得到带外模式配置指令或带内模式配置指令;
模式设置单元513,用于根据模式报文解析单元解析得到的带外模式配置指令或带内模式配置指令对所述接口板的传输模式进行配置。
参见图7所示,传输模式配置装置还包括时间校正模块52,用于在配置模块51将接口板的传输模式配置为带内传输时,接收时钟板下发的对时时间通知报文,并根据所述对时时间通知报文对所述接口板本地的时间信息进行校正。其中,时间校正模块52包括:
协议报文接收单元521,用于接收来自时钟板的报文,并从接收到的各报文中识别出对时时间通知报文。协议报文接收单元521从时钟板和其他地方接收到的报文也可能包括多种,例如时间等级报文、1PPS+TOD报文,其例如可以通过报文中的协议标识对各报文进行识别。
参见图8所示,本实施例中的时钟板包括定时发送对时报文模块81,用于定时向协议报文接收单元521发送对时时间通知报文。
定时检测对时报文单元522,用于定时检测协议报文接收单元是否接收到对时时间通知报文;
对时校正单元523,用于提取定时检测对时报文单元检测到的对时时间通知报文中的标准时间信息,以及提取接口板当前的本地的时间信息与标准时间信息进行比对,根据比对结果对接口板本地时间信息进行校正。例如对时校正单元523可以将本地时间信息与标准时间信息做减法运算,根据减法得到的结果对本地时间信息进行相应的校正。
应当理解的是,上述配置模块51中的配置报文接收单元511、模式报文解析单元512、模式设置单元513以及时间校正模块52中的协议报文接收单元521、定时检测对时报文单元522、对时校正单元523的各功能可以通过接口板中的各子模块来实现。通过上述各模块单元对接口板的传输模式设置好之后,接口板即可根据设置使用带外或带内传输模式进行相关业务的处理。
本公开实施例根据接口板在组网环境中的角色,确认接口板是使用带外模式还是带内模式,然后通过传输模式配置终端将对应的模式配置报文配置到接口板上,接口板在完成对应的配置生效和一系列模式初始化后,就可运行在配置的工作模式下。如果工作在带外模式下,则不需要运行校时算法,直接透传面板口接收的时钟时间报文,发送给本网元的监控单板上;如果工作在带内模式下,网元的时钟板通过背板网络接口定时发送当前的标准时间信息,接口板需要同时对接收报文检测,并对接收到的对时报文进行解析得到标准时间信息,然后与本地时间信息进行比较计算,并将计算结果校正到本地时间中,完成带内模式下网元内同步时钟时间的功能。
以上内容是结合具体的实施方式对本公开实施例所作的进一步详细说明,不能认定本公开的具体实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不 脱离本公开构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本公开的保护范围。
工业实用性
本公开实施例在网元设备上增设实现带内传输的业务板和时钟板硬件基础,然后根据接收传输模式配置终端下的配置报文确定接口板是采用带外传输模式还是带内传输模式,在现有网元设备单板基础之上,增加了接口板的处理能力和灵活性,能更好的使用业务需求,且实现简单,成本低,通用性好。

Claims (11)

  1. 一种网元设备,其中,包括依次连接的业务板、时钟板和接口板;
    所述业务板和所述接口板分别通过第一接口和第二接口与上游时钟源设备连接;
    所述接口板设置为接收传输模式配置终端下发的模式配置报文,在所述配置报文包含带外模式配置指令时,将传输模式配置为带外传输并启用所述第二接口;在所述配置报文包含带内模式配置指令时,将传输模式配置为带内传输并启用所述时钟板。
  2. 如权利要求1所述的网元设备,其中,所述接口板启用所述时钟板后,还设置为接收所述时钟板按预设时间同步规则下发的对时时间通知报文,所述对时时间报文中包含标准时间信息;以及设置为提取当前的本地时间信息与所述标准时间信息进行比对,根据比对结果对本地时间信息进行校正。
  3. 如权利要求1所述的网元设备,其中,还包括与所述接口板连接的控制板;所述控制板设置为接收所述传输模式配置终端下发的模式配置报文,所述模式配置报文中还包括待配置接口板的唯一识别信息,并根据所述唯一识别信息将所述模式配置报文下发给接口板。
  4. 如权利要求1-3任一项所述的网元设备,其中,还包括监控板;
    所述接口板将传输模式配置为带外传输时,还设置为通过所述第二接口接收来自所述上游时钟源设备的时间信息和时钟信息,并组装成时间时钟报文发送给所述监控板;
    所述接口板将传输模式配置为带内传输时,所述业务板设置为接收来自所述上游时钟源设备的时间时钟报文并发送给所述时钟板;所述时钟板还设置为将接收的时钟时间报文下发给所述接口板;所述接口板还设置为将来自所述时钟板的时钟时间报文发送给所述监控板;
    所述监控板设置为将接收到的时钟时间报文下发给下一网元设备。
  5. 如权利要求1-3任一项所述网元设备,其中,所述第一接口为以太网接口,所述第二接口包括外时钟接口和1每秒脉冲数PPS+时间信息TOD接口。
  6. 一种网元设备的传输模式配置装置,所述网元设备包括依次连接的业务板、时钟板和接口板,所述业务板和所述接口板分别通过第一接口和第二接口与上游时钟源设备连接;所述传输模式配置装置包括:
    配置模块,设置为接收传输模式配置终端下发的模式配置报文,在所述配置报文包含带外模式配置指令时,将所述接口板的传输模式配置为带外传输,并启用所述第二接口;在所述配置报文包含带内模式配置指令时,将所述接口板的传输模式配置为带内传输并启用所述时钟板。
  7. 如权利要求6所述的传输模式配置装置,其中,所述配置模块包括:
    配置报文接收单元,设置为接收传输模式配置终端下发的报文,并从接收到的各报文中识别出模式配置报文;
    模式报文解析单元,设置为解析所述模式配置报文得到所述带外模式配置指令或带内模式配置指令;
    模式设置单元,设置为根据所述模式报文解析单元解析得到的带外模式配置指令或带内模式配置指令对所述接口板的传输模式进行配置。
  8. 如权利要求6或7所述的传输模式配置装置,其中,还包括时间校正模块,设置为在所述配置模块将所述接口板的传输模式配置为带内传输时,接收时钟板下发的对时时间通知报文,并根据所述对时时间通知报文对所述接口板本地的时间信息进行校正。
  9. 如权利要求8所述的传输模式配置装置,其中,所述时间校正模块包括:
    协议报文接收单元,设置为接收来自所述时钟板的报文,并从接收到的各报文中识别出对时时间通知报文;
    定时检测对时报文单元,设置为定时检测所述协议报文接收单元是否接收到对时时间通知报文;
    对时校正单元,设置为提取所述定时检测对时报文单元检测到的对时时间通知报文中的标准时间信息,以及提取所述接口板当前的本地的时间信息与所述标准时间信息进行比对,根据比对结果对所述接口板本地时间信息进行校正。
  10. 一种网元设备的传输模式配置方法,所述网元设备包括依次连接的业务板、时钟板和接口板,所述业务板和所述接口板分别通过第一接口和第二接口与上游时钟源设备连接;所述方法包括:
    接收传输模式配置终端下发的模式配置报文,在所述配置报文包含带外模式配置指令时,将所述接口板的传输模式配置为带外传输,并启用所述第二接口;在所述配置报文包含带内模式配置指令时,将所述接口板的传输模式配置为带内传输并启用所述时钟板。
  11. 一种存储介质,用于存储程序代码,所述程序代码用于执行权利要求10所述的网元设备的传输模式配置方法。
PCT/CN2017/090235 2016-06-28 2017-06-27 网元设备及其传输模式配置装置和方法 WO2018001224A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610488593.XA CN107547232B (zh) 2016-06-28 2016-06-28 网元设备及其传输模式配置装置和方法
CN201610488593.X 2016-06-28

Publications (1)

Publication Number Publication Date
WO2018001224A1 true WO2018001224A1 (zh) 2018-01-04

Family

ID=60786604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/090235 WO2018001224A1 (zh) 2016-06-28 2017-06-27 网元设备及其传输模式配置装置和方法

Country Status (2)

Country Link
CN (1) CN107547232B (zh)
WO (1) WO2018001224A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277395B (zh) * 2022-07-29 2024-05-28 联想(北京)有限公司 一种配置方法、配置装置、第一设备及配置系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573046A (zh) * 2012-02-20 2012-07-11 烽火通信科技股份有限公司 可以对带内和带外时间同步接口分别进行时延补偿的移动通信系统及方法
CN104363530A (zh) * 2014-10-29 2015-02-18 烽火通信科技股份有限公司 一种同步状态信息提取的装置和方法
CN105409163A (zh) * 2014-06-18 2016-03-16 华为技术有限公司 一种通信的方法、装置及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664699A (zh) * 2012-04-12 2012-09-12 中兴通讯股份有限公司南京分公司 微波网元的时钟源选择方法及装置
CN102833026B (zh) * 2012-08-31 2015-09-09 华为技术有限公司 一种时钟跟踪方法、系统和网元

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573046A (zh) * 2012-02-20 2012-07-11 烽火通信科技股份有限公司 可以对带内和带外时间同步接口分别进行时延补偿的移动通信系统及方法
CN105409163A (zh) * 2014-06-18 2016-03-16 华为技术有限公司 一种通信的方法、装置及系统
CN104363530A (zh) * 2014-10-29 2015-02-18 烽火通信科技股份有限公司 一种同步状态信息提取的装置和方法

Also Published As

Publication number Publication date
CN107547232A (zh) 2018-01-05
CN107547232B (zh) 2021-08-31

Similar Documents

Publication Publication Date Title
US9154292B2 (en) Communication apparatus, communication system, and time synchronization method
CN102938676B (zh) 时间同步处理方法、装置及系统
US8953645B2 (en) Communication system, communication apparatus and time synchronization method
US9628209B2 (en) Time synchronization in distributed network testing equipment
JP5570026B2 (ja) Eponに冗長性を与える冗長化システム
RU2605494C2 (ru) СПОСОБ И УСТРОЙСТВО ДЛЯ ОБНАРУЖЕНИЯ ЗАКОЛЬЦОВЫВАНИЯ ПОРТОВ Ethernet
US10171227B2 (en) Method and apparatus for configuring ONU as IEEE 1588 master clock in PON
WO2017012486A1 (zh) 一种otn网元设备、otn时钟和时间的同步方法及系统
US10063335B2 (en) Method, apparatus and system for remotely configuring PTP service of optical network unit
US9730172B2 (en) Base station device and method of updating counter of base station device
WO2011134371A1 (zh) 一种同步时钟的方法和时钟同步装置
CN101136738A (zh) 网络时钟同步方法、装置及系统
WO2018001224A1 (zh) 网元设备及其传输模式配置装置和方法
CN100474807C (zh) 通信系统中媒体网关实现同步的方法和装置
EP3229387B1 (en) Method, device and system for awakening an optical network unit in a passive optical network
US9886400B2 (en) Communication system and communication method
US8165173B2 (en) Data transmission method, system and terminal
KR101716583B1 (ko) 시간 동기화 서버, 시스템 및 방법
CN108155965A (zh) Sdh传输iec61588方法
JP2012095089A (ja) 局側装置、宅側装置、光通信システム、および光通信システムの制御方法
WO2016082369A1 (zh) 时钟源属性的同步方法、装置及系统
JP2011130182A (ja) 無線基地局システム及び中継装置
WO2016184225A1 (zh) 一种时间同步消息发送方法和装置
KR101833894B1 (ko) 수동 광 네트워크의 시각 동기화 방법
CN106788949B (zh) 一种同步规划方法及装置

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: 17819221

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17819221

Country of ref document: EP

Kind code of ref document: A1