Method, device and system for transmitting clock information

By repeatedly carrying clock information in data frames in the optical transport network and determining the accurate clock information generated by the upstream device, the problem of clock information transmission errors in the optical transport network is solved, and the system's anti-error performance and user experience are improved.

CN118646970APending Publication Date: 2024-09-13HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310273223.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Optical transmission networks are prone to bit errors during the transmission of clock information, resulting in insufficient system error resistance and affecting user experience.

Method used

By repeatedly carrying clock information in data frames, and using multiple clock information at the receiving end to determine the accurate clock information generated by the upstream device, the bit error rate is reduced and system reliability and response speed are improved.

Benefits of technology

It achieves accurate transmission of clock information in the optical transmission network, improves the system's anti-error performance and user experience, and ensures the reliability and stability of clock recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646970A
    Figure CN118646970A
Patent Text Reader

Abstract

The invention provides a method, a device and a system for transmitting clock information, which can be applied to an optical transport network. The method comprises the steps that first clock information is generated, the first clock information is phase difference information or clock fault information, and the first clock information is used for recovering a clock of a first data frame. And mapping the first data frame carrying the plurality of pieces of first clock information to a second data frame, and sending the second data frame. According to the clock information transmission method provided by the invention, the bit error rate of the system can be reduced, and the transmission quality of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical transmission technology, and more specifically, to a method, device and system for transmitting clock information. Background Art

[0002] Optical transport network (OTN) is based on wavelength division multiplexing technology, which can provide higher transmission rate, higher transmission efficiency and better operations, administration and maintenance (OAM) capabilities, and has become the mainstream technology of backbone transmission network.

[0003] While transmitting various types of service data, the OTN system also needs to transmit the clock information corresponding to each service. However, the clock information may cause errors during transmission due to various reasons. Therefore, how to provide accurate clock information transmission and improve the system's error resistance is a problem that needs to be solved. Summary of the invention

[0004] The embodiments of the present application provide a method, device and system for transmitting clock information, which can improve the system's error resistance performance, enable the destination device to accurately restore the service layer clock, thereby achieving the purpose of improving user experience.

[0005] In a first aspect, an embodiment of the present application provides a method for transmitting clock information. The method is applied to an optical transmission device and can be executed by an intermediate device or by a component of an intermediate device (such as a chip or a chip system, etc.), and the present application does not limit this. The method includes: generating first clock information, the first clock information is phase difference information or clock failure information, and the first clock information is used to recover the clock of a first data frame. Mapping the first data frame to a second data frame, the first data frame carrying multiple first clock information. Sending the second data frame.

[0006] In some embodiments, the first data frame is an OSU frame, and the second data frame is an ODU frame.

[0007] The intermediate device carries the generated multiple first clock information in the first data frame, and transmits the multiple first clock information in the first data frame to the downstream device through the second data frame. The above scheme increases the accuracy of the first clock information transmission, reduces the system's bit error rate, improves the system's transmission quality, and achieves the purpose of improving system reliability.

[0008] In combination with the first aspect, in certain implementations of the first aspect, the first data frame is a multi-row and multi-column structure, and the multiple first clock information are carried in multiple consecutive columns of the same row of the first data frame. By carrying multiple clock information in the same row of the data frame, the receiving device can quickly obtain multiple clock information, and the reliability and stability of the system are guaranteed without increasing the information processing delay. At the same time, since multiple identical clock information is only carried in one row of the data frame, the above scheme can be adopted to simultaneously carry multiple different clock information between multiple rows of a data frame, that is, different clock information is carried in each row unit, so that the destination device can quickly respond to the clock jitter of the system, thereby improving the response speed of the destination device to the system.

[0009] In combination with the first aspect, in some implementations of the first aspect, the method further includes: receiving a second data frame from an upstream device. Demapping a first data frame from the upstream device from the second data frame of the upstream device. Obtaining multiple clock information in the first data frame of the upstream device, each clock information of the multiple clock information is phase difference information or clock failure information. Determining the second clock information generated by the upstream device based on the multiple clock information. Wherein, generating the first clock information includes: generating the first clock information based on the second clock information generated by the upstream device. This scheme confirms and corrects the multiple clock information received from the upstream through the intermediate device, which can improve the reliability of the clock information during the transmission process of the intermediate device and further improve the system's anti-error performance.

[0010] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in three adjacent columns from column 1905 to column 1920 of any row from row 1 to row 4 of the first data frame, or carried in three adjacent columns from column 1 to column 14 of any row from row 1 to row 4 of the first data frame. When the first data frame is an OSU frame, an overhead area for carrying the first clock information is re-divided from three adjacent columns from column 1905 to column 1920 of the payload area of ​​the data frame, which can ensure that the original overhead area of ​​the data frame is not affected, thereby ensuring the reliable performance of the system. Alternatively, three adjacent columns from column 1 to column 14 of the overhead area of ​​the data frame are reused to carry the first clock information, which can save overhead resources, thereby improving the transmission efficiency of the clock information.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the first data frame is a multi-row and multi-column structure, the multiple first clock information are carried in multiple columns of multiple rows of the first data frame, the number of rows of the multiple rows, the number of columns of the multiple columns and the number of the multiple first clock information are the same, the multiple rows are continuous, and the multiple columns of each row of the multiple rows are continuous. By carrying the same clock information in multiple bytes of the data frame in staggered rows and columns, the reliability of clock information transmission can be further improved, thereby achieving the purpose of reducing the system bit error rate.

[0012] In combination with the first aspect, in some implementations of the first aspect, positions of the multiple columns of the multiple rows are the same.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in three adjacent columns from column 1905 to column 1920 of row 1 to row 4 of the first data frame, or are carried in three adjacent columns from column 1 to column 14 of row 1 to row 4 of the first data frame.

[0014] In combination with the first aspect, in some implementations of the first aspect, the multiple columns of at least one row among the multiple rows are located at different positions from the multiple columns of at least one other row among the multiple rows except the at least one row.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in 3 columns of row 1 to row 4 of the first data frame, the 3 columns of row 1 of the first data frame are the 8th to 10th columns or the 9th to 11th columns of the first data frame, and the 3 columns of row 2 to row 4 of the first data frame are the 1st to 3rd columns of the first data frame.

[0016] In combination with the first aspect, in some implementations of the first aspect, the first data frame is a multi-row and multi-column structure, and the multiple first clock information are carried in the same column of multiple consecutive rows of the first data frame.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in any column from 1905 to 1920 of row 1 to row 4 of the first data frame, or carried in any column from 1 to 14 of row 1 to row 4 of the first data frame.

