WO2017096914A1 - 一种实现时钟同步的方法及装置 - Google Patents

一种实现时钟同步的方法及装置 Download PDF

Info

Publication number
WO2017096914A1
WO2017096914A1 PCT/CN2016/091557 CN2016091557W WO2017096914A1 WO 2017096914 A1 WO2017096914 A1 WO 2017096914A1 CN 2016091557 W CN2016091557 W CN 2016091557W WO 2017096914 A1 WO2017096914 A1 WO 2017096914A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
board
address
packet
message
Prior art date
Application number
PCT/CN2016/091557
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 WO2017096914A1 publication Critical patent/WO2017096914A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0055Synchronisation arrangements determining timing error of reception due to propagation delay

Definitions

  • This document relates to, but is not limited to, the field of switching network devices and wireless communication device development technologies, and in particular, to a method and apparatus for implementing clock synchronization.
  • SDN Software Defined Networking
  • the standardized control protocol advocated by SDN the software-based network interface provides a good support for the unified management of resources and the innovation of the business, and can provide users with a better network experience and enhance the value of the network.
  • Wireless operators also want to integrate SDN equipment in their own wireless communication equipment, provide SDN capabilities, and enhance the network value of their own wireless communication equipment.
  • the 1588 clock is the IEEE1588 standard and is the precision clock synchronization protocol standard for network measurement and control systems.
  • the 1588 clock distributed communication network via Ethernet enables strict clock synchronization and achieves clock accuracy of 100 nanoseconds (ns).
  • Wireless communication devices require high precision time signals to support time sensitive services.
  • the wireless communication device generally uses the received 1588 message of the transmission network as a clock synchronization signal.
  • time-sensitive services are carried on a single board such as a baseband and a RMC.
  • IP protocol
  • the transmission network cannot be separately used for wireless communication.
  • the 1588 packet of the device is assigned an independent IP address. Therefore, the wireless communication device cannot receive the 1588 packet of the transport network and cannot obtain the clock synchronization signal.
  • the above transmission network cannot separately allocate an independent IP address to the 1588 message of the wireless communication device, which causes the wireless communication device to fail to obtain the clock synchronization signal.
  • no effective solution has been proposed.
  • the embodiment of the invention provides a method and a device for implementing clock synchronization, which can realize clock synchronization when the transmission network cannot separately allocate an independent IP address for the 1588 message of the wireless communication device.
  • An embodiment of the present invention provides a method for implementing clock synchronization, where the method includes:
  • the modified clock packet is transmitted to the board, so that the board obtains a clock synchronization signal according to the modified clock message.
  • the method before the receiving the clock message sent by the transmission network, the method further includes: configuring the packet identification forwarding flow table according to the frame information of the wireless communication device.
  • the method further includes: identifying the received clock message by using an Ethernet frame type.
  • the board includes a baseband single board or a RMC single board.
  • the forwarding the flow table according to the pre-configured packet, and modifying the destination IP address and the destination MAC address of the clock packet include:
  • the transmitting the modified clock packet to the board includes: sending the modified clock packet to the board according to the IP address forwarding manner.
  • the embodiment of the present invention further provides a device for implementing clock synchronization, where the device includes: a frame switching module, a software defined network SDN switching module, and a single board module, where
  • the frame switching module is configured to receive a clock message sent by the transport network
  • the SDN switching module is configured to identify a forwarding flow table according to the pre-configured message, and modify a protocol IP address and a destination medium access control MAC address of the destination network between the clock message. site;
  • the board module is configured to transmit the modified clock packet to the board, so that the board obtains a clock synchronization signal according to the modified clock message.
  • the apparatus further includes a processor module, configured to configure the packet identification forwarding flow table according to the wireless communication device shelf slot information.
  • the SDN switching module is further configured to: identify, by using an Ethernet frame type, the clock packet received by the frame switching module.
  • the board includes a baseband single board or a RMC single board.
  • the SDN switching module is configured to: modify the forwarding flow table according to the pre-configured packet, and modify the destination IP address of the clock packet to the IP address of the board. Modify the destination MAC address of the clock packet to the MAC address of the board.
  • the board module is configured to: send the modified clock packet to the board according to an IP address forwarding manner.
  • the technical solution provided by the embodiment of the present invention includes: first receiving a clock packet sent by a transport network; and identifying a forwarding flow table according to the pre-configured packet, and modifying a destination IP address and a destination MAC address of the clock packet.
  • the 1588 packet is shared with the management network by the SDN, thereby avoiding specialization. Assign an IP address to the 1588 clock to save IP address resources.
  • the embodiment of the invention overcomes the problem that the transmission network cannot separately allocate an independent IP address to the wireless communication device for clock message transmission, and realizes the acquisition of the clock synchronization signal.
  • FIG. 1 is a schematic flowchart of a method for implementing clock synchronization according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for sharing an IP address according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for sharing an IP address according to Embodiment 2 of the present invention.
  • the clock packet sent by the transport network is received first, and then the forwarding flow table is identified according to the pre-configured packet, and the destination IP address and the destination MAC address of the clock packet are modified; and then the modified clock packet is transmitted.
  • the board obtains the clock synchronization signal based on the modified clock packet.
  • the SDN exchange is implemented in the wireless communication device, and the packet identification packet is used to identify the 1588 clock packet in the management network, and the destination MAC address and IP address of the clock packet are modified, thereby making the clock packet.
  • the board that needs to be clocked such as the baseband board or the RMC card, does not need to be assigned an IP address for the 1588 clock.
  • the 1588 clock is shared with the management network IP address.
  • FIG. 1 is a schematic flowchart of a method for implementing clock synchronization according to an embodiment of the present invention. As shown in FIG. 1 , this embodiment includes:
  • Step 101 Receive a clock message sent by the transport network.
  • the clock generated by the transport network includes a 1588 clock packet, and the packet is sent to the wireless communication device through the Ethernet;
  • the method before receiving the clock message sent by the transmission network, the method further includes: configuring a packet identification forwarding flow table according to the frame information of the frame of the wireless communication device; optionally, powering on the wireless communication device.
  • the wireless communication device configures the packet identification forwarding flow table according to the frame slot information.
  • the method after receiving the clock message sent by the transport network, the method further includes: identifying, by the Ethernet frame type, the received clock message; for example, the wireless communication device identifies the newspaper by using an Ethernet frame type.
  • the text is a 1588 clock message, thereby triggering the flow table to perform an action, and performing step 102;
  • Step 102 Identify the forwarding flow table according to the pre-configured packet, and modify the destination IP address of the clock packet. Address and destination MAC address.
  • the forwarding flow table is identified according to the pre-configured packet, and the destination IP address and the destination MAC address of the clock packet are modified, and the forwarding flow table is identified according to the pre-configured packet, and the clock packet is sent. Change the destination IP address to the IP address of the board and change the destination MAC address of the clock packet to the MAC address of the board.
  • the board in the embodiment of the present invention may include: a baseband single board or a rack management unit (RMC) single board.
  • RMC rack management unit
  • Step 103 The modified clock packet is transmitted to the board, so that the board obtains the clock synchronization signal according to the modified clock message.
  • the sending the modified clock packet to the board may include: sending the modified clock packet to the board according to the IP address forwarding manner; including the baseband board or the RMC board. .
  • the board obtains the clock synchronization signal according to the modified clock message. Since the packet of the embodiment of the present invention implements the transmission of the 1588 message, the acquisition of the high-precision clock signal is ensured.
  • the method of the embodiment of the present invention may be configured to be connected to a wireless communication device, or may be connected to a wireless communication device as an independent device, and both methods may be used to implement the embodiments of the present invention.
  • Embodiments of the present invention provide a computer storage medium.
  • the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for implementing clock synchronization.
  • the embodiment of the present invention further provides a device for implementing clock synchronization.
  • the device of the embodiment of the present invention may be located in a wireless communication device, or may be connected to a wireless communication device, for example, a wireless base station device.
  • FIG. 2 is a clock synchronization method according to an embodiment of the present invention.
  • the device includes: a frame switching module 21, an SDN switching module 22, and a single board module 23; wherein the frame switching module 21 can be respectively connected to the SDN switching module 22 and the single board module 23 through the Ethernet.
  • the transport network is connected, and the board module 23 is configured to send the modified clock to the board.
  • the board is used to carry time-sensitive services, and the time-sensitive service depends on the 1588 clock.
  • the frame switching module 21 is configured to receive a clock message sent by the transport network, and receive the received clock.
  • the packet is sent to the SDN switching module 22;
  • the clock packet generated by the transmission network may include: 1588 clock packet, and the packet is sent to the wireless communication device through the Ethernet;
  • the device further includes a processor module 24, and the processor module 24 is configured to: configure the packet forwarding forwarding flow table according to the frame information of the wireless communication device shelf.
  • the processor module 24 configures the packet to identify the forwarding flow table according to the frame slot information.
  • the processor module 24 can be connected to the SDN switching module 22 through an Ethernet, and the network management function can be carried on the processor module 24.
  • the SDN switching module 22 is configured to: identify the forwarding flow table according to the pre-configured message, and modify the destination IP address and the destination MAC address of the clock packet; and send the modified clock packet to the board module 23;
  • the SDN switching module 22 is configured to: identify the forwarding flow table according to the pre-configured packet, and modify the destination IP address of the clock packet to the IP address of the board, and set the purpose of the clock packet.
  • the MAC address is modified to the MAC address of the baseband.
  • the board of the embodiment of the present invention includes a baseband board or a RMC board.
  • the board module 23 is configured to transmit the modified clock packet to the board, so that the board obtains a clock synchronization signal according to the modified clock message.
  • the board module 23 is configured to: send the modified clock packet to the board according to the IP address forwarding manner, including the baseband board or the RMC board.
  • the SDN switching module 22 is further configured to: identify the received clock message by using the Ethernet frame type; for example, the device of the embodiment of the present invention
  • the wireless communication device identifies the packet as a 1588 clock packet, and triggers the flow table to perform an action action to modify the destination IP address and destination MAC address of the clock packet.
  • FIG. 3 is a schematic flowchart of a method for implementing clock synchronization according to Embodiment 2 of the present invention.
  • a wireless communication device is used as an example, and a wireless base station device is deployed in an edge region, and a unique IP address is allocated to the network. Management, the baseband board uses the internal IP address, and the baseband board cannot communicate directly with the transmission network.
  • the method of the embodiment of the present invention includes:
  • Step 301 The radio base station configures a packet identification forwarding flow table for the SDN switching module according to the frame slot information.
  • the packet identifying the forwarding flow table matches the 1588 packet, and the action is to modify the destination IP address and modify the destination MAC address.
  • Step 302 The transmission network generates a 1588 clock message; the 1588 clock message belongs to the clock message generated by the transmission network in the embodiment of the present invention.
  • Step 303 The transport network sends a 1588 clock packet to the frame switching module.
  • the transport network sends a 1588 clock message with the IP address of the wireless base station as the destination IP address.
  • Step 304 The frame switching module forwards the 1588 clock packet to the SDN switching module.
  • Step 305 The SDN switching module identifies a 1588 clock message.
  • Step 306 The SDN switching module modifies the destination IP address and destination MAC address of the 1588 clock packet.
  • the SDN switch module sets the destination IP address of the 1588 clock packet to the IP address of the baseband card or the RMC card, and the MAC address of the baseband card or the RMC card.
  • Step 307 The SDN switching module sends the modified 1588 clock packet to the baseband board or the RMC board.
  • Step 308 The baseband board or the RMC board receives 1588 clock packets, and obtains a clock synchronization signal through the 1588 clock packet.
  • the clock synchronization signal can acquire a high-precision time, thereby providing a clock service for the time sensitive service.
  • the method and device for implementing clock synchronization in the embodiment of the present invention implements the 1588 packet identification, modification, and forwarding flow table through SDN exchange, so that the 1588 clock message shares the IP address with the management network of the wireless communication device, thereby avoiding the exclusive allocation for the 1588 clock.
  • the IP address is used to save the IP address of the transmission network.
  • each of the processing modules implemented in FIG. 2 can be understood with reference to the aforementioned description of the method for implementing clock synchronization. It should be understood by those skilled in the art that the function of the processing module in the apparatus for implementing clock synchronization shown in FIG. 2 can be implemented by a program running on a processor, or can be implemented by a logic circuit, such as: a central processing unit (CPU) ), microprocessor (MPU), digital signal processor (DSP), or field programmable gate array (FPGA) achieve.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • the disclosed method and apparatus may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
  • the modules described above as separate components may or may not be physically separated.
  • the components displayed as modules may or may not be physical modules, that is, may be located in one place or distributed to multiple network modules; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module;
  • the integrated module can be implemented in the form of hardware or in the form of hardware plus software function modules.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store the program code.
  • ROM read-only memory
  • the above-described integrated module of the embodiment of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes a medium that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the above technical solution realizes acquisition of a clock synchronization signal.

