Method and device for receiving OAM code blocks

By setting up a detection window in the Metro Transmission Network Path Layer, only OAM code blocks are detected in this window, solving the problems of large hardware resource requirements and complex implementation in the prior art, and efficient OAM code block detection and alarm are achieved.

JP2025511244APending Publication Date: 2025-04-15CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024558146
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-04-07
Filing Date
2023-04-07
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, when detecting OAM code blocks of Metro Transmission Network Path Layer, hardware resource requirements are large and complex, making it difficult to achieve efficient OAM code block detection.

Method used

By determining a detection window, only the OAM code block of Metro Transmission Network Path Layer is detected within the window, the periodic characteristics of the OAM code block are used to set the position and length of the window, and an OAM loss alarm is generated based on the detection results.

Benefits of technology

The hardware and processing resources required to detect OAM code blocks are reduced, the detection efficiency is improved, and the effective detection and alarm of OAM code blocks are realized through the setting of the periodic detection window.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025511244000001_ABST
    Figure 2025511244000001_ABST
Patent Text Reader

Abstract

The present disclosure discloses a method and device for receiving an OAM code block, the method includes: determining a window for a first device to detect a metro transport network path layer OAM code block; and detecting an OAM code block in a code block stream within the window by the first device.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) The present invention claims priority from a Chinese patent application with application number 202210362675.5, filed in China on April 7, 2022, the entire contents of which are incorporated herein by reference. The present disclosure relates to the field of data communication technology, and in particular to a method and device for receiving OAM code blocks. [Background technology]

[0002] The 5th generation mobile communications thWith the development of 5G (Advanced Generation) and the increase of vertical industry users, the demand for network slicing is increasing. The industry has made many useful explorations on slicing isolation technologies based on Ethernet. For example, Flexible Ethernet (FlexE) technology provides a slicing mechanism based on Ethernet physical interfaces and can provide an effective interface-level isolation mechanism. However, FlexE is currently only an interface-level technology and cannot meet the network construction requirements of operators. Metro Transport Network (MTN) is a new transport network technology system defined to meet new business needs such as 5G, which can realize the effective fusion of Time Division Multiplexing (TDM) and packet switching, and is composed of a section layer and a path layer. The metro transmission section layer reuses FlexE logic to support port binding and is compatible with Ethernet basic protocol stacks and standard Ethernet optical modules. The metro transport network Path layer supports time division multiplexing (TDM) switching based on 66B code blocks, has a complete end-to-end operation, administration and maintenance (OAM) mechanism, and supports cross-multiplexing of any Nx5G channelized client signals. 66B encoding is a standard encoding method that reduces encoding overhead and hardware complexity. 66B encoding transmits 64-bit data or control information by encoding it into a 66-bit bit block (code block). The first two bits of the 66 bits represent a synchronous header and are mainly used for data alignment on the receiving side and synchronization of the received data bit stream.

[0003] OAM in the MTN technology path layer is carried through 66B code blocks, including basic message code blocks (B code blocks), Automatic Protection Switching (APS) code blocks (A code blocks), low priority message code blocks (L code blocks), etc., which are inserted into the code stream at regular intervals. Through the complete OAM function, link connectivity detection and performance detection can be realized, protection switching can be triggered in a timely manner, and the OAM functions of operation, management and maintenance of each layer network can be realized.

[0004] As an operation and maintenance mechanism, MTN Path layer OAM needs to detect and receive accurately. In the conventional technology, OAM code block detection is performed for each code block from the code block stream, which requires large hardware resources and is complicated to implement. Summary of the Invention [Problem to be solved by the invention]

[0005] At least one embodiment of the present disclosure provides a method and apparatus for receiving OAM code blocks to achieve more efficient detection of OAM code blocks and reduce processing resources required for detection. [Means for solving the problem]

[0006] In order to solve the above technical problems, the present disclosure is realized as follows. In a first aspect, an embodiment of the present disclosure provides a method for receiving an OAM code block, comprising: determining a window for detecting a metro transport network path layer OAM code block by the first device; and detecting, by the first device, an OAM code block in the code block stream within the window. Optionally, determining a window for detecting a metro transport network path layer OAM code block by the first device comprises: When the first device detects at least one OAM code block, determining the window based on a position of the detected OAM code block and an OAM code block period.

[0007] Optionally, determining the window based on a position and an OAM code block period of a detected OAM code block includes: The method includes determining location points at which the OAM code blocks periodically appear based on the detected positions of the OAM code blocks and the OAM code block period, and setting each time window including the location points as the window.