[0018] In combination with the first aspect, in some implementations of the first aspect, the multiple first clock information carried in the same column of the multiple consecutive rows in the first data frame corresponds to the same first data frame. Based on this solution, using a data frame to carry only the same clock information can enable the destination device to avoid additional positioning of the received clock information and the corresponding data frame, thereby simplifying the process of clock recovery of the destination device.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in the first column of the second to fourth rows of the first data frame, or carried in the third column of the second to fourth rows of the first data frame.

[0020] In combination with the first aspect, in some implementations of the first aspect, the first data frame is a row-and-multiple-column structure, and the multiple first clock information are carried in the same column of the multiple first data frames.

[0021] In combination with the first aspect, in certain implementations of the first aspect, the frame structure of the first data frame is 1 row*960 columns of bytes.

[0022] In combination with the first aspect, in some implementations of the first aspect, the multiple first clock information are carried in any one column from the 1st column to the 8th column of the three first data frames.

[0023] In combination with the first aspect, in some implementations of the first aspect, the number of bytes carrying the first clock information is 1.

[0024] In the second aspect, an embodiment of the present application provides a method for transmitting clock information. The method is applied to an optical transmission device and can be executed by a destination device or by a component of the destination device (such as a chip or a chip system, etc.), and the present application does not limit this. The method includes: receiving a second data frame from an upstream device. Demapping a first data frame from the upstream device from the second data frame of the upstream device, and obtaining multiple clock information in the first data frame of the upstream device, each of the multiple clock information is phase difference information or clock failure information. Determine the first clock information generated by the upstream device based on the multiple clock information. Generate the second clock information of this device based on the first clock information generated by the upstream device, and the second clock information is used to recover the clock of the first data frame.

[0025] Among them, the carrying method of multiple clock information carried in the first data frame of the upstream device can refer to the relevant instructions in the above-mentioned first aspect, and will not be repeated here.

[0026] Based on the above scheme, the destination device determines the accurate clock information generated by the upstream device based on the multiple clock information obtained, and uses the accurate clock information to restore the clock of the first data frame. This process can ensure the accuracy of the clock recovery of the destination device and achieve the purpose of improving system reliability.

[0027] In a third aspect, an embodiment of the present application provides a system for transmitting clock information. The system includes a sending device and a destination device. Or the system includes a sending device, a destination device and at least one first device (also referred to as an intermediate device). The destination is used to execute the method in the second aspect or any possible implementation thereof. The intermediate device is used to execute the method in the first aspect or any possible implementation thereof.

[0028] In a fourth aspect, an embodiment of the present application provides an optical transmission device. The device is used to execute the method provided in any one of the first aspect or the second aspect. Specifically, the optical transmission device may include a unit and / or module for executing the method provided in the first aspect or any one of the above implementations of the first aspect, or the optical transmission device may include a unit and / or module, such as a processing module and a transceiver module, for executing the method provided in the second aspect or any one of the above implementations of the second aspect.

[0029] In one implementation, the optical transmission device may include a unit and / or module for executing the method provided by the first aspect or any one of the above implementations of the first aspect, which is a transmitting end device. The transceiver may be a transceiver, or an input / output interface. The processing module may be at least one processor. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0030] Alternatively, the optical transmission device is a chip, a chip system or a circuit in a transmitting end device. The transceiver module may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip, the chip system or the circuit. The processing module may be at least one processor, a processing circuit or a logic circuit.

[0031] In another implementation, the optical transmission device may include a unit and / or module for executing the method provided by the second aspect or any one of the above implementations of the second aspect, which is a receiving end device. The transceiver module may be a transceiver, or an input / output interface. The processing module may be at least one processor. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0032] Alternatively, the optical transmission device is a chip, chip system or circuit in the receiving end device. The transceiver module can be an input / output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip, chip system or circuit. The processing module can be at least one processor, processing circuit or logic circuit.

[0033] In a fifth aspect, an embodiment of the present application provides a processor for executing the methods provided in the above aspects. For operations such as sending and obtaining / receiving involved in the processor, if there is no special description, or if it does not conflict with its actual role or internal logic in the relevant description, it can be understood as operations such as processor output and reception, input, etc., and can also be understood as sending and receiving operations performed by the radio frequency circuit and antenna, and this application does not limit this.

[0034] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a program code for execution by a device, the program code including a method for executing any one of the implementations of the first aspect or the second aspect.

[0035] In a seventh aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is caused to execute the method provided in any one of the implementations of the first aspect or the second aspect.

[0036] In an eighth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the processor reads instructions stored in a memory through the communication interface and executes the method provided in any one of the implementations of the first aspect or the second aspect.

[0037] Optionally, as an implementation method, the chip also includes a memory, in which a computer program or instructions are stored, and the processor is used to execute the computer program or instructions stored in the memory. When the computer program or instructions are executed, the processor is used to execute the method provided in any one of the implementation methods of the first or second aspect above.

[0038] The beneficial effects brought about by the third to eighth aspects mentioned above can be specifically referred to the description of the beneficial effects in the first, second or fifth aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of an OTN optical network system applicable to an embodiment of the present application.

[0040] Figure 2 A schematic diagram of a possible network device hardware structure.

[0041] Figure 3A schematic diagram of a structure in which one byte is used to carry clock information is provided in an embodiment of the present application.

[0042] Figure 4 A schematic diagram of the distribution of the first byte carrying multiple clock information in a data frame provided in an embodiment of the present application.

[0043] Figure 5 The embodiments of this application provide Figure 4 A schematic diagram of a possible implementation method of carrying clock information.

[0044] Figure 6 For a Figure 4 A schematic diagram of the structure of an OSU frame 600 showing byte distribution.

[0045] Figure 7 A schematic diagram of the distribution of the second byte carrying multiple clock information in a data frame provided in an embodiment of the present application.

[0046] Figure 8 A schematic diagram of the distribution of the third byte carrying multiple clock information in a data frame provided in an embodiment of the present application.

[0047] Fig. 9 A schematic diagram of the distribution of the fourth byte carrying multiple clock information in a data frame provided in an embodiment of the present application.

[0048] Fig.10 A schematic diagram of the distribution of the fifth byte carrying multiple clock information in a data frame provided in an embodiment of the present application.

