Service processing method and device in optical transport network, equipment and storage medium

By defining a new basic frame structure in the optical transmission network, the service data is mapped into part time slots in the OTN frame bearer area, the problem that the prior art cannot effectively carry service data below 1.25Gbps is solved, and the low-quality operation is achieved Effective transmission of rate service data.

CN119232310APending Publication Date: 2024-12-31ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310793874.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing optical transmission network (OTN) technology cannot effectively carry service data with a speed of less than 1.25Gbps and lacks an appropriate carrying solution.

Method used

A new basic frame structure is defined, which maps service data to some time slots in the OTN frame bearing area, carries customer service data through the payload area and overhead area of ​​the basic frame, and carries through traditional OTN frame bearing Some time slots in the region carry basic frames, thereby realizing the transmission of low-rate service data.

Benefits of technology

实现了通过传统OTN帧对低速率业务数据的有效传输,提供了对低于1.25Gbps业务数据的承载方案,提高了光传送网的业务数据传输能力。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232310A_ABST
    Figure CN119232310A_ABST
Patent Text Reader

Abstract

The invention provides a service processing method and device in an optical transport network, equipment and a storage medium. The method comprises the following steps: acquiring business data; mapping the service data into a basic frame; wherein the size of the basic frame is 4 rows, and each row has 3824 bytes; mapping the basic frame to a part of time slots in an OTN frame bearing area; and sending the OTN frame. According to the technical scheme of the invention, the new basic frame structure is defined to bear the service data of the customer, and the basic frame is borne through the partial time slot in the traditional OTN frame bearing area, so that the purpose of transmitting the low-rate service data through the traditional OTN frame is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to a service processing method, device, equipment and storage medium in an optical transmission network. Background Art

[0002] As a core technology of backbone bearer network, Optical Transport Network (OTN) includes optical bearer containers of various rates. For example, Optical Data Unit 0 (ODU0) is the bearer container with the lowest rate in current OTN technology, with a rate of about 1.25 Gigabit per second (Gbps), which is used to carry 1Gbps of customer service data.

[0003] For low-rate services below 1.25 Gbps, current OTN bearer containers cannot provide an effective bearer solution. Therefore, how to use traditional OTN frames to bear service data with a rate below 1.25 Gbps has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] Embodiments of the present application provide a service processing method, apparatus, device and storage medium in an optical transport network.

[0005] In a first aspect, an embodiment of the present application provides a service processing method in an optical transport network OTN, including:

[0006] Get business data;

[0007] Mapping the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes;

[0008] Mapping the basic frame to a portion of time slots in an OTN frame bearing area;

[0009] The OTN frame is sent.

[0010] In a second aspect, an embodiment of the present application provides a service processing method in an optical transport network, including:

[0011] Receive the OTN frame; wherein, a basic frame is carried in some time slots in the OTN frame carrying area, and the size of the basic frame is 4 lines, each line is 3824 bytes;

[0012] Extracting the basic frame from a corresponding time slot of the OTN frame;

[0013] The service data is acquired from the basic frame.

[0014] In a third aspect, an embodiment of the present application provides a service processing device in an optical transport network, including:

[0015] Acquisition module, used to obtain business data;

[0016] A processing module, used for mapping the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes;

[0017] The processing module is further used to map the basic frame to a part of the time slots in the OTN frame bearing area;

[0018] The sending module is used to send the OTN frame.

[0019] In a fourth aspect, an embodiment of the present application provides a service processing device in an optical transport network, including:

[0020] A receiving module, used for receiving the OTN frame; wherein a basic frame is carried in some time slots in the OTN frame carrying area, and the size of the basic frame is 4 lines, each line is 3824 bytes;

[0021] A processing module, configured to extract the basic frame from a corresponding time slot of the OTN frame;

[0022] The processing module is further used to obtain the service data from the basic frame.

[0023] In a fifth aspect, an embodiment of the present application provides an optical transport network device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the service processing method in the optical transport network provided in the first aspect of the embodiment of the present application are implemented.

[0024] In a sixth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the service processing method in the optical transport network provided in the first aspect of the embodiment of the present application are implemented.

[0025] The technical solution provided in the embodiment of the present application defines a new basic frame structure to carry customer service data, and carries basic frames through part of the time slots in the traditional OTN frame carrying area, thereby achieving the purpose of transmitting low-rate service data through traditional OTN frames. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the structure of an OTN frame provided in an embodiment of the present application;

[0027] Figure 2 Another structural diagram of an OTN frame provided in an embodiment of the present application;

[0028] Figure 3 A schematic diagram of a structure of a basic frame provided in an embodiment of the present application;

[0029] Figure 4 Another structural diagram of a basic frame provided in an embodiment of the present application;

[0030] Figure 5 A schematic diagram of a structure of a subframe provided in an embodiment of the present application;

[0031] Figure 6 A schematic diagram of another structure of a basic frame provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of the structure of the overhead area of ​​a basic frame or subframe provided in an embodiment of the present application;

[0033] Figure 8 A schematic diagram of a structure of frame header flag information of a basic frame or subframe provided in an embodiment of the present application;

[0034] Fig. 9 Another structural diagram of a subframe provided in an embodiment of the present application;

[0035] Fig.10 A schematic diagram of another structure of a subframe provided in an embodiment of the present application;

[0036] Fig.11 A schematic diagram of another structure of a basic frame provided in an embodiment of the present application;

[0037] Fig.12 A schematic diagram of another structure of a basic frame provided in an embodiment of the present application;

[0038] Fig.13 A schematic diagram of a flow chart of a service processing method for an optical transport network provided in an embodiment of the present application;

[0039] Fig.14 A schematic diagram of a structure of a code block after 64 / 66 encoding provided in an embodiment of the present application;

[0040] Fig.15 A schematic diagram of the 64 / 66-bit code block encoding principle provided in an embodiment of the present application;

[0041] Fig.16 A schematic diagram of the structure of a data code block and a control code block after 64 / 66 encoding provided in an embodiment of the present application;

[0042] Fig.17 A schematic diagram of a structure of a code block stream obtained after 64 / 66 encoding of the service data provided in an embodiment of the present application;

[0043] Fig.18 A structural schematic diagram of a process for separating synchronization headers and code block bytes in a 66-bit code block provided in an embodiment of the present application;

[0044] Fig.19 A schematic diagram of a structure of a payload area of ​​a subframe or basic frame provided in an embodiment of the present application;

