WO2021098733A1 - 以太网时间同步方法及装置 - Google Patents

以太网时间同步方法及装置 Download PDF

Info

Publication number
WO2021098733A1
WO2021098733A1 PCT/CN2020/129834 CN2020129834W WO2021098733A1 WO 2021098733 A1 WO2021098733 A1 WO 2021098733A1 CN 2020129834 W CN2020129834 W CN 2020129834W WO 2021098733 A1 WO2021098733 A1 WO 2021098733A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
timestamp
pcs
mac
event message
Prior art date
Application number
PCT/CN2020/129834
Other languages
English (en)
French (fr)
Inventor
孙昊
Original Assignee
深圳市中兴微电子技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Priority to EP20891021.6A priority Critical patent/EP4064589A4/en
Publication of WO2021098733A1 publication Critical patent/WO2021098733A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0685Clock or time synchronisation in a node; Intranode synchronisation
    • H04J3/0697Synchronisation in a packet node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Definitions

  • the present invention relates to the field of communication, and in particular, to an Ethernet time synchronization method and device.
  • the synchronization accuracy requirements of the existing time synchronization technology are getting higher and higher.
  • the synchronization accuracy of network equipment is required to reach the level of less than 10 nanoseconds.
  • the traditional GPS synchronization method is limited by the environment and cost, while the accuracy of the existing synchronization method based on Ethernet 1588 is limited by At the bottom, the delay uncertainty can generally only reach the level of tens of nanoseconds to microseconds.
  • the embodiment of the present invention provides an Ethernet time synchronization method and device, so as to at least solve the problems of uncertain time delay and low synchronization accuracy in the synchronization mode based on Ethernet 1588 in the related art.
  • an Ethernet time synchronization method which includes: marking the alignment mark AM signal at the interface between the physical coding sublayer PCS and the physical media additional sublayer PMA inside the physical layer PHY of the Ethernet Timestamp; carry the AM timestamp in the corresponding 1588 event message; perform time synchronization according to the AM timestamp carried in the 1588 event message sent and received.
  • stamping the AM signal with a time stamp includes: stamping the AM signal with a sending time stamp or stamping the AM signal with a receiving time stamp.
  • stamping the transmission time stamp on the AM signal includes: when AM passes through the PCS and PMA interface along with the transmission data stream, the AM detection logic detects the occurrence of the AM and notifies the 1588 time stamp function
  • the module records the AM sending timestamp; the 1588 time stamping function module returns the AM sending timestamp to the MAC; the MAC carries the AM sending time in the corresponding 1588 event message sent stamp.
  • the method before the AM sends a data stream through the PCS and the PMA interface, the method further includes: the MAC sensing the AM generation time.
  • the method further includes: the MAC uses the sensed AM generation time as a starting point to obtain the information for sending the 1588 event message Time window, and send the 1588 event message in the time window.
  • the starting point of the time window is after the MAC perceives that the current AM passes through the PCS, after the AM signal detected by the PCS and PMA interface is time stamped by the 1588 stamping function and returned to the AM time stamp of the MAC , The end of the time window is the moment when the MAC perceives the next AM.
  • the 1588 time stamping function module after the 1588 time stamping function module returns the AM sending timestamp to the MAC, it further includes: buffering the AM sending timestamp; when the next AM sending timestamp is received, buffering the AM sending timestamp The AM sends a timestamp to be updated.
  • the MAC carrying the AM transmission timestamp in the sent 1588 event message includes: buffering the 1588 event message sent by the higher layer protocol; and storing the buffered 1588 event message in the It is sent within the sending time window, and the AM timestamp in the sending AM timestamp buffer is taken out during sending and inserted into the timestamp field of the 1588 event message.
  • stamping the receiving time stamp on the AM signal includes: when AM passes through the PCS interface with the PMA along with the received data stream, the AM detection logic detects the occurrence of the AM and notifies the 1588 time stamp function
  • the module records the AM receiving timestamp; the 1588 time stamping function module transmits the AM receiving timestamp to the MAC; the MAC sends the AM receiving timestamp to the received corresponding 1588 event
  • the messages are associated and reported to the higher-level protocol.
  • the PCS is a multi-channel PCS or a single-channel PCS.
  • the PCS is a multi-channel PCS, only the AM signal in one of the channels is time stamped.
  • an Ethernet time synchronization device including: a time stamp function module, which is set as an interface between the physical coding sublayer PCS and the physical media additional sublayer PMA inside the physical layer PHY of the Ethernet
  • the AM signal of the alignment mark is time stamped;
  • the MAC module is set to carry the AM time stamp in the corresponding 1588 event message;
  • the high-level protocol function module is set to carry the 1588 event message according to the sent and received The AM timestamp for time synchronization.
  • the AM timestamp includes an AM sending timestamp and an AM receiving timestamp.
  • the device further includes: AM detection logic, configured to notify the time stamp function module to record when the AM is detected when the AM is sent along the data stream through the interface between the PCS and the PMA The following AM sending timestamp; the timestamp function module is also set to send back the AM sending timestamp to the MAC; the MAC module is also set to carry in the corresponding 1588 event message sent The AM sends a time stamp.
  • AM detection logic configured to notify the time stamp function module to record when the AM is detected when the AM is sent along the data stream through the interface between the PCS and the PMA The following AM sending timestamp; the timestamp function module is also set to send back the AM sending timestamp to the MAC; the MAC module is also set to carry in the corresponding 1588 event message sent The AM sends a time stamp.
  • the MAC module is further configured to sense the AM generation time.
  • the MAC module is further set to use the sensed AM generation time as a starting point to obtain a time window for sending the 1588 event message, and send the 1588 event message during the time window.
  • the starting point of the time window is after the MAC perceives that the current AM passes through the PCS, after the AM signal detected by the PCS and PMA interface is time stamped by the 1588 stamping function and returned to the AM time stamp of the MAC , The end of the time window is the moment when the MAC perceives the next AM.
  • the device further includes: a timestamp buffer module, configured to buffer the AM sending timestamp, and update the AM sending timestamp in the buffer when the next AM sending timestamp is received.
  • a timestamp buffer module configured to buffer the AM sending timestamp, and update the AM sending timestamp in the buffer when the next AM sending timestamp is received.
  • the device further includes: a 1588 event message cache module, configured to cache the 1588 event message sent by the higher-level protocol; and a timestamp insertion module, configured to store the cached 1588 event message in It is sent within the sending time window, and the AM timestamp in the sending AM timestamp buffer is taken out during sending and inserted into the timestamp field of the 1588 event message.
  • a 1588 event message cache module configured to cache the 1588 event message sent by the higher-level protocol
  • a timestamp insertion module configured to store the cached 1588 event message in It is sent within the sending time window, and the AM timestamp in the sending AM timestamp buffer is taken out during sending and inserted into the timestamp field of the 1588 event message.
  • the device further includes: AM detection logic, which is configured to notify the time stamp function module to record the occurrence of the AM after detecting the occurrence of the AM when the AM passes through the interface between the PCS and the PMA along with the received data stream.
  • the AM receiving timestamp; the time stamping function module is configured to transmit the AM receiving timestamp to the MAC; the MAC module is also set to correspond the AM receiving timestamp with the received Associate the 1588 event messages of the system and report them to the higher-level protocol.
  • the PCS is a multi-channel PCS or a single-channel PCS.
  • the PCS is a multi-channel PCS, only the AM signal in one of the channels is time stamped.
  • a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the above method embodiment when running.
  • an electronic device including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the foregoing method embodiments Steps in.
  • the fixed-period AM signal is time stamped at the PCS and PMA interfaces in the PHY instead of the 1588 event message header, thereby eliminating the influence of the PCS internal delay error , Improve the accuracy of time synchronization.
  • Fig. 1 is a flowchart of an Ethernet time synchronization method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of time stamping the message header of a 1588 event message on boundaries A, B, and C according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of the relationship between boundary AA and various functional modules according to an embodiment of the present invention.
  • Fig. 4 is a schematic diagram of the time relationship between sending and receiving the same 1588 event message on the boundary A and the boundary AA on the sending side and the receiving side according to an embodiment of the present invention
  • Fig. 5 is a schematic diagram of sending a 1588 event message according to an embodiment of the present invention.
  • Fig. 6 is a schematic structural diagram of an Ethernet time synchronization device according to an embodiment of the present invention.
  • Fig. 7 is a schematic structural diagram of an Ethernet time synchronization device according to another embodiment of the present invention.
  • an embodiment of the present invention provides a time synchronization method.
  • the existing 1588 event message header time-stamping scheme is replaced by using the PCS AM mark to time-stamp inside the PHY, thereby improving the time synchronization accuracy.
  • Fig. 1 is a flowchart of an Ethernet time synchronization method according to an embodiment of the present invention. As shown in Fig. 1, the process includes the following steps:
  • Step S102 at the interface of the physical coding sublayer PCS inside the physical layer PHY of the Ethernet and the physical media additional sublayer PMA interface, the alignment indicator AM signal is time stamped;
  • Step S104 Carry the AM timestamp in the corresponding 1588 event message
  • Step S106 Perform time synchronization according to the AM timestamp carried in the 1588 event message sent and received.
  • the MAC perceives each AM generation time.
  • the notification MAC can be generated inside the PCS, or the MAC can help the PCS generate AM and send it to the PCS;
  • AM detection logic sent at the AA point will detect the occurrence of AM, and notify the 1588 time stamp function module to record the AM. Send timestamp;
  • the 1588 time stamping function module sends back the AM sending timestamp to the MAC;
  • MAC takes the time per AM perception as the starting point to obtain the time window in which 1588 event messages can be sent. 1588 event messages are controlled to be sent within this window. The timestamp field carried in the message when sent is changed to the current received one. The latest AM sent timestamp.
  • the AM detection logic will detect the occurrence of AM, and notify the 1588 time stamp function module to record the AM reception timestamp when the detection occurs;
  • the 1588 time stamp function module transmits the AM receiving timestamp to the MAC
  • MAC When MAC receives the sent 1588 event message, it fetches the latest received AM reception timestamp, establishes the association between this 1588 event message and the received AM timestamp, and reports it to the high-level protocol function module together.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • the embodiment of the present invention also provides an Ethernet time synchronization device.
  • the Ethernet time synchronization device includes the following modules: a high-level protocol function module, a 1588 time stamping function module, a PMA module, a MAC module, a PCS module, and a sending and receiving AM detection function module.
  • the high-level protocol module, the PMA module, and the 1588 time stamping module are basically the same as the prior art, mainly the functions of the MAC module and the PCS module are correspondingly modified, and the sending and receiving AM detection function module is a new function.
  • the MAC processes the transmission data message sent by the upper layer into a frame and sends it to the PCS transmission path, and the frame received by the PCS reception path is processed to the upper layer protocol module.
  • Data messages include non-1588 event business messages and 1588 event messages.
  • 1588 event messages MAC needs to update the latest sent AM timestamp sent by the 1588 time stamping function module into the message field.
  • the MAC will associate the latest received AM timestamp sent by the 1588 time stamping function module with the current 1588 message and notify the higher layer.
  • the PCS sending direction After receiving the MAC transmission frame in the PCS sending direction, it encodes and sends it to the PMA, and the PCS receiving direction receives the PMA data and transmits the frame to the MAC after decoding.
  • the PCS sending direction if the MAC provides the AM generation function, it will skip the AM generation logic for subsequent coding. If the PCS generates AM by itself, it needs to feed back the AM generation time point to the MAC.
  • PCS can provide some auxiliary information as needed to help external send and receive AM detection function modules.
  • the sending and receiving AM detection function module detects the AM information in the sending and receiving data that the PCS interacts with the PMA at the boundary AA, and notifies the 1588 time stamping module to stamp the sending and receiving AM time stamps when AM is detected.
  • the 1588 time stamping module When the 1588 time stamping module receives the sending and receiving two-way stamping request when the AM detection function module detects AM, it uses the 1588 clock to record the time stamp information, and then transmits the two time stamp information to the MAC.
  • the bottom layer delay error is reduced, and the effect of improving the time synchronization accuracy is achieved.
  • the existing 1588 technology timestamp positions are on the boundary C, the boundary B, and the boundary A from the top to the bottom.
  • boundary A is the bottom boundary, that is, the boundary between MAC and PHY.
  • the trigger point for time stamping at the boundary position is the 1588 event message header. If stamping at the bottom boundary A, there will still be a delay error within the PHY that affects the time synchronization accuracy.
  • the boundary AA is set between the PCS layer and the PMA layer in the PHY, and the time stamp is set at the boundary AA. Since the 1588 event message is already random data at this boundary It is difficult to identify. At this boundary, the AM identifier that exists and can be identified within the PCS can be used to stamp the time stamp instead of the 1588 event message header stamping.
  • the original 1588 event message used the same message header data in the sending and receiving trigger time stamping behavior, but now the sending and receiving trigger time stamping behavior uses the same AM.
  • the AM used in the embodiment of the present invention is a special code pattern added in the PCS protocol, which is generated in a fixed period during transmission and carried in the PCS processing data stream for transmission, and the AM in the data stream during reception is used for PCS reception synchronization alignment.
  • AM is a periodically generated identifier with a fixed period P AM .
  • the send/receive AM detection function module notifies 1588 time stamping function module to stamp the time stamp T AM0-TX when AM0 is detected on the boundary AA, and 1588 time stamp The module then sends this timestamp back to the MAC, and this round-trip transmission time is t AM-delay .
  • t AM-delay is an uncertain value. MAC needs to ensure that after the time stamp corresponding to AM0 is transmitted to the MAC, the 1588 event report can be sent within the time window W msg before the next AM1 is generated. Otherwise, the AM that is bound to the current 1588 event message may not be the same AM. Assuming that the 1588 event message exceeds the upper boundary of the time window corresponding to AM0, that is, the 1588 event message is sent out less than t AM-delay after AM0 is sensed.
  • the sending AM bound to the sending side of this 1588 event message is the last one, and the receiving is the current AM0 bound. Assuming that the 1588 event message exceeds the lower boundary of the time window corresponding to AM0, that is, after AM1 is sensed, the time stamp of sending AM1 is not updated when the 1588 event is sent, the AM bound on the sending side is still AM0, but the receiving side may be bound to AM1 .
  • the sending side 1588 event message is controlled to be sent in the AM0 sending window at the boundary A point.
  • the internal timestamp field of the sending event message is updated to the timestamp T AM0-TX for sending AM0 at the AA point.
  • the sent event message passes through the AA point on the sending side and then passes through the bottom layer transmission to the AA point on the receiving side.
  • AM0 has reached the AA point on the receiving side before the sent event message passes, and is detected by the receiving AM detection function module.
  • the receiving AM0 timestamp T AM0-RX is recorded by the 1588 time stamping function module and arrives before the receiving side A receives the 1588 event message. Therefore, point A receives and sends the corresponding 1588 event message when it is bound for use.
  • the latest received AM time stamp is the received AM0 time stamp T AM0-RX .
  • the MAC transmission path has additional control here. Its structure is shown in Figure 5.
  • the 1588 event message is separated and written to the 1588 event message buffer module. If there is a message in the 1588 event message buffer module, the buffer status is sent to the time window control module. In the time window obtained by the time window control module, when the cache status is not empty and the message identification and distribution module does not detect the message transmission, the output message is tentatively requested to notify the source not to send the package, and then the 1588 event message cache module is notified to read At the same time, the data selection module is switched to select 1588 time message output.
  • the timestamp insertion module reads the timestamp from the sending AM timestamp buffer and inserts the timestamp into the internal field of the message. Finally, it is selected and output by the data selection module.
  • AM timestamp buffer module After each AM is sent, it will be input to the AM timestamp buffer module to send the AM timestamp, and the old value will be updated to the latest input value for each input.
  • the buffer status of the 1588 event message buffer module is empty, the time window control module retracts the sending message pause, and retracts the event message readout instruction and 1588 event message Data selection control, the sent non-1588 event message is output through the message data selection module.
  • an Ethernet time synchronization device is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated.
  • the term "module” can implement a combination of software and/or hardware with predetermined functions.
  • the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
  • Fig. 6 is a structural block diagram of an Ethernet time synchronization device according to an embodiment of the present invention. The division of module functions in this embodiment is different from the previous device embodiment. As shown in FIG. 6, the device includes: a time stamping function module 10, a MAC module 20, and a high-level protocol function module 30.
  • the time stamp function module 10 is set to time stamp the alignment mark AM signal at the interface between the physical encoding sublayer and the physical media additional sublayer PMA within the physical layer PHY of the Ethernet.
  • the MAC module 20 is configured to carry the AM timestamp in the corresponding 1588 event message.
  • the high-level protocol function module 30 is configured to perform time synchronization according to the AM timestamp carried in the 1588 event message sent and received.
  • FIG. 7 is a structural block diagram of an Ethernet time synchronization device according to an embodiment of the present invention. As shown in FIG. 7, the device includes all the modules shown in FIG. 6, but also includes AM detection logic 40 and physical coding sublayer module 50 , The time stamp cache module 60, the message cache module 70, and the time stamp insertion module 80.
  • the AM detection logic 40 is configured to notify the time stamp function module to record the AM transmission time stamp when the AM is detected when the AM passes through the interface between the PCS and the PMA along with the transmission data stream.
  • the time stamping function module 10 is further configured to send back the AM transmission time stamp to the MAC module 20.
  • the MAC module 50 is further configured to carry the AM transmission timestamp in the corresponding 1588 event message sent.
  • the MAC module 20 is also set to use the sensed AM generation time as a starting point to obtain a time window for sending the 1588 event message, and send the 1588 event message within the time window.
  • the time stamp buffer module 60 is configured to buffer the AM transmission time stamp, and update the AM transmission time stamp in the buffer when the next AM transmission time stamp is received.
  • the message buffer module 70 is configured to buffer the 1588 event message sent by the higher-level protocol function module 30.
  • the time stamp inserting module 80 is configured to insert the sending AM time stamp in the buffer into the time stamp field of the 1588 event message.
  • the AM detection logic 40 is further configured to notify the time stamp function module to record the sending time stamp of the AM after detecting the occurrence of the AM when the AM passes through the interface between the PCS and the PMA along with the received data stream;
  • the time stamp function module 10 is further configured to transmit the AM receiving time stamp to the MAC.
  • the MAC module 20 is further configured to associate the AM reception timestamp with the received corresponding 1588 event message, and report it to the higher-level protocol function module 30.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • An embodiment of the present invention also provides a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the foregoing method embodiment when running.
  • the foregoing storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as mobile hard disks, magnetic disks, or optical disks.
  • An embodiment of the present invention also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in the foregoing method embodiment.
  • modules or steps of the present invention can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
  • they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Communication Control (AREA)

