Data processing method, device, related equipment and storage medium

By modifying the OTN frame structure with increased overhead frequency, FASs, MFASs, and timestamps, the solution addresses inefficiencies in processing low-bandwidth services, enhancing processing efficiency and alignment speed while improving delay measurement accuracy.

JP2026505103APending Publication Date: 2026-02-10CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025545293
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-06
Filing Date
2024-02-05
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

The conventional OTN frame structure is inadequate for processing low-bandwidth services due to insufficient overhead frequency, alignment speed, and inaccurate delay measurement, leading to inefficiencies in protection switching and data processing.

Method used

The proposed solution involves modifying the OTN frame structure by increasing overhead frequency, incorporating multiple Frame Align Sequences (FAS) and Multi-frame Align Sequences (MFAS), and introducing timestamps for accurate one-way and two-way delay measurements.

Benefits of technology

This enhances the processing efficiency and alignment speed of low-bandwidth services by shortening protection switching time, improving frame alignment, and increasing the accuracy of delay measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026505103000001_ABST
    Figure 2026505103000001_ABST
Patent Text Reader

Abstract

This application discloses a data processing method, an apparatus, a transmitting device, a receiving device, and a storage medium, in which the method includes a transmitting device mapping a first service into a first frame, the first frame having a frame structure with 4 rows and 3824 columns, the first to sixteenth columns being overhead for the first frame, and the seventeenth to 3824th columns also including overhead for the first frame; One of the following is satisfied: columns 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; the number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; the number of rows is 4, the number of columns is X, columns 1 to Y are overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is based on and claims priority from a Chinese patent application bearing application number 202310114019.8 and filed on February 6, 2023, the entire contents of which are hereby incorporated by reference into this application. The present application relates to the field of Optical Transport Networks (OTN), and in particular to data processing methods, devices, related equipment and storage media. [Background technology]

[0002] OTN technology has been widely used in various service scenarios, and accordingly, OTN is facing the data processing needs of an increasing number of services with different bandwidths.

[0003] However, the OTN frame structure in the related art may not be able to meet the data processing needs of certain services. Summary of the Invention [Problem to be solved by the invention]

[0004] To solve the problems of the related art, embodiments of the present application provide a data processing method, an apparatus, a related device, and a storage medium. [Means for solving the problem]

[0005] The technical aspects of the embodiments of the present application are realized as follows.

[0006] An embodiment of the present application is a data processing method performed by a sending device, comprising: Mapping a first service into a first frame, wherein the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The transmitting device satisfies one of the following conditions: the number of rows is 4, the number of columns is X, the first to Yth columns are the overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8.

[0007] In one embodiment, the method comprises: The method further includes transmitting the first frame.

[0008] An embodiment of the present application is a data processing method performed by a sending device, comprising: The present invention further provides a data processing method that includes mapping a second service into a second frame, wherein each row in the frame structure of the second frame includes at least one Frame Align Sequence (FAS).

[0009] In one embodiment, the method comprises: The method further includes transmitting the second frame.

[0010] An embodiment of the present application is a data processing method performed by a sending device, comprising: The present invention further provides a data processing method, which includes mapping a third service into a third frame, and wherein each row in the frame structure of the third frame includes at least one Multi-frame Align Sequence (MFAS).

[0011] In one embodiment, the method comprises: The method further includes transmitting the third frame.

[0012] An embodiment of the present application is a data processing method performed by a sending device, comprising: The present invention further provides a data processing method, which includes mapping a fourth service into a fourth frame, wherein an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, the first timestamp representing a time when the first information is placed in the fourth frame.

[0013] In one embodiment, the first information is located in a Tandem Connection Monitoring (TCM) field or a Path Monitoring (PM) field.

[0014] In one embodiment, the method comprises: The method further includes transmitting the fourth frame.

[0015] An embodiment of the present application is a data processing method performed by a sending device, comprising: The present invention further provides a data processing method, which includes mapping a fifth service into a fifth frame, wherein an overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, the second timestamp representing a time when the second information was placed in the fifth frame.

[0016] In one embodiment, the second information is located in the TCM field or the PM field.

[0017] In one embodiment, the method comprises: The method further includes transmitting the fifth frame.

[0018] In one embodiment, the method comprises: Further comprising receiving a sixth frame, wherein the overhead of the sixth frame includes third information, the third information being for two-way delay measurement, the third information including at least the second timestamp, the third timestamp, and the fourth timestamp, the third timestamp representing the time when the fifth frame was received by a receiving device, and the fourth timestamp representing the time when the third information was placed in the sixth frame.

[0019] In one embodiment, the method comprises: The method further includes determining a result of a two-way delay measurement based on the second timestamp, the third timestamp, the fourth timestamp, and the fifth timestamp, wherein the fifth timestamp represents the time when the sixth frame was received by the transmitting device.

[0020] In one embodiment, the third information is located in the TCM field or the PM field.

[0021] An embodiment of the present application is a data processing method performed by a receiving device, comprising: receiving a fourth frame, the fourth frame having an overhead including first information, the first information being for one-way delay measurement, the first information including at least a first timestamp, the first timestamp representing a time at which the first information was placed in the fourth frame; and analyzing the fourth frame to obtain a fourth service.

[0022] In one embodiment, the method comprises: The method further includes calculating a difference between a sixth timestamp and the first timestamp to obtain a one-way delay measurement result, the sixth timestamp representing the time when the fourth frame was received by the receiving device.

[0023] In one embodiment, the first information is located in a TCM field or a PM field.

[0024] An embodiment of the present application is a data processing method performed by a receiving device, comprising: receiving a fifth frame, the fifth frame having overhead including second information, the second information being for two-way delay measurement, the second information including at least a second timestamp, the second timestamp representing a time at which the second information was placed in the fifth frame; and analyzing the fifth frame to obtain a fifth service.

[0025] In one embodiment, the second information is located in the TCM field or the PM field.

[0026] In one embodiment, the method comprises: Further comprising transmitting a sixth frame, wherein the overhead of the sixth frame includes third information, the third information being for two-way delay measurement, the third information including at least the second timestamp, the third timestamp, and the fourth timestamp, the third timestamp representing the time the fifth frame was received by the receiving device, and the fourth timestamp representing the time the third information was placed in the sixth frame.

[0027] In one embodiment, the third information is located in the TCM field or the PM field.

[0028] An embodiment of the present application is a data processing device, comprising: a first mapping unit for mapping a first service into a first frame, wherein the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The present invention further provides a data processing device that satisfies one of the following conditions: the number of rows is 4, the number of columns is X, the first to Yth columns are overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8.

[0029] An embodiment of the present application is a data processing device, comprising: The data processing device further includes a second mapping unit for mapping a second service into a second frame, and at least one FAS is included in each row in the frame structure of the second frame.

[0030] An embodiment of the present application is a data processing device, comprising: There is further provided a data processing apparatus, comprising a third mapping unit for mapping a third service into a third frame, wherein each row in the frame structure of the third frame includes at least one MFAS.

[0031] An embodiment of the present application is a data processing device, comprising: Further provided is a data processing apparatus including a fourth mapping unit for mapping a fourth service into a fourth frame, wherein an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, the first timestamp representing a time when the first information is placed in the fourth frame.

[0032] An embodiment of the present application is a data processing device, comprising: Further provided is a data processing apparatus including a fifth mapping unit for mapping a fifth service into a fifth frame, wherein an overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, the second timestamp representing a time when the second information is placed in the fifth frame.

[0033] An embodiment of the present application is a data processing device, comprising: a fifth receiving unit for receiving a fourth frame, the fourth frame having an overhead including first information, the first information being for one-way delay measurement, the first information including at least a first timestamp, the first timestamp representing a time at which the first information was placed in the fourth frame; and a fourth analysis unit for analyzing the fourth frame to obtain a fourth service.

[0034] An embodiment of the present application is a data processing device, comprising: a sixth receiving unit for receiving a fifth frame, the fifth frame having an overhead including second information, the second information being for a two-way delay measurement, the second information including at least a second timestamp, the second timestamp representing a time at which the second information was placed in the fifth frame; and a fifth analysis unit for analyzing the fifth frame to obtain a fifth service.

[0035] An embodiment of the present application provides a sending device including a first communication interface and a first processor, The first processor is for mapping a first service into a first frame, and the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The present invention further provides a transmitting device that satisfies one of the following conditions: the number of rows is 4, the number of columns is X, the first to Yth columns are overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8.

[0036] An embodiment of the present application provides a sending device including a first communication interface and a first processor, The first processor further provides a transmitting device for mapping a second service into a second frame, wherein each row in the frame structure of the second frame includes at least one FAS.

[0037] An embodiment of the present application provides a sending device including a first communication interface and a first processor, The first processor further provides a transmitting device for mapping a third service into a third frame, and each row in the frame structure of the third frame includes at least one MFAS.