[0045] Fig. 20 Another flowchart of the service processing method of the optical transport network provided in the embodiment of the present application;

[0046] Fig.21 A schematic diagram of a subframe or basic frame framing process provided in an embodiment of the present application;

[0047] Fig. 22 Another schematic diagram of a subframe or basic frame framing process provided in an embodiment of the present application;

[0048] Fig.23 Another schematic diagram of a subframe or basic frame framing process provided in an embodiment of the present application;

[0049] Fig.24 Another schematic diagram of a subframe or basic frame framing process provided in an embodiment of the present application;

[0050] Fig.25 A schematic diagram of a structure of a service processing device for an optical transport network provided in an embodiment of the present application;

[0051] Fig.26 Another structural schematic diagram of a service processing device for an optical transport network provided in an embodiment of the present application;

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

[0053] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. The embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0054] The embodiments of the present application are applicable to OTN devices of any form and integration. The data frame structure used by the OTN device is an OTN frame, which is used to carry various service data and provide rich management and monitoring functions. The OTN frame can be ODUk, ODUCn, ODUflex, or Optical Transport Unit k (OTUk), ODUCn, or Flexible OTN (Flex0) frame, etc. Among them, the difference between ODU frame and OTU frame is that OTU frame includes ODU frame and OTU overhead; k represents the rate level that is not passed, for example, k=1 represents 2.5Gbps, k=4 represents 100Gbps; Cn represents a variable rate, specifically a rate of a positive integer multiple of 100Gbps. Unless otherwise specified, ODU frame refers to any one of ODUk, ODUCn or ODUflex, and OTU frame refers to any one of OTUk, OTUCn or Flex0. It should also be noted that with the development of OTN technology, new types of OTN frames may be defined, which are also applicable to the present application. Figure 1 The structure of an OTN frame is shown. The OTN frame consists of 4*3824 bytes (ie, 4 rows and 3824 columns). Figure 1 The OPU OH (OPU overhead) in the OTN frame is the OPU overhead field, located in the 15th and 16th columns of the OTN frame; ODU OH (ODU overhead) is the ODU overhead field; OTU OH (OTU overhead) is the OTU overhead field, and alignm is the frame header alignment mark of the OTN frame, that is, the OTN frame overhead occupies 16 bytes per row. The customer's service data is loaded and transmitted in the OPU, that is, the bearer area of ​​the OTN frame, which is located in the 17th-3824th columns of the frame.