Abstract

本发明提供了一种以太网时间同步方法及装置,该方法包括:在以太网的物理层PHY内部的物理编码子层PCS与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳;将所述AM时间戳携带在对应的1588事件报文中;根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。在本发明中,通过在PHY内部PCS与PMA接口处对固定周期AM信号打时间戳,从而消除PCS内部时延误差的影响,提高时间同步精度。

Description

以太网时间同步方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种以太网时间同步方法及装置。
背景技术
随着通信技术的发展,对现有的时间同步技术的同步精度要求越来越高。尤其是5G无线通信的发展,对于网络设备的同步精度要求达到10纳秒以内级别,一般传统的GPS同步方式受限于环境及成本,而现有的基于以太网1588的同步方式精度受限于底层,时延不确定性,一般只能达到几十纳秒到微秒级别。
发明内容
本发明实施例提供了一种以太网时间同步方法及装置,以至少解决相关技术中基于以太网1588的同步方式,时延不确定,同步精度不高的问题。
根据本发明的一个实施例,提供了一种以太网时间同步方法,包括:在以太网的物理层PHY内部的物理编码子层PCS与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳;将所述AM时间戳携带在对应的1588事件报文中;根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。
可选地,对所述AM信号打上时间戳包括:对所述AM信号打上发送时间戳或对所述AM信号打上接收时间戳。
可选地,对所述AM信号打上发送时间戳包括:当AM随发送数据流通过所述PCS与所述PMA接口处时,AM检测逻辑检测到所述AM出现,并通知1588时间打戳功能模块记录下所述AM的发送时间戳;1588时间打戳功能模块将所述AM发送时间戳回传给所述MAC;所述MAC在发 送的对应的1588事件报文中携带所述AM发送时间戳。
可选地,在AM随发送数据流通过所述PCS与所述PMA接口处之前,还包括:所述MAC感知所述AM产生时间。
可选地,所述MAC在发送的1588事件报文中携带所述AM发送时间戳之前,还包括:所述MAC以感知的所述AM产生时间为起点,得到发送所述1588事件报文的时间窗口,并在所述时间窗口发送所述1588事件报文。
可选地,其中,所述时间窗口的起点是MAC感知当前AM通过PCS后,在PCS与PMA接口探测到的AM信号经过1588打戳功能打上时间戳后返回给MAC的AM时间戳的时刻之后,所述时间窗口的终点是MAC感知到下个AM的时刻。
可选地,1588时间打戳功能模块将所述AM发送时间戳回传给所述MAC之后,还包括:将所述AM发送时间戳缓存;当接收到下一个AM发送时间戳时,对缓存中的AM发送时间戳进行更新。
可选地,所述MAC在发送的1588事件报文中携带所述AM发送时间戳包括:将高层协议发送过来的所述1588事件报文进行缓存;将缓存后的1588事件报文在所述发送时间窗口内发送,发送时取出发送AM时间戳缓存中的AM时间戳插入到所述1588事件报文的时间戳字段中。
可选地,对所述AM信号打上接收时间戳包括:当AM随接收数据流通过所述PCS与所述PMA接口处时,AM检测逻辑检测到所述AM出现,并通知1588时间打戳功能模块记录下所述AM的接收时间戳;所述1588时间打戳功能模块将所述AM接收时间戳传给所述MAC;所述MAC将所述AM接收时间戳与接收到的对应的1588事件报文进行关联,并上报至高层协议。
可选地,所述PCS为多通道PCS或单通道PCS,当所述PCS为多通道PCS时,仅对其中一条通道中的AM信号打上时间戳。
根据本发明的另一个实施例,提供了一种以太网时间同步装置,包括: 时间戳功能模块,设置为在以太网的物理层PHY内部的物理编码子层PCS与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳;MAC模块,设置为将所述AM时间戳携带在对应的1588事件报文中;高层协议功能模块,设置为根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。
可选地,所述AM时间戳包括AM发送时间戳和AM接收时间戳。
可选地,所述装置还包括:AM检测逻辑,设置为当AM随发送数据流通过所述PCS与所述PMA接口处时,检测到所述AM出现时,通知所述时间戳功能模块记录下所述AM的发送时间戳;所述时间戳功能模块,还设置为将所述AM发送时间戳回传给MAC;所述MAC模块还设置为,在发送的对应的1588事件报文中携带所述AM发送时间戳。
可选地,所述MAC模块,还设置为感知所述AM产生时间。
可选地,所述MAC模块,还设置为以感知的所述AM产生时间为起点,得到发送所述1588事件报文的时间窗口,并在所述时间窗口发送所述1588事件报文。
可选地,其中,所述时间窗口的起点是MAC感知当前AM通过PCS后,在PCS与PMA接口探测到的AM信号经过1588打戳功能打上时间戳后返回给MAC的AM时间戳的时刻之后,所述时间窗口的终点是MAC感知到下个AM的时刻。
可选地,所述装置还包括:时间戳缓存模块,设置为将所述AM发送时间戳缓存,当接收到下一个AM发送时间戳时,对缓存中的AM发送时间戳进行更新。
可选地,所述装置还包括:1588事件报文缓存模块,设置为将高层协议发送过来的所述1588事件报文进行缓存;时间戳插入模块,设置为将缓存后的1588事件报文在所述发送时间窗口内发送,发送时取出发送AM时间戳缓存中的AM时间戳插入到所述1588事件报文的时间戳字段中。
可选地,所述装置还包括:AM检测逻辑,设置为当AM随接收数据 流通过所述PCS与所述PMA接口处时,检测到所述AM出现后,通知时间戳功能模块记录下所述AM的接收时间戳;所述时间打戳功能模块,设置为将所述AM接收时间戳传给所述MAC;所述MAC模块,还设置为将所述AM接收时间戳与接收到的对应的1588事件报文进行关联,并上报至高层协议。
可选地,所述PCS为多通道PCS或单通道PCS,当所述PCS为多通道PCS时,仅对其中一条通道中的AM信号打上时间戳。
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述方法实施例中的步骤。
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述方法实施例中的步骤。
在本发明的上述实施例中,基于1588同步方式,在PHY内部PCS与PMA接口处对固定周期AM信号打时间戳来替代1588事件报文头打时间戳,从而消除PCS内部时延误差的影响,提高时间同步精度。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的以太网时间同步方法的流程图;
图2是根据本发明实施例的边界A、B和C上1588事件报文消息头时打时间戳示意图;
图3是根据本发明实施例的边界AA以及各功能模块之间的关系示意图;
图4是根据本发明实施例在发送侧和接收侧在边界A和边界AA上发 送和接收同一个1588事件报文的时间关系示意图;
图5是根据本发明实施例的1588事件报文发送示意图。
图6是根据本发明实施例的以太网时间同步装置结构示意图;
图7是根据本发明另一实施例的以太网时间同步装置结构示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
为了克服现有技术中MAC与PHY接口处使用1588事件报文头打时间戳,存在PHY内部时延误差导致同步精度降低问题,本发明实施例提供一种时间同步方法。在本实施例中,基于1588同步方式,通过在PHY内部使用PCS AM标记打时间戳来代替现有的1588事件报文头打时间戳的方案,从而提高时间同步精度。
图1是根据本发明实施例的以太网时间同步方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,在以太网的物理层PHY内部的物理编码子层PCS与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳;
步骤S104,将所述AM时间戳携带在对应的1588事件报文中;
步骤S106,根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。
下面通过从发送方向和接收方向对上述实施例进行详细描述。
对于发送方向:
1.MAC感知每个AM产生时间。在本实施例中,可以是PCS内部产 生通知MAC,也可以是MAC帮PCS产生AM并送给PCS;
2.AM在PCS内随数据流处理完成通过PCS与PMA的接口处(称为AA点)时,AA点处发送AM检测逻辑会检测到AM出现,同时通知1588时间打戳功能模块记录下AM发送时间戳;
3. 1588时间打戳功能模块把AM发送时间戳回传给MAC;
4.MAC以每个AM感知的时间为起点,得到可以发送1588事件报文的时间窗口,1588事件报文控制在此窗口内发出,发出时报文内携带的时间戳字段改成当前收到的最新AM发送时间戳。
对于接收方向:
1.在AA点处接收AM检测逻辑会检测到AM出现,检测出现时通知1588时间打戳功能模块记录下AM接收时间戳;
2. 1588时间打戳功能模块把AM接收时间戳传给MAC;
3.MAC接收到发送的1588事件报文时,取上最新收到的AM接收时间戳,建立起此1588事件报文与接收AM时间戳的关联并一起上报高层协议功能模块。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本发明实施例还提供了一种以太网时间同步装置。该以太网时间同步装置包括以下模块:高层协议功能模块、1588时间打戳功能模块、PMA模块、MAC模块、PCS模块、发送接收AM检测功能模块。
其中,高层协议模块和PMA模块以及1588时间打戳模块与现有技术 基本相同,主要是对MAC模块和PCS模块的功能进行了相应的改造,对于发送接收AM检测功能模块是新增功能。
下面将对各模块的功能以及模块之间的数据交互进行详细的描述。
MAC将高层送来的发送数据报文经过处理成帧后送给PCS发送通路,将PCS接收通路收到的帧经过处理后给到高层协议模块。数据报文包括非1588事件的业务报文以及1588事件报文,对于1588发送事件报文,MAC需要把1588时间打戳功能模块最新送来的发送AM时间戳更新到报文字段内,对于MAC接收侧识别出来1588事件报文,MAC会把1588时间打戳功能模块最新送来的接收AM时间戳与当前1588报文关联并通知高层。
PCS发送方向收到MAC的发送帧后进行编码处理送给到PMA,PCS接收方向收到PMA的数据经过解码后把帧传给MAC。PCS发送方向如果MAC提供AM产生功能的话直接跳过AM产生逻辑做后续编码,如果PCS自己产生AM的话需要把AM产生时间点反馈给MAC。另外根据需要PCS可以提供一些辅助信息帮助外部发送接收AM检测功能模块。
发送接收AM检测功能模块在边界AA处检测PCS与PMA交互的发送和接收数据中的AM信息,检测到AM时通知1588时间打戳模块打上发送和接收AM时间戳。
1588时间打戳模块收到发送接收AM检测功能模块检测到AM时的收发两路打戳请求时,使用1588时钟记录下时间戳信息,再把此两路时间戳信息传给MAC。
与现有技术相比,在上述实施例中,使得底层延迟误差缩小,达到了时间同步精度提高效果。
下面结合附图对本发明实施例作进一步的详细描述:
如图2所示,现有的1588技术打时间戳位置从高层往下依次在边界C、边界B和边界A。其中,边界A为最底层边界,即MAC和PHY的边界。在边界位置上打时间戳的触发点为1588事件报文头。如果在最底层边界 A打戳,还存在PHY内部的时延误差影响时间同步精度。
如图3所示,在原来的边界A更底层,也就是PHY内的PCS层与PMA层之间设置边界AA,在边界AA去打时间戳,由于1588事件报文在此边界已经是随机数据很难识别,在此边界可以利用PCS内部本身存在且能识别的AM标识来打时间戳,用来代替1588事件报文头打戳。原1588事件报文在发送和接收触发打时间戳行为是同一个报文头数据,而现在发送和接收触发打时间戳行为是用同一个AM。
本发明实施例使用的AM为PCS协议中添加的特殊码型,发送时固定周期产生并且携带在PCS处理数据流中发送出去,接收时在数据流中的AM用于PCS接收同步对齐。如图4所示,AM是一种周期性产生的标识,具有固定周期P AM。从发送侧MAC感知到AM0,AM0经过PCS编码输出到边界AA,发送/接收AM检测功能模块在边界AA检测到AM0时通知1588时间打戳功能模块打上时间戳T AM0-TX,1588时间打戳模块再把此时间戳传回给MAC,这段来回传输时间为t AM-delay。因为PCS发送通路延迟存在不确定性,t AM-delay是一个不确定值,MAC需要保证AM0对应的时间戳传到MAC后,下一个AM1产生前的时间窗口W msg内才能发送出1588事件报文,否则发送接收与当前1588事件报文绑定的AM可能不是同一个AM。假设1588事件报文超出AM0对应的时间窗口上边界,即感知AM0后不足t AM-delay时间发出1588事件报文,由于事件报文发出时要取最新的AM发送时间戳,而这时AM0的发送时间戳还没返回就会取到历史值即上一个AM发送时间戳,这时这个1588事件报文在发送侧绑定的发送AM是上一个,而接收是绑定的当前AM0。假设1588事件报文超出AM0对应的时间窗口下边界即在感知AM1之后,发送AM1的时间戳没更新好时发送1588事件,发送侧绑定的AM还是AM0,但是接收侧绑定的可能是AM1。
如图5所示,发送侧1588事件报文在边界A点控制在AM0发送窗口发送。此时,发送事件报文内部时间戳字段被更新成AA点发送AM0 的时间戳T AM0-TX。发送事件报文经过发送侧AA点后通过底层传输来到接收侧的AA点,此时,AM0在发送事件报文通过前就已经来到接收侧AA点,并被接收AM检测功能模块检测到。接收AM0时间戳T AM0-RX被1588时间打戳功能模块记录,并赶在接收侧A点收到1588事件报文之前到达,因此,A点收到发送对应的1588事件报文时绑定使用的最新接收AM时间戳为接收AM0时间戳T AM0-RX
由于高层协议并不知晓底层窗口时间,而且高层到MAC的延迟也是不固定的,因此MAC收到1588事件报文的时刻是随机的。而1588事件报文有发送时间窗口限制,不能对1588报文即时转发,其他报文没有此限制,因此MAC发送通路对于此处有额外的控制。其结构如图5所示。
经高层协议功能模块发送过来的报文经过报文识别分发后,分离出1588事件报文写入到1588事件报文缓存模块。如果1588事件报文缓存模块有报文进入,则把缓存状态发给时间窗口控制模块。时间窗口控制模块得到的时间窗口内看到缓存状态非空且报文识别分发模块没检测到报文发送时,输出报文暂定请求通知源头不要发包,然后通知1588事件报文缓存模块读取报文,同时给数据选择模块切换到选择1588时间报文输出。1588事件报文缓存模块输出报文到时间戳插入模块时,时间戳插入模块从发送AM时间戳缓存中读出时间戳插入到报文内部字段最后经过数据选择模块选中输出。
对于AM时间戳缓存模块,每个AM发送后都会输入给AM时间戳缓存模块发送AM时间戳,每次输入把旧的值更新成最新输入值。
送入发送AM时间戳时发完1588事件报文后,1588事件报文缓存模块的缓存状态为空,时间窗口控制模块收回发送报文暂停,并且收回事件报文读出指示和1588事件报文数据选择控制,发送的非1588事件报文穿过报文数据选择模块输出。
本发明实施例提供的上述技术方案适用于所有在PCS中使用了AM的系统中,包括多lane的PCS以及单lane使用了RSFEC(里德所罗门前 向纠错编码)场景。对于多lane场景,只需要对其中1条物理lane的AM打时间戳。尤其是对于复杂的多lane场景由于每条lane的延迟不一至,PCS延迟不确定性更大,对于这种系统的时间同步精度收益更大。
在本实施例中还提供了一种以太网时间同步装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
本发明实施例提供了一种以太网时间同步装置。图6是根据本发明实施例的以太网时间同步装置结构框图。本实施例的在模块功能的划分上与前文中的装置实施例有所不同。如图6所示,该装置包括:时间打戳功能模块10、MAC模块20和高层协议功能模块30。
时间戳功能模块10设置为在以太网的物理层PHY内部的物理编码子层与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳。MAC模块20设置为将所述AM时间戳携带在对应的1588事件报文中。高层协议功能模块30设置为根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。
图7是根据本发明实施例的以太网时间同步装置的结构框图,如图7所示,该装置除包括图6所示的所有模块外,还包括AM检测逻辑40、物理编码子层模块50、时间戳缓存模块60、报文缓存模块70和时间戳插入模块80。
AM检测逻辑40设置为当AM随发送数据流通过所述PCS与所述PMA接口处时,检测到所述AM出现时,通知所述时间打戳功能模块记录下所述AM的发送时间戳。
所述时间打戳功能模块10还设置为将所述AM发送时间戳回传给所述MAC模块20。所述MAC模块50还设置为在发送的对应的1588事件报文中携带所述AM发送时间戳。
所述MAC模块20还设置为以感知的所述AM产生时间为起点,得到发送所述1588事件报文的时间窗口,并在所述时间窗口发送所述1588事件报文。
时间戳缓存模块60设置为将所述AM发送时间戳缓存,当接收到下一个AM发送时间戳时,对缓存中的AM发送时间戳进行更新。
报文缓存模块70设置为将高层协议功能模块30发送过来的所述1588事件报文进行缓存。
时间戳插入模块80设置为将所述缓存中的发送AM时间戳插入到所述1588事件报文的时间戳字段中。
AM检测逻辑40还设置为当AM随接收数据流通过所述PCS与所述PMA接口处时,检测到所述AM出现后,通知时间戳功能模块记录下所述AM的发送时间戳;
所述时间戳功能模块10还设置为将所述AM接收时间戳传给所述MAC。
所述MAC模块20还设置为将所述AM接收时间戳与接收到的对应的1588事件报文进行关联,并上报至高层协议功能模块30。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述方法实施例中的步骤。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存 储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述方法实施例中的步骤。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (20)

  1. 一种以太网时间同步方法,包括:
    在以太网的物理层PHY内部的物理编码子层PCS与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳;
    将所述AM时间戳携带在对应的1588事件报文中;
    根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。
  2. 根据权利要求1所述的方法,其中,对所述AM信号打上时间戳包括:
    对所述AM信号打上发送时间戳或对所述AM信号打上接收时间戳。
  3. 根据权利要求2所述的方法,其中,对所述AM信号打上发送时间戳包括:
    当AM随发送数据流通过所述PCS与所述PMA接口处时,AM检测逻辑检测到所述AM出现,并通知1588时间打戳功能模块记录下所述AM的发送时间戳;
    1588时间打戳功能模块将所述AM发送时间戳回传给所述MAC;
    所述MAC在发送的对应的1588事件报文中携带所述AM发送时间戳。
  4. 根据权利要求3所述的方法,其中,在AM随发送数据流通过所述PCS与所述PMA接口处之前,还包括:
    所述MAC感知所述AM产生时间。
  5. 根据权利要求4所述的方法,其中,所述MAC在发送的1588事件报文中携带所述AM发送时间戳之前,还包括:
    所述MAC以感知的所述AM产生时间为起点,得到发送所述1588事件报文的时间窗口,并在所述时间窗口发送所述1588事件报文。
  6. 根据权利要求5所述的方法,其中,其中,所述时间窗口的起点是MAC感知当前AM通过PCS后,在PCS与PMA接口探测到的AM信号经过1588打戳功能打上时间戳后返回给MAC的AM时间戳的时刻之后,所述时间窗口的终点是MAC感知到下个AM的时刻。
  7. 根据权利要求5所述的方法,其中,1588时间打戳功能模块将所述AM发送时间戳回传给所述MAC之后,还包括:
    将所述AM发送时间戳缓存;
    当接收到下一个AM发送时间戳时,对缓存中的AM发送时间戳进行更新。
  8. 根据权利要求7所述的方法,其中,所述MAC在发送的1588事件报文中携带所述AM发送时间戳包括:
    将高层协议发送过来的所述1588事件报文进行缓存;
    将缓存后的1588事件报文在所述发送时间窗口内发送,发送时取出发送AM时间戳缓存中的AM时间戳插入到所述1588事件报文的时间戳字段中。
  9. 根据权利要求2所述的方法,其中,对所述AM信号打上接收时间戳包括:
    当AM随接收数据流通过所述PCS与所述PMA接口处时,AM检测逻辑检测到所述AM出现,并通知1588时间打戳功能模块记录下所述AM的接收时间戳;
    所述1588时间打戳功能模块将所述AM接收时间戳传给所述MAC;
    所述MAC将所述AM接收时间戳与接收到的对应的1588事件报文进行关联,并上报至高层协议。
  10. 根据权利要求1所述的方法,其中,所述PCS为多通道PCS或单通道PCS,当所述PCS为多通道PCS时,仅对其中一条通道中 的AM信号打上时间戳。
  11. 一种以太网时间同步装置,包括:
    时间戳功能模块,设置为在以太网的物理层PHY内部的物理编码子层PCS与物理媒体附加子层PMA接口处,对对齐标识AM信号打上时间戳;
    MAC模块,设置为将所述AM时间戳携带在对应的1588事件报文中;
    高层协议功能模块,设置为根据发送和接收的1588事件报文中携带的AM时间戳进行时间同步。
  12. 根据权利要求11所述的装置,其中,所述AM时间戳包括AM发送时间戳和AM接收时间戳。
  13. 根据权利要求12所述的装置,其中,还包括:
    AM检测逻辑,设置为当AM随发送数据流通过所述PCS与所述PMA接口处时,检测到所述AM出现时,通知所述时间戳功能模块记录下所述AM的发送时间戳;
    所述时间戳功能模块,还设置为将所述AM发送时间戳回传给所述MAC模块;
    所述MAC模块还设置为,在发送的对应的1588事件报文中携带所述AM发送时间戳。
  14. 根据权利要求13所述的装置,其中,所述MAC模块,还设置为感知所述AM产生时间。
  15. 根据权利要求14所述的装置,其中,
    所述MAC模块,还设置为以感知的所述AM产生时间为起点,得到发送所述1588事件报文的时间窗口,并在所述时间窗口发送所述1588事件报文。
  16. 根据权利要求15所述的装置,其中,所述时间窗口的起点是MAC感知当前AM通过PCS后,在PCS与PMA接口探测到的AM信号经过1588打戳功能打上时间戳后返回给MAC的AM时间戳的时刻之后,所述时间窗口的终点是MAC感知到下个AM的时刻。
  17. 根据权利要求15所述的装置,其中,还包括:
    时间戳缓存模块,设置为将所述AM发送时间戳缓存,当接收到下一个AM发送时间戳时,对缓存中的AM发送时间戳进行更新。
  18. 根据权利要求17所述的装置,其中,还包括:
    1588事件报文缓存模块,设置为将高层协议发送过来的所述1588事件报文进行缓存;
    时间戳插入模块,设置为将缓存后的1588事件报文在所述发送时间窗口内发送,发送时取出发送AM时间戳缓存中的AM时间戳插入到所述1588事件报文的时间戳字段中。
  19. 根据权利要求12所述的装置,其中,还包括:
    AM检测逻辑,设置为当AM随接收数据流通过所述PCS与所述PMA接口处时,检测到所述AM出现后,通知时间戳功能模块记录下所述AM的接收时间戳;
    所述时间打戳功能模块,设置为将所述AM接收时间戳传给所述MAC;
    所述MAC模块,还设置为将所述AM接收时间戳与接收到的对应的1588事件报文进行关联,并上报至高层协议。
  20. 根据权利要求11所述的装置,其中,所述PCS为多通道PCS或单通道PCS,当所述PCS为多通道PCS时,仅对其中一条通道中的AM信号打上时间戳。