[0008] Optionally, the length of the window is determined based on a preset percentage of an OAM code block period.

[0009] Optionally, the method further comprises: If the OAM code block period is changed, the position and / or length of the window is adjusted based on the changed OAM code block period.

[0010] Optionally, before determining a window for detecting a metro transport network path layer OAM code block, the method further comprises: The first device detects the code block stream for each code block based on the control code block field and the O code field to detect at least one OAM code block.

[0011] Optionally, the method further comprises: obtaining a first detection result of the OAM code block in each window; generating an OAM loss alarm if the first detection result satisfies a first condition.

[0012] Optionally, the first condition is: a window in which no consecutive OAM code blocks have been detected reaches a first quantity; a third number of consecutive detection windows during which no OAM code blocks are detected, the third number being less than the second number; and not detecting an OAM code block within the first time range.

[0013] Optionally, after generating the OAM loss alert, the method further comprises: Obtaining a second detection result of the OAM code block in each window; and and clearing the OAM loss alarm if the second detection result satisfies a second condition.

[0014] Optionally, the second condition is: the window detecting consecutive OAM code blocks reaches a fourth quantity; a sixth number of OAM code block detection windows are reached within a fifth number of consecutive detection windows, the sixth number being less than the fifth number; and detecting an OAM code block within the second time range.

[0015] Optionally, the method further comprises: detecting the OAM code block represents detecting an OAM code block within a window, and a type of the detected OAM code block matches a transmission sequence order of the OAM code block type; The failure to detect the OAM code block indicates that an OAM code block has not been detected within the window, or that the type of the OAM code block detected within the window does not match the transmission sequence order of the OAM code block type.

[0016] Optionally, the method further comprises: For a preset type OAM code block, obtaining a third detection result within each first window of the preset type OAM code block, where the first window is a window for detecting the preset type OAM code block; generating an OAM loss alarm of the preset type when the third detection result satisfies a third condition.

[0017] Optionally, the third condition is: the first window during which no consecutive OAM code blocks of the preset type have been detected reaches a seventh quantity; a ninth number of first detection windows that have not detected an OAM code block of the preset type within an eighth number of consecutive first detection windows, the ninth number being less than the eighth number; and not detecting an OAM code block of the preset type within a third time range.

[0018] Selectably, after generating the preset type of OAM loss alert, the method further comprises: For the preset type OAM code block, obtaining a fourth detection result within each first window of the preset type OAM code block; and canceling the preset type OAM loss alarm if the fourth detection result satisfies a fourth condition.

[0019] Optionally, the fourth condition is: a first window of detecting consecutive OAM code blocks of the preset type reaches a tenth quantity; a first window detecting OAM code blocks of the preset type reaches a twelfth number within an eleventh number of consecutive first detection windows, the twelfth number being less than an eleventh number; and detecting an OAM code block of the preset type within a fourth time range.

[0020] Optionally, for different types of OAM code blocks, the conditions for detecting OAM code block loss may be the same or different.

[0021] In a second aspect, an embodiment of the present disclosure is a communications device, comprising: A first determining module configured to determine a window for detecting a metro transport network path layer OAM code block; a first detection module configured to detect an OAM code block in a code block stream within the window.

[0022] In a third aspect, an embodiment of the present disclosure provides a communications device comprising a processor, a memory, and a program stored in the memory and executable by the processor, the program implementing steps of the method of the first aspect when executed by the processor.

[0023] In a fourth aspect, an embodiment of the present disclosure provides a computer readable storage medium having a program stored thereon, the program implementing the steps of the above method when executed by a processor. Effect of the Invention

[0024] Compared with related technologies, the operation, management and maintenance OAM code block receiving method and device of the embodiment of the present disclosure sets a window to detect OAM code blocks only within the window based on the characteristics of periodic transmission of MTN Path layer OAM code blocks and the characteristics of the code block frame format, thereby avoiding problems such as large hardware resources required for detection and complex implementation due to detecting OAM code blocks for each code block, thereby realizing more effective detection of OAM code blocks and reducing the processing resources required for detection. [Brief description of the drawings]

[0025] [Figure 1] 1 is a flowchart of a method for receiving an OAM code block according to an embodiment of the present disclosure. [Diagram 2] 1 is a schematic diagram of the structure of an OAM code block. [Diagram 3] FIG. 2 is an exemplary diagram of a window according to an embodiment of the present disclosure. [Figure 4] 1 is a schematic diagram of the transmission order of different types of OAM code blocks; [Diagram 5] FIG. 2 is a structural schematic diagram of a communication device according to one embodiment of the present disclosure. [Figure 6] FIG. 13 is a structural schematic diagram of a communication device according to another embodiment of the present disclosure. [Figure 7] FIG. 13 is a structural schematic diagram of a communication device according to yet another embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of alternative embodiments. The drawings are only for the purpose of illustrating alternative embodiments and should not be considered as limitations on the present disclosure. Also, in the drawings, the same reference numerals are used to indicate the same parts.