[0055] Figure 2 Another OTN frame structure is shown. Time slots are divided in the bearer area of ​​the OTN frame. Each time slot is 16 bytes. Each row in the bearer area of ​​the OTN frame has 3284-16=3268 bytes, which can be divided into 238 time slots. The bearer area of ​​4 rows can be divided into 952 time slots. The size of each time slot is 16 bytes, and the corresponding bearer service speed of each time slot is 10M (actually slightly larger than 10M, after deducting various overheads, the customer's service speed is guaranteed to reach 10M).

[0056] For low-rate services below 1.25 Gbps, the current OTN bearer container cannot provide an effective bearer solution. To this end, this application defines a new frame structure. To simplify the description, the frame structure is referred to as the basic frame in the following. It should be noted that this name is only an example and should not be used to limit the frame structure defined in this application. The name can also be replaced by other names such as low-rate frame or low-rate service frame.

[0057] like Figure 3 As shown, the size of the basic frame is 4 rows, each row is 3824 bytes. In an optional implementation, each row of the basic frame includes two overhead areas for carrying overhead information and two payload areas for carrying customer service data, and the overhead areas and the payload areas are arranged adjacent to each other. That is, a basic frame includes 8 overhead areas and 8 payload areas.

[0058] In one embodiment, the size of the overhead area in each row of the basic frame is 16 bytes, and the size of the payload area in each row is 1896 bytes, that is, all overhead areas in the basic frame have the same size, and all payload areas have the same size.

[0059] In one embodiment, Figure 4 As shown, the size of the payload area in each row of the basic frame may also be different. Optionally, the size of the overhead area in each row of the basic frame is 16 bytes, and the sizes of the payload areas from left to right in each row are 1888 bytes and 1904 bytes respectively; or, the size of the overhead area in each row is 16 bytes, and the sizes of the payload areas from left to right in each row are 1904 bytes and 1888 bytes respectively.

[0060] In order to carry low-speed services in the bearer area of ​​the OTN frame, the embodiment of the present application further defines a subframe, such as Figure 5 As shown, the subframe includes an overhead area for carrying overhead information and a payload area for carrying customer service data.

[0061] Optionally, the size of the above subframe is 1912 bytes, the first 16 bytes in the subframe are the overhead area of ​​the subframe, which are used to carry overhead information, and the 17th byte to the 1912th byte in the subframe are the payload area of ​​the subframe, which are used to carry customer service data and occupy 1896 bytes.

[0062] In one embodiment, Figure 6 As shown, 8 subframes are defined to form a basic frame, that is, each row of the basic frame includes 2 subframes, the first row consists of subframe 1 and subframe 2, the second row consists of subframe 3 and subframe 4, the third row consists of subframe 5 and subframe 6, and the fourth row consists of subframe 7 and subframe 8. Each subframe constituting the basic frame has the same size and occupies 1912 bytes.

[0063] Alternatively, if Figure 7As shown, the overhead area of ​​the subframe or basic frame includes frame header flag information and other overhead information except the frame header flag information. Among them, the frame header flag information occupies 4 bytes, and other overhead information occupies 12 bytes. Among them, the frame header flag information is used to determine the starting position of the subframe or basic frame, and to realize the framing function of the basic frame or subframe. Other overhead information includes at least one of the following: multi-frame flag information of the basic frame, overhead multi-frame flag information, error check information, serial connection monitoring information, channel trace information, protection switching information, indication information for indicating the starting mapping position of the data after 64 / 66 encoding of the service data, and bandwidth lossless adjustment information.

[0064] Alternatively, if Figure 8 As shown, the above-mentioned frame header flag information includes frame header positioning flag information and sequence flag information. Among them, the above-mentioned frame header positioning flag information occupies the first 3 bytes of 4 bytes and the first 5 bits of the 4th byte, which is used to realize the framing function of the subframe or basic frame. In practical applications, the specific values ​​of the first 3 bytes in the frame header positioning flag information and the first 5 bits in the 4th byte can be set based on actual needs, and the embodiment of the present application does not limit this. For example, the first three bytes of the frame header positioning flag information can be hexadecimal 0xF6, that is, binary "11110110", and the first 5 bits of the fourth byte can be "00101". Of course, the first two bytes of the frame header positioning flag information can also be set to hexadecimal 0xF6, that is, binary "11110110", the third byte content is set to hexadecimal 0x28, that is, binary "00101000", and the first 5 bits of the fourth byte are set to "00101".

[0065] The above sequence flag information occupies the last 3 bits of the fourth byte of the frame header flag information, and is used to indicate the order of the subframes in the basic frame. The sequence flag information of the 8 subframes in the basic frame is as follows: the sequence flag information of subframe 1 is "000", the sequence flag information of subframe 2 is "001", the sequence flag information of subframe 3 is "010", the sequence flag information of subframe 4 is "011", the sequence flag information of subframe 5 is "100", the sequence flag information of subframe 6 is "101", the sequence flag information of subframe 7 is "110", and the sequence flag information of subframe 8 is "111".

[0066] In the above embodiment, the lengths of the eight subframes constituting the basic frame are fixed, that is, the size of each subframe is 1912 bytes. In some embodiments, two subframe structures are further defined, namely, the first subframe and the second subframe. Fig. 9 and Fig.10As shown, the size of the first subframe is 1904 bytes, the size of the overhead area of ​​the first subframe is 16 bytes, and the size of the payload area of ​​the first subframe is 1888 bytes. The size of the second subframe is 1920 bytes, the size of the overhead area of ​​the second subframe is 16 bytes, and the size of the payload area of ​​the second subframe is 1904 bytes. The overhead area size of the second subframe is the same as that of the first subframe, and the overhead byte definition method is also the same. The only difference between the second subframe and the first subframe is the size of the payload area. The payload area of ​​the first subframe occupies 1888 bytes, and the payload area of ​​the second subframe occupies 1904 bytes.

[0067] That is to say, the first 4 bytes of the overhead area of ​​the first subframe and the second subframe represent the frame header flag information, and the following 12 bytes represent other overhead information, which is used to indicate the basic frame multiframe flag information, overhead multiframe flag information, error checking information, tandem connection monitoring information, channel trace information, protection switching information, indication information for indicating the starting mapping position of the service data after 64 / 66 encoding, and bandwidth lossless adjustment information.

[0068] The frame header flag information of the first subframe and the second subframe also includes two parts: frame header positioning flag information and sequence flag information; wherein, the frame header positioning flag information also occupies the first 3 bytes of the 4 bytes and the first 5 bits of the 4th byte, and the sequence flag information occupies the last 3 bits of the 4th byte. In practical applications, the specific value of the frame header positioning flag information of the first subframe or the second subframe can be set based on actual needs, and the embodiment of the present application does not limit this. For example, the first three bytes of the frame header positioning flag information of the first subframe or the second subframe can be hexadecimal 0xF6, that is, binary "11110110", and the first 5 bits of the fourth byte can be "00101", or the first two bytes of the frame header positioning flag information can be set to hexadecimal 0xF6, that is, binary "11110110", and the third byte content is set to hexadecimal 0x28, that is, binary "00101000", and the first 5 bits of the fourth byte are set to "00101".

[0069] The sequence flag information in the first subframe and the second subframe occupies the last 3 bits of the fourth byte of the frame header flag information, and is used to indicate the order of the subframes in the basic frame. The sequence flag information of the 8 subframes in the basic frame is as follows: the sequence flag information of subframe 1 is "000", the sequence flag information of subframe 2 is "001", the sequence flag information of subframe 3 is "010", the sequence flag information of subframe 4 is "011", the sequence flag information of subframe 5 is "100", the sequence flag information of subframe 6 is "101", the sequence flag information of subframe 7 is "110", and the sequence flag information of subframe 8 is "111".

[0070] In a specific application, when the first subframe and the second subframe are used to form a basic frame, such as Fig.11 As shown, in the basic frame, the odd subframes can be set as the first subframes, and the even subframes can be set as the second subframes, that is, subframes 1, 3, 5, and 7 in the basic frame are the first subframes, and subframes 2, 4, 6, and 8 in the basic frame are the second subframes. Fig.12 As shown, the odd subframes may be set as the second subframes, and the even subframes may be set as the first subframes, that is, subframes 1, 3, 5, and 5 in the basic frame are the second subframes, and subframes 2, 4, 6, and 8 in the basic frame are the first subframes.

[0071] After defining the above basic frame and subframe structure, combined with Fig.13 , introduces the business processing method proposed in this application. Fig.13 As shown, the OTN device as the sending end needs to perform the following steps to complete the bearing of service data.

[0072] S1301. Obtain business data.

[0073] Specifically, the OTN device on the sending side obtains service data through the customer service interface. Alternatively, the sending side device locally generates service data that needs to be transmitted. Service data refers to the services that can be carried by the optical transport network. For example, it can be Ethernet services, packet services, and wireless backhaul services.

[0074] S1302: Map the service data into basic frames.

[0075] Specifically, the OTN device at the sending side maps the service data to a basic frame or a subframe of the basic frame, specifically, to a payload area of ​​the basic frame or a payload area of ​​a subframe.

[0076] S1303: Map the basic frame to some time slots in the OTN frame bearing area.

[0077] The OTN frame carrying area includes multiple time slots. After the basic frame is obtained, the basic frame is carried in the carrying area of ​​the OTN frame in the form of customer service content. Specifically, one or more time slots are selected according to the rate requirements of the service data, and the basic frame is mapped to the corresponding one or more time slots. Exemplarily, the carrying service speed corresponding to a time slot is 10M. For a service data with a speed of 10M, the service data is first mapped to a subframe or a basic frame, and a time slot position is selected in the OTN frame for carrying. Each time slot carries 16 bytes of subframe or basic frame content each time, and the carrying and sending of all bytes of the basic frame are completed after multiple carrying.

[0078] S1304: Send an OTN frame.

[0079] The service processing method in the optical transport network provided in the embodiment of the present application defines a new basic frame structure to carry the customer's service data, and carries the basic frame through part of the time slots in the traditional OTN frame carrying area, thereby achieving the purpose of transmitting low-speed service data through the traditional OTN frame.

[0080] In one embodiment, when the service data is an Ethernet service, the process of mapping the service data into a basic frame may be:

[0081] S13021. Perform 64 / 66 encoding on the service data to obtain a corresponding code block stream.

[0082] The code block stream includes multiple code blocks, and each code block includes a 2-bit synchronization header and 64-bit data.

[0083] For Ethernet services, Ethernet packets need to be 64 / 66 encoded. Fig.14 As shown in the figure, every 8 bytes (64 bits in total) of customer service data are expanded into a 66-bit code block by adding 2 bits after encoding. The added 2 bits are located at the front of the 66-bit code block and are called the synchronization header (these two bit values ​​are fixed to "01" or "11", "01" indicates that the code block is a data code block, and "11" indicates that the code block is a control code block). The 64-bit content of 8 bytes is converted into a 66-bit code block after 64 / 66 encoding before being mapped to a subframe or basic frame for carrying.

[0084] Fig.15 It is the 64 / 66 encoding rule of Ethernet 802.3 protocol. Each code block consists of 66 bits. The first 2 bits are the synchronization header of the code block. The synchronization header bit "01" indicates that the code block is a D code block (i.e., a data code block). The following 8 bytes (64 bits) are 8 bytes of data content. The synchronization header bit "11" indicates that the code block is a control code block. The first byte following the synchronization header bit indicates the type of the control code block. The following 7 bytes are the content of the control code block. The 7 bytes are determined by the type of the control code block. Fig.16 As shown in the figure, both S code blocks and T code blocks belong to control code blocks. The first byte content in the S code block is 0x78, indicating that the control code block is an S code block. In addition to indicating the end of the code block, the T code block can also carry the client byte content (located in the last 7 bytes of the code block). There are 8 types of T code blocks in the Ethernet standard: T 0 , T 1 , T 2 , T 3 , T 4 , T 5 , T 6 , T 7 Among them, T 0(The first byte is 0x87) The code block does not carry customer information. 1 The code block (the first byte is 0x99) carries 1 byte of customer information. 2 The code block (the first byte is 0x99) carries 2 bytes of customer information, and so on. 7 The code block (the first byte is 0xFF) carries 7 bytes of customer information.

[0085] Each Ethernet message is 64 / 66 encoded and becomes a 66-bit code block stream, such as Fig.17 As shown, each message consists of an S code block, several D code blocks and a T code block.

[0086] S13022. Map the code block stream to the payload area in the basic frame or subframe.

[0087] After obtaining the code block stream, the code block stream is mapped to the payload area in the basic frame or subframe. As an optional implementation, the code block stream can be directly mapped to the payload area in the basic frame or subframe. The payload area of ​​the basic frame or subframe is composed of many bytes, each byte is 8 bits long, and 8 bits are not a factor of 66 bits. In this way, each 66-bit code block needs to span multiple bytes when mapped to a byte, and the starting position of the 66-bit code block is different in each byte. In the case of this direct mapping, in order to facilitate the receiving end to extract the 66-bit code block from the subframe or basic frame, corresponding indication information can be added to the overhead area of ​​the subframe or basic frame to indicate the starting mapping position of the 66-bit code block in the basic frame. Here, there are multiple indication methods, one of which is to directly indicate the starting position of the 66-bit code block in each basic frame. In addition, since the 66-bit code block will be mapped to the very beginning position of the payload area of ​​the basic frame every 11 basic frames, the above indication information can also be the order of the current basic frame mapped by the 66-bit code block in the 11 basic frames. In this way, the starting mapping position of the 66-bit code block in the current basic frame can also be derived through this sequence.

[0088] As another optional implementation, in order to facilitate mapping and demapping, the synchronization header part and the code block byte part of the 66-bit code block can be separated, such as Fig.18 As shown in the figure, each code block has a 2-bit synchronization header. The 2-bit synchronization headers of multiple code blocks are separated and concentrated for carrying. After the synchronization header and code block bytes are separated, since the length of the code block byte part is 64 bits, which is 8 bytes in length, a code block byte part can be mapped to 8 bytes. Based on this idea, Fig.19As shown, the payload area of ​​the basic frame or subframe can be divided into a synchronization header area and a code block byte area. The synchronization header area is used to store the 2-bit synchronization header separated in each code block, and the code block byte area is used to store the 8-byte content separated in each code block.

[0089] Based on this, the process of mapping the code block stream to the payload area in the basic frame or subframe can be: divide the 4*n code blocks in the code block stream into a group to obtain multiple groups of sub-code block streams; concentrate the synchronization headers of each code block in each group of sub-code block streams into the synchronization header area corresponding to each group of sub-code block streams; concentrate the data of each code block in each group of sub-code block streams into the code block byte area corresponding to each group of sub-code block streams; wherein n is a natural number greater than or equal to 1. Among them, the size of the synchronization header area corresponding to each group of sub-code block streams is equal to the number of bits occupied by the synchronization headers of each code block in each group of sub-code block streams after concentration; the size of the code block byte area corresponding to each group of sub-code block streams is equal to the number of bytes occupied by the data of each code block in each group of sub-code block streams after concentration.

[0090] For example, taking n equal to 1, 4 66-bit code blocks can be taken as a group, 8 synchronization header bits can be separated from the 4 66-bit code blocks, and the 8 synchronization header bits are mapped on one byte of a subframe or basic frame payload area, and 4*8 bytes can be separated from the 4 66-bit code blocks and mapped on 32 bytes of a subframe or basic frame payload area. In this way, Fig.19 The length of the synchronization header area is x=1 byte, and the length of the code block byte area is y=32 bytes.

[0091] Of course, the subframe or basic frame payload area can be divided according to the following rules in addition to the grouping parameters of the synchronization header area length x=1 byte and the code block byte area length y=32 bytes:

[0092] Mode 1: x=1&y=32; 4 code blocks per group

[0093] Mode 2: x=2&y=64; 8 code blocks per group

[0094] Mode 3: x=3&y=96; 12 code blocks per group

[0095] Mode 4: x=4&y=128; 16 code blocks per group

[0096] Mode 5: x=5&y=160; 20 code blocks per group

[0097] etc.

[0098] In this embodiment, the 66-bit code block stream of the Ethernet message is grouped, the synchronization headers in each group are separated and carried together; the code block bytes in each group are separated and carried together. In addition, the synchronization header area and the code block byte area are respectively divided in the payload area of ​​the subframe or basic frame, the synchronization header area stores the separated synchronization headers in each group, and the code block byte area stores the separated code block bytes in each group, which facilitates the 66-bit mapping and demapping processing.

[0099] Fig. 20 Another flow chart of a service processing method in an optical transport network provided in an embodiment of the present application. Fig. 20 As shown, the OTN device at the receiving end needs to perform the following steps to complete the reorganization of the service data.

[0100] S2001. Receive an OTN frame.

[0101] Among them, some time slots in the OTN frame carrying area carry basic frames, and the size of the basic frame is 4 lines, each line is 3824 bytes. Each line of the basic frame includes two overhead areas for carrying overhead information and two payload areas for carrying customer service data. The overhead area and the payload area are adjacent to each other. In other words, a basic frame includes 8 overhead areas and 8 payload areas.

[0102] Optionally, each row of the basic frame includes 2 subframes, and each subframe includes an overhead area for carrying overhead information and a payload area for carrying service data. That is, a basic frame includes 8 subframes. Optionally, the length of the 8 subframes can be fixed, or the first subframe and the second subframe can be cross-set, that is, the odd frame of the basic frame can be the first subframe, and the even frame can be the second subframe. Of course, the odd frame of the basic frame can also be the second subframe, and the even frame is the first subframe. For the specific structure of the subframe and the byte definition, please refer to the description of the above embodiment, and this embodiment will not be repeated here.

[0103] S2002. Extract a basic frame from a corresponding time slot of the OTN frame.

[0104] After receiving the OTN frame, a subframe or a basic frame is extracted from the corresponding bearer timeslot in the OTN frame.

[0105] S2003. Obtain business data from the basic frame.

[0106] After extracting the subframe or basic frame, the customer's service data is extracted from the payload area of ​​the subframe or basic frame.

[0107] In one embodiment, the process of S2003 may include: performing framing processing on the basic frame; and obtaining service data from the basic frame when the framing is successful.

[0108] After receiving the basic frame, it is in a frame loss state at first, and the subframe or basic frame needs to be framed. The frame fixing process is to determine the frame header position of the basic frame or subframe. Optionally, the process of framing the basic frame is as follows:

[0109] In the case that the last frame header positioning mark information and the sequence mark information are correct, determining whether the data content at the position spaced T bytes after the last frame header positioning mark information conforms to the frame header positioning mark information; wherein T is the sum of the sizes of an overhead area and a payload area;

[0110] If yes, determine whether the current sequence flag information and the previous sequence flag information satisfy the specified sequence relationship according to the three bit values ​​after the data content;

[0111] If yes, the frame header positioning mark information of this time is used as the new frame header positioning mark information of the previous time, and the step of determining whether the data content at the position with an interval of T bytes after the frame header positioning mark information of the previous time conforms to the frame header positioning mark information is continued;

[0112] When the frame header positioning mark information and the sequence mark information are correct for m consecutive times, it is determined that the basic frame is successfully framed; wherein m is a natural number greater than or equal to 1.

[0113] The first case: taking the length of the subframe contained in the basic frame as fixed at 1912 bytes (that is, T below is equal to 1912 bytes) as an example, the framing process of the subframe or basic frame is introduced:

[0114] Step 1: First, detect whether the extracted data content is the frame header positioning mark information of the subframe or basic frame. If not, continue to extract the data content on the subsequent corresponding time slot in the OTN payload area until the data content carried on the extracted time slot conforms to the frame header positioning mark information of the subframe or basic frame (for example, the frame header positioning mark information includes 3 bytes and 5 bits, a total of 29 bits, of which the three bytes are hexadecimal "0xF6" or binary "11110110", and the 5-bit value is "00101"), then the frame header position of the subframe or basic frame is detected for the first time.

[0115] Step 2: extract the last three bit values ​​in the frame header flag information of the subframe or basic frame, and determine the sequence flag information of the subframe or basic frame according to the three bit values.

[0116] Step 3: Determine whether the data content at the interval of T bytes after the frame header mark information of the subframe or basic frame conforms to the frame header positioning mark information and whether the sequence mark information of this time conforms to the sequence mark information of the previous time in a sequential relationship of increasing by 1. If the frame header positioning mark information of this time is incorrect, or the sequence mark information of this time is also incorrect, return to step 1.

[0117] Step 4: If the frame header positioning flag information and the sequence flag information are correct, repeat the determination of whether the frame header positioning flag value of the subsequent subframe or basic frame is correct and whether the sequence flag information of the subframe or basic frame is correct according to the interval period T byte position. If the frame header positioning flag information and the sequence flag information are correct for m consecutive times, it is determined that the basic frame framing is successful.

[0118] In order to avoid the extracted data content being not the frame header but the customer's business data, that is, to ensure the accuracy of the frame header positioning, the extracted data content can be detected m times. It should be noted that the above m can be set based on actual needs, such as m can be 3, 5, 8, 16, 24... When m=3, it means that the frame header positioning mark information of the subframe or basic frame is detected 3 times in a row and is correct, and the sequence mark information of the subframe or basic frame is also correct, and the fixed frame state is entered. When m=5, it means that the frame header positioning mark information of the subframe or basic frame is detected 5 times in a row and is correct, and the sequence mark information of the subframe or basic frame is also correct, and the fixed frame state is entered. When m=8, it means that the frame header positioning mark information of the subframe or basic frame is detected 8 times in a row (i.e., 1 basic frame length) and the sequence mark information of the subframe or basic frame is also correct, and the fixed frame state is entered. When m=16, it means that the frame header positioning mark information of the subframe or basic frame is detected 16 times in a row (i.e., 2 basic frame lengths) correctly, and the sequence mark information of the subframe or basic frame is also correct, and the frame state is entered. When m=24, it means that the frame header positioning mark information of the subframe or basic frame is detected 24 times in a row (i.e., 3 basic frame lengths) correctly, and the sequence mark information of the subframe or basic frame is also correct, and the frame state is entered.

[0119] The above framing process can be described by a state machine, such as Fig.21 As shown, in Fig.21 The detection of the frame header positioning mark information of the subframe or basic frame and the detection of the sequence mark information of the subframe or basic frame are described as two independent steps. In implementation, the detection of the frame header positioning mark information of the subframe or basic frame and the detection of the sequence mark information of the subframe or basic frame can also be performed synchronously and in one step. Fig.21 The state machine becomes Fig. 22 The state machine.

[0120] In the fixed frame state, after each interval period of T bytes, the frame header positioning mark information of the subframe or basic frame is detected to see if it is correct, and the sequence mark information of the subframe or basic frame is correct. If one of them is incorrect, it means that the subframe or basic frame detection has failed, and the frame header positioning mark information and the sequence mark information of the subframe or basic frame of the subsequent subframe or basic frame are detected to see if they are correct at each interval period of T bytes. If the detection fails for a consecutive times, the fixed frame state is exited and the lost frame state is entered. Where a is a natural number greater than or equal to 1.

[0121] The second case: the subframes included in the basic frame are the first subframe and the second subframe (the size of the first subframe is 1904 bytes, the size of the second subframe is 1920 bytes, that is, T1 is equal to 1904 bytes, and T2 is equal to 1920 bytes), and subframes 1, 3, 5, and 7 of the basic frame are the first subframes, and subframes 2, 4, 6, and 8 of the basic frame are the second subframes. As an example, the frame is lost at the beginning, and the subframe or basic frame framing process is started. The framing process is as follows:

[0122] Step 1: First, detect whether the extracted data content is the frame header positioning mark information of the subframe or basic frame. If not, continue to extract the data content on the subsequent corresponding time slot in the OTN payload area until the data content carried on the extracted time slot conforms to the frame header positioning mark information of the subframe or basic frame (for example, the frame header positioning mark information includes 3 bytes and 5 bits, a total of 29 bits, of which the three bytes are hexadecimal "0xF6" or binary "11110110", and the 5-bit value is "00101"), then the frame header position of the subframe or basic frame is detected for the first time.

[0123] Step 2: extract the last three bit values ​​in the frame header flag information of the subframe or basic frame, and determine the sequence flag information of the subframe or basic frame according to the three bit values.

[0124] Step 3: Check whether the data content at the interval of T1 or T2 bytes after the frame header mark information of the subframe or basic frame conforms to the frame header positioning mark information and whether the sequence mark information of this time conforms to the sequence mark information of the previous time in a sequence relationship of increasing by 1. If the frame header positioning mark information of this time is incorrect or the sequence mark information of this time is also incorrect, return to step 1.

[0125] Among them, if the last time was the sequence flag information of the first subframe, then the frame header position of the second subframe is after an interval of T2 bytes, that is, it is necessary to determine the correct situation of the data content at the interval of T2 bytes after the frame header flag information; if the last time was the sequence flag information of the second subframe, then the frame header position of the first subframe is after an interval of TI bytes, that is, it is necessary to determine the correct situation of the data content at the interval of T1 bytes after the frame header flag information.

[0126] Step 4: If the frame header positioning flag information and the sequence flag information are correct, repeat the determination of whether the frame header positioning flag value of the subsequent subframe or basic frame is correct and whether the sequence flag information of the subframe or basic frame is correct according to the interval period T1 or T2 byte position. If the frame header positioning flag information and the sequence flag information are correct for m consecutive times, it is determined that the basic frame framing is successful.

[0127] In order to avoid the extracted data content being not the frame header but the customer's business data, that is, to ensure the accuracy of the frame header positioning, the extracted data content can be detected m times. It should be noted that the above m can be set based on actual needs, such as m can be 3, 5, 8, 16, 24... When m=3, it means that the frame header positioning mark information of the subframe or basic frame is detected 3 times in a row and is correct, and the sequence mark information of the subframe or basic frame is also correct, and the fixed frame state is entered. When m=5, it means that the frame header positioning mark information of the subframe or basic frame is detected 5 times in a row and is correct, and the sequence mark information of the subframe or basic frame is also correct, and the fixed frame state is entered. When m=8, it means that the frame header positioning mark information of the subframe or basic frame is detected 8 times in a row (i.e., 1 basic frame length) and the sequence mark information of the subframe or basic frame is also correct, and the fixed frame state is entered. When m=16, it means that the frame header positioning mark information of the subframe or basic frame is detected 16 times in a row (i.e., 2 basic frame lengths) correctly, and the sequence mark information of the subframe or basic frame is also correct, and the frame state is entered. When m=24, it means that the frame header positioning mark information of the subframe or basic frame is detected 24 times in a row (i.e., 3 basic frame lengths) correctly, and the sequence mark information of the subframe or basic frame is also correct, and the frame state is entered.

[0128] The above framing process can be described by a state machine, such as Fig.23 As shown, in Fig.23 The detection of the frame header positioning mark information of the subframe or basic frame and the detection of the sequence mark information of the subframe or basic frame are described as two independent steps. In implementation, the detection of the frame header positioning mark information of the subframe or basic frame and the detection of the sequence mark information of the subframe or basic frame can also be performed synchronously and in one step. Fig.23 The state machine becomes Fig.24 The state machine.

[0129] In the fixed frame state, after each interval period T1 or T2 byte position, detect whether the frame header positioning mark information of the subframe or basic frame is correct and whether the sequence mark information of the subframe or basic frame is correct. If one of them is incorrect, it means that the subframe or basic frame detection fails, and the frame header positioning mark information and the sequence mark information of the subframe or basic frame of the subsequent subframe or basic frame are detected at each interval period T1 or T2 byte position. If the detection fails for a consecutive times, the fixed frame state is exited and the lost frame state is entered. Where a is a natural number greater than or equal to 1.

[0130] In this embodiment, a subframe or basic frame framing process is provided, so that service data can be accurately extracted from the subframe or basic frame, thereby improving the accuracy of service data detection.

[0131] Fig.25 A schematic diagram of a structure of a service processing device in an optical transport network provided in an embodiment of the present application. Fig.25 As shown, the device may include: an acquisition module 2501, a processing module 2502 and a sending module 2503.

[0132] Specifically, the acquisition module 2501 is used to acquire business data;

[0133] The processing module 2502 is used to map the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes;

[0134] The processing module 2502 is also used to map the basic frame to a part of the time slots in the OTN frame bearing area;

[0135] The sending module 2503 is used to send the OTN frame.

[0136] Based on the above embodiment, optionally, each row of the basic frame includes two overhead areas for carrying overhead information and two payload areas for carrying the service data.

[0137] On the basis of the above embodiment, optionally, each row of the basic frame includes 2 subframes, and each subframe includes an overhead area for carrying overhead information and a payload area for carrying the service data.

[0138] Based on the above embodiment, optionally, the size of each subframe is the same.

[0139] Based on the above embodiment, optionally, the two subframes in each row are the first subframe and the second subframe from left to right; or, the two subframes in each row are the second subframe and the first subframe from left to right; wherein the size of the first subframe is smaller than that of the second subframe.

[0140] On the basis of the above embodiment, optionally, the overhead area includes frame header flag information and other overhead information except the frame header flag information; wherein the frame header flag information is used to implement a framing function of a basic frame or a subframe.

[0141] Based on the above embodiment, optionally, the frame header flag information includes frame header positioning flag information and sequence flag information; wherein the sequence flag information is used to indicate the sequence of subframes in the basic frame.

[0142] Based on the above embodiment, optionally, the size of the overhead area is 16 bytes, and the size of the payload area is 1896 bytes.

[0143] Based on the above embodiment, optionally, the size of the overhead area of ​​the first subframe is 16 bytes, the size of the payload area of ​​the first subframe is 1888 bytes, the size of the overhead area of ​​the second subframe is 16 bytes, and the size of the payload area of ​​the second subframe is 1904 bytes.

[0144] Based on the above embodiment, optionally, the frame header flag information occupies 4 bytes, and the other overhead information occupies 12 bytes.

[0145] Based on the above embodiment, optionally, the frame header positioning flag information occupies the first 3 bytes of the 4 bytes and the first 5 bits of the 4th byte, and the sequence flag information occupies the last 3 bits of the 4th byte.

[0146] Based on the above embodiment, optionally, the other overhead information includes at least one of the following: basic frame multi-frame flag information, overhead multi-frame flag information, error checking information, series connection monitoring information, channel trace information, protection switching information, indication information for indicating the starting mapping position of the service data after 64 / 66 encoding, and bandwidth lossless adjustment information.

[0147] Based on the above embodiment, optionally, the processing module 2502 is also used to perform 64 / 66 encoding on the service data to obtain a corresponding code block stream; wherein the code block stream includes multiple code blocks, each code block includes a 2-bit synchronization header and 64 bits of data; and the code block stream is mapped to the payload area in a basic frame or subframe.

[0148] Based on the above embodiment, optionally, the processing module 2502 is further configured to directly map the code block stream to a payload area in a basic frame or a subframe.

[0149] Based on the above embodiment, optionally, the payload area of ​​the basic frame or subframe includes a synchronization header area and a code block byte area;

[0150] The processing module 2502 is further configured to divide the 4*n code blocks in the code block stream into a group to obtain multiple groups of sub-code block streams; wherein n is a natural number greater than or equal to 1;

[0151] Concentrating the synchronization headers of the code blocks in each group of sub-code block streams and mapping them to the synchronization header area corresponding to each group of sub-code block streams;

[0152] The data of each code block in each group of sub-code block streams are centrally mapped to the code block byte area corresponding to each group of sub-code block streams.

[0153] Based on the above embodiment, optionally, the size of the synchronization header area corresponding to each group of subcode block streams is equal to the number of bits occupied by the synchronization headers of each code block in each group of subcode block streams after being concentrated;

[0154] The size of the code block byte area corresponding to each group of sub-code block streams is equal to the number of bytes occupied by each code block in each group of sub-code block streams after data is concentrated.

[0155] Fig.26 A schematic diagram of a structure of a service processing device in an optical transport network provided in an embodiment of the present application. Fig.26 As shown, the device may include: a receiving module 2601 and a processing module 2602.

[0156] Specifically, the receiving module 2601 is used to receive the OTN frame; wherein, some time slots in the OTN frame carrying area carry basic frames, and the size of the basic frame is 4 lines, each line is 3824 bytes;

[0157] The processing module 2602 is used to extract the basic frame from the corresponding time slot of the OTN frame;

[0158] The processing module 2602 is further configured to obtain the service data from the basic frame.

[0159] Based on the above embodiment, optionally, each row of the basic frame includes two overhead areas for carrying overhead information and two payload areas for carrying the service data.

[0160] On the basis of the above embodiment, optionally, each row of the basic frame includes 2 subframes, and each subframe includes an overhead area for carrying overhead information and a payload area for carrying the service data.

[0161] On the basis of the above embodiment, optionally, the processing module 2602 is further configured to perform framing processing on the basic frame; and when the framing is successful, obtain the service data from the basic frame.

[0162] On the basis of the above embodiment, optionally, the processing module 2602 is also used to determine whether the data content at an interval of T bytes after the last frame header positioning mark information conforms to the frame header positioning mark information when the last frame header positioning mark information and the sequence mark information are correct; wherein T is the sum of the sizes of an overhead area and a payload area; if so, determine whether the current sequence mark information and the previous sequence mark information satisfy a specified sequence relationship based on the three bit values ​​after the data content; if so, use the current frame header positioning mark information as the new last frame header positioning mark information, and continue to execute the step of determining whether the data content at an interval of T bytes after the last frame header positioning mark information conforms to the frame header positioning mark information; when the frame header positioning mark information and the sequence mark information are correct for m consecutive times, determine that the basic frame is framed successfully; wherein m is a natural number greater than or equal to 1.

[0163] In one embodiment, an optical transmission network device is provided, and its internal structure diagram can be as follows: Fig. 27 As shown. The device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the device is used to provide computing and control capabilities. The memory of the device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the device is used to store data generated during the service processing in the optical transmission network. The network interface of the device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a service processing method in the optical transmission network is implemented.

[0164] Those skilled in the art will understand that Fig. 27 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0165] In one embodiment, an optical transmission network device is provided, the device comprising a memory and a plurality of processors, the memory storing a computer program, and one of the plurality of processors implementing the following steps when executing the computer program:

[0166] Get business data;

[0167] Mapping the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes;

[0168] Mapping the basic frame to a portion of time slots in an OTN frame bearing area;

[0169] The OTN frame is sent.

[0170] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0171] Get business data;

[0172] Mapping the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes;

[0173] Mapping the basic frame to a portion of time slots in an OTN frame bearing area;

[0174] The OTN frame is sent.

[0175] The computer storage medium of the embodiment of the present application may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. The computer-readable storage medium includes (a non-exhaustive list): an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), an erasable programmable read-only memory (electrically erasable, programmable Read-Only Memory, EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it.

[0176] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, the data signal carrying a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0177] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0178] Computer program code for performing the disclosed operations may be written in one or more programming languages ​​or a combination of multiple programming languages, including object-oriented programming languages ​​(such as Java, Smalltalk, C++, Ruby, Go), and conventional procedural programming languages ​​(such as "C" language or similar programming languages). The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network (including a network (Local Area Network, LAN) or a wide area network (Wide Area Network, WAN)), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).

[0179] It will be appreciated by those skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.

[0180] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.

[0181] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0182] The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. The computer program may be stored in a memory. The memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs DVD or CD discs), etc. Computer-readable media may include non-transient storage media. The data processor may be of any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic device (Field-Programmable Gate Array, FGPA) and a processor based on a multi-core processor architecture.