Abstract

一种实现时钟同步的方法及装置,包括:接收传输网发送的时钟报文;根据预先配置的报文识别转发流表,修改时钟报文的目的IP地址和目的MAC地址;将修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。本发明实施例克服了传输网无法单独为无线通信设备分配独立IP地址进行时钟报文传输的问题,实现了时钟同步信号的获取。

Description

一种实现时钟同步的方法及装置 技术领域
本文涉及但不限于交换网络设备和无线通信设备开发技术领域,尤其涉及一种实现时钟同步的方法及装置。
背景技术
软件定义网络(SDN,Software Defined Networking)是当前网络领域的热点,被业界普遍视为未来网络的演进方向。SDN倡导的标准化控制协议,软件化网络接口为资源的统一管理、业务的推陈出新提供了很好地支持,能够为用户提供更好的网络体验,提升了网络的价值。无线运营商也希望在自身的无线通信设备中集成SDN设备,提供SDN能力,提升本身的无线通信设备的网络价值。
1588时钟是IEEE1588标准,是网络测量和控制系统的精密时钟同步协议标准。1588时钟通过以太网实现的分布式通信网络能够严格的进行时钟同步,实现100纳秒(ns)级别的时钟精度。
无线通信设备需要获得高精度的时间信号,以支持对时间敏感的业务。而无线通信设备普遍使用接收到的传输网的1588报文作为时钟同步信号。但是,一般情况下,对时间敏感的业务会承载在基带、机架管理单元(RMC)等单板上,同时由于网络之间互连的协议(IP)地址紧张,传输网无法单独为无线通信设备的1588报文分配独立的IP地址,因此,无线通信设备无法接收传输网的1588报文,无法获得时钟同步信号。
上述传输网无法单独为无线通信设备的1588报文分配独立的IP地址,导致无线通信设备无法获得时钟同步信号的问题,目前尚未提出有效的解决办法。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种实现时钟同步的方法及装置,能够在传输网无法单独为无线通信设备的1588报文分配独立的IP地址时实现时钟同步。
本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种实现时钟同步的方法,所述方法包括:
接收传输网发送的时钟报文;
根据预先配置的报文识别转发流表,修改所述时钟报文的目的网络之间互连的协议IP地址和目的媒介访问控制MAC地址;
将所述修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
可选的,上述方案中,所述接收传输网发送的时钟报文之前,所述方法还包括:根据无线通信设备架框槽信息配置所述报文识别转发流表。
可选的,上述方案中,所述接收传输网发送的时钟报文之后,所述方法还包括:通过以太网帧类型识别接收的所述时钟报文。
可选的,上述方案中,所述单板包括基带单板或机架管理单元RMC单板。
可选的,上述方案中,所述根据预先配置的报文识别转发流表,修改所述时钟报文的目的IP地址和目的MAC地址包括:
根据预先配置的所述报文识别转发流表,将所述时钟报文的目的IP地址修改为所述单板的IP地址,将所述时钟报文的目的MAC地址修改为所述单板的MAC地址。
可选的,上述方案中,将所述修改后的时钟报文传输至单板包括:将所述修改后的时钟报文按照IP地址转发的方式发送到所述单板。
本发明实施例还提供了一种实现时钟同步的装置,所述装置包括:框交换模块、软件定义网络SDN交换模块、单板模块,其中,
所述框交换模块,设置为接收传输网发送的时钟报文;
所述SDN交换模块,设置为根据预先配置的报文识别转发流表,修改所述时钟报文的目的网络之间互连的协议IP地址和目的媒介访问控制MAC地 址;
所述单板模块,设置为将所述修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
可选的,上述方案中,所述装置还包括处理器模块,设置为根据无线通信设备架框槽信息配置所述报文识别转发流表。
可选的,上述方案中,所述SDN交换模块还设置为:通过以太网帧类型识别框交换模块接收的所述时钟报文。
可选的,上述方案中,所述单板包括基带单板或机架管理单元RMC单板。
可选的,上述方案中,所述SDN交换模块是设置为:根据预先配置的所述报文识别转发流表,将所述时钟报文的目的IP地址修改为所述单板的IP地址,将所述时钟报文的目的MAC地址修改为所述单板的MAC地址。
可选的,上述方案中,所述单板模块是设置为:将所述修改后的时钟报文按照IP地址转发的方式发送到所述单板。
与相关技术相比,本发明实施例提供的技术方案,包括:先接收传输网发送的时钟报文;再根据预先配置的报文识别转发流表,修改时钟报文的目的IP地址和目的MAC地址;将修改后的时钟报文传输到单板,以使单板根据修改后的时钟报文获取时钟同步信号。如此,能够在无线通信设备的对外IP地址资源不足、同时又需要通过传输网的1588报文实现高精度时钟同步的情况下,通过SDN实现1588报文与管理网络共用对外IP地址,从而避免专门为1588时钟分配IP地址,达到节约IP地址资源的目的。本发明实施例克服了传输网无法单独为无线通信设备分配独立IP地址进行时钟报文传输的问题,实现了时钟同步信号的获取。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例一实现时钟同步的方法流程示意图;
图2为本发明实施例共用IP地址的装置结构示意图;
图3为本发明实施例二共用IP地址的方法流程示意图。
本发明的实施方式
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例中,先接收传输网发送的时钟报文;再根据预先配置的报文识别转发流表,修改时钟报文的目的IP地址和目的MAC地址;然后将修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
本发明实施例中,在无线通信设备中实现SDN交换,通过报文识别转发流表识别管理网络中的1588时钟报文,并修改时钟报文的目的MAC地址和IP地址,从而使时钟报文被交换转发到基带单板或机架管理单元(RMC)单板等需要进行时钟同步的单板,不需要为1588时钟单独分配IP地址,实现1588时钟与管理网络IP地址共用。
下面结合附图及实施例,对本发明实施例技术方案的实施作描述。图1为本发明实施例一实现时钟同步的方法流程示意图,如图1所示,本实施例包括:
步骤101:接收传输网发送的时钟报文;
可选的,本发明实施例中,传输网产生时钟报文包括1588时钟报文,通过以太网发送报文到无线通信设备;
可选的,本发明实施例中,在接收传输网发送的时钟报文之前,还包括:根据无线通信设备架框槽信息配置报文识别转发流表;可选的,在无线通信设备上电初始化过程中,无线通信设备会根据架框槽信息配置报文识别转发流表。
可选的,本发明实施例中,在接收到传输网发送的时钟报文之后,还包括:通过以太网帧类型识别接收的时钟报文;例如,无线通信设备过以太网帧类型识别该报文为1588时钟报文,从而触发流表执行运行(action)动作,进行步骤102;
步骤102:根据预先配置的报文识别转发流表,修改时钟报文的目的IP 地址和目的MAC地址。
可选的,本发明实施例中,根据预先配置的报文识别转发流表,修改时钟报文的目的IP地址和目的MAC地址包括:根据预先配置的报文识别转发流表,将时钟报文的目的IP地址修改为单板的IP地址,将时钟报文的目的MAC地址修改为单板的MAC地址。
可选的,本发明实施例中的单板可以包括:基带单板或机架管理单元(RMC)单板。
步骤103:将修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
可选的,本发明实施例中,将修改后的时钟报文发送到单板可以包括:将修改后的时钟报文按照IP地址转发的方式发送到单板;包括基带单板或RMC单板。
单板根据修改后的时钟报文获取时钟同步信号,由于本发明实施例报文实现了1588报文的传输,因此保证了高精度时钟信号的获取。
需要说明的是,本发明实施例方法可以设置与无线通信设备,也可以作为独立装置与无线通信设备连接,两种方式都可以用于实施本发明实施例。
本发明实施例提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述实现时钟同步的方法。
本发明实施例还提供了一种实现时钟同步的装置,本发明实施例装置可以位于无线通信设备,也可以与无线通信设备连接,例如无线基站设备,图2为本发明实施例实现时钟同步的装置结构示意图,如图2所示,装置包括:框交换模块21、SDN交换模块22、单板模块23;其中,框交换模块21可以通过以太网分别与SDN交换模块22、单板模块23以及传输网连接,单板模块23设置为发送修改后的时钟到单板,单板用于承载对时间敏感的业务,对时间敏感的业务依赖1588时钟;
框交换模块21,设置为接收传输网发送的时钟报文,并将接收到的时钟 报文发送到SDN交换模块22;
本发明实施例中,传输网产生时钟报文可以包括:1588时钟报文,并通过以太网发送报文到无线通信设备;
可选的,本发明实施例中,装置还包括处理器模块24,处理器模块24设置为:根据无线通信设备架框槽信息配置报文识别转发流表。可选的,在无线通信设备上电初始化过程中,处理器模块24会根据架框槽信息配置报文识别转发流表。本发明实施例,处理器模块24可以通过以太网与SDN交换模块22连接,网络管理功能可以承载在处理器模块24上,
SDN交换模块22,设置为根据预先配置的报文识别转发流表,修改时钟报文的目的IP地址和目的MAC地址;将修改后的时钟报文发送到单板模块23;
可选的,本发明实施例中,SDN交换模块22是设置为:根据预先配置的报文识别转发流表,将时钟报文的目的IP地址修改为单板IP地址,将时钟报文的目的MAC地址修改为基带的MAC地址;本发明实施例单板包括基带单板或机架管理单元RMC单板。
单板模块23,设置为将修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
可选的,本发明实施例中,单板模块23设置为:将修改后的时钟报文按照IP地址转发的方式发送到单板,包括基带单板或RMC单板。
可选的,本发明实施例中,在接收到传输网发送的时钟报文之后,SDN交换模块22还设置为:通过以太网帧类型识别接收到的时钟报文;例如,本发明实施例装置应用于无线通信设备时,无线通信设备过以太网帧类型识别该报文为1588时钟报文,从而触发流表执行运行(action)动作,修改时钟报文的目的IP地址和目的MAC地址。
图3为本发明实施例二实现时钟同步的方法流程示意图,本发明实施例二中,无线通信设备以无线基站为例,无线基站设备部署于边缘地区,并为其分配唯一IP地址用于网络管理,基带单板使用内部IP地址,基带单板无法与传输网直接通信。如图3所示,本发明实施例方法包括:
步骤301:无线基站根据架框槽信息为SDN交换模块配置报文识别转发流表;
其中,报文识别转发流表的匹配项为1588报文,动作为修改目的IP地址、修改目的MAC地址;
步骤302:传输网产生1588时钟报文;1588时钟报文属于本发明实施例的传输网产生的时钟报文。
步骤303:传输网将1588时钟报文发送到框交换模块;
其中,传输网以无线基站的IP地址作为目的IP地址发送1588时钟报文;
步骤304:框交换模块将1588时钟报文转发到SDN交换模块;
步骤305:SDN交换模块识别1588时钟报文;
步骤306:SDN交换模块修改1588时钟报文的目的IP地址和目的MAC地址;
其中,SDN交换模块将1588时钟报文的目的IP地址为基带单板或RMC单板的IP地址、修改目的MAC地址为基带单板或RMC单板的MAC地址;
步骤307:SDN交换模块将修改后的1588时钟报文发送到基带单板或RMC单板;
步骤308:基带单板或RMC单板接收1588时钟报文,通过1588时钟报文获取时钟同步信号;通过时钟同步信号可以获取高精度时间,从而为时间敏感业务提供时钟服务。
本发明实施例实现时钟同步的方法和装置,通过SDN交换实现1588报文识别、修改、转发流表,使得1588时钟报文与无线通信设备的管理网络共用IP地址,从而避免专门为1588时钟分配IP地址,达到节约传输网IP地址的目的。
图2中所示的实现时钟同步的装置中的每一个处理模块的实现功能,可参照前述实现时钟同步的方法的相关描述而理解。本领域技术人员应当理解,图2所示的实现时钟同步的装置中处理模块的功能可通过运行于处理器上的程序而实现,也可通过逻辑电路而实现,比如:可由中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA) 实现。
在本发明所提供的几个实施例中,应该理解到,所揭露的方法及装置,可以通过其他的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其他形式的。
上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理模块,即可以位于一个地方,也可以分布到多个网络模块上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能模块可以全部集成在一个处理模块中,也可以是每一模块分别单独作为一个模块,也可以两个或两个以上模块集成在一个模块中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等可以存储程序代码的介质。
或者,本发明实施例上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等可以存储程序代码的介质。
本发明实施例中记载的实现时钟同步的方法、装置只以上述实施例为例,但不仅限于此,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
以上所述仅为本发明的可选实施例而已,并非用于限定本发明的保护范围。
工业实用性
上述技术方案实现了时钟同步信号的获取。