[0049] Fig.11 For a Fig.10 A schematic diagram of the structure of an OSU frame 1100 showing byte distribution.

[0050] Fig.12 A schematic flowchart of a method 1200 for transmitting clock information provided in an embodiment of the present application.

[0051] Fig.13 A schematic diagram of the structure of an optical transmission device 1300 provided in an embodiment of the present application.

[0052] Fig.14 A schematic diagram of the structure of another optical transmission device 1400 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0054] In order to facilitate understanding of the embodiments of the present application, the following explanation is made.

[0055] First, the terms "first", "second", etc. and various numerical numbers in the text descriptions or drawings of the embodiments of the present application shown below are only used for the convenience of description, and are not necessarily used to describe a specific order or sequence, and are not used to limit the scope of the embodiments of the present application. For example, to distinguish different information or different data frames, etc.

[0056] Second, the term "comprising" and any variations thereof in the embodiments of the present application shown below are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0057] Third, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions, and the embodiments or designs described as "exemplary" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way for easy understanding.

[0058] Fourth, in the embodiments of the present application, the mathematical symbol “*” represents a multiplication sign.

[0059] Fifth, in the embodiments of the present application shown below, only the OTN frame in the optical transport network (OTN) is used as an example to illustrate the embodiment. It should be understood that for other bearer OTN frames, or metropolitan transport network (MTN) frames, or with the development of OTN technology and MTN technology, new types of OTN frames and MTN frames may be defined, which are also applicable to the present application.

[0060] Sixth, in the embodiments of the present application, a device may also be referred to as a node or a node device, and a sending device may be referred to as a sending node, a sending end, or a source node. Similarly, a receiving device may be referred to as a receiving end device, a receiving end, a destination device, or a sink node. An intermediate device may be referred to as an intermediate node. It should be understood that an intermediate device may receive information from an upstream device and may also send information to a downstream device. Therefore, in the embodiments of the present application, a sending device is a source node or an intermediate node, and a receiving device is a destination node or an intermediate node. This needs to be specifically determined based on the specific embodiments.

[0061] Seventh, in the embodiments of the present application, "at least one" means one or more, and "plurality" means two or more. For example, at least one of a, b, and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0062] Eighth, in the embodiments of the present application, the optical transmission equipment may also be referred to as optical transmission equipment, etc.

[0063] Ninth, in this application, "used to indicate" includes direct indication and indirect indication. When describing that a certain information is used to indicate A, it includes that the information directly indicates A or indirectly indicates A, and does not mean that A must be carried in the information.

[0064] Tenth, in the embodiment of the present application, the preset may include a pre-definition, for example, a protocol definition. The "pre-definition" may be implemented by pre-saving the corresponding code, table or other methods that can be used to indicate relevant information in the device, and the present application does not limit the specific implementation method.

[0065] Figure 1 Schematic diagram of an OTN optical network system applicable to the embodiment of the present application. Generally, an OTN optical network is composed of multiple devices connected by optical fibers, and can be formed into different topology types such as linear, ring and mesh according to specific needs. Figure 1 The OTN 100 shown includes eight OTN devices 101, namely, devices AH. 102 indicates an optical fiber used to connect two devices, and 103 indicates a customer service interface used to receive or send customer service data. Figure 1 As shown, OTN 100 is used to transmit service data for customer devices 1-3. The customer devices are connected to the OTN devices through customer service interfaces. For example, Figure 1 In the example, customer devices 1-3 are connected to OTN devices A, H, and F respectively. Figure 1 In the example, when customer device 1 needs to communicate with customer device 3, it can send service data through OTN device AF. For example, OTN device A is a sending device, OTN device BE is an intermediate device, and OTN device F is a receiving device.

[0066] Generally speaking, OTN equipment is divided into optical layer equipment, electrical layer equipment and optoelectronic hybrid equipment. Optical layer equipment refers to equipment that can process optical layer signals, such as optical amplifiers (also known as optical line amplifiers) and optical add-drop multiplexers. Optical amplifiers are used to amplify optical signals to support transmission over longer distances while ensuring the specific performance of optical signals. Optical add-drop multiplexers are used to spatially transform optical signals so that they can be output from different output ports (sometimes also called directions). Electrical layer equipment refers to equipment that can process electrical layer signals, such as equipment that can process OTN signals. Optoelectronic hybrid equipment refers to equipment that has the ability to process optical layer signals and electrical layer signals. It should be noted that, depending on the specific integration needs, an OTN device can combine multiple different functions. The technical solution provided in this application is applicable to OTN devices of different forms and integration levels that contain electrical layer functions.

[0067] It should be noted that the data frame structure used by the OTN device in the embodiment of the present application is an OTN frame, which is used to carry various service data and provide rich management and monitoring functions. The OTN frame can be an optical data unit frame (optical dataunit k, ODUk), ODUCn, ODUflex, optical channel transmission unit k (optical transport unit k, OTUk), OTUCn, or flexible OTN (FlexO) frame, etc. Among them, the difference between ODU frame and OTU frame is that OTU frame includes ODU frame and OTU overhead. k represents different rate levels, for example, k = 1 represents 2.5Gbps, k = 4 represents 100Gbps; Cn represents a variable rate, specifically a rate of a positive integer multiple of 100Gbps. Unless otherwise specified, ODU frame refers to any one of ODUk, ODUCn or ODUflex, and OTU frame refers to any one of OTUk, OTUCn or FlexO. With the development of OTN technology, new types of OTN frames may be defined, which are also applicable to this application.