[0038] An embodiment of the present application provides a sending device including a first communication interface and a first processor, The first processor further provides a transmitting device for mapping a fourth service into a fourth frame, wherein an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, the first timestamp representing a time when the first information was placed in the fourth frame.

[0039] An embodiment of the present application provides a sending device including a first communication interface and a first processor, The first processor further provides a transmitting device for mapping a fifth service into a fifth frame, wherein an overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, the second timestamp representing a time when the second information was placed in the fifth frame.

[0040] An embodiment of the present application is a receiving device, a second communication interface for receiving a fourth frame, the fourth frame having an overhead including first information, the first information being for one-way delay measurement, the first information including at least a first timestamp, the first timestamp representing a time at which the first information was placed in the fourth frame; and a second processor for analyzing the fourth frame to obtain a fourth service.

[0041] An embodiment of the present application is a receiving device, a second communication interface for receiving a fifth frame, the fifth frame having an overhead including second information, the second information being for a two-way delay measurement, the second information including at least a second timestamp, the second timestamp representing a time at which the second information was placed in the fifth frame; and a second processor for analyzing the fifth frame to obtain a fifth service.

[0042] An embodiment of the present application provides a sending device including a first processor and a first memory for storing a computer program operable on the processor, The first processor further provides a sending device, which is configured to execute the steps of any one of the methods on the sending device side when the first processor runs the computer program.

[0043] An embodiment of the present application provides a receiving device including a second processor and a second memory for storing a computer program operable on the processor, The second processor further provides a receiving device, which is configured to execute the steps of any one of the methods on the receiving device side when the second processor runs the computer program.

[0044] An embodiment of the present application further provides a storage medium storing a computer program, which, when executed by a processor, realizes any one of the steps of the method on the sending device side or any one of the steps of the method on the receiving device side. [Effects of the Invention]

[0045] According to the data processing method, the apparatus, the related device, and the storage medium of the present application, a transmitting device maps a first service into a first frame, and the frame structure of the first frame has four rows and 3824 columns, and columns 1 to 16 are overhead of the first frame, and columns 17 to 3824 also include overhead of the first frame; The frame size satisfies one of the following: the number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; the number of rows is 4, the number of columns is X, and columns 1 to Y are overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8. According to an aspect of an embodiment of the present application, a new frame for carrying service data is defined in an OTN system. For small bandwidth services (e.g., services with a data transmission rate in the range of 10 Megabits per second (Mbps) to 10 Gigabits per second (Gbps)), the overhead frequency in the frame structure is increased by increasing the frame overhead or shortening the frame length. Since the overhead frequency in the frame structure is related to the protection switching time in the OTN system, the protection switching time in the OTN system can be shortened, and as a result, the processing efficiency of service data can be improved, i.e., the transmission efficiency of service data can be improved.

[0046] In addition, in the data processing method, device, related device, and storage medium according to the embodiments of the present application, the transmitting device maps the second service into a second frame, and each row in the frame structure of the second frame includes at least one FAS, thereby increasing the number of FASs in the frame structure and improving the frame alignment speed.

[0047] In addition, according to the data processing method, device, related device, and storage medium of the present application, the transmitting device maps the third service into a third frame, and each row in the frame structure of the third frame includes at least one MFAS, thereby increasing the number of MFASs in the frame structure and improving the multi-frame alignment speed.

[0048] In addition, according to a data processing method, an apparatus, an associated device, and a storage medium according to embodiments of the present application, a transmitting device maps a fourth service into a fourth frame, and the overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, which indicates the time when the first information is arranged in the fourth frame. In this way, one-way delay measurement can be subsequently realized based on the timestamp, thereby improving the accuracy of the one-way delay measurement.

[0049] In addition, according to a data processing method, an apparatus, a related device, and a storage medium according to embodiments of the present application, a transmitting device maps a fifth service into a fifth frame, and the overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, which indicates the time when the second information is placed in the fifth frame. In this way, two-way delay measurement can be subsequently realized based on the timestamp, thereby improving the accuracy of the two-way delay measurement. [Brief explanation of the drawings]

[0050] [Figure 1] FIG. 1 is a schematic diagram of a mapping mechanism of an OTN system in the related art. [Figure 2] FIG. 1 is a schematic diagram of an OTN frame structure in the related art. [Figure 3] 1 is a flow diagram of a data processing method according to an embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of a frame structure of a first frame in an embodiment of the present application. [Figure 5] FIG. 10 is a flow diagram of another data processing method according to an embodiment of the present application. [Figure 6] FIG. 10 is a schematic diagram of a FAS within the frame structure of a second frame in an embodiment of the present application. [Figure 7] FIG. 10 is a flow diagram of a third data processing method according to an embodiment of the present application. [Figure 8] FIG. 10 is a schematic diagram of an MFAS within the frame structure of a third frame in an embodiment of the present application. [Figure 9] FIG. 10 is a flow diagram of a fourth data processing method according to an embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of a format of a first time stamp in an embodiment of the present application. [Figure 11] 1 is a schematic diagram of communication between a sending device and a receiving device according to an embodiment of the present application; [Figure 12] FIG. 10 is a flow diagram of a fifth data processing method according to an embodiment of the present application. [Figure 13] FIG. 10 is a schematic diagram of communication between another sending device and a receiving device according to an embodiment of the present application. [Figure 14] FIG. 10 is a flow diagram of a sixth data processing method according to an embodiment of the present application. [Figure 15] FIG. 10 is a flow diagram of a seventh data processing method according to an embodiment of the present application. [Figure 16] FIG. 10 is a flow diagram of an eighth data processing method according to an embodiment of the present application. [Figure 17] FIG. 13 is a flow diagram of a ninth data processing method according to an embodiment of the present application. [Figure 18] FIG. 16 is a flow diagram of a tenth data processing method according to an embodiment of the present application. [Figure 19] 1 is a structural schematic diagram of a data processing device according to an embodiment of the present application; [Figure 20] FIG. 2 is a structural schematic diagram of another data processing device according to an embodiment of the present application; [Figure 21] FIG. 10 is a structural schematic diagram of a third data processing device according to an embodiment of the present application. [Figure 22] FIG. 10 is a structural schematic diagram of a fourth data processing device according to an embodiment of the present application. [Figure 23] FIG. 10 is a structural schematic diagram of a fifth data processing device according to an embodiment of the present application. [Figure 24] FIG. 10 is a structural schematic diagram of a sixth data processing device according to an embodiment of the present application. [Figure 25] FIG. 10 is a structural schematic diagram of a seventh data processing device according to an embodiment of the present application. [Figure 26] FIG. 13 is a structural schematic diagram of an eighth data processing device according to an embodiment of the present application. [Figure 27] FIG. 13 is a structural schematic diagram of a ninth data processing device according to an embodiment of the present application. [Figure 28] FIG. 16 is a structural schematic diagram of a tenth data processing device according to an embodiment of the present application. [Figure 29] FIG. 2 is a structural schematic diagram of a transmitting device according to an embodiment of the present application; [Figure 30] FIG. 2 is a structural schematic diagram of a receiving device according to an embodiment of the present application; [Figure 31] 1 is a structural schematic diagram of a data processing system according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0051] The present application will be described in further detail below in conjunction with the drawings and examples.

[0052] In the related art, a conventional OTN network (i.e., an OTN system) introduces an optical service unit (OSU) mechanism to carry small granularity (i.e., small bandwidth) of 10 Mbps to 10 Gbps, and this mechanism may also be referred to as a Sub-1G or fgOTN (fine grain OTN) mechanism. In this case, the mapping mechanism of the OTN system is as shown in FIG. 1. After a service (i.e., service data) is transmitted to an OTN device supporting the OSU mechanism, the OTN device first maps the service into an OSU frame (or a Sub-1G frame, or a fine grain ODU (fgODU) frame, or a fine grain ODU flexible (fgODUflex) frame), encapsulates the OSU frame (or an fgODUflex frame, or an fgODU frame) into an optical payload unit (OPU) frame, encapsulates the OPU frame into an optical channel data unit (ODU) frame, and then encapsulates the ODU frame into an optical transform unit (OTU) frame. Among them, when an OTN device encapsulates an OSU frame (or an fgODUflex frame, or an fgODU frame) into an OPU frame, it may first map the OSU frame (or an fgODUflex frame, or an fgODU frame) into an Optical Service Tributary Unit (OSTU) frame (or a fine grain Optical Data Tributary Unit, fgODTU) frame, and then multiplex the OSTU frame (or an fgODTU frame) into the OPU frame.