Claims (12)

  1. 一种实现时钟同步的方法,所述方法包括:
    接收传输网发送的时钟报文;
    根据预先配置的报文识别转发流表,修改所述时钟报文的目的网络之间互连的协议IP地址和目的媒介访问控制MAC地址;
    将所述修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
  2. 根据权利要求1所述方法,所述接收传输网发送的时钟报文之前,所述方法还包括:根据无线通信设备架框槽信息配置所述报文识别转发流表。
  3. 根据权利要求1所述方法,所述接收传输网发送的时钟报文之后,所述方法还包括:通过以太网帧类型识别接收的所述时钟报文。
  4. 根据权利要求1所述方法,其中,所述单板包括基带单板或机架管理单元RMC单板。
  5. 根据权利要求1~4任一项所述方法,其中,所述根据预先配置的报文识别转发流表,修改所述时钟报文的目的IP地址和目的MAC地址包括:
    根据预先配置的所述报文识别转发流表,将所述时钟报文的目的IP地址修改为所述单板的IP地址,将所述时钟报文的目的MAC地址修改为所述单板的MAC地址。
  6. 根据权利要求1~4任一项所述方法,其中,将所述修改后的时钟报文传输至单板包括:将所述修改后的时钟报文按照IP地址转发的方式发送到所述单板。
  7. 一种实现时钟同步的装置,所述装置包括:框交换模块、软件定义网络SDN交换模块、单板模块,其中,
    所述框交换模块,设置为接收传输网发送的时钟报文;
    所述SDN交换模块,设置为根据预先配置的报文识别转发流表,修改所述时钟报文的目的网络之间互连的协议IP地址和目的媒介访问控制MAC地址;
    所述单板模块,设置为将所述修改后的时钟报文传输至单板,以使单板根据修改后的时钟报文获取时钟同步信号。
  8. 根据权利要求7所述装置,所述装置还包括处理器模块,设置为根据无线通信设备架框槽信息配置所述报文识别转发流表。
  9. 根据权利要求7所述装置,所述SDN交换模块还设置为:通过以太网帧类型识别框交换模块接收的所述时钟报文。
  10. 根据权利要求7所述装置,其中,所述单板包括基带单板或机架管理单元RMC单板。
  11. 根据权利要求7~10任一项所述装置,其中,所述SDN交换模块是设置为:根据预先配置的所述报文识别转发流表,将所述时钟报文的目的IP地址修改为所述单板的IP地址,将所述时钟报文的目的MAC地址修改为所述单板的MAC地址。
  12. 根据权利要求7~10任一项所述装置,其中,所述单板模块是设置为:将所述修改后的时钟报文按照IP地址转发的方式发送到所述单板。