Claims

1. A service processing method in an optical transport network (OTN), characterized in that: include: Get business data; Mapping the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes; Mapping the basic frame to a portion of time slots in an OTN frame bearing area; The OTN frame is sent.

2. The method according to claim 1, characterized in that Each row of the basic frame includes two overhead areas for carrying overhead information and two payload areas for carrying the service data.

3. The method according to claim 1, characterized in that Each row of the basic frame includes 2 subframes, and each subframe includes an overhead area for carrying overhead information and a payload area for carrying the service data.

4. The method according to claim 3, characterized in that Each subframe has the same size.

5. The method according to claim 3, characterized in that: The two subframes in each row are the first subframe and the second subframe from left to right; Alternatively, the two subframes in each row are respectively the second subframe and the first subframe from left to right; The size of the first subframe is smaller than that of the second subframe.

6. The method according to claim 2 or 3, characterized in that: The overhead area includes frame header flag information and other overhead information except the frame header flag information; wherein the frame header flag information is used to implement a framing function of a basic frame or a subframe.

7. The method according to claim 6, characterized in that The frame header flag information includes frame header positioning flag information and sequence flag information; wherein the sequence flag information is used to indicate the sequence of subframes in a basic frame.

8. The method according to claim 2 or 4, characterized in that: The size of the overhead area is 16 bytes, and the size of the payload area is 1896 bytes.

