Code block processing method and apparatus, device, and readable storage medium

By replacing the error or invalid code blocks in the MTN node, the problem of insufficient error identification processing of the fgMTN channel layer in the metropolitan transmission network is solved, the reliability of the network and the uniformity of the exception handling are achieved, and the stability of the MTN network is enhanced.

WO2025007895A1PCT designated stage expired Publication Date: 2025-01-09CHINA MOBILE COMM LTD RES INST +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/103395
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-06
Filing Date
2024-07-03
Publication Date
2025-01-09

AI Technical Summary

Technical Problem

During the fgMTN channel layer processing of Metro Transmission Network (MTN), there is insufficient error identification processing methods, resulting in inconsistent network reliability and exception handling.

Method used

In the MTN node, the fgMTN channel code block is replaced with the error code block for code blocks carrying error tags, invalid synchronization headers or invalid type fields, and the 66B code block is replaced when the FEC codeword length detects abnormality, ensuring the code block Process accuracy and network stability.

Benefits of technology

It effectively improves the reliability of fgMTN technology and network, ensures unified processing of exceptions and the accuracy of code block processing, and enhances the stability of MTN network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024103395_09012025_PF_FP_ABST
    Figure CN2024103395_09012025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and discloses a code block processing method and apparatus, a device, and a readable storage medium, aiming to ensure the reliability of MTNs. The method comprises: if an MTN channel code block carrying an fgMTN channel is mislabeled, or the code block comprises an invalid synchronization header, or the code block is a control code block having an invalid type field, or the code block is an erroneous code block, replacing an fgMTN channel code block carried in the MTN channel code block with the erroneous code block. The embodiments of the present application can ensure the reliability of MTNs.
Need to check novelty before this filing date? Find Prior Art

Description

Code block processing method, device, equipment and readable storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application with application number 202310827155.1 and application date of July 6, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to a code block processing method, apparatus, device and readable storage medium. Background Art

[0004] With the development of 5G and the increase in users across vertical industries, the demand for network slicing is increasing. The industry has conducted many beneficial explorations in Ethernet-based slicing isolation technology, and the Metro Transport Network (MTN) has defined a new transport network technology system to meet the needs of new services such as 5G.

[0005] MTN consists of the metropolitan area transport network segment layer and the metropolitan area transport network path layer. At the segment layer, MTN technology supports channel segmentation and slicing with a minimum granularity of 5 Gbps. MTN reuses the Flexible Ethernet (FlexE) frame format at the segment layer. The basic data unit frame format at the segment layer consists of one 64B / 66B overhead block and 20,460 64B / 66B payload blocks.

[0006] Currently, fine-granularity MTN (fgMTN) is provided above the MTN path layer, providing MTN slice channels with even smaller bandwidth granularity. fgMTN adds an fgMTN layer to the MTN path (MTNP) layer. The code stream consists of fgMTN cell structures and the operations, administration, and maintenance (OAM) blocks and idle packets between these cells. Error identification handling methods must be considered during fgMTN processing.

[0007] Summary of the Invention

[0008] The embodiments of the present application provide a code block processing method, apparatus, device, and readable storage medium to ensure the reliability of an MTN network.

[0009] In a first aspect, an embodiment of the present application provides a code block processing method, which is executed by a metropolitan area transport network (MTN) node, comprising:

[0010] If the MTN channel code block carrying the fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block, the fgMTN channel code block carried in the MTN channel code block is replaced with the error code block.

[0011] Optionally, replacing the fgMTN channel code block carried in the MTN channel code block with an error code block includes:

[0012] One or more fgMTN channel client code blocks carried in the MTN channel code block are replaced with error code blocks (E code blocks).

[0013] Optionally, the method further includes:

[0014] The error code block is placed into a data code block (D code block) or a termination code block (T code block) used to carry the client code block, thereby obtaining a first target fgMTN unit.

[0015] Optionally, the method further includes:

[0016] Send the first target fgMTN unit.

[0017] Optionally, the MTN node has a forward error correction (FEC) function, and the method further includes:

[0018] In the event of an abnormality in the FEC codeword length detection, the 66B code blocks within the FEC codeword length range are replaced with error code blocks.

