WO2021073444A1 - 同步方法、装置、设备和存储介质 - Google Patents

同步方法、装置、设备和存储介质 Download PDF

Info

Publication number
WO2021073444A1
WO2021073444A1 PCT/CN2020/119922 CN2020119922W WO2021073444A1 WO 2021073444 A1 WO2021073444 A1 WO 2021073444A1 CN 2020119922 W CN2020119922 W CN 2020119922W WO 2021073444 A1 WO2021073444 A1 WO 2021073444A1
Authority
WO
WIPO (PCT)
Prior art keywords
synchronization
frame
preset
otu25
event information
Prior art date
Application number
PCT/CN2020/119922
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 US17/769,525 priority Critical patent/US20240154713A1/en
Priority to EP20877871.2A priority patent/EP4040796A4/en
Publication of WO2021073444A1 publication Critical patent/WO2021073444A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • 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/0647Synchronisation among TDM nodes
    • H04J3/065Synchronisation among TDM nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • H04J2203/0082Interaction of SDH with non-ATM protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1336Synchronisation

Definitions

  • This application relates to communications, for example, to a synchronization method, device, device, and storage medium.
  • the fifth generation mobile communication technology (the 5th Generation mobile communication) technology, 5G) has been widely used in the field.
  • OTN optical Transport Network
  • OFAM Operation Administration and Maintenance
  • 5G the fifth generation mobile communication technology
  • a dual-rate OTN interface is proposed. Unlike the traditional OTN interface, the dual-rate OTN interface format has changed.
  • the frame structure of the dual-rate OTN interface will protect the synchronization information channel, but because the frame structure of the dual-rate OTN interface adds mapping processing, its accuracy will be affected and cannot meet the high precision required by 5G Time synchronization.
  • the embodiments of the present application provide a synchronization method, device, equipment, and storage medium, which realize high-precision time synchronization.
  • the embodiment of the present application provides a synchronization method, including:
  • the encapsulated synchronization event information is inserted into the synchronization information channel of the first preset frame or the second preset frame for transmission.
  • An embodiment of the present application provides a synchronization device, including:
  • the determining module is set to determine the interface event time stamp point of the synchronization event information, and encapsulate the synchronization event information;
  • the transmission module is configured to insert the encapsulated synchronization event information into the synchronization information channel of the first preset frame or the second preset frame for transmission.
  • An embodiment of the present application provides a device, including: a memory and one or more processors;
  • the memory is used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the foregoing embodiments.
  • An embodiment of the present application provides a storage medium that stores a computer program, and when the computer program is executed by a processor, the method described in any of the foregoing embodiments is implemented.
  • FIG. 1 is a schematic diagram of an OTU25(u)/50(u) frame structure provided by this embodiment
  • Figure 2a is a schematic diagram of an OTU25(u)-RS frame structure provided by an embodiment of the present application
  • Fig. 4 is a schematic diagram of a 25G OTN scenario provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of adding a synchronization information channel and a multi-frame indication to an OTU25(u)-RS frame provided by an embodiment of the present application;
  • FIG. 6 is a schematic diagram of the position of an OTU25(u) multi-frame boundary in an OTU25(u)-RS frame provided by an embodiment of the present application;
  • FIG. 8 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the optical transport network standard was formulated by the International Telecommunication Union-Telecommunication Standardization Department (ITU-T). It is an important standard for optical transmission equipment. Almost all long-distance transmission networks use equipment based on the optical transport network standard. composition.
  • the dual-rate OTN interface is a 25G/50G OTN interface.
  • the 25G/50G OTN interface format has changed.
  • the 25G/50G OTN interface format is recorded as Optical Channel Transport Unit (OTU) 25(u)/50(u).
  • OTU25(u)/50(u) is based on a 4*3824 row and column structure.
  • Fig. 1 is a schematic diagram of an OTU25(u)/50(u) frame structure provided by this embodiment. As shown in Figure 1, the frame structure does not include Forward Error Correction (FEC).
  • FEC Forward Error Correction
  • the OTU25(u)/50(u)-RS frame is an FEC frame, which is a 1024*5280 or 1024*5440 structure .
  • Fig. 2a is a schematic diagram of an OTU25(u)-RS frame structure provided by an embodiment of the present application
  • Fig. 2b is a schematic diagram of an OTU50(u)-RS frame provided by an embodiment of the present application.
  • the OTU25(u)-RS frame includes three parts: CodeWord Marker (CWM), FEC, and payload area.
  • the OTU50(u)-RS frame includes three parts: alignment marker (Alignment Marker, AM), FEC, and payload area.
  • the OTU25(u)/50(u) frame structure will protect the synchronization information channel, but due to the addition of OTU25(u)/50(u) to OTU25(u)/50(u)-RS The accuracy of the mapping process will be affected and cannot meet the high-precision time synchronization required by 5G.
  • the embodiment of the present application provides a synchronization method to achieve high-precision time synchronization.
  • S110 Determine the interface event time stamp point of the synchronization event information, and encapsulate the synchronization event information.
  • the interface event time stamp point of the synchronization event information is determined at the sending end, and after the synchronization event information is encapsulated, it is inserted into the synchronization information channel of the first preset frame or the second preset frame for transmission; , Generate a time stamp information at the beginning of each received first preset frame, if the synchronization information channel of the first preset frame or the second preset frame carries the interface event time stamp point of the synchronization event information , The time stamp information collected when the first preset frame is received is compared with the time stamp point of the interface event to complete the time synchronization.
  • determining the interface event time stamp point of the synchronization event information includes: using the first preset multiframe event as the interface event time stamp point of the synchronization event information; inserting the encapsulated synchronization event information into the first preset Setting the frame or the synchronization information channel of the second preset frame for transmission includes: inserting the encapsulated synchronization event information into the first preset frame or the synchronization of the M-th first preset frame after the first preset frame It is transmitted in the information channel, and M is a positive integer.
  • the encapsulated synchronization event information is inserted into the first preset Frame or the synchronization information channel of the M-th first preset frame after the first preset frame.
  • determining the interface event time stamp point of the synchronization event information includes: using the first preset multiframe event as the interface event time stamp point of the synchronization event information; inserting the encapsulated synchronization event information into the first preset Setting the frame or the synchronization information channel of the second preset frame to be transmitted includes: inserting the encapsulated synchronization event information into the synchronization information channel of the second preset frame carried by the first preset frame for transmission.
  • the first preset multi-frame event is used as the interface event time stamp point of the synchronization event information
  • the encapsulated synchronization event information is inserted into the second preset frame carried by the first preset frame. Synchronous information is transmitted in the channel.
  • the first preset frame may carry multiple second preset frames. Exemplarily, the first preset frame may carry more than 40 second preset frames.
  • the method for determining the synchronization information channel of the first preset frame includes one of the following: the first preset number of bits of the CWM overhead in the first preset frame; the payload in the first preset frame The second preset number of bits in the area.
  • part of the bits in the CWM overhead of the first preset frame may be used as the synchronization information channel of the first preset frame; part of the bits in the payload area of the first preset frame may also be used as the first preset frame.
  • the method for determining the number of offset bits includes: in the case where the first frame of the second preset multiframe is mapped to the first preset frame, the first frame of the second preset multiframe starts The number of offset bits from the start of the first preset frame.
  • the method for counting the number of the first preset multi-frame includes one of the following: counting the number of inserted AMs or the number of CWMs; using the third preset number of bits in AM or CWM as The statistical overhead of the number of the first preset multiframe; the fourth preset number bits of the payload area in the first preset frame are used as the statistical overhead of the number of the first preset multiframe.
  • each first preset frame contains an AM or CWM, and the number of first preset multi-frames can be calculated according to the number of inserted AMs or CWM; or, the first preset multi-frame is set in AM or CWM.
  • the statistics are used to collate the number of the first preset multi-frames for statistics.
  • the synchronization information channel and/or multi-frame in the first preset frame The amount of statistics overhead performs scrambling operations.
  • some bits in the AM or CWM are used as the synchronization information channel and/or the multi-frame number statistical overhead.
  • the synchronization information channel in the first preset frame and /Or the multi-frame quantity statistics overhead is scrambled before sending.
  • the first preset frame is an OTU25(u)/50(u)-RS frame
  • the second preset frame is an OTU25(u)/50(u) frame
  • the first preset multiframe is an OTU25 (u)/50(u)-RS multiframe
  • the second preset multiframe is OTU25(u)/50(u) multiframe.
  • OTU25(u)/50(u) frames are mapped to OTU25(u)/50(u)-RS frames, and each OTU25(u)/50(u)-RS frame It can carry more than 40 OTU25(u)/50(u) frames, with the start of OTU25(u)/50(u)-RS frame or OTU25(u)/50(u)-RS multiframe as the synchronization event
  • the interface event timestamp point of the information after the synchronization event information is encapsulated, it is inserted into the OTU25(u)/50(u)-RS frame, or inserted into the OTU25(u)/50(u)-RS frame.
  • M OTU25(u)/50(u)-RS frames are carried in OTU25(u)/50(u) frames.
  • the size of the CWM overhead in the OTU25(u)-RS frame is 256 bits
  • the purpose of setting the CWM overhead in the OTU25(u)-RS frame is to perform the framing processing of the FEC codeword, according to The related standard protocol requires the first 64 bits to complete the framing process when framing processing is performed.
  • all or part of the remaining 192 bits can be used as the synchronization information channel of the OTU25(u)-RS frame, with OTU25( u)
  • the beginning of the RS frame/multiframe is used as the interface event time stamp point of the synchronization event information, and the synchronization event information is encoded and placed after the OTU25(u)-RS frame or the OTU25(u)-RS
  • the synchronization information channel in the Kth OTU25(u)-RS frame (that is, part of the position in the CWM), in order to maintain the balance of the bits 0 and 1 in the transmission, the synchronization information channel in the OTU25(u)-RS frame Send after scrambling.
  • K is a positive integer.
  • a portion of bits are divided into the payload area of the OTU25(u)/50(u)-RS frame to be used as a synchronization information channel, and OTU25(u)/50(u) -The beginning of the RS frame/multiframe is used as the time stamp point of the synchronization event information, and the synchronization event information is encoded and placed in the OTU25(u)/50(u)-RS frame or the OTU25(u)/50
  • the synchronization information channel in the Kth OTU25(u)/50(u)-RS frame after the (u)-RS frame in order to maintain the balance of the bits 0 and 1 in the transmission, the OTU25(u)/50( u)
  • the synchronization information channel in the RS frame is scrambled and then sent.
  • K is a positive integer.
  • the synchronization event information is generated in a manner including: every first predetermined number N1 OTU25(u)/ The 50(u)-RS frame is generated, that is, the synchronization event information is stamped according to the beginning of the OTU25(u)/50(u)-RS multiframe.
  • the number of OTU25(u)/50(u)-RS multiframes can be N1 is counted by accumulating the number of inserted AM/CWM, and some of the unused 192 bits in AM/CWM in the OTU25(u)/50(u)-RS frame can be opened up as OTU25(u)/50 (u)-RS multiframe indication overhead.
  • N1 is a positive integer.
  • the synchronization event information generation method includes: every second predetermined number N 2 OTU25(u) /50(u) frames are generated.
  • the synchronization event information is generated every 256 frames of OTU25(u)/50(u) frames, and the OTU25(u)/50(u) frame/multiframe boundary is used as the interface event of the synchronization event information.
  • Stamp point that is, time stamp collection is performed at the beginning of the first frame of each 256-frame OTU25(u)/50(u) multiframe.
  • the mapping of the OTU25(u)/50(u) frame to For OTU25(u)/50(u)-RS frames the start of the first frame of the OTU25(u)/50(u) multi-frame and the first one in the OTU25(u)/50(u)-RS frame.
  • the number of offset bits between the bits, and the number of offset bits is used to compensate the synchronization event information collected at the time stamp point at the beginning of the OTU25(u)/50(u)-RS frame/multiframe, and the compensated
  • the synchronization event information is transmitted in the synchronization information channel of the OTU25(u)/50(u) frame.
  • a time stamp information is generated at the beginning of each received OTU25(u)/50(u)-RS frame, if the OTU25(u)/50(u)-RS The synchronization information channel in the frame, or the synchronization information channel in the OTU25(u)/50(u) frame carried in the OTU25(u)/50(u)-RS frame, or the OTU25(u)/50(u) In the )-RS frame, the first frame of the OTU25(u)/50(u) multi-frame that carries 256 frames will receive the time stamp of the OTU25(u)/50(u)-RS frame collection and the OTU25 (u)/50(u)-The time stamp carried in the RS frame is compared to complete time synchronization.
  • FIG. 4 is a schematic diagram of a 25G OTN scenario provided by an embodiment of the present application.
  • two OTN devices are set, namely OTN device A and OTN device B, and two OTN devices, OTN device A and OTN device B, are used to form a 25G transmission application scenario.
  • Step 1 Use the 4 bits at positions 253 to 256 in the CWM in the OTU25(u)-RS frame as the multiframe indication overhead, and use the 128 bits at positions 125 to 252 as the synchronization information channel.
  • Fig. 5 is a schematic diagram of adding a synchronization information channel and a multi-frame indication in an OTU25(u)-RS frame provided by an embodiment of the present application. As shown in Figure 5, the synchronization information channel and multi-frame indication are added to the OTU25(u)-RS frame, and the bandwidth of the synchronization information channel is approximately 0.6 Mbit/s.
  • Step 2 At the transmitting end of OTN device A, the synchronization event information is generated every 6 OTU25(u)-RS frames, that is, in every 6 OTU25(u)-RS multiframes, the OTU25(u)-RS multiframe number is 1 )-Time stamp information collection at the beginning of the RS frame.
  • Step 3 GFP-F encapsulates the synchronization event information and inserts it into the synchronization information channel in the OTU25(u)-RS frame with the multiframe number of 2, and sends the OTU25(u)-RS frame.
  • Step 4 At the receiving side OTN device B, collect the time stamp information at the beginning of each received OTU25(u)-RS frame. If the synchronization information channel in the OTU25(u)-RS frame carries For time stamp information, the carried time stamp information is decapsulated by GFP-F and compared with the collected time stamp information to complete time synchronization.
  • GFP-F refers to the Generic Framing Procedure (GFP) for frame mapping. It is a protocol data unit (Protocol Data Unit, PDU)-oriented data flow mode used to transmit Internet Protocol (IP). ), Multi-Protocol Label Switching (MPLS) and Ethernet data flow.
  • PDU Protocol Data Unit
  • IP Internet Protocol
  • MPLS Multi-Protocol Label Switching
  • FIG. 4 it is a 25G transmission application scenario composed of two OTN devices, OTN device A and OTN device B.
  • Step 1 At the sending end of OTN device A, synchronization event information is generated every 6 OTU25(u)-RS frames, that is, time stamp information is collected at the beginning of every 6 OTU25(u)-RS multiframes, and the counter is set Assignment statistics are performed by counting the number of inserted CWMs.
  • Step 2 GFP-F encapsulation of the synchronization event information is inserted into the synchronization information channel in the OTU25(u) frame carried in the OTU25(u)-RS frame, and the OTU25(u)-RS frame is sent.
  • Step 3 At the receiving side OTN device B, time stamp information is collected at the start position of each received OTU25(u)-RS frame, if the OTU25(u) frame carried in the OTU25(u)-RS frame If the time stamp information is carried in the synchronization information channel in, the time stamp information carried is decapsulated by GFP-F and compared with the collected time stamp information to complete the time synchronization.
  • FIG. 4 it is a 25G transmission application scenario composed of two OTN devices, OTN device A and OTN device B.
  • Step 1 At the transmitting end of OTN device A, synchronization event information is generated every 256 frames of OTU25(u) multi-frame start, that is, time stamp information is collected at the beginning of the first frame of every 256 frame OTU25(u) multi-frame .
  • Step 2 Record the position offset between the first bit of the OTU25(u) frame and the first bit of the OTU25(u)-RS when the OTU25(u) frame is mapped to the OTU25(u)-RS frame, and the OTU25( u)-Time stamp information of the first bit of the RS frame.
  • Step 3 Add the time stamp information of the first bit of the OTU25(u)-RS frame plus the time stamp information after the position offset of the OTU25(u) frame and the OTU25(u)-RS frame as the OTU25(u) frame
  • the time stamp information of the OTU25(u) frame is used as the time stamp information of the OTU25(u) frame.
  • GFP-F encapsulation it is inserted into the synchronization information channel of the OTU25(u) frame, and the OTU25(u)-RS frame is sent.
  • Step 4 At the receiving side OTN device B, collect the time stamp information at the start position of each received OTU25(u)-RS frame. If the OTU25(u)-RS frame carries 256 frames of OTU25( u) For the first frame of the multi-frame, the time stamp information is extracted from the synchronization information channel in the OTU25(u) frame, and after GFP-F decapsulation, it is compared with the collected time stamp information to complete the time synchronization.
  • Fig. 6 is a schematic diagram of the position of an OTU25(u) multi-frame boundary in an OTU25(u)-RS frame provided by an embodiment of the present application.
  • each OTU25(u)-RS frame can carry multiple OTU25(u) frames, and each OTU25(u) multiframe contains multiple OTU25(u) frames, that is, each OTU25(u)-RS frame contains multiple OTU25(u) frames.
  • (u)-RS frames can carry multiple OTU25(u) multiframes.
  • each OTU25(u) multiframe contains two OTU25(u) frames, and the OTU25(u) multiframe boundary is after the CWM.
  • Fig. 7 is a structural block diagram of a synchronization device provided by an embodiment of the present application. As shown in FIG. 7, the synchronization device in this embodiment includes: a determination module 210 and a transmission module 220.
  • the determining module 210 is configured to determine the interface event time stamp point of the synchronization event information, and encapsulate the synchronization event information.
  • the transmission module 220 is configured to insert the encapsulated synchronization event information into the synchronization information channel of the first preset frame or the second preset frame for transmission.
  • the determining module 210 is configured to use the first preset multiframe event as the interface event time stamp point of the synchronization event information; the transmission module 220 is configured to insert the encapsulated synchronization event information into the first The preset frame or the synchronization information channel of the M-th first preset frame after the first preset frame is transmitted, and M is a positive integer.
  • the determining module 210 is configured to use the first preset multiframe event as the interface event time stamp point of the synchronization event information; the transmission module 220 is configured to insert the encapsulated synchronization event information into the first The synchronization information channel of the second preset frame carried by the preset frame is transmitted.
  • the determining module 210 is configured to use the second preset multiframe event as the interface event timestamp point of the synchronization event information; the transmitting module 220 includes: a compensation unit, which is set to follow a predetermined offset bit The quantity compensates the encapsulated synchronization event information; the insertion unit is configured to insert the compensated synchronization event information into the synchronization information channel of the second preset frame for transmission.
  • the method for determining the synchronization information channel of the first preset frame includes one of the following: the first preset number of bits of the CWM overhead in the first preset frame; the payload in the first preset frame The second preset number of bits in the area.
  • the method for determining the number of offset bits includes: in the case where the first frame of the second preset multiframe is mapped to the first preset frame, the start of the first frame of the second preset multiframe and The number of offset bits between the start of the first preset frame.
  • the method for counting the number of the first preset multi-frame includes one of the following: counting the number of inserted alignment marks AM or CWM; using the third preset number of AM or CWM Bits are used as the statistical overhead of the first preset number of multiframes; the fourth preset number of bits in the payload area in the first preset frame is used as the statistical overhead of the first preset number of multiframes.
  • the synchronization information channel and/or multi-frame in the first preset frame performs scrambling operations.
  • FIG. 8 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the device provided by the present application includes: a processor 310 and a memory 320.
  • the number of processors 310 in the device may be one or more. In FIG. 8, one processor 310 is taken as an example.
  • the number of memories 320 in the device may be one or more, and one memory 320 is taken as an example in FIG. 8.
  • the processor 310 and the memory 320 of the device may be connected through a bus or in other ways. In FIG. 8, the connection through a bus is taken as an example.
  • the device is an OTN device.
  • the memory 320 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device of any embodiment of the present application (for example, the determining module 210 and Transfer module 220).
  • the memory 320 may include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the device, and the like.
  • the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 320 may further include a memory remotely provided with respect to the processor 310, and these remote memories may be connected to the device through a network.
  • networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the above-provided device can be configured to execute the synchronization method provided in any of the above-mentioned embodiments, and has corresponding functions and effects.
  • the embodiment of the present application also provides a storage medium containing computer-executable instructions.
  • the computer-executable instructions are used to perform a synchronization method when executed by a computer processor.
  • the synchronization method is applied to an OTN device, and the synchronization method includes: determining The interface event time stamp point of the synchronization event information; the encapsulated synchronization event information is inserted into the synchronization information channel of the first preset frame or the second preset frame for transmission.
  • user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser, or a vehicle-mounted mobile station.
  • Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
  • ISA Instruction Set Architecture
  • the block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
  • the computer program can be stored on the memory.
  • the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), optical Memory devices and systems (Digital Video Disc (DVD) or Compact Disk (CD)), etc.
  • Computer-readable media may include non-transitory storage media.
  • the data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FPGA), and processors based on multi-core processor architecture.
  • DSP Digital Signal Processors
  • ASICs application specific integrated circuits
  • FPGA Field-Programmable Gate Array
  • processors based on multi-core processor architecture such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FPGA), and processors based on multi-core processor architecture.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提出一种同步方法、装置、设备和存储介质。该方法包括:确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装;将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。

