Clock information transmission method, apparatus and system
By repeatedly carrying clock information in the data frames of the OTN system and determining accurate clock information, the error problem in the transmission of clock information in the OTN system is solved, and the error resistance performance and user experience of the system are improved.
Patent Information
- Application Number
- PCT/CN2024/073768
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2024-01-24
- Publication Date
- 2024-09-19
AI Technical Summary
OTN systems are prone to bit errors during the transmission of clock information, resulting in insufficient system error resistance and affecting user experience.
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 is improved.
It achieves accurate clock recovery of the target device, improves the system's anti-error performance and user experience, and ensures the accuracy and reliability of clock information transmission.
Smart Images

Figure CN2024073768_19092024_PF_FP_ABST
Abstract
Description
Method, device and system for transmitting clock information
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 13, 2023, with application number 202310273223.4 and application name “A method, device and system for transmitting clock information”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] 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
[0003] Optical transport network (OTN), based on wavelength division multiplexing technology, 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 networks.
[0004] OTN systems transmit multiple types of service data while also transmitting the clock information corresponding to each service. However, clock information transmission can cause errors due to various reasons. Therefore, how to ensure accurate clock information transmission and improve the system's error tolerance is a problem that needs to be solved.
[0005] Summary of the Invention
[0006] 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, and thus achieve the purpose of improving user experience.
[0007] 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 performed by an intermediate device or a component of the intermediate device (such as a chip or chip system, etc.), which is not limited by the present application. The method includes: generating 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. Mapping the first data frame into a second data frame, where the first data frame carries multiple pieces of the first clock information. Sending the second data frame.
[0008] In some embodiments, the first data frame is an OSU frame, and the second data frame is an ODU frame.
[0009] 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.
[0010] In combination with the first aspect, in certain implementations of the first aspect, the first data frame has 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 are 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.
[0011] 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. Determine 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 solution 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 error-resistant performance.
[0012] 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 columns 1905 to 1920 of any row from rows 1 to 4 of the first data frame, or in three adjacent columns from columns 1 to 14 of any row from rows 1 to 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 columns 1905 to 1920 of the payload area of the data frame, thereby ensuring that the original overhead area of the data frame is not affected, thereby ensuring the reliable performance of the system. Alternatively, reusing three adjacent columns from columns 1 to 14 of the overhead area of the data frame to carry the first clock information can save overhead resources, thereby improving the transmission efficiency of the clock information.
[0013] In conjunction with the first aspect, in certain implementations of the first aspect, the first data frame has a multi-row, 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, 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 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 reducing the system bit error rate.
[0014] 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.
[0015] 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 carried in three adjacent columns from column 1 to column 14 of row 1 to row 4 of the first data frame.
[0016] 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.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in the three columns of row 1 to row 4 of the first data frame, the three columns of row 1 of the first data frame are the eighth to tenth columns or the ninth to eleventh columns of the first data frame, and the three columns of row 2 to row 4 of the first data frame are the first to third columns of the first data frame.
[0018] In combination with the first aspect, in some implementations of the first aspect, the first data frame has 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.
[0019] In combination with the first aspect, in certain implementations of the first aspect, the multiple first clock information are carried in any column from column 1905 to column 1920 of row 1 to row 4 of the first data frame, or carried in any column from column 1 to column 14 of row 1 to row 4 of the first data frame.
[0020] In conjunction with the first aspect, in certain implementations of the first aspect, the multiple pieces of 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. Based on this solution, using a single data frame to carry only the same clock information can avoid the destination device performing additional alignment between the received clock information and the corresponding data frame, thereby simplifying the destination device's clock recovery process.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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 first column to the eighth column of the three first data frames.
[0025] In combination with the first aspect, in some implementations of the first aspect, the number of bytes carrying the first clock information is 1.
[0026] 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, 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. 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.
[0027] Among them, the carrying method of multiple clock information carried in the first data frame of the upstream device can refer to the relevant description in the above-mentioned first aspect, and will not be repeated here.
[0028] 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.
[0029] In a third aspect, embodiments of the present application provide a system for transmitting clock information. The system includes a sending device and a destination device. Alternatively, the system includes a sending device, a destination device, and at least one first device (also referred to as an intermediate device). The destination device is configured to execute the method described in the second aspect or any possible implementation thereof. The intermediate device is configured to execute the method described in the first aspect or any possible implementation thereof.
[0030] In a fourth aspect, embodiments of the present application provide an optical transmission device. The device is configured to perform the method provided in either the first or second aspect. Specifically, the optical transmission device may include units and / or modules configured to perform the method provided in either the first aspect or any of the aforementioned implementations of the first aspect. Alternatively, the optical transmission device may include units and / or modules, such as a processing module and a transceiver module, configured to perform the method provided in either the second aspect or any of the aforementioned implementations of the second aspect.
[0031] In one implementation, the optical transmission device may include units and / or modules for executing the method provided in the first aspect or any of the aforementioned implementations of the first aspect, and may be a transmitting device. The transceiver may be a transceiver or an input / output interface. The processing module may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.
[0032] Alternatively, the optical transmission device may be a chip, chip system, or circuit in a transmitting device. The transceiver module may 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 may be at least one processor, processing circuit, or logic circuit.
[0033] In another implementation, the optical transmission device may include units and / or modules for executing the method provided in the second aspect or any of the aforementioned implementations of the second aspect, and may be 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. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.
[0034] Alternatively, the optical transmission device may be a chip, chip system, or circuit in a receiving device. The transceiver module may 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 may be at least one processor, processing circuit, or logic circuit.
[0035] In a fifth aspect, embodiments of the present application provide a processor for executing the methods provided in the above aspects. For operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or unless otherwise inconsistent with its actual function or inherent logic in the relevant description, it can be understood as operations such as processor output, reception, and input, 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.
[0036] In a sixth aspect, embodiments of the present application provide a computer-readable storage medium storing program code for execution by a device, the program code including a method for executing any one of the implementations of the first or second aspects.
[0037] In a seventh aspect, embodiments of the present application provide 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 or second aspect.
[0038] In an eighth aspect, an embodiment of the present application provides a chip. The chip 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 or second aspects above.
[0039] Optionally, as an implementation method, the chip also includes a memory, in which a computer program or instruction is stored, and the processor is used to execute the computer program or instruction stored in the memory. When the computer program or instruction is executed, the processor is used to execute the method provided in any one of the implementation methods of the first or second aspect above.
[0040] 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
[0041] FIG1 is a schematic diagram of an OTN optical network system applicable to an embodiment of the present application.
[0042] FIG2 is a schematic diagram of a possible network device hardware structure.
[0043] FIG3 is a schematic diagram of a structure in which one byte is used to carry clock information, provided by an embodiment of the present application.
[0044] FIG4 is a schematic diagram showing the distribution of the first type of bytes carrying multiple clock information in a data frame provided by an embodiment of the present application.
[0045] FIG5 is a schematic diagram of a possible implementation method for carrying clock information for FIG4 provided in an embodiment of the present application.
[0046] FIG6 is a schematic diagram of the structure of an OSU frame 600 based on the byte distribution shown in FIG4 .
[0047] FIG7 is a schematic diagram showing the distribution of the second type of bytes carrying multiple clock information in a data frame provided by an embodiment of the present application.
[0048] FIG8 is a schematic diagram showing the distribution of the third type of bytes carrying multiple clock information in a data frame provided by an embodiment of the present application.
[0049] FIG9 is a schematic diagram showing the distribution of the fourth type of bytes carrying multiple clock information in a data frame provided by an embodiment of the present application.
[0050] FIG10 is a schematic diagram showing the distribution of the fifth type of bytes carrying multiple clock information in a data frame provided by an embodiment of the present application.
[0051] FIG11 is a schematic diagram of the structure of an OSU frame 1100 based on the byte distribution shown in FIG10 .
[0052] FIG12 is a schematic flowchart of a method 1200 for transmitting clock information provided in an embodiment of the present application.
[0053] FIG13 is a schematic structural diagram of an optical transmission device 1300 provided in an embodiment of the present application.
[0054] FIG14 is a schematic structural diagram of another optical transmission device 1400 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The technical solution in this application will be described below with reference to the accompanying drawings.
[0056] In order to facilitate understanding of the embodiments of the present application, the following explanations are provided.
[0057] First, the terms "first," "second," and various numbers in the text descriptions or drawings of the embodiments of the present application shown below are merely for convenience of description and are not necessarily used to describe a specific order or sequence, and are not intended to limit the scope of the embodiments of the present application. For example, they are used to distinguish different information or different data frames.
[0058] Second, the terms "comprises" 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 that includes 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 are inherent to these processes, methods, products or apparatuses.
[0059] Third, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. An embodiment or design described as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.
[0060] Fourth, in the embodiments of the present application, the mathematical symbol “*” represents a multiplication sign.
[0061] 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 embodiments. 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.
[0062] Sixth, in the embodiments of the present application, a device may also be referred to as a node or 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 can both receive information from upstream devices and send information to downstream devices. 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 is determined based on the specific embodiment.
[0063] 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.
[0064] Eighth, in the embodiments of the present application, the optical transmission equipment may also be referred to as optical transmission equipment, etc.
[0065] 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 whether the information directly indicates A or indirectly indicates A, and does not mean that the information necessarily carries A.
[0066] Tenth, in embodiments of the present application, the preset may include a pre-defined configuration, such as a protocol definition. The "pre-defined configuration" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in the device. This application does not limit the specific implementation method.
[0067] Figure 1 is a schematic diagram of an OTN optical network system applicable to embodiments of the present application. Typically, an OTN optical network consists of multiple devices connected via optical fibers and can be organized into various topologies, such as linear, ring, and mesh, depending on specific needs. The OTN 100 shown in Figure 1 includes eight OTN devices 101, namely, devices A and H. Reference numeral 102 indicates an optical fiber used to connect two devices, and reference numeral 103 indicates a customer service interface used to receive or transmit customer service data. As shown in Figure 1, OTN 100 is used to transmit service data for customer devices 1-3. Customer devices are connected to OTN devices via customer service interfaces. For example, in Figure 1, customer devices 1-3 are connected to OTN devices A, H, and F, respectively. In Figure 1, when customer device 1 needs to communicate with customer device 3, it can send service data via OTN devices AF. For example, OTN device A is the transmitting device, OTN device BE is the intermediate device, and OTN device F is the receiving device.
[0068] 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 specific integration requirements, an OTN device can integrate multiple different functions. The technical solution provided in this application is applicable to OTN equipment of different forms and integration levels that contain electrical layer functions.
[0069] It should be noted that the data frame structure used by the OTN equipment in the embodiments 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 (ODUk), ODUCn, ODUflex, an optical channel transport unit k (OTUk), OTUCn, or a flexible OTN (FlexO) frame. The difference between an ODU frame and an OTU frame is that an OTU frame includes an ODU frame and an 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 that is a positive integer multiple of 100Gbps. Unless otherwise specified, an ODU frame refers to any of ODUk, ODUCn, or ODUflex, and an OTU frame refers to any of OTUk, OTUCn, or FlexO. As OTN technology develops, new types of OTN frames may be defined, which are also applicable to this application.
[0070] Figure 2 is a schematic diagram of a possible network device hardware structure. For example, consider device A in Figure 1. Specifically, OTN device 200 includes a tributary board 201, a cross-connect board 202, a circuit board 203, an optical layer processing board (not shown in Figure 2), and a system control and communication board 204. Depending on needs, the type and quantity of boards included in a network device may vary. For example, a network device serving as a core node may not have a tributary board 201. Another example is a network device serving as an edge node that may have multiple tributary boards 201 or no optical cross-connect board 202. Furthermore, a network device that only supports electrical layer functions may not have an optical layer processing board.
[0071] The tributary board 201, cross-connect board 202, and line board 203 are used to process OTN electrical layer signals. The tributary board 201 is used to receive and transmit various customer services, such as SDH services, packet services, Ethernet services, and fronthaul services. Furthermore, the tributary board 201 can be divided into a client-side optical transceiver module and a signal processor. The client-side optical transceiver module, also known as an optical transceiver, is used to receive and / or transmit service data. The signal processor is used to map and demap service data into data frames. The cross-connect board 202 is used to switch data frames, completing the exchange of one or more types of data frames. The line board 203 primarily processes line-side data frames. Specifically, the line board 203 can be divided into a line-side optical module and a signal processor. The line-side optical module, also known as an optical transceiver, is used to receive and / or transmit data frames. The signal processor is used to multiplex and demultiplex, or map and demap, line-side data frames. The system control and communication board 204 is used to implement 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 impose any restrictions. It should also be noted that this application does not impose any restrictions on the types of boards included in the device, as well as 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 equipment may also include a power supply for backup, a fan for heat dissipation, etc.
[0072] 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. Currently, optical service unit (OSU) frames are used to carry small-granularity 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.
[0073] To ensure that the destination device in the OTN system can promptly and efficiently recover the clock of data frames, it is necessary to ensure the accuracy of the clock information transmitted by each device in the system. This allows the destination device to receive the correct clock information and then use it to restore the clock of the data frame received by the destination device to the same clock as the clock of the data frame sent by the sending device, thereby ensuring system reliability. 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.
[0074] 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 the 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-resistant performance and ensuring high-reliability clock recovery.
[0075] 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 with abnormal jitter, and wait for the system to stabilize before receiving the phase difference information from 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 of the 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.
[0076] 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, FIG3 is a schematic diagram of a structure provided by an embodiment of the present application using one byte to carry clock information. In FIG3 , the highest bit of the byte (i.e., the first bit in FIG3 ) is used to indicate that the clock information carried by the byte is phase difference information or clock fault 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 fault information.
[0077] Optionally, when the clock information carried by this byte is clock failure information, the clock information also includes confirmation information carried in the second higher bit. This confirmation information is used to indicate to the downstream device that the clock information is clock failure information. For example, when a downstream intermediate device of intermediate device #1, such as intermediate device #2, receives clock information from intermediate device #1 as failure information, intermediate device #2 can further confirm that the current OTN system has failed by calculating whether there is system frequency deviation or sudden device frequency deviation, and then fill the second bit with 1. This double confirmation can avoid false alarms caused by recoverable abnormal jitter in the OTN system, thereby ensuring stable system performance.
[0078] Optionally, the clock failure information also includes the number of failed devices, i.e., the number of devices between the failed device and the destination device. In other words, upon receiving the clock failure information, the destination device can determine the location of the failed device based on 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 seven bits excluding the most significant bit. In the example structure of FIG3 , the number is indicated by the lower five bits (e.g., bits 4-8 in FIG3 ).
[0079] Exemplarily, when a device (such as intermediate device #1) determines that a clock anomaly has occurred, the 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, it sets the second bit position of the byte used to carry the clock information to 1, and modifies the 1 in the 4th to 8th bits 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 faulty intermediate device #1 based on the number recorded in the indication field.
[0080] It should be understood that Figure 3 only illustrates a possible structure of clock information using a single byte as an example, and the present application is not limited thereto. In the present application, the number of bytes carrying clock information may also be multiple bytes. When multiple bytes are used to carry clock information, the multiple bytes may also include an indication field indicating whether the carried clock information is phase difference information or clock fault information, or include an indication field for carrying the aforementioned confirmation information and an indication field for carrying the number of faulty devices.
[0081] Due to the diverse nature of OTN frame structures (e.g., multiple rows and columns or single row and columns), the same OTN frame structure can potentially carry multiple clock information in multiple ways. Specifically, the positions of the bytes used for the same clock information can vary within the same data frame. Different OTN frame structures also have different distributions of the bytes carrying the same clock information. The following, in conjunction with the accompanying figures, details the distribution of several clock information bytes within data frames, as provided in this application, and also lists the corresponding possible OTN frame structures.
[0082] It should be noted that, for the sake of simplicity, in the following descriptions of Figures 4 to 11 , one byte is used to carry one clock information. In the data frames of Figures 4 to 11 , each column represents one byte.
[0083] Figure 4 is a schematic diagram illustrating the distribution of bytes carrying multiple clock information in a data frame according to a first embodiment of the present application. As shown in Figure 4, the bytes carrying multiple clock information are located in the same columns across all rows of the data frame. That is, for a multi-row, multi-column data frame, the bytes in the same position in any row of the data frame are used to carry multiple identical clock information.
[0084] In some embodiments, when the system transmits the same clock information three times, Figure 4 also illustrates a possible implementation of carrying the clock information. In Figure 4, the same three clock information (i.e., three 1s, three 2s, ..., and three 8s in Figure 4) are carried in three consecutive columns in the same row of a data frame.
[0085] It should be noted that in FIG4 , the clock information is carried by continuous columns of all rows of the data frame, that is, for the 4-row n-column data frame shown in FIG4 , 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 one 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 performed based on the data frame, for example, the device generating the clock information calculates the difference between the nominal clock period corresponding to a data frame of the device itself and the adjacent upstream device. When 4 rows are used to carry the clock information, the clock information is the clock information corresponding to one row of the data frame, that is, the calculation of the clock information is performed based on a row of the data frame, for example, the device generating the clock information calculates the difference between the nominal clock period corresponding to the same row of a data frame of the device itself and the adjacent upstream device.
[0086] FIG5 is a schematic diagram illustrating another possible implementation of clock information carrying according to an embodiment of the present application, with respect to the schematic diagram of the distribution of multiple bytes shown in FIG4 . In FIG5 , the same three clock information (i.e., the three 1s, three 2s, ..., and three 6s in FIG5 ) are carried in three different columns in three consecutive rows.
[0087] It should be noted that in FIG5 , 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.
[0088] Furthermore, for situations where multiple identical clock information is carried across 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 illustrates only one carrying method. For example, the three 1s in Figure 5 are carried in corresponding positions from left to right (i.e., in the direction of increasing column numbers). Alternatively, other methods exist. For example, the three 1s in Figure 5 could be carried in the first to third rows, etc., in the direction of decreasing column numbers from right to left.
[0089] Figure 6 is a schematic diagram of the structure of an OSU frame 600 based on the byte distribution shown in Figure 4. The OSU frame 600 shown in Figure 6 is composed of 4*3824 bytes and includes a first overhead area, a second overhead area, and a payload area. The first overhead area is used to carry other overhead of the OSU frame 600, including but not limited to a frame alignment signal (FAS), a multi-frame alignment signal (MFAS), path monitoring (PM), tandem connection monitoring (TCM) (including TCM1 and TCM2), automatic protection switching, and protection control channel (APS / PCC). The definitions and functions of these overheads can be found in 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.
[0090] 6 , the second overhead area is any three adjacent columns from column 1905 to column 1920 of the OSU frame 600. In other embodiments, the second overhead area is any three adjacent columns from column 1 to column 14 of the OSU frame 600.
[0091] It should be understood that the clock information carrying method in Figure 6 can be referred to in Figures 4 or 5 above and will not be further described here. It should also be noted that clock information is overhead information. When the second overhead area is any three adjacent columns from columns 1905 to 1920 of OSU frame 600, the multiple bytes carrying the clock information constituting the second overhead area of OSU frame 600 will no longer be continuous with the first overhead area. Simultaneously, the payload area of OSU frame 600 will also be discontinuous.
[0092] FIG7 is a schematic diagram of the distribution of bytes of the second type of clock information provided by an embodiment of the present application in a data frame. Compared with the schematic diagram of the distribution of multiple bytes shown in FIG4 , in FIG7 , the continuous multiple columns of the first row of each data frame are no longer in the same position as the continuous multiple columns in other rows. That is, the positions of the continuous multiple columns in the first row of each data frame are different from those of the multiple 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 (i.e., 3 1s, 3 2s…3 6s in FIG7 ) in groups of 3 rows. It should be understood that every 3 identical clock information are respectively carried in different continuous three columns in three consecutive rows.
[0093] It should be noted that since the same clock information is repeated three times, in Figure 7, the number of rows, columns, and repetition count of the same clock information are all 3. When the system uses another repetition count, such as 5, to transmit the same clock information, the bytes carrying the clock information will come from two adjacent 4-row, n-column data frames, and there will be 5 consecutive columns in each row used to carry the clock information.
[0094] 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 same clock information is the same as the number of repetitions of the clock information, Figure 7 only shows one carrying method and does not limit the scope of protection of the present application. For example, in Figure 7, only the positions of the continuous columns of the first row are different from the positions of the continuous columns of other rows. In some embodiments, the positions of the continuous columns of the last row may be different from the positions of the continuous columns of other rows, that is, the present application is not limited to the continuous columns with different positions being the continuous columns of the first row. In other embodiments, there may also be two rows of continuous columns that are different from the positions of the continuous columns of other rows, or even more. In addition, the data frame used by the present application to carry clock information is not limited to the 4-row n-column structure shown in Figure 7. It should be understood that for a more general multi-row and multi-column data frame structure, the multiple rows it contains include multiple columns of at least one row, which are different from the positions of the multiple columns of at least one other row in the multiple rows except the at least one row.
[0095] When based on the byte distribution method shown in Figure 7, in the OSU frame 600 shown in Figure 6, 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.
[0096] It should be understood that FIG7 illustrates the clock information carrying method shown in FIG5 . Although the positions of the bytes used to carry the clock information in each row of the OSU frame in FIG7 are different, the clock information carrying method shown in FIG4 can still be carried using the bytes shown in FIG7 . In this case, each row of the data frame shown in FIG7 carries the same clock information.
[0097] Figure 8 is a schematic diagram of the distribution of bytes carrying multiple clock information in a data frame according to a third embodiment of the present application. As shown in Figure 8, the bytes carrying multiple clock information are located in the same column in all rows of the data frame. That is, for a multi-row, multi-column data frame, the same column in any row of the data frame is used to carry a single clock information.
[0098] In some embodiments, when the system transmits the same clock information three times, Figure 8 also illustrates a possible implementation of carrying the clock information. In Figure 8, the same three clock information (i.e., three 1s, three 2s, and two 3s in Figure 8) are sequentially carried in eight consecutive rows of the same column of 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.
[0099] When the clock information is carried based on the implementation shown in FIG8 , in the OSU frame 600 shown in FIG6 , the second overhead area is any one of columns 1 to 14. Alternatively, the second overhead area is any one of columns 1905 to 1920.
[0100] FIG9 is a schematic diagram illustrating the fourth distribution of bytes carrying multiple clock information in a data frame according to an embodiment of the present application. Compared to FIG8 , each data frame in FIG9 carries only three identical clock information bytes (e.g., data frame m in FIG9 carries three bytes of clock information 1; data frame m+1 carries three bytes of clock information 2).
[0101] It should be noted that, for the carrying modes shown in Figures 8 and 9, in Figure 8, the clock information carried in one data frame corresponds to different data frames, while in Figure 9, multiple clock information carried in the same column of consecutive rows in one data frame correspond to the same data frame.
[0102] When based on the byte distribution shown in FIG9 , in the OSU frame 600 shown in FIG6 , 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.
[0103] Figure 10 is a schematic diagram illustrating the distribution of bytes carrying multiple clock information within a data frame according to a fifth embodiment of the present application. As shown in Figure 10 , the data frame carrying clock information has a 1-row, n-column structure. Therefore, when multiple clock information needs to be transmitted, the multiple clock information can be carried in the same 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.
[0104] Fig. 11 is a schematic diagram of the structure of an OSU frame 1100 based on the byte distribution shown in Fig. 10. In the OSU frame 1100 shown in Fig. 11, the second overhead area is any one column from the first column to the eighth column.
[0105] It should be noted that the above Figures 4 to 11 are all illustrated by taking the repeated transmission of the same clock information three times as an example, and do not limit the scope of protection of this application. It should be understood that the number of repeated transmissions of the same clock information can be preset by the system. When the number of repeated transmissions of the same clock information 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 adopt any of the methods shown in Figures 4, 5 and 7-10, or other carrying methods mentioned in any of Figures 4, 5 and 7-10 that can be obtained through simple deformation.
[0106] It should also be noted that the distribution of the bytes carrying clock information and the OSU frames shown in Figures 4 through 11 are merely illustrative and non-limiting. It should be understood that any combination of the above embodiments is also within the scope of protection of this application. For example, any three adjacent columns from columns 1 to 8 of the 1*960-byte OSU frame 1100 shown in Figure 11 can carry the same clock information.
[0107] In addition, according to the above description, it can be seen that in the embodiments 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 clock information carrying method and the structure of the data frame. For example, in the data frame described in Figure 8, the clock information carried by data frame m includes two types (such as 3 1s and 1 2 in Figure 8), where the second type of clock information is the clock information of 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 embodiments of the present application, the period for any device to generate clock information should be greater than the transmission period of the data frame. For example, the period for the device to generate clock information is about 4ms, and the transmission period for the data frame is about 3ms. In some scenarios, when the device generates clock information, the data frame has not yet been sent. At this time, the device can save the generated clock information and, when sending the data frame, use the newly generated clock information to replace the clock information of the upstream device received in the data frame, and send the updated clock information to the downstream device via the data frame.
[0108] It should also be noted that the structure of the OSU frame listed in the above embodiments and the position of the bytes carrying clock information in the specific OSU frame (for example, the three adjacent columns from column 1905 to column 1920 of the OSU frame 600 in Figure 6) are only examples and not limitations.
[0109] Figure 12 is a schematic flowchart of a method 1200 for transmitting clock information, provided in an embodiment of the present application. As shown in Figure 12, method 1200 is a schematic flowchart illustrating device interaction. The transmitting device can be an OTN device or executed by a component of an OTN device (such as a chip). The receiving device can be an OTN device or executed by a component of an OTN device (such as a chip or chip system). Specifically, method 1200 shown in Figure 12 includes the following steps.
[0110] S1201: A sending device generates first clock information. The first clock information is phase difference information or clock failure information. The first clock information is used to recover the clock of a first data frame.
[0111] S1202: The sending device maps a first data frame into a second data frame, where the first data frame carries multiple first clock signals.
[0112] 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 Figures 4, 5, 7, 8, 9 or 10. For 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 multiple first clock information to the ODU frame. The OSU frame can be any OSU frame structure corresponding to different distributions of the first clock information, such as any one of the above-mentioned ones including but not limited to Figures 6 and 11, which will not be repeated here. At the same time, 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 repeated here.
[0113] S1203: The sending device sends a second data frame to the receiving device.
[0114] Specifically, after the sending device maps the first data frame to the second data frame, it sends the second data frame to the receiving device to transfer the first clock information.
[0115] S1204: The receiving device demaps the first data frame from the second data frame.
[0116] S1205: The receiving device obtains multiple clock information in the first data frame.
[0117] 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 corresponding bytes of the first data frame according to a pre-agreed carrying method.
[0118] S1206: The receiving device determines the first clock information generated by the sending device based on the multiple clock information.
[0119] Specifically, due to bit errors in multiple clock information in the first data frame during transmission of the second data frame from the transmitting device to the receiving device, or bit errors in the first data frame during demapping by the receiving device, the multiple clock information obtained by the receiving device are inconsistent. Therefore, the receiving device can determine the multiple clock information obtained, for example, by using a method such as majority judgment to determine the accurate first clock information generated by the transmitting device from the multiple clock information.
[0120] S1207: The receiving device generates third clock information according to the first clock information generated by the sending device.
[0121] 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 failure information, the receiving device can determine whether the clock failure information is correct based on the status of the local clock. For example, the receiving device can wait for a period of time and then, based on the subsequently received first information, determine whether the upstream sending device has indeed failed or is merely experiencing a brief system jitter. Based on the judgment result, the receiving device can determine whether it is necessary to update the failure information or wait for accurate phase difference information.
[0122] It should be noted that in the above-mentioned method for transmitting clock information, the sending device can be an intermediate device or a transmitting 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.
[0123] It should also be noted that when the sending device is an intermediate device, the method 1200 may also include the following steps.
[0124] S1208: The sending device receives a second data frame from the upstream device.
[0125] S1209: The sending device demaps the first data frame from the second data frame of the upstream device.
[0126] S1210: The sending device obtains multiple clock information in the first data frame, where each clock information of the multiple clock information is phase difference information or clock failure information.
[0127] S1211: The sending device determines second clock information generated by an upstream device based on multiple clock information.
[0128] It should be noted that S1208 to S1211 can be applied when the bytes carrying multiple clock information are distributed as shown in Figure 4. It should be understood that when multiple clock information are located in the same row of a data frame, the latency of processing the multiple clock information by the device receiving the multiple clock information is small, 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.
[0129] It should be understood that other descriptions of S1208 to S1211 can refer to the relevant description of the receiving device being an intermediate device in the above S1204 to S1207, and will not be repeated here.
[0130] FIG13 is a 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 corresponding receiving functions. The receiving module 1301 can also be called a receiving unit.
[0131] The apparatus 1300 also includes a processing module 1302, which can be used to implement the corresponding processing functions. The apparatus 1300 also includes a sending module 1303, which can be used to implement the corresponding sending functions. The sending module 1303 can also be referred to as a sending unit. Optionally, the apparatus 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 to enable the apparatus to implement the actions of the relevant apparatus in each of the aforementioned method embodiments.
[0132] The apparatus 1300 can be used to execute the actions performed by the destination device, sending device, or intermediate device in each of the above method embodiments. In this case, the apparatus 1300 can be a component of the destination device, sending device, or intermediate device, the receiving module 1301 is used to execute the reception-related operations of the destination device, sending device, or intermediate device in the above method embodiments, the processing module 1302 is used to execute the processing-related operations of the destination device, sending device, or intermediate device in the above method embodiments, and the sending module 1303 is used to execute the transmission-related operations of the destination device, sending device, or intermediate device in the above method embodiments.
[0133] 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.
[0134] Figure 14 is a schematic diagram of the structure of a possible optical transmission device 1400, which can be a destination device, a sending device, or an intermediate device. As shown in Figure 14, device 1400 includes a processor 1401, an optical transceiver 1402, and a memory 1403. Memory 1403 is optional. Device 1400 can be used in both a sending-side device (e.g., a sending device) and a receiving-side device (e.g., the destination device described above).
[0135] When used in a transmitting device, processor 1401 and optical transceiver 1402 are used to implement the method performed by the transmitting device or intermediate device shown in Figure 12. During implementation, each step of the processing flow can be completed by hardware integrated logic circuits in processor 1401 or software instructions to complete the method performed by the transmitting device in the above figure. Optical transceiver 1402 is used to receive, process and transmit OTN frames to the peer device (also known as the receiving device).
[0136] When applied to a receiving device, processor 1401 and optical transceiver 1402 are used to implement the method performed by the destination device or intermediate device shown in Figure 12. During implementation, each step of the processing flow can be completed by hardware integrated logic circuits in processor 1401 or software instructions to complete the method performed by the receiving device described in the preceding figures. Optical transceiver 1402 is used to receive OTN frames sent by a peer device (also known as a transmitting device) and send them to processor 1401 for subsequent processing.
[0137] 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 implement corresponding functions.
[0138] It should be noted that, in the network device hardware structure diagram shown in FIG2 , the processor 1401 and the memory 1403 may be located in a tributary board, or may be located in a single board that combines the tributary and line boards. Alternatively, both the processor 1401 and the memory 1403 may include multiple components, located in the tributary board and the line board, respectively, with the two boards cooperating to complete the aforementioned method steps.
[0139] It should be noted that the device described in FIG. 14 can also be used to execute the method steps involved in the embodiment variations shown in the aforementioned figures, which will not be described in detail here.
[0140] Based on the above embodiments, embodiments of the present application further provide a computer-readable storage medium. This storage medium stores a software program that, when read and executed by one or more processors, can implement the methods provided in any one or more of the above embodiments. The computer-readable storage medium may include any medium capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0141] Based on the above embodiments, embodiments of the present application further provide a chip. This chip includes a processor configured to implement the functions described in any one or more of the above embodiments, such as acquiring or processing OTN frames described in the above methods. Optionally, the chip also includes a memory configured to store program instructions and data necessary for execution by the processor. This chip can be comprised of a single chip or include a chip and other discrete components.
[0142] 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 also intends to include these modifications and variations.
[0143] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or may be 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. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0144] 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 can be used as an external cache. By way of example and not limitation, RAM may include the following 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 link 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 may be integrated into the processor.
[0145] 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 using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application; such implementations should not be considered to exceed the scope of protection of this application.
[0146] In the several embodiments provided in this 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. In actual implementation, there may be other division methods, 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.
[0147] 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 device. 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 one website, computer, server or data center to another website, 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. 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 includes 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 available medium may include, but is not limited to, various media that can store program code, such as a USB flash drive, a mobile hard disk, ROM, RAM, a magnetic disk, or an optical disk.
[0148] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection 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, 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, the first data frame carrying a plurality of identical first clock information; The second data frame is sent.
2. The method according to claim 1, characterized in that The first data frame is a multi-row and multi-column structure, and the multiple identical first clock information are respectively carried in multiple rows and multiple columns of the first data frame, the multiple rows are continuous, and the multiple columns are continuous.
3. The method according to claim 2, characterized in that The number of the plurality of rows and the number of the plurality of columns are both the same as the number of the plurality of identical first clock information.
4. The method according to claim 2 or 3, characterized in that: The plurality of identical first clock information are respectively carried in three consecutive rows and three consecutive columns of the first data frame.
5. The method according to any one of claims 1 to 4, characterized in that The first clock information is generated based on a row in the first data frame.
6. The method according to any one of claims 1 to 5, characterized in that The number of bytes carrying each of the first clock information is 1.
7. The method according to any one of claims 1 to 6, characterized in that The multiple identical first clock information are carried in three adjacent columns from column 1905 to column 1920 of any three rows from row 1 to row 4 of the first data frame.
8. The method according to any one of claims 1 to 7, characterized in that The frame structure of the first data frame is 4 rows*3824 columns of bytes.
9. A method for transmitting clock information, characterized in that: Applied to optical transmission equipment, the method comprises: 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; Acquire multiple identical clock information in the first data frame of the upstream device, each clock information of the multiple identical clock information is phase difference information; Determine first phase difference information according to the multiple identical clock information, where the first phase difference information is first clock information generated by the upstream device; Generate second clock information according to the first clock information generated by the upstream device.
10. The method according to claim 9, characterized in that The determining the first phase difference information according to the plurality of identical clock information, where the first phase difference information is the first clock information generated by the upstream device, includes: The first clock information generated by the upstream device is determined from the multiple identical clock information by adopting a majority judgment method.
11. The method according to claim 9 or 10, characterized in that: The generating second clock information according to the first clock information generated by the upstream device includes: The first phase difference information is added to the locally generated phase difference to obtain updated phase difference information, and the second clock information is generated according to the updated phase difference information.
12. The method according to any one of claims 9 to 11, characterized in that The first data frame is a multi-row and multi-column structure, and the multiple identical clock information is respectively carried in multiple rows and multiple columns of the first data frame, the multiple rows are continuous, and the multiple columns are continuous.
13. The method according to claim 12, characterized in that The number of the plurality of rows and the number of the plurality of columns are both the same as the number of the plurality of identical clock information.
14. The method according to claim 12 or 13, characterized in that The multiple identical clock information are respectively carried in three consecutive rows and three consecutive columns of the first data frame.
15. The method according to any one of claims 9 to 14, characterized in that The first clock information is calculated based on a row in the first data frame.
16. An optical transmission device, characterized in that: The optical transmission device includes an optical transceiver and a processor. The processor is used to generate first clock information, where the first clock information is phase difference information, and the first clock information is used to recover the clock of the first data frame; The processor is further configured to map the first data frame into a second data frame, wherein the first data frame carries a plurality of identical first clock information; The optical transceiver is used to send the second data frame.
17. The device according to claim 16, characterized in that The first data frame is a multi-row and multi-column structure, and the multiple identical first clock information are respectively carried in multiple rows and multiple columns of the first data frame, the multiple rows are continuous, and the multiple columns are continuous.
18. The device according to claim 17, characterized in that The number of the plurality of rows and the number of the plurality of columns are both the same as the number of the plurality of identical first clock information.
19. The device according to claim 17 or 18, characterized in that The plurality of identical first clock information are respectively carried in three consecutive rows and three consecutive columns of the first data frame.
20. The device according to any one of claims 16 to 19, characterized in that The first clock information is generated based on a row in the first data frame.
21. The device according to any one of claims 16 to 20, characterized in that The number of bytes carrying each of the first clock information is 1.
22. The device according to any one of claims 16 to 21, characterized in that The multiple identical first clock information are carried in three adjacent columns from column 1905 to column 1920 of any three rows from row 1 to row 4 of the first data frame.
23. The device according to any one of claims 16 to 22, characterized in that The frame structure of the first data frame is 4 rows*3824 columns of bytes.
24. An optical transmission device, characterized in that: The optical transmission device includes an optical transceiver and a processor. The optical transceiver is used to receive a second data frame from an upstream device; The processor is configured to demap a first data frame from the upstream device from a second data frame of the upstream device; The processor is configured to obtain a plurality of identical clock information in the first data frame of the upstream device, each clock information of the plurality of identical clock information being phase difference information; The processor is configured to determine first phase difference information according to the plurality of identical clock information, where the first phase difference information is first clock information generated by the upstream device; The processor is further configured to generate the second clock information according to the first clock information generated by the upstream device.
25. The device according to claim 24, characterized in that The processor is configured to: The first clock information generated by the upstream device is determined from the multiple identical clock information by adopting a majority judgment method.
26. The device according to claim 24 or 25, characterized in that The processor is configured to: The first phase difference information is added to the locally generated phase difference to obtain updated phase difference information, and the second clock information is generated according to the updated phase difference information.
27. The device according to any one of claims 24 to 26, characterized in that The first data frame is a multi-row and multi-column structure, and the multiple identical clock information is respectively carried in multiple rows and multiple columns of the first data frame, the multiple rows are continuous, and the multiple columns are continuous.
28. The device according to claim 26, characterized in that The number of the plurality of rows and the number of the plurality of columns are both the same as the number of the plurality of identical clock information.
29. The device according to claim 27 or 28, characterized in that The multiple identical clock information are respectively carried in three consecutive rows and three consecutive columns of the first data frame.
30. The device according to any one of claims 24 to 29, characterized in that The first clock information is calculated based on a row in the first data frame.
31. A chip, characterized in that: The chip includes a processor and a communication interface. The processor reads instructions stored in the memory through the communication interface, so as to execute the method according to any one of claims 1 to 8, or execute the method according to any one of claims 9 to 15.
Citation Information
Patent Citations
System to determine performance based on entropy values
US20190278689A1
Optical receiving apparatus, optical transmitting apparatus, and frequency offset estimation method
US20210399809A1
Control method for mobile communication terminal to receive downlink data and mobile communication terminal
WO2010078831A1