[0019] In a second aspect, an embodiment of the present application provides a code block processing method, which is executed by an MTN node, including:

[0020] receiving a second target fgMTN unit;

[0021] When an abnormality occurs in the target code block of the second target fgMTN unit, processing the target code block;

[0022] The target code block includes one or more of a start code block (S code block), a data code block (D code block), and an end code block (T code block).

[0023] Optionally, the target code block includes a start code block; and processing the target code block includes:

[0024] In the event of a start code block synchronization header error, discarding the second target fgMTN unit; or,

[0025] In the case of a start code block synchronization header error, if the target code block is determined to be a start code block by a judgment method, reading the second target fgMTN unit; or,

[0026] In the event of a start code block type field error, discarding the second target fgMTN unit; or,

[0027] In the event of a start code block type field error, if the target code block is determined to be a start code block through a judgment method, the second target fgMTN unit is read.

[0028] Optionally, the target code block includes a data code block; and the processing of the target code block includes:

[0029] In the event of a data block synchronization header error:

[0030] If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or

[0031] If the data code block carries overhead information, the overhead information is discarded.

[0032] Optionally, the target code block includes an end code block; and the processing of the target code block includes:

[0033] In case of an end block synchronization header error or a block type field error:

[0034] If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or

[0035] If the end code block carries overhead information, the overhead information is discarded.

[0036] In a third aspect, an embodiment of the present application provides a code block processing device, applied to an MTN node, including:

[0037] The first processing module is configured to replace the fgMTN channel code block carried in the MTN channel code block with an error code block if the MTN channel code block carrying the fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block.

[0038] Optionally, the first processing module is further configured to replace one or more fgMTN channel client code blocks carried in the MTN channel code block with an error code block.

[0039] Optionally, the device may further include:

[0040] The second processing module is configured to replace the error code block used to carry the client code block with a data code block or an end code block to obtain a first target fgMTN unit.

[0041] Optionally, the device may further include:

[0042] A sending module is configured to send the first target fgMTN unit.

[0043] Optionally, the MTN node has an FEC function, and the apparatus may further include:

[0044] The third processing module is configured to replace a 66B code block within the FEC codeword length range with an error code block when an FEC codeword length detection exception occurs.

[0045] In a fourth aspect, an embodiment of the present application provides a code block processing device, applied to an MTN node, including:

[0046] A first receiving module, configured to receive a second target fgMTN unit;

[0047] A first processing module is configured to process the target code block when an abnormality occurs in the target code block of the second target fgMTN unit;

[0048] The target code block includes one or more of a start code block, a data code block, and an end code block.

[0049] Optionally, the target code block includes a start code block; and the first processing module is further configured to:

[0050] In the event of a start code block synchronization header error, discarding the second target fgMTN unit; or,

[0051] In the case of a start code block synchronization header error, if the target code block is determined to be a start code block by a judgment method, reading the second target fgMTN unit; or,

[0052] In the event of a start code block type field error, discarding the second target fgMTN unit; or,

[0053] In the event of a start code block type field error, if the target code block is determined to be a start code block, the second target fgMTN unit is read.

[0054] Optionally, the target code block includes a data code block; and the first processing module is further configured to:

[0055] In the event of a data block synchronization header error:

[0056] If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or

[0057] If the data code block carries overhead information, the overhead information is discarded.

[0058] Optionally, the target code block includes an end code block; and the first processing module is further configured to:

[0059] In case of an end block synchronization header error or a block type field error:

[0060] If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or

[0061] If the end code block carries overhead information, the overhead information is discarded.

[0062] In a fifth aspect, an embodiment of the present application provides a code block processing device, applied to an MTN node, comprising: a processor and a transceiver;

[0063] The processor is configured to replace the fgMTN channel code block carried in the MTN channel code block with an error code block if the MTN channel code block carrying the fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the MTN channel code block is a control code block with an invalid type field, or the MTN channel code block is an error code block.

[0064] Optionally, the processor is further configured to:

[0065] One or more fgMTN channel client code blocks carried in the MTN channel code block are replaced with error code blocks.

[0066] Optionally, the processor is further configured to:

[0067] The error code block used to carry the client code block is replaced with a data code block or an end code block to obtain a first target fgMTN unit.

[0068] Optionally, the processor is further configured to:

