Method and device for receiving OAM information blocks
The method and apparatus for receiving OAM information blocks address the lack of performance detection in the FlexE protocol by determining reference locations and synchronizing order relationships, enabling effective service quality monitoring in 400G optical modules.
Patent Information
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2022-01-11
- Publication Date
- 2026-07-21
AI Technical Summary
The FlexE protocol does not provide a method for implementing performance detection of bearer channels by receiving and detecting valid OAM information blocks from a client business code stream, which is crucial for monitoring channel quality in 400G optical modules.
A method and apparatus for receiving OAM information blocks, involving determining a reference location and delivery period, synchronizing the order relationship, and extracting OAM information block content to monitor service quality, using modules for determination, extraction, and synchronization to handle deviations and ensure accurate detection.
Enables performance detection of bearer channels by accurately receiving and extracting valid OAM information blocks, thereby monitoring service quality effectively in 400G optical modules.
Smart Images

Figure 112023097961168-PCT00001_ABST
Abstract
Description
Technology Field
[0001] Embodiments of the present invention relate to the field of communication, specifically, to a method and apparatus for receiving OAM information blocks. Background Technology
[0002] The rapid increase in user network information streams is driving the rapid development of communication network information transmission bandwidth. The interface bandwidth speeds of communication devices have been increased from 10M to 100M, then to 1G and 10G, and have now reached 100G. Consequently, 100G optical modules have already begun to be used commercially in large quantities. Currently, 400G optical modules have been researched and developed; however, because 400G optical modules are expensive—exceeding the cost of four 100G optical modules—they lack economic value for commercial use. To transmit 400G business data over 100G optical modules, international standards organizations have defined the FlexE protocol. The FlexE protocol combines multiple 100G optical modules to form a single high-speed transmission channel. As illustrated in Fig. 1, by combining four 100G optical modules via the FlexE protocol to form a single 400G transmission channel with the same transmission speed as a single 400G optical module, the transmission demand of 400G business is met without increasing costs. Although the MTN standard specification defines that Operation Administration Maintenance (OAM) code blocks for channel bearing quality monitoring are added to the client business transmission code stream to detect the quality of service status bearing the client business channel, such as bit error rate, latency, and business discarding, the MTN standard specification does not provide how to implement performance detection of the bearer channel by receiving and detecting valid OAM information blocks from the client business code stream and extracting the valid content of the OAM information blocks. The problem to be solved
[0003] Embodiments of the present invention provide a method and apparatus for receiving an OAM information block to at least solve the problem of how to receive and detect a valid OAM information block from a client business code stream in the relevant technology. means of solving the problem
[0004] According to one embodiment of the present invention, a method for receiving an OAM information block is provided, comprising: a step of determining a reference location and a delivery period value at which an OAM information block is received; a step of determining an expected reception location of the next OAM information block according to the reference location and the delivery period value, determining an effective reception range according to the expected reception location, and extracting an OAM information block from a client business code block stream within the effective reception range; and a step of synchronizing the order relationship of the OAM information block according to the extracted OAM information block type and alignment result, and after synchronization, extracting the OAM information block content to monitor the service quality of a bearer channel.
[0005] In one exemplary embodiment, the step of determining a reference location where an OAM information block is received comprises: using the currently actually received OAM information block as the reference location; and estimating a desired transmission location of the OAM information block based on the currently actually received OAM information block and a code block location offset value, and using the desired transmission location as the reference location.
[0006] In one exemplary embodiment, the step of determining the transmission period value of an OAM information block comprises: determining the transmission period value of the OAM information block through a device configuration value; determining the transmission period value of the OAM information block by receiving a period value carried in the OAM information block; and calculating the average interval of the OAM information block according to the reception location of a plurality of OAM information blocks and determining the transmission period of the OAM information block according to the average interval.
[0007] In one exemplary embodiment, the step of determining an effective reception range according to the anticipated reception location includes determining, centered on the anticipated reception location, a predetermined range before and after the anticipated reception location, or a predetermined range after the anticipated reception location, as the effective reception range in which the OAM information block is received.
[0008] In one exemplary embodiment, the factor influencing the size of the effective reception range of the receiver includes at least one of: the maximum deviation value between the expected transmission position of the transmitter and the actual transmission position; and the offset of the client business caused by the addition and deletion of free blocks in the network bearing.
[0009] In one exemplary embodiment, the step of extracting an OAM information block from a client business code block stream within a valid reception range comprises: extracting the OAM information block from the client business code block stream if the OAM information block received within the valid reception range is a location-legal OAM information block; marking the OAM information block as vacant if no OAM information block is received within the valid reception range; and providing a location-illegible warning instruction if the OAM information block received outside the valid reception range is a location-illegible OAM information block.
[0010] In one exemplary embodiment, there is at most one location-legal OAM information block within the valid reception range, and if multiple OAM information blocks are received within the valid reception range, it is determined that the number of OAM information blocks received is incorrect and quantity warning information is provided; upon the OAM information block quantity warning, one of the OAM information blocks is extracted, or all OAM information blocks are discarded and determined to be OAM information block vacancy.
[0011] In one exemplary embodiment, the step of synchronizing the order relationship of OAM information blocks according to the extracted OAM information block type and alignment result, and then extracting the OAM information block content to monitor the service quality of a bearer channel, comprises: extracting OAM information blocks of each valid reception range and performing OAM information block bearing order synchronization and order relationship detection; performing a synchronization determination process of the receiver OAM order when the order status of the receiver OAM information blocks is in a desynchronized state; and performing service quality monitoring of the bearer channel according to the OAM information code block content when the order status of the receiver OAM information blocks is in a synchronized state.
[0012] In one exemplary embodiment, the sequence state synchronization process of the receiving end OAM information block is implemented by a state machine, and the state machine is a state machine composed of two states, three states, or four states.
[0013] In one exemplary embodiment, when the sequence state of the receiving end OAM information block is in an asynchronous state, the step of performing a synchronization determination process for the receiving end OAM sequence includes: when the sequence state of the receiving end OAM information block is in an asynchronous state, selecting one received OAM information block as a reference OAM information block, and if the next received OAM information block and the previous reference OAM information block do not correspond to an expected sequence relationship, selecting the reference OAM information block again; and when the sequence state of the receiving end OAM information block is in an asynchronous state, selecting one received OAM information block as a reference OAM information block, and if the reference OAM information block and a plurality of subsequently received OAM information blocks correspond to an expected sequence relationship, entering a synchronization state; one of these steps.
[0014] In one exemplary embodiment, when the order status of the receiving end OAM information block is in a synchronized state, the step of performing service quality monitoring of the bearer channel according to the OAM information code block content includes the step of performing service quality monitoring of the bearer channel according to the OAM information code block content when the order status of the receiving end OAM information block is in a synchronized state and the received OAM information block corresponds to an expected order relationship.
[0015] In one exemplary embodiment, the method further includes the step of determining that the order of the OAM information blocks is incorrect when the receiving end OAM information code order state is in a synchronized state and the received OAM information blocks do not correspond to an expected order relationship.
[0016] In one exemplary embodiment, the method further includes the step of, when the receiving end OAM information block sequence state is in a synchronized state, if a plurality of subsequently received OAM information blocks do not correspond to an expected sequence relationship, the receiving end OAM information block sequence state enters from a synchronized state to a desynchronized state.
[0017] According to another embodiment of the present invention, a receiving device for an OAM information block located at a receiving end is provided, and the device comprises: a determination module configured to determine a reference location and a delivery period value for receiving the OAM information block; an extraction module configured to determine an expected receiving location of the next OAM information block according to the reference location and delivery period value, determine an effective receiving range according to the expected receiving location, and extract an OAM information block from a client business code block stream within the effective receiving range; and a synchronization module configured to synchronize the order relationship of the OAM information block according to the extracted OAM information block type and sorting result, and to extract the OAM information block content after synchronization to monitor the service quality of the bearer channel.
[0018] In one exemplary embodiment, the determination module determines the reference location where the OAM information block is received through one of the following methods: using the currently actually received OAM information block as the reference location; estimating the desired transmission location of the OAM information block based on the currently actually received OAM information block and the code block location offset value, and using the desired transmission location as the reference location.
[0019] In one exemplary embodiment, the determination module determines the transmission period value of an OAM information block through one of the following methods: a method of determining the transmission period value of an OAM information block through a device configuration value; a method of determining the transmission period value of an OAM information block by receiving a period value carried in an OAM information block; or a method of calculating the average interval of an OAM information block according to the reception location of a plurality of OAM information blocks and determining the transmission period of an OAM information block according to the average interval.
[0020] In one exemplary embodiment, the extraction module further includes an effective reception range determination unit configured to determine, centered on the anticipated reception position, a predetermined range before and after the anticipated reception position, or a predetermined range after the anticipated reception position, as the effective reception range in which the OAM information block is received.
[0021] In one exemplary embodiment, the extraction module further comprises: a first extraction unit configured to extract the OAM information block from the client business code block stream when the OAM information block received within the valid reception range is a location-legal OAM information block; a display unit configured to indicate the OAM information block as vacant when the OAM information block is not received within the valid reception range; and a warning unit configured to provide a location-illegible warning instruction when the OAM information block received outside the valid reception range is a location-illegible OAM information block.
[0022] According to another embodiment of the present invention, a computer-readable storage medium is further provided, said computer-readable storage medium has a computer program stored therein, said computer program is configured to perform the steps of any one of the method embodiments when executed.
[0023] According to another embodiment of the present invention, an electronic device comprising a memory and a processor is further provided, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to perform the steps of any one of the method embodiments. Effects of the invention
[0024] In the above embodiment of the present invention, performance detection of a bearer channel is implemented by receiving and detecting a valid OAM information block from a client business code stream and extracting the valid content of the OAM information block. Brief explanation of the drawing
[0025] Figure 1 is a schematic diagram of the application of the FlexE protocol according to the relevant technology. Figure 2 is a schematic diagram of the array locations of the FlexE protocol overhead block and data block according to the relevant technology. Figure 3 is a schematic diagram of the allocation of FlexE protocol business in a multi-physical channel according to the relevant technology. Figure 4 is a schematic diagram of the structure of a FlexE protocol overhead frame according to the relevant technology. Figure 5 is a schematic diagram of the process of applying FlexE protocol bearings to client business according to related technology. Figure 6 is a schematic diagram of inserting an OAM information block into a client business code block stream according to the relevant technology. Figure 7 is a schematic diagram of the sequence of inserting an OAM information block into a client business code block stream by a transmission port according to the relevant technology. Figure 8 is a schematic diagram of the actual location where an OAM information block is inserted into a client business code block stream by a transmission port according to the relevant technology. Figure 9 is a schematic diagram of the location range where an OAM information block is detected by a receiving end according to the relevant technology. FIG. 10 is a schematic diagram of the structure of a computer terminal according to an embodiment of the present invention. FIG. 11 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention. FIG. 12 is a schematic diagram of the structure of an OAM information block receiving device according to an embodiment of the present invention. FIG. 13 is a schematic diagram of the structure of an OAM information block receiving device according to another embodiment of the present invention. FIG. 14 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention. FIG. 15 is a schematic diagram of the location range in which an OAM information block is detected by a receiving end according to an embodiment of the present invention. FIG. 16 is a schematic diagram of the range in which an OAM information block is extracted from a client business code block stream by a receiving end according to an embodiment of the present invention. FIG. 17 is a schematic diagram of the sequence after extracting an OAM information block by a receiving end according to an embodiment of the present invention. FIG. 18 is a schematic diagram of a method in which the OAM information block synchronization frame hold state is processed by a receiving end according to an embodiment of the present invention. FIG. 19 is a schematic diagram of a method in which an OAM information block synchronization frame hold state is processed by a receiving end according to another embodiment of the present invention. FIG. 20 is a schematic diagram of a state machine according to an embodiment of the present invention. FIG. 21 is a schematic diagram of a state machine according to another embodiment of the present invention. Specific details for implementing the invention
[0026] Below, embodiments of the present invention will be described in detail with reference to the drawings and examples.
[0027] It should be explained that terms such as "first," "second," etc., in the specification, claims, and drawings of the present invention are intended to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0028] Currently, the FlexE protocol is defined by the 100G speed of the physical layer. In the optical module, 100G datagrams perform 64 / 66 encoding on the data packet message before transmission, expand the 64-bit data block into a 66-bit information block, place an incremented 2 bits at the beginning of the 66-bit block as a start flag, and then transmit it from the optical port in the 66-bit block format. Upon reception, the optical port identifies the 66-bit block from the received data stream, recovers the original 64-bit data from the 66-bit block, and reassembles the datagram. The FlexE protocol is located at the 64-bit to 66-bit block conversion layer and aligns the 66-bit data block before transmission. As illustrated in FIG. 2, for a 100G business, 20 66-bit data blocks are divided into one data block group, and the total of 20 data blocks in each group represent 20 time slots, each time slot represents a business speed of 5G bandwidth. As shown in the black blocks of FIG. 2, when transmitting 66-bit data blocks, one FlexE overhead block is inserted whenever 1023 data block groups (1023 * 20 data blocks) are completed. After inserting the overhead block, data blocks are continuously transmitted, and after completing the transmission of the second 1023 * 20 data blocks, the overhead block is inserted again. In this manner, overhead blocks are periodically inserted during the transmission of data blocks, and the interval between two adjacent overhead blocks is 1023 * 20 data blocks.
[0029] When four channels of 100G physical layers are combined into one 400G logical business bandwidth, as illustrated in FIG. 3, each physical layer still forms one data block group consisting of 20 data blocks, and one overhead byte is inserted for every 1023 data block groups. In the shim layer of FlexE, the 20 data blocks from the four channels are assembled into one data block group consisting of 80 data blocks, and there are 80 time slots in the block group. Client business is transmitted within these 80 time slots, with each time slot bandwidth being 5G, and the total business transmission bandwidth is 400G.
[0030] The FlexE overhead block is an overhead block with a length of 66 bits, and one overhead block is inserted for every 1023 * 20 data blocks when transmitting a business data stream. Since the overhead block serves a positioning function within the entire business stream, locating the overhead block allows one to determine the position of the first group of data blocks and subsequent data blocks within the business. The contents of the overhead block are as illustrated in FIG. 4, and eight consecutive overhead blocks constitute one overhead frame. One overhead block consists of a 2-bit block flag and 64-bit block content. The block flag is located in the first two columns, and the following 64 columns are the block content; the block flag of the first overhead block is "10," and the block flags of the following seven overhead blocks are "01" or "SS" (SS indicates that the content is uncertain). The contents of the first overhead block are 0x4B (8 bits, 4B in hexadecimal), C bit (1 bit, control control instruction), OMF bit (1 bit, indicating an overhead frame multi-frame instruction), RPF bit (1 bit, indicating a remote end fault instruction), RES bit (1 bit, reserve bit), FlexE group number (20 bits, indicating the member group number), 0x5 (4 bits, 5 in hexadecimal), and 000000 (28 bits, all 0s). Here, 0x4B and 0x5 are flag instructions for the first overhead block, and upon reception, if a single overhead block with corresponding positions 0x4B and 0x5 is found, it indicates that the overhead block is the first overhead block in the overhead frame and forms one overhead frame together with the subsequent seven consecutive overhead blocks.In an overhead frame, as shown in the black block of Fig. 4, the reserved portion is reserved content that is not yet defined. The FlexE protocol defines that one frame is composed of eight overhead blocks, the first of which is represented by two fields: 4B (indicated as hexadecimal, 0x4B) and 05 (indicated as hexadecimal, 0x5). When a corresponding position in the overhead block is detected to be the 4B and 05 content, it indicates that the overhead block is the first overhead block and forms one frame together with the subsequent seven overhead blocks.
[0031] Figure 5 illustrates the process of the FlexE protocol bearing client business. For client business, 64 / 66 encoding is performed first, the client data stream is cut into blocks of information 64 bits (8 bytes) in length, and then the 64 bits of information are encoded to create 66-bit information blocks. After 64 / 66 encoding, the business stream becomes a stream of information blocks 66 bits in length. These information blocks are divided into data blocks (the first two bits are "01", indicating that the block is a data block) and control blocks (the first two bits are "10", indicating that the block is a control block), and the two information blocks are distinguished by the first two bits of the information blocks. The control information blocks can also be divided into various different control information blocks (e.g., free information blocks, also called IDLE blocks), and are distinguished by the first byte of the control information blocks. After performing 64 / 66 encoding on client information, speed control is implemented by adding or deleting free information blocks, and then, depending on the time slot configuration situation, 66-bit information blocks are placed at corresponding locations in the time slot calendar defined in the FlexE protocol.
[0032] The FlexE protocol provides a flexible transmission channel for client business and can flexibly adjust the size of the transmission channel according to client bandwidth demand. However, since the FlexE protocol provides only one channel for the client and does not provide the OAM (Operation, Administration, Maintenance, abbreviated as OAM) function for managing the quality of service of the channel, the channel quality of service cannot be monitored in real time. A function for inserting OAM information blocks is added to the MTN standard specification, and by inserting OAM information blocks into the client business code stream, a monitoring function for the quality of service of the client business stream is implemented. The specific implementation method is illustrated in Fig. 6, and the transmitting end inserts a specific OAM information code block into the client business stream code block and binds maintenance management information to the OAM information code block. At the receiving end, the OAM information block in the client code stream is extracted, and maintenance management information can be obtained through the content bound to the OAM information block. At the transmitting end, OAM information blocks are generally added periodically to the client business code stream, and as shown in FIG. 7, for example, one OAM information code is inserted for every 16K (i.e., insertion period T = 16384) client code blocks. There are many specific types of OAM information blocks, and OAM information code blocks defined in the MTN standard include base code blocks, APS code blocks, and low priority code blocks. Among these, low priority OAM information code blocks include CV code blocks, CS code blocks, 1DM code blocks, 2DMM, 2DMR, etc. The transmission order rule for these code blocks is base block, APS block, base block, low priority code block, and they are transmitted repeatedly according to the above order rule.As illustrated in FIG. 8, for low priority code blocks, 64 low priority code blocks are transmitted in rotation of one sub-cycle, and the order relationship of the low priority code blocks is as follows. The 1st to 7th low priority code blocks are CV code blocks, the 18th low priority code block is a CS code block, the 19th to 31st low priority code blocks are 1DM code block / 2DMM / 2DMR block, and the 32nd to 64th low priority code block positions are reserve (free) positions. During transmission, base code blocks are transmitted periodically and continuously according to periodic rules. APS code blocks are transmitted as needed and are transmitted only when there is an APS code block; otherwise, the APS code block is not transmitted and is skipped this time. Low priority code blocks are transmitted in a similar manner, and the CV code blocks transmitted periodically are all transmitted every time, while other code blocks transmitted as needed transmit the corresponding low priority message only when there is a transmission demand, otherwise they are skipped. In the case of a reserve position for a low-priority message transmission rule, it is skipped this time and the OAM information code is not transmitted.
[0033] After 64 / 66-bit encoding is performed on the client business, the first block of one client message is the S block (first block), the next is the D block (data block), and finally the T block (tail block). Since the OAM information code can be inserted only between messages, the OAM can be inserted only at a position after the T block and before the S block of the message. If the expected position is in the middle of the message, for example, if the previous information block is the S block or the D block, it can be inserted only after the current message ends and the T block appears. The actual insertion position is delayed compared to the desired (expected) insertion position, and as shown in Fig. 8, there is a deviation amount Δ between the actual insertion position and the expected insertion position each time, and the Δ value is an arbitrary size value and is related to the length of the message being transmitted when the OAM information code block is inserted.
[0034] Since the location of the OAM information block transmitted by the transmitting end is uncertain, and there are occasional instances where the OAM information block is skipped or the OAM information block is missing, various scenarios may occur when the receiving end searches for the OAM information block, such as the scenario shown in Fig. 9. Gray indicates that the OAM information block is skipped and the OAM information block is not actually received, while black indicates that the OAM information block is actually received. Therefore, the receiving end must determine whether the location of the OAM information block is accurate from the received OAM information code, and if the location of the OAM information block is accurate, determine whether the OAM information block is of the desired type and whether the sequence relationship of the OAM information blocks is accurate.
[0035] To this end, an embodiment of the present invention provides a method for receiving and detecting an OAM information block in a client business code stream to implement performance detection of a bearer channel by rapidly detecting a valid OAM information block and extracting the valid content of the OAM information code.
[0036] The method embodiment provided in the embodiment of the present invention may be performed on a mobile terminal, a computer terminal, or a similar computing device. As an example of execution on a mobile terminal, FIG. 10 is a block diagram of the hardware structure of a computer terminal of the method of the embodiment of the present invention. As shown in FIG. 2, the computer terminal may include one or more (only one is shown in FIG. 10) processors (102) (the processors (102) may include, but are not limited to, processing devices such as a microprocessor (MCU) or a programmable logic device (FPGA)) and a memory (104) for storing data, wherein the computer terminal may further include a transmission device (106) and an input / output device (108) for communication functions. A person skilled in the art will understand that the structure shown in FIG. 10 is merely exemplary and does not limit the structure of the computer terminal. For example, the computer terminal may include more or fewer components than shown in FIG. 10, or may have a different configuration than shown in FIG. 10.
[0037] Memory (104) may store computer programs such as software programs and modules of application software, such as computer programs corresponding to the method of the embodiment of the present invention, and the processor (102) implements the method by executing the computer programs stored in memory (104) to perform various functional applications and data processing. Memory (104) may include high-speed random access memory and may further include one or more non-volatile memories such as magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some embodiments, memory (104) may further include memory installed remotely to the processor (102), and such remote memory may be connected to a computer terminal via a network. Examples of the network include, but are not limited to, the Internet, intranet, local area network, mobile network, and combinations thereof.
[0038] A transmission device (106) receives or transmits data through a network. A specific embodiment of the network may include a wireless network provided by a communication carrier of a computer terminal. In one embodiment, the transmission device (106) includes a Network Interface Controller (NIC) that is connected to another network device through a base station and can communicate with the Internet. In one embodiment, the transmission device (106) may be a Radio Frequency (RF) module that communicates with the Internet wirelessly.
[0039] In this embodiment, a method for receiving an OAM information block executable on the computer terminal is provided, FIG. 11 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention, and as shown in FIG. 11, the flow is,
[0040] Step S1101 for determining a reference location and a forwarding period value for receiving an OAM information block; Step S1102 for determining an expected reception location of the next OAM information block according to the reference location and forwarding period value, determining an effective reception range according to the expected reception location, and extracting an OAM information block from a client business code block stream within the effective reception range; and
[0041] It includes step S1103 of synchronizing the order relationship of OAM information blocks according to the extracted OAM information block type and alignment result, and after synchronization, extracting the OAM information block content to monitor the service quality of the bearer channel.
[0042] In step S1101 of the present embodiment, the reception reference position of the OAM information block may use the currently actually received OAM information code block as the location of the reference code block. The reception reference position of the OAM information block may also be used as the reference position by estimating the desired transmission position of the OAM information code block based on the currently actually received OAM information code block and the code block location offset value.
[0043] The OAM information code transmission period value can be obtained through device configuration values, or the OAM information code transmission period value can be obtained through the period value carried in the OAM information block. The OAM information code transmission period value can be estimated by receiving the reception locations of multiple OAM information blocks, aggregating and calculating the average interval of the OAM information code, and estimating the OAM information code transmission period.
[0044] In step S1102 of the present embodiment, an anticipated reception location for the next OAM information block to be received is determined according to the reference location and the transmission period of the OAM information block. Centered on the anticipated reception location, the OAM information block is received within a predetermined range before and after the anticipated reception location, or the OAM information block is received only within a predetermined range after the anticipated reception location, and the reception range is an effective reception range.
[0045] The size of the receiver's effective reception range is determined by the maximum deviation value between the sender's expected transmission position and the actual transmission position (i.e., the deviation value due to the maximum client message), and is affected by the slight offset of the client business caused by the addition and deletion of small amounts of free blocks experienced in the network bearing.
[0046] OAM information blocks received within the valid reception range are location-legal OAM information blocks. If no OAM information blocks are received within the valid reception range, they are marked as OAM information block vacancy; if an OAM information block received outside the valid reception range is a location-illegal OAM information block, a location-illegal warning instruction is provided. Under normal conditions, if there is at most one valid OAM information block within the valid reception range and multiple valid OAM information blocks are received within a single valid reception range, the received quantity of OAM information blocks is determined to be incorrect, and quantity warning information is provided. Upon the OAM information block quantity warning, one of the OAM information blocks may be extracted, all OAM information blocks within the aforementioned range may be discarded, or the block may be determined as OAM information block vacancy.
[0047] In step S1103 of the present embodiment, OAM information blocks of each effective receiving range are extracted, and OAM information block bearing order synchronization and order relationship detection are performed. If the order state of the receiving end OAM information block is in a desynchronized state, a synchronization determination process for the receiving end OAM order is performed. If the order state of the receiving end OAM information block is in a synchronized state, service quality monitoring of the bearer channel is performed by applying the OAM information code block content. The synchronization process of the order state of the receiving end OAM information block can be implemented by a state machine, and the state machine may be various state machines, such as a state machine composed of two states or a state machine composed of four states.
[0048] In step S1103 of the present embodiment, if the receiving end OAM information block sequence state is in an asynchronous state, one received OAM information block is selected as the reference OAM information block, and if the next received OAM information block and the previous reference OAM information block do not correspond to the sequence relationship of BABL, the reference OAM information block is selected again. If the receiving end OAM information block sequence state is in an asynchronous state, one received OAM information block is selected as the reference OAM information block, and if the reference OAM information block and a plurality of subsequently received OAM information blocks (e.g., 4) correspond to the sequence relationship of BABL, the system enters a synchronous state.
[0049] In step S1103 of the present embodiment, when the receiving end OAM information block sequence state is in a synchronized state, if the received OAM information block corresponds to the expected sequence relationship of BABL, the bearing content of the OAM information block is applied. When the receiving end OAM information code sequence state is in a synchronized state, if the received OAM information block does not correspond to the expected sequence relationship of BABL, the OAM information block sequence is determined to be incorrect. When the receiving end OAM information block sequence state is in a synchronized state, if a plurality of subsequently received OAM information blocks (e.g., 4) do not correspond to the expected sequence relationship of BABL, the receiving end OAM information block sequence state enters a desynchronized state from a synchronized state.
[0050] Through the description of the above embodiments, a person skilled in the art can clearly understand that the method according to the above embodiments may be implemented in a form combining software and a necessary general-purpose hardware platform, and of course may be implemented through hardware, but in most cases, the former is a more preferred embodiment. Based on this understanding, the technical solution of the present invention, or a part that contributes to the prior art, may be implemented in the form of a software product, and said computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) containing a plurality of instructions that enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to perform the method according to each embodiment of the present specification.
[0051] In this embodiment, a receiving device for an OAM information block is further provided. The device is intended to implement the above embodiment and preferred embodiment, and parts already described are not repeated. Hereinafter, the terms "module" or "unit" used may implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, it may also be implemented in hardware, or a combination of software and hardware.
[0052] FIG. 12 is a structural block diagram of a device of an OAM information block according to an embodiment of the present invention, and the device is located in a fisheries complex, and as shown in FIG. 12, the device includes a determination module (10), an extraction module (20), and a synchronization module (30).
[0053] The decision module (10) is configured to determine the reference location and transmission period value at which the OAM information block is received.
[0054] The extraction module (20) is configured to determine the expected reception location of the next OAM information block according to the reference location and the delivery period value, determine the effective reception range according to the expected reception location, and extract the OAM information block from the client business code block stream within the effective reception range.
[0055] The synchronization module (30) is configured to synchronize the order relationship of OAM information blocks according to the extracted OAM information block type and alignment result, and after synchronization, to extract the OAM information block content to monitor the service quality of the bearer channel.
[0056] In one exemplary embodiment, the determination module (10) can determine the reference location where the OAM information block is received by using the currently actually received OAM information block as the reference location; or estimating the desired transmission location of the OAM information block based on the currently actually received OAM information block and the code block location offset value, and using the desired transmission location as the reference location.
[0057] In one exemplary embodiment, the determination module (10) can determine the transmission period value of an OAM information block through one of the following methods: determining the transmission period value of an OAM information block through a device configuration value; determining the transmission period value of an OAM information block by receiving a period value carried in an OAM information block; or calculating the average interval of an OAM information block according to the reception location of a plurality of OAM information blocks and determining the transmission period of an OAM information block according to the average interval.
[0058] FIG. 13 is a structural block diagram of a device of an OAM information block according to another embodiment of the present invention, and as shown in FIG. 13, in addition to including all modules shown in FIG. 12, the extraction module (10) further includes an effective reception range determination unit (11), a first extraction unit (12), a display unit (13), and a warning unit (14).
[0059] The effective reception range determination unit (11) is configured to determine, based on the anticipated reception position, a predetermined range before and after the anticipated reception position, or a predetermined range after the anticipated reception position, as the effective reception range in which the OAM information block is received.
[0060] The first extraction unit (12) is configured to extract the OAM information block from the client business code block stream when the OAM information block received within the valid reception range is a location-legal OAM information block.
[0061] The display unit (13) is configured to display the OAM information block vacancy when the OAM information block is not received within the effective reception range.
[0062] The warning unit (14) is configured to provide a location illegal warning instruction if the OAM information block received outside the effective reception range is a location illegal OAM information block.
[0063] It should be explained that each of the above modules may be implemented through software or hardware, and in the latter case, the modules may all be located on the same processor; or, each of the modules may be located on different processors in an arbitrarily combined form, but is not limited thereto.
[0064] For the convenience of understanding the technical solution provided in the present invention, an embodiment combining specific scenarios will be described in detail below.
[0065] In this embodiment, a method for receiving an OAM information block is provided, and FIG. 14 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention, and as shown in FIG. 14, a specific implementation method of the receiving end includes the following steps.
[0066] In step S1401, after one OAM information block is received by the receiving unit, the desired position of the next OAM information block is determined by first using the OAM information block as a reference position.
[0067] Specifically, the first received OAM information block is the actual receiving location, which may or may not be the desired transmission location, and a deviation exists between the actual location and the desired location. If the amount of deviation between the actual location and the desired location is carried in the received OAM information block, the actual desired transmission location can be estimated, and the estimated desired location is used as the reference location. If the desired transmission location cannot be obtained, the actual received OAM location is used as the reference location. After the reference location is determined, the desired location of the next OAM information block can be obtained according to the period T. The period value T can be obtained by system specifications or carried in the OAM information block by the transmitting end and provided to the receiving end. Based on the reference location and the period T value, the desired location of the next OAM information code is calculated, and the next OAM information block is received near the desired location. A deviation value Δ may exist between the actual appearance location of the next OAM information block and the calculated desired location, and the magnitude of the deviation value is related to the maximum message length. When the maximum message length on the link is 9600 bytes, the 9600-byte message becomes 1200 66-bit code blocks after encoding, so the maximum deviation value Δmax due to message length is 1200. When the maximum message length is 1518 bytes, the 1518-byte message becomes 190 66-bit code blocks after encoding, so the maximum deviation value Δmax due to message length is 190.In the bearing transmission of a client business in a network, intermediate network devices add or delete a small amount of free blocks (IDLE blocks), LF (local fault) blocks, and RF (remote fault) blocks between messages due to clock deviation, and the maximum deviation value Δmax between the actual location and the desired location of the OAM information block detected at the receiving end may be slightly greater than 1200 (max message is 9600 bytes) or 190 (max message is 1518 bytes), and the maximum amount added does not exceed 1 block every time it passes through two devices, and the offset increase amount is very small and can be omitted, and this amount of change may also be taken into account depending on the number of devices passing through in the bearing transmission of a client business in a network.
[0068] At the receiving end, when the reference code block is the actual desired position of the transmitting end, the desired position of the next OAM information block calculated according to the period value is also the actual desired position of the transmitting end, and the next code block appears only at the actual desired position or after the actual desired position, that is, the range in which the next OAM information block may appear is within the range of (actual desired position, desired position + Δmax), as illustrated in FIG. 15. When the reference position is the actual position of the OAM information block of the receiving end (when the actual desired position is unknown) and is not the actual desired position, there is an inherent deviation between the reference position and the actual desired position, and the desired position of the next OAM information block is calculated according to the actual receiving position and period value used as the reference position, and since the calculated desired position is also not the actual desired position, the next OAM information block estimated in this way may appear before the estimated desired position or after the estimated desired position, that is, the range in which the next OAM information block appears is within the range of (estimated desired position - Δmax, estimated desired position + Δmax), as illustrated in FIG. 16.
[0069] In step S1402, after the reception range of the next OAM information block is determined, the OAM information block received within the reception range is a location-legal OAM information code, and the OAM information block received outside the reception range is a location-illegal OAM information code. After the location-illegal OAM information code is received, an OAM information code location anomaly warning is reported. If only one OAM information block appears within the reception range of one OAM information block, and two or more OAM information blocks are received, an OAM information block quantity anomaly is reported, all OAM information blocks within the said range are discarded, marked as an OAM information block error, marked as an OAM information block vacancy, or one OAM information block is selected from the multiple OAM information blocks to perform subsequent processing. When no OAM information block is received within one reception range, it is marked as an OAM information block vacancy.
[0070] In step S1403, OAM information blocks received within each receiving range are sorted (indicated as vacancy when no OAM information blocks are received within the receiving range). As illustrated in FIG. 17, OAM information blocks within the 3rd range and the 8th range are indicated as vacancy, while OAM information blocks within other ranges are all normally received OAM information blocks. The transmitting end transmits OAM information blocks according to B-A-B-L, and the receiving end receives them in the order of B-A-B-L. Four blocks in the order relationship of B-A-B-L are considered as one frame structure, and when the receiving end OAM information blocks are in the order relationship frame non-hold state, if the receiving end satisfies the order relationship of B-A-B-L after receiving a predetermined number of OAM information blocks (e.g., 4 OAM information codes), the receiving end jumps from the order relationship frame non-hold state to the order frame hold state and receives subsequent OAM information blocks according to the frame hold state. In the frame hold state, if the received OAM information block does not conform to the B-A-B-L sequence relationship, an OAM sequence relationship error warning is reported. If multiple errors occur in the sequence relationship of the received OAM information block, the OAM receiver jumps from the sequence frame hold state to the sequence frame loss state. The receiver's OAM information block reception sequence frame hold process can be represented as a state machine, and FIG. 18 is an example of an implementation of two states (frame loss state and frame hold state). In the frame loss state, if the received OAM information block conforms to the expected sequence and the number of times the sequence is correct reaches a specified quantity, the receiver jumps from the frame loss state to the frame hold state; otherwise, it maintains the frame loss state. In the frame loss state, if the sequence error reaches a certain degree, it is explained that the reference position may be incorrect; the OAM information block position is re-selected and used as the reference position, the expected reception range is re-determined, and the reception order verification process is restarted.In the frame hold state, if the sequence of received OAM information blocks violates a rule and the number of rule violations reaches a specific threshold, it jumps from the frame hold state to the frame loss state; otherwise, it continues to maintain the frame hold state.
[0071] In step S1404, in the frame hold state, if the received OAM information block corresponds to the sequence relationship, the service quality monitoring activity of the client business bearer channel can be performed using the OAM information block.
[0072] The threshold quantity for jumping from a frame loss state to a frame hold state may be determined by the specification, and the threshold quantity may be the threshold quantity after all consecutive multiple OAM information blocks conform to the order relationship, or it may be the threshold quantity within a specific quantity window, such as when 8 out of 10 OAM information codes conform to the order. Likewise, the threshold quantity for jumping from a frame hold state to a frame loss state may be determined by the specification, and the threshold quantity may be the threshold quantity where all consecutive multiple OAM information blocks do not conform to the order relationship, or it may be the threshold quantity within a specific quantity window, such as when 8 out of 10 OAM information codes do not conform to the order.
[0073] In this embodiment, changes in the frame loss state and frame hold state can be represented by two state machines or four state machines, and as illustrated in FIG. 19, two temporary states, the correct order state and the incorrect order state, are added to FIG. 19. When in the frame loss state, after receiving OAM information blocks in the correct order, it enters the correct order state. In the correct order state, when OAM information blocks in the correct order are received, the quantity of correct order OAM information blocks is accumulated, and when the quantity of correct order OAM information blocks reaches a criterion (reaches an expected quantity), it jumps to the frame hold state; otherwise, it remains in the correct order state for a while. In the correct order state, when OAM information blocks in the wrong order are received (or a specific quantity of incorrect order blocks are received), it jumps back to the frame loss state. In the frame hold state, when OAM information blocks in the wrong order are received, it jumps to the incorrect order temporary state. In the sequence error state, when an OAM conversion code out of order is received, the quantity of OAM information blocks out of order accumulates, and if the quantity of OAM information blocks out of order exceeds a range (reaches a specific quantity), it jumps to the frame loss state; otherwise, it remains in the sequence error state for a while. In the sequence error state, when an OAM information block out of order is received (or when a specific quantity of OAM information blocks out of order is received), it returns to the frame hold state. In addition to representing the changes between the frame loss state and the frame hold state as a two-state machine and a four-state machine, the three-state machine is an intermediate transition state machine between the two-state and four-state machines.
[0074] An embodiment of the present invention further provides a computer-readable storage medium, said computer storage medium has a computer program stored therein, said computer program is configured to perform a step of any one of the embodiments when executed.
[0075] In one exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB memory, Read-Only Memory (ROM), Random Access Memory (RAM), an external hard drive, a magnetic disk, or an optical disk.
[0076] An embodiment of the present invention further provides an electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to perform the steps of any one of the method embodiments.
[0077] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0078] Specific examples in this embodiment can be found by referring to the examples described in the above embodiments and exemplary embodiments; therefore, this embodiment is not described repeatedly herein.
[0079] Of course, a person skilled in the art should understand that each module or each step of the present invention may be implemented through a general-purpose computing device, and may be integrated into a single computing device or distributed in a network of multiple computing devices, and may be implemented through program code executable by a computing device, so as to be stored in a storage device and executed by a computing device, and in some cases, the steps illustrated or described may be performed in an order different from the order herein, or may be fabricated as individual integrated circuit modules, or may be implemented by fabricating multiple modules or steps among them into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
[0080] The foregoing description is merely a preferred embodiment of the present invention and does not limit the invention; a person skilled in the art may make various changes and modifications to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention shall be included within the scope of protection of the present invention.
Claims
Claim 1 A method for receiving an OAM information block, comprising: a step of determining a reference location and a delivery cycle value at which the OAM information block is received; a step of determining an expected receiving location of the next OAM information block according to the reference location and the delivery cycle value, determining an effective receiving range according to the expected receiving location, and extracting an OAM information block from a client business code block stream within the effective receiving range; and a step of synchronizing the order relationship of the OAM information block according to the extracted OAM information block type and alignment result, and extracting the OAM information block content after synchronization; wherein the step of determining the delivery cycle value of the OAM information block comprises: a step of determining the delivery cycle value of the OAM information block through a device configuration value; a step of determining the delivery cycle value of the OAM information block by receiving a cycle value carried in the OAM information block; and a step of calculating an average interval of the OAM information block according to the receiving locations of a plurality of OAM information blocks and determining the delivery cycle of the OAM information block according to the average interval. Claim 2 A method for receiving an OAM information block according to claim 1, wherein the step of determining a reference location where an OAM information block is received comprises: using the currently actually received OAM information block as the reference location; and estimating a desired transmission location of the OAM information block based on the currently actually received OAM information block and a code block location offset value, and using the desired transmission location as the reference location. Claim 3 A method for receiving an OAM information block according to claim 1, wherein the step of determining an effective reception range according to the expected reception position comprises determining, centered on the expected reception position, a predetermined range before and after the expected reception position, or a predetermined range after the expected reception position, as the effective reception range in which the OAM information block is received. Claim 4 A method for receiving an OAM information block according to claim 3, wherein the influencing factor of the size of the effective reception range of the receiving end comprises at least one of: a maximum deviation value between the expected transmission position of the transmitting end and the actual transmission position; and an offset of the client business caused by the addition and deletion of free blocks in the network bearing. Claim 5 A method for receiving an OAM information block according to claim 1, wherein the step of extracting an OAM information block from a client business code block stream within a valid reception range comprises: a step of extracting the OAM information block from the client business code block stream when the OAM information block received within the valid reception range is a location-legal OAM information block; a step of marking the OAM information block as vacant when the OAM information block is not received within the valid reception range; and a step of providing a location-legal warning instruction when the OAM information block received outside the valid reception range is a location-legal OAM information block. Claim 6 A method for receiving OAM information blocks according to claim 5, wherein there is at most one location-legal OAM information block within the valid reception range, and when multiple OAM information blocks are received within the valid reception range, the quantity of OAM information blocks received is determined to be incorrect and quantity warning information is provided; and when the OAM information block quantity warning occurs, one of the OAM information blocks is extracted, or all OAM information blocks are discarded and determined to be OAM information block vacancy. Claim 7 A method for receiving OAM information blocks according to claim 1, wherein the step of synchronizing the order relationship of OAM information blocks according to the extracted OAM information block type and alignment result, and extracting OAM information block content after synchronization, comprises: extracting OAM information blocks of each effective reception range and performing OAM information block bearing order synchronization and order relationship detection; if the order status of the receiving end OAM information block is in a desynchronized state, performing a synchronization determination process of the receiving end OAM order; and if the order status of the receiving end OAM information block is in a synchronized state, performing service quality monitoring of the bearer channel according to the OAM information code block content. Claim 8 A method for receiving an OAM information block according to claim 7, wherein the sequence state synchronization process of the receiving end OAM information block is implemented by a state machine, and the state machine is a state machine composed of two states, three states, or four states. Claim 9 A method for receiving an OAM information block according to claim 7, wherein when the sequence state of the receiving end OAM information block is in a non-synchronized state, the step of performing a synchronization determination process of the receiving end OAM sequence comprises: when the sequence state of the receiving end OAM information block is in a non-synchronized state, selecting one received OAM information block as a reference OAM information block, and if the relationship between the next received OAM information block and the previous reference OAM information block does not correspond to an expected sequence relationship, selecting the reference OAM information block again; and when the sequence state of the receiving end OAM information block is in a non-synchronized state, selecting one received OAM information block as a reference OAM information block, and if the relationship between the reference OAM information block and a plurality of subsequently received OAM information blocks corresponds to an expected sequence relationship, entering a synchronization state; comprising one of these steps. Claim 10 A method for receiving an OAM information block according to claim 7, wherein when the sequence state of the receiving end OAM information block is in a synchronized state, the step of performing service quality monitoring of a bearer channel according to the OAM information code block content includes the step of performing service quality monitoring of a bearer channel according to the OAM information code block content when the sequence state of the receiving end OAM information block is in a synchronized state and the received OAM information block corresponds to an expected sequence relationship. Claim 11 A method for receiving an OAM information block according to claim 7, further comprising the step of determining that the order of the OAM information block is incorrect if the received OAM information block does not correspond to the expected order relationship when the receiving end OAM information code order state is in a synchronization state. Claim 12 A method for receiving OAM information blocks according to claim 7, further comprising the step of, when the receiving end OAM information block sequence state is in a synchronized state, if a plurality of subsequently received OAM information blocks do not correspond to an expected sequence relationship, the receiving end OAM information block sequence state enters from a synchronized state to a desynchronized state. Claim 13 A receiving device for an OAM information block located at a receiving end, comprising: a determination module configured to determine a reference position where the OAM information block is received and a transmission period value; an extraction module configured to determine an expected receiving position of the next OAM information block according to the reference position and transmission period value, determine an effective receiving range according to the expected receiving position, and extract an OAM information block from a client business code block stream within the effective receiving range; and a synchronization module configured to synchronize the order relationship of the OAM information block according to the extracted OAM information block type and sorting result, and to extract the OAM information block content after synchronization; wherein the determination module determines the transmission period value of the OAM information block through one of the following methods: a method of determining the transmission period value of the OAM information block through a device configuration value; a method of determining the transmission period value of the OAM information block by receiving a period value carried in the OAM information block; or a method of calculating an average interval of the OAM information block according to the receiving positions of a plurality of OAM information blocks and determining the transmission period of the OAM information block according to the average interval. Claim 14 A receiving device for an OAM information block according to claim 13, wherein the determination module determines a reference location where the OAM information block is received through one of the following methods: a method of using the currently actually received OAM information block as the reference location; and a method of estimating a desired transmission location of the OAM information block based on the currently actually received OAM information block and a code block location offset value, and using the desired transmission location as the reference location. Claim 15 A receiving device for an OAM information block according to claim 13, wherein the extraction module further comprises an effective receiving range determining unit configured to determine, centered on the expected receiving position, a predetermined range before and after the expected receiving position, or a predetermined range after the expected receiving position, as the effective receiving range in which the OAM information block is received. Claim 16 A receiving device for an OAM information block according to claim 13, wherein the extraction module further comprises: a first extraction unit configured to extract the OAM information block from a client business code block stream when the OAM information block received within the valid reception range is a location-legal OAM information block; a display unit configured to indicate the OAM information block as vacant when the OAM information block is not received within the valid reception range; and a warning unit configured to provide a location-illegal warning instruction when the OAM information block received outside the valid reception range is a location-illegal OAM information block. Claim 17 A non-transient computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the step of the method for receiving an OAM information block according to claim 1 is implemented. Claim 18 An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the step of the method for receiving an OAM information block according to claim 1 is implemented. Claim 19 delete Claim 20 delete