PCT/CN2016/091557 2015-12-07 2016-07-25 一种实现时钟同步的方法及装置 WO2017096914A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510894866.6 2015-12-07
CN201510894866.6A CN106850175B (zh) 2015-12-07 2015-12-07 一种共用ip地址的方法及装置

Publications (1)

Publication Number Publication Date
WO2017096914A1 true WO2017096914A1 (zh) 2017-06-15

Family

ID=59012638

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/091557 WO2017096914A1 (zh) 2015-12-07 2016-07-25 一种实现时钟同步的方法及装置

Country Status (2)

Country Link
CN (1) CN106850175B (zh)
WO (1) WO2017096914A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520707A (zh) * 2022-01-24 2022-05-20 中银金融科技有限公司 时钟同步方法及相关设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070041324A1 (en) * 2005-06-10 2007-02-22 Kishan Shenoi Adaptive play-out buffers and adaptive clock operation in packet networks
CN101494613A (zh) * 2009-02-24 2009-07-29 华为技术有限公司 时钟报文隧道传输的方法、网络节点和通信系统
CN102013969A (zh) * 2010-12-02 2011-04-13 中兴通讯股份有限公司 一种实现时间同步的方法及装置
CN102104476A (zh) * 2011-02-21 2011-06-22 中兴通讯股份有限公司 时钟同步装置及方法
CN102377663A (zh) * 2010-08-24 2012-03-14 华为技术有限公司 处理时钟报文的方法、设备及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188534B (zh) * 2007-12-11 2011-09-21 中兴通讯股份有限公司 一种实现信令通讯网络和管理通讯网络通道的装置和方法
US9935822B2 (en) * 2012-05-25 2018-04-03 Telefonaktiebolaget Lm Ericsson (Publ) Method of and apparatus for configuring a link in a label switching communication network
CN103475461B (zh) * 2013-09-30 2016-06-08 武汉邮电科学研究院 一种1588时钟同步功能实现方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070041324A1 (en) * 2005-06-10 2007-02-22 Kishan Shenoi Adaptive play-out buffers and adaptive clock operation in packet networks
CN101494613A (zh) * 2009-02-24 2009-07-29 华为技术有限公司 时钟报文隧道传输的方法、网络节点和通信系统
CN102377663A (zh) * 2010-08-24 2012-03-14 华为技术有限公司 处理时钟报文的方法、设备及系统
CN102013969A (zh) * 2010-12-02 2011-04-13 中兴通讯股份有限公司 一种实现时间同步的方法及装置
CN102104476A (zh) * 2011-02-21 2011-06-22 中兴通讯股份有限公司 时钟同步装置及方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520707A (zh) * 2022-01-24 2022-05-20 中银金融科技有限公司 时钟同步方法及相关设备