[0027] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be realized in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to more clearly understand the present disclosure and fully convey the scope of the present disclosure to those skilled in the art.

[0028] The terms "first", "second", and the like in the specification and claims of the present disclosure are used to distinguish between similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that the data used in this manner are interchangeable where appropriate, such that the embodiments of the present disclosure described herein may be performed, for example, in an order other than that shown or described herein. Furthermore, the terms "comprises" and "comprises", and any variations thereof, are intended to cover non-exclusive inclusions, such as, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to the steps or units expressly listed, but may include other steps or units not expressly listed or inherent to those processes, methods, products, or apparatus. "And / or" in the specification and claims means at least one of the connected objects.

[0029] The following description provides examples and is not intended to limit the scope, applicability, or configuration of the claimed invention. The function and arrangement of the elements discussed may be modified without departing from the spirit and scope of the present disclosure. In various examples, various provisions or components may be omitted, substituted, or added as appropriate. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Also, features described with reference to some examples may be combined in other examples.

[0030] As described in the background art, in the related art, when detecting an OAM code block from an MTN Path layer, it is necessary to detect the OAM code block for each code block from the code block stream, which causes problems such as large hardware resources required for detection and complex implementation. An embodiment of the present disclosure provides an operation, management and maintenance OAM code block receiving method to solve at least one of the above problems. As shown in FIG. 1, the method includes the following steps 11 and 12.

[0031] In step 11, the first device determines a window for detecting a metro transport network path layer OAM code block.

[0032] The code block or OAM code block in this specification refers to a 66-bit bit block generated by using 66B encoding technology. Compared with the method of detecting every code block, the embodiment of the present disclosure determines a window for detecting the OAM code block based on the possible positions of the OAM code block, and the window is also called a receiving window or a detection window.

[0033] In step 12, the first device detects an OAM code block in the code block stream within the window.

[0034] Here, according to the embodiment of the present disclosure, by detecting OAM code blocks within a determined window, problems such as large hardware resources required for detection and complex implementation due to OAM code block detection for each code block can be avoided. Because the window is set based on the possible positions of OAM code blocks, the embodiment of the present disclosure can realize more effective OAM code block detection and reduce the processing resources required for detection.

[0035] In the above step 11, when the first device detects at least one OAM code block, the window can be determined based on the position of the detected OAM code block and an OAM code block period. Usually, to ensure that at least one OAM code block in the code block stream is detected, the first device needs time to scan and identify at least one OAM code block period. The OAM code block period is a transmission period of an OAM code block.

[0036] Before step 11, the first device can detect the code block stream code block by code block according to the control code block field and the O code field, and detect at least one OAM code block. Specifically, the first device can detect the OAM code block of the code block stream of the metro transmission network path layer by adopting a code block by code block detection manner, for example, the first device can start searching for the OAM code block in the 66B code block stream of the metro transmission network path layer MTN Path layer, and identify the OAM code block according to 0x4B (control code block field) and 0xC (O code field) of the 66B code block, where the positions of 0x4B and 0xC are as shown in FIG. 2.

[0037] When at least one OAM code block is detected in step 11, the embodiment of the present disclosure can determine periodic windows for detecting OAM code blocks based on the position of the detected OAM code block and the OAM code block period. These windows are periodically overlapping and have a period size equal to the OAM code block period. Specifically, based on the position of the detected OAM code block and the OAM code block period, a position point of the periodically occurring OAM code block can be determined, and then each time window including the position point can be the window.

[0038] For example, after identifying one or more OAM code blocks (usually, it takes at least one or more OAM periods to scan and identify), the first device can determine a window of a subsequent OAM code block based on the currently identified OAM code block position and the OAM code block period. Specifically, as shown in FIG. 3, based on the position of the identified OAM code block, a position point that is an integer multiple of the OAM code block period T away from the position is determined, and a window of a certain width including the position point is generated for each position point. For example, as shown in FIG. 3, assuming that an OAM code block is identified at position t0 and the time length of the window is δ, the start point on the time axis of each subsequent window is t0+n*T-0.5δ and the end point is t0+n*T+0.5δ. Here, n is an integer equal to or greater than 1.

