A code block processing method, apparatus, device and readable storage medium

By replacing erroneous fgMTN channel code blocks with erroneous code blocks in the metropolitan transport network (MTN) and handling anomalies when FEC codeword length is detected, the error identification and anomaly situation of the fgMTN layer are resolved, and the reliability of the network is improved.

CN118826952BActive Publication Date: 2026-01-20CHINA MOBILE COMM LTD RES INST +1

Patent Information

Application Number
CN202310827155.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-06
Publication Date
2026-01-20
Estimated Expiration
2043-07-06

AI Technical Summary

Technical Problem

In the fgMTN layer of metropolitan transport networks (MTN), existing technologies struggle to effectively handle error identification and abnormal situations, leading to network reliability issues.

Method used

By replacing erroneous fgMTN channel code blocks with erroneous code blocks and taking appropriate action when FEC codeword length anomalies are detected, the correctness of code blocks and the reliability of the network are ensured.

Benefits of technology

It improves the reliability of fgMTN technology and network, ensures unified handling in abnormal situations, and avoids network failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118826952B_ABST
    Figure CN118826952B_ABST
Patent Text Reader

Abstract

This application discloses a code block processing method, apparatus, device, and readable storage medium, relating to the field of communication technology, to ensure the reliability of MTN networks. The method includes: 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 erroneous code block, replacing the fgMTN channel code block carried within the MTN channel code block with the erroneous code block. Embodiments of this application can ensure the reliability of MTN networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a code block processing method, apparatus, device and readable storage medium. Background Technology

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

[0003] MTN consists of a metropolitan area network (MAN) segment layer and a MAN path layer. At the segment layer, MTN technology supports channel partitioning and slicing with a minimum granularity of 5Gbps. MTN reuses the frame format of Flexible Ethernet (FlexE) at the segment layer. The basic data unit frame format at the segment layer consists of a 64B / 66B code block with one overhead plus a 64B / 66B code block with 20460 payloads.

[0004] Currently, above the MTN channel layer, a finer-grained MTN (fgMTN) slice channel is provided, offering even smaller bandwidth granularity. fgMTN adds an fgMTN layer to the MTN path (MTNP) layer structure, and its bitstream consists of fgMTN cell structures and operation, administration, and maintenance (OAM) code blocks and idle blocks between these cell structures. Error handling methods need to be considered during fgMTN processing. Summary of the Invention

[0005] This application provides a code block processing method, apparatus, device, and readable storage medium to ensure the reliability of MTN networks.

[0006] In a first aspect, embodiments of this application provide a code block processing method applied to a metropolitan area network (MTN) node, comprising:

[0007] 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.

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

[0009] Replace one or more client code blocks of the fgMTN channel carried in the MTN channel code block with error code blocks (E code blocks).

[0010] Optionally, the method further includes:

[0011] The erroneous code block used to carry the client code block is replaced with a data code block (D code block) or an end code block (T code block) to obtain the first target fgMTN unit.

[0012] Optionally, the method further includes:

[0013] Send the first target fgMTN unit.

[0014] Optionally, the MTN node has forward error correction (FEC) functionality, and the method further includes:

[0015] In the event of an anomaly in the FEC codeword length detection, replace the 66B code block within the FEC codeword length range with the erroneous code block.

[0016] Secondly, embodiments of this application provide a code block processing method applied to an MTN node, comprising:

[0017] Receive the second target fgMTN unit;

[0018] If the target code block of the second target fgMTN unit is abnormal, the target code block is processed;

[0019] The target code block includes one or more of the following: start code block (S code block), data code block (D code block), and end code block (T code block).

[0020] Optionally, the target code block includes a start code block; the processing of the target code block includes:

[0021] In the event of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or...

[0022] In the event of a start code block synchronization header error, if the target code block is determined to be the start code block, the second target fgMTN unit is read; or,

[0023] In the event of a start code block type field error, the start code block and the second target fgMTN unit are discarded; or...

[0024] 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.

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

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

[0027] If the data code block carries fgMTN channel customer information, replace the 64 bits of the data code block carrying one or more fgMTN channel customer code blocks with an error code block; or...

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

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

[0030] In the event of an end-of-block synchronization header error or a block type field error:

[0031] If the ending code block carries fgMTN channel client information, replace the 64 bits of the ending code block carrying an fgMTN channel client code block with an error code block; or...