Description

同步方法、装置、设备和存储介质
本申请要求在2019年10月15日提交中国专利局、申请号为201910979578.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信,例如涉及一种同步方法、装置、设备和存储介质。
背景技术
由于光传送网(Optical Transport Network,OTN)技术所具备的大带宽、刚性管道、完善的操作维护管理(Operation Administration and Maintenance,OAM)等优势,在第五代移动通信技术(the 5th Generation mobile communication technology,5G)领域得到了广泛应用。在支持5G传输的OTN技术中提出了双速率的OTN接口,与传统的OTN接口不同,双速率的OTN接口格式发生了变化。在实际通信过程中,双速率的OTN接口的帧结构中会保护同步信息通道,但由于双速率的OTN接口的帧结构增加了映射处理,其精度会受到影响,无法满足5G要求下的高精度时间同步。
发明内容
本申请实施例提供一种同步方法、装置、设备和存储介质,实现了高精度时间同步。
本申请实施例提供一种同步方法,包括:
确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装;
将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
本申请实施例提供一种同步装置,包括:
确定模块,设置为确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装;
传递模块,设置为将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
本申请实施例提供一种设备,包括:存储器以及一个或多个处理器;
所述存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一实施例所述的方法。
本申请实施例提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例所述的方法。
附图说明
图1是本实施例提供的一种OTU25(u)/50(u)帧结构示意图;
图2a是本申请实施例提供的一种OTU25(u)-RS帧结构示意图;
图2b是本申请实施例提供的一种OTU50(u)-RS帧结构示意图;
图3是本申请实施例提供的一种同步方法的流程图;
图4是本申请实施例提供的一种25G OTN场景示意图;
图5是本申请实施例提供的一种OTU25(u)-RS帧中增加同步信息通道和复帧指示示意图;
图6是本申请实施例提供的一种OTU25(u)复帧边界在OTU25(u)-RS帧中的位置示意图;
图7是本申请实施例提供的一种同步装置的结构框图;
图8是本申请实施例提供的一种设备的结构示意图。
具体实施方式
下文中将结合附图对本申请的实施例进行说明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
光传送网标准由国际电信联盟电信标准化部门(International Telecommunication Union-Telecommunication Standardization Department,ITU-T)制定,是光传输设备的重要标准,几乎所有的长距传输网络都由基于光传送网标准的设备组成。
在支持5G传输的OTN技术中提出了双速率的OTN接口,比如,双速率的OTN接口为25G/50G OTN接口。与传统的OTN接口不同,25G/50G OTN接口格式发生了变化,为了便于对25G/50G OTN接口格式进行说明,将25G/50G OTN接口格式记为光信道传输单元(Optical channel Transport Unit,OTU)25(u)/50(u)。OTU25(u)/50(u)是基于4*3824的行列结构。图1是本实施例提供的一种OTU25(u)/50(u)帧结构示意图。如图1所示,该帧结构不包括前向误码纠错(Forward Error Correction,FEC),在用物理接口进行传送前,需要将 OTU25(u)/50(u)映射到OTU25(u)/50(u)-RS(Reed Solomon,里德所罗门码)的帧结构中,OTU25(u)/50(u)-RS帧是一个FEC帧,是一个1024*5280或者,1024*5440的结构。
图2a是本申请实施例提供的一种OTU25(u)-RS帧结构示意图,图2b是本申请实施例提供的一种OTU50(u)-RS帧结构示意图。如图2a所示,OTU25(u)-RS帧中包括码字标记(CodeWord Marker,CWM)、FEC以及净荷区三部分。如图2b所示,OTU50(u)-RS帧中包括对齐标记(Alignment Marker,AM)、FEC以及净荷区三部分。
在实际的通信过程中,OTU25(u)/50(u)帧结构中会保护同步信息通道,但由于增加了OTU25(u)/50(u)到OTU25(u)/50(u)-RS的映射处理,其精度会受到影响,无法满足5G要求下的高精度时间同步。本申请实施例提供一种同步方法,以实现高精度时间同步。
图3是本申请实施例提供的一种同步方法的流程图。如图3所示,本实施例中的同步方法包括S110-S120。
S110、确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装。
S120、将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
在实施例中,在发送端确定同步事件信息的接口事件时戳点,将同步事件信息封装之后,插入到第一预设帧或第二预设帧的同步信息通道中进行传递;在接收端,在接收到的每一个第一预设帧的起始处产生一个时戳信息,若第一预设帧或第二预设帧的同步信息通道中承载有同步事件信息的接口事件时戳点,则将接收到第一预设帧采集到的时戳信息与该接口事件时戳点进行比较,以完成时间同步。
在一实施例中,确定同步事件信息的接口事件时戳点,包括:将第一预设复帧事件作为同步事件信息的接口事件时戳点;将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递,包括:将封装后的同步事件信息插入到第一预设帧或第一预设帧之后的第M个第一预设帧的同步信息通道中进行传递,M为正整数。在实施例中,在将第一预设帧或第一预设复帧事件的起始作为同步事件信息的接口事件时戳点的情况下,将封装后的同步事件信息插入到第一预设帧或第一预设帧之后的第M个第一预设帧的同步信息通道中进行传递。
在一实施例中,确定同步事件信息的接口事件时戳点,包括:将第一预设复帧事件作为同步事件信息的接口事件时戳点;将封装后的同步事件信息插入 到第一预设帧或第二预设帧的同步信息通道中进行传递,包括:将封装后的同步事件信息插入到第一预设帧承载的第二预设帧的同步信息通道中进行传递。在实施例中,在将第一预设复帧事件作为同步事件信息的接口事件时戳点的情况下,将封装后的同步事件信息插入到第一预设帧承载的第二预设帧的同步信息通道中进行传递。
在一实施例中,确定同步事件信息的接口事件时戳点,包括:将第二预设复帧事件作为同步事件信息的接口事件时戳点;将封装后的同步事件信息插入到第二预设帧的同步信息通道中进行传递,包括:按照预先确定的偏移比特数量对封装后的同步事件信息进行补偿;将补偿之后的同步事件信息插入到第二预设帧的同步信息通道中进行传递。在实施例中,将第二预设复帧事件的起始作为同步事件信息的接口事件时戳点。
在实施例中,第一预设帧可以承载多个第二预设帧。示例性地,第一预设帧可以承载40多个第二预设帧。
在一实施例中,第一预设帧的同步信息通道的确定方式,包括下述之一:第一预设帧中CWM开销的第一预设个数比特;第一预设帧中净荷区的第二预设个数比特。在实施例中,可采用第一预设帧的CWM开销中的部分比特作为第一预设帧的同步信息通道;也可以采用第一预设帧中的净荷区的部分比特作为第一预设帧的同步信息通道。
在一实施例中,偏移比特数量的确定方式,包括:计算第二预设复帧的第一帧映射至第一预设帧的情况下,第二预设复帧的第一帧起始与第一预设帧起始之间的偏移比特数量。
在一实施例中,第一预设复帧的数量的统计方式,包括下述之一:通过累计插入的AM数量或CWM数量进行统计;采用AM或CWM中的第三预设个数比特作为第一预设复帧的数量的统计开销;采用第一预设帧中净荷区的第四预设个数比特作为第一预设复帧的数量的统计开销。在实施例中,每个第一预设帧中包含一个AM或CWM,可根据插入的AM数量或CWM数量来计算得到第一预设复帧的数量;或者,在AM或CWM中设置第一预设复帧的数量的统计开销,并利用该统计开销对第一预设复帧的数量进行统计;或者,在净荷区中设置第一预设复帧的数量的统计开销,并来用该统计来校对第一预设复帧的数量进行统计。
在一实施例中,在利用AM或CWM中的预设个数比特确定同步信息通道和/或复帧数量统计开销的情况下,对第一预设帧中的同步信息通道和/或复帧数量统计开销执行扰码操作。在实施例中,利用AM或CWM中的部分比特作为同步信息通道和/或复帧数量统计开销,为了保持传输中的比特0和1的均衡, 将第一预设帧中的同步信息通道和/或复帧数量统计开销进行扰码之后,再进行发送。
在一实施例中,第一预设帧为OTU25(u)/50(u)-RS帧,第二预设帧为OTU25(u)/50(u)帧,第一预设复帧为OTU25(u)/50(u)-RS复帧,第二预设复帧为OTU25(u)/50(u)复帧。
在一实施例中,在发送端,OTU25(u)/50(u)帧映射到OTU25(u)/50(u)-RS帧中,每个OTU25(u)/50(u)-RS帧中可以承载40多个OTU25(u)/50(u)帧,以OTU25(u)/50(u)-RS帧或OTU25(u)/50(u)-RS复帧起始处作为同步事件信息的接口事件时戳点,将同步事件信息封装后,插入到该OTU25(u)/50(u)-RS帧,或者插入到该OTU25(u)/50(u)-RS帧之后的第M个OTU25(u)/50(u)-RS帧中所承载的OTU25(u)/50(u)帧中进行传递。
在一实施例中,在OTU25(u)-RS帧中的CWM开销大小为256比特,并且,在OTU25(u)-RS帧中设置CWM开销的目的是进行FEC码字的定帧处理,根据相关的标准协议,进行定帧处理时需要前64比特即可完成定帧处理。因此,可将剩余的192比特的全部或者部分比特(比如,可以使用128比特作为同步信息通道,其带宽为0.6Mbit/s)用作OTU25(u)-RS帧的同步信息通道,以OTU25(u)-RS帧/复帧起始处作为同步事件信息的接口事件时戳点,并将该同步事件信息进行编码后放在该OTU25(u)-RS帧或该OTU25(u)-RS之后第K个OTU25(u)-RS帧中的同步信息通道(即CWM中的部分位置),为了保持传输中的比特0和1的均衡,需要将OTU25(u)-RS帧中的同步信息通道扰码后再进行发送。K为正整数。
在一实施例中,在OTU25(u)/50(u)-RS帧中的净荷区中划分一部分比特(例如128比特)用来作为同步信息通道,以OTU25(u)/50(u)-RS帧/复帧起始处作为同步事件信息的时戳点,并将该同步事件信息进行编码后放在该OTU25(u)/50(u)-RS帧或该OTU25(u)/50(u)-RS帧之后第K个OTU25(u)/50(u)-RS帧中的同步信息通道中,为了保持传输中的比特0和1的均衡,需要将OTU25(u)/50(u)-RS帧中的同步信息通道扰码后再进行发送。K为正整数。
在一实施例中,在将第一预设复帧事件作为同步事件信息的接口事件时戳点的情况下,同步事件信息的产生方式包括:每隔第一预定数量N1个OTU25(u)/50(u)-RS帧产生,即同步事件信息按照OTU25(u)/50(u)-RS复帧起始处进行打戳,OTU25(u)/50(u)-RS复帧的数量可通过累计插入的AM/CWM数量进行N1的统计,也可在OTU25(u)/50(u)-RS帧中的AM/CWM中未使用的192比特中开辟部分比特作为OTU25(u)/50(u)-RS的复帧指示开销。N1为正整数。
在一实施例中,在将第二预设复帧事件作为同步事件信息的接口事件时戳点的情况下,同步事件信息的产生方式包括:每隔第二预定数量N 2的OTU25(u)/50(u)帧产生。示例性地,以每隔256帧的OTU25(u)/50(u)帧产生同步事件信息进行说明,以OTU25(u)/50(u)帧/复帧边界作为同步事件信息的接口事件时戳点,即在每个256帧的OTU25(u)/50(u)复帧的第一帧起始处进行时戳采集,此时需要计算该OTU25(u)/50(u)帧映射到OTU25(u)/50(u)-RS帧时,OTU25(u)/50(u)复帧的第一帧起始处与OTU25(u)/50(u)-RS帧中的第一个比特之间的偏移比特数量,并采用偏移比特数量对OTU25(u)/50(u)-RS帧/复帧起始处的时戳点采集的同步事件信息进行补偿,将补偿后的同步事件信息放在OTU25(u)/50(u)帧的同步信息通道中进行传递。
在一实施例中,在接收端,在接收到的每一个OTU25(u)/50(u)-RS帧起始处产生一个时戳信息,若该OTU25(u)/50(u)-RS帧中的同步信息通道中,或OTU25(u)/50(u)-RS帧中承载的OTU25(u)/50(u)帧中的同步信息通道中,或OTU25(u)/50(u)-RS帧中,承载有256帧的OTU25(u)/50(u)复帧的第一帧,则将接收到OTU25(u)/50(u)-RS帧采集的时戳与该OTU25(u)/50(u)-RS帧中携带的时戳进行比较,完成时间同步。
在一实施例中,图4是本申请实施例提供的一种25G OTN场景示意图。如图4所示,在25G传输应用场景中,设置有两个OTN设备,分别为OTN设备A和OTN设备B,并利用OTN设备A和OTN设备B两个OTN设备组成25G传输应用场景。
步骤1,将OTU25(u)-RS帧中CWM中第253到256位置的4比特用作复帧指示开销,将第125到252位置的128比特用作同步信息通道。图5是本申请实施例提供的一种OTU25(u)-RS帧中增加同步信息通道和复帧指示的示意图。如图5所示,在OTU25(u)-RS帧中增加同步信息通道和复帧指示,同步信息通道的带宽大约为0.6Mbit/s。
步骤2,在OTN设备A发送端,同步事件信息每隔6帧的OTU25(u)-RS帧产生,即在每6帧OTU25(u)-RS复帧中复帧编号为1的OTU25(u)-RS帧起始处进行时戳信息采集。
步骤3,将同步事件信息进行GFP-F封装后插入到复帧编号为2的OTU25(u)-RS帧中的同步信息通道中,发送OTU25(u)-RS帧。
步骤4,在接收侧OTN设备B处,在收到的每一个OTU25(u)-RS帧的起始位置进行时戳信息采集,若该OTU25(u)-RS帧中的同步信息通道中承载有时戳信息,则将承载的时戳信息进行GFP-F解封装后与采集到的时戳信息进行比对,完成时间同步。
GFP-F指的是帧映射的通用成帧规程(Generic Framing Procedure,GFP),是一种面向协议数据单元(Protocol Data Unit,PDU)的数据流模式,用作传输网际协议(Internet Protocol,IP)、多协议标记交换(Multi-Protocol Label Switching,MPLS)和以太网的数据流。
在一实施例中,如图4所示,为OTN设备A和OTN设备B这两个OTN设备组成的25G传输应用场景。
步骤1,在OTN设备A发送端,同步事件信息每隔6帧OTU25(u)-RS帧产生,即在每6帧OTU25(u)-RS复帧起始处进行时戳信息采集,设置计数器通过统计插入的CWM个数进行赋值统计。
步骤2,将同步事件信息进行GFP-F封装后插入到该OTU25(u)-RS帧中承载的OTU25(u)帧中的同步信息通道中,发送OTU25(u)-RS帧。
步骤3,在接收侧OTN设备B处,在接收到的每一个OTU25(u)-RS帧起始位置进行时戳信息采集,若该OTU25(u)-RS帧中承载的OTU25(u)帧中的同步信息通道中承载有时戳信息,则将承载的时戳信息进行GFP-F解封装后与采集到的时戳信息进行比对,完成时间同步。
在一实施例中,如图4所示,为OTN设备A和OTN设备B这两个OTN设备组成的25G传输应用场景。
步骤1,在OTN设备A发送端,同步事件信息每隔256帧OTU25(u)复帧起始产生,即在每256帧OTU25(u)复帧的第一帧起始处进行时戳信息采集。
步骤2,记录此OTU25(u)帧映射到OTU25(u)-RS帧中时OTU25(u)帧的第一个比特与OTU25(u)-RS第一个比特的位置偏移,以及OTU25(u)-RS帧第一个比特的时戳信息。
步骤3,将OTU25(u)-RS帧第一个比特的时戳信息加上OTU25(u)帧与OTU25(u)-RS帧的位置偏移转换后的时戳信息作为OTU25(u)帧的时戳信息,将此作为OTU25(u)帧的时戳信息,进行GFP-F封装后插入到OTU25(u)帧的同步信息通道,发送OTU25(u)-RS帧。
步骤4,在接收侧OTN设备B处,在接收到的每一个OTU25(u)-RS帧起始位置进行时戳信息采集,若该OTU25(u)-RS帧中承载有256帧的OTU25(u)复帧的第一帧,则从OTU25(u)帧中的同步信息通道中提取时戳信息,进行GFP-F解封装后与采集到的时戳信息进行比对,完成时间同步。
图6是本申请实施例提供的一种OTU25(u)复帧边界在OTU25(u)-RS帧中的位置示意图。在实施例中,在每个OTU25(u)-RS帧中可以承载多个OTU25(u)帧,并且,每个OTU25(u)复帧包含多个OTU25(u)帧,即在每个OTU25(u)-RS 帧中可以承载多个OTU25(u)复帧。如图6所示,每个OTU25(u)复帧中包含两个OTU25(u)帧,并且,OTU25(u)复帧边界在CWM之后。
图7是本申请实施例提供的一种同步装置的结构框图。如图7所示,本实施例中的同步装置包括:确定模块210和传递模块220。
确定模块210,设置为确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装。
传递模块220,设置为将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
在一实施例中,确定模块210,是设置为将第一预设复帧事件作为同步事件信息的接口事件时戳点;传递模块220,是设置为将封装后的同步事件信息插入到第一预设帧或第一预设帧之后的第M个第一预设帧的同步信息通道中进行传递,M为正整数。
在一实施例中,确定模块210,是设置为将第一预设复帧事件作为同步事件信息的接口事件时戳点;传递模块220,是设置为将封装后的同步事件信息插入到第一预设帧承载的第二预设帧的同步信息通道中进行传递。
在一实施例中,确定模块210,是设置为将第二预设复帧事件作为同步事件信息的接口事件时戳点;传递模块220,包括:补偿单元,设置为按照预先确定的偏移比特数量对封装后的同步事件信息进行补偿;插入单元,设置为将补偿之后的同步事件信息插入到第二预设帧的同步信息通道中进行传递。
在一实施例中,第一预设帧的同步信息通道的确定方式,包括下述之一:第一预设帧中CWM开销的第一预设个数比特;第一预设帧中净荷区的第二预设个数比特。
在一实施例中,偏移比特数量的确定方式包括:计算第二预设复帧的第一帧映射至第一预设帧的情况下,第二预设复帧的第一帧起始与第一预设帧起始之间的偏移比特数量。
在一实施例中,第一预设复帧的数量的统计方式,包括下述之一:通过累计插入的对齐标记AM数量或CWM数量进行统计;采用AM或CWM中的第三预设个数比特作为第一预设复帧数量的统计开销;采用第一预设帧中净荷区的第四预设个数比特作为第一预设复帧数量的统计开销。
在一实施例中,在利用AM或CWM中的预设个数比特确定同步信息通道和/或复帧数量统计开销的情况下,对第一预设帧中的同步信息通道和/或复帧数量统计开销执行扰码操作。
图8是本申请实施例提供的一种设备的结构示意图。如图8所示,本申请提供的设备,包括:处理器310以及存储器320。该设备中处理器310的数量可以是一个或者多个,图8中以一个处理器310为例。该设备中存储器320的数量可以是一个或者多个,图8中以一个存储器320为例。该设备的处理器310以及存储器320可以通过总线或者其他方式连接,图8中以通过总线连接为例。在该实施例中,该设备为OTN设备。
存储器320作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请任意实施例的设备对应的程序指令/模块(例如,同步装置中的确定模块210和传递模块220)。存储器320可包括存储程序区和存储数据区,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器320可进一步包括相对于处理器310远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
上述提供的设备可设置为执行上述任意实施例提供的同步方法,具备相应的功能和效果。
本申请实施例还提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行一种同步方法,该同步方法应用于OTN设备,该同步方法包括:确定同步事件信息的接口事件时戳点;将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
本领域内的技术人员应明白,术语用户设备涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。
本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相 互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(Read-Only Memory,ROM)、随机访问存储器(Random Access Memory,RAM)、光存储器装置和系统(数码多功能光碟(Digital Video Disc,DVD)或光盘(Compact Disk,CD))等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field-Programmable Gate Array,FPGA)以及基于多核处理器架构的处理器。