[0068] Figure 2 A possible schematic diagram of the hardware structure of a network device. For example, Figure 1 Specifically, the OTN device 200 includes a branch board 201, a cross board 202, a line board 203, an optical layer processing board ( Figure 2 The network device may include a single board 204 (not shown) and a system control and communication single board 204. The type and quantity of single boards included in the network device may be different as needed. For example, a network device that is a core node does not have a branch board 201. For another example, a network device that is an edge node has multiple branch boards 201, or does not have an optical cross-connect board 202. For another example, a network device that only supports electrical layer functions may not have an optical layer processing single board.

[0069] The tributary board 201, the cross board 202 and the line board 203 are used to process the electrical layer signals of the OTN. Among them, the tributary board 201 is used to realize the reception and transmission of various customer services, such as SDH services, packet services, Ethernet services and fronthaul services. Further, the tributary board 201 can be divided into a customer-side optical transceiver module and a signal processor. Among them, the customer-side optical transceiver module can also be called an optical transceiver, which is used to receive and / or send service data. The signal processor is used to realize the mapping and demapping processing of service data to data frames. The cross board 202 is used to realize the exchange of data frames and complete the exchange of one or more types of data frames. The line board 203 mainly realizes the processing of line-side data frames. Specifically, the line board 203 can be divided into a line-side optical module and a signal processor. Among them, the line-side optical module can be called an optical transceiver, which is used to receive and / or send data frames. The signal processor is used to realize the multiplexing and demultiplexing of the data frames on the line side, or the mapping and demapping processing. The system control and communication type single board 204 is used to realize system control. Specifically, information can be collected from different boards, or control instructions can be sent to the corresponding board. It should be noted that, unless otherwise specified, the specific components (such as signal processors) can be one or more, and this application does not limit this. It should also be noted that this application does not impose any restrictions on the types of boards included in the device and the functional design and quantity of the boards. It should be noted that in a specific implementation, the above two boards may also be designed as one board. In addition, the network device may also include a power supply for backup, a fan for heat dissipation, etc.

[0070] With the advent of the fifth generation fixed network (F5G) era, the demand for dedicated line services in different scenarios has gradually become more refined. For example, industry production networks, high-quality user terminals, etc., have an increasing demand for high-quality connections. The characteristics of these customer services are small bandwidth and large quantity, requiring simple and fast flexible bandwidth adjustment. At present, optical service unit (OSU) frames are used to carry small-granular services in OTN. The process is based on the mapping method of flexible tributary units (TUflex), that is, by mapping and encapsulating multiple services into multiple OSUs, different OSUs correspond to different TUflexes, and then multiple TUflexes are multiplexed into optical payload unit (OPU) frames.

[0071] In order to ensure that the destination device in the OTN system can restore the clock of the data frame in a timely and efficient manner, it is necessary to ensure the accuracy of the clock information transmitted by each device in the system, so that after the destination device receives the correct clock information, the clock of the data frame received by the destination device is restored to be consistent with the clock of the data frame sent by the sending device according to the clock information, thereby ensuring the reliability of the system. Therefore, how to accurately transmit clock information and reduce the bit error rate in clock information transmission is a technical problem that needs to be solved.

[0072] In order to solve the above problems, the present application proposes a method for transmitting clock information, by repeatedly carrying the same clock information in multiple bytes of a data frame and transmitting it to a downstream device, so that the device receiving the clock information can use multiple clock information to determine the reliable clock information generated by the upstream device, thereby achieving the purpose of improving the system's error resistance performance and ensuring high-reliability clock recovery.

[0073] It should be noted that, in the embodiment of the present application, the clock information is information used to recover the clock of the data frame, which is phase difference information or clock failure information. When the clock information received by the destination device is phase difference information, the destination device adjusts the clock of the received data frame to be consistent with the clock of the data frame of the sender according to the phase difference information. When the clock information received by the destination device is clock failure information, the destination device can determine that the current system has failed or the current system is in an unstable state of abnormal jitter, and wait for the system to stabilize before receiving the phase difference information of the sender. In the present application, the phase difference information is the accumulation of the phase difference generated by each device in the system. For example, for the first device in the system, the phase difference information it receives is the sum of the phase differences of one or more groups of two adjacent upstream devices in one or more upstream devices of the first device through which the data frame passes, and the phase difference information it sends is the sum of the phase difference generated by the first device and the received phase difference information. For each device in the system, the generated phase difference is an integer multiple of the nominal clock period.

[0074] It should also be noted that, in the present application, the clock information can be carried by at least one byte of the data frame. For example, Figure 3 A schematic diagram of a structure that uses one byte to carry clock information provided in an embodiment of the present application. Figure 3 The highest bit of the byte (i.e. Figure 3 The first bit in the byte is used to indicate that the clock information carried by the byte is phase difference information or clock failure information. Specifically, when the highest bit of the byte is 0, it is used to indicate that the clock information carried by the byte is phase difference information; when the highest bit of the byte is 1, it is used to indicate that the clock information carried by the byte is clock failure information.

[0075] Optionally, when the clock information carried by the byte is clock fault information, the clock information also includes confirmation information carried by the second higher bit, and the confirmation information is used to indicate that the downstream device confirms that the clock information is clock fault information. Exemplarily, when the downstream intermediate device of intermediate device #1, such as intermediate device #2, receives the clock information sent by intermediate device #1 as fault information, the intermediate device #2 can once again confirm that the current OTN system has a fault by calculating whether there is a system frequency deviation or a sudden frequency deviation of the device, and fill the second bit with 1. Through two confirmations, false alarms caused by some recoverable abnormal jitters of the OTN system can be avoided, thereby ensuring the stable performance of the system.

[0076] Optionally, the clock failure information also includes the number of failed devices, that is, the number of devices between the failed device and the destination device. In other words, when the destination device receives the clock failure information, it can determine the location of the failed device according to the number recorded in the indication field. It should be understood that the number of failed devices can be indicated by multiple bits in the remaining 7 bits except the highest bit. Figure 3 In the illustrated structure, the lower 5 bits (such as Figure 3 4-8 bits in the .

[0077] Exemplarily, when a device (e.g., intermediate device #1) determines that a clock anomaly has occurred, intermediate device #1 generates clock fault information. The clock fault information is to set the highest bit position of a byte carrying the clock fault information to 1, and at the same time, record 1 in the indication field of the 4th to 8th bits used to indicate the number of devices that have failed, and send a data frame carrying the clock fault information to the downstream device. When the downstream device receives the data frame and obtains the clock fault information generated by the intermediate device #1, if the downstream device also determines that the clock anomaly has occurred, the 2nd bit position of the byte used to carry the clock information is set to 1, and the 1 in the 4th to 8th bits is modified to 2. By the same method, the downstream devices of the intermediate device #1 count in the 4th to 8th bits in turn, so that after the destination device receives the clock fault information, it can determine the location of the failed intermediate device #1 according to the number recorded in the indication field.

[0078] It should be understood that Figure 3 The possible structure of the clock information is shown by taking 1 byte as an example, and the present application is not limited thereto. In the present application, the number of bytes carrying the clock information may also be multiple bytes. When multiple bytes are used to carry the clock information, the multiple bytes may also include an indication field indicating that the carried clock information is phase difference information or clock fault information, or include an indication field for the above-mentioned carrying confirmation information and an indication field for the number of carrying faulty devices.

[0079] Due to the diversity of OTN frame structures (for example, multiple rows and multiple columns or single row and multiple columns), there may be multiple ways to carry the same clock information in the same OTN frame structure, that is, for the same clock information, there are multiple possibilities for the position distribution of multiple bytes that can be used in the same data frame. For different OTN frame structures, the multiple bytes that carry multiple identical clock information are also different. The following describes in detail the distribution diagrams of several bytes carrying clock information in the data frame provided by the present application in combination with the accompanying drawings, and lists the corresponding possible OTN frame structures.

[0080] It should be noted that the following Figures 4 to 11 In the description, for the sake of simplicity, it is explained that one byte carries one clock information. Figures 4 to 11 In the data frame, each column represents a byte.

[0081] Figure 4 The first embodiment of the present application provides a schematic diagram of the distribution of bytes carrying multiple clock information in a data frame. Figure 4 As shown, the bytes carrying multiple clock information are located in the same multiple columns of all rows of the data frame, that is, for a multi-row and multi-column data frame, the bytes at the same position in any row of the data frame are used to carry multiple identical clock information.

[0082] In some embodiments, when the system transmits the same clock information three times, Figure 4 A possible implementation method of carrying clock information is also shown. Figure 4 In the same three clock information (i.e. Figure 4 The 3 1s, 3 2s, ..., 3 8s) are carried in three consecutive columns of the same row of the data frame.

[0083] It should be noted that in Figure 4 In the example, the continuous columns of all rows of the data frame are used to carry the clock information, that is, for Figure 4For the 4-row n-column data frame shown, one data frame can carry the clock information generated by the device at 4 moments, but the present application is not limited to this. For example, 3 columns of at least one of the 4 rows can be used to carry the same clock information. Exemplarily, when any 1 of the 4 rows is used to carry the clock information, the clock information is the clock information corresponding to a data frame, that is, the calculation of the clock information is based on the data frame, for example, the device that generates the clock information calculates the difference between the nominal clock cycles corresponding to a data frame of the device and the adjacent upstream device. When 4 rows are used to carry the clock information, the clock information is the clock information corresponding to 1 row of a data frame, that is, the calculation of the clock information is based on a row of the data frame, for example, the device that generates the clock information calculates the difference between the nominal clock cycles corresponding to the same row of a data frame of the device and the adjacent upstream device.

[0084] against Figure 4 The distribution diagram of multiple bytes shown in FIG. Figure 5 A schematic diagram of another possible implementation method of carrying clock information provided in an embodiment of the present application. Figure 5 In the same 3 clock information (i.e. Figure 5 The 3 1s, 3 2s, ... 3 6s) are respectively carried in three different columns in three consecutive rows.

[0085] It should be noted that in Figure 5 In the figure, since the same clock information is repeated three times, the number of rows and columns carrying the same clock information is the same as the number of repetitions of the clock information, which is 3.

[0086] In addition, for the case where multiple identical clock information is carried in multiple rows and columns of a data frame, and the number of rows and columns carrying the identical clock information is the same as the number of repetitions of the clock information, Figure 5 Only one type of bearing is shown. Figure 5 The three 1s in are placed in the corresponding positions in order from left to right (i.e., the direction in which the number of columns increases from small to large). Alternatively, there are other ways, for example, Figure 5 The three 1s in the number are carried in the first row, the third row, etc. in order from right to left (i.e., the direction of decreasing column numbers).

[0087] Figure 6 For a Figure 4 The schematic diagram of the structure of the OSU frame 600 with byte distribution is shown. Figure 6The OSU frame 600 shown is composed of 4*3824 bytes, including a first overhead area, a second overhead area and a payload area, wherein the first overhead area is used to carry other overheads of the OSU frame 600, including but not limited to, frame alignment signal (frame alignment signal, FAS), multi-frame alignment signal (multi-frame alignment signal, MFAS), path monitoring (path monitoring, PM), tandem connection monitoring (tandem connection monitoring, TCM) (including TCM1 and TCM2), automatic protection switching and protection control channel (auto-protection switching, protection control channel, APS / PCC), etc. The definitions and functions of these overheads can be referred to the description of the relevant protocols and will not be repeated here. The second overhead area is used to carry multiple clock information. The payload area is used to carry OSU frame service data.

[0088] In some embodiments, Figure 6 As shown, the second overhead area is any three adjacent columns from the 1905th column to the 1920th column of the OSU frame 600. In other embodiments, the second overhead area is any three adjacent columns from the 1st column to the 14th column of the OSU frame 600.

[0089] It should be understood that Figure 6 The clock information carrying method can refer to the above Figure 4 or Figure 5 , which will not be described here. It should also be noted that the clock information belongs to the overhead information. When the second overhead area is any three adjacent columns from the 1905th column to the 1920th column of the OSU frame 600, the multiple bytes carrying the clock information constitute the second overhead area of ​​the OSU frame 600 and will no longer be continuous with the first overhead area. At the same time, the payload area of ​​the OSU frame 600 is no longer continuous.

[0090] Figure 7 A schematic diagram of the distribution of the second byte carrying multiple clock information in a data frame provided in an embodiment of the present application. Figure 4 Compared with the distribution diagram of multiple bytes shown in Figure 7 In the data frame, the continuous columns of the first row are no longer in the same position as the continuous columns in other rows. That is, the positions of the continuous columns in the first row of each data frame are different from the columns in the other three rows. When the system uses three repetitions to transmit the same clock information, it can start from the first row of the first data frame of the system and carry the same three clock information in groups of 3 rows (i.e. Figure 73 1s, 3 2s ... 3 6s), it should be understood that every 3 identical clock information are respectively carried in different consecutive three columns of three consecutive rows.

[0091] It should be noted that since the same clock information is repeated three times, Figure 7 In the example, the number of rows, columns and repetition times of the same clock information are all 3. When the system uses other repetition times, such as 5 times, to transmit the same clock information, the bytes carrying the clock information will come from two adjacent data frames of 4 rows and n columns, and there are 5 consecutive columns in each row for carrying the clock information.

[0092] In addition, for the case where multiple identical clock information is carried in multiple rows and columns of a data frame, and the number of rows and columns carrying the identical clock information is the same as the number of repetitions of the clock information, Figure 7 This only shows one bearing mode, which does not limit the protection scope of this application. Figure 7 In some embodiments, the positions of the continuous columns of the last row may be different from those of the continuous columns of the other rows. That is, the present application is not limited to the continuous columns of the first row. In other embodiments, the positions of the continuous columns of two rows may be different from those of the continuous columns of the other rows, or even more. In addition, the data frame used to carry clock information in the present application is not limited to Figure 7 It should be understood that for a more general multi-row and multi-column data frame structure, the positions of the columns of at least one row in the multiple rows are different from the positions of the columns of at least one row in the multiple rows except the at least one row.

[0093] When based on Figure 7 When the byte distribution is shown, Figure 6 In the OSU frame 600 shown, the second overhead area is divided into two parts, wherein the first part is the 8th to 10th columns of the 1st row of the OSU frame 600, or the 9th to 11th columns of the 1st row; the second part is the 1st to 3rd columns of the 2nd to 4th rows of the OSU frame 600.

[0094] It should be understood that Figure 7 In Figure 5 The clock information carrying method shown is for example. Figure 7 The position of the byte carrying the clock information in each line of the OSU frame varies, but for Figure 4 The clock information carrying method shown can still be used Figure 7 The bytes shown are used to carry the Figure 7 Each row of the data frame shown is used to carry the same clock information.

[0095] Figure 8 The third embodiment of the present application provides a schematic diagram of the distribution of bytes carrying multiple clock information in a data frame. Figure 8 As shown, the bytes carrying multiple clock information are located in the same column of all rows of the data frame, that is, for a data frame with multiple rows and columns, a column at the same position in any row of the data frame is used to carry one clock information.

[0096] In some embodiments, when the system transmits the same clock information three times, Figure 8 A possible implementation method of carrying clock information is also shown. Figure 8 In the same three clock information (i.e. Figure 8 The 3 1s, 3 2s, and two 3s in the data frame are sequentially carried in 8 consecutive rows of the same column of the two data frames. It should be understood that the third clock information 3 will be carried in the same column of the first row of the (m+2)th data frame.

[0097] When based on Figure 8 When the clock information is carried out as shown in Figure 6 In the OSU frame 600 shown, the second overhead area is any one of the 1st to 14th columns. Alternatively, the second overhead area is any one of the 1905th to 1920th columns.

[0098] Fig. 9 A schematic diagram of the distribution of the fourth byte carrying multiple clock information in a data frame provided in an embodiment of the present application. Figure 8 compared to, Fig. 9 Each data frame in the data frame carries only three identical clock information (such as Fig. 9 The data frame m carries three clock information 1s; the data frame m+1 carries three clock information 2s).

[0099] It should be noted that for Figure 8 and Fig. 9 For the load-bearing method shown, Figure 8 In , the clock information carried in a data frame corresponds to different data frames. Fig. 9 In the embodiment, multiple clock information carried in the same column of consecutive rows in a data frame corresponds to the same data frame.

[0100] When based on Fig. 9 When the byte distribution is shown, Figure 6 In the OSU frame 600 shown, the second overhead area is the first column of the second to fourth rows, or the second overhead area is the third column of the second to fourth rows.

[0101] Fig.10The fifth embodiment of the present application provides a schematic diagram of the distribution of bytes carrying multiple clock information in a data frame. Fig.10 As shown, the data frame carrying the clock information is a 1-row n-column structure, so when multiple clock information needs to be transmitted, the multiple clock information can be carried in the same 1 column of multiple data frames. That is, for a single-row multi-column data frame, multiple clock information is carried in the same column of multiple data frames.

[0102] Fig.11 For a Fig.10 The structure diagram of the OSU frame 1100 with byte distribution is shown in FIG. Fig.11 In the OSU frame 1100 shown, the second overhead area is any one of the first to eighth columns.

[0103] It should be noted that the above Figures 4 to 11 The above description is based on the example of repeating the transmission of the same clock information three times, which does not limit the protection scope of this application. It should be understood that the number of times the same clock information is repeatedly transmitted can be preset by the system. When the number of times the same clock information is repeatedly transmitted increases or decreases, the number of bytes carrying the clock information also increases or decreases accordingly. At the same time, the method of carrying the clock information can also be adopted. Figure 4 , Figure 5 and Figure 7-10 Any of the methods shown, or based on Figure 4 , Figure 5 , Figure 7-10 Any other bearing method mentioned in any method can be obtained by simple deformation.

[0104] It should also be noted that the above Figures 4 to 11 The distribution of the bytes carrying the clock information and the OSU frames listed are only examples and are not intended to be limiting. It should be understood that the embodiments that are combined with each other should also be within the scope of protection of this application. For example, Fig.11 Any three adjacent columns from the 1st column to the 8th column of the 1*960-byte OSU frame 1100 shown carry the same clock information, etc.

[0105] In addition, according to the above description, it can be seen that in the embodiment of the present application, the clock information transmitted by the data frame is decoupled from the data frame. In other words, the clock information transmitted by a data frame is not necessarily only the clock information corresponding to the data frame. Specifically, it should be judged in combination with the carrying method of the clock information and the structure of the data frame. For example, in Figure 8 In the data frame, the clock information carried by the data frame m includes two types (such as Figure 83 1s and 1 2 in the data frame), wherein the second type of clock information is the clock information of the data frame m+1 generated by the device. In order to ensure that the clock information generated by the device can be transmitted, in the embodiment of the present application, the period of clock information generated by any device should be greater than the sending period of the data frame. For example, the period of clock information generated by the device is about 4ms, and the sending period of the data frame is about 3ms. In some scenarios, when the device generates clock information, the data frame has not been sent. At this time, the device can save the generated clock information, and when the data frame is sent, the newly generated clock information is used to replace the clock information of the upstream device received in the data frame, and the updated clock information is sent to the downstream device through the data frame.

[0106] It should also be noted that the structure of the OSU frame listed in the above embodiment and the position of the byte carrying the clock information in the specific OSU frame (for example Figure 6 The three adjacent columns from the 1905th column to the 1920th column of the OSU frame 600 in FIG. 6 are only examples and are not limiting.

[0107] Fig.12 1 is a schematic flow chart of a method 1200 for transmitting clock information provided in an embodiment of the present application. Fig.12 As shown, the method 1200 is a schematic flow chart from the perspective of device interaction, wherein the sending device may be an OTN device or may be executed by a component of an OTN device (such as a chip). The receiving device may be an OTN device or may be executed by a component of an OTN device (such as a chip or a chip system). Specifically, Fig.12 The method 1200 shown includes the following steps.

[0108] S1201, a sending device generates first clock information, where the first clock information is phase difference information or clock failure information, and the first clock information is used to recover the clock of a first data frame.

[0109] S1202, the sending device maps a first data frame into a second data frame, where the first data frame carries multiple first clock signals.

[0110] Specifically, after the sending device generates the first clock information, it carries multiple first clock information in the first data frame, and maps the first data frame to the second data frame. The method of carrying multiple first clock information can refer to Figure 4 , Figure 5 , Figure 7 , Figure 8 , Fig. 9 or Fig.10For example, when the first data frame is an OSU frame, the sending device carries the generated multiple first clock information in the OSU frame, and maps the OSU frame carrying the multiple first clock information into the ODU frame. The OSU frame can be any OSU frame structure corresponding to different distributions of the first clock information, such as the above-mentioned including but not limited to Figure 6 and Fig.11 Meanwhile, the method of mapping the OSU frame to the ODU frame can refer to the relevant description in the previous text, which will not be described here.

[0111] S1203: The sending device sends a second data frame to the receiving device.

[0112] Specifically, after the sending device maps the first data frame to the second data frame, the sending device sends the second data frame to the receiving device to transfer the first clock information.

[0113] S1204: The receiving device demaps the first data frame from the second data frame.

[0114] S1205: The receiving device obtains multiple clock information in the first data frame.

[0115] Specifically, the receiving device demaps the second data frame sent by the sending device to obtain a first data frame carrying multiple clock information, and obtains the multiple clock information in the corresponding bytes of the first data frame according to a pre-agreed carrying method.

[0116] S1206: The receiving device determines the first clock information generated by the sending device according to the multiple clock information.

[0117] Specifically, due to the fact that during the transmission of the second data frame from the sending device to the receiving device, multiple clock information in the first data frame may have bit errors, or the receiving device may also have bit errors during the demapping of the first data frame, resulting in inconsistency of multiple clock information obtained by the receiving device. Therefore, the receiving device may judge the multiple clock information obtained, for example, the receiving device may determine the accurate first clock information generated by the sending device from the multiple clock information by using methods such as large number judgment.

[0118] S1207: The receiving device generates third clock information according to the first clock information generated by the sending device.

[0119] Specifically, when the first clock information obtained by the receiving device is phase difference information, the receiving device adds the phase difference information to the locally generated phase difference to obtain updated phase difference information; when the first clock information obtained by the receiving device is clock fault information, the receiving device can determine whether the clock fault information is correct based on the situation of the local clock. Exemplarily, the receiving device can wait for a period of time and determine whether the upstream sending device has indeed failed or is just a short-term system jitter based on the first information received subsequently, and determine whether it is necessary to update the fault information or wait for accurate phase difference information based on the judgment result.

[0120] It should be noted that in the above-mentioned method for transmitting clock information, the sending device can be an intermediate device or a sending end device. The receiving device can be an intermediate device or a destination device. It should be understood that when the receiving device is an intermediate device, the third clock information generated by the intermediate device is phase difference information or fault information. When the receiving device is a destination device, the third clock information generated by the destination device may not include fault information. When the first clock information obtained by the destination device is clock fault information, the destination device can determine that the system is currently in an unstable state based on the clock fault information. If the fault information also includes at least one of confirmation information or the number of faulty devices, the destination device does not perform clock recovery operations.

[0121] It should also be noted that when the sending device is an intermediate device, the method 1200 may also include the following multiple steps.

[0122] S1208: The sending device receives a second data frame from the upstream device.

[0123] S1209: The sending device demaps the first data frame from the second data frame of the upstream device.

[0124] S1210, the sending device obtains multiple clock information in the first data frame, each of the multiple clock information is phase difference information or clock failure information.

[0125] S1211: The sending device determines second clock information generated by an upstream device based on multiple clock information.

[0126] It should be noted that S1208 to S1211 can be applied when the bytes carrying multiple clock information are as described above. Figure 4 It should be understood that when multiple clock information are located in the same row of a data frame, the device receiving the multiple clock information has a small delay in processing the multiple clock information, so that the clock information carried in the first data frame is corrected at each intermediate device, further improving the system's error resistance performance.

[0127] It should be understood that other instructions from S1208 to S1211 can refer to the relevant instructions from S1204 to S1207 above that the receiving device is an intermediate device, and will not be repeated here.

[0128] Fig.13 The schematic block diagram of an optical transmission device 1300 provided in an embodiment of the present application. The device 1300 includes a receiving module 1301, which can be used to implement a corresponding receiving function. The receiving module 1301 can also be called a receiving unit.

[0129] The device 1300 also includes a processing module 1302, which can be used to implement the corresponding processing function. The device 1300 also includes a sending module 1303, which can be used to implement the corresponding sending function, and the sending module 1303 can also be called a sending unit. Optionally, the device 1300 also includes a storage unit, which can be used to store at least one of instructions, data and other configuration parameters. The processing unit 1302 can read the content stored in the storage unit so that the device implements the actions of the relevant devices in the aforementioned various method embodiments.

[0130] The device 1300 can be used to execute the actions executed by the destination device, the sending device, or the intermediate device in each of the above method embodiments. In this case, the device 1300 can be a component of the destination device, the sending device, or the intermediate device, the receiving module 1301 is used to execute the receiving-related operations of the destination device, the sending device, or the intermediate device in the above method embodiments, the processing module 1302 is used to execute the processing-related operations of the destination device, the sending device, or the intermediate device in the above method embodiments, and the sending module 1303 is used to execute the sending-related operations of the destination device, the sending device, or the intermediate device in the above method embodiments.

[0131] It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0132] Fig.14 FIG. 1 is a schematic diagram of a possible structure of an optical transmission device 1400, which is a destination device, a sending device, or an intermediate device. Fig.14 As shown, the device 1400 includes a processor 1401, an optical transceiver 1402, and a memory 1403. The memory 1403 is optional. The device 1400 can be applied to both a sending side device (eg, a sending device) and a receiving side device (eg, the destination device mentioned above).

[0133] When applied to a transmitting device, the processor 1401 and the optical transceiver 1402 are used to implement Fig.12The method performed by the sending device or intermediate device shown in the figure. In the implementation process, each step of the processing flow can be completed by the hardware integrated logic circuit or software instructions in the processor 1401. The optical transceiver 1402 is used to receive and process the sent OTN frame to send it to the opposite end device (also called the receiving end device).

[0134] When applied to a receiving device, the processor 1401 and the optical transceiver 1402 are used to implement Fig.12 The method performed by the destination device or intermediate device shown in the figure. In the implementation process, each step of the processing flow can be completed by the hardware integrated logic circuit or software instructions in the processor 1401 to complete the method performed by the receiving side device described in the above figure. The optical transceiver 1402 is used to receive the OTN frame sent by the opposite end device (also called the sending end device) and send it to the processor 1401 for subsequent processing.

[0135] The memory 1403 is used to store instructions to enable the processor 1401 to perform the steps mentioned in the above figure. Alternatively, the memory 1403 can also be used to store other instructions to configure the parameters of the processor 1401 to achieve corresponding functions.

[0136] It should be noted that the processor 1401 and the memory 1403 are Figure 2 In the network device hardware structure diagram, it may be located in a branch board, or in a single board that combines the branch and the line. Alternatively, the processor 1401 and the memory 1403 both include multiple ones, which are located in the branch board and the line board respectively, and the two boards cooperate to complete the above method steps.

[0137] It should be noted that Fig.14 The device can also be used to execute the method steps involved in the embodiment variations shown in the above-mentioned figures, which will not be described in detail here.

[0138] Based on the above embodiments, the embodiments of the present application further provide a computer-readable storage medium. The storage medium stores a software program, and the software program can implement the method provided by any one or more of the above embodiments when read and executed by one or more processors. The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media that can store program codes.

[0139] Based on the above embodiments, the embodiments of the present application further provide a chip. The chip includes a processor for implementing the functions involved in any one or more of the above embodiments, such as acquiring or processing the OTN frames involved in the above methods. Optionally, the chip also includes a memory, which is used for the necessary program instructions and data executed by the processor. The chip can be composed of a chip, or it can include a chip and other discrete devices.

[0140] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0141] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0142] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM). For example, RAM may be used as an external cache. As an example and not limitation, RAM may include the following multiple forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM). It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory can be integrated into the processor.

[0143] Those skilled in the art will appreciate that the units and steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application; such implementation should not be considered to exceed the scope of protection of this application.

[0144] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0145] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. For example, the computer can be a personal computer, a server, or a network device, etc. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). For example, the aforementioned available medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0146] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for transmitting clock information, characterized in that: Applied to optical transmission equipment, including: Generate first clock information, where the first clock information is phase difference information or clock failure information, and the first clock information is used to recover the clock of the first data frame; Mapping the first data frame into a second data frame, where the first data frame carries a plurality of the first clock information; The second data frame is sent.