9. The method according to claim 5, characterized in that The size of the overhead area of ​​the first subframe is 16 bytes, the size of the payload area of ​​the first subframe is 1888 bytes, the size of the overhead area of ​​the second subframe is 16 bytes, and the size of the payload area of ​​the second subframe is 1904 bytes.

10. The method according to claim 7, characterized in that The frame header flag information occupies 4 bytes, and the other overhead information occupies 12 bytes.

11. The method according to claim 10, characterized in that The frame header positioning flag information occupies the first 3 bytes of the 4 bytes and the first 5 bits of the 4th byte, and the sequence flag information occupies the last 3 bits of the 4th byte.

12. The method according to claim 6, characterized in that The other overhead information includes at least one of the following: basic frame multiframe flag information, overhead multiframe flag information, error checking information, serial connection monitoring information, channel trace information, protection switching information, indication information for indicating the starting mapping position of service data after 64 / 66 encoding, and bandwidth lossless adjustment information.

13. The method according to claim 1, characterized in that Mapping the service data into a basic frame includes: Performing 64 / 66 encoding on the service data to obtain a corresponding code block stream; wherein the code block stream includes a plurality of code blocks, each code block includes a 2-bit synchronization header and 64 bits of data; The code block stream is mapped to a payload area in a basic frame or a subframe.

