[go: up one dir, main page]

CN102301639B - Method and device for correcting clock jitter - Google Patents

Method and device for correcting clock jitter Download PDF

Info

Publication number
CN102301639B
CN102301639B CN201180001223.4A CN201180001223A CN102301639B CN 102301639 B CN102301639 B CN 102301639B CN 201180001223 A CN201180001223 A CN 201180001223A CN 102301639 B CN102301639 B CN 102301639B
Authority
CN
China
Prior art keywords
clock
ethernet
frame
buffer
data
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
Application number
CN201180001223.4A
Other languages
Chinese (zh)
Other versions
CN102301639A (en
Inventor
陈维超
沈莹
张瑜
李亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102301639A publication Critical patent/CN102301639A/en
Application granted granted Critical
Publication of CN102301639B publication Critical patent/CN102301639B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/413Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/07Synchronising arrangements using pulse stuffing for systems with different or fluctuating information rates or bit rates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

本发明实施例提供了校正时钟抖动的方法和装置。该方法包括:按照从接收数据中恢复的以太网时钟将接收数据输入缓存器,接收数据包括以太帧和相邻以太帧之间的帧间间隔;在按照本地时钟从缓存器读取接收数据的过程中,如果缓存器中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,或者,如果缓存器中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从缓存器输出的输出数据,其中本地时钟与以太网时钟相同步。基于上述技术方案,可以降低以太网引入的时钟抖动对后续系统处理的影响,使得可以满足对时钟抖动的限制要求,将时钟抖动限制在指标可接受的范围内。

Embodiments of the present invention provide a method and device for correcting clock jitter. The method comprises: inputting received data into a buffer according to an Ethernet clock recovered from the received data, the received data including an Ethernet frame and an inter-frame space between adjacent Ethernet frames; reading the received data from the buffer according to a local clock During the process, if the amount of received data buffered in the buffer exceeds the first threshold, the first predetermined amount of invalid data is deducted in the inter-frame interval, or, if the amount of received data buffered in the buffer is lower than the first threshold two thresholds, a second predetermined amount of invalid data is inserted in the inter-frame space to obtain output data output from the buffer, wherein the local clock is synchronized with the Ethernet clock. Based on the above technical solution, the impact of the clock jitter introduced by the Ethernet on the subsequent system processing can be reduced, so that the limitation requirements on the clock jitter can be met, and the clock jitter can be limited within an acceptable range of the index.

Description

校正时钟抖动的方法和装置Method and device for correcting clock jitter

技术领域 technical field

本发明涉及通信领域,并且更具体地,涉及通信领域中校正时钟抖动的方法和装置。The present invention relates to the field of communication, and more particularly, to a method and device for correcting clock jitter in the field of communication.

背景技术 Background technique

通用公共无线接口(The Common Public Radio Interface,CPRI)定义了无线设备控制器(Radio Equipment Controller,REC)与无线设备(RadioEquipment,RE)之间的接口关系,构成基站的一种拉远系统。The Common Public Radio Interface (CPRI) defines the interface relationship between the radio equipment controller (Radio Equipment Controller, REC) and the radio equipment (Radio Equipment, RE), and constitutes a remote system of the base station.

目前不仅存在非分组CPRI传输,还存在分组CPRI传输。在分组CPRI传输中,将CPRI基帧封装在以太帧中进行传输,此时CPRI基帧将穿越以太网而到达接收端。Currently there are not only non-packet CPRI transmissions, but also packet CPRI transmissions. In packet CPRI transmission, the CPRI basic frame is encapsulated in an Ethernet frame for transmission, and at this time, the CPRI basic frame will pass through the Ethernet to reach the receiving end.

举例来说,当REC通过以太网向RE发送CPRI基帧时,REC在CPRI主时钟的作用下生成CPRI基帧,每个CPRI基帧具有260.4ns的长度,且相邻CPRI基帧之间没有间隔。为了将CPRI基帧送入以太网,需要将CPRI时钟转换为以太网时钟并将CPRI基帧数据携带在以太帧中,相邻以太帧的帧头距离希望保持在260.4ns。但是,当将以太帧输出到以太链路之后,通过以太网交换机的转发,隔离了通信双方的时钟,并为以太帧引入了较大的时钟抖动,使得RE接收到的以太帧的帧头距离出现较大抖动。RE经过时钟域转换将以太网时钟转换为CPRI从时钟之后,对于从以太帧得到的CPRI基帧而言,每个CPRI基帧的长度出现较大抖动,很难满足CPRI系统要求的REC主时钟和RE从时钟之间的抖动小于0.002ppm的指标,使得RE从时钟很难锁到REC主时钟,对后续的CPRI基帧处理带来不利影响。For example, when REC sends CPRI basic frames to RE through Ethernet, REC generates CPRI basic frames under the action of CPRI master clock, each CPRI basic frame has a length of 260.4ns, and there is no interval. In order to send the CPRI basic frame to the Ethernet, it is necessary to convert the CPRI clock into an Ethernet clock and carry the data of the CPRI basic frame in the Ethernet frame. The frame header distance between adjacent Ethernet frames is expected to be kept at 260.4 ns. However, after the Ethernet frame is output to the Ethernet link, the clocks of the two communication parties are isolated through the forwarding of the Ethernet switch, and a large clock jitter is introduced for the Ethernet frame, so that the frame header distance of the Ethernet frame received by the RE is Large jitter occurs. After the RE converts the Ethernet clock into a CPRI slave clock through clock domain conversion, for the CPRI base frame obtained from the Ethernet frame, the length of each CPRI base frame has a large jitter, and it is difficult to meet the REC master clock required by the CPRI system The jitter between the RE slave clock and the RE slave clock is less than 0.002ppm, making it difficult for the RE slave clock to lock to the REC master clock, which will adversely affect subsequent CPRI basic frame processing.

由此可见,当携带有CPRI基帧数据的以太帧在以太网中传输时,由于时钟抖动的存在,使得虽然从REC输出的以太帧具有相等的帧间间隔,但是RE接收到的以太帧的帧间间隔出现抖动,以太帧的间隔变得杂乱无章。由于以太帧之间的帧间间隔抖动,导致从以太帧中提取出的CPRI基帧出现抖动,CPRI基帧之间的间隔时大时小,这不能满足CPRI系统要求的抖动指标,为CPRI基帧的实时快速处理造成了极大的困难,甚至引起后续对CPRI基帧处理的崩溃。It can be seen that when the Ethernet frame carrying the CPRI basic frame data is transmitted in the Ethernet, due to the existence of clock jitter, although the Ethernet frame output from the REC has an equal inter-frame interval, the Ethernet frame received by the RE There is jitter in the inter-frame interval, and the spacing of the Ethernet frames becomes haphazard. Due to the jitter of the inter-frame interval between Ethernet frames, the CPRI base frame extracted from the Ethernet frame jitters, and the interval between CPRI base frames varies from time to time, which cannot meet the jitter index required by the CPRI system. The real-time and fast processing of frames has caused great difficulties, and even caused the subsequent collapse of CPRI basic frame processing.

发明内容 Contents of the invention

本发明实施例提供了校正时钟抖动的方法和装置,能够降低以太网引入的时钟抖动对后续系统处理的影响,使得可以满足对时钟抖动的限制要求,将时钟抖动限制在指标可接受的范围内。Embodiments of the present invention provide a method and device for correcting clock jitter, which can reduce the impact of clock jitter introduced by Ethernet on subsequent system processing, so that the limitation requirements for clock jitter can be met, and the clock jitter can be limited within an acceptable range of indicators .

本发明的一方面,提供了一种校正时钟抖动的方法,包括:按照从接收数据中恢复的以太网时钟将所述接收数据输入缓存器,所述接收数据包括以太帧和相邻以太帧之间的帧间间隔;在按照本地时钟从所述缓存器读取所述接收数据的过程中,如果所述缓存器中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,或者,如果所述缓存器中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从所述缓存器输出的输出数据,其中所述本地时钟与所述以太网时钟相同步。One aspect of the present invention provides a method for correcting clock jitter, including: inputting the received data into a buffer according to the Ethernet clock recovered from the received data, the received data including the difference between an Ethernet frame and adjacent Ethernet frames In the process of reading the received data from the buffer according to the local clock, if the data volume of the received data buffered in the buffer exceeds the first threshold, the inter-frame interval will be deducted A first predetermined amount of invalid data, or, if the amount of received data buffered in the buffer is lower than a second threshold, inserting a second predetermined amount of invalid data in the inter-frame space, obtained from the buffer Output data output where the local clock is synchronized to the Ethernet clock.

本发明的另一方面,提供了一种用于校正时钟抖动的装置,包括:时钟恢复模块,用于从接收数据中恢复以太网时钟,所述接收数据包括以太帧和相邻以太帧之间的帧间间隔;缓存器,用于缓存按照所述以太网时钟输入的接收数据;本地时钟,用于为从所述缓存器读取所述接收数据提供时钟频率;抖动校正模块,用于在按照所述本地时钟从所述缓存器读取所述接收数据的过程中,如果所述缓存器中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,或者,如果所述缓存器中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从所述缓存器输出的输出数据,其中所述本地时钟与所述以太网时钟相同步。Another aspect of the present invention provides a device for correcting clock jitter, including: a clock recovery module, used to recover the Ethernet clock from received data, the received data includes Ethernet frames and the time between adjacent Ethernet frames The interframe interval; the buffer, used for buffering the received data input according to the Ethernet clock; the local clock, used for providing the clock frequency for reading the received data from the buffer; the jitter correction module, used for During the process of reading the received data from the buffer according to the local clock, if the amount of received data buffered in the buffer exceeds a first threshold, deduct a first predetermined number of invalid data, or, if the amount of received data buffered in the buffer is lower than a second threshold, inserting a second predetermined amount of invalid data in the inter-frame space to obtain output data output from the buffer, Wherein the local clock is synchronized with the Ethernet clock.

基于上述技术方案,接收数据按照以太网时钟输入缓存器、并按照与以太网时钟相同步的本地时钟输出缓存器,利用缓存器中缓存的数据量与门限的关系,对接收数据中的帧间间隔数据进行去除和插入,从而可以校正以太网引入的时钟抖动,使得从缓存器输出的输出数据具有平稳的数据流形式,由此可以降低以太网引入的时钟抖动对后续系统处理的影响,可以将时钟抖动限制在后续系统处理可接受的范围内。Based on the above technical scheme, the received data is input into the buffer according to the Ethernet clock, and output into the buffer according to the local clock synchronized with the Ethernet clock. Interval data is removed and inserted, so that the clock jitter introduced by Ethernet can be corrected, so that the output data output from the buffer has a stable data flow form, which can reduce the impact of clock jitter introduced by Ethernet on subsequent system processing, and can Limit clock jitter to an acceptable range for subsequent system processing.

附图说明 Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without any creative work.

图1是应用场景的例子的示意图。FIG. 1 is a schematic diagram of an example of an application scenario.

图2是根据本发明实施例的校正时钟抖动的方法的流程图。Fig. 2 is a flowchart of a method for correcting clock jitter according to an embodiment of the present invention.

图3是根据本发明实施例的通过扣除和插入无效数据来校正时钟抖动的方法的流程图。FIG. 3 is a flowchart of a method for correcting clock jitter by subtracting and inserting invalid data according to an embodiment of the present invention.

图4是根据本发明实施例的将本地时钟与以太网时钟进行同步的方法的流程图。Fig. 4 is a flowchart of a method for synchronizing a local clock with an Ethernet clock according to an embodiment of the present invention.

图5是根据本发明实施例的将本地时钟与以太网时钟进行同步的方法的实现框图。Fig. 5 is an implementation block diagram of a method for synchronizing a local clock with an Ethernet clock according to an embodiment of the present invention.

图6是实现图5所示方法的具体例子的示意图。FIG. 6 is a schematic diagram of a specific example of implementing the method shown in FIG. 5 .

图7是根据本发明实施例的校正时钟抖动的方法的具体例子的实现框图。Fig. 7 is an implementation block diagram of a specific example of a method for correcting clock jitter according to an embodiment of the present invention.

图8是根据本发明实施例的用于校正时钟抖动的装置的结构框图。Fig. 8 is a structural block diagram of an apparatus for correcting clock jitter according to an embodiment of the present invention.

图9是根据本发明实施例的用于校正时钟抖动的另一装置的结构框图。Fig. 9 is a structural block diagram of another device for correcting clock jitter according to an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的所述实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The following will clearly and completely describe the technical solutions of the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

首先,结合图1描述利用本发明实施例提供的校正时钟抖动的方法的具体场景。该具体场景只是一个例子,并不对本发明的保护范围构成任何限制。First, a specific scenario of using the method for correcting clock jitter provided by the embodiment of the present invention will be described with reference to FIG. 1 . This specific scene is just an example, and does not constitute any limitation to the protection scope of the present invention.

在图1所示的应用场景中,发送端可以为REC,此时接收端为RE;或者,发送端也可以为RE,此时接收端为REC。为了描述的简便,下面以发送端为REC、接收端为RE为例进行描述。In the application scenario shown in FIG. 1 , the sending end may be a REC, and the receiving end is an RE at this time; or, the sending end may also be an RE, and the receiving end is an REC at this time. For simplicity of description, the following description will be made by taking the REC as the sending end and the RE as the receiving end as an example.

例如,REC根据CPRI时钟生成CPRI基帧,每个CPRI基帧可以为260.4ns。为了将CPRI基帧通过以太网传输,经过时钟域转换处理、帧转换处理,CPRI基帧中的有效数据封装在以太帧中。其中,REC中的时钟域转换可以将CPRI时钟转换为以太网时钟,REC中的帧转换可以通过解CPRI基帧,将其中的有效数据提取出来,再将有效数据携带在以太帧中而组合成以太帧,每个以太帧加上之后的帧间间隔为260.4ns。但由于时钟域转换引入很小的随机抖动A,因此每个以太帧加上之后的帧间间隔为260.4ns+A。For example, the REC generates CPRI basic frames according to the CPRI clock, and each CPRI basic frame may be 260.4 ns. In order to transmit the CPRI basic frame through the Ethernet, after clock domain conversion processing and frame conversion processing, valid data in the CPRI basic frame is encapsulated in the Ethernet frame. Among them, the clock domain conversion in REC can convert the CPRI clock into an Ethernet clock, and the frame conversion in REC can extract the valid data from the CPRI base frame by decomposing it, and then carry the valid data in the Ethernet frame to form a Ethernet frame, each Ethernet frame plus the interval between frames is 260.4ns. However, due to the small random jitter A introduced by the clock domain conversion, the inter-frame interval after adding each Ethernet frame is 260.4ns+A.

以太帧经由以太网进行传输的过程中,由于以太网交换机等的影响,为以太帧引入较大的随机抖动B,因此,RE接收到的以太帧的帧头间隔为260.4ns+A+B,超出了0.002ppm的限制指标。During the transmission of Ethernet frames via Ethernet, large random jitter B is introduced into the Ethernet frames due to the influence of Ethernet switches. Therefore, the frame header interval of the Ethernet frames received by the RE is 260.4ns+A+B, Exceeded the limit index of 0.002ppm.

如果直接从RE接收到的以太帧中获取CPRI基帧,CPRI基帧将具有较大的时钟抖动,不能满足CPRI标准要求的时钟抖动维持在0.002ppm范围内的要求,对CPRI基帧的后续处理将受到影响,甚至引起系统的崩溃。因此,需要对RE接收到的以太帧校正时钟抖动。If the CPRI base frame is obtained directly from the Ethernet frame received by the RE, the CPRI base frame will have a large clock jitter, which cannot meet the requirements of the CPRI standard to maintain the clock jitter within the range of 0.002ppm. The subsequent processing of the CPRI base frame Will be affected, and even cause the system to crash. Therefore, clock jitter needs to be corrected for the Ethernet frames received by the RE.

在RE内的时钟抖动校正模块中利用根据本发明实施例的校正时钟抖动的方法,从而可以梳理RE接收到的具有较大时钟抖动的以太帧,使得相邻以太帧的帧头之间的距离维持在260.4ns+C,C是方差小于0.002ppm的随机抖动。当经过时钟域转换处理、帧转换处理之后,可以为后续处理CPRI基帧的系统输出具有260.4ns+D长度的CPRI基帧。RE中的时钟域转换可以将以太网时钟转换为CPRI时钟,RE中的帧转换可以通过解以太帧,将其中的CPRI基帧的有效数据提取出来,再将有效数据组成为CPRI基帧。由于时钟域转换处理新带来的抖动很小,因此在RE中得到的CPRI基帧的抖动D仍可以维持在小于0.002ppm的随机抖动内。从而,对于REC发送的CPRI基帧和RE接收到的CPRI基帧而言,可以将时钟抖动控制在0.002ppm之内,从而满足CPRI标准对时钟抖动指标的要求,有利于后续系统的处理。此外,由于在RE内使用的以太网时钟和CPRI时钟都是基于本地时钟产生的,如果本地时钟是高稳时钟,则以太网时钟和CPRI时钟都是高稳时钟。The method for correcting clock jitter according to the embodiment of the present invention is used in the clock jitter correction module in the RE, so that the Ethernet frames with large clock jitter received by the RE can be sorted out, so that the distance between the frame headers of adjacent Ethernet frames Maintain at 260.4ns+C, C is random jitter with variance less than 0.002ppm. After clock domain conversion processing and frame conversion processing, the CPRI basic frame with a length of 260.4 ns+D can be output for a system that subsequently processes the CPRI basic frame. The clock domain conversion in the RE can convert the Ethernet clock into a CPRI clock, and the frame conversion in the RE can extract the valid data of the CPRI basic frame from the Ethernet frame, and then compose the valid data into a CPRI basic frame. Since the jitter newly brought by the clock domain conversion process is very small, the jitter D of the CPRI base frame obtained in the RE can still be maintained within a random jitter of less than 0.002ppm. Therefore, for the CPRI basic frame sent by the REC and the CPRI basic frame received by the RE, the clock jitter can be controlled within 0.002ppm, thereby meeting the clock jitter index requirement of the CPRI standard and facilitating subsequent system processing. In addition, since the Ethernet clock and the CPRI clock used in the RE are generated based on the local clock, if the local clock is a high-stable clock, the Ethernet clock and the CPRI clock are both high-stable clocks.

接下来,参考图2详细描述根据本发明实施例的校正时钟抖动的方法。Next, a method for correcting clock jitter according to an embodiment of the present invention will be described in detail with reference to FIG. 2 .

如图2所示,图2的方法包括:As shown in Figure 2, the method in Figure 2 includes:

S210中,按照从接收数据中恢复的以太网时钟将接收数据输入缓存器,接收数据包括以太帧和相邻以太帧之间的帧间间隔。In S210, the received data is input into the buffer according to the Ethernet clock recovered from the received data, and the received data includes an Ethernet frame and an inter-frame space between adjacent Ethernet frames.

作为一个示例,接收数据可以是上述通过高速以太网传输的以太帧;而以太帧可以用于携带CPRI帧数据。As an example, the received data may be the aforementioned Ethernet frame transmitted through the high-speed Ethernet; and the Ethernet frame may be used to carry CPRI frame data.

S220中,在按照本地时钟从缓存器读取接收数据的过程中,如果缓存器中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,如果缓存器中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从缓存器输出的输出数据,其中本地时钟与以太网时钟相同步。In S220, during the process of reading the received data from the buffer according to the local clock, if the data volume of the received data buffered in the buffer exceeds the first threshold, deduct the first predetermined amount of invalid data in the inter-frame interval, if If the amount of received data buffered in the buffer is lower than the second threshold, a second predetermined amount of invalid data is inserted into the inter-frame space to obtain output data output from the buffer, wherein the local clock is synchronized with the Ethernet clock.

其中,对于缓存接收数据的缓存器而言,缓存器的写时钟为以太网时钟,该时钟可以从接收数据中恢复,缓存器的读时钟为本地时钟,本地时钟需要与以太网时钟相同步。通过缓存器将以太网域与本地时钟域相隔离。缓存器可以是在存储器中开辟出来的一块存储空间,用来对接收数据进行缓存,并在接收数据的输入输出过程中,帮助实现时钟抖动的校正。Wherein, for a buffer that buffers received data, the write clock of the buffer is an Ethernet clock, which can be recovered from the received data, and the read clock of the buffer is a local clock, and the local clock needs to be synchronized with the Ethernet clock. The Ethernet domain is isolated from the local clock domain by buffers. The buffer may be a storage space opened up in the memory, which is used to buffer the received data, and helps to correct the clock jitter during the input and output of the received data.

缓存器缓存的接收数据包括以太帧和帧间间隔。在以太帧中可以携带其他协议下的数据。例如,可以在以太帧中携带CPRI协议下的数据,通过以太帧传输CPRI帧数据。The received data buffered by the buffer includes the Ethernet frame and the inter-frame space. Data under other protocols can be carried in the Ethernet frame. For example, the data under the CPRI protocol can be carried in the Ethernet frame, and the CPRI frame data is transmitted through the Ethernet frame.

根据本发明的一个实施例,本地时钟可以为高稳时钟。这样,本地时钟具有较好的稳定性,有利于后续系统的处理。According to an embodiment of the present invention, the local clock may be a high-stable clock. In this way, the local clock has better stability, which is beneficial to subsequent system processing.

通过在S220中对帧间间隔中的无效数据进行多扣少补,可以实现对时钟抖动的校正。Correction of clock jitter can be realized by performing more deductions and less supplements on invalid data in the inter-frame interval in S220.

下面,结合图3具体描述根据本发明实施例的通过扣除和插入数据来校正时钟抖动的方法的流程图。In the following, a flowchart of a method for correcting clock jitter by subtracting and inserting data according to an embodiment of the present invention will be described in detail with reference to FIG. 3 .

接收数据在恢复出的以太网时钟的作用下不断输入缓存器中,并按照本地时钟从缓存器中不断读取接收数据。为了在从缓存器读取接收数据的过程中校正时钟抖动,可以对帧间间隔中的无效数据进行多扣少补的处理,具体如下。The received data is continuously input into the buffer under the effect of the recovered Ethernet clock, and the received data is continuously read from the buffer according to the local clock. In order to correct the clock jitter in the process of reading the received data from the buffer, the invalid data in the inter-frame interval can be processed with more deductions and less supplements, as follows.

S310中,统计缓存器中缓存的接收数据的数据量。In S310, the data volume of the received data buffered in the buffer is counted.

S320中,判断缓存器中缓存的接收数据的数据量是否大于第一门限。In S320, it is judged whether the amount of received data buffered in the buffer is greater than a first threshold.

第一门限可以是固定值M与以太帧包含的预定采样个数Th1之和。Th1可以是在理想情况下已知长度的以太帧所包含的预定采样个数,例如,在CPRI系统中,Th1可以是封装有CPRI数据的以太帧乘上以太网时钟的频率。固定值M可以等于Th1,此时第一门限为2Th1。当缓存器中缓存的数据超过第一门限时,说明写缓存器的速度大于读缓存器的速度,需要对帧间间隔进行扣除无效数据的操作,因此前进到S330;当缓存器中缓存的数据没有超过第一门限时,前进到S340。当然,第一门限也可以是其它的取值。缓存器的大小不低于第一门限即可。The first threshold may be the sum of the fixed value M and the predetermined number of samples Th1 included in the Ethernet frame. Th1 may be a predetermined number of samples included in an Ethernet frame of known length ideally. For example, in a CPRI system, Th1 may be the frequency of an Ethernet clock multiplied by an Ethernet frame encapsulated with CPRI data. The fixed value M may be equal to Th1, and in this case the first threshold is 2Th1. When the data cached in the cache exceeds the first threshold, it means that the speed of writing the cache is greater than the speed of reading the cache, and it is necessary to subtract invalid data from the inter-frame interval, so proceed to S330; when the data cached in the cache When the first threshold is not exceeded, go to S340. Of course, the first threshold may also be other values. It only needs that the size of the buffer is not lower than the first threshold.

S330中,当缓存器中的数据量大于第一门限时,扣除帧间间隔中的无效数据,扣除的个数为第一预定数量。In S330, when the amount of data in the buffer is greater than the first threshold, deduct invalid data in the inter-frame space, and the deducted number is the first predetermined number.

帧间间隔的数据可以具有固定的格式,例如帧间间隔数据可以起始于终止(Terminate)符,之后跟有空闲(Idle)符,因此接收端可以容易地确定接收数据中哪部分属于帧间间隔。The inter-frame space data can have a fixed format. For example, the inter-frame space data can start with a Terminate symbol, followed by an idle (Idle) symbol, so the receiving end can easily determine which part of the received data belongs to the inter-frame space. interval.

扣除的无效数据可以是空闲符,这样并不影响帧间间隔的基本结构。每次扣除无效数据时,可以只扣除一个无效数据,即扣除一个本地时钟周期内读取的无效数据。这样,可以达到平滑扣除无效数据的效果,避免扣除的个数过多引入额外的偏差。The deducted invalid data may be an idle character, which does not affect the basic structure of the inter-frame space. When deducting invalid data each time, only one invalid data may be deducted, that is, the invalid data read within one local clock cycle is deducted. In this way, the effect of smoothly deducting invalid data can be achieved, and the extra deviation introduced by too many deducted numbers can be avoided.

S340中,判断缓存器中缓存的接收数据的数据量是否低于第二门限。In S340, it is judged whether the amount of received data buffered in the buffer is lower than a second threshold.

第二门限可以是固定值M与以太帧包含的预定采样个数Th1之差。Th1的含义如上所述。固定值M可以等于Th1,此时第二门限为0。当缓存器中缓存的数据低于第一门限时,说明写缓存器的速度小于读缓存器的速度,缓存器中没有缓存有数据,需要对帧间间隔进行插入无效数据的操作,因此前进到S350;当缓存器中缓存的数据没有低于第一门限时,前进到S310。当然,第二门限也可以是其它的取值。The second threshold may be the difference between the fixed value M and the predetermined number of samples Th1 included in the Ethernet frame. The meaning of Th1 is as described above. The fixed value M may be equal to Th1, and the second threshold is 0 at this time. When the data cached in the buffer is lower than the first threshold, it means that the speed of writing the buffer is lower than the speed of reading the buffer, and there is no data buffered in the buffer, and it is necessary to insert invalid data into the inter-frame interval, so proceed to S350: When the data cached in the buffer is not lower than the first threshold, proceed to S310. Certainly, the second threshold may also be other values.

例如,假设第一门限是M和TT之和,第二门限是M和TT之差,并假设TT是最大以太帧长度的整数倍。如果M越大、TT越大,带来的固定时延就越大,考虑到延时越小越好,可以将TT设置为一个以太帧长度。由于第二门限不能为负数,同时考虑到存储M个数据意味着带来M个时钟周期的固定延时,所以希望M越小越好,则可以将M设置为TT。因此可以将M和TT都设置为一个以太帧长度。For example, assume that the first threshold is the sum of M and TT, the second threshold is the difference between M and TT, and assume that TT is an integer multiple of the maximum Ethernet frame length. If M is larger and TT is larger, the fixed delay will be greater. Considering that the delay is as small as possible, TT can be set to the length of an Ethernet frame. Since the second threshold cannot be a negative number, and considering that storing M data means a fixed delay of M clock cycles, it is hoped that M should be as small as possible, and M can be set to TT. Therefore, both M and TT can be set to the length of an Ethernet frame.

S350中,当缓存器中的数据量小于第二门限时,在帧间间隔中插入无效数据,插入的个数为第二预定数量。In S350, when the amount of data in the buffer is smaller than the second threshold, insert invalid data into the inter-frame interval, and the inserted number is a second predetermined number.

插入的无效数据可以是空闲符,这样并不影响帧间间隔的基本结构。每次插入无效数据时,可以只插入一个无效数据,即在一个本地时钟周期内插入一个无效数据。这样,可以达到平滑插入无效数据的效果,避免插入的个数过多时引入额外的偏差。The inserted invalid data may be an idle symbol, which does not affect the basic structure of the inter-frame space. Each time invalid data is inserted, only one invalid data may be inserted, that is, one invalid data is inserted within one local clock cycle. In this way, the effect of smoothly inserting invalid data can be achieved, and additional deviation can be avoided when the number of inserted data is too large.

此外,在对帧间间隔的无效数据进行多扣少补的过程中,本地时钟需要与以太网时钟相同步。将本地时钟与以太网时钟同步的方式可以采用现有的同步两个时钟的方式,还可以采用结合图4描述的同步方法。In addition, the local clock needs to be synchronized with the Ethernet clock in the process of over-substituting and under-compensating the invalid data in the inter-frame interval. The manner of synchronizing the local clock and the Ethernet clock may adopt the existing manner of synchronizing two clocks, or may adopt the synchronization method described in conjunction with FIG. 4 .

在图4所示的将本地时钟与以太网时钟进行同步的方法中利用了从缓存器输出的输出数据,由于在从缓存器读取数据的过程中进行了多扣少补,因此从缓存器输出的输出数据是经历了多扣少补之后的接收数据。In the method for synchronizing the local clock with the Ethernet clock shown in Figure 4, the output data output from the buffer is used. Since more deductions and less supplements are carried out in the process of reading data from the buffer, the slave buffer The output data of the output is the received data after more deductions and less supplements.

在图4所示的方法中,基于从缓存器输出的输出数据,将本地时钟与以太网时钟同步。In the method shown in FIG. 4, the local clock is synchronized with the Ethernet clock based on the output data output from the buffer.

S410中,对输出数据进行帧同步,确定输出数据中包含的以太帧个数,得到第一计数值。In S410, frame synchronization is performed on the output data, the number of Ethernet frames included in the output data is determined, and a first count value is obtained.

由于以太帧具有固定的帧头格式,因此通过对输出数据进行帧同步,可以确定在输出数据中包含了多少个以太帧。记录以太帧个数的计数器初始值为0,每同步到一个以太帧帧头,计数器的计数加1。在本文中,将该计数器中记录的计数值称为第一计数值,用sum1表示。Since the Ethernet frame has a fixed frame header format, it is possible to determine how many Ethernet frames are included in the output data by performing frame synchronization on the output data. The initial value of the counter for recording the number of Ethernet frames is 0, and the count of the counter is increased by 1 every time an Ethernet frame header is synchronized. In this document, the count value recorded in the counter is referred to as the first count value, denoted by sum1.

S420中,基于本地时钟,根据相邻以太帧帧头之间的预定时间长度对以太帧个数进行计数,得到第二计数值。In S420, based on the local clock, the number of Ethernet frames is counted according to a predetermined time length between frame headers of adjacent Ethernet frames, to obtain a second count value.

由于可以预先设定相邻以太帧帧头之间的时间长度,因此可以以本地时钟为准,当该预定时间长度期满时,认为经过了一个以太帧。例如,在图1所示的应用场景下,相邻以太帧帧头之间的预定时间长度为260.4ns,本地时钟每计满260.4ns,认为经过了一个以太帧。Since the time length between the frame headers of adjacent Ethernet frames can be preset, the local clock can be used as the criterion. When the predetermined time length expires, it is considered that an Ethernet frame has passed. For example, in the application scenario shown in FIG. 1 , the predetermined time length between headers of adjacent Ethernet frames is 260.4 ns, and every time the local clock counts 260.4 ns, it is considered that an Ethernet frame has passed.

在通过对预定时间长度进行计时、从而确定以太帧个数的情况下,记录以太帧个数的计数器初始值也为0,每当以本地时钟计满预定时间长度、就将该计数器的计数加1。在本文中,将该计数器中记录的计数值称为第二计数值,用sum2表示。In the case of determining the number of Ethernet frames by counting the predetermined time length, the initial value of the counter for recording the number of Ethernet frames is also 0, and whenever the predetermined time length is counted by the local clock, the count of the counter is added. 1. Herein, the count value recorded in the counter is called the second count value, denoted by sum2.

S430中,基于第一计数值和第二计数值,调整本地时钟,以与以太网时钟相同步。In S430, based on the first count value and the second count value, the local clock is adjusted to be synchronized with the Ethernet clock.

根据本发明的实施例,可以利用模糊控制算法来确定本地时钟的调整量,根据该调整量调整本地时钟频率,逐步收敛到使本地时钟与以太网时钟相同步。具体的调整过程可以结合参考图6所进行的描述。在图6所示的调整本地时钟的例子中,基于第一计数值和所述第二计数值,利用模糊控制算法,得到数字信号;将数字信号转换为模拟信号后输入锁相环(Phase-LockedLoop,PLL)包括的恒温振荡器,其中锁相环基于本地晶振生成本地时钟。According to the embodiment of the present invention, a fuzzy control algorithm can be used to determine the adjustment amount of the local clock, and the frequency of the local clock is adjusted according to the adjustment amount to gradually converge to make the local clock and the Ethernet clock synchronized. The specific adjustment process can be combined with the description made with reference to FIG. 6 . In the example of adjusting the local clock shown in Figure 6, based on the first count value and the second count value, a fuzzy control algorithm is used to obtain a digital signal; the digital signal is converted into an analog signal and then input into a phase-locked loop (Phase- LockedLoop, PLL) includes an oven-controlled oscillator, where the phase-locked loop generates a local clock based on a local crystal.

接下来。首先参考图5描述将本地时钟与以太网时钟进行同步的方法的实现框图,然后再通过图6的具体例子描述如何调整本地时钟。next. First, a block diagram of a method for synchronizing a local clock with an Ethernet clock is described with reference to FIG. 5 , and then how to adjust the local clock is described through a specific example in FIG. 6 .

在图5中,计数器1的第一计数值sum1和计数器2的第二计数值sum2的初始值为0,两者同时开始计数,例如可以从开始收到第一个以太帧起,计数器1和计数器2同时计数。In Fig. 5, the initial value of the first count value sum1 of counter 1 and the second count value sum2 of counter 2 is 0, and both start counting at the same time, for example, from the beginning of receiving the first Ethernet frame, counter 1 and Counter 2 counts simultaneously.

从缓存器输出的经过多扣少补的输出数据Din输入帧同步模块。在帧同步模块中对以太帧进行帧同步,每同步到一个以太帧,将计数器1的第一计数值sum1加1。The output data Din outputted from the buffer after deducting more and complementing less is input to the frame synchronization module. Frame synchronization is performed on the Ethernet frame in the frame synchronization module, and the first count value sum1 of the counter 1 is increased by 1 every time an Ethernet frame is synchronized.

计数器2的第二计数值sum2在本地时钟的驱动下进行计时,每计满相邻以太帧帧头之间的预定时间长度,第二计数值sum2加1。例如,在图1所示的应用场景中,计数器2在本地时钟的驱动下以CPRI基帧周期为单位,每当计满CPRI基帧周期的时间,将第二计数值sum2加1。The second count value sum2 of the counter 2 is timed under the drive of the local clock, and the second count value sum2 is incremented by 1 every time the predetermined time length between headers of adjacent Ethernet frames is counted. For example, in the application scenario shown in FIG. 1 , the counter 2 is driven by the local clock and takes the CPRI basic frame period as a unit, and adds 1 to the second count value sum2 every time the CPRI basic frame period is completed.

将sum1和sum2进行比较,将比较的结果输入到模糊控制系统,通过模糊控制系统产生的输出来调整本地时钟的频率。模糊控制系统是一种采用模糊控制算法的控制系统,输入量越大,校正的力度也越大,从而实现输出量的快速收敛。Compare sum1 and sum2, input the comparison result to the fuzzy control system, and adjust the frequency of the local clock through the output generated by the fuzzy control system. The fuzzy control system is a control system using fuzzy control algorithm. The larger the input, the greater the correction, so as to realize the rapid convergence of the output.

在图6中示出了将本地时钟与以太网时钟进行同步的具体例子。A specific example of synchronizing the local clock with the Ethernet clock is shown in FIG. 6 .

如参考图5所述,通过对从缓存器输出的输出数据Din进行帧同步得到第一计数值sum1,通过以本地时钟为准在预定时间长度内进行计时得到第二计数值sum2。As described with reference to FIG. 5 , the first count value sum1 is obtained by frame-synchronizing the output data Din output from the buffer, and the second count value sum2 is obtained by counting a predetermined time length based on the local clock.

以固定的计算时间周期计算sum1和sum2之间的差值,得到Xn,n表示第n个的计算时间周期。并且,对Xn进行两级缓存,计算本周期的计数器差值和上一周期的计数器差值之间的相对差值,即ΔX=Xn-Xn-1。如果以太网时钟高于本地时钟,则ΔX正增长;如果以太网时钟低于本地时钟,则ΔX负增长。Calculate the difference between sum1 and sum2 at a fixed calculation time period to obtain Xn, where n represents the nth calculation time period. In addition, Xn is cached in two levels, and the relative difference between the counter difference in this cycle and the counter difference in the previous cycle is calculated, that is, ΔX=Xn−Xn−1. If the Ethernet clock is higher than the local clock, ΔX increases positively; if the Ethernet clock is lower than the local clock, ΔX increases negatively.

每个计算时间周期内,在定时器的使能下将ΔX和Xn输入模糊控制系统。模糊控制系统根据Xn和ΔX的值进行查表计算,得到用于调整本地时钟频率的调整值L,该调整值L是一个数字信号。可以通过查找表1所示的模糊控制表来得到调整值L。In each calculation time period, ΔX and Xn are input into the fuzzy control system under the enabling of the timer. The fuzzy control system performs table look-up calculation according to the values of Xn and ΔX, and obtains the adjustment value L used to adjust the local clock frequency, and the adjustment value L is a digital signal. The adjustment value L can be obtained by looking up the fuzzy control table shown in Table 1.

表1Table 1

如果得到的调整值L为0,则说明本地时钟与以太网时钟已经同频。如果该调整值L不为0,则需要将该数字信号送入数模转换器(Digital-to-AnalogConverter,DAC)。DAC将数字信号转换为模拟信号,将该模拟信号输入基于本地晶振生成本地时钟的锁相环所包含的恒温振荡器(Oven ControlledCrystal Oscillator,OCXO),从而可以调整该锁相环生成的本地时钟的频率。If the obtained adjustment value L is 0, it indicates that the frequency of the local clock and the Ethernet clock have been synchronized. If the adjustment value L is not 0, the digital signal needs to be sent to a digital-to-analog converter (Digital-to-Analog Converter, DAC). The DAC converts the digital signal into an analog signal, and inputs the analog signal to the Oven Controlled Crystal Oscillator (OCXO) contained in the phase-locked loop that generates the local clock based on the local crystal oscillator, so that the local clock generated by the phase-locked loop can be adjusted. frequency.

根据本发明实施例提供的校正时钟抖动的方法,接收数据按照以太网时钟输入缓存器、并按照与以太网时钟相同步的本地时钟输出缓存器,利用缓存器中缓存的数据量与门限的关系,对接收数据中的帧间间隔数据进行去除和插入,从而可以校正以太网引入的时钟抖动,使得从缓存器输出的输出数据具有平稳的数据流形式,由此可以降低以太网引入的时钟抖动对后续系统处理的影响,可以将时钟抖动限制在后续系统处理可接受的范围内。此外,由于可以去除从缓存器输出的输出数据中的时钟抖动,因此可以得到更加平稳的数据流,有利于后续对数据流的实时处理,降低后续处理所需的存储空间开销。According to the method for correcting clock jitter provided by the embodiment of the present invention, the received data is input into the buffer according to the Ethernet clock, and the buffer is output according to the local clock synchronized with the Ethernet clock, and the relationship between the amount of data buffered in the buffer and the threshold is used , to remove and insert the inter-frame interval data in the received data, so that the clock jitter introduced by Ethernet can be corrected, so that the output data output from the buffer has a stable data flow form, thereby reducing the clock jitter introduced by Ethernet The impact on subsequent system processing can limit the clock jitter within the acceptable range of subsequent system processing. In addition, because the clock jitter in the output data output from the buffer can be removed, a more stable data flow can be obtained, which is beneficial to subsequent real-time processing of the data flow and reduces storage space overhead required for subsequent processing.

下面,结合图7描述根据本发明实施例的校正时钟抖动的方法的具体例子的实现框图。在该具体例子中,不仅包括校正时钟抖动的稳定度调整部分,还包括将本地时钟与以太网时钟进行同步的准确度调整部分。Next, an implementation block diagram of a specific example of a method for correcting clock jitter according to an embodiment of the present invention will be described with reference to FIG. 7 . In this specific example, not only the stability adjustment part for correcting the clock jitter is included, but also the accuracy adjustment part for synchronizing the local clock with the Ethernet clock is included.

图7所示的具体例子可以位于图1所示的应用场景中接收端的时钟抖动校正模块中。在图7所示的例子中,以REC作为发送端、RE为接收端为例,且REC和RE均采用频率稳定度好于CPRI标准要求的时钟源,即REC和RE都可以采用高稳时钟。The specific example shown in FIG. 7 may be located in the clock jitter correction module at the receiving end in the application scenario shown in FIG. 1 . In the example shown in Figure 7, take REC as the transmitter and RE as the receiver, and both REC and RE use a clock source with a frequency stability better than the CPRI standard, that is, both REC and RE can use a high-stable clock .

在RE中可以包括10GE PHY单元、PLL、XAUI(10GigabitAttachmentUnit Interface,万兆以太连接单元接口)单元、缓存器、本地时钟、稳定度调整部分以及准确度调整部分。The RE may include a 10GE PHY unit, a PLL, a XAUI (10GigabitAttachmentUnit Interface, 10 Gigabit Ethernet connection unit interface) unit, a buffer, a local clock, a stability adjustment part, and an accuracy adjustment part.

10GE PHY单元是10GE以太网的物理层接口,除了提供数据信号外,还提供从网卡恢复的时钟信号,所恢复的时钟信号是以太网时钟,并将该时钟作为XAUI单元读取数据的时钟参考以及缓存器的写时钟。The 10GE PHY unit is the physical layer interface of 10GE Ethernet. In addition to providing the data signal, it also provides the clock signal recovered from the network card. The recovered clock signal is the Ethernet clock, and the clock is used as the clock reference for the XAUI unit to read data. and the write clock for the buffer.

PLL是硬件锁相环,通过参考本地时钟调整从10GE PHY单元恢复的时钟,达到滤除恢复的以太网时钟中高频分量的作用。PLL is a hardware phase-locked loop. By referring to the local clock, it adjusts the clock recovered from the 10GE PHY unit to filter out high-frequency components in the recovered Ethernet clock.

XAUI单元是工作在以太网模型中连接物理层和介质访问控制层的对XGMII(10Gigabit Media Independent Interface,与介质无关的万兆接口)的扩展。在这里,XAUI同时需要来自PLL的时钟信号以及来自10GE PHY单元的数据信号。The XAUI unit is an extension of the XGMII (10Gigabit Media Independent Interface, media-independent 10 Gigabit interface) that works in the Ethernet model to connect the physical layer and the media access control layer. Here, XAUI requires both a clock signal from the PLL and a data signal from the 10GE PHY unit.

缓存器用于隔离以太网时钟域和本地时钟域,可以保证在接收数据穿越不同时钟域时不出现上溢出或下溢出。同时,缓存器可以作为多扣少补操作时的数据存取容器,有利于实现频率稳定度调整。The buffer is used to isolate the Ethernet clock domain and the local clock domain, which can ensure that no overflow or underflow occurs when the received data traverses different clock domains. At the same time, the register can be used as a data access container for more deduction and less replenishment operations, which is beneficial to realize frequency stability adjustment.

本地时钟自身的频率稳定度好于指标要求,在REC和RE中都可以采用高稳时钟作为本地时钟,以避免引入较大的时钟抖动。The frequency stability of the local clock itself is better than the specification requirement. Both REC and RE can use a high-stable clock as the local clock to avoid introducing large clock jitter.

稳定度调整部分的操作可以参考结合图3的描述。在进行稳定度调整即校正时钟抖动时,如果缓存器中缓存的数据量超过第一门限,则从帧间间隔中扣除无效数据;如果缓存器中缓存的数据量低于第二门限,则在帧间间隔中插入无效数据。For the operation of the stability adjustment part, reference may be made to the description in conjunction with FIG. 3 . When performing stability adjustment, that is, correcting clock jitter, if the amount of data buffered in the buffer exceeds the first threshold, invalid data is deducted from the inter-frame interval; if the amount of data buffered in the buffer is lower than the second threshold, then in Invalid data is inserted in the interframe space.

准确度调整部分可以包括计数器计数模块和模糊控制系统,准确度调整部分的操作可以参考结合图5和图6进行的描述。在进行准确度调整即对本地时钟与以太网时钟进行同步时,可以通过两个计数器分别计数得到第一计数值和第二计数值,第一计数值通过帧同步得到,第二计数值通过以本地时钟计时得到。对两个计数值利用模糊控制算法得到频率调整信号,将频率调整信号量化为数字信号送入DAC(如图6所示),DAC输出的模拟信号再输入生成本地时钟的PLL的OCXO的频率调整端口,实现本地时钟的调整。The accuracy adjustment part may include a counter counting module and a fuzzy control system, and the operation of the accuracy adjustment part may refer to the description in conjunction with FIG. 5 and FIG. 6 . When performing accuracy adjustment, that is, synchronizing the local clock and the Ethernet clock, the first count value and the second count value can be obtained by counting the two counters respectively, the first count value is obtained through frame synchronization, and the second count value is obtained through the Timed by the local clock. Use the fuzzy control algorithm to obtain the frequency adjustment signal for the two count values, quantize the frequency adjustment signal into a digital signal and send it to the DAC (as shown in Figure 6), and then input the analog signal output by the DAC to the frequency adjustment of the OCXO of the PLL that generates the local clock port to adjust the local clock.

稳定度调整部分和准确度调整部分交替操作,即经准确度调整后的本地时钟作为缓存器的读时钟继续从缓存器中读取接收数据,并在读取的过程中进行多扣少补以校正以太网引入的时钟抖动,而多扣少补后的数据作为准确度调整的输入数据继续帮助进行本地时钟的准确度调整。The stability adjustment part and the accuracy adjustment part operate alternately, that is, the local clock after the accuracy adjustment is used as the read clock of the buffer to continue reading the received data from the buffer, and in the process of reading, more deductions and less supplements are made. The clock jitter introduced by the Ethernet is corrected, and the data after more deductions and less complements is used as the input data for accuracy adjustment to continue to help the accuracy adjustment of the local clock.

此外,从缓存器输出的输出数据被送入后续处理系统进行处理。例如,在图1的应用场景下,从缓存器输出的以太帧由于校正了时钟抖动,具有平稳的帧间间隔,经过解封装等操作,可以得到平稳的CPRI基帧供后续处理。由于对缓存器输出的以太帧进行的后续处理与现有技术相同,因此为了简便,在此不再赘述。In addition, the output data output from the buffer is sent to the subsequent processing system for processing. For example, in the application scenario in Figure 1, the Ethernet frame output from the buffer has a stable inter-frame interval due to clock jitter correction, and after decapsulation and other operations, a stable CPRI base frame can be obtained for subsequent processing. Since the subsequent processing of the Ethernet frame output by the buffer is the same as that of the prior art, it is not repeated here for simplicity.

上面,描述了根据本发明实施例的校正时钟抖动的方法。下面,结合图8和图9描述根据本发明实施例的用于校正时钟抖动的装置。Above, the method for correcting clock jitter according to the embodiment of the present invention has been described. In the following, an apparatus for correcting clock jitter according to an embodiment of the present invention will be described with reference to FIG. 8 and FIG. 9 .

图8是根据本发明实施例的用于校正时钟抖动的装置800的结构框图。Fig. 8 is a structural block diagram of an apparatus 800 for correcting clock jitter according to an embodiment of the present invention.

装置800包括时钟恢复模块810、缓存器820、本地时钟830和抖动校正模块840。装置800可以位于接收端设备中,装置800从以太网接收数据,并将从缓存器输出的以太帧送入诸如解封装之类的后续处理模块中。时钟恢复模块810可以是网卡,可以从接收数据中恢复出时钟。抖动校正模块840可以是处理器,对缓存器的输出数据进行多扣少补操作。The apparatus 800 includes a clock recovery module 810 , a buffer 820 , a local clock 830 and a jitter correction module 840 . The apparatus 800 may be located in the receiving end device, and the apparatus 800 receives data from the Ethernet, and sends the Ethernet frame output from the buffer to a subsequent processing module such as decapsulation. The clock recovery module 810 can be a network card, and can recover a clock from received data. The jitter correction module 840 may be a processor, which performs more subtraction and less complement operations on the output data of the buffer.

其中,时钟恢复模块810可用于从接收数据中恢复以太网时钟,接收数据包括以太帧和相邻以太帧之间的帧间间隔。缓存器820可用于缓存按照以太网时钟输入的接收数据。本地时钟830可用于为从缓存器820读取接收数据提供时钟频率。抖动校正模块840可用于在按照本地时钟从缓存器820读取接收数据的过程中,如果缓存器820中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,或者,如果缓存器820中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从缓存器820输出的输出数据,其中本地时钟与以太网时钟相同步。Wherein, the clock recovery module 810 can be used to recover the Ethernet clock from the received data, and the received data includes an Ethernet frame and an inter-frame space between adjacent Ethernet frames. Buffer 820 may be used to buffer received data input according to the Ethernet clock. The local clock 830 may be used to provide a clock frequency for reading received data from the buffer 820 . The jitter correction module 840 can be used to deduct the first predetermined amount of data in the inter-frame interval if the data amount of the received data buffered in the buffer 820 exceeds the first threshold during the process of reading the received data from the buffer 820 according to the local clock. or, if the amount of received data buffered in the buffer 820 is lower than the second threshold, a second predetermined amount of invalid data is inserted into the inter-frame space to obtain the output data output from the buffer 820, wherein The local clock is synchronized with the Ethernet clock.

时钟恢复模块810、缓存器820、本地时钟830和抖动校正模块840的上述和其它操作和/或功能可以参考上述图2的方法中的相应描述,为了避免重复,在此不再赘述。For the above and other operations and/or functions of the clock recovery module 810, the buffer 820, the local clock 830 and the jitter correction module 840, reference may be made to the corresponding description in the method of FIG.

根据本发明实施例提供的用于校正时钟抖动的装置,通过将接收数据按照以太网时钟输入缓存器、并按照与以太网时钟相同步的本地时钟输出缓存器,,可以利用缓存器中缓存的数据量与门限的关系,对接收数据中的帧间间隔数据进行去除和插入,从而可以校正以太网引入的时钟抖动,使得从缓存器输出的输出数据具有平稳的数据流形式,由此可以降低以太网引入的时钟抖动对后续系统处理的影响,从而可以将时钟抖动限制在后续系统处理可接受的范围内。According to the device for correcting clock jitter provided by the embodiment of the present invention, by inputting the received data into the buffer according to the Ethernet clock and outputting the buffer according to the local clock synchronized with the Ethernet clock, the data buffered in the buffer can be used The relationship between the amount of data and the threshold, remove and insert the inter-frame interval data in the received data, so that the clock jitter introduced by Ethernet can be corrected, so that the output data output from the buffer has a stable data flow form, which can reduce The impact of the clock jitter introduced by the Ethernet on the subsequent system processing, so that the clock jitter can be limited within the acceptable range of the subsequent system processing.

图9是根据本发明实施例的用于校正时钟抖动的装置900的结构框图。Fig. 9 is a structural block diagram of an apparatus 900 for correcting clock jitter according to an embodiment of the present invention.

装置900的时钟恢复模块910、缓存器920、本地时钟930和抖动校正模块940与装置800的时钟恢复模块810、缓存器820、本地时钟830和抖动校正模块840基本相同。The clock recovery module 910 , buffer 920 , local clock 930 and jitter correction module 940 of the device 900 are basically the same as the clock recovery module 810 , buffer 820 , local clock 830 and jitter correction module 840 of the device 800 .

根据本发明的一个实施例,装置900还可以包括同步模块950。同步模块950可用于基于输出数据,将本地时钟与以太网时钟进行同步。According to an embodiment of the present invention, the device 900 may further include a synchronization module 950 . The synchronization module 950 can be used to synchronize the local clock with the Ethernet clock based on the output data.

例如,同步模块950可以包括第一计数器单元952、第二计数器单元954和调整单元956。第一计数器单元952可用于对输出数据进行帧同步,确定输出数据中包含的以太帧个数,得到第一计数值。第二计数器单元952可用于基于本地时钟,根据相邻以太帧帧头之间的预定时间长度对以太帧个数进行计数,得到第二计数值。调整单元956可用于基于第一计数值和第二计数值,调整本地时钟,以与以太网时钟相同步。For example, the synchronization module 950 may include a first counter unit 952 , a second counter unit 954 and an adjustment unit 956 . The first counter unit 952 can be used to perform frame synchronization on the output data, determine the number of Ethernet frames included in the output data, and obtain a first count value. The second counter unit 952 may be configured to count the number of Ethernet frames according to a predetermined time length between frame headers of adjacent Ethernet frames based on a local clock, to obtain a second count value. The adjustment unit 956 is configured to adjust the local clock to be synchronized with the Ethernet clock based on the first count value and the second count value.

根据本发明的一个实施例,调整单元956可以包括计算子单元956-1、数模转换器956-2和锁相环956-3。计算子单元956-1可用于基于第一计数值和第二计数值,利用模糊控制算法,得到数字信号。数模转换器956-2可用于将数字信号转换为模拟信号,并将模拟信号输入锁相环包括的恒温振荡器。锁相环956-3可用于基于本地晶振生成本地时钟。According to an embodiment of the present invention, the adjustment unit 956 may include a calculation subunit 956-1, a digital-to-analog converter 956-2, and a phase-locked loop 956-3. The calculation subunit 956-1 can be used to obtain a digital signal based on the first count value and the second count value by using a fuzzy control algorithm. The digital-to-analog converter 956-2 can be used to convert the digital signal to an analog signal, and input the analog signal to the oven-controlled oscillator included in the phase-locked loop. A phase locked loop 956-3 may be used to generate a local clock based on a local crystal.

根据本发明的一个实施例,本地时钟930可以是高稳时钟。According to an embodiment of the present invention, the local clock 930 may be a high-stable clock.

根据本发明的一个实施例,第一门限可以是固定值与以太帧包含的预定采样个数之和,第二门限可以是固定值与以太帧包含的预定采样个数之差。According to an embodiment of the present invention, the first threshold may be a sum of a fixed value and a predetermined number of samples included in an Ethernet frame, and the second threshold may be a difference between a fixed value and a predetermined number of samples included in an Ethernet frame.

根据本发明的一个实施例,第一预定数量为1个,第二预定数量为1个。According to an embodiment of the present invention, the first predetermined quantity is 1, and the second predetermined quantity is 1.

第一计数器单元952、第二计数器单元954、调整单元956、计算子单元956-1、数模转换器956-2和锁相环956-3的上述和其它操作和/或功能可以参考上述图2至图6中的相应描述,为了避免重复,在此不再赘述。The above and other operations and/or functions of the first counter unit 952, the second counter unit 954, the adjustment unit 956, the calculation subunit 956-1, the digital-to-analog converter 956-2 and the phase-locked loop 956-3 can refer to the above-mentioned figures 2 to the corresponding descriptions in FIG. 6 , in order to avoid repetition, they are not repeated here.

根据本发明实施例提供的用于校正时钟抖动的装置,通过对帧间间隔的无效数据进行多扣少补,可以有效纠正以太网引入的时钟抖动,从而可以得到更加平稳的数据流,有利于后续对数据流的实时处理,降低后续处理所需的存储空间开销。According to the device for correcting clock jitter provided by the embodiment of the present invention, the clock jitter introduced by Ethernet can be effectively corrected by deducting more and less supplementing the invalid data in the inter-frame interval, so that a more stable data flow can be obtained, which is beneficial to Subsequent real-time processing of the data stream reduces the storage space overhead required for subsequent processing.

本领域技术人员可以意识到,结合本文中所公开的实施例中描述的各方法步骤和单元,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各实施例的步骤及组成。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can realize that, in combination with the various method steps and units described in the embodiments disclosed herein, they can be realized by electronic hardware, computer software, or a combination of the two. Alternatively, in the above description, the steps and components of each embodiment have been generally described in terms of functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may implement the described functionality using different methods for each particular application, but such implementation should not be considered as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法步骤可以用硬件、处理器执行的软件程序、或者二者的结合来实施。软件程序可以置于随机存取存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM或技术领域内所公知的任意其它形式的存储介质中。The method steps described in connection with the embodiments disclosed herein may be implemented by hardware, software programs executed by a processor, or a combination of both. The software program may reside in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field Any other known storage medium.

尽管已示出和描述了本发明的一些实施例,但本领域技术人员应该理解,在不脱离本发明的原理和精神的情况下,可对这些实施例进行各种修改,这样的修改应落入本发明的范围内。Although some embodiments of the present invention have been shown and described, it should be understood by those skilled in the art that various modifications can be made to these embodiments without departing from the principles and spirit of the invention, and such modifications shall fall within into the scope of the present invention.

Claims (10)

1.一种校正时钟抖动的方法,其特征在于,包括:1. A method for correcting clock jitter, comprising: 按照从接收数据中恢复的以太网时钟将所述接收数据输入缓存器,所述接收数据包括以太帧和相邻以太帧之间的帧间间隔;inputting the received data into a buffer according to the Ethernet clock recovered from the received data, the received data including an Ethernet frame and an interframe space between adjacent Ethernet frames; 在按照本地时钟从所述缓存器读取所述接收数据的过程中,如果所述缓存器中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,或者,如果所述缓存器中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从所述缓存器输出的输出数据,其中所述本地时钟与所述以太网时钟相同步;In the process of reading the received data from the buffer according to the local clock, if the data amount of the received data buffered in the buffer exceeds the first threshold, deducting a first predetermined number of invalid values in the inter-frame interval data, or, if the amount of received data buffered in the buffer is lower than a second threshold, inserting a second predetermined amount of invalid data in the inter-frame space to obtain output data output from the buffer, wherein the local clock is synchronized with the Ethernet clock; 其中,所述本地时钟与所述以太网时钟相同步包括:基于所述输出数据,将所述本地时钟与所述以太网时钟进行同步;Wherein, synchronizing the local clock with the Ethernet clock includes: synchronizing the local clock with the Ethernet clock based on the output data; 所述基于所述输出数据,将所述本地时钟与所述以太网时钟进行同步,包括:The synchronizing the local clock with the Ethernet clock based on the output data includes: 对所述输出数据进行帧同步,确定所述输出数据中包含的以太帧个数,得到第一计数值;Carrying out frame synchronization to the output data, determining the number of Ethernet frames contained in the output data, and obtaining a first count value; 基于所述本地时钟,根据相邻以太帧帧头之间的预定时间长度对以太帧个数进行计数,得到第二计数值;Based on the local clock, count the number of Ethernet frames according to the predetermined time length between adjacent Ethernet frame headers to obtain a second count value; 基于所述第一计数值和所述第二计数值,调整所述本地时钟,以与所述以太网时钟相同步。The local clock is adjusted to be synchronized with the Ethernet clock based on the first count value and the second count value. 2.根据权利要求1所述的方法,其特征在于,所述基于所述第一计数值和所述第二计数值、调整所述本地时钟包括:2. The method according to claim 1, wherein the adjusting the local clock based on the first count value and the second count value comprises: 基于所述第一计数值和所述第二计数值,利用模糊控制算法,得到数字信号;Obtaining a digital signal by using a fuzzy control algorithm based on the first count value and the second count value; 将所述数字信号转换为模拟信号后输入锁相环包括的恒温振荡器,其中所述锁相环基于本地晶振生成所述本地时钟。After the digital signal is converted into an analog signal, it is input to a constant temperature oscillator included in a phase-locked loop, wherein the phase-locked loop generates the local clock based on a local crystal oscillator. 3.根据权利要求1或2所述的方法,其特征在于,所述第一门限是固定值与以太帧包含的预定采样个数之和,所述第二门限是所述固定值与所述以太帧包含的预定采样个数之差。3. The method according to claim 1 or 2, wherein the first threshold is the sum of a fixed value and the number of predetermined samples contained in an Ethernet frame, and the second threshold is the sum of the fixed value and the The difference between the predetermined number of samples contained in an Ethernet frame. 4.根据权利要求3所述的方法,其特征在于,所述固定值为所述以太帧包含的预定采样个数。4. The method according to claim 3, wherein the fixed value is a predetermined number of samples included in the Ethernet frame. 5.根据权利要求1或2所述的方法,其特征在于,所述第一预定数量为1个,所述第二预定数量为1个。5. The method according to claim 1 or 2, wherein the first predetermined number is one, and the second predetermined number is one. 6.一种用于校正时钟抖动的装置,其特征在于,包括:6. A device for correcting clock jitter, comprising: 时钟恢复模块,用于从接收数据中恢复以太网时钟,所述接收数据包括以太帧和相邻以太帧之间的帧间间隔;A clock recovery module, configured to recover an Ethernet clock from received data, the received data including an Ethernet frame and an interframe space between adjacent Ethernet frames; 缓存器,用于缓存按照所述以太网时钟输入的接收数据;a buffer for buffering received data input according to the Ethernet clock; 本地时钟,用于为从所述缓存器读取所述接收数据提供时钟频率;a local clock for providing a clock frequency for reading said received data from said buffer; 抖动校正模块,用于在按照所述本地时钟从所述缓存器读取所述接收数据的过程中,如果所述缓存器中缓存的接收数据的数据量超过第一门限,则在帧间间隔中扣除第一预定数量的无效数据,或者,如果所述缓存器中缓存的接收数据的数据量低于第二门限,则在帧间间隔中插入第二预定数量的无效数据,得到从所述缓存器输出的输出数据,其中所述本地时钟与所述以太网时钟相同步;A jitter correction module, configured to, during the process of reading the received data from the buffer according to the local clock, if the data amount of the received data buffered in the buffer exceeds a first threshold, at the inter-frame interval Deducting a first predetermined amount of invalid data, or, if the amount of received data buffered in the buffer is lower than a second threshold, inserting a second predetermined amount of invalid data in the inter-frame space, obtained from the output data output by a buffer, wherein the local clock is synchronized with the Ethernet clock; 还包括:同步模块,用于基于所述输出数据,将所述本地时钟与所述以太网时钟进行同步;It also includes: a synchronization module, configured to synchronize the local clock with the Ethernet clock based on the output data; 其中,所述同步模块包括:Wherein, the synchronization module includes: 第一计数器单元,用于对所述输出数据进行帧同步,确定所述输出数据中包含的以太帧个数,得到第一计数值;The first counter unit is configured to perform frame synchronization on the output data, determine the number of Ethernet frames contained in the output data, and obtain a first count value; 第二计数器单元,用于基于所述本地时钟,根据相邻以太帧帧头之间的预定时间长度对以太帧个数进行计数,得到第二计数值;The second counter unit is used to count the number of Ethernet frames according to the predetermined time length between the frame headers of adjacent Ethernet frames based on the local clock, to obtain a second count value; 调整单元,用于基于所述第一计数值和所述第二计数值,调整所述本地时钟,以与所述以太网时钟相同步。An adjustment unit, configured to adjust the local clock to be synchronized with the Ethernet clock based on the first count value and the second count value. 7.根据权利要求6所述的装置,其特征在于,所述调整单元包括:7. The device according to claim 6, wherein the adjustment unit comprises: 计算子单元,用于基于所述第一计数值和所述第二计数值,利用模糊控制算法,得到数字信号;A calculation subunit, configured to obtain a digital signal by using a fuzzy control algorithm based on the first count value and the second count value; 数模转换器,用于将所述数字信号转换为模拟信号,并将所述模拟信号输入锁相环包括的恒温振荡器;A digital-to-analog converter for converting the digital signal into an analog signal, and inputting the analog signal into the constant temperature oscillator included in the phase-locked loop; 所述锁相环,用于基于本地晶振生成所述本地时钟。The phase-locked loop is configured to generate the local clock based on a local crystal oscillator. 8.根据权利要求6或7所述的装置,其特征在于,所述第一门限是固定值与以太帧包含的预定采样个数之和,所述第二门限是所述固定值与所述以太帧包含的预定采样个数之差。8. The device according to claim 6 or 7, wherein the first threshold is the sum of a fixed value and a predetermined number of samples contained in an Ethernet frame, and the second threshold is the sum of the fixed value and the The difference between the predetermined number of samples contained in an Ethernet frame. 9.根据权利要求8所述的装置,其特征在于,所述固定值为所述以太帧包含的预定采样个数。9. The device according to claim 8, wherein the fixed value is a predetermined number of samples included in the Ethernet frame. 10.根据权利要求6或7所述的装置,其特征在于,所述第一预定数量为1个,所述第二预定数量为1个。10. The device according to claim 6 or 7, wherein the first predetermined number is one, and the second predetermined number is one.
CN201180001223.4A 2011-07-20 2011-07-20 Method and device for correcting clock jitter Expired - Fee Related CN102301639B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077383 WO2012106910A1 (en) 2011-07-20 2011-07-20 Method and device for correcting clock jitter

Publications (2)

Publication Number Publication Date
CN102301639A CN102301639A (en) 2011-12-28
CN102301639B true CN102301639B (en) 2014-07-30

Family

ID=45360531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180001223.4A Expired - Fee Related CN102301639B (en) 2011-07-20 2011-07-20 Method and device for correcting clock jitter

Country Status (2)

Country Link
CN (1) CN102301639B (en)
WO (1) WO2012106910A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684736A (en) * 2013-11-21 2014-03-26 国网上海市电力公司 Clock synchronization method for high-speed communication
BR112016027231B1 (en) * 2014-05-21 2023-02-07 Huawei Technologies Co., Ltd SENDING APPARATUS, RECEIVING APPLIANCE AND DATA TRANSMISSION METHOD
CN104410483B (en) * 2014-12-12 2017-06-09 成都朗锐芯科技发展有限公司 One kind receives packet sequencing and invalid bag processing system
CN104393961B (en) * 2014-12-12 2017-05-03 成都朗锐芯科技发展有限公司 Received packet sorting and invalid packet processing method
CN109412740B (en) * 2017-08-16 2020-09-29 深圳市中兴微电子技术有限公司 Method and device for processing delay jitter
CN108882287B (en) * 2018-06-07 2021-08-17 烽火通信科技股份有限公司 Method and system for controlling time delay jitter of CPRI data transmission
CN114205065A (en) * 2020-09-02 2022-03-18 深圳市朗强科技有限公司 Clock frequency synchronization method, device, equipment and computer storage medium
CN112462717B (en) * 2020-12-03 2021-11-30 摩通传动与控制(深圳)有限公司 High-precision multi-axis clock synchronization method based on EtherCAT
CN112736901B (en) * 2020-12-23 2022-11-01 国网湖南省电力有限公司 Synchronization method and system for multi-source asynchronous sampling mixed data in distribution network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581845A (en) * 2003-08-01 2005-02-16 华为技术有限公司 Apparatus and method for clock recovery for time division multiplexing business
CN1852087A (en) * 2005-12-21 2006-10-25 华为技术有限公司 Clock synchronizing method in bag-exchanging network and realizing apparatus tehrefor
CN101141351A (en) * 2007-08-09 2008-03-12 中兴通讯股份有限公司 Method of settling frequency offset
CN101820324A (en) * 2010-04-30 2010-09-01 中兴通讯股份有限公司 Synchronous transmission method and system for asynchronous data
CN102082653A (en) * 2009-11-26 2011-06-01 中兴通讯股份有限公司 Method, system and device for clock synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7095737B2 (en) * 2002-02-28 2006-08-22 Sun Microsystems, Inc. Variable length inter-packet gap
CN101364863B (en) * 2008-09-27 2011-11-02 华为技术有限公司 Time synchronizing method, apparatus and system for master, slave time clock side in synchronous network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581845A (en) * 2003-08-01 2005-02-16 华为技术有限公司 Apparatus and method for clock recovery for time division multiplexing business
CN1852087A (en) * 2005-12-21 2006-10-25 华为技术有限公司 Clock synchronizing method in bag-exchanging network and realizing apparatus tehrefor
CN101141351A (en) * 2007-08-09 2008-03-12 中兴通讯股份有限公司 Method of settling frequency offset
CN102082653A (en) * 2009-11-26 2011-06-01 中兴通讯股份有限公司 Method, system and device for clock synchronization
CN101820324A (en) * 2010-04-30 2010-09-01 中兴通讯股份有限公司 Synchronous transmission method and system for asynchronous data

Also Published As

Publication number Publication date
WO2012106910A1 (en) 2012-08-16
CN102301639A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
CN102301639B (en) Method and device for correcting clock jitter
US8428045B2 (en) Media clock recovery
KR101413506B1 (en) Update of a cumulative residence time of a packet in a packet-switched communication network
US7328359B2 (en) Technique to create link determinism
JP6040220B2 (en) Adjusting the clock signal recovered from the data stream
EP3664323A1 (en) Embedded clock recovery
US20130089170A1 (en) Egress Clock Domain Synchronization to Multiple Ingress Clocks
CN101175215A (en) Timing recovery method and system thereof
CN101233706A (en) Data stream synchronization
WO2017134533A1 (en) Method and apparatus for network synchronization
CN114499731B (en) Ethernet synchronization method and system for cabin broadcast audio
CN103227947A (en) Signal processing apparatus, display apparatus, display system, method for processing signal, and method for processing audio signal
CN103414452B (en) Clock data recovery device and electronic equipment
US20240204897A1 (en) Hybrid clock synchronization
JP6378966B2 (en) Asynchronous serial data acquisition device and asynchronous serial data acquisition method
JP2013034087A (en) Serial communication interface circuit and parallel-serial conversion circuit
CN109787620B (en) Method and device for calibrating frequency based on digital frequency divider
JP6259227B2 (en) Clock reproduction control device and video signal receiving device
CN103686215B (en) Grouping sending and receiving device and descramble system
EP3883150A1 (en) Time synchronization method, network device, and storage medium
CN102571318B (en) Method and device for clock recovery
CN118625890B (en) Clock recovery system and method
CN115378567B (en) Clock synchronization circuit, clock synchronization method and electronic equipment
CN101404570B (en) Systems and methods for removing spread spectrum from a reference clock signal
US20150280864A1 (en) Communication Device, Communication Program, Communication Method, and Information Processing 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140730