2. The method according to claim 1, characterized in that The first data frame has a multi-row and multi-column structure, and the plurality of first clock information are carried in a plurality of consecutive columns in the same row of the first data frame.

3. The method according to claim 2, characterized in that The method further comprises: receiving a second data frame from an upstream device; Demapping a first data frame from an upstream device from a second data frame of the upstream device; Acquire multiple clock information in the first data frame of the upstream device, each clock information of the multiple clock information is phase difference information or clock failure information; Determine the second clock information generated by the upstream device according to the multiple clock information, The step of generating the first clock information includes: The first clock information is generated according to the second clock information generated by the upstream device.

4. The method according to any one of claims 1 to 3, characterized in that The multiple first clock information are carried in three adjacent columns from 1905 to 1920 of any row from 1 to 4 of the first data frame, or in three adjacent columns from 1 to 14 of any row from 1 to 4 of the first data frame.

5. The method according to claim 1, characterized in that The first data frame has a multi-row and multi-column structure, and the multiple first clock information are carried in multiple columns of multiple rows of the first data frame. The number of rows, the number of columns and the number of the multiple first clock information are the same, the multiple rows are continuous, and the multiple columns of each row of the multiple rows are continuous.

6. The method according to claim 5, characterized in that Positions of the plurality of columns of the plurality of rows are the same.