[0053] However, if the OSU frame (i.e., Sub-1G frame) adopts the conventional OTN frame structure of 4*3824 as shown in FIG. 2, the following problems may occur. Problem 1 is that only columns 1 to 16 are overhead of the OSU frame, and the frequency of occurrence of the overhead (which can be understood as the repetition frequency of the overhead) does not meet the protection switching time performance in the OTN system. In other words, the performance of the protection switching time is insufficient due to the insufficient frequency of occurrence of the overhead in the OSU frame. Problem 2 is that there is only one FAS included in the overhead of the OSU frame, and the number of FASs cannot meet the alignment needs of the OSU frame. In other words, the OSU frame alignment is slow due to the insufficient number of FASs. Problem 3 is that there is only one MFAS included in the overhead of the OSU frame, and the number of MFAS cannot meet the multi-frame alignment needs of the OSU frame. Problem 4: The overhead of the OSU frame only has one bit for the delay measurement (DM) function. When measuring delay, the source side (i.e., the sending side) inverts this DM bit from 0 to 1 and then sends it to the sink side (i.e., the receiving side). The sink side then returns this DM information (i.e., the DM bit) to the source side. After the source side receives the DM information, it calculates the number of frame periods between the sending and receiving of this DM information and multiplies it by the frame frequency to obtain the round-trip delay result (i.e., the delay measurement result). However, because the transmission time of each frame changes dynamically, the accuracy of this delay measurement method is limited.

[0054] As can be seen from the above description, the OTN frame structure in the related art may not be able to meet the data processing needs of low-bandwidth services. In other words, due to the performance needs of the OSU mechanism (i.e., Sub-1G), the OSU frame (i.e., Sub-1G frame) requires a new frame structure and / or frame overhead.

[0055] Based on this, in order to address the above problem 1, the embodiments of the present application define a new OSU frame (i.e., Sub-1G frame) for carrying service data in the OTN system. For small bandwidth services (e.g., services with a data transmission rate in the range of 10 Mbps to 10 Gbps), the overhead frequency in the frame structure of the OSU frame is increased or the frame length is shortened. Since the overhead frequency in the frame structure is related to the protection switching time of the OTN system, the protection switching time of the OTN system can be shortened, and as a result, the processing efficiency of service data can be improved, i.e., the transmission efficiency of service data can be improved.

[0056] With respect to problem 2 above, in each embodiment of the present application, at least one FAS is included in each row in the frame structure of an OSU frame (i.e., a Sub-1G frame), thereby realizing an increase in the number of FASs in the OSU frame structure, and as a result, the alignment speed of the OSU frame can be improved.

[0057] To address problem 3 above, in each embodiment of the present application, at least one MFAS is included in each row in the frame structure of an OSU frame (i.e., a Sub-1G frame), thereby increasing the number of MFASs in the OSU frame structure and thereby improving the multi-frame alignment speed of the OSU frame.

[0058] To address problem 4 above, in the embodiments of the present application, new DM information including a timestamp is defined for one-way delay measurement (1DM) in an OTN system, so that one-way delay measurement can be subsequently realized based on the timestamp, thereby improving the accuracy of one-way delay measurement.

[0059] To address problem 4 above, in the embodiments of the present application, new DM information including a timestamp is defined for two-way delay measurement (2DM) in an OTN system, so that two-way delay measurement can be subsequently realized based on the timestamp, thereby improving the accuracy of the two-way delay measurement.

[0060] It should be noted that in each embodiment of the present application, the services (first service, second service, third service, fourth service, and fifth service) may be the same service or different services. These services may include small bandwidth services, for example, services with data transmission rates in the range of 10 Mbps to 10 Gbps. These service types may include constant bit rate (CBR) services, for example, synchronous transmission mode (STM)-N services, and the STM-N services may include STM-1, STM-4, STM-16, STM-64, and the like. Alternatively, these service types may include variable bit rate (VBR) services, for example, packet services. Furthermore, the processing related to these services may be understood as processing related to service data.

[0061] In each embodiment of the present application, the frames (first frame, second frame, third frame, fourth frame, fifth frame, and sixth frame) carrying service data may be the same frame or different frames. These frames may be understood as containers for carrying service data, and these frames may be called containers, OSU frames, OSU containers, Sub-1G frames, Sub-1G containers, etc. However, the embodiments of the present application are not limited to the names of these frames as long as their functions are realized.

[0062] In the embodiments of the present application, when the transmitting device and the receiving device transmit each frame (first frame, second frame, third frame, fourth frame, fifth frame, sixth frame), they may first encapsulate these frames into an OSTU frame via a predetermined intermediate step, then encapsulate the OSTU frame into an OPU frame and / or an ODU frame, and then transmit the OPU frame and / or the ODU frame, where the OPU frame may include an OPUflex frame, an OPU0 frame, an OPU1 frame, an OPU2 frame, an OPU3 frame, an OPU4 frame, etc.

[0063] In each embodiment of the present application, the transmitting device may include optical communication equipment, specifically OTN equipment, etc. Correspondingly, the receiving device may also include optical communication equipment, specifically OTN equipment, etc. The specific types of the transmitting device and receiving device can be set according to needs, and the embodiments of the present application do not limit this. Furthermore, the transmitting device may be referred to as a source device, a source node (which may be expressed as Source Node in English), etc., and the receiving device may be referred to as a sink device, a sink node (which may be expressed as Sink Node in English), etc. However, the embodiments of the present application do not limit the names of the transmitting device and receiving device, as long as their functions are realized.

[0064] Specifically, to address the above problem 1, the embodiment of the present application provides a data processing method applied to a sending device, and as shown in FIG. 3, the method includes the following step 301: Step 301 is to map a first service into a first frame, i.e., to carry, encapsulate or place data of the first service in the first frame, and the frame structure of the first frame satisfies one of the following conditions 1 to 5: Condition 1 is that the number of rows is 4, the number of columns is 3824, columns 1 to 16 are the overhead of the first frame, and columns 17 to 3824 also include the overhead of the first frame. Condition 2, as shown in FIG. 4(a), is such that the number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are the overhead of the first frame. Condition 3 is that the number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are the overhead of the first frame. Condition 4, as shown in (b) of Figure 4, is such that the number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are the overhead of the first frame. Condition 5, as shown in (c) of Figure 4, is that the number of rows is 4, the number of columns is X, columns 1 to Y are the overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8.

[0065] In one embodiment, as shown in FIG. 3, the method may further include the following step 302: Step 302 is to transmit the first frame, ie, to a receiving device.

[0066] In practical application, the receiving device may receive the first frame sent from the sending device, analyze the first frame, and obtain the first service, i.e., obtain the data of the first service. In this way, the above conditions 1, 2, 3, and 4 can increase the overhead in the frame structure, and the above condition 5 can shorten the frame length. Thus, the appearance frequency of the overhead in the frame structure of the first frame can be increased, which can shorten the protection switching time of the OTN system, and as a result, the processing efficiency of service data can be improved, i.e., the transmission efficiency of service data can be improved.

[0067] For the above problem 2, the embodiment of the present application further provides a data processing method applied to a sending device, and as shown in FIG. 5, the method includes the following step 501: Step 501 is to map a second service into a second frame, i.e., to carry, encapsulate or place data of the second service into the second frame, and each row in the frame structure of the second frame includes at least one FAS.

[0068] Wherein, in one embodiment, as shown in FIG. 5, the method may further include the following step 502: Step 502 is to transmit the second frame, ie, to a receiving device.

[0069] In practical application, the number of FASs included in each row in the frame structure of the second frame can be set according to needs, and the number of FASs included in each row can be the same or different. For example, as shown in Figure 6, the first row in the frame structure of the second frame may include two FASs, and the second, third, and fourth rows may each include one FAS.

[0070] In practical application, the receiving device may receive the second frame sent from the sending device, analyze the second frame, and obtain the second service, i.e., obtain the data of the second service, thereby increasing the number of FASs in the second frame and improving the alignment speed of the second frame.

[0071] For the above problem 3, the embodiment of the present application further provides a data processing method applied to a sending device, and as shown in FIG. 7, the method includes the following step 701: Step 701 is to map a third service into a third frame, i.e., to carry, encapsulate or place data of the third service into the third frame, and each row in the frame structure of the third frame includes at least one MFAS.

[0072] Wherein, in one embodiment, as shown in FIG. 7, the method may further include the following step 702: Step 702 is to transmit the third frame, ie, to the receiving device.

[0073] In practical application, the number of MFASs included in each row in the frame structure of the third frame can be set according to needs, and the number of MFASs included in each row may be the same or different. For example, as shown in Figure 8, each row in the frame structure of the third frame may include one MFAS.

[0074] In practical application, the receiving device may receive the third frame transmitted from the transmitting device, analyze the third frame, and obtain the third service, i.e., obtain the data of the third service, thereby increasing the number of MFASs in the third frame and improving the multi-frame alignment speed of the third frame.