[0039] In an embodiment of the present disclosure, the time length of the window is related to the OAM period, for example, the length of the window is determined based on a preset percentage of the OAM code block period. That is, the window size can be set to a certain percentage of the OAM period. For example, if the OAM code block period is T, the window size can be set to 5%T. If the OAM code block period changes, the position and / or length of the window is adjusted based on the changed OAM code block period.

[0040] Thus, in the above step 12, the first device can detect OAM code blocks in the metro transmission network path layer code block stream based on the determined window, i.e., OAM code block detection is not performed outside the window, but only within the window. Specifically, within each window, the first device receives and identifies OAM code blocks. The OAM code blocks can be identified by 0x4B (control code block field) and 0xC (O code field) of the 66B code block.

[0041] According to the above steps, the embodiment of the present disclosure can avoid problems such as large hardware resources required for detection and complex implementation due to detecting OAM code blocks for each code block. Because the window is set based on the possible positions of OAM code blocks, the embodiment of the present disclosure can realize more effective detection of OAM code blocks and reduce the processing resources required for detection.

[0042] In addition, the embodiment of the present disclosure can further identify different types of OAM code blocks in step 12, such as a basic message (B code block), an Automatic Protection Switching message (A code block), a CV message code block (connectivity verification) in a low priority message (L code block), and a CS message code block (Client signal information). As shown in FIG. 2, identifying different types of OAM code blocks can be identified by a type field in a 66B code block. Specifically, the type field is located at byte 1 in the 66B code block.

[0043] In practical application, OAM code blocks may be lost due to transmission or equipment failure, etc. The embodiment of the present disclosure may obtain a detection result (for convenience of description, referred to herein as a first detection result) of an OAM code block in each window for the above situation, and the detection result is used to indicate whether an OAM code block is detected in a corresponding window. If the first detection result satisfies a first condition, generate an OAM loss alarm. Specifically, the first condition may include at least one of the following 1) to 3).

[0044] 1) A window during which no consecutive OAM code blocks have been detected reaches a first quantity, the first quantity being an integer greater than or equal to 1. For example, no OAM code block has been detected within m consecutive windows (m is an integer equal to or greater than 1). 2) Within a second number of consecutive detection windows, the number of windows in which no OAM code blocks are detected reaches a third number, the third number and the second number both being integers greater than or equal to 1, and the third number being less than the second number. For example, an OAM code block has not been detected within p windows out of q consecutive windows (where q and p are both integers equal to or greater than 1, and p is less than q). 3) No OAM code block is detected within the first time range. The first time range represents a preset time during which no OAM code block has been detected.

[0045] After generating an OAM loss alarm, the embodiment of the present disclosure may further obtain a detection result of an OAM code block in each window (for convenience of description, referred to herein as a second detection result). If the second detection result satisfies a second condition, the OAM loss alarm is cleared. Specifically, the second condition may include at least one of the following 1) to 3):

[0046] 1) A window for detecting consecutive OAM code blocks reaches a fourth quantity, the fourth quantity being an integer greater than or equal to one. For example, the OAM code block is detected within k consecutive windows (k is an integer equal to or greater than 1). 2) Within a fifth number of consecutive detection windows, the window detecting the OAM code block reaches a sixth number, the fifth number and the sixth number are both integers equal to or greater than 1, and the sixth number is less than the fifth number. For example, an OAM code block is detected within z windows out of w consecutive windows (where w and z are both integers equal to or greater than 1, and z is less than w). 3) An OAM code block is detected within the second time range. The second time range also represents a preset time within which the OAM code block is detected.

[0047] In an embodiment of the present disclosure, detecting the OAM code block may represent detecting an OAM code block within a window, and the type of the detected OAM code block is consistent with a transmission sequence order of the OAM code block type, and not detecting the OAM code block may represent not detecting an OAM code block within a window, or the type of the detected OAM code block within a window is not consistent with a transmission sequence order of the OAM code block type.

[0048] For example, the OAM code block type corresponding to a certain window is a B code block according to the transmission sequence order of the OAM code block types. If a B code block is detected within the window, it is determined that an OAM code block is detected within the window, and if no OAM code block is detected within the window or if another type of OAM code block is detected (i.e., the detected OAM code block is not a B code block), it is determined that an OAM code block is not detected within the window.

[0049] In an embodiment of the present disclosure, the first device not only identifies and determines the received OAM code block type in a window, but also further determines whether the received OAM code block type matches a transmission sequence pattern of the OAM code block type.