7. The method according to claim 5 or 6, characterized in that: The multiple first clock information are carried in three adjacent columns from 1905 to 1920 of the 1st row to the 4th row of the first data frame, or in three adjacent columns from 1st to 14th column of the 1st row to the 4th row of the first data frame.

8. The method according to claim 5, characterized in that The plurality of columns of at least one row among the plurality of rows are located at different positions from the plurality of columns of at least one row other than the at least one row among the plurality of rows.

9. The method according to claim 8, characterized in that The multiple first clock information are carried in the three columns of the 1st row to the 4th row of the first data frame, the three columns of the 1st row of the first data frame are the 8th to the 10th column or the 9th to the 11th column of the first data frame, and the three columns of the 2nd to the 4th row of the first data frame are the 1st to the 3rd column of the first data frame.

10. The method according to claim 1, characterized in that The first data frame has a multi-row and multi-column structure, and the plurality of first clock information are carried in the same column of a plurality of consecutive rows of the first data frame.

11. The method according to claim 10, characterized in that The plurality of first clock information are carried in any column from the 1905th column to the 1920th column of the 1st row to the 4th row of the first data frame, or carried in PQ28793ND Any one of the 1st to 14th columns of the 1st to 4th rows of the first data frame.

12. The method according to claim 10, characterized in that The multiple first clock information carried in the same column of the multiple consecutive rows in the first data frame correspond to the same first data frame.

