CN101388741B - Highly precised time synchronization device, system and method for computer network - Google Patents
Highly precised time synchronization device, system and method for computer network Download PDFInfo
- Publication number
- CN101388741B CN101388741B CN200810224891.3A CN200810224891A CN101388741B CN 101388741 B CN101388741 B CN 101388741B CN 200810224891 A CN200810224891 A CN 200810224891A CN 101388741 B CN101388741 B CN 101388741B
- Authority
- CN
- China
- Prior art keywords
- time
- timestamp
- clock
- time stamp
- control word
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明提供一种可用于计算机网络性能测试、监控系统以及网络仿真的高精度时间同步设备、方法和系统。包括:利用硬件电路实现时间戳发生电路,将时间戳记录位置移到物理链路层,消除常见软件时间戳中缓存延迟以及中断响应时间延迟带来的影响;并且通过基于预测的时间同步算法(Prediction-based Clock Synchronization,PCS)实现各测量节点的精确时钟同步;本发明提高了时间戳精度,可以确保各测量节点同步时间戳误差不超过100ns,达到了与采用GPS同步相当的精度,但实现简单、造价低廉。
The invention provides a high-precision time synchronization device, method and system that can be used for computer network performance test, monitoring system and network simulation. Including: using the hardware circuit to realize the time stamp generation circuit, moving the time stamp recording location to the physical link layer, eliminating the impact of cache delay and interrupt response time delay in common software time stamps; and through the prediction-based time synchronization algorithm ( Prediction-based Clock Synchronization (PCS) realizes precise clock synchronization of each measuring node; the present invention improves the accuracy of the time stamp, and can ensure that the synchronization time stamp error of each measuring node does not exceed 100 ns, achieving a precision equivalent to that of GPS synchronization, but realizing Simple and inexpensive.
Description
技术领域 technical field
本发明涉及计算机网络应用技术领域,更具体地,本发明涉及一种用于计算机网络的高精度时间同步设备、系统和方法。 The present invention relates to the technical field of computer network applications, and more specifically, the present invention relates to a high-precision time synchronization device, system and method for computer networks. the
背景技术 Background technique
分布式网络系统、计算机网络性能测量与测试系统以及网络仿真等应用都要求较高精度的时间同步。例如,在计算机网络性能测量中数据包的发送、接收时,精确的时间戳标记是时延、带宽、抖动等网络参数测量的基础。在一个多节点计算机网络测量系统中,各节点时钟除了自身要有较高精度外,还需要保持的很高的同步精度,否则通过比较节点间时间戳差值计算的延时、抖动等网络性能参数将不准确。 Applications such as distributed network systems, computer network performance measurement and test systems, and network simulations all require high-precision time synchronization. For example, when sending and receiving data packets in computer network performance measurement, accurate time stamp marks are the basis for network parameter measurement such as delay, bandwidth, and jitter. In a multi-node computer network measurement system, the clocks of each node need to maintain high synchronization accuracy in addition to their own high precision. Otherwise, network performance such as delay and jitter calculated by comparing the timestamp difference between nodes parameters will be inaccurate. the
常用的时间同步方法一般是软件时钟同步方法,通常基于网络时间协议(Network Time Protocol,NTP)。节点利用NTP协议与网络上时间服务器同步,通过估算数据包在网络上往返延迟,计算节点时钟与时间服务器时钟偏差,从而完成节点时钟与时间服务器时钟的同步。NTP在局域网环境下可以获得1ms同步精度,在广域网环境下可以获得28.7ms同步精度。提高基于NTP协议时钟同步精度的一个办法是应用时间戳计数器(Time Stamp Counter,TSC),主流CPU都提供了TSC寄存器,它记录主机上电以来的时钟周期数,该精度与CPU频率有关,1GHz的CPU的TSC精度为1ns。结合TSC计数器的NTP同步可以将精度提高到微秒级。但这种软件方法受缓存延迟不确定以及中断响应时间不确定的影响,难以达到更高的精度。 The commonly used time synchronization method is generally a software clock synchronization method, usually based on the Network Time Protocol (NTP). The node uses the NTP protocol to synchronize with the time server on the network, and calculates the deviation between the node clock and the time server clock by estimating the round-trip delay of the data packet on the network, thereby completing the synchronization of the node clock and the time server clock. NTP can obtain 1ms synchronization accuracy in LAN environment and 28.7ms synchronization accuracy in WAN environment. One way to improve clock synchronization accuracy based on NTP protocol is to apply Time Stamp Counter (Time Stamp Counter, TSC). Mainstream CPUs provide TSC registers, which record the number of clock cycles since the host is powered on. The accuracy is related to the CPU frequency, 1GHz The TSC accuracy of the CPU is 1ns. NTP synchronization combined with TSC counters can improve accuracy down to the microsecond level. However, this software method is difficult to achieve higher precision due to the uncertain cache delay and interrupt response time. the
基于以太网的硬件时钟同步技术SynUTC利用硬件电路来产生时间戳, 同步误差可以达到100ns。但是SynUTC需要修改以太网底层结构,现有交换机硬件必须做出一定修改才能支持SynUTC,难以大范围推广应用。 SynUTC, an Ethernet-based hardware clock synchronization technology, uses hardware circuits to generate time stamps, and the synchronization error can reach 100ns. However, SynUTC needs to modify the underlying structure of Ethernet, and the existing switch hardware must be modified to support SynUTC, which is difficult to promote and apply on a large scale. the
还存在基于IEEE 1588精密时间协议(Precision Time Protocol,PTP)的时间同步方法,PTP协议是网络测量和控制系统的时间同步标准,根据应用的精度要求,采用软件同步和硬件同步两种实现方式。硬件实现的PTP同步精度可达233ns,但是由于同步数据包在交换机或路由器中处理时延不确定,导致同步结果不稳定。 There is also a time synchronization method based on the IEEE 1588 Precision Time Protocol (Precision Time Protocol, PTP). The PTP protocol is a time synchronization standard for network measurement and control systems. According to the accuracy requirements of the application, software synchronization and hardware synchronization are used. The PTP synchronization accuracy realized by hardware can reach 233ns, but the synchronization result is unstable due to the uncertain processing delay of the synchronization data packet in the switch or router. the
利用全球定位系统(Global Position System,GPS)的外部时钟源,可以达到纳秒级的同步精度。但是,GPS系统价格昂贵,且GPS天线安装不方便,导致测量节点部署位置受限。 Using the external clock source of the Global Position System (GPS), nanosecond-level synchronization accuracy can be achieved. However, the GPS system is expensive, and the installation of the GPS antenna is inconvenient, which limits the deployment location of the measurement nodes. the
发明内容 Contents of the invention
为克服现有计算机网络应用中时间同步的普适性差、精度低的缺陷,本发明提出一种用于计算机网络的高精度时间同步设备、系统和方法。 In order to overcome the defects of poor universality and low precision of time synchronization in existing computer network applications, the present invention proposes a high-precision time synchronization device, system and method for computer networks. the
根据本发明的一个方面,提出了一种用于网络系统的时间同步设备,包括,GTP收发器、媒体访问控制器、收发数据包缓冲队列和PCIe端点控制器,其特征在于,所述时间同步设备还包括一个或者多个时间戳插入模块和一个或者多个基于预测的时间同步算法PCS时间戳发生器; According to one aspect of the present invention, a kind of time synchronization equipment for network system is proposed, including, GTP transceiver, media access controller, sending and receiving data packet buffer queue and PCIe endpoint controller, it is characterized in that the time synchronization The device also includes one or more time stamp insertion modules and one or more time synchronization algorithm PCS time stamp generators based on prediction;
其中,所述PCS时间戳发生器,用于接收和发送同步时钟信号,产生时间戳;所述时间戳插入模块分别和PCS时间戳发生器、媒体访问控制器以及收发数据包缓冲队列相连接,将所述时间戳插入到数据包的物理链路层;所述时间戳插入模块是在从所述媒体访问控制器接收的数据包输出到接收数据包缓冲队列之前插入时间戳;发送数据包缓冲队列中的数据包在发送到所述媒体访问控制器之前插入时间戳。 Wherein, the PCS timestamp generator is used to receive and send a synchronous clock signal to generate a timestamp; the timestamp insertion module is connected to the PCS timestamp generator, the media access controller and the sending and receiving packet buffer queue respectively, The time stamp is inserted into the physical link layer of the data packet; the time stamp insertion module is to insert the time stamp before the data packet received from the media access controller is output to the receiving data packet buffer queue; the sending data packet is buffered Packets in the queue are time stamped before being sent to the media access controller. the
其中,所述PCS时间戳发生器根据预设的频率控制字和晶振时钟信号,输出时间戳。 Wherein, the PCS time stamp generator outputs a time stamp according to a preset frequency control word and crystal oscillator clock signal. the
其中,所述PCS时间戳发生器接收同步时钟输入信号和晶振时钟信号,根据预设的频率控制字,产生时间戳提供给所述时间戳插入模块。 Wherein, the PCS time stamp generator receives a synchronous clock input signal and a crystal oscillator clock signal, generates a time stamp according to a preset frequency control word, and provides it to the time stamp inserting module. the
其中,所述PCS时间戳发生器包括: Wherein, the PCS timestamp generator includes:
直接频率合成器,用于根据参考时钟信号和频率控制字产生时钟频率; A direct frequency synthesizer for generating a clock frequency based on a reference clock signal and a frequency control word;
时间戳高位寄存器、时间戳低位寄存器以及时间戳低位计数器,用于接收所述直接频率合成器所产生的时钟频率,输出时间戳到时间戳插入模块或者提供用于主时钟时间戳。 The time stamp high register, the time stamp low register and the time stamp low counter are used to receive the clock frequency generated by the direct frequency synthesizer, output the time stamp to the time stamp insertion module or provide the time stamp for the main clock. the
根据本发明的另一方面,提出了一种用于网络系统的时间同步系统,包括多个所述的时间同步设备,其中,所述多个时间同步设备的其中一个作为主设备,其余的时间同步设备的作为从设备,所述主设备产生同步时钟输出信号,其余的从设备接收所述同步时钟输出信号,实现系统的时间同步。 According to another aspect of the present invention, a time synchronization system for a network system is proposed, including a plurality of time synchronization devices, wherein one of the plurality of time synchronization devices acts as a master device, and the rest of the time synchronization devices The synchronous device acts as a slave device, the master device generates a synchronous clock output signal, and other slave devices receive the synchronous clock output signal to realize time synchronization of the system. the
其中,所述主设备的PCS时间戳发生器根据预设的频率控制字和晶振时钟信号,输出时间戳给所述主设备的时间戳插入模块和所述从设备。 Wherein, the PCS time stamp generator of the master device outputs a time stamp to the time stamp insertion module of the master device and the slave device according to a preset frequency control word and a crystal oscillator clock signal. the
其中,所述从设备PCS时间戳发生器接收所述同步时钟输出信号和晶振时钟信号,根据预设的频率控制字,产生时间戳提供给从设备的时间戳插入模块。 Wherein, the PCS time stamp generator of the slave device receives the synchronous clock output signal and the crystal oscillator clock signal, generates a time stamp according to a preset frequency control word and provides it to the time stamp insertion module of the slave device. the
根据本发明的又一方面,提出了一种使用上述时间同步系统的时间同步方法,包括: According to yet another aspect of the present invention, a kind of time synchronization method using the above-mentioned time synchronization system is proposed, comprising:
步骤10)、从设备接收主设备的同步时钟输出信号,读取该从设备的当前时间; Step 10), the slave device receives the synchronous clock output signal of the master device, and reads the current time of the slave device;
步骤20)、获取第三次读取和第二次读取以及第二次读取和第一次读取之间的时间差Δt2和Δt1; Step 20), obtaining the third reading and the second reading and the time difference Δt 2 and Δt 1 between the second reading and the first reading;
步骤30)、获取参考时钟的频率信号, 其中,N为频率控制字位数, 为初始频率控制字,更新所述频率控制字, 其中m为时间戳精度; Step 30), obtaining the frequency signal of the reference clock, Among them, N is the number of frequency control words, is the initial frequency control word, updating the frequency control word, Where m is the timestamp precision;
步骤40)、通过频率控制字 调整从设备的时钟频率,并计算更新的频率控制字 使用所述频率控制字 调整从设备时钟频率,实现系统的同步。 Step 40), through the frequency control word Adjust the clock frequency of the slave device and calculate the updated frequency control word Using the frequency control word Adjust the clock frequency of the slave device to achieve system synchronization.
其中,所述方法还包括: Wherein, the method also includes:
步骤50)、计算从设备读取主设备的连续两次时间差Δti=Ti-Ti-1;获取两次读取中的误差e0(i)和e1(i), e1(i)=2m-Δti,计算频率控制字 通过 调整从设备的时钟频率。 Step 50), calculate the time difference Δt i =T i -T i-1 between two consecutive readings of the master device from the device; obtain the errors e 0 (i) and e 1 (i) in the two readings, e 1 (i)=2 m -Δt i , calculate the frequency control word pass Adjust the clock frequency of the slave device.
本发明利用硬件电路实现时间戳,将时间戳记录位置移到物理链路层,消除了常见软件时间戳中缓存延迟以及中断响应时间延迟带来的影响;通过基于预测的时间同步算法(Prediction-based Clock Synchronization,PCS)实现了各测量节点的精确时钟同步;本发明提高了时间戳精度,可以确保各测量节点时间戳误差不超过100ns,达到与采用GPS同步相当的精度。 The present invention utilizes hardware circuits to implement time stamps, and moves the time stamp record position to the physical link layer, eliminating the impact of cache delays and interrupt response time delays in common software time stamps; through the prediction-based time synchronization algorithm (Prediction- based Clock Synchronization (PCS) realizes accurate clock synchronization of each measurement node; the invention improves the accuracy of the time stamp, can ensure that the time stamp error of each measurement node does not exceed 100ns, and achieves an accuracy equivalent to that of GPS synchronization. the
附图说明 Description of drawings
图1为根据本发明的实施例的高精度时间同步方案示意图; Fig. 1 is a schematic diagram of a high-precision time synchronization scheme according to an embodiment of the present invention;
图2为传统接收场景中可以添加时间戳位置的示意图; Figure 2 is a schematic diagram of the position where a time stamp can be added in a traditional receiving scenario;
图3为不采用PCS同步算法时两块卡时间戳偏差示意图; Figure 3 is a schematic diagram of the time stamp deviation of the two cards when the PCS synchronization algorithm is not used;
图4为图3中每块卡相邻采样数据包时间戳间隔示意图; Figure 4 is a schematic diagram of the time stamp interval of adjacent sampling data packets of each card in Figure 3;
图5为根据本发明的实施例的时间同步系统结构示意图; Fig. 5 is a schematic structural diagram of a time synchronization system according to an embodiment of the present invention;
图6为根据本发明的实施例的硬件时间戳产生电路示意图; Fig. 6 is a schematic diagram of a hardware time stamp generation circuit according to an embodiment of the present invention;
图7为根据本发明的实施例的时间戳插入电路示意图; Fig. 7 is a schematic diagram of a time stamp insertion circuit according to an embodiment of the present invention;
图8为本发明的基于预测的时间同步算法PCS时序图; Fig. 8 is the time sequence diagram based on the time synchronization algorithm PCS of prediction of the present invention;
图9为本发明的基于预测的时间同步算法PCS流程图; Fig. 9 is the time synchronization algorithm PCS flowchart based on prediction of the present invention;
图10为根据本发明的实施例的验证环境示意图; Fig. 10 is a schematic diagram of a verification environment according to an embodiment of the present invention;
图11为采用PCS同步算法的两块卡时间戳偏差的两小时结果图; Figure 11 is a two-hour result diagram of the time stamp deviation of the two cards using the PCS synchronization algorithm;
图12为采用PCS同步算法的两块卡时间戳偏差的十二小时结果图; Figure 12 is a 12-hour result diagram of the time stamp deviation of the two cards using the PCS synchronization algorithm;
图13为PCS算法预测误差示意图。 Fig. 13 is a schematic diagram of the prediction error of the PCS algorithm. the
具体实施方式 Detailed ways
下面结合附图和具体实施例对本发明提供的一种用于计算机网络的高精度时间同步设备、系统和方法进行详细描述。 A high-precision time synchronization device, system and method for computer networks provided by the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. the
图1示出根据本发明的实施例的高精度时间同步总体方案,如图1所示,首先利用硬件电路(诸如FPGA、PLA等类似结构)实现时间戳生成电路,生成时间同步设备,将时间戳记录位置移到物理链路层,消除常见软件方法时间戳中缓存延迟以及中断响应时间延迟带来的影响;将各同步设备互相连接,设定一个主同步设备,将所有需要同步的设备连接形成时间同步系统,在该时间同步系统中应用基于预测的时间同步算法(Prediction-based ClockSynchronization,PCS)来实现各节点设备的时钟精确同步。在本实施例中,通过FPGA构建时间戳生成电路,同样地,基于以下对时间戳生成电路的原理性描述,时间戳生成电路也可以使用PLA、ASIC或者其他集成电路实现。在本实施例中,在应用时间戳生成电路构建时间同步系统时,利用RS422连接同步设备,同样地,本发明也可以使用公知的诸如RS484、RS232或者USB、PCI等其它连接技术。在构建的时间同步统中,应用所述PCS时间同步方法,实现所连接设备的高精度同步。 Fig. 1 shows the overall scheme of high-precision time synchronization according to an embodiment of the present invention, as shown in Fig. 1, first utilize hardware circuit (such as FPGA, PLA etc. similar structure) to realize time stamp generation circuit, generate time synchronization equipment, time The location of the stamp record is moved to the physical link layer to eliminate the impact of cache delay and interrupt response time delay in the common software method time stamp; connect each synchronization device to each other, set a master synchronization device, and connect all the devices that need to be synchronized A time synchronization system is formed, in which a prediction-based clock synchronization algorithm (Prediction-based Clock Synchronization, PCS) is applied to realize precise clock synchronization of each node device. In this embodiment, the time stamp generation circuit is constructed by FPGA. Similarly, based on the following schematic description of the time stamp generation circuit, the time stamp generation circuit can also be implemented using PLA, ASIC or other integrated circuits. In this embodiment, RS422 is used to connect the synchronization device when the time synchronization system is constructed by using the time stamp generation circuit. Similarly, the present invention can also use other known connection technologies such as RS484, RS232 or USB, PCI, etc. In the constructed time synchronization system, the PCS time synchronization method is applied to realize high-precision synchronization of connected devices. the
图2为网络数据包接收场景中添加时间戳的位置示意图,在传统网络接口卡数据包接收场景中,用户空间域内的数据包基于具体应用程序到达网络接口卡,网络接口卡将数据包根据网络协议(诸如TCP/IP)转送到主机内存,通过中断来通知驱动程序处理收到的数据包。主机响应中断,将收到的数据包拷贝到上层协议栈处理,处理后的数据包最终到达应用程序。如图2所示,在这个过程中,时间戳可在多个位置加入:媒体访问控制(Media Access Control,MAC)层、驱动层以及应用层。不同位置加入时间戳受缓存延迟及中断响应时间延迟 的影响不一样,时间戳与数据包到达真实时间的偏差也不一样,其中,在媒体访问控制层所受影响最小、驱动层次之、应用层所受影响最大;差别在毫秒级。本发明的实施例中定义这个偏差为时间戳附加误差。 Figure 2 is a schematic diagram of the position where the time stamp is added in the network data packet receiving scenario. In the traditional network interface card data packet receiving scenario, the data packet in the user space domain arrives at the network interface card based on the specific application program, and the network interface card sends the data packet according to the network The protocol (such as TCP/IP) is forwarded to the host memory, and the driver is notified by an interrupt to process the received data packet. The host responds to the interrupt, and copies the received data packet to the upper layer protocol stack for processing, and the processed data packet finally reaches the application program. As shown in Figure 2, during this process, timestamps can be added at multiple locations: Media Access Control (MAC) layer, driver layer, and application layer. Adding timestamps at different locations is affected by cache delay and interrupt response time delay, and the deviation between timestamps and the real time of data packet arrival is also different. Among them, the media access control layer is least affected, the driver layer, and the application layer Most affected; the difference is on the order of milliseconds. In the embodiment of the present invention, this deviation is defined as an additional time stamp error. the
图3为具有相同标称频率的晶振所产生的时间戳偏差示意图,产生时间戳的时钟受晶振抖动及漂移影响其速率不稳定,因而,产生的时间戳也会随时间有偏差。 Figure 3 is a schematic diagram of the time stamp deviation generated by crystal oscillators with the same nominal frequency. The clock that generates the time stamp is affected by the jitter and drift of the crystal oscillator and its rate is unstable. Therefore, the generated time stamp will also deviate over time. the
图4为图3中相邻采样数据包时间戳间隔示意图,二者是由相同标称值晶振所产生时间戳偏差。由此,本发明中定义由晶振不稳定导致的偏差为时间戳本身误差。所以本发明的实施例中定义的时间戳误差由时间戳本身误差及时间戳附加误差组成,要提高时间同步精度需要从减少时间戳本身误差与附加误差着手。 FIG. 4 is a schematic diagram of time stamp intervals between adjacent sampled data packets in FIG. 3 , both of which are time stamp deviations generated by crystal oscillators with the same nominal value. Therefore, in the present invention, the deviation caused by the instability of the crystal oscillator is defined as the error of the time stamp itself. Therefore, the time stamp error defined in the embodiment of the present invention is composed of the time stamp itself error and the time stamp additional error. To improve the time synchronization accuracy, it is necessary to reduce the time stamp itself error and the additional error. the
本发明的实施例中,将时间戳记录位置移到物理链路层,由硬件电路将时间戳加入到应用系统中,图5为根据本发明一个具体实施例的时间戳同步设备结构图。由于在数据包离开MAC后就加入时间戳,使得可以排除时间戳附加误差中各种软件延迟的影响因素,将时间戳精度提高到纳秒级。 In the embodiment of the present invention, the time stamp recording location is moved to the physical link layer, and the time stamp is added to the application system by a hardware circuit. FIG. 5 is a structural diagram of a time stamp synchronization device according to a specific embodiment of the present invention. Since the time stamp is added after the data packet leaves the MAC, various software delay factors in the time stamp additional error can be eliminated, and the time stamp accuracy can be improved to the nanosecond level. the
在本实施例中,该设备电路结构基于FPGA实现,可以将该电路结构应用到网卡中或其它网络测量设备中。 In this embodiment, the device circuit structure is realized based on FPGA, and the circuit structure can be applied to a network card or other network measurement devices. the
如图5中所示,该时间同步设备包括GTP(通用分组无线服务隧道协议)收发器、媒体访问控制器、收发数据包缓冲队列(图中的接收数据包队列和发送数据包队列)以及PCIe(PCI Express)端点控制器。现有的设备中同步时钟输入和输出通过收发数据包缓冲队列直接与媒体访问控制器相连,通过软件方法控制来实现同步。在本实施例中,该时间同步系设备还包括一个或者多个时间戳插入模块和一个或者多个PCS时间戳发生器,其中,PCS时间戳发生器接收和发送同步时钟,接收包处理器的控制信号,和时间戳插入模块相连接,控制时间戳插入模块,时间戳插入模块分别和PCS时间戳发生器、媒体访问控制器、包处理器以及收发数据包缓 冲队列相连接,将时间戳插入到网络数据的物理链路层。在本实施例中,图中示出两个时间戳插入模块,本发明可以使用一个时间戳插入模块。 As shown in Figure 5, the time synchronization device includes a GTP (General Packet Radio Service Tunneling Protocol) transceiver, a media access controller, a sending and receiving data packet buffer queue (a receiving data packet queue and a sending data packet queue in the figure) and a PCIe (PCI Express) endpoint controller. The input and output of the synchronous clock in the existing equipment are directly connected to the media access controller through the sending and receiving data packet buffer queue, and the synchronization is realized through software control. In this embodiment, the time synchronization system device further includes one or more time stamp insertion modules and one or more PCS time stamp generators, wherein, the PCS time stamp generator receives and sends the synchronous clock, and receives the packet processor's The control signal is connected with the timestamp insertion module to control the timestamp insertion module, and the timestamp insertion module is respectively connected with the PCS timestamp generator, the media access controller, the packet processor and the sending and receiving data packet buffer queue, and the timestamp Inserted into the physical link layer of network data. In this embodiment, two time stamp insertion modules are shown in the figure, and one time stamp insertion module may be used in the present invention. the
需要同步的各部件通过图5中所示的同步时钟输入、输出互连(物理连接上可以是任何形式的串行输入或者其它公知连接方式),PCS时间戳发生器产生的时钟信号输入到时间戳插入模块(例如,数据传输的内容为64比特的时间戳信息),在时间戳插入模块中将时钟信号插入到接收或发送的网络数据包中。 Each part that needs to be synchronized is interconnected through the synchronous clock input and output shown in Figure 5 (it can be any form of serial input or other known connection mode on the physical connection), and the clock signal generated by the PCS time stamp generator is input to the time Stamp insertion module (for example, the content of the data transmission is 64-bit time stamp information), in which the clock signal is inserted into the received or sent network data packet. the
图6示出图5中所示的PCS时间戳发生器的详细电路,如图6所示,所述发生器的核心是直接频率合成器,通过调整频率控制字调整生成时钟频率。在本实施例中,时间戳寄存器共64bit,高32bit值代表从1970年1月1日凌晨0点开始的秒数,低32bit值表示秒的分数。这种表示方式能达到的最高分辨率为2-32s,即233ps,而且,通过将低32-mbit置成0,可获得分辨率为2-ms的时钟。时间戳寄存器高32bit秒计数初始值通过驱动程序在初始化时由主机写入,因此要求主机时间具有秒级精度,这通过NTP协议可方便实现;低32bit秒分数部分由内部计数器产生,计数器在直接频率合成器输出时钟频率fsyn下计数,计满后产生进位信号,高32bit计数值加1。 Fig. 6 shows the detailed circuit of the PCS time stamp generator shown in Fig. 5. As shown in Fig. 6, the core of the generator is a direct frequency synthesizer, and the generated clock frequency is adjusted by adjusting the frequency control word. In this embodiment, the timestamp register has a total of 64 bits, the high 32-bit value represents the number of seconds from 0:00 on January 1, 1970, and the low 32-bit value represents the fraction of a second. The highest resolution that this representation can achieve is 2-32 s, that is, 233ps, and by setting the low 32-mbit to 0, a clock with a resolution of 2 -m s can be obtained. The initial value of the high 32bit second count of the timestamp register is written by the host through the driver during initialization, so the host time is required to have second-level precision, which can be easily realized through the NTP protocol; the low 32bit second fraction is generated by the internal counter, and the counter is directly The frequency synthesizer outputs the clock frequency f syn and counts down, and generates a carry signal after the count is full, and adds 1 to the high 32bit count value.
如图6所示,各部件通过数据线相连,其中参考时钟为图5所示的外部晶振输入的时钟,频率控制字为预设的频率调节参数;直接频率合成器的输出值寄存到时间戳低位计数器中;时间戳低位计数器的进位信号输入到时间戳高位寄存器中,当节点为主节点时,该进位信号还将产生输出脉冲信号提供给从节点;时间戳高位寄存器以及时间戳低位寄存器的值送入到时间戳插入模块;当节点为从节点时,利用主节点提供的输入脉冲,产生中断信号,通知驱动读取当前时间戳寄存器的值。 As shown in Figure 6, the components are connected through data lines, where the reference clock is the clock input by the external crystal oscillator shown in Figure 5, and the frequency control word is the preset frequency adjustment parameter; the output value of the direct frequency synthesizer is stored in the time stamp In the low counter; the carry signal of the timestamp low counter is input into the timestamp high register. When the node is the master node, the carry signal will also generate an output pulse signal to the slave node; the timestamp high register and the timestamp low register The value is sent to the timestamp insertion module; when the node is a slave node, the input pulse provided by the master node is used to generate an interrupt signal and notify the driver to read the value of the current timestamp register. the
图7示出图5所示的时间戳插入模块的详细电路,如图7所示,接收的数据包先寄存到寄存器中,然后在该数据包输出到接收数据包队列之前插入当前时钟信息(当前时钟值由图6所示的硬件时间戳生成电路产生);发送 数据包队列中的数据在发送之前也先寄存到寄存器中,插入当前时钟后发送到MAC;其中,数据时钟信息插入数据的物理链路层。 Fig. 7 shows the detailed circuit of the time stamp insertion module shown in Fig. 5, as shown in Fig. 7, the data packet that receives is deposited in the register earlier, inserts current clock information ( The current clock value is generated by the hardware timestamp generation circuit shown in Figure 6); the data in the sending data packet queue is also stored in the register before sending, and sent to the MAC after inserting the current clock; wherein, the data clock information is inserted into the data physical link layer. the
在本发明的另一个实施例中,本发明提出一种时间同步系统,包括多个上述的时间同步设备,其中,多个时间同步设备的其中一个作为主设备,产生同步时钟输出信号,所述其余的时间同步设备的作为从设备,接收主设备发送的同步时钟输出信号,经过本设备的时间戳发生器和时间戳插入模块的相应处理,实现系统的时间同步。所有从设备与该主同步设备互联或者分别相连,构成时间同步系统,所述连接方式包括但不限于RS484、RS232、RS422以及USB。主设备的PCS时间戳发生器根据预设的频率控制字和晶振时钟信号,输出时间戳给所述主设备的时间戳插入模块和所述从设备。从设备PCS时间戳发生器接收所述同步时钟输出信号和晶振时钟信号,根据预设的频率控制字,产生时间戳提供给本设备的时间戳插入模块。 In another embodiment of the present invention, the present invention proposes a time synchronization system, including a plurality of time synchronization devices described above, wherein one of the time synchronization devices acts as a master device to generate a synchronous clock output signal, and the The rest of the time synchronization devices, as slave devices, receive the synchronous clock output signal sent by the master device, and realize the time synchronization of the system through the corresponding processing of the time stamp generator and time stamp insertion module of the device. All slave devices are interconnected or respectively connected with the master synchronization device to form a time synchronization system. The connection methods include but are not limited to RS484, RS232, RS422 and USB. The PCS time stamp generator of the master device outputs a time stamp to the time stamp insertion module of the master device and the slave device according to the preset frequency control word and crystal oscillator clock signal. The PCS time stamp generator of the slave device receives the synchronous clock output signal and the crystal oscillator clock signal, generates a time stamp according to the preset frequency control word, and provides it to the time stamp insertion module of the device. the
本发明中还提出了一种基于预测的时钟同步算法(Prediction-based ClockSynchronization,PCS)通过上述系统来完成多个节点间的时钟同步,多节点同步时需要指定一个主节点发出参考时钟,与主节点同步的节点称为从节点,主从节点的指定依据应用需求而定,没有任何附加限制,主从节点间通过异步串行总线互连。同步时主节点每隔1s输出一个脉冲到各从节点,从节点收到脉冲后,读取时间戳寄存器,测出上一秒结果,调整DDS频率控制字期望下一秒同步偏差最小。本发明的时序示意图如图8所示,本发明分成启动和同步两个阶段。 The present invention also proposes a prediction-based clock synchronization algorithm (Prediction-based Clock Synchronization, PCS) to complete the clock synchronization between multiple nodes through the above-mentioned system. When multiple nodes are synchronized, it is necessary to designate a master node to send a reference clock, and the master node Node synchronization nodes are called slave nodes. The designation of the master-slave nodes depends on the application requirements without any additional restrictions. The master-slave nodes are interconnected through an asynchronous serial bus. During synchronization, the master node outputs a pulse to each slave node every 1s. After the slave node receives the pulse, it reads the time stamp register, measures the result of the previous second, and adjusts the DDS frequency control word to expect the smallest synchronization deviation in the next second. The timing diagram of the present invention is shown in FIG. 8 , and the present invention is divided into two stages of startup and synchronization. the
启动阶段: Startup phase:
第0步,从节点启动,当从节点PCS时间戳发生器接收到主节点输出的秒脉冲后,从时间戳计数器中读取当前时间T0,同时产生中断信号通知驱动读取该值;
In
第1步,当从节点PCS时间戳发生器再次接收到主节点输出的秒脉冲后,从时间戳计数器中读取当前时间T1,同时产生中断信号通知驱动读取该值,驱 动利用第0步与第1步读取的时间值计算第0步与第1步之间的时间差Δt1=T1-T0;
第2步,当从节点PCS时间戳发生器第3次接收到主节点输出的秒脉冲后,从时间戳计数器中读取当前时间T2,同时产生中断信号通知驱动读取该值,驱动利用第1步与第2步读取的时间值计算第1步与第2步之间的时间差Δt2=T2-T1,并利用下面的公式计算参考时钟(晶振输出)的实际频率; 其中N为频率控制字位数,本实施例中值为32; 为初始频率控制字,本实施例中值为0xABCC7712;驱动利用下面的公式计算新的频率控制字
其中m为时间戳精度,本实施例中值为24; Where m is the timestamp precision, and the value in this embodiment is 24;
第3步,当从节点PCS时间戳发生器第4次接收到主节点输出的秒脉冲后,从时间戳计数器中读取当前时间T3,同时产生中断信号通知驱动读取该值,驱动利用第2步与第3步读取的时间值计算第2步与第3步之间的时间差Δt3=T3-T2。从节点PCS时间戳发生器应用第2步中计算出的频率控制字 调整时钟频率,并由驱动利用下面的公式计算新的频率控制字
第4步,当从节点PCS时间戳发生器第5次接收到主节点输出的秒脉冲后,从时间戳计数器中读取当前时间T4,同时产生中断信号通知驱动读取该值,从节点PCS时间戳发生器应用第3步中计算出的频率控制字 调整时钟频率,并由驱动利用上面第3步的公式计算新的频率控制字 至此,启动阶段结束。
B.同步阶段: B. Synchronization phase:
经过启动阶段的4步调整之后,从节点时钟与主节点时钟已经同步,但是考虑到时钟晶振的不稳定性,从节点需要不断修正频率控制字,从而保持 与主节点的长期同步; After the 4-step adjustment in the startup phase, the clock of the slave node and the clock of the master node have been synchronized, but considering the instability of the clock crystal oscillator, the slave node needs to continuously correct the frequency control word, so as to maintain long-term synchronization with the master node;
1.当从节点PCS时间戳发生器接收到主节点输出的秒脉冲后,从时间戳计数器中读取当前时间Ti,同时产生中断信号通知驱动读取该值,驱动计算两次连续中断的时间差Δti=Ti-Ti-1; 1. When the slave node PCS time stamp generator receives the second pulse output by the master node, it reads the current time T i from the time stamp counter, and at the same time generates an interrupt signal to inform the driver to read the value, and the driver calculates the time of two consecutive interruptions Time difference Δt i =T i -T i-1 ;
2.驱动计算前两步预测误差e0(i)及e1(i): 2. Drive the calculation of the first two steps of prediction errors e 0 (i) and e 1 (i):
e1(i)=2m-Δti,计算预测误差时不限于本实施例中提供的计算公式,公式中变量含义同前所述; e 1 (i)=2 m -Δt i , the calculation of the prediction error is not limited to the calculation formula provided in this embodiment, and the meanings of the variables in the formula are the same as those mentioned above;
3.从节点PCS时间戳发生器应用上一次循环计算出的频率控制字 驱动计算下一步频率控制字 3. Apply the frequency control word calculated in the last cycle from the node PCS timestamp generator The drive calculates the next frequency control word
不同的频率控制字会使得图6中直接频率合成器合成出来的时钟频率不同,如果发现从节点在主节点两次脉冲间隔内时间走快了,那么需要将从节点的频率控制字调小,反之,调大。通过不断的调整,可以保证从节点时钟与主节点时钟趋于一致。 Different frequency control words will make the clock frequency synthesized by the direct frequency synthesizer in Figure 6 be different. If the time of the slave node is found to be faster within the interval between the two pulses of the master node, then the frequency control word of the slave node needs to be adjusted down. Conversely, turn it up. Through continuous adjustment, it can be ensured that the clock of the slave node is consistent with the clock of the master node. the
在进行具体设备的同步和同步测试时,将需要同步的设备按照图10所示,利用异步串行连接线互连(例如RS422)。图10是为了验证本发明性能的实验环境,网络测试仪采用Spirent公司TestCenter,利用其千兆模块发出测试数据包,通过分光器将一路流量分成两路相同流量,经过等长光纤跳线连接到两个测试节点,数据包到达两个测试节点时刻相同。两个测试节点分别安装在高性能服务器上。安装带有所述同步设备的两块网卡,启动同步驱动方法,并利用RS422连接两块网卡即可进行同步或者测试。 When performing the synchronization and synchronization test of specific devices, the devices that need to be synchronized are interconnected by using asynchronous serial connection lines (for example, RS422) as shown in FIG. 10 . Fig. 10 is in order to verify the experimental environment of the performance of the present invention, the network tester adopts TestCenter of Spirent Company, utilizes its gigabit module to send out the test data packet, divides one road traffic into two roads same traffics by optical splitter, connects to Two test nodes, the time when the data packet arrives at the two test nodes is the same. The two test nodes are respectively installed on high-performance servers. Install two network cards with the synchronization device, start the synchronous driving method, and use RS422 to connect the two network cards to perform synchronization or testing. the
图11为采用PCS同步算法的两块卡时间戳偏差的两小时结果,其中横坐标为测量时间点,纵坐标为两块卡时间戳偏差(单位为纳秒),从结果可见, 时间戳偏差在-50ns~180ns之间。图12为采用PCS同步算法的两块卡时间戳偏差的十二小时统计结果,其中横坐标为时间戳偏差,纵坐标为该偏差出现的频率,从结果可见,PCS算法通过调整频率控制字很好地完成了两个设备的同步,大部分时间戳偏差控制在0~100ns之内。图13显示了PCS算法的预测误差,其中横坐标为测量时间点,纵坐标为两块卡时间戳偏差(单位为纳秒),从结果可见预测误差主要分布在-50ns~50ns之内。 Figure 11 is the two-hour result of the time stamp deviation of the two cards using the PCS synchronization algorithm, where the abscissa is the measurement time point, and the ordinate is the time stamp deviation of the two cards (in nanoseconds). From the results, it can be seen that the time stamp deviation Between -50ns and 180ns. Figure 12 shows the 12-hour statistical results of the time stamp deviation of two cards using the PCS synchronization algorithm, where the abscissa is the time stamp deviation, and the ordinate is the frequency of the deviation. From the results, it can be seen that the PCS algorithm adjusts the frequency control word very quickly The synchronization of the two devices is well completed, and most of the time stamp deviations are controlled within 0-100ns. Figure 13 shows the prediction error of the PCS algorithm, where the abscissa is the measurement time point, and the ordinate is the time stamp deviation between the two cards (in nanoseconds). From the results, it can be seen that the prediction error is mainly distributed within -50ns to 50ns. the
最后应说明的是,以上实施例仅用以描述本发明的技术方案而不是对本技术方法进行限制,本发明在应用上可以延伸为其他的修改、变化、应用和实施例,并且因此认为所有这样的修改、变化、应用、实施例都在本发明的精神和教导范围内。 Finally, it should be noted that the above embodiments are only used to describe the technical solutions of the present invention rather than limit the technical methods of the present invention. The present invention can be extended to other modifications, changes, applications and embodiments in application, and therefore it is considered that all such Modifications, changes, applications, and embodiments are all within the spirit and teaching scope of the present invention. the
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810224891.3A CN101388741B (en) | 2008-10-24 | 2008-10-24 | Highly precised time synchronization device, system and method for computer network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810224891.3A CN101388741B (en) | 2008-10-24 | 2008-10-24 | Highly precised time synchronization device, system and method for computer network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101388741A CN101388741A (en) | 2009-03-18 |
CN101388741B true CN101388741B (en) | 2012-12-12 |
Family
ID=40477940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810224891.3A Expired - Fee Related CN101388741B (en) | 2008-10-24 | 2008-10-24 | Highly precised time synchronization device, system and method for computer network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101388741B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103472388A (en) * | 2013-09-12 | 2013-12-25 | 成都成电光信科技有限责任公司 | Testing system of optical fiber network |
US11611946B2 (en) | 2021-03-30 | 2023-03-21 | Chrystal Instruments Corporation | Sampling synchronization through GPS signals |
US11754724B2 (en) | 2021-12-29 | 2023-09-12 | Crystal Instruments Corporation | Cross spectrum analysis for time stamped signals |
Families Citing this family (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848119A (en) * | 2010-05-19 | 2010-09-29 | 同济大学 | High-accuracy network round-trip delay measuring method for eliminating system processing time |
DE102010029349A1 (en) * | 2010-05-27 | 2011-12-01 | Robert Bosch Gmbh | Control unit for exchanging data with a peripheral unit, peripheral unit, and method for data exchange |
CN102447553A (en) * | 2010-10-12 | 2012-05-09 | 研祥智能科技股份有限公司 | Realizing device of accurate time synchronization protocol |
CN101977104B (en) * | 2010-11-13 | 2013-01-09 | 上海交通大学 | IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof |
CN102096376A (en) * | 2010-12-30 | 2011-06-15 | 中国科学院长春光学精密机械与物理研究所 | Mixed time sequence synchronous control method in physical simulation |
CN102104475B (en) * | 2011-01-31 | 2013-07-03 | 上海交通大学 | IEEE 1588-based synchronization system and synchronization method thereof |
CN102231907B (en) * | 2011-06-27 | 2017-03-22 | 中兴通讯股份有限公司 | Clock synchronization method and apparatus in transmission system |
WO2012119385A1 (en) * | 2011-08-11 | 2012-09-13 | 华为技术有限公司 | Method, device and system for performing time synchronization on pcie device |
CN102547969B (en) * | 2012-02-24 | 2014-06-25 | 电子科技大学 | High-accuracy wireless clock synchronization system for power system |
WO2014014520A1 (en) * | 2012-07-18 | 2014-01-23 | Intel Corporation | Measuring time offsets between devices with independent silicon clocks |
CN102855172B (en) * | 2012-07-24 | 2015-06-24 | 福建亿榕信息技术有限公司 | Method for recording network card receiving time at high precision |
CN102882623B (en) * | 2012-07-26 | 2014-11-19 | 哈尔滨工业大学 | FPGA-based configurable clock frequency synthesis device |
CN103414511A (en) * | 2013-08-21 | 2013-11-27 | 成都成电光信科技有限责任公司 | Clock synchronization type network monitoring card |
CN103945523B (en) * | 2014-04-21 | 2017-05-24 | 中国联合网络通信集团有限公司 | Method and system for achieving time synchronization |
CN104301052B (en) * | 2014-10-20 | 2017-04-12 | 中国电子科技集团公司第四十一研究所 | Seamless collecting and real-time frequency spectrum monitoring implementation method based on FPGA |
US9904637B2 (en) * | 2014-11-26 | 2018-02-27 | Qualcomm Incorporated | In-band interrupt time stamp |
CN107431860B (en) * | 2015-03-12 | 2020-11-13 | 北京四达时代软件技术股份有限公司 | Audio system based on location service |
CN104901844B (en) * | 2015-05-13 | 2019-01-22 | 国家计算机网络与信息安全管理中心 | PCIE-based high-precision timestamp acquisition method and device and network card |
CN106708168B (en) * | 2015-11-13 | 2019-12-06 | 华为技术有限公司 | multiprocessor system and clock synchronization method |
CN105471776B (en) * | 2015-11-26 | 2019-04-16 | 京信通信系统(中国)有限公司 | A kind of method for transmitting signals and device |
CN105471572B (en) * | 2016-01-06 | 2018-06-29 | 国电南瑞科技股份有限公司 | A kind of time synchronized measurement method based on GOOSE message |
CN106970520B (en) * | 2016-07-29 | 2020-06-16 | 上海博达通信科技有限公司 | High-precision time synchronization system and method in embedded system |
CN109150355B (en) * | 2018-08-14 | 2020-04-24 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | System for realizing PTP network card under FPGA |
CN109474466A (en) * | 2018-11-13 | 2019-03-15 | 天津津航计算技术研究所 | The method of dual redundant network interface card switching is realized on DDS middleware |
CN109917672B (en) * | 2019-03-29 | 2022-04-12 | 中国人民解放军93216部队 | Semi-physical simulation system and method for navigation and control loop |
CN111125978A (en) | 2019-12-31 | 2020-05-08 | 国微集团(深圳)有限公司 | A simulation data processing method and system |
CN111324046B (en) * | 2020-02-28 | 2022-10-25 | 中国电力科学研究院有限公司 | Method and system for performing cooperative operation on distributed simulation system |
CN111711547B (en) * | 2020-07-03 | 2022-07-08 | 中国人民解放军63660部队 | End-to-end time delay measuring method of computer based on hardware interrupt signal |
CN112054939A (en) * | 2020-08-31 | 2020-12-08 | 中国科学院空间应用工程与技术中心 | Precision testing method and device for high-precision clock synchronization |
US12111681B2 (en) * | 2021-05-06 | 2024-10-08 | Mellanox Technologies, Ltd. | Network adapter providing isolated self-contained time services |
CN114095166B (en) * | 2021-11-23 | 2024-08-13 | 北京京东方技术开发有限公司 | Method, node and system for generating temporary identity of node |
CN115765906B (en) * | 2022-10-25 | 2025-03-04 | 西门子电力自动化有限公司 | Method, device and relay protection device for determining timestamp |
US12216489B2 (en) | 2023-02-21 | 2025-02-04 | Mellanox Technologies, Ltd | Clock adjustment holdover |
US12289389B2 (en) | 2023-08-13 | 2025-04-29 | Mellanox Technologies, Ltd. | Physical layer syntonization using digitally controlled oscillator |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1346197A (en) * | 2000-09-27 | 2002-04-24 | 西门子公司 | Multi-user real-time communication method in ethernet communication system and ethernet communication system |
CN1444814A (en) * | 2000-07-26 | 2003-09-24 | 汤姆森特许公司 | Multi-media jitter removal in asynchronous digital home network |
CN101242230A (en) * | 2007-02-05 | 2008-08-13 | 汤姆森许可贸易公司 | Clock Synchronization Auxiliary and Associated Clock Synchronization Devices |
CN101252404A (en) * | 2008-03-31 | 2008-08-27 | 重庆大学 | FPGA-based distributed network clock synchronization system and method |
-
2008
- 2008-10-24 CN CN200810224891.3A patent/CN101388741B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1444814A (en) * | 2000-07-26 | 2003-09-24 | 汤姆森特许公司 | Multi-media jitter removal in asynchronous digital home network |
CN1346197A (en) * | 2000-09-27 | 2002-04-24 | 西门子公司 | Multi-user real-time communication method in ethernet communication system and ethernet communication system |
CN101242230A (en) * | 2007-02-05 | 2008-08-13 | 汤姆森许可贸易公司 | Clock Synchronization Auxiliary and Associated Clock Synchronization Devices |
CN101252404A (en) * | 2008-03-31 | 2008-08-27 | 重庆大学 | FPGA-based distributed network clock synchronization system and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103472388A (en) * | 2013-09-12 | 2013-12-25 | 成都成电光信科技有限责任公司 | Testing system of optical fiber network |
US11611946B2 (en) | 2021-03-30 | 2023-03-21 | Chrystal Instruments Corporation | Sampling synchronization through GPS signals |
US11956744B2 (en) | 2021-03-30 | 2024-04-09 | Crystal Instruments Corporation | Sampling synchronization through GPS signals |
US11754724B2 (en) | 2021-12-29 | 2023-09-12 | Crystal Instruments Corporation | Cross spectrum analysis for time stamped signals |
Also Published As
Publication number | Publication date |
---|---|
CN101388741A (en) | 2009-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101388741B (en) | Highly precised time synchronization device, system and method for computer network | |
US8370675B2 (en) | Precise clock synchronization | |
TWI780243B (en) | Clock synchronization device and clock synchronization method | |
CN101083523B (en) | Method and device for realizing integrated time stamp clock synchronous phase-locked loop | |
US20120005517A1 (en) | Synchronisation and timing method and apparatus | |
CN108023723B (en) | Method of frequency synchronization and slave clock | |
CN108259109B (en) | Network equipment in PTP domain and TOD synchronization method | |
EP3553994B1 (en) | Method for exchanging time synchronisation message, and network device | |
CN105027489B (en) | Precision clock protocol synchronization method and node | |
CN101977104A (en) | IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof | |
WO2016168063A1 (en) | Methods, systems, and computer readable media for synchronizing timing among network interface cards (nics) in a network equipment test device | |
CN112162591B (en) | Electronic device with multiple processors and synchronization method thereof | |
US20110222561A1 (en) | Systems and methods for providing time synchronization | |
CN111092713B (en) | Clock synchronization device and clock synchronization method | |
CN110572230A (en) | A correction method and device for realizing time synchronization | |
CN103532693B (en) | Time synchronizing device and method | |
CN110719135A (en) | Time calibration method and system and electronic device | |
Yin et al. | The implementation of IEEE 1588 clock synchronization protocol based on FPGA | |
CN115801175A (en) | Time frequency synchronization method, system, storage medium and electronic device | |
Libri et al. | Evaluation of synchronization protocols for fine-grain HPC sensor data time-stamping and collection | |
CN101867431B (en) | Network clock synchronization method | |
CN113228564B (en) | Stamping processing method and device | |
CN111865467A (en) | Clock synchronization system and method between distributed chassis board cards for time delay test | |
TWI864078B (en) | Network device | |
CN114079557B (en) | Network device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20161028 Address after: 200031 Shanghai, Hunan Road, No. 121, building 10, building Patentee after: SHANGHAI YINGLIAN SOMATOSENSORY INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 100190 Haidian District, Zhongguancun Academy of Sciences, South Road, No. 6, No. Patentee before: Institute of Computing Technology, Chinese Academy of Sciences |
|
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 200031 Shanghai, Hunan Road, No. 121, building 10, building Patentee after: SHANGHAI YINGLIAN INFORMATION TECHNOLOGY CO.,LTD. Address before: 200031 Shanghai, Hunan Road, No. 121, building 10, building Patentee before: SHANGHAI YINGLIAN SOMATOSENSORY INTELLIGENT TECHNOLOGY Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121212 Termination date: 20211024 |