[0050] For example, assume that the transmitting MTN OAM transmits OAM code blocks according to the BABL order, where B in the BABL represents a B code block, A represents an A code block, and L represents an L code block. If the OAM code block type identified by the first device in a window does not match the expected transmission order, it determines that it has not detected an OAM code block. For example, a B code block is detected in the window after a B code block, which does not match the expected transmission order.

[0051] Additionally, embodiments of the present disclosure may further provide more detailed OAM code block loss alerts for different types of OAM code blocks.

[0052] For example, for a preset type OAM code block, obtain a third detection result in each first window of the preset type OAM code block, where the first window is a window for detecting the preset type OAM code block. Specifically, the position of the first window can be determined based on a transmission sequence order of the OAM code block type. Then, generate an OAM loss alarm of the preset type when the third detection result satisfies a third condition.

[0053] Specifically, the third condition may include at least one of the following 1) to 3). 1) The first window during which no consecutive OAM code blocks of the preset type have been detected reaches a seventh quantity, the seventh quantity being an integer greater than or equal to 1. 2) Within an eighth number of consecutive first detection windows, the first windows that have not detected an OAM code block of the preset type reach a ninth number, the eighth number and the ninth number are both integers greater than or equal to 1, and the ninth number is less than the eighth number. 3) No OAM code block of the preset type is detected within a third time range. A third time range represents a preset time during which no OAM code block of the preset type has been detected.

[0054] After generating the preset type OAM loss alarm, the embodiment of the present disclosure further obtains, for the preset type OAM code block, a fourth detection result within each first window of the preset type OAM code block, and can cancel the preset type OAM loss alarm if the fourth detection result satisfies a fourth condition.

[0055] Specifically, the fourth condition may include at least one of the following 1) to 3). 1) A first window of detecting consecutive OAM code blocks of the preset type reaches a tenth quantity, the tenth quantity being an integer equal to or greater than one. 2) Within an 11th number of consecutive first detection windows, the first window detecting the preset type OAM code block reaches a 12th number, the 11th number and the 12th number are both integers greater than or equal to 1, and the 12th number is less than the 11th number. 3) An OAM code block of the preset type is detected within a fourth time range. The fourth time range represents a preset time within which an OAM code block of the preset type is detected.

[0056] In the embodiments of the present disclosure, for different types of OAM code blocks, the conditions for detecting OAM code block loss may be the same or different, for example, the third time range for an A code block may be the same or different from the third time range for a B code block.

[0057] Through the above steps, the embodiment of the present disclosure can generate an OAM loss alarm (defect) when one OAM code block or multiple OAM code blocks are not detected within a certain time. Loss alarms can also be generated for basic messages, APS messages, CV messages, CS messages, etc. according to different OAM types. For example, when one basic message OAM code block or multiple basic message OAM code blocks are not detected within a certain time, a basic message OAM loss alarm (basic message defect) is generated. Different OAM types may have the same or different loss detection times. After generating a loss alarm, if one OAM code block or multiple consecutive OAM code blocks are detected within a subsequent window, the loss alarm is cleared. When different OAM code block type alarms are to be distinguished, detection and clearing should be performed for different OAM code block types respectively.

[0058] As can be seen from the above, the embodiments of the present disclosure fully utilize the periodic transmission characteristics of MTN Path layer OAM code blocks and the characteristics of the code block frame format to achieve more efficient reception and detection and consume less processing resources.

[0059] Various methods according to the embodiments of the present disclosure have been introduced above. The following further provides an apparatus for implementing the above methods.

[0060] Referring to FIG. 5 , an embodiment of the present disclosure further provides a communication device 500 , which includes a first determining module 501 and a first detecting module 502 .

[0061] The first determining module 501 is configured to determine a window for detecting a metro transport network path layer OAM code block.

[0062] The first detection module 502 is configured to detect an OAM code block in the code block stream within the window.

[0063] Optionally, the first determining module is further configured to, upon detecting at least one OAM code block, determine the window based on a position of the detected OAM code block and an OAM code block period.

[0064] Optionally, the first determination module is further configured to determine location points of periodically occurring OAM code blocks based on the positions of the detected OAM code blocks and an OAM code block period, and define each time window including the location points as the window.

[0065] Optionally, the length of the window is determined based on a preset percentage of an OAM code block period.

[0066] Optionally, the communication device further comprises: and a first adjustment module configured to adjust a position and / or a length of the window based on the changed OAM code block period when the OAM code block period is changed.

[0067] Optionally, the communication device further comprises: The metro transmission network includes a second detection module configured to detect the code block stream code block by code block based on the control code block field and the O code field before determining a window for detecting the path layer OAM code block, and to detect at least one OAM code block.