[0075] For the above problem 4, the embodiment of the present application further provides a data processing method applied to a sending device, as shown in FIG. 9, the method includes the following step 901: Step 901 is to map a fourth service into a fourth frame, i.e., to carry, encapsulate or place data of the fourth service into the fourth frame, wherein the overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, which indicates the time when the first information is placed (which may be understood as insertion) into the fourth frame.

[0076] Wherein, in one embodiment, as shown in FIG. 9, the method may further include the following step 901: Step 901 is to transmit the fourth frame, that is, to transmit the fourth frame to a receiving device.

[0077] In actual application, the first information may be referred to as DM information, 1DM information, 1DM message, etc., but the embodiments of the present application do not limit the name of the first information as long as its function is realized.

[0078] In practical applications, the length of the first information can be set according to needs. For example, the length of the first information may be a multiple of 8, such as 8 bytes, 16 bytes, 32 bytes, etc.

[0079] In practical application, the first information may be placed in the overhead of the fourth frame, specifically, in an overhead position corresponding to TCM or PM, in other words, the first information may be placed in a TCM field or a PM field.

[0080] In practical application, the time when the first information is placed in the fourth frame, represented by the first timestamp, may be understood as the time when the fourth frame is generated, the time when the first timestamp is generated and placed in the fourth frame, or the time when the fourth service is mapped into the fourth frame by the sending device, i.e., the time when the data of the fourth service is carried, encapsulated, or placed in the fourth frame by the sending device. Also, the first timestamp may represent the time when the fourth frame is emitted, i.e., the time when the fourth frame is transmitted from the sending device to the receiving device. In other words, although there is a time difference between the time when the fourth frame is generated and the time when the fourth frame is emitted, this time difference may be ignored.

[0081] In practical application, the format of the first timestamp can be set according to needs. For example, as shown in Figure 10, the first timestamp may include a 32-bit nanosecond part (which may be expressed as Nanoseconds in English) and a 32-bit second part (which may be expressed as Seconds in English).

[0082] In practical application, the receiving device may receive the fourth frame sent from the sending device, analyze the fourth frame, and obtain the fourth service, i.e., obtain the data of the fourth service.

[0083] In practical application, after receiving the fourth frame, the receiving device may perform a one-way delay measurement. Specifically, the receiving device may calculate the difference between a sixth timestamp and the first timestamp to obtain the one-way delay measurement result. The sixth timestamp represents the time when the fourth frame is received by the receiving device, and the format of the sixth timestamp may be the same as that of the first timestamp. For example, as shown in FIG. 11 , a source node (i.e., the transmitting device) may send an 8-byte 1DM message (i.e., the first information) to a sink node (i.e., the receiving device), where bytes 1 to 8 in the 1DM message may be a timestamp (i.e., the first timestamp) at which an OSU frame (i.e., the fourth frame) was generated. Specifically, when generating an OSU frame, the source node may place the timestamp of when the OSU frame was generated in the overhead area of ​​the OSU frame. When receiving the OSU frame, the sink node may calculate the difference between the time when the OSU frame was received (i.e., the sixth timestamp) and the timestamp included in the OSU frame to obtain a one-way delay measurement result. In this way, one-way delay measurement based on timestamps (i.e., the first timestamp and the sixth timestamp) is realized, thereby improving the accuracy of one-way delay measurement.

[0084] In practical application, the time at which the fourth frame is received by the receiving device, represented by the sixth timestamp, may be understood as the time at which the fourth frame is received by the receiving device and the sixth timestamp is generated; in other words, the sixth timestamp is generated at the same time as the fourth frame is received by the receiving device.

[0085] For the above problem 4, the embodiment of the present application further provides a data processing method applied to a sending device, and as shown in FIG. 12, the method includes the following step 1201: Step 1201 is to map a fifth service into a fifth frame, i.e., to carry, encapsulate or place data of the fifth service into the fifth frame, wherein the overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, the second timestamp representing the time when the second information is placed into the fifth frame.

[0086] Wherein, in one embodiment, as shown in FIG. 12, the method may further include the following step 1202: Step 1202 is to transmit the fifth frame, that is, to transmit the fifth frame to the receiving device.

[0087] In actual application, the second information may be referred to as DM information, 2DM information, 2DM message, etc., but the embodiments of the present application do not limit the name of the second information as long as its function is realized.

[0088] In practical applications, the length of the second information can be set according to needs. For example, the length of the second information may be a multiple of 8, such as 8 bytes, 16 bytes, 32 bytes, etc.

[0089] In practical application, the second information may be arranged in the overhead of the fifth frame, specifically, in the TCM field or PM field.

[0090] In practical application, the time when the second information is placed in the fifth frame, represented by the second timestamp, may be understood as the time when the fifth frame is generated, the time when the second timestamp is generated and placed in the fifth frame, or the time when the fifth service is mapped into the fifth frame by the sending device, i.e., the time when the data of the fifth service is carried, encapsulated, or placed in the fifth frame by the sending device. Also, the second timestamp may represent the time when the fifth frame is emitted, i.e., the time when the fifth frame is transmitted from the sending device to the receiving device. In other words, although there is a time difference between the time when the fifth frame is generated and the time when the fifth frame is emitted, this time difference may be ignored.

[0091] In practical application, the format of the second timestamp may be the same as or different from the format of the first timestamp, but the embodiments of the present application are not limited thereto.

[0092] In practical application, the receiving device may receive the fifth frame sent from the sending device, analyze the fifth frame, and obtain the fifth service, i.e., obtain the data of the fifth service.

[0093] In practical application, in order to enable the transmitting device to perform two-way delay measurement, the receiving device may send a sixth frame to the transmitting device after receiving the fifth frame, and the overhead of the sixth frame includes third information, which is for two-way delay measurement, and the third information includes at least the second timestamp, third timestamp, and fourth timestamp, where the third timestamp represents the time when the fifth frame was received by the receiving device, and the fourth timestamp represents the time when the third information was placed in the sixth frame.

[0094] Based on this, in one embodiment, the method comprises: The method may further include receiving a sixth frame, i.e., receiving the sixth frame transmitted from the receiving device, wherein the overhead of the sixth frame includes third information, the third information being for two-way delay measurement, and the third information including at least the second timestamp, third timestamp, and fourth timestamp, the third timestamp representing the time when the fifth frame was received by the receiving device, and the fourth timestamp representing the time when the third information was placed in the sixth frame.

[0095] In practical applications, the third information may be referred to as DM information, 2DM information, 2DM message, or two-way delay measurement response (2DMR, 2DM Response) message, etc., but the embodiments of the present application are not limited to the name of the third information, as long as its function is realized.

[0096] In practical applications, the length of the third information can be set according to needs. For example, the length of the third information may be a multiple of 8, such as 8 bytes, 16 bytes, 32 bytes, etc.

[0097] In practical application, the third information may be arranged in the overhead of the sixth frame, specifically, in the TCM field or PM field.

[0098] In practical applications, the third timestamp and the first timestamp may have the same or different formats, and the fourth timestamp and the first timestamp may have the same or different formats, but the embodiments of the present application are not limited thereto.

[0099] In practical application, the time at which the fifth frame is received by the receiving device, represented by the third timestamp, may be understood as the time at which the fifth frame is received by the receiving device and the third timestamp is generated; in other words, the third timestamp is generated by the receiving device at the same time as the fifth frame is received.

[0100] In practical application, the time when the third information is placed in the sixth frame, represented by the fourth timestamp, may be understood as the time when the sixth frame is generated or the time when the fourth timestamp is generated and placed in the sixth frame. Also, the fourth timestamp may represent the time when the sixth frame is emitted, i.e., the time when the sixth frame is transmitted from the receiving device to the transmitting device. In other words, although there is a time difference between the time when the sixth frame is generated and the time when the sixth frame is emitted, this time difference may be ignored.

[0101] In practical application, after receiving the sixth frame, the transmitting device may perform two-way delay measurement based on the time when the sixth frame was received (hereinafter referred to as the fifth timestamp), as well as the second timestamp, the third timestamp, and the fourth timestamp.

[0102] Based on this, in one embodiment, the method comprises: The method may further include determining a result of a two-way delay measurement based on the second timestamp, the third timestamp, the fourth timestamp, and the fifth timestamp, the fifth timestamp representing the time when the sixth frame was received by the transmitting device.

[0103] The fifth timestamp and the first timestamp may have the same format or different formats, but the embodiment of the present application is not limited thereto.

[0104] In practical application, the time at which the sixth frame is received by the transmitting device, represented by the fifth timestamp, may be understood as the time at which the sixth frame is received by the transmitting device and the fifth timestamp is generated; in other words, the fifth timestamp is generated at the same time as the sixth frame is received by the transmitting device.