14. The method according to claim 13, characterized in that Mapping the code block stream to a payload area in a basic frame or a subframe includes: The code block stream is directly mapped to the payload area in a basic frame or a subframe.

15. The method according to claim 13, characterized in that The payload area of ​​the basic frame or subframe includes a synchronization header area and a code block byte area; Mapping the code block stream to a payload area in a basic frame or a subframe includes: Dividing 4*n code blocks in the code block stream into a group to obtain multiple groups of sub-code block streams; wherein n is a natural number greater than or equal to 1; Concentrating the synchronization headers of the code blocks in each group of sub-code block streams and mapping them to the synchronization header area corresponding to each group of sub-code block streams; The data of each code block in each group of sub-code block streams are centrally mapped to the code block byte area corresponding to each group of sub-code block streams.

16. The method according to claim 15, characterized in that The size of the synchronization header area corresponding to each group of sub-code block streams is equal to the number of bits occupied by the synchronization headers of each code block in each group of sub-code block streams after being concentrated; The size of the code block byte area corresponding to each group of sub-code block streams is equal to the number of bytes occupied by each code block in each group of sub-code block streams after data is concentrated.

17. A service processing method in an optical transport network, characterized in that: include: Receive the OTN frame; wherein, a basic frame is carried in some time slots in the OTN frame carrying area, and the size of the basic frame is 4 lines, each line is 3824 bytes; Extracting the basic frame from a corresponding time slot of the OTN frame; The service data is acquired from the basic frame.