[0068] Optionally, the communication device further comprises: and a first alarm module configured to obtain a first detection result of an OAM code block in each window, and generate an OAM loss alarm if the first detection result satisfies a first condition.

[0069] Optionally, the first condition is: a window in which no consecutive OAM code blocks have been detected reaches a first quantity; a third number of consecutive detection windows during which no OAM code blocks are detected, the third number being less than the second number; and not detecting an OAM code block within the first time range.

[0070] Optionally, the communication device further comprises: and a first resolution module configured to obtain a second detection result of the OAM code block in each window after generating an OAM loss alarm, and resolve the OAM loss alarm if the second detection result satisfies a second condition.

[0071] Optionally, the second condition is: the window detecting consecutive OAM code blocks reaches a fourth quantity; a sixth number of OAM code block detection windows are reached within a fifth number of consecutive detection windows, the sixth number being less than the fifth number; and detecting an OAM code block within the second time range.

[0072] Optionally, detecting the OAM code block represents detecting an OAM code block within a window, where a type of the detected OAM code block matches a transmission sequence order of the OAM code block type; The failure to detect the OAM code block indicates that an OAM code block has not been detected within the window, or that the type of the OAM code block detected within the window does not match the transmission sequence order of the OAM code block type.

[0073] Optionally, the communication device further comprises a second alarm module; The second alarm module is For a preset type OAM code block, the system is configured to: obtain a third detection result within each first window of the preset type OAM code block, the first window being a window for detecting a preset type OAM code block; and generate an OAM loss alarm of the preset type if the third detection result satisfies a third condition.

[0074] Optionally, the third condition is: the first window during which no consecutive OAM code blocks of the preset type have been detected reaches a seventh quantity; a ninth number of first detection windows that have not detected an OAM code block of the preset type within an eighth number of consecutive first detection windows, the ninth number being less than the eighth number; and not detecting an OAM code block of the preset type within a third time range.

[0075] Optionally, the communication device further comprises: and a second resolution module configured to, after generating the preset type OAM loss alarm, obtain, for the preset type OAM code block, a fourth detection result within each first window of the preset type OAM code block, and resolve the preset type OAM loss alarm if the fourth detection result satisfies a fourth condition.

[0076] Optionally, the fourth condition is: a first window of detecting consecutive OAM code blocks of the preset type reaches a tenth quantity; a first window detecting OAM code blocks of the preset type reaches a twelfth number within an eleventh number of consecutive first detection windows, the twelfth number being less than an eleventh number; and detecting an OAM code block of the preset type within a fourth time range.

[0077] Optionally, for different types of OAM code blocks, the conditions for detecting OAM code block loss may be the same or different.

[0078] It should be noted that the device in the embodiment is a device corresponding to the above method, and the implementation forms in each of the above embodiments can be applied to the device embodiment to achieve the same technical effect. The device according to the embodiment of the present disclosure can achieve all the method steps realized by the above method embodiment, and achieve the same technical effect, and the same parts and beneficial effects as those of the method embodiment in this embodiment will not be described in detail here.

[0079] Referring to FIG. 6 , an embodiment of the present disclosure further provides a communication device 600 , which includes a transceiver 601 and a processor 602 .

[0080] The processor 602 is configured to determine a window for detecting a metro transport network path layer OAM code block.

[0081] The transceiver 601 is configured to detect an OAM code block in a code block stream within the window.

[0082] Optionally, the processor is further configured, upon detecting at least one OAM code block, to determine the window based on a position of the detected OAM code block and an OAM code block period.

[0083] Optionally, the processor is further configured to determine location points of periodically occurring OAM code blocks based on the positions of the detected OAM code blocks and the OAM code block period, and define each time window that includes the location points as the window.

[0084] Optionally, the length of the window is determined based on a preset percentage of an OAM code block period.

[0085] Optionally, the processor is further configured to, if an OAM code block period changes, adjust a position and / or a length of the window based on the changed OAM code block period.

[0086] Optionally, the processor is further configured to detect the code block stream code block by code block based on the control code block field and the O code field to detect at least one OAM code block before determining a window for detecting metro transport network path layer OAM code blocks.

[0087] Optionally, the processor is further configured to obtain a first detection result of an OAM code block within each window, and generate an OAM loss alarm if the first detection result satisfies a first condition.

[0088] Optionally, the first condition is: a window in which no consecutive OAM code blocks have been detected reaches a first quantity; a third number of consecutive detection windows during which no OAM code blocks are detected, the third number being less than the second number; and not detecting an OAM code block within the first time range.

