WO2015196685A1 - 时钟同步方法及装置 - Google Patents
时钟同步方法及装置 Download PDFInfo
- Publication number
- WO2015196685A1 WO2015196685A1 PCT/CN2014/090187 CN2014090187W WO2015196685A1 WO 2015196685 A1 WO2015196685 A1 WO 2015196685A1 CN 2014090187 W CN2014090187 W CN 2014090187W WO 2015196685 A1 WO2015196685 A1 WO 2015196685A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- synchronization
- packet
- physical layer
- message
- initial
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0685—Clock or time synchronisation in a node; Intranode synchronisation
- H04J3/0697—Synchronisation in a packet node
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/12—Synchronisation of different clock signals provided by a plurality of clock generators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/14—Time supervision arrangements, e.g. real time clock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
Definitions
- the present invention relates to the field of communications, and more particularly to a clock synchronization method and apparatus.
- IEEE1588 Precision Clock Synchronization Protocol PTP
- PTP Precision Clock Synchronization Protocol
- Synchronization of the clocks of all nodes in the network is synchronized by the synchronization signal.
- Ethernet systems achieve precise synchronization and synchronization between systems. Synchronization accuracy can reach microseconds or even lower.
- the IEEE1588 clock synchronization is usually based on the Global Navigation Satellite System (GNSS) or the Building Integrated Timing System (BITS) clock as the clock source.
- GNSS Global Navigation Satellite System
- BSC Base Station Controller
- RNC Radio Network Controller
- the accuracy of the IEEE1588 synchronization technology is closely related to the timestamp information carried in the 1588 packet. The closer the timestamp information is to the real transmission time, the higher the synchronization precision.
- An application example of time stamping is given in the IEEE 1588 protocol (IEEE STD 1588-2008), as shown in Figure 1.
- the packet framing is completed at the application layer of the Ethernet architecture, and can be completed at any point of the application layer, the Medium Access Control (MAC) layer (which can be understood as the data link layer), and the physical PHY layer.
- the timestamp of the packet is added. It is recommended to assist in the timestamp update of the packet sent by the application layer through the hardware assist function at the PHY layer.
- the OS in FIG. 1 can be understood as an abbreviation of the operating system Operating System.
- FIG. 1 is a schematic diagram of a time stamp processing of a 1588 packet according to the prior art.
- a CPU of a system such as a BSC/RNC completes receiving and transmitting a 1588 message, and is assisted by hardware such as a programmable logic or a PHY.
- the 1588 packet timestamp is updated (as shown in Figure 2) to achieve time synchronization of the entire Ethernet system.
- the CPU of the BSC/RNC When the CPU of the BSC/RNC receives and sends a message, it needs a software interrupt to drive the completion. Limited to this architecture of the CPU processing system, the BSC/RNC load user capacity as the 1588 master clock is limited. Currently present Some IEEE1588 synchronization technologies, BSC / RNC can load only a few dozen user capacity, even for the professional high-performance IEEE 1588 synchronization server, the user load is difficult to reach more than 1000.
- the 1588 master clock load user capacity limitation problem of the BSC/RNC system is particularly prominent in the large-scale networking application of the femto/micro base station.
- the centralized femto/micro base station networking solution cannot be maximized. Reduce the cost of timing.
- the present invention provides a clock synchronization method and apparatus to solve at least the above problems.
- a clock synchronization method where a physical layer device acquires a synchronization message for clock synchronization of a device to be synchronized; and the physical side device sends the synchronization message to the device to be synchronized.
- the synchronization message is provided, where a physical layer device acquires a synchronization message for clock synchronization of a device to be synchronized; and the physical side device sends the synchronization message to the device to be synchronized.
- the synchronization message is provided, where a physical layer device acquires a synchronization message for clock synchronization of a device to be synchronized; and the physical side device sends the synchronization message to the device to be synchronized.
- the physical layer device obtains the synchronization message for the clock to be synchronized by the device to be synchronized, and the physical layer device generates an initial packet, and the physical layer device acquires a reference time for synchronization, and determines, according to the reference time, The timestamp of the initial packet is added, and the timestamp is added to the initial packet to obtain the synchronization packet.
- the physical layer device further includes: the physical layer device generates a response message according to the synchronization message, where the response message is used to notify the The synchronous device said that the physical layer device has accepted its request for clock synchronization.
- the time stamp is added to the initial packet to obtain the synchronization packet, and the physical layer device determines that the initial packet and the signaling packet arrive at the same time.
- a priority of the signaling message of the processor CPU and the initial packet after determining that the priority of the initial packet is higher than the priority of the signaling packet, adding the initial packet to the initial packet The timestamp determines the synchronization message.
- the obtaining, by the physical layer device, the reference time for synchronization comprises: determining the reference time according to at least one of the following: a local clock source, a global satellite navigation system GNSS, and a building integrated timing system BITS.
- the obtaining, by the physical layer device, the reference time for synchronization comprises: receiving, by the physical layer device, a reference time obtained by the extension board from a master clock of the physical layer device.
- a clock synchronization apparatus which is applied to a physical layer device, and includes: an obtaining module, configured to acquire a synchronization message for clock synchronization of a device to be synchronized; And a sending module, configured to send the synchronization packet to the to-be-synchronized device.
- the obtaining module includes: a generating unit, configured to generate an initial packet; an acquiring unit, configured to acquire a reference time for synchronization, and determining a timestamp of the initial packet according to the reference time; adding a unit And setting to add the timestamp to the initial message to determine a synchronization message.
- the adding unit includes: a determining subunit, configured to determine, when the initial message and the signaling message arrive at the same time, the signaling message from the central processing unit CPU and the initial message
- the priority unit is configured to determine, after determining that the priority of the initial packet is higher than the priority of the signaling packet, adding the timestamp to the initial packet to determine a synchronization packet.
- the acquiring unit configured to acquire the reference time for synchronization comprises: determining the reference time according to at least one of the following: a local clock source, a global satellite navigation system GNSS, and a building integrated timing system BITS.
- the obtaining unit is further configured to receive a reference time obtained by the expansion board from a master clock of the physical layer device.
- the present invention solves the problem that the user capacity of the load caused by the clock synchronization method in the prior art is small and the synchronization cost is high, by adopting the technical solution of acquiring the synchronization message for clock synchronization of the device to be synchronized through the physical layer device and not by the CPU.
- the problem is to avoid the shortage of load user capacity caused by CPU architecture limitations and maximize the bandwidth resources of Ethernet.
- 1 is a schematic diagram of processing 1588 packet generation and time stamping according to the prior art
- FIG. 2 is a schematic diagram of a 1588 packet generation and time stamp processing process according to an existing device
- FIG. 3 is a flow chart of a clock synchronization method according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram 1 of a message generation and time stamp processing process according to an embodiment of the present invention.
- FIG. 5 is a second schematic diagram of a message generation and time stamp processing process according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a multi-channel design according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a single board expansion application design according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of processing of receiving and transmitting a message by a physical layer device according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of a clock synchronization apparatus according to an embodiment of the present invention.
- FIG. 10 is a block diagram showing still another structure of a clock synchronizing apparatus according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a clock synchronization method according to an embodiment of the present invention, including (step S302-step S304):
- Step S302 The physical layer device acquires a synchronization packet for clock synchronization of the device to be synchronized.
- Step S304 The physical side device sends the synchronization message to the device to be synchronized.
- the technical solution of synchronizing messages for clock synchronization of the device to be synchronized is obtained by using the physical layer device and not by the CPU, and the user capacity of the load caused by the clock synchronization method in the prior art is small and the synchronization cost is solved.
- the high problem is to avoid the shortage of load user capacity caused by CPU architecture limitation and maximize the bandwidth resources of Ethernet.
- step S302 the physical layer device obtains the synchronization message for the clock to be synchronized, and the physical layer device generates the initial packet.
- the physical layer device obtains the reference time for synchronization, and determines according to the reference time.
- the timestamp of the initial packet is added to the initial packet to obtain the synchronization packet.
- the physical layer device further includes: the physical layer device generates a response packet according to the synchronization packet, where the response packet is used to notify the device to be synchronized.
- the physical layer device has accepted its request for clock synchronization.
- the foregoing time stamp is added to the initial packet to obtain the synchronization packet, and the physical layer device determines that the initial packet and the signaling packet arrive at the same time. a priority of the signaling message of the CPU and the initial packet; after determining that the priority of the second synchronization packet is higher than the priority of the signaling packet, adding the timestamp to determine the synchronization in the initial packet Message.
- the obtaining, by the physical layer device, the reference time for synchronization includes determining the reference time according to at least one of the following: a local clock source, a GNSS, and a BITS.
- the acquiring, by the physical layer device, the reference time for synchronization includes: receiving, by the physical layer device, a reference time obtained by the extension board from a master clock of the physical layer device.
- the first step as shown in FIG. 4, the message processing and time stamp application structure of the IEEE1588 protocol example are optimized, and the receiving and transmitting processing of the 1588 message is completed by the hardware auxiliary function of the programmable logic at the physical layer PHY layer (point A). And an update of the timestamp.
- the application layer point C in FIG. 4 does not perform any processing on the 1588 message, and only completes the system establishment and communication functions, and the BSC/RNC IEEE1588 master clock system can be loaded.
- User capacity is determined by Ethernet bandwidth rather than CPU processing power;
- Step 2 Based on the CPU's advantage of processing only a small number of signaling messages, the CPU resources are used to support the multi-channel IEEE1588 function.
- the signaling packets of multiple channels are exchanged and aggregated to the CPU for chain building and communication.
- the BSC/RNC system The load user capacity of the IEEE1588 master clock system is increased by a multiple, as shown in Figure 6.
- Step 3 Pass the standard time from the active and standby clock boards to the expansion board through the internal routing of the chassis, and provide the board expansion and channel expansion functions for accessing large-capacity users, as shown in Figure 7, where Figure 7 A FAN can be understood as a collection of one or more interfaces, but is not limited thereto.
- the workflow and the internal architecture of the physical layer device in the embodiment of the present invention are further analyzed. In a preferred embodiment of the present invention, it may be programmable logic, as shown in FIG.
- the 1588 packet framing module 11 is configured to generate a corresponding 1588 message, and correspondingly respond to the response message according to the 1588 message information extracted by the received message processing module 16.
- the signaling packet buffering module 12 is configured to buffer the signaling message received by the receiving packet processing module 16 from the CPU for arbitration by the sending message arbitration module 13.
- the sending message arbitration module 13 is configured to arbitrate the packets of the 1588 message framing module 11 and the signaling message buffering module 12 according to the priority information, and complete the sending of the message according to the priority.
- the reference time module 14 is configured to complete the generation of the 1588 reference time by using the local clock and the clock source (GNSS or BITS, etc.), and provide the reference time to the sending message processing module 15 as the timestamp information of the 1588 event message. Finish sending.
- the sending packet processing module 15 is configured to complete the parsing of the currently sent packet and extract the information of the 1588 packet.
- the function of updating the current 1588 packet timestamp is completed according to the timestamp information provided by the 1588 reference time module 14.
- the receiving packet processing module 16 is configured to complete the parsing of the currently received packet and extract 1588 packet information.
- the extracted 1588 message information is used as the basic information of the message to be replied to the 1588 message framing module 11 for framing.
- the N Ethernet channels and the CPU are connected through the switch module to form a link and communication between each channel and the CPU; and the signaling packets received by each channel are aggregated by the switch module.
- the CPU processes the signaling packets that the CPU responds to each channel through the switch module.
- the main clock board uses the GNSS or BITS clock and the local high-precision clock to generate accurate 1588 time, and passes the 1588 precise time to the expansion board through the internal routing of the chassis. And through the Ethernet interface of each channel, as the IEEE1588 master clock, the user of the access system is given time.
- the standby clock board passes the Ethernet interface of each channel as an IEEE 1588 master clock to give time to the user of the access system.
- the expansion board provides accurate 1588 time.
- the expansion board provides timing function when there are many load users.
- the expansion board provides only the board expansion and channel expansion functions.
- the 1588 precision time required by the expansion board is obtained by the main clock board or the standby clock board through the chassis routing.
- the expansion board can be flexibly applied to choose whether to configure, how many blocks to configure, and what chassis configuration to use.
- the 1588 packet is directly received and sent from the PHY layer, and the blocking, delay, and the like that may occur in the time zone of the application layer packet to the PHY layer are avoided.
- the programmable logic high frequency and precise timing mode makes the packet transmission interval more accurate, and further optimizes the IEEE1588 synchronization performance.
- the technical solution of the above-mentioned clock synchronization provided by the embodiment of the present invention finally achieves a large increase in the amount of load users.
- the above technical solution provided by the embodiment of the present invention replaces the programmable logic device with the hardware auxiliary function of the BSC/RNC system.
- the CPU processes the 1588 packet and solves the problem of the load user capacity limitation caused by the CPU architecture design, so that the load user capacity is completely determined by the system Ethernet bandwidth.
- the BSC/RNC IEEE1588 master clock system is greatly improved. Load user capacity.
- the following specific implementation examples are described from 10M/100M/1000M/10G Ethernet interfaces:
- the single-channel link bandwidth is 1000Mbps.
- the data bandwidth is used to send 1588 sync packets and announce packets. If the bandwidth of each link is 1% as the signaling packet is established and used for communication, the bandwidth available for 1588 packets is 990 Mbps. If a MAC packet is used (sync packet length is 64 bytes, announce packet length is 82 bytes, response packet length is 72 bytes, packet interval is 12 bytes), and 1588 information is carried. Under the minimum packet allocation interval defined by the 1588V2 protocol (128 packets per second), a single channel can load users.
- the channel can be extended by multiple channels (such as the common 8 channels, 4 channels, 12 channels, 16 channels, etc.), plus the expansion capability of the chassis.
- the standard 1U chassis expands 4 boards, and the 2U chassis expands 8 blocks.
- the board, the 3U chassis expands 12 boards, and the device of the invention can load hundreds of thousands or even millions of users in a 1000M Ethernet interface system;
- the bandwidth of the single channel link is 100Mbps.
- the data bandwidth is used to send 1588 sync packets and announce packets. If the bandwidth of each link is 1% as the signaling packet is established and used for communication, the bandwidth available for 1588 packets is 99 Mbps. If a MAC packet is used (sync packet length is 64 bytes, announce packet length is 82 bytes, response packet length is 72 bytes, packet interval is 12 bytes), and 1588 information is carried. Under the minimum packet allocation interval defined by the 1588V2 protocol (128 packets per second), a single channel can load users.
- the channel can be extended by multiple channels (such as the common 8 channels, 4 channels, 12 channels, 16 channels, etc.), plus the expansion capability of the chassis. (The standard 1U chassis expands 4 boards, and the 2U chassis expands 8 blocks. The board, the 3U chassis expands 12 boards, and the device of the invention can load tens of thousands or even more than 100,000 in the 100M Ethernet interface system;
- the single-channel link bandwidth is 10Mbps.
- the data bandwidth is used to send 1588 sync packets and announce packets. If the bandwidth of each link is 1% as the signaling packet is established and used for communication, the bandwidth available for 1588 packets is 9.9 Mbps. If a MAC packet is used (sync packet length is 64 bytes, announce packet length is 82 bytes, response packet length is 72 bytes, packet interval is 12 bytes), and 1588 information is carried. Under the minimum packet allocation interval defined by the 1588V2 protocol (128 packets per second), a single channel can load users.
- the channel can be extended by multiple channels (such as the common 8 channels, 4 channels, 12 channels, 16 channels, etc.), plus the expansion capability of the chassis.
- the standard 1U chassis expands 4 boards, and the 2U chassis expands 8 blocks.
- the board, the 3U chassis expands 12 boards, and the device of the invention can load thousands or even tens of thousands of users in a 10M Ethernet interface system;
- the single-channel link bandwidth is 10Gbps.
- the data bandwidth is used to send 1588 sync packets and announce packets. If the bandwidth of each link is 1% as the signaling packet is established and used for communication, the bandwidth available for 1588 packets is 9.9 Gbps. If a MAC packet is used (sync packet length is 64 bytes, announce packet length is 82 bytes, response packet length is 72 bytes, packet interval is 12 bytes), and 1588 information is carried. Under the minimum packet allocation interval defined by the 1588V2 protocol (128 packets per second), a single channel can load users.
- the channel can be extended by multiple channels (such as the common 8 channels, 4 channels, 12 channels, 16 channels, etc.), plus the expansion capability of the chassis. (The standard 1U chassis expands 4 boards, and the 2U chassis expands 8 blocks. The board, the 3U chassis expands 12 boards, and the device of the invention can load millions or even tens of millions of users in a 10G Ethernet interface system.
- a clock synchronization device is also provided, which is applied to the physical layer device, and is used to implement the foregoing embodiments and preferred embodiments.
- the descriptions of the devices are not described herein again. Be explained.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- 9 is a block diagram showing the structure of a clock synchronizing apparatus according to an embodiment of the present invention. As shown in Figure 9, the device includes:
- the obtaining module 92 is configured to acquire a synchronization packet for clock synchronization of the device to be synchronized
- the sending module 94 is connected to the obtaining module 92 and configured to send the synchronization message to the device to be synchronized.
- the obtaining module 92 includes: a generating unit 922 configured to generate an initial message; an obtaining unit 924 connected to the generating unit 922, configured to acquire a reference time for synchronization, and determining according to the reference time The timestamp of the initial packet is added, and the adding unit 926 is connected to the obtaining unit 924, and is configured to add the timestamp to determine the synchronization message in the initial message.
- the adding unit 926 includes: a determining subunit 9262, configured to determine, when the initial message and the signaling message arrive at the same time, the CPU from the central processing unit a priority of the signaling message and the initial message; the determining subunit 9264 is connected to the determining subunit 9262, and is configured to: after determining that the priority of the second synchronization message is higher than the priority of the signaling message, Adding the above timestamp to the initial message to determine the synchronization message.
- the obtaining unit 924 configured to acquire the reference time for synchronization comprises: determining the reference time according to at least one of the following: a local clock source, a global satellite navigation system GNSS, and a building integrated timing system BITS.
- the obtaining unit 924 is further configured to receive a reference time obtained by the extension board from the master clock of the physical layer device.
- the technical solution of the synchronization message of the clock synchronization of the device to be synchronized is obtained by using the physical layer device and the CPU, and the user capacity of the load caused by the clock synchronization method in the prior art is rarely solved. And the problem of high synchronization cost, avoiding the shortage of load user capacity caused by CPU architecture limitation, and maximizing the bandwidth resources of Ethernet.
- a clock synchronization method and device proposed by the embodiments of the present invention belong to a new architecture, which is respectively switched from one channel, between channels, and extended in a chassis, and improves the system load user capacity in all aspects, and the programmable logic is accurate.
- the timing mode avoids the application layer packet interval is not accurate enough, and the packet blocking and delay problem from the application layer to the PHY layer further optimizes the 1588 synchronization performance.
- the embodiments of the present invention are applicable to all systems that are timed by the IEEE 1588 master clock.
- the embodiments of the present invention achieve the following beneficial effects: 1. Enhance the load user capacity of the IEEE1588 master clock from the aspects of the 1588 packet processing architecture, the multi-channel aggregation, and the board expansion of the chassis; 2. Optimization 1588 synchronization performance of BSC/RNC.
- a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
- the technical solution adopted by the embodiment of the present invention solves the technical solution of the load caused by the clock synchronization method in the prior art by adopting a technical solution of acquiring a synchronization message for clock synchronization of the device to be synchronized through the physical layer device and not by the CPU.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明提供了一种时钟同步方法及装置,其中,该方法包括:物理层设备获取用于待同步设备进行时钟同步的同步报文;所述物理侧设备向所述待同步设备发送所述同步报文。采用本发明提供的上述技术方案,解决了现有技术中时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,规避CPU架构限制带来的负载用户容量不足情况,最大程度利用以太网的带宽资源。
Description
本发明涉及通信领域,更具体地说,涉及一种时钟同步方法及装置。
IEEE1588的全称是“网络测量和控制系统的精密时钟同步协议标准(IEEE 1588Precision Clock Synchronization Protocol),简称PTP(即Precision Timing Protocol)。通过同步信号周期性对网络中所有节点的时钟进行同步,使基于以太网的系统达到精确同步,实现各个系统之间的同步。同步精度可以达到微秒级甚至更低。
IEEE1588时钟同步通常是利用全球导航卫星系统(Global Navigation Satellite System,简称GNSS)或大楼综合定时系统(Building Integrated Timing System,简称BITS)时钟作为时钟源,通过基站控制器(Base Station Controller,简称为BSC)/无线网络控制器(Radio Network Controller,简称为RNC)为基站提供频率和相位同步。这解决了传统的无线业务GNSS频率同步和相位同步授时方式存在成本高、天线架设不便等问题。
IEEE1588同步技术的精确度与1588报文携带时间戳信息紧密相关,时间戳信息越接近真实发送时间,其同步精度越高。IEEE1588协议(IEEE STD 1588-2008)给出了时间戳的应用示例,如图表1所示。报文组帧在以太网架构的应用层完成,可以在应用层、媒体接入控制(Media Access Control,简称为MAC)层(可以理解为数据链路层)、物理PHY层任意一点完成打1588报文的时间戳添加,推荐在PHY层通过硬件辅助功能协助完成应用层发出报文的时间戳更新,其中,图1中的OS可以理解为操作系统Operating System的缩写。
图1为根据现有技术中1588报文时间戳处理示意图,根据图1的应用架构,BSC/RNC等系统的CPU完成1588报文的接收和发送处理,通过可编程逻辑或者PHY等硬件辅助完成1588报文时间戳更新(如图2所示),从而达到整个以太网系统的时间同步。
BSC/RNC的CPU在接收和发送报文时,需要软件中断来驱动完成。受限于CPU处理系统的这种架构,作为1588 master时钟的BSC/RNC负载用户容量有限。目前现
有的IEEE1588同步技术,BSC/RNC能够负载的用户容量只有几十个,即便是专业的高性能的IEEE 1588同步服务器,用户负载也很难达到1000个以上。
BSC/RNC系统的1588 master时钟负载用户容量受限问题在femto/微基站的大规模组网应用上显得尤为突出,无法大容量集中授时导致现有的femto/微基站组网方案无法最大程度地降低授时成本。
针对相关技术中,时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,尚未提出有效的解决方案。
发明内容
针对相关技术中,时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,尚未提出有效的解决方案的问题,本发明提供了一种时钟同步方法及装置,以至少解决上述问题。
为了达到上述目的,根据本发明的一个实施例,提供了一种时钟同步方法,物理层设备获取用于待同步设备进行时钟同步的同步报文;所述物理侧设备向所述待同步设备发送所述同步报文。
优选地,物理层设备获取用于待同步设备进行时钟同步的同步报文包括:物理层设备生成初始报文;所述物理层设备获取用于同步的基准时间,并根据所述基准时间确定所述初始报文的时间戳;在所述初始报文中添加所述时间戳,得到所述同步报文。
优选地,物理层设备获取用于待同步设备进行时钟同步的同步报文之后还包括:所述物理层设备根据所述同步报文生成响应报文,其中,所述响应报文用于通知所述待同步设备所述物理层设备已经受理其要进行时钟同步的请求。
优选地,在所述初始报文中添加所述时间戳,得到所述同步报文,包括:所述物理层设备在所述初始报文和所述信令报文同时到达时,判断来自中央处理器CPU的信令报文和所述初始报文的优先级;在判定所述初始报文的优先级高于所述信令报文的优先级后,在所述初始报文中添加所述时间戳确定同步报文。
优选地,所述物理层设备获取用于同步的基准时间包括:根据以下至少之一确定所述基准时间:本地时钟源、全球卫星导航系统GNSS、大楼综合定时系统BITS。
优选地,所述物理层设备获取用于同步的基准时间包括:所述物理层设备接收扩展板从所述物理层设备的主时钟获取的基准时间。
为了达到上述目的,根据本发明的再一个实施例,还提供了一种时钟同步装置,应用于物理层设备,包括:获取模块,设置为获取用于待同步设备进行时钟同步的同步报文;发送模块,设置为向所述待同步设备发送所述同步报文。
优选地,所述获取模块包括:生成单元,设置为生成初始报文;获取单元,设置为获取用于同步的基准时间,并根据所述基准时间确定所述初始报文的时间戳;添加单元,设置为在所述初始报文中添加所述时间戳确定同步报文。
优选地,所述添加单元,包括:判断子单元,设置为在所述初始报文和所述信令报文同时到达时,判断来自中央处理器CPU的信令报文和所述初始报文的优先级;确定子单元,设置为在判定所述初始报文的优先级高于所述信令报文的优先级后,在所述初始报文中添加所述时间戳确定同步报文。
优选地,所述获取单元,设置为获取用于同步的基准时间包括:根据以下至少之一确定所述基准时间:本地时钟源、全球卫星导航系统GNSS、大楼综合定时系统BITS。
优选地,所述获取单元还设置为接收扩展板从所述物理层设备的主时钟获取的基准时间。
通过本发明,采用通过物理层设备而不通过CPU获取到待同步设备进行时钟同步的同步报文的技术方案,解决了现有技术中时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,规避CPU架构限制带来的负载用户容量不足情况,最大程度利用以太网的带宽资源。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为根据现有技术中1588报文产生和时间戳处理示意图;
图2为根据现有设备中1588报文产生和时间戳处理过程示意图;
图3为根据本发明实施例的时钟同步方法的流程图;
图4为根据本发明实施例的报文产生和时间戳处理过程示意图一;
图5为根据本发明实施例的报文产生和时间戳处理过程示意图二;
图6为根据本发明实施例的多通道设计示意图;
图7为根据本发明实施例的单板扩展应用设计示意图;
图8为根据本发明实施例的物理层设备接收和发送报文的处理示意图;
图9为根据本发明实施例的时钟同步装置的结构框图;
图10为根据本发明实施例的时钟同步装置的再一结构框图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
本发明实施例提供了一种时钟同步方法,如图3所示,图3为根据本发明实施例的时钟同步方法的流程图,包括(步骤S302-步骤S304):
步骤S302:物理层设备获取用于待同步设备进行时钟同步的同步报文;
步骤S304:物理侧设备向上述待同步设备发送上述同步报文。
通过上述各个步骤,采用通过物理层设备而不通过CPU获取到待同步设备进行时钟同步的同步报文的技术方案,解决了现有技术中时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,规避CPU架构限制带来的负载用户容量不足情况,最大程度利用以太网的带宽资源。
在步骤S302中,即物理层设备获取用于待同步设备进行时钟同步的同步报文包括:物理层设备生成初始报文;上述物理层设备获取用于同步的基准时间,并根据上述基准时间确定上述初始报文的时间戳;在上述初始报文中添加上述时间戳,得到上述同步报文。
可选地,物理层设备获取用于待同步设备进行时钟同步的同步报文之后还包括:物理层设备根据所述同步报文生成响应报文,其中,上述响应报文用于通知待同步设备物理层设备已经受理其要进行时钟同步的请求。
在具体实施过程中,上述初始报文中添加上述时间戳,得到上述同步报文,包括:上述物理层设备在所述初始报文和所述信令报文同时到达时,判断来自中央处理器CPU的信令报文和上述初始报文的优先级;在判定上述第二同步报文的优先级高于上述信令报文的优先级后,在上述初始报文中添加上述时间戳确定同步报文。
可选地,上述物理层设备获取用于同步的基准时间包括:根据以下至少之一确定上述基准时间:本地时钟源、GNSS、BITS。
在本发明实施例的一个可选实施例中,上述物理层设备获取用于同步的基准时间包括:上述物理层设备接收扩展板从上述物理层设备的主时钟获取的基准时间。
为了更好的理解上述时钟同步的工作流程图,以下结合图4-图7进行说明:
第一步:如图4所示,优化IEEE1588协议示例的报文处理和时间戳应用结构,在物理层PHY层(A点)通过可编程逻辑的硬件辅助功能完成1588报文的接收、发送处理以及时间戳的更新。如图5所示,而在应用层(application layer,即图4中的C点)不对1588报文做任何处理,仅完成系统的建链和通信功能,BSC/RNC的IEEE1588master时钟系统能负载的用户容量由以太网带宽而不是CPU处理能力来决定;
第二步:基于CPU仅处理少量信令报文的优势,利用CPU资源支持多通道的IEEE1588功能,多条通道的信令报文通过交换汇聚给CPU进行建链和通信,BSC/RNC系统的IEEE1588 master时钟系统的负载用户容量增加多倍,如图6所示;
第三步:通过机框内走线将标准时间从主备时钟板传递给扩展板,提供单板扩展及通道扩展功能,供接入大容量的用户,如图7所示,其中,图7中的FAN可以理解为一种或多种接口的集合,但不限于此。
下面对本发明实施例中物理层设备的工作流程以及内部架构进行进一步的解析,在本发明的一个优选实施例中可以为可编程逻辑,如图8所示:
1、1588报文组帧模块11设置为产生相应的1588报文,同时根据接收报文处理模块16提取到的1588报文信息,对应回复回应报文。
2、信令报文缓存模块12用来缓存CPU回复的来自接收报文处理模块16接收的信令报文,供发送报文仲裁模块13仲裁发送。
3、发送报文仲裁模块13设置为根据优先级等信息,对1588报文组帧模块11和信令报文缓存模块12的报文进行仲裁,按照优先级完成报文的发送。
4、基准时间模块14设置为通过本地时钟及时钟源(GNSS或BITS等)完成1588基准时间的产生,并将基准时间提供给发送报文处理模块15,作为1588事件报文的时间戳信息,完成发送。
5、发送报文处理模块15设置为完成对当前发送报文的解析,并提取1588报文的信息。根据1588基准时间模块14提供的时间戳信息,完成当前1588报文时间戳的更新等功能。
6、接收报文处理模块16设置为完成对当前接收报文的解析,并提取1588报文信息。将提取的1588报文信息作为待回复的报文的基本信息,供1588报文组帧模块11组帧。
在图8提供的优选实施例中,通过交换模块完成N条以太网通道和CPU连接,构成各通道和CPU的建链和通信;每条通道接收的信令报文通过交换模块汇聚后的由CPU处理,CPU响应的信令报文通过交换模块分发给各个通道。
在本发明优选实施例的另一个优选实施例中,主时钟板利用GNSS或BITS时钟和本地的高精度时钟,产生精准1588时间,通过机框内部走线,将1588精准时间传递给扩展板。并通过各个通道的以太网接口,作为IEEE1588 master时钟给接入系统的用户授时。
在本优选实施例中,备时钟板通过各个通道的以太网接口,作为IEEE1588 master时钟给接入系统的用户授时。并在主时钟板出现功能异常时,给扩展板提供精准1588时间,扩展板在负载用户较多时候,提供授时功能。扩展板只提供单板扩展和通道扩展功能,扩展板需要的1588精准时间由主时钟板或者备时钟板通过机框走线传递获取。扩展板可以灵活应用选择是否配置,配置多少块以及使用什么样机框配置。
综上所述,本发明实施例提供的上述技术方案,1588报文从PHY层直接完成接收和发送处理,避免了应用层报文组帧到PHY层打时间戳可能出现的阻塞及时延等因素。同时,相较CPU依靠中断驱动接收发送报文方式,可编程逻辑高频率精准的定时方式使得发包间隔更精确,进一步优化了IEEE1588同步性能。
实际上,本发明实施例提供的上述时钟同步的技术方案最终实现了负载用户量的大大增多,本发明实施例提供的上述技术方案:通过BSC/RNC系统的硬件辅助功能的可编程逻辑器件取代CPU处理1588报文,解决了CPU架构设计带来的负载用户容量限制的问题,从而完全由系统的以太网带宽来决定负载用户容量。经过多通道扩展设计及机框的单板扩展设计,大大提升BSC/RNC的IEEE1588 master时钟系统的
负载用户容量。下面分别从10M/100M/1000M/10G几种以太网接口描述具体的实施用例:
1.若系统间的接口为1000M以太网接口:单通道链路带宽为1000Mbps。在1588one way模式下,数据带宽用来发送1588 sync报文和announce报文。若将每条链路的带宽1%作为信令报文建链和通信专用,则1588报文可供利用的带宽为990Mbps。若使用MAC报文(sync包长64byte,announce包长82byte,response包长72byte,包间隔12byte)承载1588信息,在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:990000000/((76+94)*128*8)=5687;在1588 two way模式下,除了发送sync、announce报文,还需要回复response报文。在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:990000000/((76+94+84)*128*8)=3806。由于通道可以扩展多路(如常见的8通道、4通道、12通道、16通道等),加上机框的扩展能力(标准的1U机框扩展4块单板,2U机框扩展8块单板,3U机框扩展12块单板),本发明的装置在1000M以太网接口系统中,能够负载的用户容量达到几十万甚至上百万;
2.若系统间的接口为100M以太网接口:单通道链路带宽为100Mbps。在1588 oneway模式下,数据带宽用来发送1588 sync报文和announce报文。若将每条链路的带宽1%作为信令报文建链和通信专用,则1588报文可供利用的带宽为99Mbps。若使用MAC报文(sync包长64byte,announce包长82byte,response包长72byte,包间隔12byte)承载1588信息,在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:99000000/((76+94)*128*8)=568;在1588 two way模式下,除了发送sync、announce报文,还需要回复response报文。在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:99000000/((76+94+84)*128*8)=380。由于通道可以扩展多路(如常见的8通道、4通道、12通道、16通道等),加上机框的扩展能力(标准的1U机框扩展4块单板,2U机框扩展8块单板,3U机框扩展12块单板),本发明的装置在100M以太网接口系统中,能够负载的用户容量达到几万甚至十万以上;
3.若系统间的接口为10M以太网接口:则单通道链路带宽为10Mbps。在1588 one way模式下,数据带宽用来发送1588 sync报文和announce报文即可。若将每条链路的带宽1%作为信令报文建链和通信专用,则1588报文可供利用的带宽为9.9Mbps。若使用MAC报文(sync包长64byte,announce包长82byte,response包长72byte,包间隔12byte)承载1588信息,在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:9900000/((76+94)*128*8)=56;在1588 two way模
式下,除了发送sync、announce报文,还需要回复response报文。在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:9900000/((76+94+84)*128*8)=38。由于通道可以扩展多路(如常见的8通道、4通道、12通道、16通道等),加上机框的扩展能力(标准的1U机框扩展4块单板,2U机框扩展8块单板,3U机框扩展12块单板),本发明的装置在10M以太网接口系统中,能够负载的用户容量达到数千甚至上万;
4.若系统间的接口为10G以太网接口:则单通道链路带宽为10Gbps。在1588 one way模式下,数据带宽用来发送1588 sync报文和announce报文即可。若将每条链路的带宽1%作为信令报文建链和通信专用,则1588报文可供利用的带宽为9.9Gbps。若使用MAC报文(sync包长64byte,announce包长82byte,response包长72byte,包间隔12byte)承载1588信息,在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:9900000000/((76+94)*128*8)=56870;在1588 two way模式下,除了发送sync、announce报文,还需要回复response报文。在1588V2协议定义最小发包间隔条件下(每秒128包),单通道可以负载用户数为:9900000000/((76+94+84)*128*8)=38062。由于通道可以扩展多路(如常见的8通道、4通道、12通道、16通道等),加上机框的扩展能力(标准的1U机框扩展4块单板,2U机框扩展8块单板,3U机框扩展12块单板),本发明的装置在10G以太网接口系统中,能够负载的用户容量达到几百万甚至上千万。
在本实施例中还提供了一种时钟同步装置,应用于物理层设备,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图9为根据本发明实施例的时钟同步装置的结构框图。如图9所示,该装置包括:
获取模块92,设置为获取用于待同步设备进行时钟同步的同步报文;
发送模块94,与获取模块92连接,设置为向上述待同步设备发送上述同步报文。
其中,如图10所示,获取模块92包括:生成单元922,设置为生成初始报文;获取单元924,与生成单元922连接,设置为获取用于同步的基准时间,并根据上述基准时间确定上述初始报文的时间戳;添加单元926,与获取单元924连接,设置为在上述初始报文中添加上述时间戳确定同步报文。
本发明实施例对上述技术方案的进一步改进在于,添加单元926,包括:判断子单元9262,设置为在所述初始报文和所述信令报文同时到达时,判断来自中央处理器CPU的信令报文和上述初始报文的优先级;确定子单元9264,与判断子单元9262连接,设置为在判定上述第二同步报文的优先级高于上述信令报文的优先级后,在上述初始报文中添加上述时间戳确定同步报文。
可选地,获取单元924,设置为获取用于同步的基准时间包括:根据以下至少之一确定上述基准时间:本地时钟源、全球卫星导航系统GNSS、大楼综合定时系统BITS。
可选地,获取单元924,还设置为接收扩展板从上述物理层设备的主时钟获取的基准时间。
通过上述各个模块的综合作用,采用通过物理层设备而不通过CPU获取到待同步设备进行时钟同步的同步报文的技术方案,解决了现有技术中时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,规避CPU架构限制带来的负载用户容量不足情况,最大程度利用以太网的带宽资源。
本发明实施例提出的一种提时钟同步方法和装置,属于全新的架构,分别从一个通道,通道间交换,机框内单板扩展,全方面提高系统负载用户容量,同时可编程逻辑精准的定时方式,避免了应用层发包间隔不够精准,以及从应用层到PHY层的报文阻塞及延时问题,进一步优化了1588同步性能。本发明实施例适用于一切通过IEEE1588 master时钟授时的系统。
综上所述,本发明实施例实现了以下有益效果:1.分别从1588收发包处理架构、多通道汇聚及机框的单板扩展3个方面提升IEEE1588 master时钟的负载用户容量;2.优化BSC/RNC的1588同步性能。
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处
的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
基于本发明实施例采用的技术方案,采用通过物理层设备而不通过CPU获取到待同步设备进行时钟同步的同步报文的技术方案,解决了现有技术中时钟同步方法导致的负载的用户容量很少以及同步成本高的问题,规避CPU架构限制带来的负载用户容量不足情况,最大程度利用以太网的带宽资源。
Claims (11)
- 一种时钟同步方法,包括:物理层设备获取用于待同步设备进行时钟同步的同步报文;所述物理侧设备向所述待同步设备发送所述同步报文。
- 根据权利要求1所述的方法,其中,物理层设备获取用于待同步设备进行时钟同步的同步报文包括:物理层设备生成初始报文;所述物理层设备获取用于同步的基准时间,并根据所述基准时间确定所述初始报文的时间戳;在所述初始报文中添加所述时间戳,得到所述同步报文。
- 根据权利要求2所述的方法,其中,物理层设备获取用于待同步设备进行时钟同步的同步报文之后还包括:所述物理层设备根据所述同步报文生成响应报文,其中,所述响应报文用于通知所述待同步设备所述物理层设备已经受理其要进行时钟同步的请求。
- 根据权利要求2所述的方法,其中,在所述初始报文中添加所述时间戳,得到所述同步报文,包括:所述物理层设备在所述初始报文和所述信令报文同时到达时,判断来自中央处理器CPU的信令报文和所述初始报文的优先级;在判定所述初始报文的优先级高于所述信令报文的优先级后,在所述初始报文中添加所述时间戳确定同步报文。
- 根据权利要求4所述的方法,其中,所述物理层设备获取用于同步的基准时间包括:根据以下至少之一确定所述基准时间:本地时钟源、全球卫星导航系统GNSS、大楼综合定时系统BITS。
- 根据权利要求2所述的方法,其中,所述物理层设备获取用于同步的基准时间包括:所述物理层设备接收扩展板从所述物理层设备的主时钟获取的基准时间。
- 一种时钟同步装置,应用于物理层设备,包括:获取模块,设置为获取用于待同步设备进行时钟同步的同步报文;发送模块,设置为向所述待同步设备发送所述同步报文。
- 根据权利要求7所述的装置,其中,所述获取模块包括:生成单元,设置为生成初始报文;获取单元,设置为获取用于同步的基准时间,并根据所述基准时间确定所述初始报文的时间戳;添加单元,设置为在所述初始报文中添加所述时间戳确定同步报文。
- 根据权利要求8所述的装置,其中,所述添加单元,包括:判断子单元,设置为在所述初始报文和所述信令报文同时到达时,判断来自中央处理器CPU的信令报文和所述初始报文的优先级;确定子单元,设置为在判定所述初始报文的优先级高于所述信令报文的优先级后,在所述初始报文中添加所述时间戳确定同步报文。
- 根据权利要求9所述的装置,其中,所述获取单元,设置为获取用于同步的基准时间包括:根据以下至少之一确定所述基准时间:本地时钟源、全球卫星导航系统GNSS、大楼综合定时系统BITS。
- 根据权利要求8所述的装置,其中,所述获取单元还设置为接收扩展板从所述物理层设备的主时钟获取的基准时间。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/321,736 US9900120B2 (en) | 2014-06-26 | 2014-11-03 | Clock synchronization method and apparatus |
EP14896071.9A EP3163786B1 (en) | 2014-06-26 | 2014-11-03 | Clock synchronization method and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410303131.7 | 2014-06-26 | ||
CN201410303131.7A CN105323054B (zh) | 2014-06-26 | 2014-06-26 | 时钟同步方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015196685A1 true WO2015196685A1 (zh) | 2015-12-30 |
Family
ID=54936626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/090187 WO2015196685A1 (zh) | 2014-06-26 | 2014-11-03 | 时钟同步方法及装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US9900120B2 (zh) |
EP (1) | EP3163786B1 (zh) |
CN (1) | CN105323054B (zh) |
WO (1) | WO2015196685A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240975A (zh) * | 2017-07-10 | 2019-01-18 | 比亚迪股份有限公司 | 二取二系统同步方法及装置 |
CN112947678A (zh) * | 2021-02-09 | 2021-06-11 | 南方电网科学研究院有限责任公司 | 一种SoC双核系统时钟同步方法及装置 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105281885B (zh) * | 2014-07-25 | 2021-04-16 | 中兴通讯股份有限公司 | 用于网络设备的时间同步方法、装置及时间同步服务器 |
CN107800528B (zh) * | 2016-08-31 | 2021-04-06 | 中兴通讯股份有限公司 | 一种传输同步信息的方法、装置和系统 |
CN112073167B (zh) * | 2017-01-06 | 2023-09-08 | 展讯通信(上海)有限公司 | 同步信号块的传输方法、接收方法、基站及用户设备 |
CN108399096B (zh) * | 2018-02-08 | 2021-06-11 | 合肥国轩高科动力能源有限公司 | 一种电池管理系统多任务调度时序监控方法及系统 |
CN108650050A (zh) * | 2018-05-09 | 2018-10-12 | 西安电子科技大学 | 一种分布式网络时钟同步方法 |
CN108966339B (zh) * | 2018-07-20 | 2020-11-10 | 京信通信系统(中国)有限公司 | 基站时钟同步方法、装置、设备及计算机可读存储介质 |
US10812251B2 (en) | 2018-12-18 | 2020-10-20 | Simmonds Precision Products, Inc. | Distributed time synchronization protocol for an asynchronous communication system |
US10671558B1 (en) | 2018-12-18 | 2020-06-02 | Simmonds Precision Products, Inc. | Distributed time synchronization protocol for an asynchronous communication system |
CN112583775B (zh) * | 2019-09-30 | 2024-04-12 | 华为技术有限公司 | 一种处理报文的方法、装置和网络设备 |
CN111556559B (zh) * | 2020-05-09 | 2021-11-26 | 重庆邮电大学 | 基于免时间戳交互与单向消息传播的混合时钟同步方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447861A (zh) * | 2008-12-29 | 2009-06-03 | 中兴通讯股份有限公司 | Ieee 1588时间同步系统及其实现方法 |
CN101459502A (zh) * | 2007-12-13 | 2009-06-17 | 华为技术有限公司 | 一种网络时钟同步的方法与装置 |
CN103532970A (zh) * | 2013-10-23 | 2014-01-22 | 杭州华三通信技术有限公司 | 一种时间同步报文的传输方法和设备 |
CN103684739A (zh) * | 2014-01-09 | 2014-03-26 | 北京经纬恒润科技有限公司 | 一种实现时钟同步的装置、设备及方法 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1934809B (zh) * | 2004-02-09 | 2012-11-14 | Sem技术公司 | 由不可靠数据分组网络分离时校准时间基准的方法和装置 |
US7561598B2 (en) * | 2004-09-13 | 2009-07-14 | Agilent Technologies, Inc. | Add-on module for synchronizing operations of a plurality of devices |
EP1854245A1 (en) | 2005-03-02 | 2007-11-14 | Omicron Ceti AB | An accurate time distribution over asynchronous networks. |
US8458364B2 (en) * | 2006-08-02 | 2013-06-04 | Freescale Semiconductor, Inc. | Method for receiving and processing frames and a device having frame receiving and processing capabilities |
CN101605163A (zh) * | 2008-06-12 | 2009-12-16 | 鸿富锦精密工业(深圳)有限公司 | 移动通信终端及其时钟校正方法 |
CN101615963B (zh) * | 2008-06-23 | 2012-12-12 | 华为技术有限公司 | 修正域信息的处理方法及系统 |
KR100987389B1 (ko) * | 2008-08-14 | 2010-10-12 | 한국전자통신연구원 | 고정 지연 시간을 갖는 타임 동기화 방법 및 그 방법이 적용된 브릿지 |
US8549341B2 (en) | 2008-08-29 | 2013-10-01 | Netlogic Microsystems, Inc. | System and method for reducing latency associated with timestamps in a multi-core, multi-threaded processor |
KR101524285B1 (ko) * | 2009-02-02 | 2015-06-01 | 삼성전자주식회사 | 통신시스템에서 시간 동기화 장치 및 방법 |
CN201417416Y (zh) * | 2009-03-03 | 2010-03-03 | 上海远景数字信息技术有限公司 | 便于扩展的嵌入式主板 |
CN101789627B (zh) * | 2010-01-06 | 2012-10-03 | 江苏方天电力技术有限公司 | 高精度以太网对时装置 |
US20130227008A1 (en) * | 2012-02-27 | 2013-08-29 | Cisco Technology, Inc. | Clock synchronization based on predefined grandmaster |
JP5978861B2 (ja) * | 2012-08-31 | 2016-08-24 | 富士通株式会社 | 通信装置及び通信方法 |
TWI485996B (zh) * | 2012-12-17 | 2015-05-21 | Ind Tech Res Inst | 致能一被動光網路具備支援時間同步能力的裝置與方法 |
-
2014
- 2014-06-26 CN CN201410303131.7A patent/CN105323054B/zh active Active
- 2014-11-03 WO PCT/CN2014/090187 patent/WO2015196685A1/zh active Application Filing
- 2014-11-03 EP EP14896071.9A patent/EP3163786B1/en active Active
- 2014-11-03 US US15/321,736 patent/US9900120B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459502A (zh) * | 2007-12-13 | 2009-06-17 | 华为技术有限公司 | 一种网络时钟同步的方法与装置 |
CN101447861A (zh) * | 2008-12-29 | 2009-06-03 | 中兴通讯股份有限公司 | Ieee 1588时间同步系统及其实现方法 |
CN103532970A (zh) * | 2013-10-23 | 2014-01-22 | 杭州华三通信技术有限公司 | 一种时间同步报文的传输方法和设备 |
CN103684739A (zh) * | 2014-01-09 | 2014-03-26 | 北京经纬恒润科技有限公司 | 一种实现时钟同步的装置、设备及方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3163786A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240975A (zh) * | 2017-07-10 | 2019-01-18 | 比亚迪股份有限公司 | 二取二系统同步方法及装置 |
CN112947678A (zh) * | 2021-02-09 | 2021-06-11 | 南方电网科学研究院有限责任公司 | 一种SoC双核系统时钟同步方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
US20170195076A1 (en) | 2017-07-06 |
EP3163786A1 (en) | 2017-05-03 |
CN105323054B (zh) | 2019-05-17 |
EP3163786B1 (en) | 2019-12-04 |
CN105323054A (zh) | 2016-02-10 |
US9900120B2 (en) | 2018-02-20 |
EP3163786A4 (en) | 2017-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015196685A1 (zh) | 时钟同步方法及装置 | |
US9742514B2 (en) | Method, apparatus, and system for generating timestamp | |
CN105262555B (zh) | 一种时间同步方法、可编程逻辑器件、单板及网元 | |
CN102013931B (zh) | 时间同步方法及系统、从属定时设备及主定时设备 | |
CN102457371B (zh) | 时间同步方法和相关设备及系统 | |
CN105281885B (zh) | 用于网络设备的时间同步方法、装置及时间同步服务器 | |
JP6527289B2 (ja) | 時刻同期方法、センサ収容端末、およびセンサネットワークシステム | |
CN112838903B (zh) | 一种时钟同步方法、设备及存储介质 | |
EP2728764A1 (en) | Synchronous access method, and communication device and system in frequency hopping radio communication | |
JP5127482B2 (ja) | タイミング同期方法、同期装置、同期システム及び同期プログラム | |
WO2011160595A1 (zh) | 基于ptp及链路质量选取主时钟节点的方法、从时钟节点及系统 | |
CN114584246A (zh) | 基于fpga的无线自组网时间同步方法、系统及介质 | |
CN115865246A (zh) | 时间同步装置、系统及方法 | |
WO2010102565A1 (zh) | 时间同步的方法、装置和系统 | |
Cena et al. | The reference-broadcast infrastructure synchronization protocol | |
CN111884751A (zh) | 一种基于ptp的智能电网时间同步方法和装置 | |
US10334539B2 (en) | Metered interface | |
US20220369281A1 (en) | LTE Modem eDRx Paging Opportunity Management | |
US10122486B2 (en) | Method for clock synchronization between two devices connected by an ethernet wire connection |
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: 14896071 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2014896071 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014896071 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15321736 Country of ref document: US |