WO2022174695A1 - Oam信息块的接收方法及装置 - Google Patents

Oam信息块的接收方法及装置 Download PDF

Info

Publication number
WO2022174695A1
WO2022174695A1 PCT/CN2022/071397 CN2022071397W WO2022174695A1 WO 2022174695 A1 WO2022174695 A1 WO 2022174695A1 CN 2022071397 W CN2022071397 W CN 2022071397W WO 2022174695 A1 WO2022174695 A1 WO 2022174695A1
Authority
WO
WIPO (PCT)
Prior art keywords
oam information
information block
block
receiving
oam
Prior art date
Application number
PCT/CN2022/071397
Other languages
English (en)
French (fr)
Inventor
刘峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to JP2023548252A priority Critical patent/JP2024507489A/ja
Priority to US18/276,322 priority patent/US20240129651A1/en
Priority to EP22755468.0A priority patent/EP4297345A1/en
Priority to KR1020237030250A priority patent/KR20230147111A/ko
Publication of WO2022174695A1 publication Critical patent/WO2022174695A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0272Transmission of OAMP information
    • H04J14/0273Transmission of OAMP information using optical overhead, e.g. overhead processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/14Monitoring arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0057Operations, administration and maintenance [OAM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • H04J2203/0082Interaction of SDH with non-ATM protocols
    • H04J2203/0085Support of Ethernet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Definitions

  • 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.
  • the rapid increase of user network information traffic has prompted the rapid development of communication network information transmission bandwidth.
  • the interface bandwidth speed of communication equipment has been increased from 10M to 100M, and then increased by 1G and 10G. At present, the bandwidth speed has reached 100G, and a large number of Commercial 100G optical modules.
  • 400G optical modules have been developed, but 400G optical modules are expensive, exceeding the price of four 100G optical modules, resulting in the lack of commercial economic value of 400G optical modules.
  • the International Standards Organization has defined the FlexE protocol.
  • the FlexE protocol combines multiple 100G optical modules to form a high-speed transmission channel.
  • Embodiments of the present invention provide a method and apparatus for receiving an OAM information block, so as to at least solve the problem of how to receive and detect a valid OAM information block from a client service code stream in the related art.
  • a method for receiving an OAM information block comprising: determining a reference position and a transfer period value received by the OAM information block; The expected receiving position, and the effective receiving range is determined according to the expected receiving position, and the OAM information blocks in the client service code block stream within the effective receiving range are extracted; the sequence relationship of the OAM information blocks is carried out according to the type of the extracted OAM information blocks and the sorting result. Synchronize, extract the content of the OAM information block after synchronization to monitor the service quality of the bearer pipeline.
  • determining the reference position of the received OAM information block includes one of the following: taking the currently actually received OAM information block as the reference position; according to the current actually received OAM information block and the code block position offset value The desired transmission position of the OAM information block is estimated, and the desired transmission position is used as the reference position.
  • determining the delivery period value of the OAM information block includes one of the following: determining the delivery period value of the OAM information block through a device configuration value; determining the delivery period value of the OAM information block by receiving the period value carried in the OAM information block Period value; the average interval of the OAM information blocks is calculated according to the receiving positions of the multiple OAM information blocks, and the transmission period of the OAM information blocks is determined according to the average interval.
  • determining the effective reception range according to the expected reception position includes: taking the expected reception position as a center, dividing a predetermined range before and after the expected reception position, or a predetermined range after the expected reception position The range is determined as a valid reception range for receiving the OAM information block.
  • the factors affecting the size of the effective receiving range of the receiving end include at least one of the following: the maximum deviation value between the expected sending position of the sending end and the actual sending position; the resulting offset.
  • extracting the OAM information block in the client service code block stream within the effective receiving range includes one of the following: the OAM information block received within the effective receiving range is the location legal OAM information block, and is obtained from Extract the OAM information block from the client service code block stream; if the OAM information block is not received within the effective receiving range, it is marked as an OAM information block vacancy; the OAM information block received outside the effective receiving range is The location illegal OAM information block, giving the location illegal alarm indication.
  • the sequence relationship of the OAM information blocks is synchronized according to the extracted OAM information block types and sorting results, and after synchronization, the content of the OAM information blocks is extracted to monitor the service quality of the bearer pipe, including: extracting each For the OAM information blocks in the valid receiving range, perform OAM information block bearing sequence synchronization and sequence relationship detection; when the sequence state of the receiving end OAM information blocks is in an out-of-sync state, perform the synchronization judgment process of the receiving end OAM sequence; When the sequence state of the information blocks is in the synchronized state, the quality of service monitoring of the bearer pipe is performed according to the content of the OAM information code block.
  • the sequential state synchronization process of the receiving end OAM information block is implemented by a state machine, and the state machine is a state machine consisting of two states, three states or four states.
  • the synchronization determination process of the receiving end OAM sequence is performed, including one of the following: when the sequence state of the receiving end OAM information block is in an out-of-sync state Step state, select a received OAM information block as the reference OAM information block, if the next received OAM information block and the previous reference OAM information block do not meet the expected sequence relationship, then re-select the reference OAM information block; The sequence state of the terminal OAM information block is in an out-of-sync state, select a received OAM information block as the reference OAM information block, if the reference OAM information block and the subsequent received multiple OAM information blocks meet the expected sequence relationship, then enter the synchronization state.
  • the sequence state of the OAM information block at the receiving end when the sequence state of the OAM information block at the receiving end is in a synchronized state, monitoring the quality of service of the bearer pipe according to the content of the OAM information code block, including: the sequence state of the OAM information block at the receiving end is in a synchronized state If the received OAM information block conforms to the expected sequence relationship, the service quality monitoring of the bearer pipe is performed according to the content of the OAM information code block.
  • the method further includes: when the receiving end OAM information code sequence state is in a synchronized state, and receiving an OAM information block that does not conform to an expected sequence relationship, determining that the OAM information block is in an incorrect sequence.
  • the method further includes: the order state of the OAM information blocks at the receiving end is in a synchronous state, and if the subsequent receiving of multiple OAM information blocks does not meet the expected order relationship, then the order state of the receiving end OAM information blocks is in a synchronous state. The state enters the out-of-sync state.
  • an apparatus for receiving an OAM information block is provided, the apparatus is located at a receiving end, and includes: a determination module, configured to determine a reference position and a transmission period value received by the OAM information block; an extraction module, configured to In order to determine the expected receiving position of the next OAM information block according to the reference position and the transmission period value, and determine the effective receiving range according to the expected receiving position, extract the OAM information block in the customer service code block stream in the effective receiving scope; Synchronization The module is configured to synchronize the sequence relationship of the OAM information blocks according to the extracted OAM information block types and sorting results, and extract the content of the OAM information blocks after synchronization to monitor the service quality of the bearer pipeline.
  • the determining module determines the reference position of the received OAM information block in one of the following ways: taking the currently actually received OAM information block as the reference position; according to the currently actually received OAM information block and the code
  • the expected transmission position of the OAM information block is estimated from the block position offset value, and the expected transmission position is used as the reference position.
  • the determining module determines the delivery period value of the OAM information block in one of the following ways: determining the delivery period value of the OAM information block through a device configuration value; determining the period value carried in the receiving OAM information block The transmission period value of the OAM information block; the average interval of the OAM information blocks is calculated according to the receiving positions of the multiple OAM information blocks, and the transmission period of the OAM information block is determined according to the average interval.
  • the extraction module further includes: an effective reception range determination unit, configured to take the expected reception position as a center, determine a predetermined range before and after the expected reception position, or determine the expected reception position The latter predetermined range is determined as an effective reception range for receiving the OAM information block.
  • the extracting module further includes: a first extracting unit, configured to extract an OAM information block from a customer service code block when the OAM information block received within the effective receiving range is a legal location OAM information block
  • the OAM information block is extracted from the stream; the marking unit is set to mark the vacancy of the OAM information block when the OAM information block is not received within the effective receiving range; the alarm unit is set to be outside the effective receiving range If the received OAM information block is an illegal location OAM information block, an illegal location warning indication is given.
  • a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above methods when running steps in the examples.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor is configured to run the computer program to execute any of the above Steps in Method Examples.
  • the valid OAM information block is received and detected from the client service code stream to extract the valid content of the OAM information block, thereby realizing the performance detection of the bearer pipeline.
  • FIG. 1 is a schematic diagram of the application of the FlexE protocol according to the related art.
  • FIG. 2 is a schematic diagram of arrangement positions of overhead blocks and data blocks of the FlexE protocol according to the related art.
  • FIG. 3 is a schematic diagram of allocation of FlexE protocol services on multiple physical channels according to the related art.
  • FIG. 4 is a schematic diagram of the structure of the FlexE protocol overhead frame according to the related art.
  • FIG. 5 is a schematic diagram of the bearer process of the FlexE protocol of the customer service application according to the related art.
  • FIG. 6 is a schematic diagram of inserting an OAM information block into a client service code block stream according to the related art.
  • FIG. 7 is a schematic diagram of the sequence of inserting OAM information blocks into a client service code block stream by a sending port according to the related art.
  • FIG. 8 is a schematic diagram showing the actual position of inserting an OAM information block into a client service code block stream by a sending port according to the related art.
  • FIG. 9 is a schematic diagram of a position range of a receiving end detecting an OAM information block according to the related art.
  • FIG. 10 is a schematic structural diagram 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 structural diagram of an apparatus for receiving an OAM information block according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an apparatus for receiving an OAM information block 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 a receiving end detecting a position range of an OAM information block according to an embodiment of the present invention.
  • FIG. 16 is a schematic diagram illustrating the range of the OAM information block extracted by the receiving end in the client service code block stream according to an embodiment of the present invention.
  • FIG. 17 is a schematic diagram of a sequence after a receiving end extracts an OAM information block according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of a manner in which a receiving end processes an OAM information block synchronization and framing state according to an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of a manner in which a receiving end processes an OAM information block synchronization and framing state 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.
  • the FlexE protocol is defined according to the 100G rate of the physical layer.
  • the data packet is 64/66 encoded
  • the 64-bit data block is expanded into a 66-bit information block, and the additional 2 bits are located in front of the 66-bit block. , as the start flag of a 66-bit block, and then sent out from the optical port in a 66-bit block.
  • the optical port identifies the 66-bit block from the received data stream, then recovers the original 64-bit data from the 66-bit block, and reassembles the data packet.
  • the FlexE protocol is at the 64-bit to 66-block translation layer, which sorts 66-bit data blocks before sending them.
  • every 20 66-bit data blocks are divided into a data block group, and each group has a total of 20 data blocks, representing 20 time slots, and each time slot represents the service speed of the 5G bandwidth.
  • a FlexE overhead block is inserted, as shown in the black block in Figure 2.
  • After inserting the overhead block continue to send the data block, after sending the second 1023*20 data block, insert the overhead block, and so on, so that in the process of sending the data block, the overhead block will be inserted periodically, corresponding to the The interval between two adjacent overhead blocks is 1023*20 data blocks.
  • each physical layer When four 100G physical layers are combined into a 400G logical service bandwidth, as shown in Figure 3, each physical layer still forms a data block group according to 20 data blocks, and an overhead byte is inserted into each 1023 data block group .
  • 4-way 20 data blocks are assembled into a data block group consisting of 80 data blocks, and there are 80 time slots in the block group. Customer services are delivered in these 80 time slots, each time slot bandwidth is 5G, and a total of 400G service delivery bandwidth.
  • the FlexE overhead block is an overhead block with a length of 66 bits.
  • an overhead block is inserted every 1023*20 data blocks.
  • the overhead block plays a positioning function in the entire service flow. If the overhead block is found, the position of the first data block group in the service and the positions of the subsequent data block groups can be known.
  • the content of the overhead block is shown in Figure 4, and 8 consecutive overhead blocks form an overhead frame.
  • An overhead block consists of a 2-bit block flag and a 64-bit block content. The block flag is located in the first 2 columns, the next 64 columns are the block content, the block flag of the first overhead block is "10", and the block flag of the next 7 overhead blocks is "01" or "SS" (SS means the content is uncertain) .
  • the content of the first overhead block is: 0x4B (8 bits, 4B in hexadecimal), C bit (1 bit, indicating adjustment control), OMF bit (1 bit, indicating overhead frame multi-frame indication), RPF bit ( 1 bit, indicating remote defect indication), RES bit (1 bit, reserved bit), FlexE group number (20 bits, indicating the number of the member group), 0x5 (4 bits, 5 in hexadecimal), 000000 (28 bits, all 0).
  • 0x4B and 0x5 are the flag indications of the first overhead block.
  • the overhead block When receiving, when the corresponding position in an overhead block is found to be 0x4B and 0x5, it means that the overhead block is the first overhead block in the overhead frame, and the second overhead block is Seven consecutive overhead blocks form an overhead frame.
  • the reserved part is the reserved content, which has not been defined yet, see the black block in Figure 4.
  • 8 overhead blocks are defined to form a frame, and the first overhead block is identified by two fields 4B (hexadecimal, marked as 0x4B) and 05 (hexadecimal, marked as 0x5).
  • it is detected in the overhead block that the corresponding positions are the contents of 4B and 05 it means that the overhead block is the first overhead block, and it forms a frame with the following seven overhead blocks.
  • Figure 5 shows the process of the FlexE protocol carrying the client business: for the client business, 64/66 encoding is performed first, the client data stream is cut into 64-bit (8 bytes) long block information, and then the 64-bit information is encoded. into a 66-bit information block. After 64/66 encoding, the service stream becomes a 66-bit length 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), two kinds of information Blocks are distinguished by the first two bits in the information block.
  • the control information block can be further divided into various control information blocks (such as idle information blocks, also called IDLE blocks), which are distinguished by the first byte in the control information block.
  • idle information blocks also called IDLE blocks
  • the rate is adjusted by adding or deleting idle information blocks, and then the 66-bit information block is placed in the corresponding position in the time slot planning table (calendar) defined by the FlexE protocol according to the time slot configuration.
  • the FlexE protocol provides a flexible transmission channel for customer services, and the size of the transmission channel can be flexibly adjusted according to the customer's bandwidth needs.
  • the FlexE protocol only provides a pipeline for customers, and does not provide the management capability OAM (Operation, Administration, Maintenance, OAM) for the quality of service of the pipeline, so the quality of pipeline service cannot be monitored in real time.
  • OAM Operaation, Administration, Maintenance
  • the insertion function of OAM information block is added in the MTN standard specification, and the OAM information block is inserted into the customer service code stream to realize the monitoring function of the service quality of the customer service flow.
  • the specific implementation is shown in FIG. 6 , the sender inserts a special OAM information code block into the client service flow code block, and the maintenance management information is carried in the OAM information code block.
  • OAM information block in the client code stream is extracted, and maintenance and management information can be obtained by carrying the content in the OAM information block.
  • the OAM information code blocks defined in the MTN standard include: base code block, APS code block and low-priority code block, wherein low-priority OAM information code block includes CV code block, CS code block Code block, 1DM code block, 2DMM, 2DMR, etc.
  • the transmission order of these code blocks is: base block, APS block, base block, and low-priority code block, which are repeatedly sent according to this order.
  • 64 low-priority code blocks are sent in turn according to a sub-cycle, and the sequence relationship of the low-priority code blocks is: the 1st to 7th low-priority code blocks are CV Code block, the 18th low priority code block is the CS code block, the 19th to 31st low priority code block is 1DM code block/2DMM/2DMR block, and the 32nd to 64th low priority code block position is reserved (idle) Location.
  • the base code block is sent periodically and continues to be sent according to the regularity of the cycle.
  • the APS code block is sent on demand, and is sent only when there is an APS code block, otherwise the APS code block is not sent, and is sent by turns this time.
  • the same is true for low-priority code blocks.
  • the CV code blocks that are sent periodically are sent every time, and the other on-demand code blocks are sent when there is a need to send the corresponding low-priority message, otherwise it will be bye.
  • the OAM information code is not sent this bye.
  • the first block of a client message is the S block (first block), then the D block (data block), and finally the T block (tail block). Since the OAM information code can only be inserted in the between messages, so OAM can only be inserted after the T block of the message and before the S block, so that when the expected position is in the middle of the message, such as when the previous information block is an S block or a D block, only the It can wait for the end of the current message and the T block to appear before inserting.
  • the actual insertion position lags behind the expected (expected) insertion position, as shown in Figure 8. There is a deviation ⁇ between the actual insertion position and the expected insertion position each time, and the value of ⁇ is A random size value that is related to the length of the message being sent when the OAM information block is inserted.
  • the receiving end needs to determine from the received OAM information code whether the location of the OAM information block is correct? In the case where the OAM information block appears in the correct position, determine whether the OAM information code is the expected OAM information block type? And the order relationship of the OAM information blocks is correct?
  • embodiments of the present invention provide a method for receiving and detecting OAM information blocks in a customer service code stream, which is used to quickly detect valid OAM information blocks, extract the effective content of OAM information codes, and implement performance detection of bearer pipes.
  • FIG. 10 is a hardware structural block diagram of a computer terminal on which the method according to the embodiment of the present invention runs.
  • the computer terminal may include one or more (only one is shown in FIG. 10 ) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions.
  • FIG. 10 is only a schematic representation, which does not limit the structure of the above-mentioned computer terminal.
  • the computer terminal may also include more or fewer components than shown in FIG. 10 , or have a different configuration than that shown in FIG. 10 .
  • the memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the methods in the embodiments of the present invention, and the processor 102 executes various functions by running the computer programs stored in the memory 104 Application and data processing, that is, to realize the above-mentioned method.
  • Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • memory 104 may further include memory located remotely from processor 102, which may be connected to a computer terminal through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Transmission means 106 are used to receive or transmit data via a network.
  • the specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • FIG. 11 is a flowchart of the method for receiving OAM information blocks according to an embodiment of the present invention. As shown in FIG. 11 , the process includes the following step:
  • Step S1101 determine the reference position and the transmission period value that the OAM information block receives
  • Step S1102 determine the expected receiving position of the next OAM information block according to the reference position and the transmission period value, and determine the effective receiving range according to the expected receiving position, and extract the OAM information block in the client service code block stream within the effective receiving range ;
  • Step S1103 Synchronize the sequence relationship of the OAM information blocks according to the extracted OAM information block types and sorting results, and extract the content of the OAM information blocks after synchronization to monitor the service quality of the bearer pipe.
  • the receiving reference position of the OAM information block may be the currently actually received OAM information code block as the reference code block position.
  • the receiving reference position of the OAM information block may also be the expected sending position of the OAM information code block calculated according to the currently actually received OAM information code block and the code block position offset value as the reference position.
  • the transmission period value of the OAM information code can be obtained through the device configuration value, or the transmission period value of the OAM information code can be obtained by receiving the period value carried in the OAM information block.
  • the transmission period value of the OAM information code can calculate the average interval of the OAM information code by receiving the receiving positions of multiple OAM information blocks, and calculate the transmission period of the OAM information code.
  • the expected receiving position of the next OAM information block to be received is determined according to the reference position and the transmission period of the OAM information block. Taking the expected receiving position as the center, receiving the OAM information block within a certain range before and after the expected receiving position, or only receiving the OAM information block within a certain range behind the expected receiving position, the receiving range is the effective receiving range.
  • the size of the effective receiving range at the receiving end is determined by the maximum deviation value between the expected sending position and the actual sending position of the sender (that is, the deviation value brought by the client's largest packet), as well as the small amount of customer traffic encountered in the network bearer.
  • An OAM information block received within the valid reception range is a location-legal OAM information block. If the OAM information block is not received within the effective receiving range, it is marked as OAM information block vacancy; the OAM information block received outside the effective receiving range is an illegal location OAM information block, and an illegal location warning indication is given. Normally, there is at most one valid OAM information block within the valid receiving range. When multiple valid OAM information blocks are received within a valid receiving range, it is judged that the number of OAM information code blocks received is wrong, and a quantity alarm message is given. When the number of OAM information blocks is alarmed, only one of the OAM information blocks can be taken, or all OAM information blocks within the range can be discarded, and it is determined that the OAM information blocks are vacant.
  • step S1103 of this embodiment the OAM information blocks of each valid receiving range are extracted, and the sequence synchronization and sequence relationship detection of the bearing of the OAM information blocks are performed.
  • the sequence state of the OAM information block of the receiver is in an out-of-sync state
  • the synchronization determination process of the OAM sequence of the receiver is performed.
  • the sequence state of the OAM information block at the receiving end is in a synchronized state
  • the content of the OAM information code block is used to monitor the quality of service of the bearer pipe.
  • the sequence state synchronization process of the receiving end OAM information block can be implemented by a state machine
  • the state machine can be various state machines such as a state machine composed of two states, a state machine composed of four states, and the like.
  • step S1103 of this embodiment when the order state of the OAM information blocks at the receiving end is in an out-of-sync state, one received OAM information block is selected as the reference OAM information block, if the next received OAM information block and the previous reference OAM information block are If the sequence relationship between them does not conform to BABL, the reference OAM information block is reselected.
  • the order state of the OAM information block at the receiving end is in the out-of-sync state, select one received OAM information block as the reference OAM information block. Enter the synchronization state.
  • step S1103 of this embodiment the order state of the OAM information block at the receiving end is in a synchronous state, and the received OAM information block conforms to the expected BABL sequence relationship, and the OAM information block is used to carry the content.
  • the sequence state of the OAM information code at the receiving end is in a synchronized state, and the received OAM information block does not conform to the expected BABL sequence relationship, it is determined that the sequence of the OAM information block is wrong.
  • the OAM information block sequence state at the receiving end is in the synchronous state. If multiple (for example, 4) OAM information blocks subsequently received do not meet the expected BABL sequence relationship, the receiving end OAM information block sequence state changes from the synchronous state to the out-of-sync state.
  • This embodiment also provides an apparatus for receiving an OAM information block, and the apparatus is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated.
  • the term "module” or "unit” may be a combination of software and/or hardware that implements a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
  • FIG. 12 is a structural block diagram of an apparatus for an OAM information block according to an embodiment of the present invention.
  • the apparatus is located at the receiving end.
  • the apparatus includes a determination module 10 , an extraction module 20 and a synchronization module 30 .
  • the determining module 10 is configured to determine the reference position and the transmission period value received by the OAM information block.
  • the extraction module 20 is configured to determine the expected receiving position of the next OAM information block according to the reference position and the transmission period value, and determine the effective receiving range according to the expected receiving position, and extract the client service code block stream in the effective receiving range. OAM information block.
  • the synchronization module 30 is configured to synchronize the sequence relationship of the OAM information blocks according to the extracted OAM information block types and sorting results, and extract the content of the OAM information blocks after synchronization to monitor the service quality of the bearer pipe.
  • the determining module 10 may determine the reference position of the received OAM information block in one of the following ways: take the currently actually received OAM information block as the reference position; according to the current actually received OAM information block The expected transmission position of the OAM information block is calculated from the code block position offset value, and the expected transmission position is used as the reference position.
  • the determining module 10 may determine the delivery period value of the OAM information block in one of the following manners: determining the delivery period value of the OAM information block through a device configuration value; by receiving the period carried in the OAM information block The value determines the transmission period value of the OAM information block; the average interval of the OAM information blocks is calculated according to the receiving positions of the multiple OAM information blocks, and the transmission period of the OAM information block is determined according to the average interval.
  • the extraction module 10 further includes: an effective receiving range A determining unit 11 , a first extracting unit 12 , a marking unit 13 and an alarming unit 14 .
  • the effective reception range determination unit 11 is set to take the expected reception position as the center, and determine the predetermined range before and after the expected reception position, or the predetermined range after the expected reception position as the effective reception range for receiving the OAM information block .
  • the first extracting unit 12 is configured to extract the OAM information block from the client service code block stream when the OAM information block received within the effective receiving range is an OAM information block with legal location.
  • the marking unit 13 is configured to mark that the OAM information block is vacant when the OAM information block is not received within the effective receiving range.
  • the alarming unit 14 is configured to give an illegal location warning indication when the OAM information block received outside the effective receiving range is an illegal location OAM information block.
  • the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
  • FIG. 14 is a flowchart of a method for receiving an OAM information block according to an embodiment of the present invention. As shown in FIG. 14 , the specific implementation method at the receiving end includes the following steps:
  • Step S1401 after receiving an OAM information block, the receiving end first uses the OAM information block as a reference position to determine the expected position of the next OAM information block.
  • the first received OAM information block is the actual receiving position, which may be the expected sending position or the expected sending position, and there is a deviation between the actual position and the expected position. If the received OAM information block carries the deviation between the actual position and the expected position, the actual expected sending position can be calculated, and the calculated expected position is used as the reference position. If the expected sending position cannot be obtained, the actual received OAM position is used as the reference position. After the reference position is determined, the expected position of the next OAM information block can be obtained according to the T period.
  • the period value T value can be obtained by system configuration, or carried by the sender to the receiver through the OAM information block.
  • the deviation value is related to the maximum packet length.
  • the maximum packet length on the link is 9600 bytes
  • the 9600-byte packet is encoded into 1200 66-bit code blocks, so the maximum deviation ⁇ max caused by the packet length is 1200.
  • the maximum packet length is 1518 bytes
  • the 1518-byte packet is encoded into 190 66-bit code blocks, and the maximum deviation ⁇ max caused by the packet length is 190.
  • the intermediate network device will add and delete idle blocks (IDLE blocks), LF (local fault), and RF (remote fault) blocks between packets.
  • IDLE blocks idle blocks
  • LF local fault
  • RF remote fault
  • the terminal detects that the maximum deviation value ⁇ max between the actual position and the expected position of the OAM information block may be slightly larger than 1200 (the maximum packet is 9600 bytes) or 190 (the maximum packet is 1518 bytes).
  • the maximum increase is no more than 1 block, and the offset increase is very small, which can be ignored. This change can also be considered according to the number of devices passing through in the transmission of the customer service on the network.
  • the expected position of the next OAM information block calculated according to the period value is also the actual expected position of the transmitting end, and the next code block will only appear at the actual expected position. , or after the real expectation, that is, the range where the next OAM information block may appear is: (real expected position, expected position+ ⁇ max), as shown in FIG. 15 .
  • the reference position is the actual position of the OAM information block of the receiving end (when the real expected position cannot be known), it is not the real expected position, and there is a deviation between the reference position and the real expectation, and the actual receiving position is used as the reference position and period value.
  • Step S1402 after determining the receiving range of the next OAM information block, the OAM information block received within the receiving range is the OAM information code with legal location, and the OAM information block received outside the receiving range is the OAM information code with illegal location. After receiving the OAM information code with an illegal location, it reports an abnormal OAM information code location alarm. Only one OAM information block will appear in the receiving range of an OAM information block. When two or more OAM information blocks are received, the abnormal number of OAM information blocks will be reported, and all OAM information blocks within the range will be discarded. It is marked as an OAM information block error, or marked as an OAM information block vacancy, or an OAM information block is selected from multiple OAM information blocks for subsequent processing. When no OAM information block is received within a receiving range, the OAM information block is marked as vacant.
  • Step S1403 sorting the received OAM information blocks within each receiving range (marking as vacancy when no OAM information blocks are received within the receiving range).
  • the OAM information blocks in the third range and the eighth range are marked as vacant, and the OAM information blocks in other ranges are normally received OAM information blocks.
  • the transmitting end sends the OAM information block in the order of B-A-B-L, and the receiving end receives it in the order of B-A-B-L.
  • the four blocks in the sequence relationship of B-A-B-L are regarded as a frame structure.
  • the receiving end receives a certain number of OAM information blocks (such as 4 OAM information blocks).
  • the receiving end OAM information block receiving sequence framing process can be represented by a state machine, as shown in FIG. 18 is an implementation example of two states (a lost frame state and a fixed frame state).
  • the frame-loss state when the received OAM information blocks meet the expected order and the number of times the order is correct reaches a specified number, it will jump from the frame-loss state to the fixed-frame state, otherwise it will stay in the frame-loss state.
  • the sequence error when the sequence error reaches a certain level, it means that the reference position may be wrong, then re-select an OAM information block position as the reference position, re-determine the expected receiving range, and restart the checking process of the receiving sequence.
  • the fixed frame state when a sequence violation of the received OAM information blocks is received and the number of violations reaches a certain threshold, it will jump from the fixed frame state to the lost frame state, otherwise it will remain in the fixed frame state.
  • Step S1404 in the fixed frame state, when the received OAM information block conforms to the sequence relationship, the OAM information block can be used to monitor the quality of service of the customer service bearer pipeline.
  • the number of up-to-standard jumps from the frame-loss state to the fixed-frame state can be determined by configuration.
  • the up-to-standard number can be the up-to-standard number after multiple consecutive OAM information blocks meet the sequence relationship, or the up-to-standard number within a certain number of windows, such as Among the 10 OAM information codes, 8 OAM information codes conform to the sequence relationship.
  • the number of violations that jump from the fixed frame state to the lost frame state can be determined by configuration.
  • the number of violations can be the number of violations that do not conform to the sequence relationship of multiple OAM information blocks in a row, or the number of violations within a certain number of windows.
  • the number of violations such as the number of violations that 8 OAM information codes out of 10 OAM information codes do not meet the order.
  • the changes of the frame-loss state and the fixed-frame state can be represented by two state machines or by four state machines. As shown in FIG. 19 , two temporary states are added in FIG. 19 . : Sequence correct state, sequence error state. In the missing frame state, after receiving the correct sequence of OAM information blocks, the sequence correct state is entered. In the correct order state, when the correct order OAM information blocks are received, the number of correct order OAM information blocks is accumulated. If the number of correct order OAM information blocks reaches the standard (reaches the expected number), it will jump to the fixed frame state, otherwise it will temporarily stay in the fixed frame state. The order is correct.
  • the wrong sequence state when the wrong sequence of OAM information blocks are received (or when a certain number of incorrect sequence blocks are received), it jumps back to the lost frame state.
  • the fixed frame state when an OAM information block of the wrong order is received, it jumps to the out-of-order temporary state.
  • the wrong sequence state when the wrong sequence OAM turntable code is received, the number of the wrong sequence OAM information blocks is accumulated. If the number of the wrong sequence OAM information blocks is out of bounds (reaching a certain number), it will jump to the lost frame state, otherwise it will stay temporarily. in a sequence error state.
  • the framing state is restored.
  • the change of frame loss state and fixed frame state can be represented by 3 states. As shown in Figure 20 and Figure 21, the state machines of 3 states are 2 , 4-state state machine intermediate transition state machine.
  • Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
  • the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM for short), and a random access memory (Random Access Memory, referred to as RAM for short) , mobile hard disk, magnetic disk or CD-ROM and other media that can store computer programs.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
  • the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device, or distributed in a network composed of multiple computing devices
  • they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here.
  • the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize.
  • the present invention is not limited to any particular combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)