[0089] Optionally, the processor is further configured to obtain a second detection result of the OAM code blocks in each window after generating the OAM loss alarm, and to resolve the OAM loss alarm if the second detection result satisfies a second condition.

[0090] Optionally, the second condition is: the window detecting consecutive OAM code blocks reaches a fourth quantity; a sixth number of OAM code block detection windows are reached within a fifth number of consecutive detection windows, the sixth number being less than the fifth number; and detecting an OAM code block within the second time range.

[0091] Optionally, detecting the OAM code block represents detecting an OAM code block within a window, where a type of the detected OAM code block matches a transmission sequence order of the OAM code block type; The failure to detect the OAM code block indicates that an OAM code block has not been detected within the window, or that the type of the OAM code block detected within the window does not match the transmission sequence order of the OAM code block type.

[0092] Optionally, the processor further comprises: For a preset type OAM code block, the system is configured to: obtain a third detection result within each first window of the preset type OAM code block, where the first window is a window for detecting the preset type OAM code block; and generate an OAM loss alarm of the preset type if the third detection result satisfies a third condition.

[0093] Optionally, the third condition is: the first window during which no consecutive OAM code blocks of the preset type have been detected reaches a seventh quantity; a ninth number of first detection windows that have not detected an OAM code block of the preset type within an eighth number of consecutive first detection windows, the ninth number being less than the eighth number; and not detecting an OAM code block of the preset type within a third time range.

[0094] Optionally, the processor is further configured to, after generating the preset type OAM loss alarm, obtain, for the preset type OAM code block, a fourth detection result within each first window of the preset type OAM code block, and cancel the preset type OAM loss alarm if the fourth detection result satisfies a fourth condition.

[0095] Optionally, the fourth condition is: a first window of detecting consecutive OAM code blocks of the preset type reaches a tenth quantity; a first window detecting OAM code blocks of the preset type reaches a twelfth number within an eleventh number of consecutive first detection windows, the twelfth number being less than an eleventh number; and detecting an OAM code block of the preset type within a fourth time range.

[0096] Optionally, for different types of OAM code blocks, the conditions for detecting OAM code block loss may be the same or different.

[0097] It should be noted that the device in the embodiment is a device corresponding to the above method, and the implementation forms in each of the above embodiments can be applied to the device embodiment to achieve the same technical effect. The device according to the embodiment of the present disclosure can achieve all the method steps realized by the above method embodiment, and achieve the same technical effect, and the same parts and beneficial effects as those of the method embodiment in this embodiment will not be described in detail here.

[0098] Referring to FIG. 7, an embodiment of the present disclosure further provides a communication device 700, including a processor 701, a memory 702, and a computer program stored in the memory 702 and executable by the processor 701, whereby each process of the embodiment of the method for receiving the above-mentioned OAM code block can be realized when the computer program is executed by the processor 701, and the same technical effect can be achieved, and the description thereof will be omitted here to avoid duplication.

[0099] The embodiments of the present disclosure further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned embodiment of the method for receiving an OAM code block is realized, and the same technical effects can be achieved, and in order to avoid duplication, the description will be omitted here. Here, the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0100] It should be noted that, in this context, the terms "comprise," "have," or any other variant thereof, imply a non-exclusive inclusion, such that a process, method, article, or apparatus in which a set of elements is included not only includes those elements, but also includes other elements not expressly listed, or includes additional elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element qualified by the phrase "comprises a..." does not exclude the presence of other identical additional elements in the process, method, article, or apparatus in which the element is included.

[0101] From the above description of the embodiments, it is clear to those skilled in the art that the methods of the above embodiments can be realized in the form of adding a general-purpose hardware platform required for software, and of course can also be realized in the form of hardware alone, but in many cases, the former is a more preferred embodiment. Based on this understanding, the technical solution of the present disclosure, essentially or in part contributing to the related art, is expressed in the form of a software product, and the computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk), contains multiple instructions, and is used to make a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) execute the methods described in each embodiment of the present disclosure.

[0102] It is understood that the embodiments described in the present disclosure can be realized by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware realization, the modules, units, sub-modules, sub-units, etc. can be realized by one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller, microprocessor, and other electronic units for performing the above functions described in the present disclosure, or a combination thereof.

[0103] The above describes examples of the present disclosure with reference to the accompanying drawings. However, the present disclosure is not limited to the above specific embodiments, which are merely illustrative and not limiting. Those skilled in the art can make many modifications based on the teachings of the present disclosure without departing from the spirit of the present disclosure and the scope of the claims, and all of these modifications belong to the scope of the present disclosure.