[0105] In practical application, the sending device may calculate the difference between the third timestamp and the second timestamp, and the difference between the fifth timestamp and the fourth timestamp, respectively, and use the two obtained differences as the result of the two-way delay measurement; alternatively, the sending device may first calculate the difference between the third timestamp and the second timestamp, and the difference between the fifth timestamp and the fourth timestamp, respectively, and then calculate the average value of the two obtained differences, and use the obtained average value as the result of the two-way delay measurement.

[0106] In practical application, as shown in FIG. 13 , a source node (i.e., the sending device) may send an 8-byte 2DM message (i.e., the second information) to a sink node (i.e., the receiving device), where bytes 1 to 8 in the 2DM message may be a timestamp (i.e., the second timestamp) when the OSU frame (i.e., the fifth frame) is generated by the source node. After receiving the 2DM message, the sink node may generate a 24-byte 2DMR message (i.e., the third information) and send the 2DMR message to the source node. Bytes 1 to 8 in the 2DMR message may be a timestamp (i.e., the second timestamp) when the OSU frame sent from the source node is received by the sink node. Bytes 9 to 16 in the 2DMR message may be a timestamp (i.e., the third timestamp) when the OSU frame sent from the source node is received by the sink node. Bytes 17 to 24 in the 2DMR message may be a timestamp (i.e., the third timestamp) when the OSU frame (i.e., the sixth frame) is generated by the sink node. Specifically, when generating an OSU frame, the source node may place a timestamp of when the OSU frame was generated in the overhead area of ​​the OSU frame. After receiving the OSU frame, the sink node may generate an OSU frame for feedback and feed it back to the source node. When generating the OSU frame for feedback, the sink node may place a timestamp of when the OSU frame was generated by the source node, a timestamp of when the OSU frame transmitted from the source node was received by the sink node, and a timestamp of when the OSU frame was generated by the sink node in the overhead area of ​​the OSU frame. After receiving the OSU frame for feedback, the source node may obtain a bidirectional delay measurement result according to the three timestamps included in the OSU frame and the time when the OSU frame was received (i.e., the fifth timestamp). In this way, bidirectional delay measurement based on timestamps (i.e., the second timestamp, third timestamp, fourth timestamp, and fifth timestamp) is realized, thereby improving the accuracy of the bidirectional delay measurement.

[0107] Accordingly, for the above problem 1, the embodiment of the present application further provides a data processing method applied to a receiving device, and as shown in FIG. 14, the method includes the following steps 1401 to 1402. Step 1401 is to receive a first frame, that is, to receive the first frame transmitted from the transmitting device, and the frame structure of the first frame is as follows: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The number of rows is 4, the number of columns is X, the first to Yth columns are the overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8. Step 1402 is to analyze the first frame to obtain a first service.

[0108] Accordingly, for the above problem 2, the embodiment of the present application further provides a data processing method applied to a receiving device, and as shown in FIG. 15, the method includes the following steps 1501 to 1502. Step 1501 is to receive a second frame, i.e., to receive the second frame transmitted from the transmitting device, and each row in the frame structure of the second frame includes at least one FAS. Step 1502 is to analyze the second frame to obtain a second service.

[0109] Accordingly, for the above problem 3, the embodiment of the present application further provides a data processing method applied to a receiving device, and as shown in FIG. 16, the method includes the following steps 1601 to 1602. Step 1601 is to receive a third frame, i.e., to receive the third frame transmitted from the transmitting device, and each row in the frame structure of the third frame includes at least one MFAS. Step 1602 is to analyze the third frame to obtain a third service.

[0110] Accordingly, to address the above problem 4, the embodiment of the present application further provides a data processing method applied to a receiving device, and as shown in FIG. 17, the method includes the following steps 1701 to 1702. Step 1701 is receiving a fourth frame, i.e., receiving the fourth frame transmitted from a transmitting device, wherein the overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, which represents the time when the first information is placed in the fourth frame. Step 1702 is to analyze the fourth frame to obtain a fourth service.

[0111] In one embodiment, the method comprises: The method may further include calculating a difference between a sixth timestamp and the first timestamp to obtain a one-way delay measurement result, the sixth timestamp representing the time when the fourth frame was received by the receiving device.

[0112] Accordingly, to the above problem 4, the embodiment of the present application further provides a data processing method applied to a receiving device, and as shown in FIG. 18, the method includes the following steps 1801 to 1802. Step 1801 is receiving a fifth frame, i.e., receiving the fifth frame transmitted from a transmitting device, wherein the overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, which represents the time when the second information is placed in the fifth frame. Step 1802 is to analyze the fifth frame to obtain a fifth service.

[0113] In one embodiment, the method comprises: The method may further include transmitting a sixth frame, i.e., transmitting the sixth frame to the transmitting device, wherein the overhead of the sixth frame includes third information, the third information being for two-way delay measurement, the third information including at least the second timestamp, third timestamp, and fourth timestamp, the third timestamp representing the time the fifth frame was received by the receiving device, and the fourth timestamp representing the time the third information was placed in the sixth frame.

[0114] According to the data processing method of the embodiment of the present application, for the above problem 1, the transmitting device maps a first service into a first frame, and the frame structure of the first frame has 4 rows and 3824 columns, the 1st to 16th columns are overhead of the first frame, and the 17th to 3824th columns also include overhead of the first frame; the 17th to 3824th columns are ... The frame size satisfies one of the following conditions: the number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; the number of rows is 4, the number of columns is X, and columns 1 to Y are overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8. According to an aspect of an embodiment of the present application, a new OSU frame (i.e., a Sub-1G frame, i.e., the first frame) for carrying service data is defined in an OTN system. For small bandwidth services (e.g., services with a data transmission rate in the range of 10 Mbps to 10 Gbps), the overhead frequency in the frame structure of the OSU frame is increased by increasing the frame overhead or shortening the frame length. Since the overhead frequency in the frame structure is related to the protection switching time of the OTN system, the protection switching time of the OTN system can be shortened, and as a result, the processing efficiency of service data can be improved, i.e., the transmission efficiency of service data can be improved.

[0115] In addition, according to the data processing method of the embodiment of the present application, in order to solve the above problem 2, the transmitting device maps the second service into the second frame, and each row in the frame structure of the second frame includes at least one FAS, thereby increasing the number of FASs in the OSU frame (i.e., Sub-1G frame, i.e., the second frame) structure, and improving the alignment speed of the OSU frame.

[0116] In addition, according to the data processing method of the embodiment of the present application, in order to solve the above problem 3, the transmitting device maps the third service into the third frame, and each row in the frame structure of the third frame includes at least one MFAS, thereby increasing the number of MFASs in the OSU frame (i.e., Sub-1G frame, i.e., the third frame) structure, and improving the multi-frame alignment speed of the OSU frame.

[0117] Furthermore, according to a data processing method of an embodiment of the present application, in response to Problem 4 above, a transmitting device maps a fourth service into a fourth frame, and the overhead of the fourth frame includes first information, which is for one-way delay measurement, and the first information includes at least a first timestamp, which indicates the time when the first information is placed in the fourth frame. In this way, in an OTN system, new DM information (i.e., the first information) including a timestamp is defined for 1DM, so that one-way delay measurement can then be realized based on the timestamp, thereby improving the accuracy of one-way delay measurement.

[0118] Furthermore, according to a data processing method of an embodiment of the present application, in response to Problem 4 above, a transmitting device maps a fifth service into a fifth frame, and the overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, which indicates the time when the second information is placed in the fifth frame. In this way, in an OTN system, new DM information (i.e., the second information) including a timestamp is defined for 2DM, so that two-way delay measurement can then be realized based on the timestamp, thereby improving the accuracy of the two-way delay measurement.

[0119] To realize the method on the sending device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the sending device, as shown in FIG. 19 , the device: a first mapping unit 1901 for mapping a first service into a first frame, wherein the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The number of rows is 4, the number of columns is X, the first to Yth columns are the overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8.

[0120] In one embodiment, as shown in FIG. 19, the device comprises: It may further include a first transmitting unit 1902 for transmitting the first frame, i.e., for transmitting the first frame to a receiving device.

[0121] In practical application, the first mapping unit 1901 may be realized by a processor in a data processing device, and the first sending unit 1902 may be realized by a communication interface in a data processing device.

[0122] To realize the method on the sending device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the sending device, as shown in FIG. 20 , the device: The second mapping unit 2001 is for mapping a second service into a second frame, and each row in the frame structure of the second frame includes at least one FAS.

[0123] In one embodiment, as shown in FIG. 20, the device comprises: It may further include a second transmitting unit 2002 for transmitting the second frame, i.e. for transmitting the second frame to a receiving device.

[0124] In practical application, the second mapping unit 2001 may be realized by a processor in a data processing device, and the second sending unit 2002 may be realized by a communication interface in a data processing device.

[0125] To realize the method on the sending device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the sending device, as shown in FIG. 21 , the device: It includes a third mapping unit 2101 for mapping a third service into a third frame, and each row in the frame structure of the third frame includes at least one MFAS.