[0069] Send the first target fgMTN unit.

[0070] Optionally, the MTN node has an FEC function, and the processor is further configured to:

[0071] In the event of an FEC codeword length detection anomaly, the 66B code blocks within the FEC codeword length range are replaced with error code blocks.

[0072] In a sixth aspect, an embodiment of the present application provides a code block processing device, applied to an MTN node, comprising: a processor and a transceiver;

[0073] The transceiver is configured to receive a second target fgMTN unit;

[0074] The processor is configured to process the target code block when an abnormality occurs in the target code block of the second target fgMTN unit;

[0075] The target code block includes one or more of a start code block, a data code block, and an end code block.

[0076] Optionally, the target code block includes a start code block; and the processor is further configured to:

[0077] In the event of a start code block synchronization header error, discarding the second target fgMTN unit; or,

[0078] In the case of a start code block synchronization header error, if the target code block is determined to be a start code block by a judgment method, reading the second target fgMTN unit; or,

[0079] In the event of a start code block type field error, discarding the second target fgMTN unit; or,

[0080] In the event of a start code block type field error, if the target code block is determined to be a start code block through a judgment method, the second target fgMTN unit is read.

[0081] Optionally, the target code block includes a data code block; and the processor is further configured to:

[0082] In the event of a data block synchronization header error:

[0083] If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or

[0084] If the data code block carries overhead information, the overhead information is discarded.

[0085] Optionally, the target code block includes an end code block; and the processor is further configured to:

[0086] In case of an end block synchronization header error or a block type field error:

[0087] If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or

[0088] If the end code block carries overhead information, the overhead information is discarded.

[0089] In the seventh aspect, an embodiment of the present application also provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the steps in the code block processing method as described above when executing the program.

[0090] In an eighth aspect, an embodiment of the present application further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the code block processing method as described above are implemented.

[0091] In the embodiment of the present application, a method for processing error identification of fgMTN channel code blocks is proposed, thereby effectively ensuring the reliability of fgMTN technology and network. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] FIG1 is a flowchart of a code block processing method according to an embodiment of the present application;

[0093] FIG2 is a schematic diagram of a code block processing in an embodiment of the present application;

[0094] FIG3 is a second schematic diagram of code block processing in an embodiment of the present application;

[0095] FIG4 is a second flowchart of the code block processing method provided in an embodiment of the present application;

[0096] FIG5 is a schematic diagram of a code block structure;

[0097] FIG6 is a structural diagram of a code block processing device according to an embodiment of the present application;

[0098] FIG7 is a second structural diagram of the code block processing device provided in an embodiment of the present application;

[0099] FIG8 is a third structural diagram of the code block processing device provided in an embodiment of the present application;

[0100] FIG9 is a fourth structural diagram of the code block processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0101] In the embodiments of this application, the term "and / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0102] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0103] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0104] As described in the background, fgMTN adds an fgMTN layer to the MTNP layer. The code stream consists of fgMTN unit structures and the OAM blocks and IDLEs between them. During fgMTN processing, it is necessary to consider how to handle errors in code blocks received by nodes. Unlike existing transmission technology systems, the fgMTN unit structure consists of 66B code blocks. However, customer information is not directly incorporated into the fgMTN unit; instead, it is incorporated into the data bytes of the fgMTN unit code blocks. Therefore, the error code block identification mechanism must consider both the processing of the outer fgMTN unit code blocks and the inner client signal code blocks, as well as the linkage between the two.

[0105] To this end, the embodiments of the present application provide a code block processing method to propose a processing method for error identification and a processing mechanism for abnormal situations, thereby ensuring the reliability of the MTN network and the uniformity of abnormal situation processing.

[0106] Referring to FIG. 1 , FIG. 1 is a flowchart of a code block processing method provided in an embodiment of the present application, which is applied to an MTN node and includes the following steps:

[0107] Step 101: If an MTN channel code block carrying an fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block, the fgMTN channel code block carried in the MTN channel code block is replaced with an error code block.

[0108] Specifically, in this step, one or more fgMTN channel client code blocks carried within the MTN channel code block are replaced with error code blocks. That is, a code block in the MTN channel layer may correspond to and carry one or more fgMTN channel client code blocks, and each of these one or more fgMTN channel client code blocks is replaced with an error code block (E code block). The fgMTN channel code block is a code block corresponding to the fgMTN channel.