Claims (11)

  1. 一种同步方法,包括:
    确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装;
    将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
  2. 根据权利要求1所述的方法,其中,所述确定同步事件信息的接口事件时戳点,包括:
    将第一预设复帧事件作为所述接口事件时戳点;
    所述将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递,包括:
    将所述封装后的同步事件信息插入到所述第一预设帧或所述第一预设帧之后的第M个第一预设帧的同步信息通道中进行传递,M为正整数。
  3. 根据权利要求1所述的方法,其中,所述确定同步事件信息的接口事件时戳点,包括:
    将第一预设复帧事件作为所述接口事件时戳点;
    所述将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递,包括:
    将所述封装后的同步事件信息插入到所述第一预设帧承载的第二预设帧的同步信息通道中进行传递。
  4. 根据权利要求1所述的方法,其中,所述确定同步事件信息的接口事件时戳点,包括:
    将第二预设复帧事件作为所述接口事件时戳点;
    所述将封装后的同步事件信息插入到第二预设帧的同步信息通道中进行传递,包括:
    按照预先确定的偏移比特数量对同步事件信息进行补偿;
    将补偿之后的同步事件信息插入到所述第二预设帧的同步信息通道中进行传递。
  5. 根据权利要求2所述的方法,其中,所述第一预设帧的同步信息通道通过下述之一进行确定:所述第一预设帧中码字标记CWM开销的第一预设个数比特;所述第一预设帧中净荷区的第二预设个数比特。
  6. 根据权利要求4所述的方法,其中,所述偏移比特数量通过下述方式进 行确定:
    计算所述第二预设复帧的第一帧映射至所述第一预设帧的情况下,所述第二预设复帧的第一帧起始与所述第一预设帧起始之间的偏移比特数量。
  7. 根据权利要求2或3所述的方法,其中,第一预设复帧的数量的统计方式,包括下述之一:通过累计插入的对齐标记AM数量或CWM数量进行统计;采用AM或CWM中的第三预设个数比特作为所述第一预设复帧的数量的统计开销;采用第一预设帧中净荷区的第四预设个数比特作为所述第一预设复帧的数量的统计开销。
  8. 根据权利要求5所述的方法,其中,在利用AM或CWM中的预设个数比特确定同步信息通道和复帧数量统计开销中的至少之一的情况下,对所述第一预设帧中的同步信息通道和复帧数量统计开销中的至少之一执行扰码操作。
  9. 一种同步装置,包括:
    确定模块,设置为确定同步事件信息的接口事件时戳点,并将所述同步事件信息封装;
    传递模块,设置为将封装后的同步事件信息插入到第一预设帧或第二预设帧的同步信息通道中进行传递。
  10. 一种设备,包括:存储器以及至少一个处理器;
    所述存储器,设置为存储至少一个程序;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-8中任一所述的同步方法。
  11. 一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-8任一项所述的同步方法。