Abstract

本发明实施例提供了一种OAM信息块的接收方法及装置,该方法包括:确定OAM信息块接收的基准位置和传递周期值;根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块;根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控。在本发明中,通过从客户业务码流中接收和检测有效的OAM信息块,以提取OAM信息块的有效内容,从而实现承载管道的性能检测。

Description

OAM信息块的接收方法及装置 技术领域
本发明实施例涉及通信领域,具体而言,涉及一种OAM信息块的接收方法及装置。
背景技术
用户网络信息流量的快速增加,促使着通讯网络信息传递带宽的快速发展,通讯设备的接口带宽速度从10M提高到100M,又提高1G、10G,目前已经达到100G的带宽速度,市场上已经开始大量商用100G的光模块。目前已经研发出400G的光模块,但400G的光模块价格昂贵,超过了4个100G光模块的价格,导致400G光模块缺少商用的经济价值。为了在100G光模块上传递400G业务,国际标准组织定义了FlexE协议。FlexE协议将多个100G的光模块组合起来,形成一个大速度的传递通道。如图1所示,通过FlexE协议将4个100G光模块组合起来,形成一个400G传递通道,等效于1个400G的光模块的传递速度,在不增加成本的情况下解决了400G业务的传递需求。MTN标准规范中定义在传输客户业务码流中增加了通道承载质量监控的操作管理维护信息(Operation Administration Maintenance,OAM)码块,用于检测承载客户业务管道的服务质量状态,如误码率、延迟时间、业务丢弃等功能,但是,MTN标准规范中并没有给出如何从客户业务码流中接收和检测有效的OAM信息块,以提取OAM信息块的有效内容,实现承载管道的性能检测。
发明内容
本发明实施例提供了一种OAM信息块的接收方法及装置,以至少解决相关技术中如何从客户业务码流中接收和检测有效的OAM信息块问题。
根据本发明的一个实施例,提供了一种OAM信息块的接收方法,包括:确定OAM信息块接收的基准位置和传递周期值;根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块;根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控。
在一个示例性实施例中,确定OAM信息块接收的基准位置包括以下之一:将当前实际接收的OAM信息块作为所述基准位置;根据当前实际接收的OAM信息块和码块位置偏移值推算出OAM信息块的期望发送位置,将所述期望发送位置作为所述基准位置。
在一个示例性实施例中,确定OAM信息块的传递周期值包括以下之一:通过设备配置值确定OAM信息块的传递周期值;通过接收OAM信息块中携带的周期值确定OAM信息块的传递周期值;根据多个OAM信息块的接收位置计算出OAM信息块的平均间隔,根据所述平均间隔确定OAM信息块的传递周期。
在一个示例性实施例中,根据所述预期接收位置确定有效接收范围包括:以所述预期接收位置为中心,将所述预期接收位置的前后预定范围,或将所述预期接收位置后的预定范围确定为接收OAM信息块的有效接收范围。
在一个示例性实施例中,接收端的有效接收范围的大小影响因素至少包括以下之一:发送端预期发送位置和实际发送位置之间的最大偏差值;客户业务在网络承载中由于空闲块的增删所导致的偏移。
在一个示例性实施例中,提取有效接收范围内客户业务码块流中的OAM信息块包括以下之一:在所述有效接收范围内收到的OAM信息块为位置合法OAM信息块,并从客户业务码块流中提取所述OAM信息块;在所述有效接收范围内没有接收到OAM信息块,则标示为OAM信息块空缺;在所述有效接收范围之外接收到的OAM信息块为位置非法OAM信息块,给出位置非法告警指示。
在一个示例性实施例中,在所述有效接收范围内最多有一个位置合法的OAM信息块,当在所述有效接收范围内接收到多个OAM信息块时,判断为OAM信息块接收数量出错,并给出数量告警信息;在OAM信息块数量告警的时,提取其中一个OAM信息块,或丢弃所有OAM信息块并判定为OAM信息块空缺。
在一个示例性实施例中,根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控,包括:提取每个有效接收范围的OAM信息块,进行OAM信息块承载顺序同步和顺序关系检测;当接收端OAM信息块的顺序状态处于失步状态时,则进行接收端OAM顺序的同步判定过程;当接收端OAM信息块的顺序状态处于同步状态时,则根据OAM信息码块内容进行承载管道的服务质量监控。
在一个示例性实施例中,接收端OAM信息块的顺序状态同步过程由状态机实现,所述状态机为由两个状态、三个状态或四个状态组成的状态机。
在一个示例性实施例中,当接收端OAM信息块的顺序状态处于失步状态时,则进行接收端OAM顺序的同步判定过程,包括以下之一:当接收端OAM信息块的顺序状态处于失步状态,选择一个接收到OAM信息块为参考OAM信息块,如果下一个接收到OAM信息块和前一个参考OAM信息块之间不符合预期的顺序关系,则重新选择参考OAM信息块;当接收端OAM信息块的顺序状态处于失步状态,选择一个接收到OAM信息块为参考OAM信息块,如果参考OAM信息块和后续接收到多个OAM信息块之间符合预期的顺序关系,则进入同步状态。
在一个示例性实施例中,当接收端OAM信息块的顺序状态处于同步状态时,则根据OAM信息码块内容进行承载管道的服务质量监控,包括:在接收端OAM信息块的顺序状态处于同步状态,接收到OAM信息块符合预期的顺序关系,则根据OAM信息码块内容进行承载管道的服务质量监控。
在一个示例性实施例中,该方法还包括:在接收端OAM信息码顺序状态处于同步状态下,接收到OAM信息块不符合预期的顺序关系,则判定该OAM信息块顺序错误。
在一个示例性实施例中,该方法还包括:在接收端OAM信息块顺序状态处于同步状态,如果后续接收多个OAM信息块不符合预期的顺序关系,则接收端OAM信息块顺序状态从同步状态进入失步状态。
根据本发明的另一个实施例,提供了一种OAM信息块的接收装置,该装置位于接收端,包括:确定模块,设置为确定OAM信息块接收的基准位置和传递周期值;提取模块,设置为根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块;同步模块,设置为根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提 取OAM信息块内容以对承载管道的服务质量进行监控。
在一个示例性实施例中,所述确定模块通过以下方式之一确定OAM信息块接收的基准位置:将当前实际接收的OAM信息块作为所述基准位置;根据当前实际接收的OAM信息块和码块位置偏移值推算出OAM信息块的期望发送位置,将所述期望发送位置作为所述基准位置。
在一个示例性实施例中,所述确定模块通过以下方式之一确定OAM信息块的传递周期值:通过设备配置值确定OAM信息块的传递周期值;通过接收OAM信息块中携带的周期值确定OAM信息块的传递周期值;根据多个OAM信息块的接收位置计算出OAM信息块的平均间隔,根据所述平均间隔确定OAM信息块的传递周期。
在一个示例性实施例中,所述提取模块还包括:有效接收范围确定单元,设置为以所述预期接收位置为中心,将所述预期接收位置的前后预定范围,或将所述预期接收位置后的预定范围确定为接收OAM信息块的有效接收范围。
在一个示例性实施例中,所述提取模块还包括:第一提取单元,设置为在所述有效接收范围内收到的OAM信息块为位置合法OAM信息块的情况下,从客户业务码块流中提取所述OAM信息块;标示单元,设置为在所述有效接收范围内没有接收到OAM信息块的情况下,标示OAM信息块空缺;告警单元,设置为在所述有效接收范围之外接收到的OAM信息块为位置非法OAM信息块的情况下,给出位置非法告警指示。
根据本发明的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。
在本发明的上述实施例中,从客户业务码流中接收和检测有效的OAM信息块,以提取OAM信息块的有效内容,从而实现承载管道的性能检测。
附图说明
图1是根据相关技术的FlexE协议应用示意图。
图2是根据相关技术的FlexE协议开销块和数据块排列位置示意图。
图3是根据相关技术的FlexE协议业务在多物理通道上分配示意图。
图4是根据相关技术的FlexE协议开销帧结构示意图。
图5是根据相关技术的客户业务应用FlexE协议承载过程示意图。
图6是根据相关技术的在客户业务码块流中插入OAM信息块示意图。
图7是根据相关技术的发送端口在客户业务码块流中插入OAM信息块顺序示意图。
图8是根据相关技术的发送端口在客户业务码块流中插入OAM信息块实际位置示意图。
图9是根据相关技术的接收端检测OAM信息块位置范围示意图。
图10是根据本发明实施例的计算机终端结构示意图。
图11是根据本发明实施例的OAM信息块接收方法流程图。
图12是根据本发明实施例的OAM信息块接收装置结构示意图。
图13是根据本发明另一实施例的OAM信息块接收装置结构示意图。
图14是根据本发明实施例的OAM信息块接收方法流程图。
图15是根据本发明实施例的接收端检测OAM信息块位置范围示意图。
图16是根据本发明实施例的接收端在客户业务码块流中提取OAM信息块范围示意图。
图17是根据本发明实施例的接收端提取OAM信息块后顺序示意图。
图18是根据本发明实施例的接收端处理OAM信息块同步定帧状态方式示意图。
图19是根据本发明另一实施例的接收端处理OAM信息块同步定帧状态方式示意图。
图20是根据本发明实施例的状态机示意图。
图21是根据本发明另一实施例的状态机示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明的实施例。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
目前FlexE协议按照物理层100G速率来定义。在光模快中,100G的数据报文在发送前,是将数据包报文进行64/66编码,将64比特的数据块扩展成66比特的信息块,增加的2比特位于66比特块前面,作为66比特块的开始标志,然后以66比特块的方式从光口发送出去。在接收时,光口从接收到的数据流中辨别出66比特块,然后从66比特块中恢复出原始的64比特数据,重新组装出数据报文来。FlexE协议处于64比特到66块转换层,在发送66比特数据块前,对66比特的数据块进行排序。如图2所示,对于100G业务,每20个66比特数据块划分为一个数据块组,每组中共20个数据块,代表20个时隙,每个时隙代表5G带宽的业务速度。发送66比特的数据块时,每发送完1023个数据块组(1023*20个数据块),插入一个FlexE开销块,如图2中黑色块。插入开销块后,继续发送数据块,发送完第二个1023*20个数据块后,再插入开销块,以此类推,这样在发送数据块的过程中,会周期性地插入开销块,相邻两个开销块的间隔是1023*20个数据块。
当4路100G的物理层组合成一个400G的逻辑业务带宽时,如图3所示,每个物理层仍按照20个数据块组成一个数据块组,每1023个数据块组插入一个开销字节。在FlexE的shim层,4路20个数据块拼装成一个由80个数据块组成的数据块组,块组中有80个时隙。客户业务在这80个时隙中进行传递,每个时隙带宽是5G,共400G的业务传递带宽。
FlexE开销块是一个66比特长的开销块,在业务数据流发送时,每间隔1023*20个数据块插入一个开销块。开销块在整个业务流中起到定位功能,找到开销块,就可以知道业务中第一个数据块组的位置,以及后续的数据块组的位置。开销块的内容如图4所示,连续8个开销块则组成一个开销帧。一个开销块由2比特的块标志和64位的块内容组成。块标志位于前2列,后面64列是块内容,第一个开销块的块标志是“10”,后面7个开销块的块标志是“01”或“SS”(SS表示内容不确定)。第一个开销块的内容是:0x4B(8位,十六进制的4B)、C比特(1位,指示调整控制)、OMF比特(1位,表示开销帧复帧指示)、RPF比特(1位,表示远端缺陷指示)、RES比特(1位,保留位)、FlexE group number(20位,表示成员组的编号)、0x5(4位,十六进制的5)、000000(28位,都是0)。其中的0x4B和0x5是第一个开销块的标志指示,在接收时,当找到一个开销块中对应位置是0x4B和0x5,则表示该开销 块是开销帧中的第一个开销块,和次后连续的7个开销块组成一个开销帧。在开销帧中,reserved部分是保留内容,尚未定义,见图4黑色块。在FlexE协议中,定义8个开销块组成一帧,其中第一个开销块中由4B(16进制,标识为0x4B)和05(16进制,标识为0x5)两个字段标识。当开销块中,检测出对应位置是4B和05内容时,则表示该开销块是第一个开销块,和后面的7个开销块组成一帧。
图5是FlexE协议承载客户业的过程:对于客户业务,先进行64/66编码,将客户数据流切成64比特(8个字节)长的块信息,然后对64比特的信息进行编码,变成66比特的信息块。经过64/66编码,业务流变成66比特长度信息块流。这些信息块分成两种:数据块(前两个bit是“01”,指示该块是数据块)和控制块(前两个bit是“10”,指示该块是控制块),两种信息块通过信息块中前两位比特进行区分。控制信息块又可以分成各种不同的控制信息块(如空闲信息块,也成为IDLE块),通过控制信息块中第一个字节来区分。将客户信息进行64/66编码之后,通过增加或删除空闲信息块实现速率调整,然后按照时隙配置情况将66比特的信息块放在FlexE协议定义时隙规划表(calendar)中的对应位置。
FlexE协议为客户业务提供了灵活传递通道,可以根据客户带宽需要灵活调整传输通道的大小。FlexE协议只是为客户提供了一个管道,没有提供该管道的服务质量的管理能力OAM(操作Operation、管理Administration、维护Maintenance,简称OAM),因此无法实时监控管道服务质量。在MTN标准规范中增加OAM信息块的插入功能,在客户业务码流中插入OAM信息块,实现对客户业务流服务质量的监控功能。具体实现方式如图6所示,发送端在客户业务流码块中插入一种特殊的OAM信息码块,在OAM信息码块中承载维护管理信息。在接收端,提取客户码流中的OAM信息块,通过OAM信息块中承载内容可以获得维护管理信息。在发送端,一般周期性地在客户业务码流中增加OAM信息块,如图7所示,例如OAM信息块每间隔16K(即插入周期T=16384)个客户码块后插入一个OAM信息码。OAM信息块的有多种具体类型,在MTN标准中定义的OAM信息码块有:base码块、APS码块和低优先级码块,其中低优先级OAM信息码块包括CV码块、CS码块、1DM码块、2DMM、2DMR等,这些码块的发送顺序规律为:base块、APS块、base块、低优先级码块,不断重复地按照该顺序规律发送。如图8所示,对于低优先级码块,按照64个低优先级码块为一个子周期轮流发送,低优先级码块的顺序关系是:第1-7个低优先级码块是CV码块,第18个低优先级码块是CS码块,第19-31低优先级码块是1DM码块/2DMM/2DMR块,第32-64低优先级码块位置是保留(空闲)位置。在发送时,base码块是周期发送,按照周期规律持续发送。APS码块是按需发送,当有APS码块时才发送,否则就不发送APS码块,本次轮空发送。低优先级码块也是类似方式,周期发送的CV码块是每次都发送,其他按需发送码块是当有发送需求时才发送对应的低优先级报文,否则就轮空。对于低优先级报文发送规律中的保留位置,则本次轮空不发送OAM信息码。
客户业务进行64/66比特编码后一个客户报文的首块是S块(首块),然后是D块(数据块),最后是T块(尾块),由于OAM信息码只能插入在报文之间,因此OAM只能插入在报文的T块之后、S块之前的位置,这样当在预期位置在报文中间位置时,如前一个信息块是S块或D块时,只能等当前报文结束、T块出现后才插入,实际插入位置滞后于期望(预期)插入位置,如图8,每次实际插入位置和预期插入位置之间存在一个偏差量Δ,Δ值是随机大小值,与插入OAM信息码块时正在发送的报文长度有关。
由于发送端发送的OAM信息块位置是不确定,并且有时存在OAM信息块轮空、没有OAM信息块的现象,在接收端搜找OAM信息块时会出现各种场景,可能出现如图9的场景,灰色的表示OAM信息块轮空、实际上没有收到的OAM信息块,黑色的表示实际收到的OAM信息块。因此,接收端需要从接收到的OAM信息码中确定该OAM信息块出现位置是否正确?在OAM信息块出现位置正确的情况下,确定OAM信息码是否时期望的OAM信息块类型?以及OAM信息块的顺序关系正确?
为此,本发明实施例提供了一种客户业务码流中OAM信息块的接收和检测方法,用于快速检测有效的OAM信息块,提取OAM信息码的有效内容,实现承载管道的性能检测。
本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图10是本发明实施例的方法所运行的计算机终端的硬件结构框图。如图2所示,计算机终端可以包括一个或多个(图10中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,其中,上述计算机终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图10所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图10中所示更多或者更少的组件,或者具有与图10所示不同的配置。
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种可运行于上述计算机终端的OAM信息块接收方法,图11是根据本发明实施例的OAM信息块接收方法的流程图,如图11所示,该流程包括如下步骤:
步骤S1101,确定OAM信息块接收的基准位置和传递周期值;
步骤S1102,根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块;
步骤S1103,根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控。
在本实施例的步骤S1101中,OAM信息块的接收基准位置可以是当前实际接收的OAM信息码块作为基准码块位置。OAM信息块的接收基准位置也可以是根据当前实际接收的OAM信息码块和码块位置偏移值推算出OAM信息码块的期望发送位置作为基准位置。
OAM信息码传递周期值可以通过设备配置值获得,也可以通过接收OAM信息块中携带的周期值获得OAM信息码的传递周期值。OAM信息码传递周期值可以通过接收多个OAM信息块的接收位置,统计和计算出OAM信息码的平均间隔,推算OAM信息码的传递周期。
在本实施例的步骤S1102中,根据基准位置和OAM信息块的传递周期,确定下一个待接收的OAM信息块的预期接收位置。以预期接收位置为中心,在预期接收位置的前、后面一定范围接收OAM信息块,或只是在预期接收位置后面的一定范围内接收OAM信息块,该接收范围为有效接收范围。
在接收端有效接收范围大小由发送端预期发送位置和实际发送位置之间的最大偏差值(即,客户最大报文带来的偏差值)决定,以及客户业务在网络上承载中遇到的少量空闲块的增删过程带来的微小偏移影响。
在有效接收范围内收到的OAM信息块是位置合法OAM信息块。有效接收范围内如果没有接收到OAM信息块,则标示为OAM信息块空缺;有效接收范围之外接收到OAM信息块为位置非法OAM信息块,给出位置非法告警指示。正常时有效接收范围内最多一个有效的OAM信息块,当一个有效接收范围内接收到多个有效的OAM信息块时,判断为OAM信息码块接收数量出错,给出数量告警信息。在OAM信息块数量告警时可以只取其中一个OAM信息块,或抛弃该范围内的所有OAM信息块,判定为OAM信息块空缺。
在本实施例的步骤S1103中,提取每个有效接收范围的OAM信息块,进行OAM信息块承载顺序同步和顺序关系检测。当接收端OAM信息块的顺序状态处于失步状态时,则进行接收端OAM顺序的同步判定过程。当接收端OAM信息块的顺序状态处于同步状态时,则应用该OAM信息码块内容进行承载管道的服务质量监控。当接收端OAM信息块的顺序状态同步过程可以由状态机实现,状态机可以是两个状态组成的状态机、四个状态组成的状态机等各种状态机。
在本实施例的步骤S1103中,当接收端OAM信息块顺序状态处于失步状态,选择一个接收到OAM信息块为参考OAM信息块,如果下一个接收到OAM信息块和前一个参考OAM信息块之间不符合BABL的顺序关系,则重新选择参考OAM信息块。当接收端OAM信息块顺序状态处于失步状态,选择一个接收到OAM信息块为参考OAM信息块,如果和后续接收到多个OAM信息块(如4个)之间符合BABL的顺序关系,则进入同步状态。
在本实施例的步骤S1103中,在接收端OAM信息块顺序状态处于同步状态,接收到OAM信息块符合预期的BABL的顺序关系,则应用该OAM信息块承载内容。在接收端OAM信息码顺序状态处于同步状态下,接收到OAM信息块不符合预期的BABL的顺序关系,则判定该OAM信息块顺序错误。在接收端OAM信息块顺序状态处于同步状态,如果后续接收多个(例如4个)OAM信息块不符合预期的BABL的顺序关系,则接收端OAM信息块顺序状态从同步状态进入失步状态。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
在本实施例中还提供了一种OAM信息块的接收装置,该装置用于实现上述实施例及优选 实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”或“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图12是根据本发明实施例的OAM信息块的装置的结构框图,该装置位于接收端,如图12所示,该装置包括确定模块10、提取模块20和同步模块30。
确定模块10,设置为确定OAM信息块接收的基准位置和传递周期值。
提取模块20,设置为根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块。
同步模块30,设置为根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控。
在一个示例性实施例中,所述确定模块10可通过以下方式之一确定OAM信息块接收的基准位置:将当前实际接收的OAM信息块作为所述基准位置;根据当前实际接收的OAM信息块和码块位置偏移值推算出OAM信息块的期望发送位置,将所述期望发送位置作为所述基准位置。
在一个示例性实施例中,所述确定模块10可通过以下方式之一确定OAM信息块的传递周期值:通过设备配置值确定OAM信息块的传递周期值;通过接收OAM信息块中携带的周期值确定OAM信息块的传递周期值;根据多个OAM信息块的接收位置计算出OAM信息块的平均间隔,根据所述平均间隔确定OAM信息块的传递周期。
图13是根据本发明另一实施例的OAM信息块的装置的结构框图,如图13所示,该装置除包括图12所示的所有模块外,所述提取模块10还包括:有效接收范围确定单元11、第一提取单元12、标示单元13和告警单元14。
效接收范围确定单元11,设置为以所述预期接收位置为中心,将所述预期接收位置的前后预定范围,或将所述预期接收位置后的预定范围确定为接收OAM信息块的有效接收范围。
第一提取单元12,设置为在所述有效接收范围内收到的OAM信息块为位置合法OAM信息块的情况下,从客户业务码块流中提取所述OAM信息块。
标示单元13,设置为在所述有效接收范围内没有接收到OAM信息块的情况下,标示OAM信息块空缺。
告警单元14,设置为在所述有效接收范围之外接收到的OAM信息块为位置非法OAM信息块的情况下,给出位置非法告警指示。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
为了便于对本发明所提供的技术方案的理解,下面将结合具体场景的实施例进行详细描述。
在本实施例中提供了一种OAM信息块接收方法,图14是根据本发明实施例的OAM信息块接收方法的流程图,如图14所示,接收端具体实现方法包括如下步骤:
步骤S1401,当接收端收到一个OAM信息块后,先以该OAM信息块作为基准位置,确定下一个OAM信息块的期望位置。
具体地,首个接收到的OAM信息块是实际接收位置,可能是期望发送位置,也不是期望发送位置,实际位置和期望位置之间存在偏差。如果接收到的OAM信息块中携带有实际位置和期望位置之间的偏差量,可以推算出真实的期望发送位置,则以推算出的期望位置为基准位置。如果无法获取期望发送位置,则以实际接收的OAM位置作为基准位置。确定基准位置后,按照T周期可以获得下一个OAM信息块的期望位置。周期值T值可以由系统配置获得,或由发送端通过OAM信息块中携带给接收端。根据基准位置和周期T值计算出下一个OAM信息码的期望位置,在期望位置附近接收下一个OAM信息块。下个OAM信息块的实际出现位置和计算出的期望位置之间可能存在偏差值Δ,偏差值大小与最大报文长度有关。当链路上最大报文长度为9600字节时,9600字节的报文经过编码后变成1200个66比特码块,这样因为报文长度原因带来的最大偏差值Δmax为1200。当最大报文长度为1518字节时,1518字节的报文经过编码后变成190个66比特码块,因为报文长度原因带来的最大偏差值Δmax为190。客户业务在网络上承载传递中,中间网络设备因为时钟偏差原因,会对报文之间的空闲块(IDLE块)、LF(local fault)块、RF(remote fault)块进行微量增删,在接收端检测到OAM信息块实际位置和期望位置之间最大偏差值Δmax可能比1200(最大报文为9600字节)或190(最大报文为1518字节)略微大一点,每经过两台设备后最大增加数量不超过1块,偏移量增加非常小,可以忽略掉,也可以根据网络上客户业务承载传输中经过设备数量考虑这个变化量。
在接收端,当基准码块是发送端真实的期望位置时,根据周期值计算出的下个OAM信息块的期望位置也是发送端真实的期望位置,下个码块只会出现在真实期望位置,或真实期望之后,即下个OAM信息块可能出现的范围是:(真实期望位置,期望位置+Δmax)范围内,如图15所示。当基准位置是接收端的OAM信息块的实际位置(无法知道真实的期望位置时),不是真实的期望位置,基准位置和真实的期望之间本身存在偏差,根据实际接收位置作为基准位置和周期值计算出下一个OAM信息块的期望位置,计算出的期望位置也不是真实的期望位置,这样推算出的下个OAM信息块会出现在推算出的期望位置之前,也可能在推算出的期望位置之后,即下个OAM信息块出现的范围是:(推算出的期望位置-Δmax,推算出的期望位置+Δmax)范围内,如图16所示。
步骤S1402,确定出下个OAM信息块的接收范围后,在接收范围接收到OAM信息块就是位置合法的OAM信息码,在接收范围之外接收到OAM信息块就是位置非法的OAM信息码。接收到位置非法的OAM信息码后,上报OAM信息码位置异常告警。在一个OAM信息块的接收范围只会出现一个OAM信息块,当接收到两个及两个以上的OAM信息块时,则上报OAM信息块数量异常,抛弃掉该范围内的所有OAM信息块,标注为OAM信息块错误,或标注为OAM信息块空缺,或从多个OAM信息块中选择一个OAM信息块进行后续处理。当一个接收范围内没有收到OAM信息块时,则标注OAM信息块空缺。
步骤S1403,将每个接收范围内接收到OAM信息块进行排序(接收范围内没有收到OAM信息块时标注为空缺)。如图17所示,第三个范围、第八个范围内的OAM信息块标注为空缺,其他范围内的OAM信息块都是正常接收OAM信息块。发送端按照B-A-B-L的发送OAM信息块,接收端按照B-A-B-L的顺序进行接收。将B-A-B-L的顺序关系中4个块看成一个帧结构,当接收端OAM信息块处于顺序关系未定帧状态时,接收端接收一定数量的OAM信息块(如4个OAM信息码)后,满足B-A-B-L的顺序关系时,接收端从顺序关系未定帧状态跳转为顺序定 帧状态,按照定帧状态接收后续的OAM信息块。在定帧状态下如果接收到OAM信息块不符合B-A-B-L顺序关系,则上报OAM顺序关系错误告警。当接收到OAM信息块的顺序关系出现多次错误时,则OAM接收端从顺序定帧状态跳转到顺序失帧状态。接收端OAM信息块接收顺序定帧过程可以用状态机来表示,如图18是两个状态(失帧状态和定帧状态)的实现示例。在失帧状态,当接收到OAM信息块符合预期顺序,且顺序正确的次数达到规定数量时,则从失帧状态跳转到定帧状态,否则就留在失帧状态。在失帧状态中,当顺序错误达到一定程度时,说明基准位置可能错误,则重新选择一个OAM信息块位置作为基准位置,重新确定预期接收范围,重新开始接收顺序的核对过程。在定帧状态,当接收到OAM信息块顺序违例且违例次数达到一定门限时,则从定帧状态跳转到失帧状态,否则继续留在定帧状态。
步骤S1404,在定帧状态下当接收到OAM信息块符合顺序关系,则可以使用该OAM信息块进行客户业务承载管道的服务质量监控活动。
从失帧状态跳转到定帧状态的达标数量,可以由配置决定,达标数量可以是连续多个OAM信息块都符合顺序关系后的达标数量,也可以是一定数量窗口内的达标数量,如10个OAM信息码中有8个OAM信息码符合顺序关系。同理,从定帧状态跳转到失帧状态的违例数量,可以由配置决定,违例数量可以是连续多个OAM信息块都不符合顺序关系的违例数量,也可以是一定数量窗口内的违例数量,如10个OAM信息码中有8个OAM信息码不满足顺序的违例数量。
在本实施例中,失帧状态和定帧状态的变化可以用2个状态机来表示,也可以由4个状态机来表示,如图19所示,在图19中增加了两个临时状态:顺序正确状态、顺序错误状态。在失帧状态时,当接收到正确顺序的OAM信息块后,进入顺序正确状态。在顺序正确状态下,接收到正确顺序的OAM信息块时就累计顺序正确OAM信息块数量,如果顺序正确的OAM信息块数量达标(达到预期数量)则跳转到定帧状态,否则暂时停留在顺序正确状态。在顺序正确状态下,当接收到错误顺序的OAM信息块时(或接收到一定数量的顺序错误块时)则跳转回失帧状态。在定帧状态,当接收到错误顺序的OAM信息块时,跳转到顺序错误临时状态。在顺序错误状态下,接收到顺序错误的OAM转台码时就累计顺序错误的OAM信息块数量,如果顺序错误的OAM信息块数量越界(达到一定数量)则跳转到失帧状态,否则暂时停留在顺序错误状态。在顺序错误状态下,当接收到正确顺序的OAM信息块时(或接收到一定数量的顺序正确的OAM信息块时)则重新回到定帧状态。失帧状态、定帧状态的变化除了用2个状态机、4个状态机来表示外,可以可用3个状态来表示,如图20和图21所示,3个状态的状态机是2个、4个状态的状态机中间过渡状态机。
本发明的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (20)

  1. 一种OAM信息块的接收方法,包括:
    确定OAM信息块接收的基准位置和传递周期值;
    根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块;
    根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控。
  2. 根据权利要求1所述的方法,其中,确定OAM信息块接收的基准位置包括以下之一:
    将当前实际接收的OAM信息块作为所述基准位置;
    根据当前实际接收的OAM信息块和码块位置偏移值推算出OAM信息块的期望发送位置,将所述期望发送位置作为所述基准位置。
  3. 根据权利要求1所述的方法,其中,确定OAM信息块的传递周期值包括以下之一:
    通过设备配置值确定OAM信息块的传递周期值;
    通过接收OAM信息块中携带的周期值确定OAM信息块的传递周期值;
    根据多个OAM信息块的接收位置计算出OAM信息块的平均间隔,根据所述平均间隔确定OAM信息块的传递周期。
  4. 根据权利要求1所述的方法,其中,根据所述预期接收位置确定有效接收范围包括:
    以所述预期接收位置为中心,将所述预期接收位置的前后预定范围,或将所述预期接收位置后的预定范围确定为接收OAM信息块的有效接收范围。
  5. 根据权利要求4所述的方法,其中,接收端的有效接收范围的大小影响因素至少包括以下之一:
    发送端预期发送位置和实际发送位置之间的最大偏差值;
    客户业务在网络承载中由于空闲块的增删所导致的偏移。
  6. 根据权利要求1所述的方法,其中,提取有效接收范围内客户业务码块流中的OAM信息块包括以下之一:
    在所述有效接收范围内收到的OAM信息块为位置合法OAM信息块,并从客户业务码块流中提取所述OAM信息块;
    在所述有效接收范围内没有接收到OAM信息块,则标示为OAM信息块空缺;
    在所述有效接收范围之外接收到的OAM信息块为位置非法OAM信息块,给出位置非法告警指示。
  7. 根据权利要求6所述的方法,其中,在所述有效接收范围内最多有一个位置合法的OAM信息块,当在所述有效接收范围内接收到多个OAM信息块时,判断为OAM信息块接收数量出错,并给出数量告警信息;
    在OAM信息块数量告警的时,提取其中一个OAM信息块,或丢弃所有OAM信息块并判定为OAM信息块空缺。
  8. 根据权利要求1所述的方法,其中,根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控,包括:
    提取每个有效接收范围的OAM信息块,进行OAM信息块承载顺序同步和顺序关系检测;
    当接收端OAM信息块的顺序状态处于失步状态时,则进行接收端OAM顺序的同步判定过程;
    当接收端OAM信息块的顺序状态处于同步状态时,则根据OAM信息码块内容进行承载管道的服务质量监控。
  9. 根据权利要求8所述的方法,其中,接收端OAM信息块的顺序状态同步过程由状态机实现,所述状态机为由两个状态、三个状态或四个状态组成的状态机。
  10. 根据权利要求8所述的方法,其中,当接收端OAM信息块的顺序状态处于失步状态时,则进行接收端OAM顺序的同步判定过程,包括以下之一:
    当接收端OAM信息块的顺序状态处于失步状态,选择一个接收到OAM信息块为参考OAM信息块,如果下一个接收到OAM信息块和前一个参考OAM信息块之间不符合预期的顺序关系,则重新选择参考OAM信息块;
    当接收端OAM信息块的顺序状态处于失步状态,选择一个接收到OAM信息块为参考OAM信息块,如果参考OAM信息块和后续接收到多个OAM信息块之间符合预期的顺序关系,则进入同步状态。
  11. 根据权利要求8所述的方法,其中,当接收端OAM信息块的顺序状态处于同步状态时,则根据OAM信息码块内容进行承载管道的服务质量监控,包括:
    在接收端OAM信息块的顺序状态处于同步状态,接收到OAM信息块符合预期的顺序关系,则根据OAM信息码块内容进行承载管道的服务质量监控。
  12. 根据权利要求8所述的方法,还包括:
    在接收端OAM信息码顺序状态处于同步状态下,接收到OAM信息块不符合预期的顺序关系,则判定该OAM信息块顺序错误。
  13. 根据权利要求8所述的方法,还包括:
    在接收端OAM信息块顺序状态处于同步状态,如果后续接收多个OAM信息块不符合预期的顺序关系,则接收端OAM信息块顺序状态从同步状态进入失步状态。
  14. 一种OAM信息块的接收装置,位于接收端,包括:
    确定模块,设置为确定OAM信息块接收的基准位置和传递周期值;
    提取模块,设置为根据所述基准位置和传递周期值确定下一个OAM信息块的预期接收位置,并根据所述预期接收位置确定有效接收范围,提取有效接收范围内客户业务码块流中的OAM信息块;
    同步模块,设置为根据提取的OAM信息块种类和排序结果对OAM信息块的顺序关系进行同步,同步后提取OAM信息块内容以对承载管道的服务质量进行监控。
  15. 根据权利要求14所述的装置,其中,所述确定模块通过以下方式之一确定OAM信息 块接收的基准位置:
    将当前实际接收的OAM信息块作为所述基准位置;
    根据当前实际接收的OAM信息块和码块位置偏移值推算出OAM信息块的期望发送位置,将所述期望发送位置作为所述基准位置。
  16. 根据权利要求14所述的装置,其中,所述确定模块通过以下方式之一确定OAM信息块的传递周期值:
    通过设备配置值确定OAM信息块的传递周期值;
    通过接收OAM信息块中携带的周期值确定OAM信息块的传递周期值;
    根据多个OAM信息块的接收位置计算出OAM信息块的平均间隔,根据所述平均间隔确定OAM信息块的传递周期。
  17. 根据权利要求14所述的装置,其中,所述提取模块还包括:
    有效接收范围确定单元,设置为以所述预期接收位置为中心,将所述预期接收位置的前后预定范围,或将所述预期接收位置后的预定范围确定为接收OAM信息块的有效接收范围。
  18. 根据权利要求14所述的装置,其中,所述提取模块还包括:
    第一提取单元,设置为在所述有效接收范围内收到的OAM信息块为位置合法OAM信息块的情况下,从客户业务码块流中提取所述OAM信息块;
    标示单元,设置为在所述有效接收范围内没有接收到OAM信息块的情况下,标示OAM信息块空缺;
    告警单元,设置为在所述有效接收范围之外接收到的OAM信息块为位置非法OAM信息块的情况下,给出位置非法告警指示。
  19. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被处理器执行时实现所述权利要求1至13任一项中所述的方法的步骤。
  20. 一种电子装置,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现所述权利要求1至13任一项中所述的方法的步骤。
PCT/CN2022/071397 2021-02-22 2022-01-11 Oam信息块的接收方法及装置 WO2022174695A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2023548252A JP2024507489A (ja) 2021-02-22 2022-01-11 Oam情報ブロックの受信方法及び装置
US18/276,322 US20240129651A1 (en) 2021-02-22 2022-01-11 Method and device for receiving oam information block
EP22755468.0A EP4297345A1 (en) 2021-02-22 2022-01-11 Method and device for receiving oam information block
KR1020237030250A KR20230147111A (ko) 2021-02-22 2022-01-11 Oam 정보 블록의 수신 방법 및 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110197764.4 2021-02-22
CN202110197764.4A CN114979837A (zh) 2021-02-22 2021-02-22 Oam信息块的接收方法及装置

Publications (1)

Publication Number Publication Date
WO2022174695A1 true WO2022174695A1 (zh) 2022-08-25

Family

ID=82932122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/071397 WO2022174695A1 (zh) 2021-02-22 2022-01-11 Oam信息块的接收方法及装置

Country Status (6)

Country Link
US (1) US20240129651A1 (zh)
EP (1) EP4297345A1 (zh)
JP (1) JP2024507489A (zh)
KR (1) KR20230147111A (zh)
CN (1) CN114979837A (zh)
WO (1) WO2022174695A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257194A (zh) * 2017-07-12 2019-01-22 中兴通讯股份有限公司 处理承载通道的oam信息的方法、装置、设备及系统
CN109347648A (zh) * 2017-09-21 2019-02-15 中国移动通信有限公司研究院 Oam消息传输方法、传输设备及存储介质
US20190280913A1 (en) * 2016-11-28 2019-09-12 Huawei Technologies Co., Ltd. Operation, administration and maintenance oam data transmission method and apparatus
CN111147181A (zh) * 2018-11-02 2020-05-12 中兴通讯股份有限公司 业务发送方法、接收方法、装置及系统、存储介质
US20200259728A1 (en) * 2019-02-07 2020-08-13 Avago Technologies International Sales Pte. Limited Method and systems to monitor and isolate issues over layer1 paths using flexe client oam
US20200396097A1 (en) * 2017-12-22 2020-12-17 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for configuring a flex ethernet node

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190280913A1 (en) * 2016-11-28 2019-09-12 Huawei Technologies Co., Ltd. Operation, administration and maintenance oam data transmission method and apparatus
CN109257194A (zh) * 2017-07-12 2019-01-22 中兴通讯股份有限公司 处理承载通道的oam信息的方法、装置、设备及系统
CN109347648A (zh) * 2017-09-21 2019-02-15 中国移动通信有限公司研究院 Oam消息传输方法、传输设备及存储介质
US20200396097A1 (en) * 2017-12-22 2020-12-17 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for configuring a flex ethernet node
CN111147181A (zh) * 2018-11-02 2020-05-12 中兴通讯股份有限公司 业务发送方法、接收方法、装置及系统、存储介质
US20200259728A1 (en) * 2019-02-07 2020-08-13 Avago Technologies International Sales Pte. Limited Method and systems to monitor and isolate issues over layer1 paths using flexe client oam

Also Published As

Publication number Publication date
CN114979837A (zh) 2022-08-30
KR20230147111A (ko) 2023-10-20
US20240129651A1 (en) 2024-04-18
EP4297345A1 (en) 2023-12-27
JP2024507489A (ja) 2024-02-20

Similar Documents

Publication Publication Date Title
CN112134655B (zh) Oam消息传输方法、传输设备及存储介质
CN102792658B (zh) 在通信网络中进行时间测量
CN100499416C (zh) 多协议灵活成帧器
CN107547300B (zh) 一种网络质量检测方法及装置
US11539607B2 (en) Detection block sending and receiving method, and network device and system
CN111092686A (zh) 一种数据传输方法、装置、终端设备和存储介质
US4498082A (en) Method and apparatus for locating a discontinuity in a data transmission ring
CN113784437B (zh) 一种FlexE承载小颗粒业务的实现方法和装置
EP4254826A2 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN106301987B (zh) 一种报文丢失检测方法、装置及系统
WO2020133897A1 (zh) 运营维护管理信息处理方法和装置
EP2493126A1 (en) Method and system for clock recovery in packet switched network
CN113765619A (zh) 64b/66b码流发送方法、64b/66b码流接收方法及设备
CN103188120A (zh) 一种组播业务的丢包检测方法及装置
WO2022174695A1 (zh) Oam信息块的接收方法及装置
CN108988977B (zh) 一种灵活以太网协议中传递业务流的方法、装置和系统
WO2019015462A1 (zh) 一种检测块发送和接收的方法、网络设备和系统
CN102487330A (zh) 运行、管理和维护报文的发送方法及装置
US4472711A (en) Method and apparatus for synchronizing a station connected in a data line
CN111181678B (zh) 一种应用于时间触发fc网络的时间同步方法
CN113660033A (zh) 一种高速接口瞬断快速恢复的方法及系统
CN112511331A (zh) Oam信息块定位方法及装置
CN112511328A (zh) 发送和处理信息的方法、以太网设备、计算机可读介质
CN105471825B (zh) 丢失数据报文的识别方法及装置
CN117640393A (zh) 业务信息的处理方法、网络设备及存储介质

Legal Events

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

Ref document number: 22755468

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18276322

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2023548252

Country of ref document: JP

ENP Entry into the national phase

Ref document number: 20237030250

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020237030250

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2022755468

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022755468

Country of ref document: EP

Effective date: 20230922