[0032] If the ending code block carries overhead information, the overhead information is discarded.

[0033] Thirdly, embodiments of this application provide a code block processing apparatus applied to an MTN node, comprising:

[0034] 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 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.

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

[0036] Optionally, the device may further include:

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

[0038] Optionally, the device may further include:

[0039] The transmitting module is used to transmit the first target fgMTN unit.

[0040] Optionally, the MTN node has FEC functionality, and the device may further include:

[0041] The third processing module is used to replace the 66B code block within the FEC codeword length range with the erroneous code block in the event of an abnormal FEC codeword length detection.

[0042] Fourthly, embodiments of this application provide a code block processing apparatus applied to an MTN node, comprising:

[0043] The first receiving module is used to receive the second target fgMTN unit;

[0044] The first processing module is used to process the target code block when the target code block of the second target fgMTN unit is abnormal;

[0045] The target code block includes one or more of the following: start code block, data code block, and end code block.

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

[0047] In the event of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or...

[0048] In the event of a start code block synchronization header error, if the target code block is determined to be the start code block, the second target fgMTN unit is read; or,

[0049] In the event of a start code block type field error, the start code block and the second target fgMTN unit are discarded; or...

[0050] 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.

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

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

[0053] If the data code block carries fgMTN channel customer information, replace the 64 bits of the data code block carrying one or more fgMTN channel customer code blocks with an error code block; or...

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

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

[0056] In the event of an end-of-block synchronization header error or a block type field error:

[0057] If the ending code block carries fgMTN channel client information, replace the 64 bits of the ending code block carrying an fgMTN channel client code block with an error code block; or...

[0058] If the ending code block carries overhead information, the overhead information is discarded.

[0059] Fifthly, embodiments of this application provide a code block processing apparatus applied to an MTN node, comprising: a processor and a transceiver;

[0060] The processor is configured to replace the fgMTN channel code block carried within 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 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.

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

[0062] Replace one or more client code blocks of the fgMTN channel carried in the MTN channel code block with error code blocks.

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

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

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

[0066] Send the first target fgMTN unit.

[0067] Optionally, the MTN node has FEC functionality, and the processor is further configured to:

[0068] In the event of an anomaly in the FEC codeword length detection, replace the 66B code block within the FEC codeword length range with the erroneous code block.

[0069] Sixthly, embodiments of this application provide a code block processing apparatus applied to an MTN node, comprising: a processor and a transceiver;

[0070] The transceiver is used to receive the second target fgMTN unit;

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

[0072] The target code block includes one or more of the following: start code block, data code block, and end code block.

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

[0074] In the event of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or...

[0075] In the event of a start code block synchronization header error, if the target code block is determined to be the start code block, the second target fgMTN unit is read; or,

[0076] In the event of a start code block type field error, the start code block and the second target fgMTN unit are discarded; or...

[0077] 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.

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

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

[0080] If the data code block carries fgMTN channel customer information, replace the 64 bits of the data code block carrying one or more fgMTN channel customer code blocks with an error code block; or...

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

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

[0083] In the event of an end-of-block synchronization header error or a block type field error:

[0084] If the ending code block carries fgMTN channel client information, replace the 64 bits of the ending code block carrying an fgMTN channel client code block with an error code block; or...

[0085] If the ending code block carries overhead information, the overhead information is discarded.

[0086] In a seventh aspect, embodiments of this application also provide a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the code block processing method described above.

[0087] Eighthly, embodiments of this application also provide a readable storage medium storing a program that, when executed by a processor, implements the steps in the code block processing method described above.

[0088] This application proposes a method for handling error identification of fgMTN channel code blocks, thereby effectively ensuring the reliability of fgMTN technology and network. Attached Figure Description

[0089] Figure 1 This is one of the flowcharts of the code block processing method provided in the embodiments of this application;

[0090] Figure 2 This is one of the schematic diagrams of code block processing in the embodiments of this application;

[0091] Figure 3 This is the second schematic diagram of code block processing in the embodiments of this application;

[0092] Figure 4 This is the second flowchart of the code block processing method provided in the embodiments of this application;

[0093] Figure 5 This is a schematic diagram of the code block structure;

[0094] Figure 6 This is one of the structural diagrams of the code block processing device provided in the embodiments of this application;