PCT/CN2020/119922 2019-10-15 2020-10-09 同步方法、装置、设备和存储介质 WO2021073444A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/769,525 US20240154713A1 (en) 2019-10-15 2020-10-09 Synchronization method and apparatus, device, and storage medium
EP20877871.2A EP4040796A4 (en) 2019-10-15 2020-10-09 CONTROL METHOD AND APPARATUS, APPARATUS AND STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910979578.9 2019-10-15
CN201910979578.9A CN112672235A (zh) 2019-10-15 2019-10-15 一种同步方法、装置、设备和存储介质

Publications (1)

Publication Number Publication Date
WO2021073444A1 true WO2021073444A1 (zh) 2021-04-22

Family

ID=75399983

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119922 WO2021073444A1 (zh) 2019-10-15 2020-10-09 同步方法、装置、设备和存储介质

Country Status (4)

Country Link
US (1) US20240154713A1 (zh)
EP (1) EP4040796A4 (zh)
CN (1) CN112672235A (zh)
WO (1) WO2021073444A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017097034A1 (zh) * 2015-12-09 2017-06-15 深圳市中兴微电子技术有限公司 光传输网络中时间报文的时戳处理方法及装置
CN107070576A (zh) * 2017-03-15 2017-08-18 烽火通信科技股份有限公司 一种在otn设备间实现1588时间同步的系统及方法
CN108880722A (zh) * 2017-05-10 2018-11-23 深圳市中兴软件有限责任公司 时钟同步的方法、系统和光传输设备
CN109600188A (zh) * 2017-09-30 2019-04-09 华为技术有限公司 数据传输方法、传输设备和传输系统
CN110291758A (zh) * 2016-12-06 2019-09-27 瑞典爱立信有限公司 用于时延监测的方法和设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019071369A1 (zh) * 2017-10-09 2019-04-18 华为技术有限公司 光网络中数据传输方法及光网络设备
EP3691175A4 (en) * 2017-10-13 2020-10-28 Huawei Technologies Co., Ltd. CLOCK SYNCHRONIZATION MESSAGE TRANSMISSION AND RECEPTION METHOD AND DEVICE

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017097034A1 (zh) * 2015-12-09 2017-06-15 深圳市中兴微电子技术有限公司 光传输网络中时间报文的时戳处理方法及装置
CN110291758A (zh) * 2016-12-06 2019-09-27 瑞典爱立信有限公司 用于时延监测的方法和设备
CN107070576A (zh) * 2017-03-15 2017-08-18 烽火通信科技股份有限公司 一种在otn设备间实现1588时间同步的系统及方法
CN108880722A (zh) * 2017-05-10 2018-11-23 深圳市中兴软件有限责任公司 时钟同步的方法、系统和光传输设备
CN109600188A (zh) * 2017-09-30 2019-04-09 华为技术有限公司 数据传输方法、传输设备和传输系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4040796A4