[0109] Among them, the code block is incorrectly marked, which means that the problematic code block is incorrectly marked at the MTN section layer (MTN Section), for example, the synchronization header is changed to 11. The code block contains an invalid synchronization header, which means that according to the IEEE 802.3 code block format, the first two bits of the synchronization header of the 66-bit code block (66B code block) should be 01 or 10. If it is other values ​​(such as 11 or 00), the synchronization header is an invalid synchronization header. A control code block with an invalid type field means that for a control code block (such as T1 to T7 code blocks), the type field (block type field) after the two-bit synchronization header does not conform to the IEEE 802.3 code block format, and is an invalid type field. An error code block refers to an E code block in the 66B code block type specified by IEEE 802.3.

[0110] As shown in Figure 2, taking the fgMTN unit as an example, the client signal (or information) in the fgMTN unit occupies the 64-bit part of the 66B code block of the fgMTN unit except for the 2-bit synchronization header, and a client 66B code block carried by it is 66 bits long (greater than the 64-bit length that can be occupied by the 66B code block of the fgMTN unit). Therefore, a client 66B code block needs to occupy the fillable bits of two code blocks of the fgMTN unit. The fillable part of a 66B code block of the fgMTN unit and a 66B code block of the client cannot be one-to-one corresponding, resulting in the 64 bits within the 66B code block of the same fgMTN unit being associated with the client code blocks of one or two fgMTN channels (for example, the 64 The bits may be filled with 2 bits from the previous fgMTN channel client code block and 62 bits from the next fgMTN channel client code block. The remaining 4 bits of the next fgMTN channel client code block need to be filled in the next 66B code block of the fgMTN unit. In this case, the corresponding one or more fgMTN channel client code blocks carried within it need to be replaced with E code blocks (for example, if the 64 bits of an fgMTN unit code block fill 2 bits from the previous fgMTN channel client code block and 62 bits from the next fgMTN channel client code block, then during error handling, both the previous fgMTN channel client code block and the next fgMTN channel client code block need to be replaced with E code blocks). The fgMTN unit refers to the fgMTN fine-grain multiplex unit (FGMU) frame carried in the MTN channel (MTNP). Since the fgMTN unit is directly carried in the MTN channel (MTNP), the fgMTN unit code block belongs to the MTNP code block.

[0111] In the embodiment of the present application, a method for processing error identification of fgMTN channel code blocks is proposed, thereby effectively ensuring the reliability of fgMTN technology and network.

[0112] Optionally, after the client code block is replaced with an E code block, when the MTN node regenerates the fgMTN unit at the transmitting end, it places the E code block into the data code block (D code block) or the termination code block (T code block) used to carry the client code block, thereby obtaining a first target fgMTN unit. In other words, the 66B code block of the fgMTN unit will use the 64 bits of a normal data code block or termination code block to place the E code block of the client signal. In other words, the 66B code block of the regenerated fgMTN unit will be a normal data code block or termination code block, not an E code block. Optionally, the MTN node may then transmit the first target fgMTN unit.

[0113] In the embodiment of the application, the fgMTN channel code block carried in the error-marked MTN channel code block is replaced with an error code block. Specifically, after the detection end replaces the client code block of the fgMTN channel with the error code block, the error code block is placed in the 64-bit position of the data code block or the end code block used to carry the client code block at the transmission end. This allows the sending fgMTN unit to not need to perceive the error code block carried internally during subsequent intermediate node processing, and can simply process the code block normally. The error code block is only perceived when the client code block is parsed during processing at the destination node receiving end.

[0114] As shown in Figure 3, Figure 3 is a schematic diagram of the frame code block structure at the detection end (Detect end) and the transmission end (Transmit end) of the MTN node. For example, in Figure 3, the detection end detects that the carried client code block contains an error code block, and the transmission end replaces the detected error code block with a data code block.

[0115] If the MTN node has FEC functionality and detects an abnormal FEC codeword length, the node replaces the 66B code blocks within the FEC codeword length with error blocks. When the node subsequently processes the fgMTN unit, because the FEC error block is identified as an E block, the node can proceed in accordance with the aforementioned step 101 and the MTN node's method for regenerating the fgMTN unit at the transmitting end.

[0116] In the embodiment of the present application, the fgMTN unit includes a start code block (S code block), a data code block (D code block) and a termination code block (T code block). In addition, the embodiment of the present application also provides a method for handling errors in the above code blocks.

[0117] Referring to FIG4 , FIG4 is a flowchart of a code block processing method provided in an embodiment of the present application, which is applied to an MTN node. As shown in FIG4 , the method includes the following steps:

[0118] Step 401: Receive a second target fgMTN unit.

[0119] The second target fgMTN unit may refer to any fgMTN unit.

[0120] Step 402: When an abnormality occurs in the target code block of the second target fgMTN unit, process the target code block.

[0121] The target code block includes one or more of a start code block, a data code block, and an end code block. As shown in Figure 5, 501 is the structure of a data code block, 502 is the structure of a start code block, and 503 is the structure of an end code block, all of which include a 2-bit sync header. By determining the sync header or the block type field, the type of error in the target code block can be determined. For example, if the sync header or the block type field is marked as an error, it can be considered that a corresponding error has occurred.

[0122] Optionally, when the target code block includes different code blocks, there are different processing methods.

[0123] 1. The target code block includes a start code block.

[0124] If a start code block synchronization header error occurs, the second target fgMTN unit is discarded. Alternatively, if a start code block synchronization header error occurs, if the target code block is determined to be a start code block by judgment (for example, the target code block is inferred to be a start code block based on other information, such as a data code block immediately following the target code block), the second target fgMTN unit is read, that is, the second target fgMTN unit is not discarded, and the content following the fgMTN unit (such as overhead, client code blocks, etc.) is still used.

[0125] If an error occurs in the block type field of the start code block, the second target fgMTN unit is discarded. Alternatively, if an error occurs in the block type field of the start code block, but the target code block is determined to be a start code block (for example, the target code block is inferred to be a start code block based on other information, such as a data code block immediately following the target code block), the second target fgMTN unit is read. In other words, the second target fgMTN unit is not discarded, and the content following the fgMTN unit (such as overhead, client code blocks, etc.) is still used.

[0126] 2. The target code block includes a data code block.

[0127] In case of data block sync header error:

[0128] If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or, if the data code block carries overhead information, the overhead information is discarded.

[0129] 3. The target code block includes an end code block.

[0130] In case of an end block sync header error or a block type field error:

[0131] If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or, if the end code block carries overhead information, the overhead information is discarded.

[0132] Through the solutions of the above embodiments, a solution for handling exceptions of different types of code blocks of the fgMTN unit is proposed, thereby ensuring uniformity in handling exceptions and ensuring the reliability of the MTN network.

[0133] The method shown in FIG4 can be implemented alone or in combination with the embodiment shown in FIG1 .

[0134] Refer to Figure 6, which is a structural diagram of a code block processing device provided in an embodiment of the present application, which is applied to an MTN node. As shown in Figure 6, the code block processing device includes:

[0135] The first processing module 601 is configured to replace the fgMTN channel code block carried in the MTN channel code block with an error code block if the MTN channel code block carrying the gMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block.

[0136] Optionally, the first processing module is further configured to replace one or more fgMTN channel client code blocks carried in the MTN channel code block with an error code block.

[0137] Optionally, the device may further include:

[0138] The second processing module is configured to replace the error code block used to carry the client code block with a data code block or an end code block to obtain a first target fgMTN unit.

[0139] Optionally, the device may further include:

[0140] A sending module is configured to send the first target fgMTN unit.

[0141] Optionally, the MTN node has an FEC function, and the apparatus may further include:

[0142] The third processing module is configured to replace a 66B code block within the FEC codeword length range with an error code block when an FEC codeword length detection exception occurs.

[0143] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effects are similar, so this embodiment will not be repeated here.

[0144] Refer to Figure 7, which is a structural diagram of a code block processing device provided in an embodiment of the present application, which is applied to an MTN node. As shown in Figure 7, the code block processing device includes:

[0145] The first receiving module 701 is configured to receive a second target fgMTN unit; the first processing module 702 is configured to process the target code block when an abnormality occurs in the target code block of the second target fgMTN unit;

[0146] The target code block includes one or more of a start code block, a data code block, and an end code block.

[0147] Optionally, the target code block includes a start code block; and the first processing module is further configured to:

[0148] In the event of a start code block synchronization header error, discarding the second target fgMTN unit; or,

[0149] In the case of a start code block synchronization header error, if the target code block is determined to be a start code block by a judgment method, reading the second target fgMTN unit; or,

[0150] In the event of a start code block type field error, discarding the second target fgMTN unit; or,

[0151] In the event of a start code block type field error, if the target code block is determined to be a start code block through a judgment method, the second target fgMTN unit is read.

[0152] Optionally, the target code block includes a data code block; and the first processing module is further configured to:

[0153] In the event of a data block synchronization header error:

[0154] If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or

[0155] If the data code block carries overhead information, the overhead information is discarded.

[0156] Optionally, the target code block includes an end code block; and the first processing module is further configured to:

[0157] In case of an end block synchronization header error or a block type field error:

[0158] If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or

[0159] If the end code block carries overhead information, the overhead information is discarded.

[0160] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effects are similar, so this embodiment will not be repeated here.

[0161] Refer to Figure 8, which is a structural diagram of a code block processing device provided in an embodiment of the present application, which is applied to an MTN node. As shown in Figure 8, the code block processing device includes: a processor 801 and a transceiver 802;

[0162] The processor 801 is configured to replace the fgMTN channel code block carried in the MTN channel code block with the error code block if the MTN channel code block carrying the gMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block.

[0163] Optionally, the processor 801 is further configured to:

[0164] One or more fgMTN channel client code blocks carried in the MTN channel code block are replaced with error code blocks.

[0165] Optionally, the processor 801 is further configured to:

[0166] The error code block used to carry the client code block is replaced with a data code block or an end code block to obtain a first target fgMTN unit.

[0167] Optionally, the processor 801 is further configured to:

[0168] Send the first target fgMTN unit.

[0169] Optionally, the MTN node has an FEC function, and the processor 801 is further configured to:

[0170] In the event of an abnormality in the FEC codeword length detection, the 66B code blocks within the FEC codeword length range are replaced with error code blocks.

[0171] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effects are similar, so this embodiment will not be repeated here.

[0172] Refer to Figure 9, which is a structural diagram of a code block processing device provided in an embodiment of the present application, which is applied to an MTN node. As shown in Figure 9, the code block processing device includes: a processor 901 and a transceiver 902;

[0173] The transceiver 902 is configured to receive a second target fgMTN unit;

[0174] The processor 901 is configured to process the target code block when an abnormality occurs in the target code block of the second target fgMTN unit;

[0175] The target code block includes one or more of a start code block, a data code block, and an end code block.

[0176] Optionally, the target code block includes a start code block; the processor 901 is further configured to:

[0177] In the event of a start code block synchronization header error, discarding the second target fgMTN unit; or,

[0178] In the case of a start code block synchronization header error, if the target code block is determined to be a start code block by a judgment method, reading the second target fgMTN unit; or,

[0179] In the event of a start code block type field error, discarding the second target fgMTN unit; or,

[0180] In the event of a start code block type field error, if the target code block is determined to be a start code block through a judgment method, the second target fgMTN unit is read.

[0181] Optionally, the target code block includes a data code block; and the processor 901 is further configured to:

[0182] In the event of a data block synchronization header error:

[0183] If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or

[0184] If the data code block carries overhead information, the overhead information is discarded.

[0185] Optionally, the target code block includes an end code block; and the processor 901 is further configured to:

[0186] In case of an end block synchronization header error or a block type field error:

[0187] If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or

[0188] If the end code block carries overhead information, the overhead information is discarded.

[0189] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effects are similar, so this embodiment will not be repeated here.

[0190] It should be noted that the division of units in the embodiments of the present application is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0191] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0192] An embodiment of the present application provides a communication device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program in the memory to implement the steps in the aforementioned code block processing method.