18. The method according to claim 17, characterized in that Each row of the basic frame includes two overhead areas for carrying overhead information and two payload areas for carrying the service data.

19. The method according to claim 17, characterized in that Each row of the basic frame includes 2 subframes, and each subframe includes an overhead area for carrying overhead information and a payload area for carrying the service data.

20. The method according to claim 17, characterized in that The acquiring the service data from the basic frame comprises: Performing frame fixing processing on the basic frame; When the framing is successful, the service data is obtained from the basic frame.

21. The method according to claim 20, characterized in that The performing frame fixing processing on the basic frame comprises: In the case that the last frame header positioning mark information and the sequence mark information are correct, determining whether the data content at the position spaced T bytes after the last frame header positioning mark information conforms to the frame header positioning mark information; wherein T is the sum of the sizes of one overhead area and one payload area; If yes, determine whether the current sequence flag information and the previous sequence flag information satisfy a specified sequence relationship according to the three bit values ​​after the data content; If yes, the frame header positioning mark information of this time is used as the new frame header positioning mark information of the previous time, and the step of determining whether the data content at the position with an interval of T bytes after the frame header positioning mark information of the previous time conforms to the frame header positioning mark information is continued; When the frame header positioning mark information and the sequence mark information are correct for m consecutive times, it is determined that the basic frame framing is successful; wherein m is a natural number greater than or equal to 1.

22. A service processing device in an optical transport network, characterized in that: include: Acquisition module, used to acquire business data; A processing module, used for mapping the service data into a basic frame; wherein the size of the basic frame is 4 lines, each line is 3824 bytes; The processing module is further used to map the basic frame to a part of the time slots in the OTN frame bearing area; The sending module is used to send the OTN frame.

23. A service processing device in an optical transport network, characterized in that: include: A receiving module, used for receiving the OTN frame; wherein a basic frame is carried in some time slots in the OTN frame carrying area, and the size of the basic frame is 4 lines, each line is 3824 bytes; A processing module, configured to extract the basic frame from a corresponding time slot of the OTN frame; The processing module is further used to obtain the service data from the basic frame.

24. An optical transmission network device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 21 are implemented.

25. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 21 are implemented.