[0095] Figure 7 This is a second structural diagram of the code block processing device provided in the embodiments of this application;

[0096] Figure 8 This is the third structural diagram of the code block processing device provided in the embodiments of this application;

[0097] Figure 9 This is the fourth structural diagram of the code block processing device provided in the embodiments of this application. Detailed Implementation

[0098] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.

[0099] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.

[0100] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0101] As described in the background section, fgMTN adds an fgMTN layer to the MTNP layer structure, and the bitstream is composed of fgMTN unit structures and OAM code blocks and IDLE blocks between the unit structures. During fgMTN processing, it is necessary to consider how to handle code block errors received by the node. Unlike existing transmission technology systems, the fgMTN unit structure consists of 66-byte code blocks, but customer information is not directly incorporated into the fgMTN unit; instead, it is placed in the data byte portion of the fgMTN unit code block. Therefore, the error code block identification mechanism needs to consider both the processing of outer fgMTN unit code blocks and inner customer signal code blocks, as well as the interaction between the two.

[0102] Therefore, this application provides a code block processing method to propose a processing method for error identifiers and a handling mechanism for abnormal situations, thereby ensuring the reliability of the MTN network and the uniformity of abnormal situation handling.

[0103] See Figure 1 , Figure 1 This is a flowchart of the code block processing method provided in the embodiments of this application, applied to MTN nodes, such as... Figure 1 As shown, it includes the following steps:

[0104] Step 101: 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, replace the fgMTN channel code block carried in the MTN channel code block with the error code block.

[0105] Specifically, in this step, one or more client code blocks of the fgMTN channel 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 client code blocks of the fgMTN channel, and these one or more client code blocks of the fgMTN channel are all replaced with error code blocks (E code blocks). Here, the fgMTN channel code block is the code block corresponding to the fgMTN channel.

[0106] In this context, "code block mismarking" refers to incorrectly marking a problematic code block at the MTN section level, such as changing the synchronization header to 11. "Code block containing an invalid synchronization header" means that, according to the IEEE 802.3 code block format, the first two synchronization bits of a 66-bit code block (66B code block) should be 01 or 10. If they are other values ​​(e.g., 11 or 00), the synchronization header is invalid. "Control code block with an invalid type field" refers to a control code block (e.g., T1 to T7 code blocks) where the type field after the two synchronization bits does not conform to the IEEE 802.3 code block format; therefore, the type field is invalid. "Error code block" refers to an E code block in the 66B code block type specified by IEEE 802.3.

[0107] like Figure 2 As shown, taking the fgMTN unit as an example, the client signal (or information) in the fgMTN unit occupies 64 bits of the 66B code block of the fgMTN unit, excluding the 2-bit synchronization header. A client 66B code block carries a length of 66 bits (greater than the 64-bit length that can be occupied by a 66B code block in the fgMTN unit). Therefore, a client 66B code block needs to occupy the fillable bits of two code blocks in the fgMTN unit. The fillable portion of a 66B code block in the fgMTN unit cannot be one-to-one with a client 66B code block. This results in the 64 bits within a 66B code block of the same fgMTN unit potentially being associated with one or two client code blocks of the fgMTN channel (e.g., the 64 bits). It's possible that the filler consists of 2 bits from the preceding fgMTN channel client code block and 62 bits from the following fgMTN channel client code block, with the remaining 4 bits of the following fgMTN channel client code block needing to be filled in the next 66B code block of the fgMTN unit. In this case, one or more corresponding fgMTN channel client code blocks carried within it need to be replaced with E code blocks (for example, if 64 bits of an fgMTN unit code block are filled with 2 bits from the preceding fgMTN channel client code block and 62 bits from the following fgMTN channel client code block, then during error handling, both the preceding and following fgMTN channel client code blocks need to be replaced with E code blocks). Here, fgMTN unit refers to the fgMTN multiplexing unit frame (Fine-grain MultiplexUnit, FGMU) carried in the MTN channel (MTNP). Since fgMTN units are directly carried in the MTN channel (MTNP), fgMTN unit code blocks belong to MTNP code blocks.

[0108] This application proposes a method for handling error identification of fgMTN channel code blocks, thereby effectively ensuring the reliability of fgMTN technology and network.