[0126] In one embodiment, as shown in FIG. 21, the device comprises: It may further include a third transmitting unit 2102 for transmitting the third frame, i.e. for transmitting the third frame to a receiving device.

[0127] In practical application, the third mapping unit 2101 may be realized by a processor in a data processing device, and the third sending unit 2102 may be realized by a communication interface in a data processing device.

[0128] To realize the method on the sending device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the sending device, as shown in FIG. 22 , the device: and a fourth mapping unit 2201 for mapping a fourth service into a fourth frame, wherein the overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information including at least a first timestamp, the first timestamp representing the time when the first information is placed in the fourth frame.

[0129] In one embodiment, as shown in FIG. 22, the device comprises: It may further include a fourth transmitting unit 2202 for transmitting the fourth frame, i.e. for transmitting the fourth frame to a receiving device.

[0130] In practical application, the fourth mapping unit 2201 may be realized by a processor in a data processing device, and the fourth sending unit 2202 may be realized by a communication interface in a data processing device.

[0131] To realize the method on the sending device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the sending device, as shown in FIG. 23 , the device: and a fifth mapping unit 2301 for mapping a fifth service into a fifth frame, wherein the overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information including at least a second timestamp, the second timestamp representing the time when the second information is placed in the fifth frame.

[0132] In one embodiment, as shown in FIG. 23, the device comprises: It may further include a fifth sending unit 2302 for sending the fifth frame, i.e. for sending the fifth frame to a receiving device.

[0133] In one embodiment, as shown in FIG. 23, the device comprises: It may further include a first receiving unit 2303 for receiving a sixth frame, i.e., for receiving the sixth frame transmitted from the receiving device, wherein the overhead of the sixth frame includes third information, the third information being for two-way delay measurement, and the third information including at least the second timestamp, third timestamp and fourth timestamp, the third timestamp representing the time when the fifth frame was received by the receiving device, and the fourth timestamp representing the time when the third information was placed in the sixth frame.

[0134] In one embodiment, as shown in FIG. 23, the device comprises: The method may further include a first processing unit 2304 for determining a result of two-way delay measurement based on the second timestamp, the third timestamp, the fourth timestamp, and the fifth timestamp, wherein the fifth timestamp represents the time when the sixth frame was received by the transmitting device.

[0135] In practical application, the fifth mapping unit 2301 and the first processing unit 2304 may be realized by a processor in a data processing device, and the fifth transmitting unit 2302 and the first receiving unit 2303 may be realized by a communication interface in a data processing device.

[0136] In order to realize the method on the receiving device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the receiving device, and as shown in FIG. 24, the device includes the following second receiving unit 2401 and first analyzing unit 2402: The second receiving unit 2401 is for receiving a first frame, i.e., for receiving the first frame sent from the sending device, and the frame structure of the first frame is: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The number of rows is 4, the number of columns is X, the first to Yth columns are the overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8. The first parsing unit 2402 is for parsing the first frame to obtain a first service.

[0137] In practical application, the second receiving unit 2401 may be realized by a communication interface in a data processing device, and the first analyzing unit 2402 may be realized by a processor in the data processing device.

[0138] In order to realize the method on the receiving device side according to the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the receiving device, and as shown in FIG. 25, the device includes the following third receiving unit 2501 and second analyzing unit 2502: The third receiving unit 2501 is for receiving a second frame, i.e., for receiving the second frame transmitted from the transmitting device, and each row in the frame structure of the second frame includes at least one FAS. The second parsing unit 2502 is for parsing the second frame to obtain a second service.

[0139] In practical application, the third receiving unit 2501 may be realized by a communication interface in a data processing device, and the second analyzing unit 2502 may be realized by a processor in the data processing device.

[0140] In order to realize the method on the receiving device side of the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the receiving device, and as shown in FIG. 26, the device includes the following: a fourth receiving unit 2601 and a third analyzing unit 2602. The fourth receiving unit 2601 is for receiving a third frame, i.e., for receiving the third frame transmitted from the transmitting device, and each row in the frame structure of the third frame includes at least one MFAS. The third parsing unit 2602 is for parsing the third frame to obtain a third service.

[0141] In practical application, the fourth receiving unit 2601 may be realized by a communication interface in a data processing device, and the third analyzing unit 2602 may be realized by a processor in the data processing device.

[0142] In order to realize the method on the receiving device side of the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the receiving device, and as shown in FIG. 27, the device includes the following fifth receiving unit 2701 and fourth analyzing unit 2702. The fifth receiving unit 2701 is for receiving a fourth frame, i.e., for receiving the fourth frame transmitted from a transmitting device, and the overhead of the fourth frame includes first information, which is for one-way delay measurement, and which includes at least a first timestamp, which represents the time when the first information is placed in the fourth frame. The fourth parsing unit 2702 is for parsing the fourth frame to obtain a fourth service.

[0143] In one embodiment, as shown in FIG. 27, the device comprises: It may further include a second processing unit 2703 for calculating the difference between a sixth timestamp and the first timestamp to obtain a one-way delay measurement result, wherein the sixth timestamp represents the time when the fourth frame was received by the receiving device.

[0144] In practical application, the fifth receiving unit 2701 may be realized by a communication interface in a data processing device, and the fourth analysis unit 2702 and the second processing unit 2703 may be realized by a processor in the data processing device.

[0145] In order to realize the method on the receiving device side of the embodiment of the present application, the embodiment of the present application further provides a data processing device installed in the receiving device, and as shown in FIG. 28, the device includes the following sixth receiving unit 2801 and fifth analyzing unit 2802. The sixth receiving unit 2801 is for receiving a fifth frame, i.e., for receiving the fifth frame transmitted from a transmitting device, and the overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, which represents the time when the second information is placed in the fifth frame. A fifth parsing unit 2802 is for parsing the fifth frame to obtain a fifth service.

[0146] In one embodiment, as shown in FIG. 28, the device comprises: It may further include a sixth transmitting unit 2803 for transmitting a sixth frame, i.e., for transmitting the sixth frame to the transmitting device, wherein the overhead of the sixth frame includes third information, the third information being for two-way delay measurement, the third information including at least the second timestamp, third timestamp and fourth timestamp, the third timestamp representing the time when the fifth frame was received by the receiving device, and the fourth timestamp representing the time when the third information was placed in the sixth frame.

[0147] In practical application, the sixth receiving unit 2801 and the sixth transmitting unit 2803 may be realized by a communication interface in a data processing device, and the fifth analyzing unit 2802 may be realized by a processor in the data processing device.

[0148] It should be noted that, although the above-mentioned division into each program module is used as an example when the data processing device according to the above-mentioned embodiment processes data, in actual applications, the above-mentioned processes may be assigned to be performed by different program modules as needed, i.e., the internal structure of the device may be divided into different program modules to perform all or part of the above-mentioned processes. Furthermore, the data processing device according to the above-mentioned embodiment belongs to the same concept as the data processing method embodiment, and the details of the specific implementation process thereof are to be referred to the method embodiment, and will not be described here in detail.

[0149] Based on the hardware implementation of the above program modules, and in order to realize the method on the sending device side according to the embodiment of the present application, the embodiment of the present application further provides a sending device, as shown in FIG. 29, the sending device 2900: a first communication interface 2901 capable of exchanging information with a receiving device; a first processor 2902 connected to the first communication interface 2901 so as to realize information exchange with a receiving device, the first processor 2902 executing a method according to one or more technical aspects of the transmitting device when a computer program is run; and a first memory 2903 in which the computer program is stored.

[0150] Specifically, the first processor 2902 is for mapping a first service into a first frame, and the frame structure of the first frame is as follows: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The number of rows is 4, the number of columns is X, the first to Yth columns are the overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8; or Or, the first processor 2902 is for mapping a second service into a second frame, and each row in the frame structure of the second frame includes at least one FAS; or Or, the first processor 2902 is for mapping a third service into a third frame, and each row in the frame structure of the third frame includes at least one MFAS; or Or, the first processor 2902 is for mapping a fourth service into a fourth frame, and an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, the first timestamp representing a time when the first information is placed in the fourth frame; or Alternatively, the first processor 2902 is for mapping a fifth service into a fifth frame, the overhead of the fifth frame including second information, the second information being for two-way delay measurement, and the second information including at least a second timestamp, the second timestamp representing the time when the second information was placed in the fifth frame.

[0151] In one embodiment, when the first processor 2902 maps a first service into a first frame, the first communication interface 2901 is for transmitting the first frame, i.e., for transmitting the first frame to a receiving device.

[0152] In one embodiment, when the first processor 2902 maps a second service into a second frame, the first communication interface 2901 is for transmitting the second frame, i.e., for transmitting the second frame to a receiving device.