Also Published As

Publication number Publication date
EP4040796A4 (en) 2023-11-22
US20240154713A1 (en) 2024-05-09
CN112672235A (zh) 2021-04-16
EP4040796A1 (en) 2022-08-10

Similar Documents

Publication Publication Date Title
US11082199B2 (en) Data transmission method in optical network and optical network device
CN100512059C (zh) 在无源光网络中传输同步数字体系业务的方法及装置
US20100046951A1 (en) Method, apparatus and system for transporting multi-lane ethernet signal
CN100558037C (zh) 一种数据帧的传输处理方法
EP4027650A1 (en) Method and device for service processing in optical transport network, and system
CN106921641B (zh) 传输报文的方法和装置
WO2019029419A1 (zh) 透传业务频率的方法和设备
WO2021057756A1 (zh) 延时测量方法、系统和存储介质
US10931578B2 (en) Method for processing data in ethernet, device, and system
US11223422B2 (en) Method and apparatus for processing ethernet data in optical network, and system
CN108429596B (zh) 一种用于IEEE 1588v2协议的以太网MAC模块实现装置及实现方法
CN111052632A (zh) 一种光传送网中时延测量的方法、装置和系统
CN102843293B (zh) 一种处理报文的方法和网元设备
CN102388594B (zh) 数据传输的方法、设备及系统
WO2021121352A1 (zh) 一种数据传输的方法以及装置
EP2549682B1 (en) Method and apparatus for implementing frame header alignment and multi-frame zeroing
WO2021073444A1 (zh) 同步方法、装置、设备和存储介质
CN103634229B (zh) 一种片间通讯方法及控制装置
US20190349133A1 (en) Data encapsulation and transmission methods, device, and computer storage medium
WO2017118019A1 (zh) 一种e1结构化时隙压缩模式分组传送的方法及装置
CN101336520B (zh) 一种在光传输网络中测量数据业务相对时延的方法
US8699524B2 (en) Method and apparatus for generating resize control overhead in optical transport network
WO2020248865A1 (zh) 控制字的传输方法、装置和计算机可读存储介质
CN102497311B (zh) 在sdh/sonet电路仿真中发送/接收段开销的方法、装置及传输系统
JP2013030873A (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: 20877871

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 17769525

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020877871

Country of ref document: EP

Effective date: 20220506