[0109] Optionally, after the client code block replaces the E code block, when the MTN node regenerates the fgMTN unit at the transmitting end, it replaces the erroneous code block used to carry the client code block with a data code block (D code block) or an end code block (T code block) to obtain the first target fgMTN unit. That is, the 66B code block of the fgMTN unit will use 64 bits of a normal data code block or an end code block to store the client signal's E code block. In other words, the 66B code block of the regenerated fgMTN unit will be a normal data code block or an end code block, not an E code block. Optionally, the MTN node can then transmit this first target fgMTN unit.

[0110] like Figure 3 The diagram shows the frame code block structure at the detection and transmission ends of an MTN node. For example, in... Figure 3 In the process, at the detection end, if an erroneous code block is detected that is used to carry the client code block, it is replaced with a data code block at the sending end.

[0111] If the MTN node has FEC functionality, in the event of an anomaly in the FEC codeword length detection, the 66B code block within the FEC codeword length range will be replaced with an erroneous code block. When processing the fgMTN unit subsequently, if an FEC error is identified as an E code block, the node can proceed according to the aforementioned step 101 and the MTN node's method of regenerating the fgMTN unit at the transmitting end.

[0112] In this embodiment, the fgMTN unit includes a start code block (S code block), a data code block (D code block), and an end code block (T code block). Furthermore, this embodiment also provides a method for handling errors or anomalies occurring in these code blocks.

[0113] See Figure 4 , Figure 4 This is a flowchart of the code block processing method provided in the embodiments of this application, applied to MTN nodes, such as... Figure 4 As shown, it includes the following steps:

[0114] Step 401: Receive the second target fgMTN unit.

[0115] The second target fgMTN unit can refer to any fgMTN unit.

[0116] Step 402: If the target code block of the second target fgMTN unit is abnormal, the target code block is processed.

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

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

[0119] 1. The target code block includes the start code block.

[0120] In the event of a start block synchronization header error, the start block and the second target fgMTN unit are discarded; or, in the event of a start block synchronization header error, if the target block is determined to be a start block (e.g., inferred from other information, such as a data block immediately following the target 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 blocks, etc.) is still used.

[0121] In the event of a start block block type field error, the start block and the second target fgMTN unit are discarded; alternatively, in the event of a start block block type field error, if the target block is determined to be a start block (e.g., inferred from other information, such as a data block immediately following the target 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 blocks, etc.) is still used.

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

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

[0124] If the data code block carries fgMTN channel customer information, replace one or more fgMTN channel customer code blocks carried in the 64 bits of the data code block with an error code block; or, if the data code block carries overhead information, discard the overhead information.

[0125] 3. The target code block includes the end code block.

[0126] In the event of an end-of-block synchronization header error or a block type field error:

[0127] If the end code block carries fgMTN channel client information, replace the 64 bits of the end code block carrying an fgMTN channel client code block with an error code block; or, if the end code block carries overhead information, discard the overhead information.

[0128] The above embodiments propose an anomaly handling scheme for different types of code blocks in fgMTN units, thereby ensuring the uniformity of anomaly handling and ensuring the reliability of the MTN network.

[0129] in, Figure 4 The methods shown can be implemented individually or in combination. Figure 1 The illustrated embodiment is implemented.

[0130] See Figure 6 , Figure 6 This is a structural diagram of the code block processing apparatus provided in an embodiment of this application, applied to an MTN node. For example... Figure 6 As shown, the code block processing device includes:

[0131] 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.

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

[0133] Optionally, the device may further include:

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

[0135] Optionally, the device may further include:

[0136] The transmitting module is used to transmit the first target fgMTN unit.

[0137] Optionally, the MTN node has FEC functionality, and the device may further include:

[0138] The third processing module is used to replace the 66B code block within the FEC codeword length range with the erroneous code block in the event of an abnormal FEC codeword length detection.

[0139] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0140] See Figure 7 , Figure 7 This is a structural diagram of the code block processing apparatus provided in an embodiment of this application, applied to an MTN node. For example... Figure 7 As shown, the code block processing device includes:

[0141] The first receiving module 701 is used to receive the second target fgMTN unit; the first processing module 702 is used to process the target code block when the target code block of the second target fgMTN unit is abnormal.

[0142] The target code block includes one or more of the following: start code block, data code block, and end code block.

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