[0153] In one embodiment, when the first processor 2902 maps a third service into a third frame, the first communication interface 2901 is for transmitting the third frame, i.e., for transmitting the third frame to a receiving device.

[0154] In one embodiment, when the first processor 2902 maps a fourth service into a fourth frame, the first communication interface 2901 is for transmitting the fourth frame, i.e., for transmitting the fourth frame to a receiving device.

[0155] In one embodiment, when the first processor 2902 maps a fifth service into a fifth frame, the first communication interface 2901 is for transmitting the fifth frame, i.e., for transmitting the fifth frame to a receiving device.

[0156] In one embodiment, when the first processor 2902 maps a fifth service into a fifth frame, the first communication interface 2901 is also for receiving the sixth frame, i.e., for receiving the sixth frame sent from a receiving device, and the overhead of the sixth frame includes third information, which is for two-way delay measurement, and the third information includes at least the second timestamp, third timestamp, and fourth timestamp, and the third timestamp represents the time when the fifth frame was received by the receiving device, and the fourth timestamp represents the time when the third information was placed in the sixth frame.

[0157] In one embodiment, when a fifth service is mapped into a fifth frame, the first memory 2903 is also for determining the result of two-way delay measurement based on the second timestamp, the third timestamp, the fourth timestamp, and the fifth timestamp, and the fifth timestamp represents the time when the sixth frame is received by the transmitting device.

[0158] It should be noted that the specific processing steps of the first processor 2902 and the first communication interface 2901 can be understood by referring to the above method, and will not be described here in detail.

[0159] Of course, in actual applications, the components in the sending device 2900 are coupled via a bus system 2904. It will be understood that the bus system 2904 is used to realize communication between these components. The bus system 2904 includes a power bus, a control bus, and a status signal bus in addition to a data bus. However, for clarity of explanation, all of the various buses are shown as the bus system 2904 in FIG. 29.

[0160] In an embodiment of the present application, the first memory 2903 is configured to store various types of data to support the operation of the sending device 2900. Examples of this data include any computer programs for operating on the sending device 2900.

[0161] The methods disclosed in the embodiments of the present application may be applied to or implemented by the first processor 2902. The first processor 2902 may be an integrated circuit chip having signal processing capabilities. In implementation, each step of the method may be completed by an integrated logic circuit in hardware within the first processor 2902 or by a command in software form. The first processor 2902 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The first processor 2902 may implement or execute each method, step, and logic block diagram disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present application may be directly implemented by a hardware decoder processor, or may be implemented by a combination of hardware and software modules within the decoder processor. The software module may be located in a storage medium, which is located in the first memory 2903, and the first processor 2902 reads the information in the first memory 2903 and completes the steps in the above-mentioned method in combination with its hardware.

[0162] In an exemplary embodiment, the sending device 2900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate Arrays (FPGAs), general-purpose processors, controllers, Micro Controller Units (MCUs), Microprocessors, or other electronic components and configured to perform the methods described above.

[0163] Based on the hardware implementation of the above program modules, and in order to realize the method on the receiving device side according to the embodiment of the present application, the embodiment of the present application further provides a receiving device, which, as shown in FIG. 30, includes: a second communication interface 3001 capable of exchanging information with a transmitting device; a second processor 3002 connected to the second communication interface 3001 so as to realize information exchange with the sending device, the second processor 3002 executing a method according to one or more technical aspects of the receiving device when a computer program is run; and a second memory 3003 in which the computer program is stored.

[0164] Specifically, the second communication interface 3001 is for receiving a first frame, i.e., for receiving the first frame transmitted from a transmitting device, and the frame structure of the first frame is as follows: The number of rows is 4, the number of columns is 3824, the 1st column to the 16th column are the overhead of the first frame, and the 17th column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; The number of rows is 4, the number of columns is X, the first to Yth columns are the overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8; the second processor 3002 is for analyzing the first frame to obtain a first service; Or, the second communication interface 3001 is for receiving a second frame, i.e., for receiving the second frame sent from a sending device, and each row in the frame structure of the second frame includes at least one FAS; and the second processor 3002 is for analyzing the second frame to obtain a second service; Or, the second communication interface 3001 is for receiving a third frame, i.e., for receiving the third frame sent from a sending device, and at least one MFAS is included in each row in the frame structure of the third frame, and the second processor 3002 is for analyzing the third frame to obtain a third service; Or, the second communication interface 3001 is for receiving a fourth frame, i.e., for receiving the fourth frame transmitted from a transmitting device, the overhead of the fourth frame includes first information, the first information is for one-way delay measurement, the first information includes at least a first timestamp, the first timestamp indicates a time when the first information is arranged in the fourth frame, and the second processor 3002 is for analyzing the fourth frame to obtain a fourth service; Or, The second communication interface 3001 is for receiving a fifth frame, i.e., for receiving the fifth frame sent from a transmitting device, the overhead of the fifth frame includes second information, the second information is for two-way delay measurement, the second information includes at least a second timestamp, the second timestamp represents the time when the second information is placed in the fifth frame, and the second processor 3002 is for analyzing the fifth frame to obtain a fifth service.

[0165] In one embodiment, when analyzing the fourth frame, the second processor 3002 also calculates the difference between a sixth timestamp and the first timestamp to obtain a one-way delay measurement result, where the sixth timestamp represents the time when the fourth frame was received by the receiving device.

[0166] In one embodiment, when receiving a fifth frame, the second communication interface 3001 is also for transmitting a sixth frame, i.e., for transmitting the sixth frame to the transmitting device, and the overhead of the sixth frame includes third information, which is for two-way delay measurement, and which includes at least the second timestamp, third timestamp, and fourth timestamp, and the third timestamp represents the time when the fifth frame was received by the receiving device, and the fourth timestamp represents the time when the third information was placed in the sixth frame.

[0167] It should be noted that the specific processing steps of the second communication interface 3001 and the second processor 3002 can be understood by referring to the above method, and will not be described here in detail.

[0168] Of course, in actual application, each component in the receiving device 3000 is coupled via a bus system 3004. It is understood that the bus system 3004 is for realizing connection and communication between these components. The bus system 3004 includes a power bus, a control bus, and a status signal bus in addition to a data bus. However, for clarity of explanation, all various buses are shown as the bus system 3004 in FIG. 30.

[0169] The second memory 3003 in this embodiment is configured to store various types of data to support the operation of the receiving device 3000. Examples of this data include any computer programs for operating on the receiving device 3000.

[0170] The methods disclosed in the embodiments of the present application may be applied to or implemented by the second processor 3002. The second processor 3002 may be an integrated circuit chip having signal processing capabilities. In implementation, each step of the method may be completed by an integrated logic circuit in hardware within the second processor 3002 or by a command in software form. The second processor 3002 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The second processor 3002 may implement or execute each method, step, and logic block diagram disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present application may be directly implemented by a hardware decoder processor, or may be implemented by a combination of hardware and software modules within the decoder processor. The software module may be located in a storage medium, which is located in the second memory 3003, and the second processor 3002 reads the information in the second memory 3003 and combines with its hardware to complete the steps in the above-mentioned method.

[0171] In an exemplary embodiment, the receiving device 3000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic components and configured to perform the methods described above.

[0172] It is understood that the memory (first memory 2903, second memory 3003) in the embodiments of the present application may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disk, or compact disc read-only memory (CD-ROM), and the magnetic surface memory may be magnetic disk memory or magnetic tape memory. The volatile memory may be random access memory (RAM) and used as an external high-speed cache.By way of example, various types of RAM may be used, such as, but not limited to, static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synclink dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). Memory as described in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0173] To implement the method according to the embodiment of the present application, the embodiment of the present application further provides a data processing system, which includes a sending device 3101 and a receiving device 3102, as shown in FIG.

[0174] It should be noted that the specific processing steps of the sending device 3101 and the receiving device 3102 have been described in detail above, and will not be repeated here.

[0175] In an exemplary embodiment, the present application further provides a storage medium, i.e., a computer storage medium, specifically a computer-readable storage medium, including, for example, a first memory 2903 storing a computer program, which can be executed by the first processor 2902 of the sending device 2900 to complete the steps of the method on the sending device side described above. Also, for example, a second memory 3003 storing a computer program, which can be executed by the second processor 3002 of the receiving device 3000 to complete the steps of the method on the receiving device side described above. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

[0176] It should be clarified that terms such as "first" and "second" are used to distinguish between similar objects and are not necessarily used to describe a particular order or chronology.

[0177] Furthermore, the technical aspects described in the examples of the present application can be combined in any manner as long as there is no contradiction.

[0178] The above are merely preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application.

Claims

1. 1. A data processing method executed by a sending device, comprising: Mapping a first service into a first frame, wherein the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the first column to the sixteenth column are the overhead of the first frame, and the seventeenth column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; A data processing method that satisfies one of the following: the number of rows is 4, the number of columns is X, the first column to the Yth column are overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8.