[0193] The embodiment of the present application also provides a readable storage medium, on which a program is stored. When the program is executed by the processor, the various processes of the above-mentioned code block processing method embodiment are implemented, and the same technical effect is achieved. To avoid repetition, it is not repeated here. The readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0194] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0195] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD-ROM), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0196] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A code block processing method, executed by a metropolitan area transport network (MTN) node, comprising: If the MTN channel code block carrying the fine-grained MTN fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block, the fgMTN channel code block carried in the MTN channel code block is replaced with an error code block.

2. The method according to claim 1, wherein: The replacing the fgMTN channel code block carried in the MTN channel code block with an error code block includes: One or more fgMTN channel client code blocks carried in the MTN channel code block are replaced with error code blocks.

3. The method according to claim 2, wherein: The method further comprises: The error code block is placed into a data code block or an end code block used to carry the client code block to obtain a first target fgMTN unit.

4. The method according to claim 3, wherein: The method further comprises: Send the first target fgMTN unit.

5. The method according to any one of claims 1 to 4, wherein: The MTN node has a forward error correction (FEC) function, and the method further includes: In case of an abnormality in the FEC codeword length detection, a 66B code block within the FEC codeword length range is replaced with an error code block.

6. A code block processing method, executed by a metropolitan area transport network (MTN) node, comprising: receiving a second target fine-grained MTN fgMTN unit; When an abnormality occurs in a target code block of the second target fgMTN unit, processing the target code block; The target code block includes one or more of a start code block, a data code block, and an end code block.