[0144] In the event of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or...

[0145] In the event of a start code block synchronization header error, if the target code block is determined to be the start code block, the second target fgMTN unit is read; or,

[0146] In the event of a start code block type field error, the start code block and the second target fgMTN unit are discarded; or...

[0147] 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.

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

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

[0150] If the data code block carries fgMTN channel customer information, replace the 64 bits of the data code block carrying one or more fgMTN channel customer code blocks with an error code block; or...

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

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

[0153] In the event of an end-of-block synchronization header error or a block type field error:

[0154] If the ending code block carries fgMTN channel client information, replace the 64 bits of the ending code block carrying an fgMTN channel client code block with an error code block; or...

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

[0156] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0157] See Figure 8 , Figure 8 This is a structural diagram of the code block processing apparatus provided in an embodiment of this application, applied to an MTN node. For example... Figure 8 As shown, the code block processing device includes: a processor 801 and a transceiver 802;

[0158] The processor 801 is configured to replace the fgMTN channel code block carried within 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.

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

[0160] Replace one or more client code blocks of the fgMTN channel carried in the MTN channel code block with error code blocks.

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

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

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

[0164] Send the first target fgMTN unit.

[0165] Optionally, the MTN node has FEC functionality, and the processor 801 is further configured to:

[0166] In the event of an anomaly in the FEC codeword length detection, replace the 66B code block within the FEC codeword length range with the erroneous code block.

[0167] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0168] See Figure 9 , Figure 9 This is a structural diagram of the code block processing apparatus provided in an embodiment of this application, applied to an MTN node. For example... Figure 9 As shown, the code block processing device includes: a processor 901 and a transceiver 902;

[0169] The transceiver 902 is used to receive the second target fgMTN unit;

[0170] The processor 901 is used to process the target code block when an anomaly occurs in the target code block of the second target fgMTN unit;

[0171] The target code block includes one or more of the following: start code block, data code block, and end code block.

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

[0173] In the event of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or...

[0174] In the event of a start code block synchronization header error, if the target code block is determined to be the start code block, the second target fgMTN unit is read; or,

[0175] In the event of a start code block type field error, the start code block and the second target fgMTN unit are discarded; or...

[0176] 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.

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

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

[0179] If the data code block carries fgMTN channel customer information, replace the 64 bits of the data code block carrying one or more fgMTN channel customer code blocks with an error code block; or...

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

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

[0182] In the event of an end-of-block synchronization header error or a block type field error:

[0183] If the ending code block carries fgMTN channel client information, replace the 64 bits of the ending code block carrying an fgMTN channel client code block with an error code block; or...

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

[0185] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0186] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.

[0187] If the integrated unit is implemented as 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 this application, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0188] This application provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program from the memory to implement the steps in the code block processing method described above.

[0189] This application also provides a readable storage medium storing a program. When executed by a processor, this program implements the various processes of the above-described code block processing method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here. The readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).

[0190] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0191] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0192] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method of code block processing, the method comprising: Applied to a metropolitan transport network (MTN) node, comprising: If an MTN channel code block carrying a fine-grained MTN (fgMTN) channel is incorrectly labeled, 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, replace the fgMTN channel code block carried in the MTN channel code block with an error code block; Wherein, the fgMTN channel code block carried in the MTN channel code block is replaced with an error code block, comprising: Replace one or more customer code blocks of the fgMTN channel carried in the MTN channel code block with an error code block.

2. The method of claim 1, wherein, The method further comprises: Replace the error code block used to carry the customer code block with a data code block or an end code block to obtain a first target fgMTN unit.

3. The method of claim 2, wherein, The method further comprises: Send the first target fgMTN unit.

4. The method according to any one of claims 1 to 3, characterized in that, The MTN node has a forward error correction (FEC) function, and the method further comprises: In the case of abnormal FEC codeword length detection, replace the 66B code block within the FEC codeword length range with an error code block.