Also Published As

Publication number Publication date
CN106850175B (zh) 2020-11-27
CN106850175A (zh) 2017-06-13

Similar Documents

Publication Publication Date Title
EP3836577B1 (en) Session management method and device for user groups
US11374899B2 (en) Managing network connectivity between cloud computing service endpoints and virtual machines
TWI660610B (zh) 無線通訊系統的資源分配方法及其設備和系統
JP2022513083A (ja) 時間依存ネットワーキング通信方法及び装置
US10063335B2 (en) Method, apparatus and system for remotely configuring PTP service of optical network unit
WO2017133478A1 (zh) 用于时间同步的方法和时钟
US11025404B2 (en) Enhancing synchronization in computer network
US9351309B1 (en) Dynamic allocation of carrier aggregation resources based on device requests
EP2894819A1 (en) Message sending method, routing bridge and system
EP3522463A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
US20160112371A1 (en) Ip address allocation system and method
US9913010B2 (en) Data processing method and apparatus
EP4145729A1 (en) Port state configuration method, apparatus, system, and storage medium
JP2024504466A (ja) パケット転送方法、パケット処理方法、およびデバイス
WO2017096914A1 (zh) 一种实现时钟同步的方法及装置
WO2021163901A1 (zh) 一种会话处理方法及其装置
WO2020165343A1 (en) Functional part selection in a disaggregated base station
EP3813481A1 (en) Information transmission method and apparatus
TW201943229A (zh) 一種訊息確定及配置方法、裝置、電腦存儲媒介
KR101489402B1 (ko) 네트워크에서 효율적인 시간 동기화 방법
RU2635216C1 (ru) Способ маршрутизации IP-пакетов при использовании VPLS совместно с DHCP в сети с коммутацией пакетов
US9351136B1 (en) Communication path settings for wireless messaging based on quality of service
WO2022228293A1 (zh) 一种发送报文的方法、处理报文的方法及设备
CN111224876B (zh) 报文的处理方法及装置
EP3229414A1 (en) Method and system for transmitting management information

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

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

Country of ref document: EP

Kind code of ref document: A1