7. The method according to claim 6, wherein: The target code block includes a start code block; the processing of the target code block includes: In case of a start code block synchronization header error, discarding the second target fgMTN unit; or, In the case of a start code block synchronization header error, if the target code block is determined to be a start code block by a judgment method, reading the second target fgMTN unit; or, In case of a start code block code block type field error, discarding the second target fgMTN unit; or, In the case of a start code block type field error, if the target code block is determined to be a start code block by a judgment method, the second target fgMTN unit is read.

8. The method according to claim 6, wherein: The target code block includes a data code block; the processing of the target code block includes: In case of a data block synchronization header error: If the data code block carries fgMTN channel customer information, one or more fgMTN channel customer code blocks carried by 64 bits of the data code block are replaced with an error code block; or, If the data code block carries overhead information, the overhead information is discarded.

9. The method according to claim 6, wherein: The target code block includes an end code block; the processing of the target code block includes: In case of an end block sync header error or a block type field error: If the end code block carries fgMTN channel customer information, a fgMTN channel customer code block carried by 64 bits of the end code block is replaced with an error code block; or, If the end code block carries overhead information, the overhead information is discarded.

10. A code block processing device, applied to an MTN node, comprising: The first processing module is configured to replace the fgMTN channel code block carried in the MTN channel code block with an error code block if the MTN channel code block carrying the fine-grained MTN fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block.