Claims

1. 1. A method for receiving an OAM code block, comprising: determining a window for the first device to detect a metro transport network path layer OAM code block; and detecting, by the first device, an OAM code block in the code block stream within the window.

2. Determining a window for detecting a metro transport network path layer OAM code block by the first device includes:

2. The method of claim 1, further comprising, when the first device detects at least one OAM code block, determining the window based on a position of the detected OAM code block and an OAM code block period.

3. determining the window based on a position of the detected OAM code block and an OAM code block period; 3. The method of claim 2, further comprising: determining location points of periodically occurring OAM code blocks based on the positions of the detected OAM code blocks and the OAM code block period; and determining each time window including the location points as the window.

4. The method of claim 1 , wherein the length of the window is determined based on a preset percentage of an OAM code block period.

5. The method further comprises: The method of claim 1 , further comprising, if an OAM code block period is changed, adjusting a position and / or a length of the window based on the changed OAM code block period.

6. Before determining a window for detecting a metro transport network path layer OAM code block, the method further comprises:

2. The method of claim 1, comprising the first device detecting the code block stream on a code block by code block basis based on a control code block field and an O code field to detect at least one OAM code block.

7. The method further comprises: Obtaining a first detection result of the OAM code block in each window; and generating an OAM loss alarm if the first detection result satisfies a first condition.

8. The first condition is: a window during which no consecutive OAM code blocks have been detected reaches a first quantity; a third number of consecutive detection windows during which no OAM code block is detected, the third number being less than the second number; and 8. The method of claim 7, further comprising at least one of: not detecting an OAM code block within a first time range.

9. After generating the OAM loss alert, the method further comprises: Obtaining a second detection result of the OAM code block in each window; and clearing the OAM loss alarm if the second detection result satisfies a second condition.

10. The second condition is: the window detecting consecutive OAM code blocks reaches a fourth quantity; a sixth number of detection windows of OAM code blocks are reached within a fifth number of consecutive detection windows, the sixth number being less than the fifth number; and 10. The method of claim 9, further comprising at least one of: detecting an OAM code block within a second time range.

11. detecting an OAM code block indicates that an OAM code block is detected within the window, and the type of the detected OAM code block matches the transmission sequence order of the OAM code block type; A method according to any one of claims 7 to 10, wherein not detecting an OAM code block indicates not detecting an OAM code block within the window, or the type of the OAM code block detected within the window does not match the transmission sequence order of the OAM code block type.

12. The method further comprises: For a preset type OAM code block, obtaining a third detection result within each first window of the preset type OAM code block, where the first window is a window for detecting the preset type OAM code block; and generating the preset type of OAM loss alarm if the third detection result satisfies a third condition.

13. The third condition is: the first window during which no consecutive OAM code blocks of the preset type have been detected reaches a seventh quantity; a ninth number of first detection windows in which no OAM code blocks of the preset type have been detected within an eighth number of consecutive first detection windows, the ninth number being less than the eighth number; and and not detecting an OAM code block of the preset type within a third time range.

14. After generating the preset type OAM loss alert, the method further comprises: For the preset type OAM code block, obtaining a fourth detection result within each first window of the preset type OAM code block; 13. The method of claim 12, further comprising: clearing the preset type OAM loss alarm if the fourth detection result satisfies a fourth condition.

15. The fourth condition is: a first window of consecutive OAM code blocks of the preset type reaches a tenth quantity; a first window detecting OAM code blocks of the preset type reaches a twelfth number within an eleventh number of consecutive first detection windows, the twelfth number being less than the eleventh number; and detecting an OAM code block of the preset type within a fourth time range.

16. The method of claim 15, wherein for different types of OAM code blocks, the conditions for detecting OAM code block loss are the same or different.

17. A communication device, A first determining module configured to determine a window for detecting a metro transport network path layer OAM code block; a first detection module configured to detect an OAM code block in the code block stream within the window.

18. A communication device, A processor, a memory, and a program stored in the memory and executable by the processor, A communications device, the program implementing the steps of the method according to any one of claims 1 to 16 when executed by the processor.

19. 1. A computer-readable storage medium, comprising: A computer program is stored in the computer-readable storage medium, A computer readable storage medium, the computer program implementing the steps of the method according to any one of claims 1 to 16 when executed by a processor.

Citation Information

Patent Citations

  • Method for providing path signal overhead in the 64B / 66B character stream of an ITU-T metro transport network

    US10797816B1

  • Distributing timing over Metro Transport Networking

    US20200412471A1