2. The method comprises: The method of claim 1 , further comprising transmitting the first frame.

3. 1. A data processing method executed by a sending device, comprising: A data processing method comprising mapping a second service into a second frame, wherein every row in a frame structure of the second frame includes at least one Frame Align Sequence (FAS).

4. The method comprises: The method of claim 3 , further comprising transmitting the second frame.

5. 1. A data processing method executed by a sending device, comprising: A data processing method comprising: mapping a third service into a third frame, wherein each row in a frame structure of the third frame includes at least one multi-frame align sequence (MFAS).

6. The method comprises: The method of claim 5 , further comprising transmitting the third frame.

7. 1. A data processing method executed by a sending device, comprising:

1. A data processing method comprising: mapping a fourth service into a fourth frame, wherein an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information including at least a first timestamp, the first timestamp representing a time when the first information was placed in the fourth frame.

8. The method of claim 7 , wherein the first information is located in a Tandem Connection Monitoring (TCM) field or a Path Monitoring (PM) field.

9. The method comprises: The method of claim 7 further comprising transmitting the fourth frame.

10. 1. A data processing method executed by a sending device, comprising:

1. A data processing method comprising: mapping a fifth service into a fifth frame, wherein an overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information including at least a second timestamp, the second timestamp representing a time when the second information was placed in the fifth frame.

11. The method of claim 10 , wherein the second information is located in a TCM field or a PM field.

12. The method comprises: The method of claim 10 , further comprising transmitting the fifth frame.

13. The method comprises:

13. The method of claim 12, further comprising receiving a sixth frame, wherein an overhead of the sixth frame includes third information, the third information being for two-way delay measurement, the third information including at least the second timestamp, a third timestamp, and a fourth timestamp, the third timestamp representing a time when the fifth frame was received by a receiving device, and the fourth timestamp representing a time when the third information was placed in the sixth frame.

14. The method comprises:

14. The method of claim 13, further comprising determining a result of a two-way delay measurement based on the second timestamp, the third timestamp, the fourth timestamp, and the fifth timestamp, wherein the fifth timestamp represents a time when the sixth frame was received by the sending device.

15. The method of claim 13 , wherein the third information is located in a TCM field or a PM field.

16. A data processing method executed by a receiving device, comprising: receiving a fourth frame, the fourth frame having an overhead including first information, the first information being for one-way delay measurement, the first information including at least a first timestamp, the first timestamp representing a time at which the first information was placed in the fourth frame; and analyzing the fourth frame to obtain a fourth service.

17. The method comprises:

17. The method of claim 16, further comprising calculating a difference between a sixth timestamp and the first timestamp to obtain a one-way delay measurement, the sixth timestamp representing a time when the fourth frame was received by the receiving device.

18. The method of claim 16 , wherein the first information is located in a TCM field or a PM field.

19. A data processing method executed by a receiving device, comprising: receiving a fifth frame, the fifth frame having overhead including second information, the second information being for two-way delay measurement, the second information including at least a second timestamp, the second timestamp representing a time at which the second information was placed in the fifth frame; analyzing the fifth frame to obtain a fifth service.

20. The method of claim 19 , wherein the second information is located in a TCM field or a PM field.

21. The method comprises:

20. The method of claim 19, further comprising transmitting a sixth frame, wherein an overhead of the sixth frame includes third information, the third information being for two-way delay measurement, the third information including at least the second timestamp, a third timestamp, and a fourth timestamp, the third timestamp representing a time when the fifth frame was received by the receiving device, and the fourth timestamp representing a time when the third information was placed in the sixth frame.

22. The method of claim 21 , wherein the third information is located in a TCM field or a PM field.

23. 1. A data processing device, comprising: a first mapping unit for mapping a first service into a first frame, wherein the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the first column to the sixteenth column are the overhead of the first frame, and the seventeenth column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; A data processing device that satisfies one of the following: the number of rows is 4, the number of columns is X, the first column to the Yth column are overhead of the first frame, X is an integer less than 2000, and Y is an integer equal to or less than 8.

24. 1. A data processing device, comprising: A data processing apparatus comprising: a second mapping unit for mapping a second service into a second frame, wherein each row in a frame structure of said second frame includes at least one FAS.

25. 1. A data processing device, comprising: A data processing apparatus comprising: a third mapping unit for mapping a third service into a third frame, wherein each row in a frame structure of said third frame includes at least one MFAS.

26. 1. A data processing device, comprising: a fourth mapping unit for mapping a fourth service into a fourth frame, wherein an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, the first timestamp representing a time when the first information is placed in the fourth frame.

27. 1. A data processing device, comprising:

10. A data processing apparatus comprising: a fifth mapping unit for mapping a fifth service into a fifth frame, wherein an overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information including at least a second timestamp, the second timestamp representing a time when the second information was placed in the fifth frame.

28. 1. A data processing device, comprising: a fifth receiving unit for receiving a fourth frame, the fourth frame having an overhead including first information, the first information being for one-way delay measurement, the first information including at least a first timestamp, the first timestamp representing a time at which the first information was placed in the fourth frame; a fourth analysis unit for analyzing the fourth frame to obtain a fourth service.

29. 1. A data processing device, comprising: a sixth receiving unit for receiving a fifth frame, the fifth frame having an overhead including second information, the second information being for a two-way delay measurement, the second information including at least a second timestamp, the second timestamp representing a time at which the second information was placed in the fifth frame; a fifth analysis unit for analyzing the fifth frame to obtain a fifth service.

30. a sending device including a first communication interface and a first processor, The first processor is for mapping a first service into a first frame, and the frame structure of the first frame comprises: The number of rows is 4, the number of columns is 3824, the first column to the sixteenth column are the overhead of the first frame, and the seventeenth column to the 3824th column also include the overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1905 to 1920 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16 and columns 1913 to 1929 are overhead of the first frame; The number of rows is 4, the number of columns is 3824, and columns 1 to 16, 965 to 968, 1917 to 1920, 2869 to 2872, and 3821 to 3824 are overhead of the first frame; A transmitting device that satisfies one of the following: the number of rows is 4, the number of columns is X, the first to Yth columns are overhead of the first frame, X is an integer less than 2000, and Y is an integer less than or equal to 8.

31. a sending device including a first communication interface and a first processor, The transmitting device, wherein the first processor is for mapping a second service into a second frame, and each row in a frame structure of the second frame includes at least one FAS.

32. a sending device including a first communication interface and a first processor, The transmitting device, wherein the first processor is for mapping a third service into a third frame, and each row in a frame structure of the third frame includes at least one MFAS.

33. a sending device including a first communication interface and a first processor, a transmitting device, wherein the first processor is for mapping a fourth service into a fourth frame, wherein an overhead of the fourth frame includes first information, the first information being for one-way delay measurement, and the first information includes at least a first timestamp, the first timestamp representing a time when the first information was placed in the fourth frame.

34. a sending device including a first communication interface and a first processor, a transmitting device, wherein the first processor is for mapping a fifth service into a fifth frame, wherein an overhead of the fifth frame includes second information, the second information being for two-way delay measurement, and the second information includes at least a second timestamp, the second timestamp representing a time when the second information was placed in the fifth frame.

35. A receiving device, a second communication interface for receiving a fourth frame, the fourth frame having an overhead including first information, the first information being for one-way delay measurement, the first information including at least a first timestamp, the first timestamp representing a time at which the first information was placed in the fourth frame; a second processor for analyzing the fourth frame to obtain a fourth service.

36. A receiving device, a second communication interface for receiving a fifth frame, the fifth frame having an overhead including second information, the second information being for a two-way delay measurement, the second information including at least a second timestamp, the second timestamp representing a time at which the second information was placed in the fifth frame; a second processor for analyzing the fifth frame to obtain a fifth service.

37. a sending device including a first processor and a first memory for storing a computer program operable on the processor, A transmitting device, wherein the first processor, when running the computer program, is configured to perform the steps of the method of claim 1 or 2, or the steps of the method of claim 3 or 4, or the steps of the method of claim 5 or 6, or the steps of the method of any one of claims 7 to 9, or the steps of the method of any one of claims 10 to 15.

38. a receiving device including a second processor and a second memory for storing a computer program operable on the processor, A receiving device, wherein the second processor, when running the computer program, is configured to perform the steps of the method of any one of claims 16 to 18 or the steps of the method of any one of claims 19 to 22.

39. A storage medium storing a computer program, which, when executed by a processor, causes the steps of the method according to claim 1 or 2, or the steps of the method according to claim 3 or 4, or the steps of the method according to claim 5 or 6, or the steps of the method according to any one of claims 7 to 9, or the steps of the method according to any one of claims 10 to 15, or the steps of the method according to any one of claims 16 to 18, or the steps of the method according to any one of claims 19 to 22.