OAM information block receiving method and device
The method addresses the lack of OAM information block detection in the MTN standard by determining reference positions and synchronizing order relationships to extract and correct OAM blocks, enabling effective service quality monitoring of communication channels.
Patent Information
- Application Number
- JP2023548252
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-02-22
- Filing Date
- 2022-01-11
- Publication Date
- 2025-10-29
- Estimated Expiration
- 2042-01-11
AI Technical Summary
The MTN standard does not provide a method for receiving and detecting valid OAM information blocks from client traffic streams, which are essential for monitoring the service quality of communication channels.
A method and apparatus for receiving OAM information blocks by determining a reference position and transmission period, synchronizing the order relationship, and extracting valid content from the blocks within an effective reception range, using modules to determine and correct any discrepancies in the OAM information block positions and quantities.
Enables effective performance detection of the bearer channel by accurately receiving and extracting valid OAM information blocks, ensuring real-time monitoring of service quality.
Smart Images

Figure 0007762211000001 
Figure 0007762211000002 
Figure 0007762211000003
Abstract
Description
[Technical Field]
[0001] FIELD OF THE INVENTION Embodiments of the present invention relate to the field of communications, and in particular to a method and apparatus for receiving an OAM information block. [Background technology]
[0002] The rapid increase in user network information traffic has driven the rapid development of communication network information transmission bandwidth, and the interface bandwidth speed of communication devices has increased from 10 megabits (M) to 100M, and further increased to 1 gigabit (G), 10G, and 100G bandwidth speeds. A large number of commercial 100G optical modules have been introduced into the market, and 400G optical modules are also under development.
[0003] However, 400G optical modules are expensive, exceeding the price of four 100G optical modules, which eliminates the commercial economic value of 400G optical modules.To transmit 400G traffic with 100G optical modules, the International Organization for Standardization has defined the Flex Ethernet (FlexE) protocol.The FlexE protocol bundles multiple 100G optical modules to form a single high-speed transmission path.
[0004] As shown in Figure 1, four 100G optical modules are bundled together using the FlexE protocol to form a 400G transmission line with the transmission speed of one 400G optical module. This meets the transmission requirements of 400G traffic without increasing costs. The MTN standard specifies that an Operation, Administration, and Maintenance (OAM) block that monitors the channel's transport quality should be added to the code stream that carries client traffic. The OAM block detects the service quality status of the channel carrying client traffic, such as bit error rate, latency, and traffic discard.
[0005] However, the MTN standard does not provide a method for receiving and detecting valid OAM information blocks from client traffic streams, extracting the valid content of the OAM information blocks, and realizing performance detection of the transport channel. Summary of the Invention [Problem to be solved by the invention]
[0006] Embodiments of the present invention provide a method and apparatus for receiving OAM information blocks to solve at least the problem in the related art of how to receive and detect valid OAM information blocks from a client traffic stream. [Means for solving the problem]
[0007] According to one embodiment of the present invention, there is provided a method for receiving OAM information blocks, including the steps of: determining a reference position and a transmission period value for receiving OAM information blocks; determining an expected reception position of the next OAM information block based on the reference position and the transmission period value, determining an effective reception range based on the expected reception position, and extracting OAM information blocks in client traffic streams within the effective reception range; and synchronizing the order relationship of the OAM information blocks based on the types and sorting results of the extracted OAM information blocks, and extracting the contents of the OAM information blocks after synchronization to monitor the service quality of the transport channel.
[0008] In one exemplary embodiment, determining the reference position for receiving the OAM information block includes one of the following steps: determining the currently actually received OAM information block as the reference position; and estimating a desired transmission position of the OAM information block based on the currently actually received OAM information block and a block position offset value, and determining the desired transmission position as the reference position.
[0009] In one exemplary embodiment, determining the transmission periodicity value of the OAM information block includes one of the following steps: determining the transmission periodicity value of the OAM information block according to a setting value of the device; determining the transmission periodicity value of the OAM information block by receiving the periodicity value carried in the OAM information block; and calculating an average gap of the OAM information block based on the receiving positions of multiple OAM information blocks, and determining the transmission periodicity value of the OAM information block based on the average gap.
[0010] In one exemplary embodiment, the step of determining an effective reception range based on the expected reception position includes a step of determining, with the expected reception position as the center, a predetermined range before and after the expected reception position, or a predetermined range after the expected reception position, as the effective reception range for receiving OAM information blocks.
[0011] In one exemplary embodiment, the factors affecting the size of the effective reception range of the receiving end include at least one of the maximum deviation between the desired transmission position and the actual transmission position of the transmitting end, and the offset of client traffic due to the addition or deletion of idle blocks during network transmission.
[0012] In one exemplary embodiment, extracting OAM information blocks from a client traffic stream within an effective reception range includes one of the following steps: determining that an OAM information block received within the effective reception range is a valid OAM information block and extracting the OAM information block from the client traffic stream; marking the OAM information block as missing if no OAM information block is received within the effective reception range; and determining that an OAM information block received outside the effective reception range is an incorrectly positioned OAM information block and issuing an incorrectly positioned warning indication.
[0013] In one exemplary embodiment, there is at most one valid OAM information block within the effective reception range, and if multiple OAM information blocks are received within the effective reception range, it is determined that an error has occurred in the number of received OAM information blocks, and a quantity warning is issued. If a warning occurs in the number of OAM information blocks, one of the OAM information blocks is extracted, or all of the OAM information blocks are discarded, and it is determined that an OAM information block is missing.
[0014] In one exemplary embodiment, the step of synchronizing the order relationship of the OAM information blocks based on the types and sorting results of the extracted OAM information blocks, and extracting the contents of the OAM information blocks after synchronization to monitor the service quality of the transport channel includes the steps of: extracting OAM information blocks in each effective reception range to perform transport order synchronization and order relationship detection of the OAM information blocks; performing an OAM order synchronization determination process at the receiving end when the order status of the OAM information blocks at the receiving end is out of synchronization; and monitoring the service quality of the transport channel based on the contents of the OAM information blocks when the order status of the OAM information blocks at the receiving end is in synchronization.
[0015] In one exemplary embodiment, the sequence state synchronization process of the OAM information block at the receiving end is realized by a state machine, which is a state machine consisting of two states, three states, or four states.
[0016] In one exemplary embodiment, when the sequence state of the OAM information blocks at the receiving end is out of synchronization, the step of performing an OAM sequence synchronization determination process at the receiving end includes one of the steps of: selecting one received OAM information block as a reference OAM information block when the sequence state of the OAM information blocks at the receiving end is out of synchronization, and reselecting the reference OAM information block if the sequence between the next received OAM information block and the previous reference OAM information block does not match an expected sequence relationship; and selecting one received OAM information block as a reference OAM information block when the sequence state of the OAM information blocks at the receiving end is out of synchronization, and entering a synchronization state if the sequence between the reference OAM information block and multiple subsequently received OAM information blocks matches an expected sequence relationship.
[0017] In one exemplary embodiment, when the sequence state of the OAM information block at the receiving end is in a synchronized state, performing quality of service monitoring of the bearer channel based on the content of the OAM information block includes performing quality of service monitoring of the bearer channel based on the content of the OAM information block if the received OAM information block conforms to an expected sequence relationship when the sequence state of the OAM information block at the receiving end is in a synchronized state.
[0018] In one exemplary embodiment, the method further includes, when the order state of the OAM information block at the receiving end is in a synchronized state, determining that the order of the received OAM information block is incorrect if the received OAM information block does not conform to the expected order relationship.
[0019] In one exemplary embodiment, the method further includes a step of, when the order state of the OAM information block at the receiving end is in a synchronized state, if subsequently received multiple OAM information blocks do not conform to an expected order relationship, causing the order state of the OAM information block at the receiving end to enter an out-of-synchronization state from the synchronized state.
[0020] According to another embodiment of the present invention, there is provided an OAM information block receiving device located at a receiving end, the OAM information block receiving device including: a determination module configured to determine a reference position and a transmission period value for receiving an OAM information block; an extraction module configured to determine an expected receiving position of the next OAM information block based on the reference position and the transmission period value, and to determine an effective reception range based on the expected receiving position, and to extract OAM information blocks in a client traffic stream within the effective reception range; and a synchronization module configured to synchronize the order relationship of the OAM information blocks based on the types and sorting results of the extracted OAM information blocks, and extract the contents of the OAM information blocks after synchronization to monitor the service quality of the transport channel.
[0021] In one exemplary embodiment, the determination module determines the reference position for receiving the OAM information block by one of: taking the currently actually received OAM information block as the reference position; and estimating a desired transmission position of the OAM information block based on the currently actually received OAM information block and a block position offset value, and taking the desired transmission position as the reference position.
[0022] In one exemplary embodiment, the determination module determines the transmission periodicity value of the OAM information block by one of: determining the transmission periodicity value of the OAM information block according to a setting value of the device; determining the transmission periodicity value of the OAM information block by receiving the periodicity value carried in the OAM information block; or calculating an average gap of the OAM information block based on the receiving positions of multiple OAM information blocks and determining the transmission periodicity value of the OAM information block based on the average gap.
[0023] In one exemplary embodiment, the extraction module further includes an effective reception range determination unit configured to determine, 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 an effective reception range for receiving OAM information blocks.
[0024] In one exemplary embodiment, the extraction module further includes: a first extraction unit configured to extract the OAM information block from the client traffic stream if the OAM information block received within the effective reception range is a valid OAM information block; a marking unit configured to mark the OAM information block as missing if the OAM information block is not received within the effective reception range; and a warning unit configured to issue a warning indication of incorrect location if the OAM information block received outside the effective reception range is an incorrectly located OAM information block.
[0025] According to yet another embodiment of the present invention, there is further provided a computer readable storage medium having stored thereon a computer program, the computer program being configured, when executed, to perform the steps of any of the method embodiments described above.
[0026] According to yet another embodiment of the present invention, there is further provided an electronic device comprising: a memory having a computer program stored therein; and a processor configured to execute the computer program to perform the steps of any of the method embodiments described above. [Effects of the Invention]
[0027] In the above embodiment of the present invention, the performance detection of the bearer channel is achieved by receiving and detecting valid OAM information blocks from the client traffic stream and extracting the valid content of the OAM information blocks. [Brief explanation of the drawings]
[0028] [Figure 1] FIG. 1 is a schematic diagram of the application of the FlexE protocol according to the related art. [Figure 2] FIG. 1 is a schematic diagram of the arrangement positions of FlexE protocol overhead blocks and data blocks according to the related art. [Figure 3] FIG. 1 is a schematic diagram illustrating allocation of FlexE protocol traffic to multiple physical communication paths according to the related art. [Figure 4] FIG. 1 is a schematic diagram of the structure of a FlexE protocol overhead frame according to the related art; [Figure 5] 1 is a schematic diagram of the process by which the FlexE protocol carries client traffic according to the related art. [Figure 6] 1 is a schematic diagram of inserting an OAM information block into a client traffic stream according to the related art. [Figure 7] 1 is a schematic diagram of the order in which a transmitting port inserts OAM information blocks into a client traffic stream according to the related art. [Figure 8] 1 is a schematic diagram of the actual location where a transmitting port inserts an OAM information block into a client traffic stream according to the related art; [Figure 9] 1 is a schematic diagram of the range in which a receiving end detects the position of an OAM information block according to related art; [Figure 10] 1 is a schematic diagram of the structure of a computer terminal according to an embodiment of the present invention; [Figure 11] 1 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention; [Figure 12] 1 is a schematic diagram of the structure of a receiving device for an OAM information block according to an embodiment of the present invention; [Figure 13] A schematic diagram of the structure of a receiving device for an OAM information block according to another embodiment of the present invention. [Figure 14] 1 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention; [Figure 15]1 is a schematic diagram of the range in which a receiving end detects the position of an OAM information block according to an embodiment of the present invention; [Figure 16] 10 is a schematic diagram illustrating the extent to which a receiving end extracts an OAM information block from a client traffic stream according to an embodiment of the present invention. [Figure 17] 10 is a schematic diagram of the sequence after the receiving end extracts the OAM information block according to an embodiment of the present invention; [Figure 18] 1 is a schematic diagram of a method in which a receiving end processes an OAM information block and synchronizes a frame order confirmation state according to an embodiment of the present invention; [Figure 19] FIG. 10 is a schematic diagram of a method in which a receiving end processes an OAM information block and synchronizes a frame order confirmation state according to another embodiment of the present invention. [Figure 20] FIG. 2 is a schematic diagram of a state machine according to an embodiment of the present invention. [Figure 21] FIG. 4 is a schematic diagram of a state machine according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0029] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0030] In addition, terms such as "first" and "second" in the specification, claims and drawings of the present invention are not necessarily used to describe a specific order or chronology, but are used to distinguish between similar objects.
[0031] Currently, the FlexE protocol is defined by the 100G speed of the physical layer. Before a 100G data packet is transmitted in the optical module, it is 64 / 66 encoded to expand the 64-bit data block into a 66-bit information block. The added 2 bits are used as a start flag for the 66-bit information block, and are placed at the beginning of the 66-bit information block, which is then transmitted from the optical port in the form of a 66-bit information block.
[0032] Upon receiving, the optical port identifies 66-bit information blocks from the received data stream, recovers the original 64-bit data blocks from the 66-bit information blocks, and reconstructs the data packets. The FlexE protocol is at the 64-bit data block to 66-bit information block conversion layer, where the 66-bit data blocks are sorted before being transmitted.
[0033] As shown in Figure 2, for 100G traffic, 20 66-bit data blocks form one data block group, each group contains 20 data blocks, representing 20 slots, and each slot represents the traffic speed of the 5G bandwidth. When 66-bit data blocks are transmitted, one FlexE overhead block (black block in Figure 2) is inserted for every 1023 data block groups (1023 x 20 data blocks) transmitted.
[0034] After the overhead block is inserted, the transmission of data blocks continues, and after the second 1023x20 data block is sent, an overhead block is inserted again, and so on. In this way, overhead blocks are inserted periodically during the transmission of data blocks, and the gap between two adjacent overhead blocks is 1023x20 data blocks.
[0035] When four 100G physical layers are bundled into one 400G logical traffic bandwidth, each physical layer forms one data block group of 20 data blocks, and one overhead block is inserted into each 1023 data block group, as shown in Figure 3. The FlexE shim layer assembles the four 20 data blocks into one data block group consisting of 80 data blocks, and each data block group contains 80 slots. Client traffic is transmitted over these 80 slots, each with a bandwidth of 5G, for a total traffic transmission bandwidth of 400G.
[0036] The FlexE overhead block is a 66-bit overhead block, and when a traffic stream is transmitted, one overhead block is inserted every 1023 x 20 data blocks. The overhead block plays a role in positioning within the entire traffic stream, and by finding the overhead block, the position of the first data block group and the positions of subsequent data blocks in the traffic can be determined.
[0037] The contents of the overhead blocks are as shown in Figure 4. Eight consecutive overhead blocks make up one overhead frame. One overhead block consists of a 2-bit block flag and 64 bits of block content. The block flag is located in the first two columns, and the next 64 columns are the block content. The block flag of the first overhead block is "10", and the block flags of the next seven overhead blocks are "01" or "SS" (SS indicates that the content is undefined).
[0038] The contents of the first overhead block are 0x4B (8 bits, 4B in hex), C bit (1 bit, indicates coordination control), OMF bit (1 bit, indicates multiframe indication in overhead frames), RPF bit (1 bit, indicates remote fault indication), RES bit (1 bit, reserved), FlexE group number (20 bits, indicates the member group number), 0x5 (4 bits, 5 in hex), and 000000 (28 bits, all 0).
[0039] 0x4B and 0x5 are flag indications of the first overhead block. When receiving, if the corresponding position in an overhead block is found to be 0x4B and 0x5, it indicates that the overhead block is the first overhead block in the overhead frame and constitutes one overhead frame together with the following seven consecutive overhead blocks. In the overhead frame, the reserved part is reserved content that has not yet been defined, as shown in black blocks in Figure 4.
[0040] In the FlexE protocol, it is defined that eight overhead blocks constitute one frame, and the first overhead block is marked with two fields: 4B (marked as 0x4B in hexadecimal) and 05 (marked as 0x5 in hexadecimal). If the corresponding position in an overhead block is found to contain 4B and 05, it indicates that the overhead block is the first overhead block and constitutes one frame together with the following seven overhead blocks.
[0041] Figure 5 shows the process by which the FlexE protocol carries client traffic. For client traffic, the FlexE protocol first cuts the client data stream into 64-bit (8-byte) long blocks of information using 64 / 66 encoding, and then encodes the 64-bit information into 66-bit information blocks.
[0042] 64 / 66 coding converts a traffic stream into a 66-bit information block stream. These information blocks are divided into two types: 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). The two types of information blocks are distinguished by the first two bits of the information block.
[0043] The control information block may be divided into various different control information blocks (eg, an idle information block, which may also be an IDLE block), which are distinguished by the first byte in the control information block.
[0044] After 64 / 66 encoding the client information, the rate adjustment is realized by adding or deleting idle information blocks, and then the 66-bit information blocks are placed in the corresponding positions in the slot calendar defined by the FlexE protocol according to the slot placement situation.
[0045] The FlexE protocol provides flexible transmission paths for client traffic and can flexibly adjust the size of the transmission path according to the client's bandwidth demand. The FlexE protocol provides one channel to a client, but does not provide OAM (Operation, Administration, and Maintenance) for managing the service quality of that channel, so it is not possible to monitor the service quality of the channel in real time.
[0046] The MTN standard specification adds an OAM information block insertion function, and by inserting OAM information blocks into client traffic streams, it realizes the function of monitoring the service quality of client traffic. Specifically, as shown in Figure 6, the transmitting end inserts a special OAM information block into the client traffic stream and carries maintenance management information in the OAM information block. The receiving end extracts the OAM information block from the client traffic and can obtain the maintenance management information from the content carried in the OAM information block.
[0047] The transmitting end typically periodically adds OAM information blocks to the client traffic stream. For example, one OAM information block is inserted every 16K client blocks (i.e., the insertion period is T=16384) as shown in Figure 7. OAM information blocks have various specific types. OAM information blocks defined in the MTN standard include base blocks, APS blocks, and low-priority blocks. Low-priority OAM information blocks include CV blocks, CS blocks, 1DM blocks, 2DMM, and 2DMR. The transmission order of these blocks is base block, APS block, base block, and low-priority block, and they are transmitted in a continuous and repeated order according to this order.
[0048] As shown in Figure 8, for low-priority blocks, 64 low-priority blocks are transmitted in sequence as one sub-period, and the order relationship of the low-priority blocks is as follows: the 1st to 7th low-priority blocks are CV blocks, the 18th low-priority block is a CS block, the 19th to 31st low-priority blocks are 1DM blocks / 2DMM / 2DMR blocks, and the positions of the 32nd to 64th low-priority blocks are reserved (idle) positions. During transmission, the base block is transmitted periodically and continuously according to the periodic rule.
[0049] APS blocks are transmitted as needed; if there is an APS block, it is transmitted; if not, it is not transmitted, and this time it is empty and no transmission takes place. The same applies to low-priority blocks; CV blocks transmitted periodically are transmitted every time, and other blocks transmitted as needed transmit the corresponding low-priority message only if they need to be transmitted; otherwise it is empty. For reserved positions in the transmission rules for low-priority messages, this time it is empty and no OAM information block is transmitted.
[0050] After client traffic is 64 / 66-bit encoded, the first block of a client message is the S block (first block), followed by the D block (data block), and finally the T block (last block). Because OAM information blocks can only be inserted within a message, they can only be inserted after the T block and before the S block of a message. Thus, if the expected position is midway through a message, for example, if the previous information block is an S or D block, they can only be inserted after the current message ends and the T block appears. This means that the actual insertion position will lag behind the desired (expected) insertion position. As shown in Figure 8, there is a deviation Δ between the actual insertion position and the expected insertion position each time. The Δ value is a random value related to the length of the message being sent when the OAM information block is inserted.
[0051] The location of the OAM information block sent by the transmitting end may be indeterminate, or the OAM information block may be empty, resulting in no OAM information block. Various scenarios may occur when the receiving end searches for the OAM information block, such as the scenario shown in Figure 9, where the OAM information block may be empty and the OAM information block that was not actually received is shown in gray, while the OAM information block that was actually received is shown in black. Therefore, the receiving end must determine whether the location of the OAM information block is correct from the received OAM information block. If the location of the OAM information block is correct, it must then determine whether the OAM information block is the desired type and whether the order of the OAM information blocks is correct.
[0052] To this end, an embodiment of the present invention provides a method for receiving and detecting OAM information blocks in a client traffic stream, which quickly detects valid OAM information blocks, extracts valid content from the OAM information blocks, and realizes performance detection of the transmission channel.
[0053] The method according to the embodiment of the present application can be implemented in a mobile terminal, a computer terminal, or a similar computing device. For example, when operating on a mobile terminal, Figure 10 is a block diagram of the hardware configuration of a computer terminal that executes the method according to the embodiment of the present invention.
[0054] As shown in Figure 2, the computer terminal may include one or more (only one is shown in Figure 10) processors 102 (processor 102 includes, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and memory 104 for storing data, and the computer terminal may further include transmission equipment 106 and input / output equipment 108 for communication functions. As will be understood by those skilled in the art, the structure as shown in Figure 10 is merely schematic and does not limit the structure of the computer terminal. For example, the computer terminal may further include more or fewer components than those shown in Figure 10, or may have a different configuration than that shown in Figure 10.
[0055] The memory 104 may store software programs and modules of application software, for example, computer programs corresponding to the methods of embodiments of the present invention, and the processor 102 executes the computer programs stored in the memory 104 to perform various functional applications and data processing, i.e., to implement the methods. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as, for example, one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0056] In some embodiments, memory 104 may further include memory located remotely from processor 102, and these remote memories may be connected to a computer terminal via a network, examples of which include, but are not limited to, the Internet, a corporate intranet, a local area network, a mobile communication network, and combinations thereof.
[0057] The transmission device 106 transmits and receives data via a network. Specific examples of the network may include a wireless network provided by a carrier of the computer terminal. In one embodiment, the transmission device 106 includes a network adapter (abbreviated as a Network Interface Controller, NIC) that is connected to other network devices via a base station and can communicate with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (abbreviated as RF) module that communicates with the Internet wirelessly.
[0058] In this embodiment, a method for receiving an OAM information block is provided, which can be executed on the computer terminal. Figure 11 is a flowchart of the method for receiving an OAM information block according to an embodiment of the present invention. As shown in Figure 11, the flow includes the following steps S1101, S1102, and S1103.
[0059] In step S1101, a reference position and a transmission period value for receiving an OAM information block are determined.
[0060] In step S1102, the expected receiving position of the next OAM information block is determined based on the reference position and the transmission period value, and an effective receiving range is determined based on the expected receiving position, and OAM information blocks in the client traffic stream within the effective receiving range are extracted.
[0061] In step S1103, the order relationship of the OAM information blocks is synchronized based on the type of the extracted OAM information blocks and the sorting result, and after synchronization, the contents of the OAM information blocks are extracted to monitor the service quality of the bearer channel.
[0062] In step S1101 of this embodiment, the reception reference position of the OAM information block may be determined based on the currently actually received OAM information block, or may be estimated based on the currently actually received OAM information block and the block position offset value, using the desired transmission position of the OAM information block as the reference position.
[0063] The transmission periodicity value of the OAM information block may be obtained from a device setting value, or may be obtained by receiving the periodicity value carried in the OAM information block. The transmission periodicity value of the OAM information block may be estimated by receiving the reception positions of multiple OAM information blocks and calculating the average gap between the OAM information blocks.
[0064] In step S1102 of this embodiment, the expected reception position of the next OAM information block to be received is determined based on the reference position and the transmission period value of the OAM information block. The OAM information block is either received within a certain range before and after the expected reception position, or only within a certain range after the expected reception position, and this reception range is the effective reception range.
[0065] The size of the effective reception range of the receiving end is determined by the maximum deviation between the desired transmitting position of the transmitting end and the actual transmitting position (i.e., the deviation due to the client's maximum message), and is affected by a small offset due to the addition and deletion process for a small number of idle blocks during the transport of client traffic on the network.
[0066] OAM information blocks received within the valid reception range are OAM information blocks with valid positions. If an OAM information block is not received within the valid reception range, the OAM information block is marked as missing, and if an OAM information block received outside the valid reception range is an OAM information block with an incorrect position, a position error warning is issued. Normally, there is a maximum of one valid OAM information block within the valid reception range. If multiple valid OAM information blocks are received within one valid reception range, it is determined that an error has occurred in the number of received OAM information blocks, and a quantity warning is issued.
[0067] If a warning occurs in the number of OAM information blocks, it is possible to extract only one of them, or discard all OAM information blocks within that range and determine that an OAM information block is missing.
[0068] In step S1103 of this embodiment, OAM information blocks in each effective reception range are extracted to synchronize the transmission order of the OAM information blocks and detect their order relationship. If the order status of the OAM information blocks at the receiving end is out of synchronization, the receiving end performs an OAM order synchronization determination process. If the order status of the OAM information blocks at the receiving end is in synchronization, the content of the OAM information blocks is used to monitor the quality of service of the transmission channel. The OAM information block order status synchronization process at the receiving end may be implemented by a state machine, which may be various state machines such as a two-state state machine, a four-state state machine, etc.
[0069] In step S1103 of this embodiment, if the sequence state of the OAM information blocks at the receiving end is out of synchronization, it selects one received OAM information block as the reference OAM information block, and if the sequence between the next received OAM information block and the previous reference OAM information block does not match the sequence relationship in the BABL, it reselects the reference OAM information block. If the sequence state of the OAM information blocks at the receiving end is out of synchronization, it selects one received OAM information block as the reference OAM information block, and if the sequence between multiple subsequently received OAM information blocks (e.g., four) matches the sequence relationship in the BABL, it enters the synchronized state.
[0070] In step S1103 of this embodiment, if the sequence state of the OAM information block at the receiving end is in sync, and the received OAM information block matches the expected sequence relationship in the BABL, the OAM information block is used to carry content. If the sequence state of the OAM information block at the receiving end is in sync, and the received OAM information block does not match the expected sequence relationship in the BABL, the sequence of the OAM information block is determined to be incorrect. If the sequence state of the OAM information block at the receiving end is in sync, and multiple subsequently received OAM information blocks (e.g., four) do not match the expected sequence relationship in the BABL, the sequence state of the OAM information block at the receiving end will enter an out-of-sync state from the sync state.
[0071] From the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be realized by combining software with a required general-purpose hardware platform, or can of course be realized by hardware, and in many cases the former is the preferred embodiment. Based on this understanding, the substance of the technical solution of the present invention or a part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM / RAM, disk, CD) and includes several instructions that cause a terminal device (which may be a mobile phone, computer, server, network device, etc.) to execute the methods described in each embodiment of the present invention.
[0072] This embodiment further provides an OAM information block receiving device, which is used to implement the above embodiment and preferred embodiment and has already been described, so a repeated description will be omitted. The terms "module" or "unit" used below can realize a combination of software and / or hardware for a given function. The device described in the following embodiment is preferably realized in software, but may also be realized in hardware or a combination of software and hardware.
[0073] FIG. 12 is a block diagram of the structure of an OAM information block receiving device according to an embodiment of the present invention. The device is located at the receiving end. As shown in FIG. 12, the device includes a determination module 10, an extraction module 20 and a synchronization module 30.
[0074] The determination module 10 is configured to determine a reference position and a transmission period value for receiving an OAM information block.
[0075] The extraction module 20 is configured to determine an expected reception position of the next OAM information block based on the reference position and the transmission period value, and to determine an effective reception range based on the expected reception position, and extract OAM information blocks in the client traffic stream within the effective reception range.
[0076] The synchronization module 30 is configured to synchronize the order relationship of the OAM information blocks according to the types and sorting results of the extracted OAM information blocks, and extract the contents of the OAM information blocks after synchronization to monitor the service quality of the bearer channel.
[0077] In one exemplary embodiment, the determination module 10 can determine the reference position for receiving the OAM information block by one of: taking the currently actually received OAM information block as the reference position; and estimating a desired transmission position of the OAM information block based on the currently actually received OAM information block and a block position offset value, and taking the desired transmission position as the reference position.
[0078] In one exemplary embodiment, the determination module 10 can determine the transmission periodicity value of the OAM information block by one of the following: determining the transmission periodicity value of the OAM information block according to a setting value of the device; determining the transmission periodicity value of the OAM information block by receiving the periodicity value carried in the OAM information block; or calculating an average gap of the OAM information block based on the receiving positions of multiple OAM information blocks and determining the transmission periodicity value of the OAM information block based on the average gap.
[0079] 13 is a block diagram of the structure of an OAM information block receiving device according to another embodiment of the present invention. As shown in FIG. 13, in addition to including all the modules shown in FIG. 12, the extraction module 10 further includes an effective reception range determination unit 11, a first extraction unit 12, a marking unit 13 and an alert unit 14.
[0080] The effective reception range determination unit 11 is configured to determine a predetermined range around the expected reception position, or a predetermined range behind the expected reception position, as the effective reception range for receiving OAM information blocks.
[0081] The first extraction unit 12 is configured to extract an OAM information block from a client traffic stream if the OAM information block received within the effective reception range is a position-valid OAM information block.
[0082] The marking unit 13 is configured to mark an OAM information block as missing if it does not receive the OAM information block within said effective reception range.
[0083] The warning unit 14 is configured to issue a warning indication of mislocation if the OAM information block received outside the effective reception range is a mislocated OAM information block.
[0084] Each of the above modules can be realized by software or hardware. In the latter case, the modules can be realized in a manner in which all of the above modules are located on the same processor, or in a manner in which each of the above modules is located on different processors in any combination, but is not limited to these.
[0085] To facilitate understanding of the technical solution of the present invention, the following detailed description will be given in conjunction with an example of a specific scenario.
[0086] In this embodiment, a method for receiving an OAM information block is provided. Figure 14 is a flowchart of the method for receiving an OAM information block according to an embodiment of the present invention. As shown in Figure 14, the specific implementation method of the receiving end includes the following steps S1401, S1402, S1403, and S1404.
[0087] In step S1401, after the receiving end receives one OAM information block, it first determines the desired position of the next OAM information block by taking the OAM information block as the reference position.
[0088] Specifically, the first received OAM information block represents the actual receiving position, which may be the desired transmitting position, or it may not be the desired transmitting position, and there is a deviation between the actual position and the desired position. If the deviation between the actual position and the desired position is carried in the received OAM information block, the actual desired transmitting position can be estimated, and the estimated desired position is used as the reference position. If the desired transmitting position cannot be obtained, the position of the actually received OAM information block is used as the reference position.
[0089] After determining the reference position, the desired position of the next OAM information block can be obtained according to the periodicity value T. The value of the periodicity value T may be set and obtained by the system, or may be conveyed by the transmitting end to the receiving end through the OAM information block. Based on the reference position and the value of the periodicity value T, the desired position of the next OAM information block is calculated, and the next OAM information block is received near the desired position.
[0090] There may be a deviation Δ between the actual appearance position of the next OAM information block and its calculated desired position, and the magnitude of the deviation is related to the maximum message length. If the maximum message length on the link is 9600 bytes, a 9600-byte message is encoded into 1200 66-bit blocks, and thus the maximum deviation Δmax due to message length is 1200. If the maximum message length is 1518 bytes, a 1518-byte message is encoded into 190 66-bit blocks, and thus the maximum deviation Δmax due to message length is 190.
[0091] During the transport of client traffic on the network, intermediate network devices add or remove small amounts of idle blocks (IDLE blocks), LF (local fault) blocks, and RF (remote fault) blocks between messages due to clock drift. Therefore, the maximum deviation Δmax between the actual position of the OAM information block detected at the receiving end and the desired position may be slightly greater than 1200 (where the maximum message is 9600 bytes) or 190 (where the maximum message is 1518 bytes). This maximum increase does not exceed one block per two devices, and the increase in deviation is so small that it can be ignored. This variation can be considered based on the number of devices traversed during the transport of client traffic on the network.
[0092] At the receiving end, if the reference position is the actual desired position of the transmitting end, the desired position of the next OAM information block calculated based on the period value is also the actual desired position of the transmitting end, and the next block can only appear 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 shown in Figure 15.
[0093] The reference position is the actual position of the OAM information block at the receiving end (the actual desired position cannot be known). If it is not the actual desired position, there is a deviation between the reference position and the actual desired position. The desired position of the next OAM information block is calculated based on the actual receiving position as the reference position and the period value. 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 may appear 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 shown in Figure 16.
[0094] In step S1402, after determining the reception range for the next OAM information block, an OAM information block received within the reception range is a valid OAM information block, and an OAM information block received outside the reception range is an incorrectly positioned OAM information block. After receiving an incorrectly positioned OAM information block, an abnormal position warning for the OAM information block is reported.
[0095] If only one OAM information block appears within the reception range of one OAM information block, or if two or more OAM information blocks are received, the number of OAM information blocks is reported as abnormal, all OAM information blocks within that range are discarded, and the OAM information blocks are marked as incorrect, or the OAM information blocks are marked as missing, or one OAM information block is selected from the multiple OAM information blocks for further processing. If no OAM information block is received within a reception range, the OAM information block is marked as missing.
[0096] In step S1403, the OAM information blocks received within each reception range are sorted (if an OAM information block is not received within a reception range, it is marked as missing). As shown in Figure 17, the OAM information blocks within the third and eighth ranges are marked as missing, and the OAM information blocks within the other ranges are all correctly received OAM information blocks.
[0097] The transmitting end transmits OAM information blocks in the BABL order, and the receiving end receives them in the BABL order. Four blocks in the BABL order are considered to be one frame structure. If the OAM information blocks at the receiving end are in the frame order undetermined state, after the receiving end receives a certain number of OAM information blocks (e.g., four OAM information blocks), if the BABL order is satisfied, the receiving end transitions from the frame order undetermined state to the frame order determined state, and receives subsequent OAM information blocks according to the frame order determined state.
[0098] In the frame order confirmed state, if the received OAM information block does not match the BABL order relation, an OAM order relation error warning is reported. If multiple errors occur in the order relation of the received OAM information block, the OAM receiver transitions from the frame order confirmed state to the frame order undetermined state.
[0099] The frame order confirmation process when the receiving end receives OAM information blocks can be represented by a state machine, and Figure 18 shows an example of two states (frame order undetermined state and frame order confirmed state). In the frame order undetermined state, if the received OAM information blocks match the expected order and the number of times they are correctly ordered reaches a predetermined number, the state transitions from the frame order undetermined state to the frame order confirmed state; otherwise, the state remains in the frame order undetermined state.
[0100] If the number of times the frame order is incorrect reaches a predetermined number while the frame order is undetermined, it is explained that the reference position may be incorrect, and the position of one OAM information block is reselected as the reference position, the expected reception range is re-determined, and the reception order matching process is restarted.
[0101] In the frame order confirmation state, if the order of the received OAM information blocks violates the rules and the number of rule violations reaches a certain threshold, the state transitions from the frame order confirmation state to the frame order undetermined state; otherwise, the state remains in the frame order confirmation state.
[0102] In step S1404, in the frame sequence confirmation state, if the received OAM information block matches the sequence relationship, the OAM information block can be used to perform service quality monitoring activities for the client traffic carrying channel.
[0103] The number of OAM information blocks that meet the criteria for transitioning from the frame order undetermined state to the frame order determined state may be determined by configuration, and may be the number of OAM information blocks that meet the criteria after all of the OAM information blocks meet the order relationship, or may be the number of OAM information blocks that meet the criteria within a certain number of windows, for example, the number of OAM information blocks that meet the order relationship among 10 OAM information blocks.
[0104] Similarly, the number of rule violations that transition from the frame order determined state to the frame order undetermined state may be determined by configuration, and the number of rule violations may be the number of rule violations in which none of multiple consecutive OAM information blocks conform to the order relationship, or the number of rule violations within a certain number of windows, for example, the number of rule violations in which 8 out of 10 OAM information blocks conform to the order relationship.
[0105] In this embodiment, the changes in the frame order undetermined state and the frame order determined state may be represented by two state machines or four state machines, and as shown in Figure 19, two temporary states, a correct order state and an incorrect order state, are added.
[0106] In the frame unordered state, after receiving an OAM information block in order, the state enters the order-correct state. When receiving an OAM information block in order in the order-correct state, the number of order-correct OAM information blocks is accumulated. When the number of order-correct OAM information blocks reaches a criterion (reaches the expected number), the state transitions to the frame order-determined state; otherwise, the state remains temporarily in the order-correct state.
[0107] If an OAM information block is received out of order while in the In-Order state (or after a certain number of out-of-order blocks), a transition to the Frame Unordered state occurs. If an OAM information block is received out of order while in the Frame Ordered state, a transition to the temporary Out-of-Order state occurs.
[0108] When an out-of-order OAM information block is received in the out-of-order state, the number of out-of-order OAM information blocks is accumulated, and if the number of out-of-order OAM information blocks exceeds a threshold (reaches a certain number), the state transitions to the frame unordered state; otherwise, it temporarily remains in the out-of-order state.
[0109] If an OAM information block is received in the correct order while out of order (or if a certain number of OAM information blocks are received in the correct order), the state transitions to the frame order confirmed state again. In addition to showing the transitions between the frame order undetermined state and the frame order confirmed state using two-state machines and four-state machines, they can also be shown using a three-state machine. As shown in Figures 20 and 21, the three-state state machine is an intermediate transition state machine between the two-state and four-state state machines.
[0110] In an embodiment of the present invention, there is further provided a computer-readable storage medium having a computer program stored thereon, the computer program being configured to perform the steps of any of the method embodiments described above when executed.
[0111] In one exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing program code, such as a USB disk, a read-only memory (abbreviated as ROM), a random access memory (abbreviated as RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0112] In an embodiment of the present invention, there is further provided an electronic device comprising a memory having a computer program stored therein, and a processor configured to execute the computer program to perform the steps of any of the method embodiments described above.
[0113] In one exemplary embodiment, the electronic device may further include a transmission device connected to the processor and an input / output device connected to the processor.
[0114] For specific examples of this embodiment, reference can be made to the examples described in the above examples and exemplary embodiments, and therefore, repeated explanations of this embodiment will be omitted here.
[0115] Clearly, those skilled in the art will understand that each module or step in the present invention described above may be implemented on a general-purpose computing device, may be centralized in a single computing device, or may be distributed across a network of multiple computing devices, may be implemented as program code executable on a computing device, and may be stored in a storage device and executed on a computing device, and in some cases, the steps illustrated or described herein may be performed in a different order than in the present specification, or may be implemented by forming each module into an integrated circuit module, or by forming multiple modules or steps into a single integrated circuit.
[0116] Thus, the present invention is not limited to any particular combination of hardware and software.
[0117] The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Those skilled in the art can make various modifications and changes to the present invention. Any modifications, equivalent replacements, improvements, etc. made within the principle of the present invention shall fall within the protection scope of the present invention.
Claims
1. determining a reference position and a transmission period value for receiving an OAM information block; determining an expected reception position of the next OAM information block based on the reference position and the transmission period value, and determining an effective reception range based on the expected reception position, and extracting the OAM information block in the client traffic stream within the effective reception range; synchronizing the order relationship of the OAM information blocks according to the types and sorting results of the extracted OAM information blocks, and extracting the contents of the OAM information blocks after the synchronization; How to receive OAM information blocks.
2. The step of determining a reference position for receiving an OAM information block comprises: a step of determining the currently received OAM information block as the reference position; and (b) estimating a desired transmission position of the OAM information block based on the currently actually received OAM information block and the block position offset value, and setting the desired transmission position as the reference position. The method of claim 1.
3. The step of determining a transmission period value of the OAM information block includes: determining a transmission period value of the OAM information block according to a setting value of the device; determining a transmission periodicity value of the OAM information block by receiving a periodicity value carried in the OAM information block; calculating an average gap of the OAM information blocks based on the reception positions of the plurality of OAM information blocks, and determining a transmission period value of the OAM information blocks based on the average gap; The method of claim 1.
4. The step of determining an effective reception range based on the expected reception position includes: determining a predetermined range around the expected reception position or a predetermined range behind the expected reception position as an effective reception range for receiving OAM information blocks, The method of claim 1.
5. The factors that affect the size of the effective receiving range of the receiving end are at least: the maximum deviation between the desired transmitting position of the transmitting end and the actual transmitting position; offsetting client traffic by adding or removing idle blocks during network transport; The method of claim 4.
6. The step of extracting OAM information blocks in a client traffic stream within coverage includes: extracting the OAM information block from the client traffic stream, the OAM information block received within the effective reception range being a position-valid OAM information block; marking an OAM information block as missing if the OAM information block is not received within the effective reception range; and a step of determining that the OAM information block received outside the effective reception range is an incorrectly located OAM information block and issuing a warning indication of the incorrect location. The method of claim 1.
7. If there is at most one valid OAM information block within the effective reception range, and if a plurality of OAM information blocks are received within the effective reception range, it is determined that an error has occurred in the number of received OAM information blocks, and a quantity warning is issued; If a warning occurs in the number of OAM information blocks, extract one of the OAM information blocks or discard all of the OAM information blocks and determine that an OAM information block is missing. The method of claim 6.
8. The step of synchronizing the order relationship of the OAM information blocks according to the types and sorting results of the extracted OAM information blocks and extracting the contents of the OAM information blocks after the synchronization includes: extracting OAM information blocks in each effective reception range, and synchronizing the transport order of the OAM information blocks and detecting the order relationship; When the sequence status of the OAM information block of the receiving end is out of synchronization, performing a synchronization determination process of the OAM sequence of the receiving end; If the sequence state of the OAM information block at the receiving end is in a synchronized state, performing service quality monitoring of the bearer channel based on the content of the OAM information block; The method of claim 1.
9. The synchronization process of the order state of the OAM information block at the receiving end is realized by a state machine, and the state machine is a state machine consisting of two states, three states, or four states. The method of claim 8.
10. When the sequence state of the OAM information block of the receiving end is out of synchronization, the step of performing a synchronization determination process of the OAM sequence of the receiving end includes: When the sequence state of the OAM information block at the receiving end is out of synchronization, selecting one received OAM information block as a reference OAM information block, and if the sequence between the next received OAM information block and the previous reference OAM information block does not match the expected sequence relationship, reselecting the reference OAM information block; When the sequence state of the OAM information blocks at the receiving end is out of synchronization, selecting one received OAM information block as a reference OAM information block, and entering synchronization if the sequence between the reference OAM information block and the subsequently received OAM information blocks matches an expected sequence relationship; The method of claim 8.
11. When the sequence state of the OAM information block at the receiving end is in a synchronized state, the step of monitoring the service quality of the bearer channel according to the content of the OAM information block includes: When the sequence state of the OAM information blocks at the receiving end is in a synchronized state, if the received OAM information blocks conform to the expected sequence relationship, performing service quality monitoring of the bearer channel based on the content of the OAM information blocks; The method of claim 8.
12. When the order state of the OAM information blocks at the receiving end is in a synchronized state, if the received OAM information blocks do not conform to an expected order relationship, determining that the order of the OAM information blocks is incorrect; The method of claim 8.
13. When the sequence state of the OAM information block at the receiving end is in a synchronized state, if the subsequently received OAM information blocks do not conform to the expected sequence relationship, the sequence state of the OAM information block at the receiving end is further included in the step of changing from the synchronized state to an out-of-synchronization state. The method of claim 8.
14. A receiving device for OAM information blocks located at a receiving end, comprising: a determination module configured to determine a reference position and a transmission period value for receiving an OAM information block; an extraction module configured to determine an expected reception position of a next OAM information block based on the reference position and the transmission period value, determine an effective reception range based on the expected reception position, and extract OAM information blocks in the client traffic stream within the effective reception range; a synchronization module configured to synchronize the order relationship of the OAM information blocks according to the types and sorting results of the extracted OAM information blocks, and extract the contents of the OAM information blocks after synchronization; A receiver of OAM information blocks.
15. The decision module: The currently received OAM information block is set as the reference position; determining a reference position for receiving the OAM information block by one of: estimating a desired transmission position of the OAM information block based on the currently actually received OAM information block and the block position offset value, and setting the desired transmission position as the reference position; 15. The apparatus of claim 14.
16. The decision module: determining a transmission period value of the OAM information block according to a setting value of the device; determining a transmission periodicity value of the OAM information block by receiving a periodicity value carried in the OAM information block; determining a transmission period value of the OAM information block by one of calculating an average gap of the OAM information block based on the reception positions of the plurality of OAM information blocks, and determining a transmission period value of the OAM information block based on the average gap; 15. The apparatus of claim 14.
17. The extraction module: and an effective reception range determination unit configured to determine a predetermined range around the expected reception position, or a predetermined range behind the expected reception position, as an effective reception range for receiving OAM information blocks.
15. The apparatus of claim 14.
18. The extraction module: a first extraction unit configured to extract an OAM information block from a client traffic stream if the OAM information block received within the effective reception range is a position-valid OAM information block; a marking unit configured to mark an OAM information block as missing if the OAM information block is not received within the effective reception range; and a warning unit configured to issue a warning indication of an incorrect location when the OAM information block received outside the effective reception range is an incorrectly located OAM information block.
15. The apparatus of claim 14.
19. A non-transitory computer-readable storage medium on which a computer program is stored, The computer program, when executed by a processor, implements the steps of the method of claim 1. A non-transitory computer-readable storage medium.
20. a memory; a processor; and a computer program stored in the memory and executable on the processor; The processor, when executing the computer program, performs the steps of the method of claim 1. electronic equipment.
Citation Information
Patent Citations
Method, device, apparatus and system for processing OAM information of bearer channel
CN109257194A
Service sending method and device, service receiving method and device, system and storage medium
CN111147181A
Detection block transmission and reception method, and network device and system
JP2020526998A