WO2025007895A1 - 一种码块处理方法、装置、设备及可读存储介质 - Google Patents

一种码块处理方法、装置、设备及可读存储介质 Download PDF

Info

Publication number
WO2025007895A1
WO2025007895A1 PCT/CN2024/103395 CN2024103395W WO2025007895A1 WO 2025007895 A1 WO2025007895 A1 WO 2025007895A1 CN 2024103395 W CN2024103395 W CN 2024103395W WO 2025007895 A1 WO2025007895 A1 WO 2025007895A1
Authority
WO
WIPO (PCT)
Prior art keywords
code block
fgmtn
target
error
mtn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2024/103395
Other languages
English (en)
French (fr)
Inventor
韩柳燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to EP24835375.7A priority Critical patent/EP4727043A1/en
Publication of WO2025007895A1 publication Critical patent/WO2025007895A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Definitions

  • the present application relates to the field of communication technology, and in particular to a code block processing method, device, equipment and readable storage medium.
  • MTN consists of the metropolitan area transport network segment layer and the metropolitan area transport network path layer.
  • MTN technology supports channel division and slicing with a minimum granularity of 5Gbps at the Section layer.
  • MTN reuses the frame format of Flexible Ethernet (FlexE) at the Section layer.
  • the basic data unit frame format of the segment layer consists of an overhead 64B/66B code block plus 20460 64B/66B code blocks of the payload.
  • MTN slice channels with smaller bandwidth granularity, fine granularity MTN are provided above the MTN channel layer.
  • fgMTN adds a layer of fgMTN to the structure of the MTN channel (MTNP) layer, which is composed of fgMTN unit structure and operations, administration and maintenance (OAM) code blocks and IDLE (idle) between unit structures.
  • OAM administration and maintenance
  • the present invention provides a method, device, apparatus and readable storage medium for processing a code block. Ensure the reliability of the MTN network.
  • an embodiment of the present application provides a code block processing method, which is executed by a metropolitan area transport network MTN node, including:
  • the fgMTN channel code block carried in the MTN channel code block is replaced with an error code block.
  • 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 (E code blocks).
  • the method further includes:
  • 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.
  • D code block data code block
  • T code block termination code block
  • the method further includes:
  • the MTN node has a forward error correction (FEC) function
  • the method further includes:
  • the 66B code block within the FEC codeword length range is replaced with an error code block.
  • an embodiment of the present application provides a code block processing method, which is executed by an MTN node, including:
  • 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).
  • S code block start code block
  • D code block data code block
  • T code block end code block
  • the target code block includes a start code block; and the processing of the target code block includes:
  • the target code block is determined to be a start code block by a judgment method, the second target fgMTN unit is read.
  • the target code block includes a data code block; and the processing of the target code block includes:
  • 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,
  • the overhead information is discarded.
  • the target code block includes an end code block; and the processing of the target code block includes:
  • 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
  • the overhead information is discarded.
  • an embodiment of the present application provides a code block processing device, which is applied to an MTN node, including:
  • 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.
  • 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.
  • the device may further include:
  • the second processing module is used to replace the error code block used to carry the client code block with the data code block. block or end code block to obtain the first target fgMTN unit.
  • the device may further include:
  • a sending module is used to send the first target fgMTN unit.
  • the MTN node has an FEC function
  • the device may further include:
  • the third processing module is used to replace the 66B code block within the FEC codeword length range with an error code block when the FEC Codeword length detection is abnormal.
  • an embodiment of the present application provides a code block processing device, which is applied to an MTN node, including:
  • a first receiving module configured to receive a second target 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.
  • the target code block includes a start code block; and the first processing module is further configured to:
  • the target code block is determined to be a start code block, the second target fgMTN unit is read.
  • the target code block includes a data code block; and the first processing module is further used to:
  • 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,
  • the overhead information is discarded.
  • the target code block includes an end code block; and the first processing module is further used to:
  • the end code block carries fgMTN channel customer information
  • the 64 bits of the end code block carry A client code block of an fgMTN channel is replaced by an error code block
  • the overhead information is discarded.
  • an embodiment of the present application provides a code block processing device, applied to an MTN node, including: 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 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.
  • the processor is further configured to:
  • One or more fgMTN channel client code blocks carried in the MTN channel code block are replaced with error code blocks.
  • the processor is further configured to:
  • 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.
  • the processor is further configured to:
  • the MTN node has an FEC function
  • the processor is further used to:
  • the 66B code block within the FEC codeword length range is replaced with an error code block.
  • an embodiment of the present application provides a code block processing device, applied to an MTN node, including: a processor and a transceiver;
  • the transceiver is used to receive a second target 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.
  • the target code block includes a start code block; and the processor is further configured to:
  • the target code block is determined to be a start code block by a judgment method, the second target fgMTN unit is read.
  • the target code block includes a data code block; and the processor is further configured to:
  • 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,
  • the overhead information is discarded.
  • the target code block includes an end code block; and the processor is further configured to:
  • 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
  • the overhead information is discarded.
  • 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.
  • 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.
  • a method for processing error identification of fgMTN channel code blocks is proposed, thereby effectively ensuring the reliability of fgMTN technology and network.
  • FIG1 is a flowchart of a code block processing method provided in an embodiment of the present application.
  • FIG2 is one of the schematic diagrams of code block processing in an embodiment of the present application.
  • FIG3 is a second schematic diagram of code block processing in an embodiment of the present application.
  • FIG4 is a second flowchart of the code block processing method provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a code block structure
  • FIG6 is a structural diagram of a code block processing device according to an embodiment of the present application.
  • FIG7 is a second structural diagram of the code block processing device provided in an embodiment of the present application.
  • FIG8 is a third structural diagram of the code block processing device provided in an embodiment of the present application.
  • FIG. 9 is a fourth structural diagram of the code block processing device provided in an embodiment of the present application.
  • the term "and/or” describes the association relationship of the associated objects, indicating that three relationships may exist.
  • a and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/” generally indicates that the associated objects before and after are in an "or” relationship.
  • the term “plurality” refers to two or more than two, and other quantifiers are similar.
  • fgMTN adds a fgMTN layer to the structure of the MTNP layer, and the code stream is composed of the fgMTN unit structure and the OAM code blocks and IDLE between the unit structures.
  • the code stream is composed of the fgMTN unit structure and the OAM code blocks and IDLE between the unit structures.
  • the fgMTN unit structure is composed of 66B code blocks, but the customer information does not directly constitute the fgMTN unit, but is placed in the data byte part of the fgMTN unit code block. Therefore, the error code block identification mechanism needs to take into account the processing of the outer fgMTN unit code block and the inner customer signal code block, as well as the linkage relationship between the two.
  • an embodiment of the present application provides 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.
  • FIG. 1 is a flow chart 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 as shown in FIG. 1 :
  • 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 Error code block.
  • the client code blocks of one or more fgMTN channels carried in the MTN channel code block are replaced with error code blocks. That is, a code block of the MTN channel layer may correspond to and carry one or more client code blocks of fgMTN channels, and the client code blocks of the one or more fgMTN channels are all replaced with error code blocks (E code blocks).
  • E code blocks error code blocks
  • the fgMTN channel code block is the code block corresponding to the fgMTN channel.
  • the code block is incorrectly marked, which means that the problematic code block is incorrectly marked at the MTN section layer (MTN Section), such as changing the synchronization header to 11.
  • the code block contains an invalid synchronization header, which means that according to the IEEE 802.3 code block format, the first 2 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.
  • the control code block with an invalid type field means that for the control code block (such as T1 to T7 code blocks), the type field (block type field) after the 2-bit synchronization header does not conform to the IEEE 802.3 code block format, which is an invalid type field.
  • the error code block refers to the E code block in the 66B code block type specified by IEEE 802.3.
  • the client signal (or information) in the fgMTN unit occupies the 64-bit portion 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 in length (greater than the 64-bit length that the 66B code block of the fgMTN unit can occupy). Therefore, a client 66B code block needs to occupy the fillable bits of two code blocks of the fgMTN unit.
  • the fillable portion of a 66B code block of the fgMTN unit cannot correspond one-to-one to a 66B code block of the client, resulting in that the 64 bits within the 66B code block of the same fgMTN unit may be associated with the client code blocks of one or two fgMTN channels (for example, the 64 The bits may be filled with 2 bits in the previous fgMTN channel client code block and 62 bits in 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).
  • the corresponding one or more fgMTN channel client code blocks carried inside it need to be replaced with E code blocks (for example, 64 bits of an fgMTN unit code block fill 2 bits in the previous fgMTN channel client code block and 62 bits in the next fgMTN channel client code block.
  • E code blocks for example, 64 bits of an fgMTN unit code block fill 2 bits in the previous fgMTN channel client code block and 62 bits in the next fgMTN channel client code block.
  • the fgMTN unit refers to the fgMTN multiplexing unit frame (Fine-grain Multiplex Unit, FGMU) 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.
  • FGMU fgMTN multiplexing unit frame
  • a method for processing error identification of fgMTN channel code blocks is proposed, thereby effectively ensuring the reliability of fgMTN technology and network.
  • the E code block is placed into the data code block (D code block) or the end code block (T code block) used to carry the client code block to obtain the first target fgMTN unit. That is, the 66B code block of the fgMTN unit will use the 64 bits of the normal data code block or the end code block to place the E code block of the client signal, that is, the 66B code block of the regenerated fgMTN unit will be a normal data code block or end code block, not an E code block. Afterwards, optionally, the MTN node can send the first target fgMTN unit.
  • 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 sending end, so that the sending fgMTN unit does not need to perceive the error code block carried internally when processing at the subsequent intermediate node, and can process the code block normally, and only parses the client code block when processing at the destination node receiving end to perceive the error code block.
  • 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.
  • Detect end detection end
  • Transmit end transmission end
  • Figure 3 at the detection end, it is detected that the client code block carried has an error code block, and the detected error code block is replaced with a data code block at the transmission end.
  • the MTN node has an FEC function
  • the 66B code block within the FEC codeword length range is replaced with an error code block.
  • the node can process it according to the aforementioned step 101 and the processing method of the MTN node regenerating the fgMTN unit at the sending end.
  • 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).
  • S code block start code block
  • D code block data code block
  • T code block end code block
  • the embodiment of the present application also provides a processing method when errors and abnormalities occur in the above code blocks.
  • FIG. 4 is a flow chart of a code block processing method provided in an embodiment of the present application, which is applied to The MTN node, as shown in FIG4 , includes the following steps:
  • Step 401 Receive a second target fgMTN unit.
  • the second target fgMTN unit may refer to any fgMTN unit.
  • Step 402 When an abnormality occurs in the target code block of the second target fgMTN unit, process 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.
  • 501 is the structure of a data code block
  • 502 is the structure of a start code block
  • 503 is the structure of an end code block, all of which include a 2-bit sync header.
  • the target code block includes different code blocks, there are different processing methods.
  • the target code block includes a start code block.
  • the second target fgMTN unit is discarded; or, in 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 (for example, the target code block is inferred to be a start code block based on other information, such as the target code block is followed by a data code block), the second target fgMTN unit is read, that is, the second target fgMTN unit is not discarded, and the content after the fgMTN unit (such as overhead, client code block, etc.) is still used.
  • a judgment method for example, the target code block is inferred to be a start code block based on other information, such as the target code block is followed by a data code block
  • the second target fgMTN unit is read, that is, the second target fgMTN unit is not discarded, and the content after the fgMTN unit (such as overhead, client code block, etc.) is still used.
  • the second target fgMTN unit is discarded; or, in the case of a start code block block type field error, if the target code block is determined to be a start code block by a judgment method (for example, the target code block is inferred to be a start code block based on other information, such as the target code block is followed by a data code block), the second target fgMTN unit is read. That is, the second target fgMTN unit is not discarded, and the content behind the fgMTN unit (such as overhead, client code block, etc.) is still used.
  • a judgment method for example, the target code block is inferred to be a start code block based on other information, such as the target code block is followed by a data code block
  • the target code block includes a data code block.
  • 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 error code blocks; or
  • the code block carries overhead information, which is discarded.
  • the target code block includes an end code block.
  • 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.
  • the method shown in FIG. 4 may be implemented alone or in combination with the embodiment shown in FIG. 1 .
  • FIG. 6 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.
  • the code block processing device includes:
  • 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.
  • 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.
  • the device may further include:
  • the second processing module is used 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.
  • the device may further include:
  • a sending module is used to send the first target fgMTN unit.
  • the MTN node has an FEC function
  • the device may further include:
  • the third processing module is used to replace the 66B code block within the FEC codeword length range with an error code block when the FEC Codeword length detection is abnormal.
  • the device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
  • FIG. 7 is a structural diagram of a code block processing device provided in an embodiment of the present application, which is applied to MTN node. As shown in FIG7 , the code block processing device includes:
  • the first receiving module 701 is used to receive a second target fgMTN unit; the first processing module 702 is used 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.
  • the target code block includes a start code block; and the first processing module is further configured to:
  • the target code block is determined to be a start code block by a judgment method, the second target fgMTN unit is read.
  • the target code block includes a data code block; and the first processing module is further used to:
  • 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,
  • the overhead information is discarded.
  • the target code block includes an end code block; and the first processing module is further used to:
  • 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
  • the overhead information is discarded.
  • the device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
  • the code block processing device includes: a processor 801 and a transceiver 802;
  • the processor 801 is configured to: if the MTN channel code block carrying the gMTN channel is incorrectly marked, Either 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, and the fgMTN channel code block carried in the MTN channel code block is replaced with an error code block.
  • the processor 801 is further configured to:
  • One or more fgMTN channel client code blocks carried in the MTN channel code block are replaced with error code blocks.
  • the processor 801 is further configured to:
  • 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.
  • the processor 801 is further configured to:
  • the MTN node has an FEC function
  • the processor 801 is further configured to:
  • the 66B code block within the FEC codeword length range is replaced with an error code block.
  • the device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
  • FIG. 9 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.
  • the code block processing device includes: a processor 901 and a transceiver 902;
  • the transceiver 902 is used to receive a second target fgMTN unit
  • 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;
  • the target code block includes one or more of a start code block, a data code block, and an end code block.
  • the target code block includes a start code block; the processor 901 is further configured to:
  • the target code block is determined to be a start code block by a judgment method, the second target fgMTN unit is read.
  • the target code block includes a data code block; and the processor 901 is further configured to:
  • 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,
  • the overhead information is discarded.
  • the target code block includes an end code block; the processor 901 is further configured to:
  • 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
  • the overhead information is discarded.
  • the device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
  • each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • 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.
  • 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.
  • the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (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: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
  • the present application provides a communication device, including: a memory, a processor, and a A program in the memory that can be run on the processor; the processor is used to read the program in the memory to implement the steps in the code block processing method as described above.
  • the embodiment of the present application also provides a readable storage medium, on which a program is stored.
  • the program is executed by the processor, each process of the above-mentioned code block processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be 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, magnetic 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.
  • magnetic storage such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage such as CD, DVD, BD, HVD, etc.
  • semiconductor storage such as ROM, EPROM, EEPROM, non-vola

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请公开了一种码块处理方法、装置、设备及可读存储介质,涉及通信技术领域,以确保MTN网络的可靠性。该方法包括:若携带fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。本申请实施例可以确保MTN网络的可靠性。

Description

一种码块处理方法、装置、设备及可读存储介质
相关申请的交叉引用
本申请基于申请号为202310827155.1、申请日为2023年07月06日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及通信技术领域,尤其涉及一种码块处理方法、装置、设备及可读存储介质。
背景技术
随着5G的发展以及垂直行业用户的增多,网络对切片的需求增强。业界在基于以太网的切片隔离技术上进行了很多有益的探索,城域传送网(Metro Transport Network,MTN)针对5G等新业务需求定义的新型传送网技术体系。
MTN由城域传送网段(Section)层和城域传送网通路(Path)层构成。MTN技术在Section(网段)层支持以5Gbps为最小颗粒度的通道划分和切片。MTN在Section层重用了灵活以太网(Flexible Ethernet,FlexE)的帧格式,网段层的基本数据单元帧格式由一个开销的64B/66B码块加上20460个有效载荷的64B/66B码块组成。
目前,在MTN的通道层之上,提供了更小带宽粒度的MTN切片通道,细粒度MTN(fine granularity MTN,fgMTN)。fgMTN在MTN通道(MTN Path,MTNP)层的结构中增加一层fgMTN层,由fgMTN单元结构和单元结构之间的操作、管理与维护(Operations,Administration and Maintenance,OAM)码块、IDLE(空闲)组成码流。在fgMTN的处理过程中,需要考虑错误标识处理方法。
发明内容
本申请实施例提供一种码块处理方法、装置、设备及可读存储介质,以确 保MTN网络的可靠性。
第一方面,本申请实施例提供了一种码块处理方法,由城域传送网MTN节点执行,包括:
若携带fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
可选的,所述将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块,包括:
将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块(E码块)。
可选的,所述方法还包括:
将所述错误码块,放置入用于承载所述客户码块的数据码块(D码块)或结束码块(T码块),得到第一目标fgMTN单元。
可选的,所述方法还包括:
发送所述第一目标fgMTN单元。
可选的,所述MTN节点具有前向纠错(Forward Error Correction,FEC)功能,所述方法还包括:
在FEC码字(Codeword)长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。
第二方面,本申请实施例提供了一种码块处理方法,由MTN节点执行,包括:
接收第二目标fgMTN单元;
在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
其中,所述目标码块包括开始码块(S码块)、数据码块(D码块)、结束码块(T码块)中的一种或多种。
可选的,所述目标码块包括开始码块;所述对所述目标码块进行处理,包括:
在出现开始码块同步头错误的情况下,丢弃所述第二目标fgMTN单元; 或者,
在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元。
可选的,所述目标码块包括数据码块;所述对所述目标码块进行处理,包括:
在出现数据码块同步头错误的情况下:
若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,
若所述数据码块携带开销信息,丢弃所述开销信息。
可选的,所述目标码块包括结束码块;所述对所述目标码块进行处理,包括:
在出现结束码块同步头错误或码块类型域错误的情况下:
若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携带的一个fgMTN通道的客户码块替换为错误码块;或者,
若所述结束码块携带开销信息,丢弃所述开销信息。
第三方面,本申请实施例提供了一种码块处理装置,应用于MTN节点,包括:
第一处理模块,用于若携带fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
可选的,所述第一处理模块,还用于将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块。
可选的,所述装置还可包括:
第二处理模块,用于将用于承载所述客户码块的错误码块,替换为数据码 块或结束码块,得到第一目标fgMTN单元。
可选的,所述装置还可包括:
发送模块,用于发送所述第一目标fgMTN单元。
可选的,所述MTN节点具有FEC功能,所述装置还可包括:
第三处理模块,用于在FEC Codeword长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。
第四方面,本申请实施例提供了一种码块处理装置,应用于MTN节点,包括:
第一接收模块,用于接收第二目标fgMTN单元;
第一处理模块,用于在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
可选的,所述目标码块包括开始码块;所述第一处理模块,还用于:
在出现开始码块同步头错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,若确定所述目标码块为开始码块,读取所述第二目标fgMTN单元。
可选的,所述目标码块包括数据码块;所述第一处理模块,还用于:
在出现数据码块同步头错误的情况下:
若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,
若所述数据码块携带开销信息,丢弃所述开销信息。
可选的,所述目标码块包括结束码块;所述第一处理模块,还用于:
在出现结束码块同步头错误或码块类型域错误的情况下:
若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携 带的一个fgMTN通道的客户码块替换为错误码块;或者,
若所述结束码块携带开销信息,丢弃所述开销信息。
第五方面,本申请实施例提供了一种码块处理装置,应用于MTN节点,包括:处理器和收发器;
所述处理器,用于若携带fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述MTN通道码块是具有无效类型字段的控制码块,或者所述MTN通道码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
可选的,所述处理器还用于:
将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块。
可选的,所述处理器还用于:
将用于承载所述客户码块的错误码块,替换为数据码块或结束码块,得到第一目标fgMTN单元。
可选的,所述处理器还用于:
发送所述第一目标fgMTN单元。
可选的,所述MTN节点具有FEC功能,所述处理器还用于:
在FEC Codeword长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。
第六方面,本申请实施例提供了一种码块处理装置,应用于MTN节点,包括:处理器和收发器;
所述收发器,用于接收第二目标fgMTN单元;
所述处理器,用于在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
可选的,所述目标码块包括开始码块;所述处理器还用于:
在出现开始码块同步头错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被 确定为开始码块,读取所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元。
可选的,所述目标码块包括数据码块;所述处理器还用于:
在出现数据码块同步头错误的情况下:
若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,
若所述数据码块携带开销信息,丢弃所述开销信息。
可选的,所述目标码块包括结束码块;所述处理器还用于:
在出现结束码块同步头错误或码块类型域错误的情况下:
若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携带的一个fgMTN通道的客户码块替换为错误码块;或者,
若所述结束码块携带开销信息,丢弃所述开销信息。
第七方面,本申请实施例还提供一种通信设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时实现如上所述的码块处理方法中的步骤。
第八方面,本申请实施例还提供一种可读存储介质,所述可读存储介质上存储程序,所述程序被处理器执行时实现如上所述的码块处理方法中的步骤。
在本申请实施例中提出了对fgMTN通道码块的错误标识处理方法,从而有效地保证了fgMTN技术和网络的可靠性。
附图说明
图1是本申请实施例提供的码块处理方法的流程图之一;
图2是本申请实施例中的码块处理示意图之一;
图3是本申请实施例中的码块处理示意图之二;
图4是本申请实施例提供的码块处理方法的流程图之二;
图5是码块结构的示意图;
图6是本申请实施例提供的码块处理装置的结构图之一;
图7是本申请实施例提供的码块处理装置的结构图之二;
图8是本申请实施例提供的码块处理装置的结构图之三;
图9是本申请实施例提供的码块处理装置的结构图之四。
具体实施方式
本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,并不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
如背景技术所描述的,fgMTN在MTNP层的结构中增加一层fgMTN层,由fgMTN单元结构和单元结构之间的OAM码块、IDLE组成码流。在fgMTN的处理过程中,需要考虑节点接收的码块错误情况如何处理。与已有传输技术体系特点不同,fgMTN单元结构由66B码块构成,但客户信息并不是直接组成了fgMTN单元,而是放入了fgMTN单元码块的数据字节部分。因此,错误码块标识机制需要兼顾外层fgMTN单元码块和内层客户信号码块处理,以及两者之间的联动关系。
为此,本申请实施例提供了一种码块处理方法,以提出针对错误标识的处理方法以及异常情况的处理机制,从而确保MTN网络的可靠性以及异常情况处理的统一性。
参见图1,图1是本申请实施例提供的码块处理方法的流程图,应用于MTN节点,如图1所示,包括以下步骤:
步骤101、若携带fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为 错误码块。
具体的,在此步骤中,将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块。也即,MTN通道层的一个码块内可能对应和携带一个或多个fgMTN通道的客户码块,该一个或多个fgMTN通道的客户码块均被替换为错误码块(E码块)。其中,fgMTN通道码块为fgMTN通道对应的码块。
其中,码块被错误标记指的是在MTN段层(MTN Section)对有问题的码块做错误标记,例如改变同步头为11。码块包含无效的同步头指的是,按照IEEE 802.3码块格式,66比特长度的码块(66B码块)的前2个比特同步头应该为01或者10数值,如果为其他数值(例如11或者00),则该同步头是无效的同步头。具有无效类型字段的控制码块,指的是对于控制码块(例如T1到T7码块),2个比特同步头之后的类型字段(block type field)填写数值不符合IEEE 802.3码块格式,则是无效的类型字段。错误码块是指IEEE 802.3所规定的66B码块类型中的E码块。
如图2所示,以fgMTN单元为例,fgMTN单元中客户信号(或信息)占用fgMTN单元的66B码块除了2比特同步头之外的64bit部分,而其携带的一个客户66B码块是66比特长度(大于fgMTN单元的66B码块可占用的64比特长度),因此,一个客户66B码块需要占用fgMTN单元的两个码块的可填充比特位,fgMTN单元的一个66B码块可填充部分与客户的一个66B码块无法做到一一对应,造成同一个fgMTN单元的66B码块内部的64比特可能关联到一个或两个fgMTN通道的客户码块(例如该64比特有可能填充的是前一个fgMTN通道客户码块中的2比特和后一个fgMTN通道客户码块中的62比特,后一个fgMTN通道客户码块剩余4比特需要在fgMTN单元的下一个66B码块填充),这时它内部携带所对应的一个或多个fgMTN通道客户码块均需要替换成E码块(例如一个fgMTN单元码块的64比特填充前一个fgMTN通道客户码块中的2比特和后一个fgMTN通道客户码块中的62比特,则在错误处理时其所对应的前一个fgMTN通道客户码块和后一个fgMTN通道客户码块这两个码块都需要替换成E码块)。其中,fgMTN单元指的是在MTN通道(MTNP)中承载的fgMTN复用单元帧(Fine-grain Multiplex Unit,FGMU), 由于fgMTN单元直接承载在MTN通道(MTNP)中,因此,fgMTN单元码块属于MTNP码块。
在本申请实施例中提出了对fgMTN通道码块的错误标识处理方法,从而有效地保证了fgMTN技术和网络的可靠性。
可选的,在客户码块被替换为E码块之后,MTN节点在发送端重新生成fgMTN单元时,将所述E码块,放置入用于承载客户码块的数据码块(D码块)或结束码块(T码块),得到第一目标fgMTN单元。也即,fgMTN单元的66B码块将采用正常的数据码块或者结束码块的64比特放置客户信号的E码块,也就是说,重新生成fgMTN单元的66B码块将是正常的数据码块或者结束码块,而非E码块。之后,可选的,MTN节点可发送该第一目标fgMTN单元。
在申请实施例中,通过将被错误标记的MTN通道码块内携带的fgMTN通道码块替换为错误码块,具体是在检测端将fgMTN通道的客户码块替换为所述错误码块之后,在发送端再将所述错误码块放置入用于承载客户码块的数据码块或结束码块的64比特位置,能够使得发送的fgMTN单元在后续中间节点处理时不需要感知内部承载的错误码块,对码块正常处理即可,而仅在目的节点接收端处理时解析客户码块从而感知到错误码块。
如图3所示,图3是在MTN节点的检测端(Detect端)和发送端(Transmit端)的帧码块结构示意图。例如,在图3中,在检测端,检测到承载的所述客户码块存在错误码块,在发送端将检测到的错误码块替换为数据码块。
若所述MTN节点具有FEC功能,在FEC码字Codeword长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。该节点在之后进行fgMTN单元的处理时,由于出现了FEC误码标识为E码块的情况,因此,该节点可按照前述步骤101的方式以及MTN节点在发送端重新生成fgMTN单元的处理方式进行处理。
在本申请实施例中,fgMTN单元包括开始码块(S码块)、数据码块(D码块)和结束码块(T码块)。此外,本申请实施例还提供了一种在上述这些码块出现错误异常的情况下的处理方法。
参见图4,图4是本申请实施例提供的码块处理方法的流程图,应用于 MTN节点,如图4所示,包括以下步骤:
步骤401、接收第二目标fgMTN单元。
其中,所述第二目标fgMTN单元可以指的是任意的fgMTN单元。
步骤402、在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理。
其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。如图5所示,501为数据码块的结构,502为开始码块的结构,503为结束码块结构,均包括2比特的sync(同步)头。通过对同步头或者码块类型域(block type field)的判断,即可得出目标码块发生了何种类型的错误。例如,若同步头或者码块类型域(block type field)被错误标记,则可认为出现了相应的错误。
可选的,所述目标码块包括不同的码块时,有不同的处理方式。
一、所述目标码块包括开始码块。
在出现开始码块同步头错误(sync header)的情况下,丢弃所述第二目标fgMTN单元;或者,在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被确定为开始码块(例如根据其他信息推断目标码块为开始码块,如目标码块后面紧跟着的是数据码块),读取所述第二目标fgMTN单元,也即,不丢弃该第二目标fgMTN单元,仍然使用该fgMTN单元后面的内容(如开销、客户码块等)。
在出现开始码块码块类型域(block type field)错误的情况下,丢弃所述第二目标fgMTN单元;或者,在出现开始码块码块类型域错误的情况下,若所述目标码块是通过判断方式被确定为开始码块(例如根据其他信息推断目标码块为开始码块,如目标码块后面紧跟着的是数据码块),读取所述第二目标fgMTN单元。也即,不丢弃该第二目标fgMTN单元,仍然使用该fgMTN单元后面的内容(如开销、客户码块等)。
二、所述目标码块包括数据码块。
在出现数据码块同步头(sync header)错误的情况下:
若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,若所述数据 码块携带开销信息,丢弃所述开销信息。
三、所述目标码块包括结束码块。
在出现结束码块同步头错误(sync header)或码块类型域(block type field)错误的情况下:
若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携带的一个fgMTN通道的客户码块替换为错误码块;或者,若所述结束码块携带开销信息,丢弃所述开销信息。
通过上述实施例的方案,提出了对fgMTN单元的不同类型的码块的异常处理方案,从而可保证异常情况处理的统一性,确保MTN网络的可靠性。
其中,图4所示的方法可单独实施,也可结合图1所示的实施例实施。
参见图6,图6是本申请实施例提供的码块处理装置的结构图,应用于MTN节点。如图6所示,码块处理装置包括:
第一处理模块601,用于若携带gMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
可选的,所述第一处理模块,还用于将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块。
可选的,所述装置还可包括:
第二处理模块,用于将用于承载所述客户码块的错误码块,替换为数据码块或结束码块,得到第一目标fgMTN单元。
可选的,所述装置还可包括:
发送模块,用于发送所述第一目标fgMTN单元。
可选的,所述MTN节点具有FEC功能,所述装置还可包括:
第三处理模块,用于在FEC Codeword长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
参见图7,图7是本申请实施例提供的码块处理装置的结构图,应用于 MTN节点。如图7所示,码块处理装置包括:
第一接收模块701,用于接收第二目标fgMTN单元;第一处理模块702,用于在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
可选的,所述目标码块包括开始码块;所述第一处理模块,还用于:
在出现开始码块同步头错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元。
可选的,所述目标码块包括数据码块;所述第一处理模块,还用于:
在出现数据码块同步头错误的情况下:
若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,
若所述数据码块携带开销信息,丢弃所述开销信息。
可选的,所述目标码块包括结束码块;所述第一处理模块,还用于:
在出现结束码块同步头错误或码块类型域错误的情况下:
若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携带的一个fgMTN通道的客户码块替换为错误码块;或者,
若所述结束码块携带开销信息,丢弃所述开销信息。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
参见图8,图8是本申请实施例提供的码块处理装置的结构图,应用于MTN节点。如图8所示,码块处理装置包括:处理器801和收发器802;
所述处理器801,用于:若携带gMTN通道的MTN通道码块被错误标记, 或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
可选的,所述处理器801还用于:
将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块。
可选的,所述处理器801还用于:
将用于承载所述客户码块的错误码块,替换为数据码块或结束码块,得到第一目标fgMTN单元。
可选的,所述处理器801还用于:
发送所述第一目标fgMTN单元。
可选的,所述MTN节点具有FEC功能,所述处理器801还用于:
在FEC Codeword长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
参见图9,图9是本申请实施例提供的码块处理装置的结构图,应用于MTN节点。如图9所示,码块处理装置包括:处理器901和收发器902;
所述收发器902,用于接收第二目标fgMTN单元;
所述处理器901,用于在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
可选的,所述目标码块包括开始码块;所述处理器901还用于:
在出现开始码块同步头错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,丢弃所述第二目标fgMTN单元;或者,
在出现开始码块码块类型域错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元。
可选的,所述目标码块包括数据码块;所述处理器901还用于:
在出现数据码块同步头错误的情况下:
若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,
若所述数据码块携带开销信息,丢弃所述开销信息。
可选的,所述目标码块包括结束码块;所述处理器901还用于:
在出现结束码块同步头错误或码块类型域错误的情况下:
若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携带的一个fgMTN通道的客户码块替换为错误码块;或者,
若所述结束码块携带开销信息,丢弃所述开销信息。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本申请实施例提供了一种通信设备,包括:存储器、处理器及存储在所述 存储器上并可在所述处理器上运行的程序;所述处理器,用于读取存储器中的程序实现如前所述的码块处理方法中的步骤。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序,该程序被处理器执行时实现上述码块处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的可读存储介质,可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。根据这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁盘、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种码块处理方法,由城域传送网MTN节点执行,包括:
    若携带细粒度MTN fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
  2. 根据权利要求1所述的方法,其中,所述将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块,包括:
    将所述MTN通道码块内携带的一个或多个fgMTN通道的客户码块替换为错误码块。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    将所述错误码块,放置入用于承载所述客户码块的数据码块或结束码块,得到第一目标fgMTN单元。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    发送所述第一目标fgMTN单元。
  5. 根据权利要求1至4任一项所述的方法,其中,所述MTN节点具有前向纠错FEC功能,所述方法还包括:
    在FEC码字Codeword长度检测异常的情况下,将FEC codeword长度范围内的66B码块替换为错误码块。
  6. 一种码块处理方法,由城域传送网MTN节点执行,包括:
    接收第二目标细粒度MTN fgMTN单元;
    在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
    其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
  7. 根据权利要求6所述的方法,其中,所述目标码块包括开始码块;所述对所述目标码块进行处理,包括:
    在出现开始码块同步头错误的情况下,丢弃所述第二目标fgMTN单元;或者,
    在出现开始码块同步头错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元;或者,
    在出现开始码块码块类型域错误的情况下,丢弃所述第二目标fgMTN单元;或者,
    在出现开始码块码块类型域错误的情况下,若所述目标码块是通过判断方式被确定为开始码块,读取所述第二目标fgMTN单元。
  8. 根据权利要求6所述的方法,其中,所述目标码块包括数据码块;所述对所述目标码块进行处理,包括:
    在出现数据码块同步头错误的情况下:
    若所述数据码块携带fgMTN通道客户信息,将所述数据码块的64比特携带的一个或多个fgMTN通道的客户码块替换为错误码块;或者,
    若所述数据码块携带开销信息,丢弃所述开销信息。
  9. 根据权利要求6所述的方法,其中,所述目标码块包括结束码块;所述对所述目标码块进行处理,包括:
    在出现结束码块同步头错误或码块类型域错误的情况下:
    若所述结束码块携带fgMTN通道客户信息,将所述结束码块的64比特携带的一个fgMTN通道的客户码块替换为错误码块;或者,
    若所述结束码块携带开销信息,丢弃所述开销信息。
  10. 一种码块处理装置,应用于MTN节点,包括:
    第一处理模块,用于若携带细粒度MTN fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
  11. 一种码块处理装置,应用于MTN节点,包括:
    第一接收模块,用于接收第二目标细粒度MTN fgMTN单元;
    第一处理模块,用于在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
    其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
  12. 一种码块处理装置,应用于城域传送网MTN节点,包括:处理器和 收发器;
    所述处理器,用于若携带细粒度MTN fgMTN通道的MTN通道码块被错误标记,或者所述码块包含无效的同步头,或者所述码块是具有无效类型字段的控制码块,或者所述码块是错误码块,将所述MTN通道码块内携带的fgMTN通道码块替换为错误码块。
  13. 一种码块处理装置,应用于城域传送网MTN节点,包括:处理器和收发器;
    所述收发器,用于接收第二目标细粒度MTN fgMTN单元;
    所述处理器,用于在所述第二目标fgMTN单元的目标码块出现异常的情况下,对所述目标码块进行处理;
    其中,所述目标码块包括开始码块、数据码块、结束码块中的一种或多种。
  14. 一种通信设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;其特征在于,所述处理器,用于读取存储器中的程序实现如权利要求1至9中任一项所述的码块处理方法中的步骤。
  15. 一种可读存储介质,用于存储程序,所述程序被处理器执行时实现如权利要求1至9中任一项所述的码块处理方法中的步骤。
PCT/CN2024/103395 2023-07-06 2024-07-03 一种码块处理方法、装置、设备及可读存储介质 Ceased WO2025007895A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP24835375.7A EP4727043A1 (en) 2023-07-06 2024-07-03 Code block processing method and apparatus, device, and readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310827155.1A CN118826952B (zh) 2023-07-06 2023-07-06 一种码块处理方法、装置、设备及可读存储介质
CN202310827155.1 2023-07-06

Publications (1)

Publication Number Publication Date
WO2025007895A1 true WO2025007895A1 (zh) 2025-01-09

Family

ID=93066582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/103395 Ceased WO2025007895A1 (zh) 2023-07-06 2024-07-03 一种码块处理方法、装置、设备及可读存储介质

Country Status (3)

Country Link
EP (1) EP4727043A1 (zh)
CN (1) CN118826952B (zh)
WO (1) WO2025007895A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018125775A (ja) * 2017-02-02 2018-08-09 日本電信電話株式会社 伝送品質測定方法
CN112468259A (zh) * 2019-09-09 2021-03-09 华为技术有限公司 一种通信方法、设备及存储介质
CN113938247A (zh) * 2020-07-14 2022-01-14 中国移动通信有限公司研究院 一种码块处理方法、节点及介质
CN114584258A (zh) * 2022-02-15 2022-06-03 烽火通信科技股份有限公司 业务时延降低方法、装置、设备及可读存储介质
CN114915371A (zh) * 2021-02-10 2022-08-16 华为技术有限公司 一种通信方法、设备和芯片系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115173988A (zh) * 2021-04-02 2022-10-11 中兴通讯股份有限公司 数据流的处理方法及装置、存储介质及电子装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018125775A (ja) * 2017-02-02 2018-08-09 日本電信電話株式会社 伝送品質測定方法
CN112468259A (zh) * 2019-09-09 2021-03-09 华为技术有限公司 一种通信方法、设备及存储介质
CN113938247A (zh) * 2020-07-14 2022-01-14 中国移动通信有限公司研究院 一种码块处理方法、节点及介质
CN114915371A (zh) * 2021-02-10 2022-08-16 华为技术有限公司 一种通信方法、设备和芯片系统
CN114584258A (zh) * 2022-02-15 2022-06-03 烽火通信科技股份有限公司 业务时延降低方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
EP4727043A1 (en) 2026-04-15
CN118826952B (zh) 2026-01-20
CN118826952A (zh) 2024-10-22

Similar Documents

Publication Publication Date Title
CN111953450B (zh) 一种灵活以太网中传输数据的方法及设备
CN107888345B (zh) 一种信息传输的方法和设备
WO2018095303A1 (zh) 操作、管理和维护oam数据的传输方法和装置
US20150180609A1 (en) Apparatus and method for transmitting and receiving an application layer-forward error correction packet in multimedia communication system
JP5069399B2 (ja) 入力データパケットを転送および回復する方法および装置
US12567923B2 (en) Rate adaptation method and apparatus
CN102195750B (zh) 数据传送装置及数据传送系统
WO2021254508A1 (zh) 一种确定码组丢失的方法及装置
CN114070475A (zh) 比特块的发送方法及装置
WO2023098430A1 (zh) 一种数据包的处理方法、通信装置及通信系统
EP2191602B1 (en) Improved data structure boundary synchronization between a transmitter and receiver
CN1829972B (zh) 提供基于以太网协议的级联连接、性能监控和保护体系结构的方法和装置
EP3541088B1 (en) Method, device and system for bearing a frame sequence number in a multichannel passive optical network
WO2025007895A1 (zh) 一种码块处理方法、装置、设备及可读存储介质
CN102006265A (zh) 一种增强专用信道帧协议数据帧帧头的校验方法
TWI875487B (zh) 封包傳送裝置及封包傳送方法
WO2025055797A1 (zh) 一种数据重传方法、装置和系统
CN112511328A (zh) 发送和处理信息的方法、以太网设备、计算机可读介质
US9124499B2 (en) Frame transmission system
US9008077B2 (en) Method for quick map recovery in case of error in MoCA
CN107437977A (zh) 灵活以太网交织帧的定位、设置方法及装置
EP4718807A1 (en) Service code block stream transmission method, and quality of service monitoring method and system
CN111669771A (zh) 客户业务数据流的方法及装置、存储介质
JP5158689B2 (ja) 系切替装置および方法
CN121711417A (zh) 一种基于can fd协议的长报文传输方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24835375

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2024835375

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2024835375

Country of ref document: EP

Effective date: 20260107

ENP Entry into the national phase

Ref document number: 2024835375

Country of ref document: EP

Effective date: 20260107

ENP Entry into the national phase

Ref document number: 2024835375

Country of ref document: EP

Effective date: 20260107

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2024835375

Country of ref document: EP

Effective date: 20260107

WWP Wipo information: published in national office

Ref document number: 2024835375

Country of ref document: EP