WO2023193788A1 - Method for receiving oam code block, and device - Google Patents
Method for receiving oam code block, and device Download PDFInfo
- Publication number
- WO2023193788A1 WO2023193788A1 PCT/CN2023/086874 CN2023086874W WO2023193788A1 WO 2023193788 A1 WO2023193788 A1 WO 2023193788A1 CN 2023086874 W CN2023086874 W CN 2023086874W WO 2023193788 A1 WO2023193788 A1 WO 2023193788A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- oam
- code block
- window
- oam code
- detected
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/34—Signalling channels for network management communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1829—Arrangements specially adapted for the receiver end
- H04L1/1832—Details of sliding window management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0057—Block codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2852—Metropolitan area networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
Definitions
- the present disclosure relates to the field of data communication technology, and specifically relates to a method and device for receiving OAM code blocks.
- Ethernet-based slicing isolation technology provides a slicing mechanism based on Ethernet physical interfaces and can provide an effective interface-level isolation mechanism.
- FlexE is currently only an interface-level technology and cannot meet the networking requirements of operator networks.
- Metro Transport Network (MTN) is a new transport network technology system defined for new business requirements such as 5G. It can realize the effective integration of Time Division Multiplexing (TDM) and packet switching. It is composed of Section ) layer and channel (Path) layer.
- the metro transport section layer reuses FlexE logic to support port binding and is compatible with the Ethernet underlying protocol stack and standard Ethernet optical modules; the metro transport network Path layer supports time division multiplexing (TDM) switching based on 66B code blocks, with complete terminal
- TDM time division multiplexing
- OAM Operation Administration and Maintenance
- 66B encoding is a standard encoding method that reduces encoding overhead and hardware complexity.
- 66B encoding encodes 64-bit data or control information into 66-bit bit blocks (code blocks) for transmission. The first two bits of the 66-bit bits represent the synchronization header, which is mainly used for data alignment at the receiving end and the reception of the data bit stream. Synchronize.
- OAM at the MTN technology Path layer is carried through 66B code blocks, including basic message (basic message) code blocks (B code blocks), automatic protection switching (Automatic Protection Switching, APS) code blocks (A code blocks), low priority Level message (Low priority message) code block (L code block) and other types, and are inserted and carried in the code stream according to a certain period.
- OAM as an operation and maintenance mechanism, requires correct detection and reception.
- OAM code block detection needs to be performed block by block from the code block stream.
- the detection requires large hardware resources and is complex to implement.
- At least one embodiment of the present disclosure provides a method and device for receiving OAM code blocks, which are used to implement more effective OAM code block detection and reduce processing resources required for detection.
- embodiments of the present disclosure provide a method for receiving OAM code blocks, including:
- the first device determines a window for detecting OAM code blocks at the channel layer of the metropolitan area transport network
- the first device detects OAM code blocks in the code block stream within the window.
- the first device determines a window for detecting OAM code blocks at the metro transport network channel layer, including:
- the first device After detecting at least one OAM code block, the first device determines the window based on the position of the detected OAM code block and the OAM code block period.
- determine the window based on the detected position of the OAM code block and the OAM code block period including:
- the position point where the OAM code block periodically appears is determined; each time window including the position point is used as the window.
- the length of the window is determined according to a preset ratio of the OAM code block period.
- the method also includes:
- the position and/or length of the window is adjusted according to the changed OAM code block period.
- the method before determining a window for detecting OAM code blocks at the metro transport network channel layer, the method further includes:
- the first device detects the code block stream block by block according to the control code block field and the O code field. Test, and at least one OAM code block is detected.
- the method also includes:
- the first condition includes at least one of the following:
- the window in which consecutive OAM code blocks are not detected reaches the first number
- the windows in which OAM code blocks are not detected reach a third number, and the third number is smaller than the second number;
- the method further includes:
- the OAM loss alarm is eliminated.
- the second condition includes at least one of the following:
- the window in which OAM code blocks are continuously detected reaches the fourth number
- the windows in which OAM code blocks are detected reach the sixth number, and the sixth number is less than the fifth number;
- the OAM code block is detected within the second time range.
- the method also includes:
- the detection of the OAM code block means that the OAM code block is detected within the window, and the type of the OAM code block detected matches the sending sequence sequence of the OAM code block type;
- the non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
- the method also includes:
- the OAM code block of the preset type For the OAM code block of the preset type, obtain the third detection result of the OAM code block of the preset type within each first window, wherein the first window is a window used to detect the OAM code block of the preset type;
- the OAM loss alarm of the preset type is generated.
- the third condition includes at least one of the following:
- the first window in which consecutive OAM code blocks of the preset type are not detected reaches a seventh number
- the number of first windows in which the OAM code blocks of the preset type are not detected reaches a ninth number, and the ninth number is less than the eighth number;
- the OAM code block of the preset type is not detected within the third time range.
- the method further includes:
- the preset type of OAM loss alarm is eliminated.
- the fourth condition includes at least one of the following:
- the first window in which the OAM code blocks of the preset type are continuously detected reaches the tenth number
- the first window in which the preset type of OAM code blocks is detected reaches a twelfth number, and the twelfth number is less than the eleventh number;
- the preset type of OAM code block is detected within a fourth time range.
- the conditions for detecting OAM code block loss are the same or different.
- an embodiment of the present disclosure provides a communication device, including:
- the first determination module is used to determine the window used to detect OAM code blocks at the metropolitan transport network channel layer
- the first detection module is used to detect OAM code blocks in the code block stream within the window.
- an embodiment of the present disclosure provides a communication device, including: a processor, a memory, and a program stored on the memory and executable on the processor.
- a communication device including: a processor, a memory, and a program stored on the memory and executable on the processor.
- embodiments of the present disclosure provide a computer-readable storage medium.
- a program is stored on the computer-readable storage medium.
- the program is executed by a processor, the steps of the above method are implemented.
- the operation and maintenance management code block reception method and device provided by the embodiments of the present disclosure set a window according to the characteristics of the periodic transmission of MTN Path layer OAM code blocks and the characteristics of the code block frame format, and only in the window Detect OAM code blocks within the code block, thereby avoiding the problems caused by detecting OAM code blocks block by block, which requires large hardware resources and complex implementation, and achieves a more effective OAM code block detection reduces the processing resources required for detection.
- Figure 1 is a flow chart of a method for receiving OAM code blocks according to an embodiment of the present disclosure
- Figure 2 is a schematic structural diagram of an OAM code block
- Figure 3 is an example diagram of a window according to an embodiment of the present disclosure.
- FIG. 4 is a schematic diagram of the sending sequence of different types of OAM code blocks
- Figure 5 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure.
- Figure 6 is a schematic structural diagram of a communication device according to another embodiment of the present disclosure.
- Figure 7 is a schematic structural diagram of a communication device according to another embodiment of the present disclosure.
- an embodiment of the present disclosure provides a method for receiving operation and maintenance management code blocks. As shown in Figure 1, the method includes:
- Step 11 The first device determines a window for detecting OAM code blocks at the channel layer of the metropolitan area transport network.
- the code block or OAM code block described in this article refers to a 66-bit bit block generated using 66B encoding technology. Compared to detecting code blocks one by one, the embodiment of the present disclosure determines a window for detecting the OAM module based on the possible positions of the OAM code blocks. This window may also be called a receiving window or a detection window.
- Step 12 The first device detects OAM code blocks in the code block stream within the window.
- the embodiment of the present disclosure detects the OAM module within a determined window, thereby avoiding problems such as detecting OAM code blocks block by block, which requires large hardware resources and is complex to implement. Since the window is set according to the possible position of the OAM code block, the embodiments of the present disclosure can achieve more effective OAM code block detection and reduce the processing resources required for detection.
- the first device may determine the window based on the position of the detected OAM code block and the OAM code block period.
- the first device needs to scan and identify at least one OAM code block period.
- the OAM code block period refers to the transmission period of the OAM code block.
- the first device may detect the code block stream block by block according to the control code block field and the O code field, and detect at least one OAM code block.
- the first device can use a code block-by-code block detection method to perform OAM code block detection on the code block stream of the metropolitan area transport network channel layer. For example, the first device starts to detect 66B of the MTN Path layer of the metropolitan area transport network channel layer. Looking for OAM code blocks in the code block stream, you can identify the OAM code blocks through 0x4B (control code block field) and 0xC (O code field) of the 66B code block. The positions of 0x4B and 0xC are shown in Figure 2.
- the embodiment of the present disclosure may determine a window for detecting the periodicity of the OAM code block based on the position of the detected OAM code block and the OAM code block period. These windows are periodically repeated, and their periodic size is equal to the OAM code block period. Specifically, the position point where the OAM code block periodically appears can be determined based on the detected position of the OAM code block and the OAM code block period; then, each time window including the position point is used as the window.
- the first device determines the subsequent OAM code block based on the currently recognized OAM code block position and OAM code block period. window. Specifically, as shown in Figure 3, according to the position of the identified OAM code block, the position point that is an integer multiple of the OAM code block period T is determined from the position, and for each position point, a certain width is generated including the position point.
- the duration of the window is related to the OAM cycle.
- the length of the window is determined according to a preset ratio of the OAM code block period. That is to say, the window size can be set to a certain ratio of the OAM period.
- the OAM code block period is T and the window size is 5% T.
- the first device can detect the OAM code block from the code block stream of the metropolitan area transport network channel layer according to the determined window, that is, the OAM code block is detected only within the window, and the OAM code block is detected outside the window. OAM code blocks are not detected. Specifically, within each window, the first device receives and identifies the OAM code block.
- the OAM code block can be identified by 0x4B (control code block field) and 0xC (O code field) of the 66B code block.
- the embodiments of the present disclosure can avoid the problems caused by detecting OAM code blocks block by block, which requires large hardware resources and is complex to implement. Since the window is set according to the possible position of the OAM code block, the embodiments of the present disclosure can achieve more effective OAM code block detection and reduce the processing resources required for detection.
- the embodiment of the present disclosure can also identify different types of OAM code blocks in step 12, For example, basic message code block (basic message, also known as B code block), APS message code block (Automatic Protection Switching message, also known as A code block), low priority message (Low priority message, L code block) CV message code block (connectivity verification) and CS message code block (Client signal information).
- basic message code block basic message, also known as B code block
- APS message code block Automatic Protection Switching message, also known as A code block
- low priority message Low priority message, L code block
- CV message code block connectivity verification
- CS message code block Client signal information
- different types of OAM code blocks can be identified through the type field in the 66B code block. Specifically, the type field is at the position of byte 1 in the 66B code block.
- the embodiments of the present disclosure can obtain the detection results of the OAM code blocks in each window (for convenience of description, here are called the first detection results).
- the detection results are used to indicate whether the OAM code is detected in the corresponding window. piece.
- an OAM loss alarm is generated.
- the first condition may include at least one of the following:
- the window in which consecutive OAM code blocks are not detected reaches a first number, and the first number is an integer greater than or equal to 1.
- n is an integer greater than or equal to 1;
- the windows in which OAM code blocks are not detected reach a third number, the third number and the second number are both integers greater than or equal to 1, and the third number is less than Second quantity.
- no OAM code block is detected in p windows among q consecutive windows, q and p are both integers greater than or equal to 1, and p is less than q.
- the first time range represents a preset period of time during which no OAM code block is detected.
- the embodiment of the present disclosure can further obtain the detection results of the OAM code blocks in each window (for convenience of description, it is called the second detection result here). If the second detection result satisfies the second condition, the OAM loss alarm is eliminated.
- the second condition may include at least one of the following:
- the window in which OAM code blocks are continuously detected reaches a fourth number, and the fourth number is an integer greater than or equal to 1.
- m is an integer with k equal to or equal to 1;
- the window in which the OAM code block is detected reaches the sixth number.
- quantity, the fifth quantity and the sixth quantity are both integers greater than or equal to 1, and the sixth quantity is smaller than the fifth quantity.
- w and z are both integers greater than or equal to 1, and z is smaller than w.
- the second time range also represents a preset time within which the OAM code block is detected.
- the detection of the OAM code block may refer to the detection of the OAM code block within the window, and the type of the detected OAM code block matches the transmission sequence sequence of the OAM code block type.
- the non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
- the OAM code block type corresponding to a certain window is B code block, and if a B code block is detected in the window, it is judged that an OAM code block is detected in the window; If no OAM code block is detected in this window, or other types of OAM code blocks are detected (that is, the detected OAM code block is not a B code block), it is determined that no OAM code block is detected in this window.
- the first device in addition to identifying and determining the received OAM code block type in the window, the first device also determines whether the received OAM code block type conforms to the transmission sequence sequence (pattern) of the OAM code block type.
- the sending end MTN OAM sends OAM code blocks in the order of BABL.
- BABL represents the B code block
- A represents the A code block
- L represents the L code block. If the OAM code block type recognized by the first device within a certain window does not comply with the expected sending order, it is determined that the OAM code block has not been detected. For example, if a B code block is detected in the window after the B code block, it does not meet expectations.
- embodiments of the present disclosure can also implement more detailed OAM code block loss alarms for different types of OAM code blocks.
- a third detection result of a preset type of OAM code block within each first window is obtained, wherein the first window is used to detect the preset type of OAM code block.
- the window specifically, the position of the first window can be determined according to the transmission sequence sequence of the OAM code block type. Then, when the third detection result satisfies the third condition, a OAM loss alarm of the preset type is generated.
- the third condition includes at least one of the following:
- the first window in which the OAM code blocks of the preset type are not continuously detected reaches a seventh number, and the seventh number is an integer greater than or equal to 1.
- the number of first windows in which the OAM code blocks of the preset type are not detected reaches the ninth number, and both the eighth number and the ninth number are greater than or equal to An integer of 1, the ninth quantity is less than the eighth quantity;
- the third time range represents a preset period of time during which the OAM code block of the preset type is not detected.
- the embodiment of the present disclosure can also obtain the fourth detection result of the OAM code block of the preset type in each first window for the OAM code block of the preset type; If the fourth detection result satisfies the fourth condition, the OAM loss alarm of the preset type is eliminated.
- the fourth condition includes at least one of the following:
- the first window in which the OAM code blocks of the preset type are continuously detected reaches a tenth number, and the tenth number is an integer greater than or equal to 1.
- the first window in which the preset type of OAM code blocks is detected reaches the twelfth number, and the eleventh number and the twelfth number are both An integer greater than or equal to 1, and the twelfth quantity is less than the eleventh quantity;
- the fourth time range represents a preset time period, and the OAM code block of the preset type is detected within this time period.
- the conditions for detecting OAM code block loss are the same or different.
- the third time range for the A code block may be the same as or different from the third time range for the B code block.
- the embodiment of the present disclosure can generate an OAM loss alarm (defect) if one OAM code block is not detected or multiple OAM code blocks are not detected within a certain period of time.
- Basic messages, APS messages, CV messages, and CS messages can also be processed according to different OAM types. Wait for a loss alarm to be generated respectively. For example, if one basic message OAM code block is not detected within a certain period of time, or if multiple basic message OAM code blocks are not detected, a basic message OAM loss alarm (basic message defect) is generated. For different OAM types, the time to detect loss can be the same or different. After a loss alarm is generated, if an OAM code block is subsequently detected in the window or multiple OAM code blocks are detected continuously, the loss alarm will be cleared. If the alarms are to distinguish different OAM code block types, they need to be detected and eliminated separately.
- the embodiments of the present disclosure make full use of the characteristics of periodic transmission of MTN Path layer OAM code blocks and the characteristics of the code block frame format, making reception detection more effective and consuming less processing resources.
- an embodiment of the present disclosure also provides a communication device 500, including:
- the first determination module 501 is used to determine the window used to detect OAM code blocks at the metropolitan transport network channel layer;
- the first detection module 502 is used to detect OAM code blocks in the code block stream within the window.
- the first determination module is further configured to determine the window based on the position of the detected OAM code block and the period of the OAM code block after detecting at least one OAM code block.
- the first determination module is also configured to determine the position points where the OAM code blocks periodically appear based on the detected position of the OAM code block and the OAM code block period; time window as said window.
- the length of the window is determined according to a preset ratio of the OAM code block period.
- the communication device also includes:
- the first adjustment module is configured to adjust the position and/or length of the window according to the changed OAM code block period when the OAM code block period changes.
- the communication device also includes:
- the second detection module is used to detect the code block stream block by block according to the control code block field and the O code field before determining the window for detecting the OAM code block at the metro transport network channel layer, and detect at least one OAM code block.
- the communication device also includes:
- the first alarm module is used to obtain the first detection result of the OAM code block in each window; when the first detection result meets the first condition, an OAM loss alarm is generated.
- the first condition includes at least one of the following:
- the window in which consecutive OAM code blocks are not detected reaches the first number
- the windows in which OAM code blocks are not detected reach a third number, and the third number is smaller than the second number;
- the communication device also includes:
- the first elimination module is configured to obtain the second detection result of the OAM code block in each window after the OAM loss alarm is generated; and eliminate the OAM loss alarm if the second detection result satisfies the second condition.
- the second condition includes at least one of the following:
- the window in which OAM code blocks are continuously detected reaches the fourth number
- the windows in which OAM code blocks are detected reach the sixth number, and the sixth number is less than the fifth number;
- the OAM code block is detected within the second time range.
- the detection of the OAM code block means that the OAM code block is detected within the window, and the type of the OAM code block detected matches the sending sequence sequence of the OAM code block type;
- the non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
- the communication device also includes:
- the second alarm module is used to obtain the third detection result of the OAM code block of the preset type in each first window for the OAM code block of the preset type, wherein the first window is used to detect the preset type. the window of the OAM code block; when the third detection result satisfies the third condition, the OAM loss alarm of the preset type is generated.
- the third condition includes at least one of the following:
- the first window in which consecutive OAM code blocks of the preset type are not detected reaches a seventh number
- the number of first windows in which the OAM code blocks of the preset type are not detected reaches a ninth number, and the ninth number is less than the eighth number;
- the OAM code block of the preset type is not detected within the third time range.
- the communication device also includes:
- the second elimination module is configured to obtain the fourth detection result of the OAM code block of the preset type in each first window for the OAM code block of the preset type after the OAM loss alarm of the preset type is generated; in If the fourth detection result satisfies the fourth condition, the OAM loss alarm of the preset type is eliminated.
- the fourth condition includes at least one of the following:
- the first window in which the OAM code blocks of the preset type are continuously detected reaches the tenth number
- the first window in which the preset type of OAM code blocks is detected reaches a twelfth number, and the twelfth number is less than the eleventh number;
- the preset type of OAM code block is detected within a fourth time range.
- the conditions for detecting OAM code block loss are the same or different.
- the device in this embodiment is the device corresponding to the above method.
- the implementation methods in each of the above embodiments are applicable to the embodiment of the device, and the same technical effect can be achieved.
- the above-mentioned equipment provided by the embodiments of the present disclosure can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effects.
- the parts and beneficial effects in this embodiment that are the same as those in the method embodiments will not be detailed here. Repeat.
- an embodiment of the present disclosure also provides a communication device 600, including: a transceiver 601 and a processor 602;
- the processor 602 is configured to determine a window for detecting OAM code blocks at the metropolitan area transport network channel layer.
- the transceiver 601 is configured to detect OAM code blocks in the code block stream within the window.
- the processor is further configured to determine the window based on the position of the detected OAM code block and the period of the OAM code block after detecting at least one OAM code block.
- the processor is also configured to determine the position point where the OAM code block periodically appears based on the detected position of the OAM code block and the OAM code block period; and add each time window including the position point to , as the window.
- the length of the window is determined according to a preset ratio of the OAM code block period.
- the processor is also configured to, when the OAM code block period changes, base Adjust the position and/or length of the window according to the changed OAM code block period.
- the processor is also configured to detect the code block stream block by block according to the control code block field and the O code field before determining a window for detecting OAM code blocks at the metropolitan area transport network channel layer. , at least one OAM code block is detected.
- the processor is also configured to obtain the first detection result of the OAM code block in each window; when the first detection result satisfies the first condition, generate an OAM loss alarm.
- the first condition includes at least one of the following:
- the window in which consecutive OAM code blocks are not detected reaches the first number
- the windows in which OAM code blocks are not detected reach a third number, and the third number is smaller than the second number;
- the processor is also configured to obtain a second detection result of the OAM code block in each window after generating an OAM loss alarm; in the case where the second detection result satisfies the second condition, eliminate all Describe the OAM loss alarm.
- the second condition includes at least one of the following:
- the window in which OAM code blocks are continuously detected reaches the fourth number
- the windows in which OAM code blocks are detected reach the sixth number, and the sixth number is less than the fifth number;
- the OAM code block is detected within the second time range.
- the detection of the OAM code block means that the OAM code block is detected within the window, and the type of the OAM code block detected matches the sending sequence sequence of the OAM code block type;
- the non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
- the processor is also configured to obtain a third detection result of a preset type of OAM code block within each first window for a preset type of OAM code block, wherein the first window is used In a window for detecting a preset type of OAM code block; when the third detection result satisfies a third condition, an OAM loss alarm of the preset type is generated.
- the third condition includes at least one of the following:
- the first window in which consecutive OAM code blocks of the preset type are not detected reaches a seventh number
- the number of first windows in which the OAM code blocks of the preset type are not detected reaches a ninth number, and the ninth number is less than the eighth number;
- the OAM code block of the preset type is not detected within the third time range.
- the processor is further configured to, after generating the OAM loss alarm of the preset type, obtain the OAM code block of the preset type within each first window for the OAM code block of the preset type.
- Four detection results if the fourth detection result satisfies the fourth condition, eliminate the OAM loss alarm of the preset type.
- the fourth condition includes at least one of the following:
- the first window in which the OAM code blocks of the preset type are continuously detected reaches the tenth number
- the first window in which the preset type of OAM code blocks is detected reaches a twelfth number, and the twelfth number is less than the eleventh number;
- the preset type of OAM code block is detected within a fourth time range.
- the conditions for detecting OAM code block loss are the same or different.
- the device in this embodiment is the device corresponding to the above method.
- the implementation methods in each of the above embodiments are applicable to the embodiment of the device, and the same technical effect can be achieved.
- the above-mentioned equipment provided by the embodiments of the present disclosure can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effects.
- the parts and beneficial effects in this embodiment that are the same as those in the method embodiments will not be detailed here. Repeat.
- This embodiment of the present disclosure also provides a communication device 700, which includes a processor 701, a memory 702, and a computer program stored on the memory 702 and executable on the processor 701.
- the computer program is processed by the processor 701.
- 701 When 701 is executed, each process of the above OAM code block receiving method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
- Embodiments of the present disclosure also provide a computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer-readable storage medium is such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
- the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
- the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology.
- the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present disclosure.
- modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller, microprocessor, for In other electronic units or combinations thereof that perform the functions described in the present disclosure.
- ASIC Application Specific Integrated Circuits
- DSP Digital Signal Processing
- DSP Device Digital Signal Processing Equipment
- PLD Programmable Logic Device
- FPGA Field-Programmable Gate Array
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
Description
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年04月07日在中国提交的中国专利申请No.202210362675.5的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210362675.5 filed in China on April 7, 2022, the entire content of which is incorporated herein by reference.
本公开涉及数据通信技术领域,具体涉及一种OAM码块的接收方法及设备。The present disclosure relates to the field of data communication technology, and specifically relates to a method and device for receiving OAM code blocks.
随着第五代移动通信(the 5th Generation,5G)的发展以及垂直行业用户的增多,网络对切片的需求增强。业界在基于以太网的切片隔离技术上进行了很多有益的探索,例如灵活以太网(Flex Ethernet,FlexE)技术提供了基于以太网物理接口的分片机制,能提供有效的接口级隔离机制。但FlexE当前仅为接口级技术,无法满足运营商网络的组网要求。城域传送网(Metro Transport Network,MTN)为针对5G等新业务需求定义的新型传送网技术体系,能够实现时分复用(Time division multiplexing,TDM)与分组交换的有效融合,由网段(Section)层和通道(Path)层构成。城域传送Section层重用FlexE逻辑支持端口绑定,兼容以太网底层协议栈及标准以太网光模块;城域传送网Path层支持基于66B码块的时分复用(TDM)交换,具备完善的端到端操作维护管理(Operation Administration and Maintenance,OAM)机制,支持任意Nx5G信道化客户信号的交叉复用。66B编码是一种减少编码开销,降低硬件的复杂性的标准编码方式。66B编码将64比特的数据或控制信息编码成66位的比特块(码块)来进行传输,66位比特中的前两位表示同步头,主要用于接收端的数据对齐和接收数据位流的同步。With the development of the 5th Generation (5G) mobile communications and the increase in users in vertical industries, the network's demand for slicing has increased. The industry has made many useful explorations in Ethernet-based slicing isolation technology. For example, Flex 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 networking requirements of operator networks. Metro Transport Network (MTN) is a new transport network technology system defined for new business requirements such as 5G. It can realize the effective integration of Time Division Multiplexing (TDM) and packet switching. It is composed of Section ) layer and channel (Path) layer. The metro transport section layer reuses FlexE logic to support port binding and is compatible with the Ethernet underlying protocol stack and standard Ethernet optical modules; the metro transport network Path layer supports time division multiplexing (TDM) switching based on 66B code blocks, with complete terminal The end-to-end Operation Administration and Maintenance (OAM) mechanism 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 encodes 64-bit data or control information into 66-bit bit blocks (code blocks) for transmission. The first two bits of the 66-bit bits represent the synchronization header, which is mainly used for data alignment at the receiving end and the reception of the data bit stream. Synchronize.
MTN技术Path层的OAM通过66B码块进行携带,包括基础消息(basic message)码块码块(B码块)、自动保护切换(Automatic Protection Switching,APS)码块(A码块)、低优先级消息(Low priority message)码块(L码块) 等类型,并按照一定周期在码流中插入和携带。通过完善的OAM功能,可以实现链路连通性检测、性能检测,及时触发保护倒换,实现对每层网络的运营、管理和维护功能。OAM at the MTN technology Path layer is carried through 66B code blocks, including basic message (basic message) code blocks (B code blocks), automatic protection switching (Automatic Protection Switching, APS) code blocks (A code blocks), low priority Level message (Low priority message) code block (L code block) and other types, and are inserted and carried in the code stream according to a certain period. Through the complete OAM function, link connectivity detection and performance detection can be realized, protection switching can be triggered in time, and the operation, management and maintenance functions of each layer of the network can be realized.
MTN Path层OAM作为运营维护机制,需要进行正确的检测和接收。在常规技术中,需要从码块流中逐码块进行OAM码块检测,检测需要的硬件资源较大,且实现复杂。MTN Path layer OAM, as an operation and maintenance mechanism, requires correct detection and reception. In conventional technology, OAM code block detection needs to be performed block by block from the code block stream. The detection requires large hardware resources and is complex to implement.
发明内容Contents of the invention
本公开的至少一个实施例提供了一种OAM码块的接收方法及设备,用于实现更为有效的OAM码块检测,减少检测所需要的处理资源。At least one embodiment of the present disclosure provides a method and device for receiving OAM code blocks, which are used to implement more effective OAM code block detection and reduce processing resources required for detection.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种OAM码块的接收方法,包括:In a first aspect, embodiments of the present disclosure provide a method for receiving OAM code blocks, including:
第一设备确定用于检测城域传送网通道层OAM码块的窗口;The first device determines a window for detecting OAM code blocks at the channel layer of the metropolitan area transport network;
所述第一设备在所述窗口内检测码块流中的OAM码块。The first device detects OAM code blocks in the code block stream within the window.
可选地,所述第一设备确定用于检测城域传送网通道层OAM码块的窗口,包括:Optionally, the first device determines a window for detecting OAM code blocks at the metro transport network channel layer, including:
所述第一设备在检测到至少一个OAM码块后,根据检测到的OAM码块的位置和OAM码块周期,确定所述窗口。After detecting at least one OAM code block, the first device determines the window based on the position of the detected OAM code block and the OAM code block period.
可选地,根据检测到的OAM码块的位置和OAM码块周期,确定所述窗口,包括:Optionally, determine the window based on the detected position of the OAM code block and the OAM code block period, including:
根据检测到的OAM码块的位置和OAM码块周期,确定出OAM码块周期性出现的位置点;将每个包括所述位置点的时间窗口,作为所述窗口。According to the detected position of the OAM code block and the OAM code block period, the position point where the OAM code block periodically appears is determined; each time window including the position point is used as the window.
可选地,所述窗口的长度是根据OAM码块周期的预设比例确定的。Optionally, the length of the window is determined according to a preset ratio of the OAM code block period.
可选地,所述方法还包括:Optionally, the method also includes:
在OAM码块周期发生变化的情况下,根据变化后的OAM码块周期,调整所述窗口的位置和/或长度。When the OAM code block period changes, the position and/or length of the window is adjusted according to the changed OAM code block period.
可选地,在确定用于检测城域传送网通道层OAM码块的窗口之前,所述方法还包括:Optionally, before determining a window for detecting OAM code blocks at the metro transport network channel layer, the method further includes:
所述第一设备根据控制码块字段和O代码域,对码块流进行逐码块的检 测,检测出至少一个OAM码块。The first device detects the code block stream block by block according to the control code block field and the O code field. Test, and at least one OAM code block is detected.
可选地,所述方法还包括:Optionally, the method also includes:
获取各个窗口内的OAM码块的第一检测结果;Obtain the first detection results of the OAM code blocks in each window;
在所述第一检测结果满足第一条件的情况下,产生OAM丢失告警。When the first detection result satisfies the first condition, an OAM loss alarm is generated.
可选地,所述第一条件包括以下至少一种:Optionally, the first condition includes at least one of the following:
在连续的未检测到OAM码块的窗口达到第一数量;The window in which consecutive OAM code blocks are not detected reaches the first number;
在连续的第二数量的检测窗内,未检测到OAM码块的窗口达到第三数量,所述第三数量小于第二数量;Within the continuous second number of detection windows, the windows in which OAM code blocks are not detected reach a third number, and the third number is smaller than the second number;
在第一时间范围内未检测到OAM码块。No OAM code block is detected within the first time range.
可选地,在产生OAM丢失告警后,所述方法还包括:Optionally, after the OAM loss alarm is generated, the method further includes:
获取各个窗口内的OAM码块的第二检测结果;Obtain the second detection results of the OAM code blocks in each window;
在所述第二检测结果满足第二条件的情况下,消除所述OAM丢失告警。If the second detection result satisfies the second condition, the OAM loss alarm is eliminated.
可选地,所述第二条件包括以下至少一种:Optionally, the second condition includes at least one of the following:
在连续的检测到OAM码块的窗口达到第四数量;The window in which OAM code blocks are continuously detected reaches the fourth number;
在连续的第五数量的检测窗内,检测到OAM码块的窗口达到第六数量,所述第六数量小于第五数量;Within the continuous fifth number of detection windows, the windows in which OAM code blocks are detected reach the sixth number, and the sixth number is less than the fifth number;
在第二时间范围内检测到OAM码块。The OAM code block is detected within the second time range.
可选地,所述方法还包括:Optionally, the method also includes:
所述检测到OAM码块是指在窗口内检测到OAM码块,且检测到OAM码块的类型与OAM码块类型的发送序列顺序相匹配;The detection of the OAM code block means that the OAM code block is detected within the window, and the type of the OAM code block detected matches the sending sequence sequence of the OAM code block type;
所述未检测到OAM码块是指在窗口内没有检测到OAM码块,或者,在窗口内检测到的OAM码块的类型与OAM码块类型的发送序列顺序不匹配。The non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
可选地,所述方法还包括:Optionally, the method also includes:
针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第三检测结果,其中,所述第一窗口为用于检测预设类型的OAM码块的窗口;For the OAM code block of the preset type, obtain the third detection result of the OAM code block of the preset type within each first window, wherein the first window is a window used to detect the OAM code block of the preset type;
在所述第三检测结果满足第三条件的情况下,产生所述预设类型的OAM丢失告警。When the third detection result satisfies the third condition, the OAM loss alarm of the preset type is generated.
可选地,所述第三条件包括以下至少一种: Optionally, the third condition includes at least one of the following:
在连续的未检测到所述预设类型的OAM码块的第一窗口达到第七数量;The first window in which consecutive OAM code blocks of the preset type are not detected reaches a seventh number;
在连续的第八数量的第一检测窗内,未检测到所述预设类型的OAM码块的第一窗口达到第九数量,所述第九数量小于第八数量;Within the eighth consecutive number of first detection windows, the number of first windows in which the OAM code blocks of the preset type are not detected reaches a ninth number, and the ninth number is less than the eighth number;
在第三时间范围内未检测到所述预设类型的OAM码块。The OAM code block of the preset type is not detected within the third time range.
可选地,在产生所述预设类型的OAM丢失告警之后,所述方法还包括:Optionally, after generating the OAM loss alarm of the preset type, the method further includes:
针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第四检测结果;For the OAM code block of the preset type, obtain the fourth detection result of the OAM code block of the preset type in each first window;
在所述第四检测结果满足第四条件的情况下,消除所述预设类型的OAM丢失告警。If the fourth detection result satisfies the fourth condition, the preset type of OAM loss alarm is eliminated.
可选地,所述第四条件包括以下至少一种:Optionally, the fourth condition includes at least one of the following:
在连续的检测到所述预设类型的OAM码块的第一窗口达到第十数量;The first window in which the OAM code blocks of the preset type are continuously detected reaches the tenth number;
在连续的第十一数量的第一检测窗内,检测到所述预设类型的OAM码块的第一窗口达到第十二数量,所述第十二数量小于第十一数量;Within the eleventh consecutive number of first detection windows, the first window in which the preset type of OAM code blocks is detected reaches a twelfth number, and the twelfth number is less than the eleventh number;
在第四时间范围内检测到所述预设类型的OAM码块。The preset type of OAM code block is detected within a fourth time range.
可选地,对于不同类型的OAM码块,检测OAM码块丢失的条件相同或不同。Optionally, for different types of OAM code blocks, the conditions for detecting OAM code block loss are the same or different.
第二方面,本公开实施例提供了一种通信设备,包括:In a second aspect, an embodiment of the present disclosure provides a communication device, including:
第一确定模块,用于确定用于检测城域传送网通道层OAM码块的窗口;The first determination module is used to determine the window used to detect OAM code blocks at the metropolitan transport network channel layer;
第一检测模块,用于在所述窗口内检测码块流中的OAM码块。The first detection module is used to detect OAM code blocks in the code block stream within the window.
第三方面,本公开实施例提供了一种通信设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present disclosure provides a communication device, including: a processor, a memory, and a program stored on the memory and executable on the processor. When the program is executed by the processor Implement the steps of the method described in the first aspect.
第四方面,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时,实现如上所述的方法的步骤。In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium. A program is stored on the computer-readable storage medium. When the program is executed by a processor, the steps of the above method are implemented.
与相关技术相比,本公开实施例提供的操作维护管理码块的接收方法及设备,根据MTN Path层OAM码块的周期性发送的特点以及码块帧格式的特点,设置窗口,仅在窗口内检测OAM码块,从而可以避免逐码块的检测OAM码块所造成的检测需要的硬件资源较大且实现复杂等问题实现更为有效的 OAM码块检测,减少检测所需要的处理资源。Compared with related technologies, the operation and maintenance management code block reception method and device provided by the embodiments of the present disclosure set a window according to the characteristics of the periodic transmission of MTN Path layer OAM code blocks and the characteristics of the code block frame format, and only in the window Detect OAM code blocks within the code block, thereby avoiding the problems caused by detecting OAM code blocks block by block, which requires large hardware resources and complex implementation, and achieves a more effective OAM code block detection reduces the processing resources required for detection.
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the disclosure. Also throughout the drawings, the same reference characters are used to designate the same components. In the attached picture:
图1为本公开实施例的OAM码块的接收方法的一种流程图;Figure 1 is a flow chart of a method for receiving OAM code blocks according to an embodiment of the present disclosure;
图2为OAM码块的一种结构示意图;Figure 2 is a schematic structural diagram of an OAM code block;
图3为本公开实施例的窗口的一种示例图;Figure 3 is an example diagram of a window according to an embodiment of the present disclosure;
图4为不同类型的OAM码块的发送顺序示意图;Figure 4 is a schematic diagram of the sending sequence of different types of OAM code blocks;
图5为本公开一实施例的通信设备的结构示意图;Figure 5 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure;
图6为本公开另一实施例的通信设备的结构示意图;Figure 6 is a schematic structural diagram of a communication device according to another embodiment of the present disclosure;
图7为本公开又一实施例的通信设备的结构示意图。Figure 7 is a schematic structural diagram of a communication device according to another embodiment of the present disclosure.
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a thorough understanding of the disclosure, and to fully convey the scope of the disclosure to those skilled in the art.
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。说明书以及权利要求中“和/或”表示所连接对象的至少其中之一。 The terms "first", "second", etc. in the description and claims of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used are interchangeable under appropriate circumstances so that the embodiments of the disclosure described herein, for example, can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus. In the description and claims, "and/or" means at least one of the connected objects.
以下描述提供示例而并非限定权利要求中阐述的范围、适用性或者配置。可以对所讨论的要素的功能和布置作出改变而不会脱离本公开的精神和范围。各种示例可恰适地省略、替代、或添加各种规程或组件。例如,可以按不同于所描述的次序来执行所描述的方法,并且可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。The following description provides examples and does not limit the scope, applicability, or configurations set forth in the claims. Changes may be made in the function and arrangement of the elements discussed without departing from the spirit and scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
如背景技术中所述的,相关技术中在从MTN Path层检测OAM码块时,需要从码块流中逐码块进行OAM码块检测,导致检测需要的硬件资源较大,且实现复杂。为解决以上问题中的至少一种,本公开实施例提供的一种操作维护管理码块的接收方法,如图1所示,该方法包括:As mentioned in the background art, when detecting OAM code blocks from the MTN Path layer in related technologies, OAM code blocks need to be detected block by block from the code block stream, resulting in large hardware resources required for detection and complex implementation. In order to solve at least one of the above problems, an embodiment of the present disclosure provides a method for receiving operation and maintenance management code blocks. As shown in Figure 1, the method includes:
步骤11,第一设备确定用于检测城域传送网通道层OAM码块的窗口。Step 11: The first device determines a window for detecting OAM code blocks at the channel layer of the metropolitan area transport network.
本文中所述的码块或OAM码块是指采用66B编码技术生成的66位比特的比特块。相比于逐个码块进行检测的方式,本公开实施例基于OAM码块可能出现的位置,确定出检测OAM模块的窗口,该窗口也可以称作接收窗口或检测窗口。The code block or OAM code block described in this article refers to a 66-bit bit block generated using 66B encoding technology. Compared to detecting code blocks one by one, the embodiment of the present disclosure determines a window for detecting the OAM module based on the possible positions of the OAM code blocks. This window may also be called a receiving window or a detection window.
步骤12,所述第一设备在所述窗口内检测码块流中的OAM码块。Step 12: The first device detects OAM code blocks in the code block stream within the window.
这里,本公开实施例在所确定的窗口内检测OAM模块,从而可以避免逐码块的检测OAM码块所造成的检测需要的硬件资源较大且实现复杂等问题。由于窗口是根据OAM码块可能出现的位置而设置的,因此,本公开实施例能够实现更为有效的OAM码块检测,减少检测所需要的处理资源。Here, the embodiment of the present disclosure detects the OAM module within a determined window, thereby avoiding problems such as detecting OAM code blocks block by block, which requires large hardware resources and is complex to implement. Since the window is set according to the possible position of the OAM code block, the embodiments of the present disclosure can achieve more effective OAM code block detection and reduce the processing resources required for detection.
在上述步骤11中,所述第一设备可以在检测到至少一个OAM码块后,根据检测到的OAM码块的位置和OAM码块周期,确定所述窗口。通常,为保证检测出码块流中的至少一个OAM码块,第一设备需要至少扫描识别一个OAM码块周期的时间。所述OAM码块周期是指OAM码块的发送周期。In the above step 11, after detecting at least one OAM code block, the first device may determine the window based on the position of the detected OAM code block and the OAM code block period. Generally, to ensure that at least one OAM code block in the code block stream is detected, the first device needs to scan and identify at least one OAM code block period. The OAM code block period refers to the transmission period of the OAM code block.
在步骤11之前,所述第一设备可以根据控制码块字段和O代码域,对码块流进行逐码块的检测,检测出至少一个OAM码块。具体的,第一设备可以采用逐码块检测的方式,对城域传送网通道层的码块流进行OAM码块检测,例如,第一设备开始在城域传送网通道层MTN Path层的66B码块流中寻找OAM码块,可以通过66B码块的0x4B(控制码块字段)和0xC(O code域)识别出OAM码块,其中,0x4B和0xC位置如图2所示。 Before step 11, the first device may detect the code block stream block by 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 use a code block-by-code block detection method to perform OAM code block detection on the code block stream of the metropolitan area transport network channel layer. For example, the first device starts to detect 66B of the MTN Path layer of the metropolitan area transport network channel layer. Looking for OAM code blocks in the code block stream, you can identify the OAM code blocks through 0x4B (control code block field) and 0xC (O code field) of the 66B code block. The positions of 0x4B and 0xC are shown in Figure 2.
在步骤11中检测到至少一个OAM码块后,本公开实施例可以根据检测到的OAM码块的位置和OAM码块周期,确定用于检测OAM码块的周期性的窗口。这些窗口是周期性重复出现的,其周期大小等于OAM码块周期。具体的,可以根据检测到的OAM码块的位置和OAM码块周期,确定出OAM码块周期性出现的位置点;然后,将每个包括所述位置点的时间窗口,作为所述窗口。After at least one OAM code block is detected in step 11, the embodiment of the present disclosure may determine a window for detecting the periodicity of the OAM code block based on the position of the detected OAM code block and the OAM code block period. These windows are periodically repeated, and their periodic size is equal to the OAM code block period. Specifically, the position point where the OAM code block periodically appears can be determined based on the detected position of the OAM code block and the OAM code block period; then, each time window including the position point is used as the window.
例如,第一设备在识别出一个或多个OAM码块之后(通常需要至少扫描识别一个或多个OAM周期时间),根据当前识别出的OAM码块位置和OAM码块周期决定后续OAM码块的窗口(window)。具体的,如图3所示,根据识别到的OAM码块的位置,确定与该位置相隔OAM码块周期T的整数倍的位置点,针对每个位置点,生成一定宽度的包括该位置点在内的窗口,例如,如图3所示,假设在t0位置识别到OAM码块,窗口的时长为δ,则后续的每个窗口在时间轴上的起始点为t0+n*T-0.5δ,结束点为t0+n*T+0.5δ,这里n为大于或等于1的整数。For example, after the first device identifies one or more OAM code blocks (usually at least one or more OAM cycle times are required to be scanned and identified), the first device determines the subsequent OAM code block based on the currently recognized OAM code block position and OAM code block period. window. Specifically, as shown in Figure 3, according to the position of the identified OAM code block, the position point that is an integer multiple of the OAM code block period T is determined from the position, and for each position point, a certain width is generated including the position point. For example, as shown in Figure 3, assuming that the OAM code block is recognized at position t 0 and the duration of the window is δ, then the starting point of each subsequent window on the time axis is t 0 +n*T -0.5δ, the end point is t 0 +n*T+0.5δ, where n is an integer greater than or equal to 1.
本公开实施例中,窗口的时长与OAM周期相关,例如,所述窗口的长度是根据OAM码块周期的预设比例确定的,也就是说,窗口大小可设置为OAM周期的一定比例。举例来说,OAM码块周期为T,窗口大小为5%T。在OAM码块周期发生变化的情况下,根据变化后的OAM码块周期,调整所述窗口的位置和/或长度。In the embodiment of the present disclosure, the duration of the window is related to the OAM cycle. For example, the length of the window is determined according to a preset ratio of the OAM code block period. That is to say, the window size can be set to a certain ratio of the OAM period. For example, the OAM code block period is T and the window size is 5% T. When the OAM code block period changes, the position and/or length of the window is adjusted according to the changed OAM code block period.
这样,在上述步骤12中,第一设备可以根据确定出的窗口,从城域传送网通道层的码块流检测OAM码块,即,在窗口内才进行OAM码块的检测,在窗口外不检测OAM码块。具体的,在每个窗口内,第一设备接收和识别OAM码块。OAM码块可以通过66B码块的0x4B(控制码块字段)和0xC(O code域)进行识别。In this way, in the above step 12, the first device can detect the OAM code block from the code block stream of the metropolitan area transport network channel layer according to the determined window, that is, the OAM code block is detected only within the window, and the OAM code block is detected outside the window. OAM code blocks are not detected. Specifically, within each window, the first device receives and identifies the OAM code block. The OAM code block can be identified by 0x4B (control code block field) and 0xC (O code field) of the 66B code block.
通过以上步骤,本公开实施例可以避免逐码块的检测OAM码块所造成的检测需要的硬件资源较大且实现复杂等问题。由于窗口是根据OAM码块可能出现的位置而设置的,因此,本公开实施例能够实现更为有效的OAM码块检测,减少检测所需要的处理资源。Through the above steps, the embodiments of the present disclosure can avoid the problems caused by detecting OAM code blocks block by block, which requires large hardware resources and is complex to implement. Since the window is set according to the possible position of the OAM code block, the embodiments of the present disclosure can achieve more effective OAM code block detection and reduce the processing resources required for detection.
进一步地,本公开实施例还可以在步骤12中识别不同类型的OAM码块, 例如基础消息码块(basic message,又称作B码块),APS消息码块(Automatic Protection Switching message,又称作A码块),低优先级消息(Low priority message,L码块)中的CV消息码块(connectivity verification)和CS消息码块(Client signal information)。如图2所示,识别不同类型的OAM码块可以通过66B码块中的类型(type)字段进行识别,具体的,type字段在66B码块中的字节1的位置处。Further, the embodiment of the present disclosure can also identify different types of OAM code blocks in step 12, For example, basic message code block (basic message, also known as B code block), APS message code block (Automatic Protection Switching message, also known as A code block), low priority message (Low priority message, L code block) CV message code block (connectivity verification) and CS message code block (Client signal information). As shown in Figure 2, different types of OAM code blocks can be identified through the type field in the 66B code block. Specifically, the type field is at the position of byte 1 in the 66B code block.
在实际应用中,由于传输或设备故障等原因,OAM码块可能发生丢失。本公开实施例针对上述情况,可以获取各个窗口内的OAM码块的检测结果(为了便于描述,这里称作第一检测结果),所述检测结果用于指示对应的窗口内是否检测到OAM码块。在所述第一检测结果满足第一条件的情况下,产生OAM丢失告警。具体的,所述第一条件可以包括以下至少一种:In actual applications, OAM code blocks may be lost due to reasons such as transmission or equipment failure. In view of the above situation, the embodiments of the present disclosure can obtain the detection results of the OAM code blocks in each window (for convenience of description, here are called the first detection results). The detection results are used to indicate whether the OAM code is detected in the corresponding window. piece. When the first detection result satisfies the first condition, an OAM loss alarm is generated. Specifically, the first condition may include at least one of the following:
1)在连续的未检测到OAM码块的窗口达到第一数量,所述第一数量为大于或等于1的整数。1) The window in which consecutive OAM code blocks are not detected reaches a first number, and the first number is an integer greater than or equal to 1.
例如,连续m个窗口内未检测到OAM码块,m为大于或等于1的整数;For example, if no OAM code block is detected within m consecutive windows, m is an integer greater than or equal to 1;
2)在连续的第二数量的检测窗内,未检测到OAM码块的窗口达到第三数量,所述第三数量和第二数量均为大于或等于1的整数,所述第三数量小于第二数量。2) Within the continuous second number of detection windows, the windows in which OAM code blocks are not detected reach a third number, the third number and the second number are both integers greater than or equal to 1, and the third number is less than Second quantity.
例如,在连续q个窗口中的p个窗口内未检测到OAM码块,q和p均为大于或等于1的整数,且p小于q。For example, no OAM code block is detected in p windows among q consecutive windows, q and p are both integers greater than or equal to 1, and p is less than q.
3)在第一时间范围内未检测到OAM码块。3) No OAM code block is detected within the first time range.
第一时间范围表示一段预设时间,且在该时间内没有检测到OAM码块。The first time range represents a preset period of time during which no OAM code block is detected.
在产生OAM丢失告警后,本公开实施例还可以进一步获取各个窗口内的OAM码块的检测结果(为了便于描述,这里称作第二检测结果)。在所述第二检测结果满足第二条件的情况下,消除OAM丢失告警。具体的,所述第二条件可以包括以下至少一种:After the OAM loss alarm is generated, the embodiment of the present disclosure can further obtain the detection results of the OAM code blocks in each window (for convenience of description, it is called the second detection result here). If the second detection result satisfies the second condition, the OAM loss alarm is eliminated. Specifically, the second condition may include at least one of the following:
1)在连续的检测到OAM码块的窗口达到第四数量,所述第四数量为大于或等于1的整数。1) The window in which OAM code blocks are continuously detected reaches a fourth number, and the fourth number is an integer greater than or equal to 1.
例如,连续k个窗口内检测到OAM码块,m为k于或等于1的整数;For example, if OAM code blocks are detected in k consecutive windows, m is an integer with k equal to or equal to 1;
2)在连续的第五数量的检测窗内,检测到OAM码块的窗口达到第六数 量,所述第五数量和第六数量均为大于或等于1的整数,所述第六数量小于第五数量。2) Within the fifth consecutive detection window, the window in which the OAM code block is detected reaches the sixth number. quantity, the fifth quantity and the sixth quantity are both integers greater than or equal to 1, and the sixth quantity is smaller than the fifth quantity.
例如,在连续w个窗口中的z个窗口内检测到OAM码块,w和z均为大于或等于1的整数,且z小于w。For example, if an OAM code block is detected in z windows among w consecutive windows, w and z are both integers greater than or equal to 1, and z is smaller than w.
3)在第二时间范围内检测到OAM码块。3) The OAM code block is detected within the second time range.
第二时间范围也表示一段预设时间,且在该时间内检测到OAM码块。The second time range also represents a preset time within which the OAM code block is detected.
本公开实施例中,所述检测到OAM码块可以是指在窗口内检测到OAM码块,且检测到OAM码块的类型与OAM码块类型的发送序列顺序相匹配。所述未检测到OAM码块是指在窗口内没有检测到OAM码块,或者,在窗口内检测到的OAM码块的类型与OAM码块类型的发送序列顺序不匹配。In the embodiment of the present disclosure, the detection of the OAM code block may refer to the detection of the OAM code block within the window, and the type of the detected OAM code block matches the transmission sequence sequence of the OAM code block type. The non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
例如,如果按照OAM码块类型的发送序列顺序,某个窗口对应的OAM码块类型为B码块,如果在该窗口内检测到B码块,则判断在该窗口内检测到OAM码块;如果在该窗口没有检测到任何OAM码块,或者检测到其他类型的OAM码块(即检测到的OAM码块不是B码块),则判断在该窗口内未检测到OAM码块。For example, if according to the sending sequence order of OAM code block types, the OAM code block type corresponding to a certain window is B code block, and if a B code block is detected in the window, it is judged that an OAM code block is detected in the window; If no OAM code block is detected in this window, or other types of OAM code blocks are detected (that is, the detected OAM code block is not a B code block), it is determined that no OAM code block is detected in this window.
本公开实施例中,第一设备除了在窗口识别和判断接收到的OAM码块类型外,还判断接收的OAM码块的类型是否符合OAM码块类型的发送序列顺序(pattern)。In the embodiment of the present disclosure, in addition to identifying and determining the received OAM code block type in the window, the first device also determines whether the received OAM code block type conforms to the transmission sequence sequence (pattern) of the OAM code block type.
例如,如图4所示,假设发送端MTN OAM是按照BABL的顺序发送OAM码块,这里,BABL中的表示B码块,A表示A码块,L表示L码块。如果第一设备在某个窗口内识别到的OAM码块类型不符合预期的发送顺序,则判断为未检测到OAM码块。例如在B码块之后的窗口内检测到一个B码块,则不符合预期。For example, as shown in Figure 4, assume that the sending end MTN OAM sends OAM code blocks in the order of BABL. Here, in BABL represents the B code block, A represents the A code block, and L represents the L code block. If the OAM code block type recognized by the first device within a certain window does not comply with the expected sending order, it is determined that the OAM code block has not been detected. For example, if a B code block is detected in the window after the B code block, it does not meet expectations.
更进一步的,本公开实施例还可以针对不同类型的OAM码块,实现更为精细的OAM码块丢失告警。Furthermore, the embodiments of the present disclosure can also implement more detailed OAM code block loss alarms for different types of OAM code blocks.
例如,针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第三检测结果,其中,所述第一窗口为用于检测预设类型的OAM码块的窗口,具体的,可以根据OAM码块类型的发送序列顺序,确定出所述第一窗口的位置。然后,在所述第三检测结果满足第三条件的情况下,产 生所述预设类型的OAM丢失告警。For example, for a preset type of OAM code block, a third detection result of a preset type of OAM code block within each first window is obtained, wherein the first window is used to detect the preset type of OAM code block. The window, specifically, the position of the first window can be determined according to the transmission sequence sequence of the OAM code block type. Then, when the third detection result satisfies the third condition, a OAM loss alarm of the preset type is generated.
具体的,所述第三条件包括以下至少一种:Specifically, the third condition includes at least one of the following:
1)在连续的未检测到所述预设类型的OAM码块的第一窗口达到第七数量,所述第七数量为大于或等于1的整数。1) The first window in which the OAM code blocks of the preset type are not continuously detected reaches a seventh number, and the seventh number is an integer greater than or equal to 1.
2)在连续的第八数量的第一检测窗内,未检测到所述预设类型的OAM码块的第一窗口达到第九数量,所述第八数量和第九数量均为大于或等于1的整数,所述第九数量小于第八数量;2) Within the eighth consecutive number of first detection windows, the number of first windows in which the OAM code blocks of the preset type are not detected reaches the ninth number, and both the eighth number and the ninth number are greater than or equal to An integer of 1, the ninth quantity is less than the eighth quantity;
3)在第三时间范围内未检测到所述预设类型的OAM码块。3) The OAM code block of the preset type is not detected within the third time range.
第三时间范围表示一段预设时间,且在该时间内没有检测到所述预设类型的OAM码块。The third time range represents a preset period of time during which the OAM code block of the preset type is not detected.
在产生所述预设类型的OAM丢失告警之后,本公开实施例还可以针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第四检测结果;在所述第四检测结果满足第四条件的情况下,消除所述预设类型的OAM丢失告警。After the OAM loss alarm of the preset type is generated, the embodiment of the present disclosure can also obtain the fourth detection result of the OAM code block of the preset type in each first window for the OAM code block of the preset type; If the fourth detection result satisfies the fourth condition, the OAM loss alarm of the preset type is eliminated.
具体的,所述第四条件包括以下至少一种:Specifically, the fourth condition includes at least one of the following:
1)在连续的检测到所述预设类型的OAM码块的第一窗口达到第十数量,所述第十数量为大于或等于1的整数。1) The first window in which the OAM code blocks of the preset type are continuously detected reaches a tenth number, and the tenth number is an integer greater than or equal to 1.
2)在连续的第十一数量的第一检测窗内,检测到所述预设类型的OAM码块的第一窗口达到第十二数量,所述第十一数量和第十二数量均为大于或等于1的整数,所述第十二数量小于第十一数量;2) Within the eleventh consecutive number of first detection windows, the first window in which the preset type of OAM code blocks is detected reaches the twelfth number, and the eleventh number and the twelfth number are both An integer greater than or equal to 1, and the twelfth quantity is less than the eleventh quantity;
3)在第四时间范围内检测到所述预设类型的OAM码块。3) The OAM code block of the preset type is detected within the fourth time range.
第四时间范围表示一段预设时间,且在该时间内检测到所述预设类型的OAM码块。The fourth time range represents a preset time period, and the OAM code block of the preset type is detected within this time period.
本公开实施例中,对于不同类型的OAM码块,检测OAM码块丢失的条件相同或不同。例如,针对A码块的所述第三时间范围,可以与针对B码块的所述第三时间范围相同或不同。In the embodiment of the present disclosure, for different types of OAM code blocks, the conditions for detecting OAM code block loss are the same or different. For example, the third time range for the A code block may be the same as or different from the third time range for the B code block.
通过以上步骤,本公开实施例可以在一定时间内如果没有检测到一个OAM码块,或者没有检测到多个OAM码块,则产生OAM丢失告警(defect)。也可以根据不同的OAM类型,对基础消息、APS消息、CV消息、CS消息 等分别产生丢失告警。例如,在一定时间内没有检测到一个基础消息OAM码块,或者没有检测到多个基础消息OAM码块,则产生基础消息OAM丢失告警(basic message defect)。对于不同的OAM类型,检测丢失的时间可以相同或不同。在产生丢失告警后,如果后续在窗口检测到一个OAM码块或者连续检测到多个OAM码块,则消除丢失告警。如果是区分不同OAM码块类型的告警,则需要分别检测消除。Through the above steps, the embodiment of the present disclosure can generate an OAM loss alarm (defect) if one OAM code block is not detected or multiple OAM code blocks are not detected within a certain period of time. Basic messages, APS messages, CV messages, and CS messages can also be processed according to different OAM types. Wait for a loss alarm to be generated respectively. For example, if one basic message OAM code block is not detected within a certain period of time, or if multiple basic message OAM code blocks are not detected, a basic message OAM loss alarm (basic message defect) is generated. For different OAM types, the time to detect loss can be the same or different. After a loss alarm is generated, if an OAM code block is subsequently detected in the window or multiple OAM code blocks are detected continuously, the loss alarm will be cleared. If the alarms are to distinguish different OAM code block types, they need to be detected and eliminated separately.
从以上所述可以看出,本公开实施例充分利用MTN Path层OAM码块的周期性发送的特点以及码块帧格式的特点,使得接收检测更为有效,且耗费更少的处理资源。As can be seen from the above, the embodiments of the present disclosure make full use of the characteristics of periodic transmission of MTN Path layer OAM code blocks and the characteristics of the code block frame format, making reception detection more effective and consuming less processing resources.
以上介绍了本公开实施例的各种方法。下面将进一步提供实施上述方法的装置。Various methods of embodiments of the present disclosure have been introduced above. The apparatus for implementing the above method will be further provided below.
请参考图5,本公开实施例还提供一种通信设备500,包括:Referring to Figure 5, an embodiment of the present disclosure also provides a communication device 500, including:
第一确定模块501,用于确定用于检测城域传送网通道层OAM码块的窗口;The first determination module 501 is used to determine the window used to detect OAM code blocks at the metropolitan transport network channel layer;
第一检测模块502,用于在所述窗口内检测码块流中的OAM码块。The first detection module 502 is used to detect OAM code blocks in the code block stream within the window.
可选地,所述第一确定模块,还用于在检测到至少一个OAM码块后,根据检测到的OAM码块的位置和OAM码块周期,确定所述窗口。Optionally, the first determination module is further configured to determine the window based on the position of the detected OAM code block and the period of the OAM code block after detecting at least one OAM code block.
可选地,所述第一确定模块,还用于根据检测到的OAM码块的位置和OAM码块周期,确定出OAM码块周期性出现的位置点;将每个包括所述位置点的时间窗口,作为所述窗口。Optionally, the first determination module is also configured to determine the position points where the OAM code blocks periodically appear based on the detected position of the OAM code block and the OAM code block period; time window as said window.
可选地,所述窗口的长度是根据OAM码块周期的预设比例确定的。Optionally, the length of the window is determined according to a preset ratio of the OAM code block period.
可选地,所述通信设备还包括:Optionally, the communication device also includes:
第一调整模块,用于在OAM码块周期发生变化的情况下,根据变化后的OAM码块周期,调整所述窗口的位置和/或长度。The first adjustment module is configured to adjust the position and/or length of the window according to the changed OAM code block period when the OAM code block period changes.
可选地,所述通信设备还包括:Optionally, the communication device also includes:
第二检测模块,用于在确定用于检测城域传送网通道层OAM码块的窗口之前,根据控制码块字段和O代码域,对码块流进行逐码块的检测,检测出至少一个OAM码块。The second detection module is used to detect the code block stream block by block according to the control code block field and the O code field before determining the window for detecting the OAM code block at the metro transport network channel layer, and detect at least one OAM code block.
可选地,所述通信设备还包括: Optionally, the communication device also includes:
第一告警模块,用于获取各个窗口内的OAM码块的第一检测结果;在所述第一检测结果满足第一条件的情况下,产生OAM丢失告警。The first alarm module is used to obtain the first detection result of the OAM code block in each window; when the first detection result meets the first condition, an OAM loss alarm is generated.
可选地,所述第一条件包括以下至少一种:Optionally, the first condition includes at least one of the following:
在连续的未检测到OAM码块的窗口达到第一数量;The window in which consecutive OAM code blocks are not detected reaches the first number;
在连续的第二数量的检测窗内,未检测到OAM码块的窗口达到第三数量,所述第三数量小于第二数量;Within the continuous second number of detection windows, the windows in which OAM code blocks are not detected reach a third number, and the third number is smaller than the second number;
在第一时间范围内未检测到OAM码块。No OAM code block is detected within the first time range.
可选地,所述通信设备还包括:Optionally, the communication device also includes:
第一消除模块,用于在产生OAM丢失告警后,获取各个窗口内的OAM码块的第二检测结果;在所述第二检测结果满足第二条件的情况下,消除所述OAM丢失告警。The first elimination module is configured to obtain the second detection result of the OAM code block in each window after the OAM loss alarm is generated; and eliminate the OAM loss alarm if the second detection result satisfies the second condition.
可选地,所述第二条件包括以下至少一种:Optionally, the second condition includes at least one of the following:
在连续的检测到OAM码块的窗口达到第四数量;The window in which OAM code blocks are continuously detected reaches the fourth number;
在连续的第五数量的检测窗内,检测到OAM码块的窗口达到第六数量,所述第六数量小于第五数量;Within the continuous fifth number of detection windows, the windows in which OAM code blocks are detected reach the sixth number, and the sixth number is less than the fifth number;
在第二时间范围内检测到OAM码块。The OAM code block is detected within the second time range.
可选地,所述检测到OAM码块是指在窗口内检测到OAM码块,且检测到OAM码块的类型与OAM码块类型的发送序列顺序相匹配;Optionally, the detection of the OAM code block means that the OAM code block is detected within the window, and the type of the OAM code block detected matches the sending sequence sequence of the OAM code block type;
所述未检测到OAM码块是指在窗口内没有检测到OAM码块,或者,在窗口内检测到的OAM码块的类型与OAM码块类型的发送序列顺序不匹配。The non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
可选地,所述通信设备还包括:Optionally, the communication device also includes:
第二告警模块,用于针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第三检测结果,其中,所述第一窗口为用于检测预设类型的OAM码块的窗口;在所述第三检测结果满足第三条件的情况下,产生所述预设类型的OAM丢失告警。The second alarm module is used to obtain the third detection result of the OAM code block of the preset type in each first window for the OAM code block of the preset type, wherein the first window is used to detect the preset type. the window of the OAM code block; when the third detection result satisfies the third condition, the OAM loss alarm of the preset type is generated.
可选地,所述第三条件包括以下至少一种:Optionally, the third condition includes at least one of the following:
在连续的未检测到所述预设类型的OAM码块的第一窗口达到第七数量;The first window in which consecutive OAM code blocks of the preset type are not detected reaches a seventh number;
在连续的第八数量的第一检测窗内,未检测到所述预设类型的OAM码块的第一窗口达到第九数量,所述第九数量小于第八数量; Within the eighth consecutive number of first detection windows, the number of first windows in which the OAM code blocks of the preset type are not detected reaches a ninth number, and the ninth number is less than the eighth number;
在第三时间范围内未检测到所述预设类型的OAM码块。The OAM code block of the preset type is not detected within the third time range.
可选地,所述通信设备还包括:Optionally, the communication device also includes:
第二消除模块,用于在产生所述预设类型的OAM丢失告警之后,针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第四检测结果;在所述第四检测结果满足第四条件的情况下,消除所述预设类型的OAM丢失告警。The second elimination module is configured to obtain the fourth detection result of the OAM code block of the preset type in each first window for the OAM code block of the preset type after the OAM loss alarm of the preset type is generated; in If the fourth detection result satisfies the fourth condition, the OAM loss alarm of the preset type is eliminated.
可选地,所述第四条件包括以下至少一种:Optionally, the fourth condition includes at least one of the following:
在连续的检测到所述预设类型的OAM码块的第一窗口达到第十数量;The first window in which the OAM code blocks of the preset type are continuously detected reaches the tenth number;
在连续的第十一数量的第一检测窗内,检测到所述预设类型的OAM码块的第一窗口达到第十二数量,所述第十二数量小于第十一数量;Within the eleventh consecutive number of first detection windows, the first window in which the preset type of OAM code blocks is detected reaches a twelfth number, and the twelfth number is less than the eleventh number;
在第四时间范围内检测到所述预设类型的OAM码块。The preset type of OAM code block is detected within a fourth time range.
可选地,对于不同类型的OAM码块,检测OAM码块丢失的条件相同或不同。Optionally, for different types of OAM code blocks, the conditions for detecting OAM code block loss are the same or different.
需要说明的是,该实施例中的设备是与上述方法对应的设备,上述各实施例中的实现方式均适用于该设备的实施例中,也能达到相同的技术效果。本公开实施例提供的上述设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the device in this embodiment is the device corresponding to the above method. The implementation methods in each of the above embodiments are applicable to the embodiment of the device, and the same technical effect can be achieved. The above-mentioned equipment provided by the embodiments of the present disclosure can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effects. The parts and beneficial effects in this embodiment that are the same as those in the method embodiments will not be detailed here. Repeat.
请参考图6,本公开实施例还提供一种通信设备600,包括:收发机601和处理器602;Referring to Figure 6, an embodiment of the present disclosure also provides a communication device 600, including: a transceiver 601 and a processor 602;
所述处理器602,用于确定用于检测城域传送网通道层OAM码块的窗口。The processor 602 is configured to determine a window for detecting OAM code blocks at the metropolitan area transport network channel layer.
所述收发机601,用于在所述窗口内检测码块流中的OAM码块。The transceiver 601 is configured to detect OAM code blocks in the code block stream within the window.
可选地,所述处理器,还用于在检测到至少一个OAM码块后,根据检测到的OAM码块的位置和OAM码块周期,确定所述窗口。Optionally, the processor is further configured to determine the window based on the position of the detected OAM code block and the period of the OAM code block after detecting at least one OAM code block.
可选地,所述处理器,还用于根据检测到的OAM码块的位置和OAM码块周期,确定出OAM码块周期性出现的位置点;将每个包括所述位置点的时间窗口,作为所述窗口。Optionally, the processor is also configured to determine the position point where the OAM code block periodically appears based on the detected position of the OAM code block and the OAM code block period; and add each time window including the position point to , as the window.
可选地,所述窗口的长度是根据OAM码块周期的预设比例确定的。Optionally, the length of the window is determined according to a preset ratio of the OAM code block period.
可选地,所述处理器,还用于在OAM码块周期发生变化的情况下,根 据变化后的OAM码块周期,调整所述窗口的位置和/或长度。Optionally, the processor is also configured to, when the OAM code block period changes, base Adjust the position and/or length of the window according to the changed OAM code block period.
可选地,所述处理器,还用于在确定用于检测城域传送网通道层OAM码块的窗口之前,根据控制码块字段和O代码域,对码块流进行逐码块的检测,检测出至少一个OAM码块。Optionally, the processor is also configured to detect the code block stream block by block according to the control code block field and the O code field before determining a window for detecting OAM code blocks at the metropolitan area transport network channel layer. , at least one OAM code block is detected.
可选地,所述处理器,还用于获取各个窗口内的OAM码块的第一检测结果;在所述第一检测结果满足第一条件的情况下,产生OAM丢失告警。Optionally, the processor is also configured to obtain the first detection result of the OAM code block in each window; when the first detection result satisfies the first condition, generate an OAM loss alarm.
可选地,所述第一条件包括以下至少一种:Optionally, the first condition includes at least one of the following:
在连续的未检测到OAM码块的窗口达到第一数量;The window in which consecutive OAM code blocks are not detected reaches the first number;
在连续的第二数量的检测窗内,未检测到OAM码块的窗口达到第三数量,所述第三数量小于第二数量;Within the continuous second number of detection windows, the windows in which OAM code blocks are not detected reach a third number, and the third number is smaller than the second number;
在第一时间范围内未检测到OAM码块。No OAM code block is detected within the first time range.
可选地,所述处理器,还用于在产生OAM丢失告警后,获取各个窗口内的OAM码块的第二检测结果;在所述第二检测结果满足第二条件的情况下,消除所述OAM丢失告警。Optionally, the processor is also configured to obtain a second detection result of the OAM code block in each window after generating an OAM loss alarm; in the case where the second detection result satisfies the second condition, eliminate all Describe the OAM loss alarm.
可选地,所述第二条件包括以下至少一种:Optionally, the second condition includes at least one of the following:
在连续的检测到OAM码块的窗口达到第四数量;The window in which OAM code blocks are continuously detected reaches the fourth number;
在连续的第五数量的检测窗内,检测到OAM码块的窗口达到第六数量,所述第六数量小于第五数量;Within the continuous fifth number of detection windows, the windows in which OAM code blocks are detected reach the sixth number, and the sixth number is less than the fifth number;
在第二时间范围内检测到OAM码块。The OAM code block is detected within the second time range.
可选地,所述检测到OAM码块是指在窗口内检测到OAM码块,且检测到OAM码块的类型与OAM码块类型的发送序列顺序相匹配;Optionally, the detection of the OAM code block means that the OAM code block is detected within the window, and the type of the OAM code block detected matches the sending sequence sequence of the OAM code block type;
所述未检测到OAM码块是指在窗口内没有检测到OAM码块,或者,在窗口内检测到的OAM码块的类型与OAM码块类型的发送序列顺序不匹配。The non-detection of the OAM code block means that the OAM code block is not detected within the window, or the type of the OAM code block detected within the window does not match the transmission sequence sequence of the OAM code block type.
可选地,所述处理器,还用于针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第三检测结果,其中,所述第一窗口为用于检测预设类型的OAM码块的窗口;在所述第三检测结果满足第三条件的情况下,产生所述预设类型的OAM丢失告警。Optionally, the processor is also configured to obtain a third detection result of a preset type of OAM code block within each first window for a preset type of OAM code block, wherein the first window is used In a window for detecting a preset type of OAM code block; when the third detection result satisfies a third condition, an OAM loss alarm of the preset type is generated.
可选地,所述第三条件包括以下至少一种:Optionally, the third condition includes at least one of the following:
在连续的未检测到所述预设类型的OAM码块的第一窗口达到第七数量; The first window in which consecutive OAM code blocks of the preset type are not detected reaches a seventh number;
在连续的第八数量的第一检测窗内,未检测到所述预设类型的OAM码块的第一窗口达到第九数量,所述第九数量小于第八数量;Within the eighth consecutive number of first detection windows, the number of first windows in which the OAM code blocks of the preset type are not detected reaches a ninth number, and the ninth number is less than the eighth number;
在第三时间范围内未检测到所述预设类型的OAM码块。The OAM code block of the preset type is not detected within the third time range.
可选地,所述处理器,还用于在产生所述预设类型的OAM丢失告警之后,针对预设类型的OAM码块,获取在各个第一窗口内预设类型的OAM码块的第四检测结果;在所述第四检测结果满足第四条件的情况下,消除所述预设类型的OAM丢失告警。Optionally, the processor is further configured to, after generating the OAM loss alarm of the preset type, obtain the OAM code block of the preset type within each first window for the OAM code block of the preset type. Four detection results; if the fourth detection result satisfies the fourth condition, eliminate the OAM loss alarm of the preset type.
可选地,所述第四条件包括以下至少一种:Optionally, the fourth condition includes at least one of the following:
在连续的检测到所述预设类型的OAM码块的第一窗口达到第十数量;The first window in which the OAM code blocks of the preset type are continuously detected reaches the tenth number;
在连续的第十一数量的第一检测窗内,检测到所述预设类型的OAM码块的第一窗口达到第十二数量,所述第十二数量小于第十一数量;Within the eleventh consecutive number of first detection windows, the first window in which the preset type of OAM code blocks is detected reaches a twelfth number, and the twelfth number is less than the eleventh number;
在第四时间范围内检测到所述预设类型的OAM码块。The preset type of OAM code block is detected within a fourth time range.
可选地,对于不同类型的OAM码块,检测OAM码块丢失的条件相同或不同。Optionally, for different types of OAM code blocks, the conditions for detecting OAM code block loss are the same or different.
需要说明的是,该实施例中的设备是与上述方法对应的设备,上述各实施例中的实现方式均适用于该设备的实施例中,也能达到相同的技术效果。本公开实施例提供的上述设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the device in this embodiment is the device corresponding to the above method. The implementation methods in each of the above embodiments are applicable to the embodiment of the device, and the same technical effect can be achieved. The above-mentioned equipment provided by the embodiments of the present disclosure can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effects. The parts and beneficial effects in this embodiment that are the same as those in the method embodiments will not be detailed here. Repeat.
请参考图7,本公开实施例还提供一种通信设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的计算机程序,该计算机程序被处理器701执行时实现上述OAM码块的接收方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Please refer to Figure 7. This embodiment of the present disclosure also provides a communication device 700, which includes a processor 701, a memory 702, and a computer program stored on the memory 702 and executable on the processor 701. The computer program is processed by the processor 701. When 701 is executed, each process of the above OAM code block receiving method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
本公开实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述OAM码块的接收方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。 Embodiments of the present disclosure also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the OAM code block receiving method embodiment is implemented, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here. Wherein, the computer-readable storage medium is such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“中包含”或者其任何其他变体意在涵盖非排他性的中包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms “comprising”, “comprising” or any other variation thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, but also other elements not expressly listed or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present disclosure.
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present disclosure can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Equipment ( DSP Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller, microprocessor, for In other electronic units or combinations thereof that perform the functions described in the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。 The embodiments of the present disclosure have been described above in conjunction with the accompanying drawings. However, the present disclosure is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this disclosure, many forms can be made without departing from the purpose of this disclosure and the scope protected by the claims, all of which fall within the protection of this disclosure.
Claims (19)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024558146A JP2025511244A (en) | 2022-04-07 | 2023-04-07 | OAM code block receiving method and device |
| US18/852,839 US20250226927A1 (en) | 2022-04-07 | 2023-04-07 | Method and device for receiving oam block |
| EP23784351.1A EP4507225A4 (en) | 2022-04-07 | 2023-04-07 | Method for receiving an OAM code block and apparatus |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210362675.5 | 2022-04-07 | ||
| CN202210362675.5A CN116938398A (en) | 2022-04-07 | 2022-04-07 | OAM code block receiving method and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023193788A1 true WO2023193788A1 (en) | 2023-10-12 |
Family
ID=88244100
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/086874 Ceased WO2023193788A1 (en) | 2022-04-07 | 2023-04-07 | Method for receiving oam code block, and device |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20250226927A1 (en) |
| EP (1) | EP4507225A4 (en) |
| JP (1) | JP2025511244A (en) |
| CN (1) | CN116938398A (en) |
| WO (1) | WO2023193788A1 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120069741A1 (en) * | 2009-06-04 | 2012-03-22 | Zte Corporation | Method and apparatus for detecting ethernet operation, administration and maintenance (oam) |
| CN103828267A (en) * | 2012-09-25 | 2014-05-28 | 华为技术有限公司 | Method, device and system for window continuous sending |
| CN103916719A (en) * | 2013-01-06 | 2014-07-09 | 中兴通讯股份有限公司 | Priority sending method, device and system for operation, management and maintenance information |
| WO2021190310A1 (en) * | 2020-03-24 | 2021-09-30 | 中兴通讯股份有限公司 | Method, apparatus and device for sending oam information, and storage medium |
| CN113765619A (en) * | 2020-06-05 | 2021-12-07 | 中国移动通信有限公司研究院 | 64B/66B code stream sending method, 64B/66B code stream receiving method and equipment |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10797816B1 (en) * | 2019-06-05 | 2020-10-06 | Microchip Technology Inc. | Method for providing path signal overhead in the 64B/66B character stream of an ITU-T metro transport network |
| US11916661B2 (en) * | 2019-06-27 | 2024-02-27 | Ciena Corporation | Distributing timing over metro transport networking |
| CN112511328A (en) * | 2020-04-04 | 2021-03-16 | 中兴通讯股份有限公司 | Method for transmitting and processing information, Ethernet device, computer readable medium |
-
2022
- 2022-04-07 CN CN202210362675.5A patent/CN116938398A/en active Pending
-
2023
- 2023-04-07 WO PCT/CN2023/086874 patent/WO2023193788A1/en not_active Ceased
- 2023-04-07 EP EP23784351.1A patent/EP4507225A4/en active Pending
- 2023-04-07 US US18/852,839 patent/US20250226927A1/en active Pending
- 2023-04-07 JP JP2024558146A patent/JP2025511244A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120069741A1 (en) * | 2009-06-04 | 2012-03-22 | Zte Corporation | Method and apparatus for detecting ethernet operation, administration and maintenance (oam) |
| CN103828267A (en) * | 2012-09-25 | 2014-05-28 | 华为技术有限公司 | Method, device and system for window continuous sending |
| CN103916719A (en) * | 2013-01-06 | 2014-07-09 | 中兴通讯股份有限公司 | Priority sending method, device and system for operation, management and maintenance information |
| WO2021190310A1 (en) * | 2020-03-24 | 2021-09-30 | 中兴通讯股份有限公司 | Method, apparatus and device for sending oam information, and storage medium |
| CN113765619A (en) * | 2020-06-05 | 2021-12-07 | 中国移动通信有限公司研究院 | 64B/66B code stream sending method, 64B/66B code stream receiving method and equipment |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4507225A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4507225A4 (en) | 2025-07-16 |
| US20250226927A1 (en) | 2025-07-10 |
| CN116938398A (en) | 2023-10-24 |
| JP2025511244A (en) | 2025-04-15 |
| EP4507225A1 (en) | 2025-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100407610C (en) | Error Detection Method for Mobile Communication System | |
| US20120110152A1 (en) | Real time protocol packet tunneling | |
| WO2021005397A1 (en) | Packet or frame replication and elimination with explict or implict notification to reset sequence number recovery | |
| US20070140248A1 (en) | Method for transmitting message in a resilient packet ring network | |
| WO2021093640A1 (en) | Communication link detection methods, communication apparatus and storage medium | |
| US8102857B2 (en) | System and method for processing data and control messages in a communication system | |
| CN110601919A (en) | Loopback detection method and system | |
| JP2003512639A (en) | Method and system for robust frame type protection in systems employing variable bit rate | |
| WO2023193788A1 (en) | Method for receiving oam code block, and device | |
| KR100895498B1 (en) | Method and apparatus for compensating for signal reception error at receiver in packet-based communication system | |
| HK40116120A (en) | Method for receiving oam code block, and device | |
| US8498199B2 (en) | Maintaining time-division multiplexing over pseudowire connections during network outages | |
| CN112511328A (en) | Method for transmitting and processing information, Ethernet device, computer readable medium | |
| CN102341784B (en) | A method for fast MAP recovery when an error occurs in MoCA | |
| US20070220171A1 (en) | Systems and methods for synchronization of asynchronous networks | |
| CN1764192A (en) | Initial Access Signaling Method in Synchronous Ethernet Devices | |
| CN114844599A (en) | Method and device for synchronizing scrambler | |
| CN112491871A (en) | TCP (Transmission control protocol) recombination method and device, electronic equipment and storage medium | |
| US8804553B2 (en) | Tone relay system and method | |
| JP6707958B2 (en) | Method, apparatus and system for identifying hidden terminal | |
| CN102918805B (en) | Methods for processing received event messages | |
| US8588079B2 (en) | Method of notifying a transmission defect of an audio signal | |
| CN109412761B (en) | Static PW MAC (pseudo wire MAC) with drawaw message interaction method and device | |
| EP1087558A2 (en) | Methods and apparatus for adaptive mimic rejection | |
| KR100450768B1 (en) | Collision detector on home PNA and method thereof |
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: 23784351 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18852839 Country of ref document: US Ref document number: 2024558146 Country of ref document: JP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023784351 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023784351 Country of ref document: EP Effective date: 20241107 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18852839 Country of ref document: US |