11. A code block processing device, applied to an MTN node, comprising: A first receiving module is used to receive a second target fine-grained MTN fgMTN unit; A first processing module, configured to process the target code block when an abnormality occurs in the target code block of the second target fgMTN unit; The target code block includes one or more of a start code block, a data code block, and an end code block.

12. A code block processing device, applied to a metropolitan area transport network (MTN) node, comprising: processors and transceivers; The processor is configured to replace the fgMTN channel code block carried in the MTN channel code block with an error code block if the MTN channel code block carrying the fine-grained MTN fgMTN channel is incorrectly marked, or the code block contains an invalid synchronization header, or the code block is a control code block with an invalid type field, or the code block is an error code block.

13. A code block processing device, applied to a metropolitan area transport network (MTN) node, comprising: processors and transceivers; The transceiver is used to receive a second target fine-grained MTN fgMTN unit; The processor is configured to process the target code block when an abnormality occurs in the target code block of the second target fgMTN unit; The target code block includes one or more of a start code block, a data code block, and an end code block.

14. A communication device comprising: A memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the code block processing method as described in any one of claims 1 to 9.

15. A readable storage medium for storing a program, wherein when the program is executed by a processor, the program implements the steps in the code block processing method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Communication method and device, and storage medium

    CN112468259A

  • Code block processing method, node and medium

    CN113938247A

  • Service delay reduction method, device and equipment and readable storage medium

    CN114584258A

  • Communication method, device and chip system

    CN114915371A

  • Transmission quality measurement method

    JP2018125775A