13. The method according to claim 12, characterized in that The plurality of first clock information are carried in the first column of the second to fourth rows of the first data frame, or carried in the third column of the second to fourth rows of the first data frame.

14. The method according to claim 1, characterized in that The first data frame is a structure of one row and multiple columns, and the plurality of first clock information are carried in the same column of the plurality of first data frames.

15. The method according to claim 14, characterized in that The frame structure of the first data frame is 1 row*960 columns of bytes.

16. The method according to claim 14 or 15, characterized in that The plurality of first clock information are carried in any one of the first to eighth columns of the three first data frames.

17. The method according to any one of claims 1 to 16, characterized in that The number of bytes carrying the first clock information is 1.

18. An optical transmission device, characterized in that: include: Optical transceivers and processors The processor is configured to execute the method according to any one of claims 1 to 17; The optical transceiver is used to receive a second data frame from an upstream device and transmit the second data frame to the processor or send the second data frame generated by the processor to a downstream device.

19. A chip, characterized in that: The chip includes a processor and a communication interface. The communication interface is used to receive a second data frame from other communication devices other than the communication device including the chip and transmit it to the processor, or send the second data frame generated by the processor to other communication devices other than the communication device including the chip; The processor is configured to execute the method according to any one of claims 1 to 17.

Citation Information

Cited By

  • Clock information transmission method, apparatus and system

    EP4654495A1