PCT/CN2020/129834 2019-11-19 2020-11-18 以太网时间同步方法及装置 WO2021098733A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP20891021.6A EP4064589A4 (en) 2019-11-19 2020-11-18 ETHERNET TIME SYNCHRONIZATION METHOD AND APPARATUS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911136134.5 2019-11-19
CN201911136134.5A CN112910588A (zh) 2019-11-19 2019-11-19 以太网时间同步方法及装置

Publications (1)

Publication Number Publication Date
WO2021098733A1 true WO2021098733A1 (zh) 2021-05-27

Family

ID=75980306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/129834 WO2021098733A1 (zh) 2019-11-19 2020-11-18 以太网时间同步方法及装置

Country Status (3)

Country Link
EP (1) EP4064589A4 (zh)
CN (1) CN112910588A (zh)
WO (1) WO2021098733A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970095A (zh) * 2012-11-26 2013-03-13 杭州电子科技大学 应用于dcs的时钟同步电路
CN103647615A (zh) * 2013-12-05 2014-03-19 华为技术有限公司 报文传输过程中延迟抖动消除方法及装置
CN103812592A (zh) * 2014-02-13 2014-05-21 南京航空航天大学 基于链状工业以太网的时间同步协议系统及同步方法
US20190273571A1 (en) * 2019-05-13 2019-09-05 Intel Corporation High accuracy time stamping for multi-lane ports

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9602271B2 (en) * 2015-06-01 2017-03-21 Globalfoundries Inc. Sub-nanosecond distributed clock synchronization using alignment marker in ethernet IEEE 1588 protocol
CN108880723B (zh) * 2017-05-16 2020-12-11 深圳市中兴软件有限责任公司 一种时钟同步的方法和装置
CN109687927B (zh) * 2017-10-19 2020-07-07 深圳市中兴微电子技术有限公司 一种确定时间戳的方法、通信设备和通信系统
AU2017437863B2 (en) * 2017-10-30 2023-04-06 Huawei Technologies Co., Ltd. Clock synchronization method and apparatus
CN110224775B (zh) * 2018-03-01 2021-10-29 中兴通讯股份有限公司 一种时间信息确定的方法、装置及设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970095A (zh) * 2012-11-26 2013-03-13 杭州电子科技大学 应用于dcs的时钟同步电路
CN103647615A (zh) * 2013-12-05 2014-03-19 华为技术有限公司 报文传输过程中延迟抖动消除方法及装置
CN103812592A (zh) * 2014-02-13 2014-05-21 南京航空航天大学 基于链状工业以太网的时间同步协议系统及同步方法
US20190273571A1 (en) * 2019-05-13 2019-09-05 Intel Corporation High accuracy time stamping for multi-lane ports