5. A method of code block processing, the method comprising: Applied to an MTN node, comprising: Receive a second target fgMTN unit; In the case of an abnormal target code block in the second target fgMTN unit, process the target code block; Wherein, the target code block includes one or more of a start code block, a data code block, and an end code block; Wherein, if the target code block includes a start code block, the processing of the target code block comprises: In the case of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or, in the case of a start code block synchronization header error, if it is determined that the target code block is a start code block, read the second target fgMTN unit; or, in the case of a start code block type field error, discard the start code block and the second target fgMTN unit; or, in the case of a start code block type field error, if it is determined that the target code block is a start code block, read the second target fgMTN unit; Or, Wherein, if the target code block includes a data code block, the processing of the target code block comprises: In the case of a data code block synchronization header error: if the data code block carries fgMTN channel customer information, replace the 64-bit customer code block of one or more fgMTN channels carried by the data code block with an error code block; or, if the data code block carries overhead information, discard the overhead information; Or, Wherein, if the target code block includes an end code block, the processing of the target code block comprises: In the case of an end code block synchronization header error or a code block type field error: If the end code block carries fgMTN channel customer information, replace the 64-bit customer code block of one fgMTN channel carried by the end code block with an error code block; or, if the end code block carries overhead information, discard the overhead information.

6. A code block processing apparatus characterized by comprising: 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 gMTN channel is incorrectly labeled, 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 first processing module is further configured to replace one or more client code blocks of the fgMTN channel carried in the MTN channel code block with error code blocks.

7. A code block processing apparatus, characterized by, The application is applied to an MTN node, comprising: The first receiving module is configured to receive a second target fgMTN unit; The first processing module is configured to process a target code block of the second target fgMTN unit if the target code block is abnormal; The target code block includes one or more of a start code block, a data code block, and an end code block; If the target code block includes a start code block, the first processing module is further configured to: In the case of a start code block synchronization header error, discard the start code block and the second target fgMTN unit; or, in the case of a start code block synchronization header error, if it is determined that the target code block is a start code block, read the second target fgMTN unit; or, in the case of a start code block type field error, discard the start code block and the second target fgMTN unit; or, in the case of a start code block type field error, if it is determined that the target code block is a start code block, read the second target fgMTN unit; Or, If the target code block includes a data code block, the first processing module is further configured to: In the case of a data code block synchronization header error: if the data code block carries fgMTN channel client information, replace one or more client code blocks of the fgMTN channel carried in the 64-bit data code block with error code blocks; or, if the data code block carries overhead information, discard the overhead information; Or, If the target code block includes an end code block, the first processing module is further configured to: In the case of an end code block synchronization header error or a code block type field error: If the end code block carries fgMTN channel client information, replace the client code block of the fgMTN channel carried in the 64-bit end code block with an error code block; or, if the end code block carries overhead information, discard the overhead information.

8. A code block processing apparatus, characterized by, The application is applied to an MTN node, comprising a processor and a transceiver; 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 gMTN channel is incorrectly labeled, 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 processor is further configured to replace one or more client code blocks of the fgMTN channel carried in the MTN channel code block with error code blocks.

9. A code block processing apparatus, characterized by, The application is applied to an MTN node, comprising a processor and a transceiver; The transceiver is configured to receive a second target fgMTN unit; The processor is configured to process the target code block in the case of an abnormality of 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; If the target code block includes a start code block, the processor is further configured to: In the case of a start code block sync header error, discard the start code block and the second target fgMTN unit; or, in the case of a start code block sync header error, if it is determined that the target code block is a start code block, read the second target fgMTN unit; or, in the case of a start code block code block type field error, discard the start code block and the second target fgMTN unit; or, in the case of a start code block code block type field error, if it is determined that the target code block is a start code block, read the second target fgMTN unit; Or, If the target code block includes a data code block, the processor is further configured to: In the case of a data code block sync header error: if the data code block carries fgMTN channel customer information, replace the 64-bit carried customer code block of one or more fgMTN channels of the data code block with an error code block; or, if the data code block carries overhead information, discard the overhead information; Or, If the target code block includes an end code block, the processor is further configured to: In the case of an end code block sync header error or a code block type field error: If the end code block carries fgMTN channel customer information, replace the 64-bit carried customer code block of one fgMTN channel of the end code block with an error code block; or, if the end code block carries overhead information, discard the overhead information.

10. 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 code block processing method of any one of claims 1 to 5.

11. A readable storage medium for storing a program, characterized in that, The program is executed by the processor to implement the steps in the code block processing method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Communication method and device, and storage medium

    CN112468259A

  • Code block processing method, node, and medium

    WO2022012530A1

Cited By

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

    EP4727043A1