Also Published As

Publication number Publication date
EP4064589A1 (en) 2022-09-28
CN112910588A (zh) 2021-06-04
EP4064589A4 (en) 2023-01-11

Similar Documents

Publication Publication Date Title
US8001225B2 (en) Server time protocol messages and methods
KR101298640B1 (ko) 전송 스트림 패킷을 전송하는 방법 및 장치
US20110188380A1 (en) Packet loss rate detection method, apparatus, and system
JP2006174446A (ja) データ・パケットのストリーミングを行う装置および方法
US20200295874A1 (en) Check code processing method, electronic device and storage medium
WO2015096636A1 (zh) 一种丢包测量的方法及网络设备
EP2919406B1 (en) Method and apparatus for checking data frame length
US8274374B2 (en) Synchronization method between reader and tag
CN107517110A (zh) 一种分布式系统中单板配置自恢复方法及装置
WO2021098733A1 (zh) 以太网时间同步方法及装置
CN108183762B (zh) RapidIO网络系统和RapidIO网络系统的时间同步方法
US9781691B2 (en) Wireless communication device, non-transitory computer readable medium, and wireless communication system
JP2007101457A (ja) 送信装置及び受信装置及び時刻通知方法及び時刻設定方法
US20240056370A1 (en) Data transmission control method and apparatus, electronic device, and storage medium
CN103401813A (zh) 一种非对称延迟补偿方法及交换机
CN210093258U (zh) 一种地铁综合监控系统实时数据跨网摆渡装置
CN109995453B (zh) 一种信息处理方法、装置、设备及计算机可读存储介质
CN101867455A (zh) 板间信息传递方法和装置
KR101973264B1 (ko) PTP(precision time protocol) 시스템에서의 시간 동기 장애 복구 방법 및 그 장치
WO2021098721A1 (zh) 时戳配置方法及装置、时钟同步方法及装置、存储介质、电子装置
CN113300874B (zh) 网络性能检测系统及方法
KR102366070B1 (ko) 이기종 시스템의 동기화 방법 및 그 시스템
CN116582412B (zh) Otn跨芯片发送、接收开销及请求的方法、装置和介质
WO2021147042A1 (zh) 一种时间同步方法及设备
JP2022129027A (ja) 処理装置、プログラム、処理方法および処理システム

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020891021

Country of ref document: EP

Effective date: 20220620