CN109257194A - Handle method, apparatus, equipment and the system of the OAM Information of bearer path - Google Patents
Handle method, apparatus, equipment and the system of the OAM Information of bearer path Download PDFInfo
- Publication number
- CN109257194A CN109257194A CN201710564665.9A CN201710564665A CN109257194A CN 109257194 A CN109257194 A CN 109257194A CN 201710564665 A CN201710564665 A CN 201710564665A CN 109257194 A CN109257194 A CN 109257194A
- Authority
- CN
- China
- Prior art keywords
- information
- oam information
- service flow
- oam
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 137
- 239000000284 extract Substances 0.000 claims abstract description 21
- 238000012545 processing Methods 0.000 claims description 122
- 230000002159 abnormal effect Effects 0.000 claims description 111
- 238000001514 detection method Methods 0.000 claims description 97
- 238000003780 insertion Methods 0.000 claims description 33
- 230000037431 insertion Effects 0.000 claims description 33
- 230000005540 biological transmission Effects 0.000 claims description 22
- 238000000605 extraction Methods 0.000 claims description 19
- 238000012423 maintenance Methods 0.000 claims description 17
- 238000010586 diagram Methods 0.000 description 44
- 230000003287 optical effect Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 238000012544 monitoring process Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/407—Bus networks with decentralised control
- H04L12/413—Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
- H04Q2011/0083—Testing; Monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0084—Quality of service aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of methods of OAM Information for handling bearer path, comprising: receives the carrying client Business Stream that transmitting terminal is sent according to FlexE agreement;Wherein, carrying client Business Stream is obtained after being inserted into the OAM Information of client traffic in original client Business Stream by transmitting terminal;Extract the OAM Information in carrying client Business Stream;OAM Information is handled, the testing result of bearer path is obtained.The embodiment of the present invention also discloses device, equipment and the system of a kind of OAM Information for handling bearer path simultaneously.
Description
Technical Field
The present invention relates to the field of optical communications technologies, and in particular, to a method, an apparatus, a device, and a system for processing OAM information of a bearer channel.
Background
The rapid increase of user network information flow promotes the rapid development of communication network information transmission bandwidth, the interface bandwidth speed of communication equipment is improved from 10M (unit: bit/second, the content is the same later) to 100M, and is also improved to 1G and 10G, the bandwidth speed of 100G is achieved at present, and a large number of commercial 100G optical modules are started on the market; currently, 400G optical modules have been developed, but the price of the 400G optical module is expensive, and exceeds the price of 4 100G optical modules, so that the 400G optical module lacks commercial economic value, in order to transmit 400G services on the 100G optical module, the international standard organization defines a flexible ethernet (FlexE) protocol, and the FlexE protocol binds a plurality of 100G optical modules to form a large-speed transmission channel; for example, fig. 1 is a schematic diagram of 4 100G optical modules forming a 400G transmission channel through a FlexE protocol, and as shown in fig. 1, 4 100G optical modules are bound together through the FlexE protocol to form a 400G transmission channel, which is equivalent to the transmission speed of 1 400G optical module, and the transmission requirement of 400G services is solved without increasing cost.
At present, a FlexE protocol definition can carry client rate services of 10 Gigabit Ethernet (GE), 25GE, 40GE and n × 50GE (n is a positive integer), a flexible transmission channel is provided for the client services, and the size of a transmission channel can be flexibly adjusted according to the client bandwidth requirement, however, the FlexE protocol only provides a carrying channel for the client, and an Operation Administration and Maintenance (OAM) function of the carrying channel of the client services is not provided, so that the service quality of the carrying channel cannot be monitored in real time.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method, an apparatus, a device, and a system for processing OAM information of a bearer channel, so as to implement an OAM function of a bearer channel of a client service, add a monitoring means for the bearer channel, and monitor a service quality of the bearer channel in real time.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for processing Operation Administration Maintenance (OAM) information of a bearer channel, which comprises the following steps:
generating OAM information of customer service;
inserting OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
and sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
In the foregoing scheme, the inserting OAM information of the customer service into an original customer service flow to obtain a bearer customer service flow includes:
and determining a characteristic pattern format for bearing the OAM information in the original customer service flow, and filling the OAM information into the characteristic pattern format to obtain the customer service flow.
In the foregoing solution, the determining a characteristic pattern format for carrying the OAM information in the original customer service flow includes:
determining normal Ethernet messages and abnormal Ethernet messages in the original customer service flow;
and determining the arrangement sequence of all information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing the OAM information.
In the foregoing scheme, the filling the OAM information into the characteristic pattern format to obtain the bearer client service flow includes:
and filling the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain the customer service carrying flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
In the above scheme, the determining a normal ethernet packet and an abnormal ethernet packet in the original customer service flow includes:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the original customer service flow, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
In the foregoing scheme, in the feature pattern format, the S block and/or the T block carries the OAM information.
In the foregoing solution, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
The invention also provides a method for processing the OAM information of the operation management and maintenance of the bearing channel, which comprises the following steps:
receiving a bearing client service stream sent by a sending end according to a flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
extracting the OAM information in the load-bearing customer service flow;
and processing the extracted OAM information to obtain a detection result of the bearing channel.
In the foregoing scheme, the extracting OAM information in the bearer client service flow includes:
and extracting the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end.
In the foregoing solution, before the extracting, according to the characteristic pattern format of the bearer OAM information determined by the sending end, OAM information in the bearer client service flow, the method further includes:
and determining a normal Ethernet message and an abnormal Ethernet message in the service flow of the bearing client.
In the foregoing solution, the extracting, according to the characteristic pattern format of the OAM information carried by the sender, the OAM information in the customer service flow carried includes:
extracting the OAM information carried in the abnormal Ethernet message in the customer service flow according to the characteristic pattern format of the OAM information carried by the sending end;
the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
In the above scheme, the determining a normal ethernet packet and an abnormal ethernet packet in the customer service flow includes:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the service flow of the bearing client, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
In the foregoing scheme, in the feature pattern format, the S block and/or the T block carries the OAM information.
In the foregoing solution, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm.
In the foregoing solution, when the OAM information includes the first customer feature information, before the extracted OAM information is processed to obtain a detection result of a bearer channel, the method further includes:
judging whether a target customer service flow for calculating second customer characteristic information is the same as a target customer service flow for calculating first customer characteristic information by the sending end;
and if the target customer service flow used for calculating the second customer characteristic information is the same as the target customer service flow used for calculating the first customer characteristic information by the sending end, calculating the characteristic information of the target customer service flow by adopting the preset algorithm to obtain the second customer characteristic information.
In the foregoing scheme, the processing the extracted OAM information to obtain a detection result of the bearer channel includes:
and comparing whether the second customer characteristic information is consistent with the first customer characteristic information or not, if so, determining that no error code occurs in the bearing channel, and if not, determining that the error code occurs in the bearing channel to obtain a detection result of the quality condition of the bearing channel.
In the foregoing solution, when the OAM information includes the insertion timestamp value, before the extracted OAM information is processed to obtain a detection result of a bearer channel, the method further includes:
acquiring an extraction time value of the OAM information;
the processing the extracted OAM information to obtain a detection result of the bearer channel includes:
and obtaining a detection result of the transmission delay time of the bearer channel according to the extraction time value and the insertion timestamp value of the OAM information.
In the foregoing solution, before the processing the extracted OAM information to obtain a detection result of the bearer channel, the method further includes:
acquiring a receiving time interval of the OAM information;
the processing the extracted OAM information to obtain a detection result of the bearer channel includes:
and obtaining a detection result of whether the bearer channel is interrupted or not according to the receiving time interval of the OAM information.
The present invention further provides a sending apparatus for processing OAM information of operation, administration and maintenance of a bearer tunnel, the sending apparatus comprising:
the generation module is used for generating OAM information of the customer service;
the inserting module is used for inserting the OAM information of the customer service into the original customer service flow to obtain a load-bearing customer service flow;
and the sending module is used for sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
In the foregoing scheme, the inserting module is specifically configured to determine a characteristic pattern format for carrying the OAM information in the original customer service flow, and fill the OAM information into the characteristic pattern format to obtain the customer service flow.
In the above scheme, the insertion module is further specifically configured to determine a normal ethernet packet and an abnormal ethernet packet in the original customer service flow;
the inserting module is further specifically configured to determine an arrangement order of all information blocks in the abnormal ethernet message as a characteristic pattern format for carrying the OAM information.
In the foregoing solution, the inserting module is further specifically configured to fill the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets, so as to obtain the customer service flow that is supported and composed of the normal ethernet packet and the abnormal ethernet packet carrying the OAM information.
The present invention also provides a receiving device for processing OAM information of operation, administration and maintenance of a bearer channel, where the receiving device includes:
the receiving module is used for receiving the service flow of the bearing client sent by the sending end according to the flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
an extracting module, configured to extract the OAM information in the bearer client service flow;
and the processing module is used for processing the extracted OAM information to obtain a detection result of the bearing channel.
In the foregoing scheme, the extracting module is specifically configured to extract the OAM information in the bearer client service flow according to the characteristic pattern format of the bearer OAM information determined by the sending end.
In the above scheme, the extracting module is further configured to determine a normal ethernet packet and an abnormal ethernet packet in the bearer client service flow.
In the foregoing solution, the extracting module is specifically configured to extract, according to a characteristic pattern format of the OAM information carried by the sending end, the OAM information carried in the abnormal ethernet message in the customer service flow; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
The present invention also provides a sending device for processing OAM information of operation, administration and maintenance of a bearer tunnel, where the sending device includes: the interface, the bus, the memory, and the processor, the interface, the memory and the processor are connected through the bus, the memory is used for storing program instructions, the processor is configured to execute the program instructions to realize the following steps:
generating OAM information of customer service;
inserting OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
and sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
The present invention also provides a receiving device for processing OAM information of operation, administration and maintenance of a bearer channel, where the receiving device includes: the interface, the bus, the memory, and the processor, the interface, the memory and the processor are connected through the bus, the memory is used for storing program instructions, the processor is configured to execute the program instructions to realize the following steps:
receiving a bearing client service stream sent by a sending end according to a flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
extracting the OAM information in the load-bearing customer service flow;
and processing the extracted OAM information to obtain a detection result of the bearing channel.
The present invention also provides a computer readable storage medium storing one or more programs which are executable by one or more processors to implement the steps of the method of handling operation administration maintenance, OAM, information for a bearer channel as claimed in any one of claims 1 to 7.
The present invention also provides a computer readable storage medium storing one or more programs which are executable by one or more processors to implement the steps of the method of handling operation administration maintenance, OAM, information for a bearer channel according to any one of claims 8 to 18.
The invention also provides a method for processing the OAM information of the operation management and maintenance of the bearing channel, which comprises the following steps:
the sending end generates OAM information of the client service;
the sending end inserts OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
sending the bearing client service flow to a receiving end according to a flexible Ethernet Flexe protocol, and receiving the bearing client service flow sent by the sending end by the receiving end according to the Flexe protocol;
the receiving end extracts the OAM information in the service flow of the bearing client;
and the receiving end processes the extracted OAM information to obtain a detection result of the bearing channel.
In the above scheme, the inserting, by the sending end, the OAM information of the client service into an original client service stream to obtain a bearer client service stream includes:
and the sending end determines a characteristic pattern format for bearing the OAM information in the original client service flow, and fills the OAM information into the characteristic pattern format to obtain the bearing client service flow.
In the foregoing solution, the determining, by the sending end, a characteristic pattern format for carrying the OAM information in the original customer service flow includes:
the sending end determines a normal Ethernet message and an abnormal Ethernet message in the original customer service flow;
and the sending end determines the arrangement sequence of all the information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing the OAM information.
In the foregoing scheme, the filling, by the sending end, the OAM information into the characteristic pattern format to obtain the bearer client service flow includes:
and the sending end fills the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain the customer service flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
In the above scheme, the determining, by the sending end, a normal ethernet packet and an abnormal ethernet packet in the original client service flow includes:
the sending end judges whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the original customer service flow, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the sending end determines that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the sending end determines that the Ethernet message is a normal Ethernet message.
In the above scheme, the extracting, by the receiving end, the OAM information in the customer service flow includes:
and the receiving end extracts the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end.
In the foregoing solution, before the receiving end extracts the OAM information in the customer service flow according to the characteristic pattern format of the OAM information carried and determined by the sending end, the method further includes:
and the receiving end determines a normal Ethernet message and an abnormal Ethernet message in the service flow of the bearing client.
In the above scheme, the extracting, by the receiving end, the OAM information in the service flow of the bearer client according to the characteristic pattern format of the bearer OAM information determined by the sending end includes:
the receiving end extracts the OAM information carried in the abnormal Ethernet message in the customer service flow according to the characteristic pattern format of the OAM information carried by the sending end; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all the information blocks in the abnormal Ethernet message.
In the above scheme, the determining, by the receiving end, a normal ethernet packet and an abnormal ethernet packet in the service flow of the bearer client includes:
the receiving end judges whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the service flow of the bearing client, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the receiving end determines that the Ethernet message is an abnormal Ethernet message;
if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the receiving end determines that the Ethernet message is a normal Ethernet message.
In the foregoing scheme, in the feature pattern format, the S block and/or the T block carries the OAM information.
In the foregoing solution, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
In the foregoing solution, when the OAM information includes the first client characteristic information, before the receiving end processes the extracted OAM information to obtain a detection result of a bearer channel, the method further includes:
the receiving end judges whether a target customer service flow used for calculating second customer characteristic information is the same as a target customer service flow used for calculating the first customer characteristic information by the sending end;
if the target customer service flow used for calculating the second customer characteristic information is the same as the target customer service flow used for calculating the first customer characteristic information by the sending end, the receiving end calculates the characteristic information of the target customer service flow by adopting the preset algorithm to obtain the second customer characteristic information.
In the foregoing scheme, the processing, by the receiving end, the extracted OAM information to obtain a detection result of the bearer channel includes:
the receiving end compares whether the second customer characteristic information is consistent with the first customer characteristic information, if so, the receiving end determines that no error code occurs in the bearing channel, and if not, the receiving end determines that an error code occurs in the bearing channel to obtain a detection result of the quality condition of the bearing channel.
In the foregoing solution, when the OAM information includes the insertion timestamp value, before the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, the method further includes:
the receiving end acquires an extraction time value of the OAM information;
the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, and the detection result comprises the following steps:
and the receiving end obtains a detection result of the transmission delay time of the bearing channel according to the extraction time value and the insertion timestamp value of the OAM information.
In the foregoing solution, before the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, the method further includes:
the receiving end acquires the receiving time interval of the OAM information;
the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, and the detection result comprises the following steps:
and the receiving end obtains a detection result whether the bearing channel is interrupted or not according to the receiving time interval of the OAM information.
The invention also provides a system for processing the OAM information of the operation management and maintenance of the bearer channel, which comprises the sending device and the receiving device.
According to the method, the device, the equipment and the system for processing the OAM information of the bearer channel, the bearer client service flow sent by the sending end is received by the receiving end according to the Flexe protocol, wherein the bearer client service flow is obtained by inserting the OAM information of the client service into the original client service flow by the sending end; the receiving end extracts OAM information in the customer service flow; the receiving end processes the OAM information to obtain a detection result of the bearing channel; under the Flexe protocol, a sending end sends a client service flow carrying OAM information to a receiving end, the receiving end extracts the OAM information in the client service flow and analyzes the OAM information to obtain a detection result of a bearing channel, the OAM function of the bearing channel of the client service is realized, a monitoring means aiming at the bearing channel is added, and the service quality of the bearing channel can be monitored in real time.
Drawings
Fig. 1 is a schematic diagram of 4 100G optical modules forming a 400G transmission channel by using a FlexE protocol;
fig. 2 is a flowchart illustrating a first method for processing OAM information of a bearer channel according to the present invention;
fig. 3 is a flowchart of a second embodiment of a method for processing OAM information of a bearer channel according to the present invention;
fig. 4 is a flowchart of a third embodiment of a method for processing OAM information of a bearer channel according to the present invention;
fig. 5 is a schematic structural diagram of a 66-bit data block and a 66-bit overhead block in an embodiment of the method for processing OAM information of a bearer channel according to the present invention;
fig. 6 is a schematic diagram of a time slot planning table of a FlexE protocol according to an embodiment of the method for processing OAM information of a bearer channel of the present invention;
fig. 7 is a schematic structural diagram of a FlexE overhead frame in an embodiment of the method for processing OAM information of a bearer channel according to the present invention;
fig. 8 is a schematic structural diagram of an OAM information block of an embodiment of a method for processing OAM information of a bearer channel according to the present invention;
fig. 9a is a first schematic diagram illustrating a characteristic pattern format of a bearer OAM information according to an embodiment of the method for processing an OAM information of a bearer channel of the present invention;
fig. 9b is a schematic diagram of a characteristic pattern format of a bearer OAM information according to an embodiment of the method for processing an OAM information of a bearer channel of the present invention;
fig. 9c is a third schematic diagram illustrating a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel;
fig. 9d is a fourth schematic diagram illustrating a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel;
fig. 9e is a fifth schematic diagram illustrating a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel of the present invention;
fig. 9f is a sixth schematic diagram illustrating a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel;
fig. 9g is a seventh schematic diagram illustrating a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel;
fig. 9h is an eighth schematic diagram illustrating a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel;
fig. 10 is a schematic structural diagram of a receiving device for processing OAM information of a bearer channel according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a sending apparatus for processing OAM information of a bearer channel according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an embodiment of a system for processing OAM information of a bearer channel according to the present invention;
fig. 13 is a schematic structural diagram of a receiving device for processing OAM information of a bearer channel according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a sending device for processing OAM information of a bearer channel according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Fig. 2 is a flowchart of a first method embodiment of the present invention for processing OAM information of a bearer channel, and as shown in fig. 2, the method for processing OAM information of a bearer channel provided in the embodiment of the present invention is applied to a receiving end, which can be understood as a client service bearer access point, and the method may include the following steps:
step 201, receiving a bearer client service stream sent by a sending end according to a flexible ethernet FlexE protocol.
The receiving end receives the service flow of the bearing client sent by the sending end through the bearing channel according to the FlexE protocol; the load-bearing client service flow is obtained by periodically or non-periodically inserting OAM information of the client service into an original client service flow by a sending end, wherein the OAM information is generated by the sending end and comprises: any one or any combination of first client characteristic information, insertion timestamp value, fault state information, automatic protection information, sender flag information, and the like; the first client characteristic information in the OAM information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm; the target customer service flow can be acquired according to actual requirements, and is not limited herein; in addition, the preset algorithm may also be set according to actual requirements, such as a Cyclic Redundancy Check (CRC) algorithm, an exclusive-or budget algorithm, and the like, which are not limited herein.
Step 202, extracting the OAM information in the bearer client service flow.
The receiving end extracts OAM information in the customer service flow according to a preset processing rule; specifically, before extraction, a preset processing rule for the OAM information is defined in advance by the sending end and the receiving end, that is, the sending end inserts the OAM information into the original customer service flow by using the preset processing rule to obtain a load-bearing customer service flow; the sending end informs the receiving end of the preset processing rule, and the receiving end extracts the OAM information in the customer service flow according to the preset processing rule and keeps the consistency of the sent and received OAM information; it should be noted that the preset processing rule may be set according to actual requirements, and is not limited herein.
And 203, processing the extracted OAM information to obtain a detection result of the bearer channel.
The receiving end processes the extracted OAM information to obtain a detection result of the bearing channel; for example, the detection result may include, but is not limited to, at least any one of the following: a detection result of a quality status, a detection result of a transfer delay time, a detection result of whether an interruption occurs, a detection result of a fault state, a detection result of automatic protection information, a detection result of an access point flag, and the like; specifically, which detection results are to be obtained can be determined according to the feature information obtained by extracting the OAM information.
In the method for processing OAM information of a bearer channel provided in the embodiments of the present invention, a receiving end receives a bearer client service stream sent by a sending end according to a FlexE protocol, where the bearer client service stream is obtained by the sending end inserting OAM information of a client service into an original client service stream; extracting OAM information in the customer service flow; processing the OAM information to obtain a detection result of the bearing channel; under the Flexe protocol, the OAM information in the customer service flow is extracted, and the OAM information is analyzed to obtain the detection result of the bearing channel, so that the OAM function of the bearing channel of the customer service is realized, the monitoring means aiming at the bearing channel is added, and the service quality of the bearing channel can be monitored in real time.
Fig. 3 is a flowchart of a second embodiment of the method for processing OAM information of a bearer channel in the present invention, and as shown in fig. 3, the method for processing OAM information of a bearer channel provided in the embodiment of the present invention is applied to a sending end, which can be understood as a customer service bearer recovery point, and the method may include the following steps:
and 301, generating OAM information of the client service.
The sending end generates OAM information of the client service, wherein the OAM information comprises: any one or any combination of first client characteristic information, insertion timestamp value, fault state information, automatic protection information, sender flag information, and the like; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm; the target customer service flow can be acquired according to actual requirements, and is not limited herein; in addition, the preset algorithm may also be set according to actual requirements, such as a CRC algorithm, an exclusive or budget algorithm, and the like, which is not limited herein.
Step 302, inserting the OAM information of the customer service into the original customer service flow to obtain a load-bearing customer service flow.
The method comprises the steps that a sending end inserts OAM information of customer service into an original customer service flow according to a preset processing rule to obtain a load-bearing customer service flow; here, the OAM information of the customer traffic may be periodically inserted into the original customer traffic flow, or the OAM information of the customer traffic may be non-periodically inserted into the original customer traffic flow.
Meanwhile, the sending end informs the receiving end of the preset processing rule, or before the step, the sending end informs the receiving end of the preset processing rule; namely, the sending end and the receiving end need to keep consistent preset processing rules; it should be noted that the preset processing rule may be set according to actual requirements, and is not limited herein.
And step 303, sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
And the sending end sends the obtained bearing client service flow to the receiving end through the bearing channel according to the FlexE protocol, so that the receiving end can perform subsequent processing on the bearing client service flow.
In the method for processing OAM information of a bearer channel provided by the embodiment of the present invention, under a FlexE protocol, a sending end generates OAM information of a client service; inserting OAM information of customer service into the original customer service flow to obtain a load-bearing customer service flow; sending the service flow of the bearing client to a receiving end according to a FlexE protocol; the sending end generates OAM information of the customer service and sends the OAM information to the receiving end, and the receiving end analyzes the OAM information to obtain a detection result of the bearing channel, so that the OAM function of the bearing channel of the customer service is realized, a monitoring means aiming at the bearing channel is added, and the service quality of the bearing channel can be monitored in real time.
To further illustrate the object of the present invention, the above embodiments are further illustrated.
Fig. 4 is a flowchart of a third method for processing OAM information of a bearer channel according to the present invention, and as shown in fig. 4, the method for processing OAM information of a bearer channel provided in the present invention is applied to a sending end and a receiving end, and is an interactive process; the method may comprise the steps of:
step 401, the sending end generates OAM information of the client service.
The sending end generates OAM information of the client service, wherein the OAM information comprises: first customer characteristic information, an insertion timestamp value, fault state information, automatic protection information, sender flag information, and the like; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to the CRC algorithm.
Step 402, the sending end inserts the OAM information of the customer service into the original customer service flow to obtain the load-bearing customer service flow.
Specifically, the sending end determines a characteristic pattern format for carrying OAM information in the original customer service flow, and periodically fills the OAM information generated in step 401 into the characteristic pattern format to obtain a customer service flow; here, when the sending end determines the characteristic pattern format of the OAM information, the sending end needs to notify the receiving end of the characteristic pattern format of the OAM information, that is, the sending end and the receiving end define the characteristic pattern format of the OAM information in advance, so that both the sending end and the receiving end need to know; the characteristic pattern format for carrying the OAM information may be a pattern format of various characteristics, and may be distinguished from the data packet stream of the customer service stream as long as the characteristic pattern format is distinguished from the data packet stream of the customer service stream, for example, an O code block or other customized characteristics are adopted, which are all within the protection scope of the present invention.
Further, the method for determining the characteristic pattern format of the carrier OAM information in the original client service flow by the sending end includes: the sending end determines normal Ethernet message and abnormal Ethernet message in the original customer service flow.
And the sending end determines the arrangement sequence of all the information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing OAM information.
The sending end fills OAM information into a characteristic pattern format to obtain a service flow of a bearing client, and the method comprises the following steps: and the transmitting end fills the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain a load-bearing client service flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
The method for determining the normal Ethernet message and the abnormal Ethernet message in the original customer service flow by the sending end comprises the following steps: a sending end judges whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in an original client service flow, wherein N is an integer greater than or equal to 3; if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the sending end determines that the Ethernet message is an abnormal Ethernet message; if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the sending end determines that the Ethernet message is a normal Ethernet message.
And step 403, the sending end sends the service flow of the bearing client to the receiving end according to the Flexe protocol.
The sending end sends the bearing client service flow to the receiving end according to the Flexe protocol, and the receiving end receives the bearing client service flow sent by the sending end according to the Flexe protocol.
Specifically, a sending end encodes a 64-bit information block carrying a client service stream into a 66-bit information block according to a FlexE protocol to obtain an encoded client service stream; wherein, the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; the continuous 8 overhead blocks with 66 bits form an overhead frame, and OAM information is carried in the overhead frame; and then, the sending end sends the encoded bearing client service flow to the receiving end.
The receiving end firstly receives the encoded bearing client service flow sent by the sending end; then, the receiving end decodes the 66-bit information block of the encoded bearing client service flow into a 64-bit information block according to a Flexe protocol to obtain the bearing client service flow; wherein, the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; and the continuous 8 overhead blocks with 66 bits form an overhead frame, and the OAM information is carried in the overhead frame.
Step 404, the receiving end extracts the OAM information in the customer service flow.
The receiving end extracts OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end; wherein, the OAM information includes: first customer characteristic information, an insertion timestamp value, fault state information, automatic protection information, sender flag information, and the like; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to the preset algorithm.
Here, further, the receiving end has a determination step before extracting the OAM information, and determines a normal ethernet packet and an abnormal ethernet packet in the received service flow of the bearer client.
The receiving end extracts the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end, and the method comprises the following steps: the receiving end extracts OAM information carried in abnormal Ethernet messages in the service flow of the load client according to the characteristic pattern format of the load OAM information determined by the sending end; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all the information blocks in the abnormal Ethernet message.
The receiving end determines normal Ethernet messages and abnormal Ethernet messages in the customer service flow, and the method comprises the following steps: a receiving end judges whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in a customer service flow, wherein N is an integer greater than or equal to 3; if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the receiving end determines that the Ethernet message is an abnormal Ethernet message; if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the receiving end determines that the Ethernet message is a normal Ethernet message.
After step 404, the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, and specifically, the receiving end may perform steps 405a to 405f for detecting the quality status of the bearer channel and obtaining the detection result; the receiving end can execute steps 406a to 406b for the detection of the propagation delay time of the bearer channel and obtaining the detection result; the receiving end can execute steps 407a to 407b for detecting whether the bearer channel is interrupted and obtaining a detection result; the three detection tasks may be executed respectively and simultaneously after step 404, or may be executed respectively in sequence, and the specific execution mode may be set according to actual requirements, which is not limited herein.
Step 405a, the receiving end determines whether the target customer service flow for calculating the second customer characteristic information is the same as the target customer service flow for calculating the first customer characteristic information at the sending end.
The receiving end judges whether the target customer service flow for calculating the second customer characteristic information is the same as the target customer service flow for calculating the first customer characteristic information at the sending end, if the target customer service flow for calculating the second customer characteristic information is not the same as the target customer service flow for calculating the first customer characteristic information at the sending end, step 405b is executed; if the target client traffic flow for calculating the second client characteristic information is the same as the target client traffic flow for calculating the first client characteristic information at the transmitting end, step 405c is executed.
And step 405b, finishing the task of detecting the quality condition of the bearing channel.
And the receiving end finishes the detection task aiming at the quality condition of the bearing channel.
And 405c, the receiving end calculates the characteristic information of the target client service flow by adopting a CRC algorithm to obtain second client characteristic information.
And the receiving end calculates the characteristic information of the target client service flow by adopting the same CRC algorithm used by the sending end to obtain second client characteristic information.
Step 405d, the receiving end compares whether the second client characteristic information is consistent with the first client characteristic information.
The receiving end compares whether the second client characteristic information is consistent with the first client characteristic information, if so, the step 405e is executed; if the second customer characteristic information is not consistent with the first customer characteristic information, step 405f is performed.
And 405e, the receiving end determines that the error code does not occur in the bearer channel to obtain a detection result of the quality condition of the bearer channel.
For example, when the receiving end compares that the second client characteristic information is consistent with the first client characteristic information, it is determined that no error code occurs in the bearer channel, and the detection result of the quality status of the bearer channel can be obtained as excellent.
And 405f, the receiving end determines that the error code occurs in the bearer channel to obtain a detection result of the quality condition of the bearer channel.
For example, when the receiving end compares that the second client characteristic information is inconsistent with the first client characteristic information, it is determined that an error code occurs in the bearer channel, and it can be obtained that the detection result of the quality status of the bearer channel is bad.
Step 406a, the receiving end obtains the extraction time value of the OAM information.
And the receiving end acquires the extraction time value of the OAM information to obtain the time value when the OAM information is extracted.
And step 406b, the receiving end obtains a detection result of the transmission delay time of the bearer channel according to the extraction time value and the insertion timestamp value of the OAM information.
And the receiving terminal obtains the detection result of the transmission delay time of the bearing channel according to the difference value between the extraction time value of the extracted OAM information and the inserted timestamp value in the OAM information.
Step 407a, the receiving end acquires a receiving time interval of the OAM information.
The receiving time interval for the receiving end to acquire the OAM information is, for example, 30 seconds, where the OAM information is received once, that is, the receiving time interval for the receiving end to acquire the OAM information is 30 seconds.
Step 407b, the receiving end obtains the detection result whether the bearer channel is interrupted according to the receiving time interval of the OAM information.
The receiving end obtains the detection result whether the bearing channel is interrupted or not according to the receiving time interval of the OAM information; the receiving end compares the size of the receiving time interval with the size of a preset interval to obtain a detection result of whether the bearing channel is interrupted; for example, the receiving end determines that the receiving time interval is greater than the preset interval of 20 seconds by 30 seconds, so that it can be determined that the bearer channel is interrupted, and a detection result that the bearer channel is interrupted is obtained.
It should be noted that, in the embodiment of the present invention, the detection result of the bearer channel is specifically obtained only by using the first client characteristic information and the insertion timestamp value in the OAM information by the receiving end, and for other characteristic information contents in the OAM information, such as various types of characteristic information, such as failure state information, automatic protection information, and sending end flag information, the receiving end may obtain the detection result of the corresponding bearer channel through processing.
The method for processing OAM information of a bearer channel provided by the embodiment of the invention generates OAM information of a client service through a sending end; the sending end inserts OAM information of the customer service into the original customer service flow to obtain a load-bearing customer service flow; the sending end sends the bearing client service flow to the receiving end according to the Flexe protocol, and meanwhile, the receiving end receives the bearing client service flow sent by the sending end according to the Flexe protocol; the receiving end extracts OAM information in the customer service flow; the receiving end respectively carries out different processing on different characteristic information in the OAM information to obtain detection results of the bearing channels corresponding to the different characteristic information; according to the scheme of the invention, under a Flexe protocol, a sending end generates OAM information of client services containing different characteristic information and sends the OAM information to a receiving end through a client service stream, and the receiving end obtains detection results of respective bearing channels corresponding to the different characteristic information by extracting the OAM information in the client service stream and analyzing the OAM information, so that the OAM function of the bearing channels of the client services is realized, a monitoring means aiming at the bearing channels is added, and the service quality of the bearing channels can be monitored in real time.
To further illustrate the object of the present invention, the above embodiments are specifically illustrated by way of example.
At present, a FlexE protocol is defined according to a physical layer 100G rate, in a sending end, before a data packet of a client service stream of 100G is sent, 64/66-bit encoding is performed on the data packet according to an 64/66-bit encoding table in the FlexE protocol, a 64-bit data block is expanded into a 66-bit data block, an added 2 bit is located in front of the 66-bit block and serves as a start mark of the 66-bit data block, and then the data packet is sent out from a sending port of the sending end in a 66-bit data block manner; when the receiving end receives the data message, the receiving port distinguishes 66-bit blocks from the received client service stream, and then recovers the original 64-bit data blocks from the 66-bit data blocks according to the 64/66 coding table in the FlexE protocol, and reassembles the data message of the client service stream.
Fig. 5 is a schematic structural diagram of a 66-bit data block and a 66-bit overhead block in an embodiment of the method for processing OAM information of a bearer channel according to the present invention; the FlexE protocol is in a conversion layer from 64 bits to 66 bits, and before sending a 66-bit data block, the 66-bit data block is sorted and planned, as shown in fig. 5, for 100G service, every 20 66-bit data blocks are divided into a data block group, 20 data blocks in each group represent 20 time slots, and each time slot represents a service speed of 5G bandwidth; when a 66-bit data block is sent, after 1023 data block groups (1023 × 20 data blocks) are sent, a 66-bit FlexE overhead block is inserted, as shown by a black block in fig. 2, after the FlexE overhead block is inserted, the data block is continuously sent, after the second 1023 × 20 data blocks are sent, the FlexE overhead block is inserted, and so on, so that the FlexE overhead blocks are periodically inserted in the process of sending the data block, the interval between two adjacent FlexE overhead blocks is 1023 × 20 data blocks, and finally a 66-bit information block is formed, wherein the 66-bit information block comprises the 66-bit data block and the 66-bit FlexE overhead block.
Fig. 6 is a schematic diagram of a time slot planning table of a FlexE protocol according to an embodiment of the method for processing OAM information of a bearer channel of the present invention; when the physical layers (100G PHY) of the 4-way 100G are bundled into a logical service bandwidth of 400G, as shown in fig. 6, each physical layer still forms a data block group according to 20 data blocks, and a FlexE overhead block is inserted into each 1023 data block groups; in shim layer of FlexE, 4 paths of 20 data blocks are assembled into a data block group consisting of 80 data blocks, the group has 80 time slots, customer service is transmitted in the 80 time slots, the bandwidth of each time slot is 5G, and the total service transmission bandwidth is 400G.
The FlexE overhead block has a positioning function in the whole client service flow, and the receiving end finds the FlexE overhead block, so that the position of the first data block group and the position of the subsequent data block group in the client service flow can be known.
Fig. 7 is a schematic structural diagram of a FlexE overhead frame in an embodiment of the method for processing OAM information of a bearer channel according to the present invention; as shown in fig. 7, 8 consecutive FlexE overhead blocks constitute one FlexE overhead frame; one FlexE overhead block is composed of a block flag of 2 bits and a block content of 64 bits, the block flag is located in the first 2 columns, the following 64 columns are block contents, the block flag of the first FlexE overhead block is 10, and the block flags of the following 7 FlexE overhead blocks are 01 or SS (SS indicates that the contents are uncertain); the contents of the first FlexE overhead block are: 0x4B (8 bits, 4B in hexadecimal), C bit (1 bit, indicating adjustment control), OMF bit (1 bit, indicating overhead frame multiframe indication), RPF bit (1 bit, indicating far-end defect indication), RES bit (1 bit, reserved bit), Flexe group number (20 bits, indicating number of bundle group), 0x5(4 bits, 5 in hexadecimal), 000000(28 bits, all of which are 0); wherein 0x4B and 0x5 are the flags of the first FlexE overhead block, when a corresponding position in a FlexE overhead block is found to be 0x4B and 0x5 at the time of receiving, it means that the FlexE overhead block is the first FlexE overhead block in a FlexE overhead frame, and 7 FlexE overhead blocks received consecutively a FlexE overhead frame is composed into a FlexE overhead frame; in the FlexE overhead frame, the reserved portion is reserved content, which is not yet defined, as shown in the gray block portion of fig. 7; in the FlexE protocol, 8 FlexE overhead blocks are defined to form one FlexE overhead frame, wherein the first FlexE overhead block is identified by two fields of 4B (16 m, identified as 0x4B) and 05(16 m, identified as 0x 5); when the corresponding positions in the FlexE overhead block are detected to be 4B and 05 content, it indicates that the FlexE overhead block is the first FlexE overhead block, and the following 7 FlexE overhead blocks constitute a FlexE overhead frame.
For a 66-bit data block, the data block has two types of information blocks: a data information block (the first two bits are 01, indicating that the block is a data information block) and a control information block (the first two bits are 10, indicating that the block is a control information block), the two information blocks being distinguished by the first two bits in the respective blocks; the control information block can be divided into various control information blocks (such as free information blocks), the control information blocks are distinguished by the first byte in the control information block, after 64/66-bit encoding is carried out on the client service stream, rate adjustment is realized by adding or deleting the free information block, and then 66-bit data blocks are placed in corresponding positions in a time slot planning table (calendar) of a Flexe protocol according to the time slot configuration situation. The structure of the slot planning table is shown in fig. 6, each member in the FlexE protocol is divided into 20 slots (each slot is a 66-bit data block, and each slot represents 5G service bandwidth), and if there are 4 members, the slot planning table has 80 slots in total; by configuration, it is determined that each client service selects those timeslots for carrying, the timeslot planning table groups all timeslots, each group of 20 timeslots is sent to each member defined by the FlexE protocol, and each member adds a FlexE overhead block (the FlexE overhead block is also a 66-bit block, and one FlexE overhead block is inserted into every 20 × 1023 timeslot blocks, as shown in fig. 5); each member in the time slot planning table is a modified time slot planning table (sub-capacity) and is carried on a physical layer (PHY); after the FlexE overhead block is inserted, each PHY scrambles (scrambles) the carried customer service stream, and transmits the scrambled customer service stream through a transmit-receive Port (PMA) of the transmitting end.
At a receiving end, a PMA receives a signal, and a 66-bit information block is recovered through descrambling (descramble); in a 66-bit information block, each PHY searches a Flexe overhead block defined by a Flexe protocol, and extracts all time slots by taking the Flexe overhead block as a position reference point to obtain a sub-calendar; time slots of all members are arranged in sequence, and a calendar structure is restored; according to the configuration information, the client service stream is taken out from the corresponding time slot in the calendar, the free information block is deleted, and then 66/64 bit decoding is carried out to recover the original client service.
When the client service is subjected to blocking and 64/66 bit encoding according to an 64/66 bit encoding table in a Flexe protocol, because the length of a data packet is uncertain, when the client service is cut according to 64 bits, the length of a packet tail can be less than 64 bits, and therefore, the types of the packet tail blocks are various; the S block indicates that the block is the first block of a packet. In the S block, the first byte content is 0x78, which indicates that the block is an S block, and the next 7 bytes of content are packet information; the T block represents the last block of a packet, with 8 different cases: 1. the representation is the last block of the data packet, but the block does not have any data packet content, and the last byte content of the data packet is in the last data block; 2. the representation is the last block of the data packet, and the last byte content in the data packet is only carried in the block; 3. the representation is the last block of the data packet, and the block only carries the content of the last 2 bytes in the data packet; 4. the representation is the last block of the data packet, and the block only carries the content of the last 3 bytes in the data packet; 5. the representation is the last block of the data packet, and the block only carries the content of the last 4 bytes in the data packet; 6. the representation is the last block of the data packet, and the block only carries the content of the last 5 bytes in the data packet; 7. the representation is the last block of the data packet, and the block only carries the content of the last 6 bytes in the data packet; 8. the representation is the last block of the data packet, and the last 7 bytes of contents in the data packet are carried in the block; if all of the data in a data packet is data, it is data block D. When there is no data information, an Idle block is directly inserted, indicating a free block (I block).
By 64/66 bit encoding, a data packet is converted into a series of sequential 66 bit block streams, the first 66 bit block of the packet being an S block, the last 66 bit block being a T block, and between the S and T blocks being D blocks. Two data packets may be immediately adjacent, i.e. the T block (last block) of the previous packet is followed by the S block (first block) of the next packet; the two previous and next messages may not be adjacent, i.e. after T of the previous message and before S block of the next message, one or more I blocks are inserted between the two messages.
When a sending end carries out 64/66 bit encoding on client service, inserting OAM information (OAM information in the above embodiment) between client service flows of front and back two data packets (original client service flows in the above embodiment) to obtain a new client service flow (carrying client service flow in the above embodiment), then sending the new client service flow to a receiving end by the sending end, and carrying out subsequent processing by the receiving end according to the new client service flow, so that the OAM information and the client service message information are transmitted together, the transmission paths of the OAM information and the client service information are completely consistent, and the receiving end can monitor the service quality of a Flexe carrying channel in real time.
When the receiving end recovers the customer service, the receiving end determines and extracts which of the 66-bit information blocks are data information blocks and which are OAM information blocks according to a configuration rule determined in advance with the sending end, if the information blocks are the OAM information blocks, the receiving end extracts characteristic information in the OAM information blocks for analysis, and the quality condition of a bearing channel can be monitored; for example, 1, if the receiving end does not receive the OAM information within a certain time, it is determined that the bearer channel is interrupted; 2. the receiving end can calculate the transmission time of the bearing channel according to the time value of the OAM information when the OAM information is sent and the time value of the OAM information when the OAM information is received; 3. the receiving end calculates the characteristic information of the target client service flow between the two sections of OAM information (the characteristic information of the target client service flow is the result of performing operation on the target client service flow according to a set of algorithm, for example, performing CRC8 algorithm operation on the target client service flow by using CRC8 algorithm to obtain an operation result, or performing XOR operation on the target client service flow by bit by using XOR budget algorithm to obtain an operation result); and then comparing the information with the characteristic information carried in the OAM information, so that whether the error code occurs in the information in the bearing channel can be diagnosed, and the service quality condition of the channel can be given.
Fig. 8 is a schematic structural diagram of an OAM information block according to an embodiment of the method for processing OAM information of a bearer channel of the present invention, as shown in fig. 8, which is data information blocks and which is OAM information blocks need to be distinguished by some special marks;
the OAM information block is an information block of a group of characteristic pattern formats, the minimum length of a normal Ethernet data message is 64 bytes, and one information block can only carry 8 bytes (64 bits) at most, so that after 64/66 bits are coded on one Ethernet message, a plurality of information blocks are arranged according to a certain sequence, the information block format is formed by an S block (a first data packet block) + N continuous D blocks (data packet data blocks) + a T block (data packet tail blocks), and the information blocks of three types are formed according to the sequence, wherein the N continuous D blocks are at least 3, namely N is an integer greater than or equal to 3; if the information block flow does not conform to the arrangement sequence, the information block flow is not a normal Ethernet message, so that the sequence which does not conform to the information code of the Ethernet message is defined as a characteristic pattern format of the OAM information; for example, in fig. 9a, which will be described later, the S block + T block format is defined as a characteristic pattern format of OAM information, and an OAM information stream segment is formed; when the characteristic pattern format of the S block + T block is detected in the information block stream, the S block and the T block are judged to be OAM information blocks instead of the S block and the T block of the data message.
The OAM information block carries monitoring information, and an S block (the content of a first byte is 78, which represents the S block) carries a Client number (Client _ no), a multiframe sequence number, monitoring information (PM1 to PM3) and CRC information; the client number can be designed to monitor a specific client service flow, the multiframe number is used for expanding PM1 to PM3 bytes, a plurality of monitoring bytes are formed by PM1 to PM3 bytes in a plurality of continuous frames, functions of error code monitoring and the like are provided, and the CRC information provides correctness detection of an OAM information block; in the T block (the content of the first byte is 87, which means that it is the T block), there are Automatic Protection Switching (APS) information and Delay time stamp (DT); as described above for the example of the OAM information carried by the S block and the T block, how to carry the OAM information may be set in a user-defined manner, for example, the OAM information may be all placed in the S block, the OAM information may be all placed in the T block, and part of the OAM information may be placed in the S block and part in the T block; the specific setting can be carried out according to actual requirements, and is not limited herein.
When a sending end inserts an OAM information block into a customer service flow, the OAM information block needs to be inserted between two data messages after the former section of data message and before the latter section of data message, namely between a T block and an S block in the customer service flow; sometimes, the client service flow is not at full rate, the two messages are not continuous, and an idle information block (I block) is inserted between the two messages, so that the OAM information block is inserted between the I blocks.
After inserting an OAM information block into a client service stream by a sending end and sending the OAM information and the client service stream to a receiving end, the receiving end needs to be capable of correctly identifying which of the client service stream are data information blocks and which are OAM information blocks; because the length of the data message has a certain limit, for example, the minimum length of the Ethernet message is 64 bytes, after 64/66-bit encoding, 10 66-bit blocks (1S block carrying 7 bytes of data; 7 data blocks (D block) carrying 56 bytes of data; 1T block carrying 1 byte of data) are provided; for normal Ethernet messages, when a plurality of data blocks (D blocks) exist between the S block and the T block; when there is no D block between the S block and the T block, or there is few D blocks, or there is an I block between the S block and the T block, the client traffic flow is an abnormal data flow, and can be defined as carrying the contents of the OAM information block.
Therefore, when the sending end inserts the OAM information or before the OAM information is inserted, the sending end and the receiving end need to be in advance commented and well adopt a characteristic pattern format for bearing the OAM information; there are various characteristic pattern formats for carrying OAM information, which are specifically shown below.
Fig. 9a is a schematic diagram of a characteristic pattern format of a bearer OAM information according to an embodiment of the method for processing a bearer OAM information of a bearer channel of the present invention, as shown in fig. 9a, consecutive adjacent S blocks and T blocks form an S-T information stream segment, which is defined as an OAM information stream segment for carrying OAM information, and the OAM information stream segment is between two previous data stream segments and a next data stream segment.
Fig. 9b is a schematic diagram of a characteristic pattern format of the OAM information carried in the method for processing OAM information carried channel according to the embodiment of the present invention, as shown in fig. 9b, consecutive adjacent S blocks and T blocks form an S-T information stream segment, which is used for carrying OAM information and defined as an OAM information stream segment; in the client service flow, the front data flow section and the rear data flow section are not adjacent, and the OAM information flow section is between the I block and the rear data flow section.
Fig. 9c is a schematic diagram of a third exemplary embodiment of a characteristic pattern format of the OAM information carried in the processing channel of the present invention, as shown in fig. 9c, consecutive adjacent S blocks and T blocks form an S-T information stream segment, which is used for carrying OAM information and defined as an OAM information stream segment; in the client service flow, the front data flow section and the rear data flow section are not adjacent, and the OAM information flow section is behind the front data flow section and before the I block.
Fig. 9d is a schematic diagram of a characteristic pattern format of the OAM information carried in the method for processing OAM information carried channel of the present invention, as shown in fig. 9d, consecutive adjacent S blocks and T blocks form an S-T information stream segment, which is used for carrying OAM information and defined as an OAM information stream segment; in the client service flow, the front data flow section and the rear data flow section are not adjacent, and the OAM information flow section is between two I blocks.
Fig. 9e is a schematic diagram of a characteristic pattern format of the OAM information carried in the method for processing OAM information carried channel of the present invention, as shown in fig. 9e, 2 consecutive S blocks form an S-S information stream segment, which is used for carrying OAM information and defined as an OAM information stream segment; the OAM information flow section is provided with a T block of a previous data flow section in front and an S block of a next data flow section in back, and the OAM information flow section is arranged between the previous data flow section and the next data flow section.
Fig. 9f is a schematic diagram six illustrating a characteristic pattern format of the OAM information bearer according to the embodiment of the method for processing OAM information bearer in a bearer channel of the present invention, as shown in fig. 9f, 2 consecutive adjacent T blocks form a T-T information stream segment, which is used for bearing OAM information and is defined as an OAM information stream segment; the OAM information flow section is provided with a T block of a previous data flow section in front and an S block of a next data flow section in back, and the OAM information flow section is arranged between the previous data flow section and the next data flow section.
Fig. 9g is a schematic diagram seven of a characteristic pattern format of the OAM information bearer according to the embodiment of the method for processing OAM information bearer in a bearer channel, where as shown in fig. 9g, 1S block, 1I block, and 1T block that are consecutive and adjacent form an S-I-T information flow segment, are used for bearing OAM information, and are defined as an OAM information flow segment; the OAM information flow section is provided with a T block of a previous data flow section in front and an S block of a next data flow section in back, and the OAM information flow section is arranged between the previous data flow section and the next data flow section.
Fig. 9h is a schematic diagram eight of a characteristic pattern format of the bearer OAM information according to the embodiment of the method for processing the OAM information of the bearer channel of the present invention, as shown in fig. 9h, 1S block, 1I block, and 1T block that are consecutive and adjacent form an S-I-T information flow segment, which is used for bearing the OAM information and defined as an OAM information flow segment; in the client service flow, the front data flow section and the rear data flow section are not adjacent, and the OAM information flow section is between two I blocks.
The above are only examples, and the characteristic pattern format for carrying the OAM information may be various characteristics, as long as the characteristic pattern format can be distinguished from the data stream; for example, using O-code blocks, custom, and other features are within the scope of the present invention.
Fig. 10 is a schematic structural diagram of an embodiment of a receiving device for processing OAM information of a bearer channel according to the present invention, and as shown in fig. 10, the receiving device 010 for processing OAM information of a bearer channel according to the present invention includes:
a receiving module 101, configured to receive a bearer client service stream sent by a sending end according to a flexible ethernet FlexE protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
an extracting module 102, configured to extract the OAM information in the bearer client service flow;
and the processing module 103 is configured to process the extracted OAM information to obtain a detection result of the bearer channel.
Further, the receiving module 101 is specifically configured to receive the encoded bearer client service stream sent by the sending end;
the receiving module 101 is further specifically configured to decode the encoded 66-bit information block of the bearer client service stream into a 64-bit information block according to the FlexE protocol, so as to obtain the bearer client service stream; wherein the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; and combining 8 continuous overhead blocks with 66 bits into one overhead frame, wherein the overhead frame carries the OAM information.
Further, the extracting module 102 is specifically configured to extract the OAM information in the bearer client service flow according to the characteristic pattern format of the bearer OAM information determined by the sending end.
Further, the extracting module 102 is further configured to determine a normal ethernet packet and an abnormal ethernet packet in the bearer client service flow.
Further, the extracting module 102 is specifically configured to extract, according to a characteristic pattern format of the OAM information carried by the sending end, the OAM information carried in the abnormal ethernet message in the customer service flow; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
Further, the extracting module 102 is specifically configured to determine, in the service flow of the bearer client, whether all information blocks in each ethernet packet are formed by sequentially arranging 1 data packet head S block, N consecutive data packet D blocks, and 1 data packet tail T block, where N is an integer greater than or equal to 3; if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message; and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
Further, in the characteristic pattern format, the S block and/or the T block carry the OAM information.
Further, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm.
Further, when the OAM information includes the first customer characteristic information, the receiving apparatus further includes:
a judging module 104, configured to judge whether a target client service flow used for calculating second client characteristic information is the same as a target client service flow used by the sending end for calculating the first client characteristic information;
a calculating module 105, configured to calculate, if a target client service flow used for calculating the second client characteristic information is the same as a target client service flow used by the sending end for calculating the first client characteristic information, the characteristic information of the target client service flow by using the preset algorithm, so as to obtain the second client characteristic information.
Further, the processing module 103 is specifically configured to compare whether the second customer characteristic information is consistent with the first customer characteristic information, determine that no error code occurs in the bearer channel if the second customer characteristic information is consistent with the first customer characteristic information, and determine that an error code occurs in the bearer channel if the second customer characteristic information is inconsistent with the first customer characteristic information, to obtain a detection result of the quality status of the bearer channel.
Further, when the OAM information includes the insertion timestamp value, the extracting module 102 is further configured to obtain an extraction time value of the OAM information;
the processing module 103 is specifically configured to obtain a detection result of the propagation delay time of the bearer channel according to the extraction time value and the insertion timestamp value of the OAM information.
Further, the extracting module 102 is further configured to obtain a receiving time interval of the OAM information;
the processing module 103 is specifically configured to obtain a detection result of whether the bearer channel is interrupted according to the receiving time interval of the OAM information.
The receiving apparatus provided in the embodiment of the present invention may be configured to implement the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In practical applications, the receiving module 101, the extracting module 102, the processing module 103, the judging module 104, and the calculating module 105 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in the receiving device 010 for processing OAM information of the bearer channel.
Fig. 11 is a schematic structural diagram of an embodiment of a sending apparatus for processing OAM information in a bearer channel according to the present invention, and as shown in fig. 11, the sending apparatus 011 for processing OAM information in a bearer channel provided in the embodiment of the present invention includes:
a generating module 111, configured to generate OAM information of the customer service;
an inserting module 112, configured to insert OAM information of the client service into an original client service flow to obtain a bearer client service flow;
a sending module 113, configured to send the bearer client service stream to a receiving end according to a flexible ethernet FlexE protocol.
Further, the inserting module 112 is specifically configured to determine a characteristic pattern format for carrying the OAM information in the original customer service flow, and fill the OAM information into the characteristic pattern format to obtain the customer service flow.
Further, the sending module 113 is specifically configured to encode the 64-bit information block of the bearer client service stream into a 66-bit information block according to the FlexE protocol, so as to obtain the encoded bearer client service stream; wherein the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; the continuous 8 overhead blocks with 66 bits form an overhead frame, and the overhead frame carries the OAM information;
the sending module 113 is further specifically configured to send the encoded bearer client service stream to the receiving end.
Further, the inserting module 112 is further specifically configured to determine a normal ethernet packet and an abnormal ethernet packet in the original customer service flow;
the inserting module 112 is further specifically configured to determine an arrangement order of all information blocks in the abnormal ethernet message as a characteristic pattern format for carrying the OAM information.
Further, the inserting module 112 is further specifically configured to fill the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets, so as to obtain the customer service flow that is supported by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information.
Further, the inserting module 112 is further specifically configured to determine, in the original customer service stream, whether all information blocks in each ethernet packet are formed by sequentially arranging 1 data packet head S block, N consecutive data packet data D blocks, and 1 data packet tail T block, where N is an integer greater than or equal to 3; if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message; and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
Further, in the characteristic pattern format, the S block and/or the T block carry the OAM information.
Further, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
The sending apparatus provided in the embodiment of the present invention may be configured to implement the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In practical applications, the generating module 111, the inserting module 112, and the sending module 113 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in the sending apparatus 011 for Processing OAM information of the bearer channel.
Fig. 12 is a schematic structural diagram of a system for processing OAM information of a bearer path according to an embodiment of the present invention, and as shown in fig. 12, a system 012 for processing OAM information of a bearer path according to an embodiment of the present invention includes: a transmitter 121 and a receiver 122; wherein,
the transmitting means 121 is the transmitting means as described in any of the above embodiments;
the receiving device 122 is a receiving device as described in any of the above embodiments.
The system provided by the embodiment of the present invention may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 13 is a schematic structural diagram of a receiving device for processing OAM information of a bearer channel according to an embodiment of the present invention, and as shown in fig. 13, the receiving device 013 for processing OAM information of a bearer channel according to an embodiment of the present invention includes: an interface 131, a bus 132, a memory 133, and a processor 134, wherein the interface 131, the memory 133, and the processor 134 are connected via the bus 132, the memory 133 is used for storing program instructions, and the processor 134 is configured to execute the program instructions to implement the following steps:
receiving a bearing client service stream sent by a sending end according to a flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
extracting the OAM information in the load-bearing customer service flow;
and processing the extracted OAM information to obtain a detection result of the bearing channel.
Further, the processor 134 is configured to execute the program instructions to implement the following steps:
receiving the encoded customer service carrying stream sent by the sending end;
decoding the coded 66-bit information block of the bearing client service flow into a 64-bit information block according to the Flexe protocol to obtain the bearing client service flow; wherein the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; and combining 8 continuous overhead blocks with 66 bits into one overhead frame, wherein the overhead frame carries the OAM information.
Further, the processor 134 is configured to execute the program instructions to implement the following steps:
and extracting the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end.
Further, the processor 134 is configured to execute the program instructions to further implement the following steps:
and determining a normal Ethernet message and an abnormal Ethernet message in the service flow of the bearing client.
Further, the processor 134 is configured to execute the program instructions to implement the following steps:
extracting the OAM information carried in the abnormal Ethernet message in the customer service flow according to the characteristic pattern format of the OAM information carried by the sending end;
the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
Further, the processor 134 is configured to execute the program instructions to implement the following steps:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the service flow of the bearing client, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
Further, in the characteristic pattern format, the S block and/or the T block carry the OAM information.
Further, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm.
Further, when the OAM information includes the first customer characteristic information, the processor 134 is configured to execute the program instructions to further implement the following steps:
judging whether a target customer service flow for calculating second customer characteristic information is the same as a target customer service flow for calculating first customer characteristic information by the sending end;
and if the target customer service flow used for calculating the second customer characteristic information is the same as the target customer service flow used for calculating the first customer characteristic information by the sending end, calculating the characteristic information of the target customer service flow by adopting the preset algorithm to obtain the second customer characteristic information.
Further, the processor 134 is configured to execute the program instructions to implement the following steps:
and comparing whether the second customer characteristic information is consistent with the first customer characteristic information or not, if so, determining that no error code occurs in the bearing channel, and if not, determining that the error code occurs in the bearing channel to obtain a detection result of the quality condition of the bearing channel.
Further, when the OAM information includes the insertion timestamp value, the processor 134 is configured to execute the program instructions to further implement the following steps:
acquiring an extraction time value of the OAM information;
the processor 134 is configured to execute the program instructions to implement the following steps:
and obtaining a detection result of the transmission delay time of the bearer channel according to the extraction time value and the insertion timestamp value of the OAM information.
Further, the processor 134 is configured to execute the program instructions to further implement the following steps:
acquiring a receiving time interval of the OAM information;
the processor 134 is configured to execute the program instructions to implement the following steps:
and obtaining a detection result of whether the bearer channel is interrupted or not according to the receiving time interval of the OAM information.
The receiving device provided in the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 14 is a schematic structural diagram of a sending device for processing OAM information in a bearer channel according to an embodiment of the present invention, and as shown in fig. 14, a sending device 014 for processing OAM information in a bearer channel according to an embodiment of the present invention includes: an interface 141, a bus 142, a memory 143, and a processor 144, where the interface 141, the memory 143, and the processor 144 are connected via the bus 142, the memory 143 is used to store program instructions, and the processor 144 is configured to execute the program instructions to implement the following steps:
generating OAM information of customer service;
inserting OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
and sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
Further, the processor 144 is configured to execute the program instructions to implement the following steps:
and determining a characteristic pattern format for bearing the OAM information in the original customer service flow, and filling the OAM information into the characteristic pattern format to obtain the customer service flow.
Further, the processor 144 is configured to execute the program instructions to implement the following steps:
coding the 64-bit information block of the bearing client service flow into a 66-bit information block according to the Flexe protocol to obtain the coded bearing client service flow; wherein the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; the continuous 8 overhead blocks with 66 bits form an overhead frame, and the overhead frame carries the OAM information;
and sending the encoded bearing client service flow to the receiving end.
Further, the processor 144 is configured to execute the program instructions to implement the following steps:
determining normal Ethernet messages and abnormal Ethernet messages in the original customer service flow;
and determining the arrangement sequence of all information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing the OAM information.
Further, the processor 144 is configured to execute the program instructions to implement the following steps:
and filling the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain the customer service carrying flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
Further, the processor 144 is configured to execute the program instructions to implement the following steps:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the original customer service flow, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
Further, in the characteristic pattern format, the S block and/or the T block carry the OAM information.
Further, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
The sending device provided in the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
The present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
receiving a bearing client service stream sent by a sending end according to a flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
extracting the OAM information in the load-bearing customer service flow;
and processing the extracted OAM information to obtain a detection result of the bearing channel.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
receiving the encoded customer service carrying stream sent by the sending end;
decoding the coded 66-bit information block of the bearing client service flow into a 64-bit information block according to the Flexe protocol to obtain the bearing client service flow; wherein the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; and combining 8 continuous overhead blocks with 66 bits into one overhead frame, wherein the overhead frame carries the OAM information.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
and extracting the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end.
Further, the one or more programs are also executable by the one or more processors to perform the steps of:
and determining a normal Ethernet message and an abnormal Ethernet message in the service flow of the bearing client.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
extracting the OAM information carried in the abnormal Ethernet message in the customer service flow according to the characteristic pattern format of the OAM information carried by the sending end; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the service flow of the bearing client, wherein N is an integer greater than or equal to 3; if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message; and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
Further, in the characteristic pattern format, the S block and/or the T block carry the OAM information.
Further, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm.
Further, when the OAM information includes the first customer characteristic information, the one or more programs may be further executable by the one or more processors to implement the steps of:
judging whether a target customer service flow for calculating second customer characteristic information is the same as a target customer service flow for calculating first customer characteristic information by the sending end;
and if the target customer service flow used for calculating the second customer characteristic information is the same as the target customer service flow used for calculating the first customer characteristic information by the sending end, calculating the characteristic information of the target customer service flow by adopting the preset algorithm to obtain the second customer characteristic information.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
and comparing whether the second customer characteristic information is consistent with the first customer characteristic information or not, if so, determining that no error code occurs in the bearing channel, and if not, determining that the error code occurs in the bearing channel to obtain a detection result of the quality condition of the bearing channel.
Further, when the OAM information includes the insertion timestamp value, the one or more programs may also be executable by the one or more processors to implement the steps of:
acquiring an extraction time value of the OAM information;
the one or more programs are executable by the one or more processors to implement the steps of:
and obtaining a detection result of the transmission delay time of the bearer channel according to the extraction time value and the insertion timestamp value of the OAM information.
Further, the one or more programs are also executable by the one or more processors to perform the steps of:
acquiring a receiving time interval of the OAM information;
the one or more programs are executable by the one or more processors to implement the steps of:
and obtaining a detection result of whether the bearer channel is interrupted or not according to the receiving time interval of the OAM information.
The computer-readable storage medium provided by the present invention may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
The present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
generating OAM information of customer service;
inserting OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
and sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
and determining a characteristic pattern format for bearing the OAM information in the original customer service flow, and filling the OAM information into the characteristic pattern format to obtain the customer service flow.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
coding the 64-bit information block of the bearing client service flow into a 66-bit information block according to the Flexe protocol to obtain the coded bearing client service flow; wherein the 66-bit information block comprises a 66-bit data block and a 66-bit overhead block; the continuous 8 overhead blocks with 66 bits form an overhead frame, and the overhead frame carries the OAM information;
and sending the encoded bearing client service flow to the receiving end.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
determining normal Ethernet messages and abnormal Ethernet messages in the original customer service flow;
the one or more programs are executable by the one or more processors to implement the steps of:
and determining the arrangement sequence of all information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing the OAM information.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
and filling the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain the customer service carrying flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the original customer service flow, wherein N is an integer greater than or equal to 3; if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message; and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
Further, in the characteristic pattern format, the S block and/or the T block carry the OAM information.
Further, the OAM information includes: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
The computer-readable storage medium provided by the present invention may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (46)
1. A method for processing Operation Administration Maintenance (OAM) information of a bearer channel, the method comprising:
generating OAM information of customer service;
inserting OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
and sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
2. The method of claim 1, wherein the inserting the OAM information of the customer service into the original customer service flow to obtain a bearer customer service flow comprises:
and determining a characteristic pattern format for bearing the OAM information in the original customer service flow, and filling the OAM information into the characteristic pattern format to obtain the customer service flow.
3. The method of claim 2, wherein the determining a characteristic pattern format for carrying the OAM information in the original customer traffic flow comprises:
determining normal Ethernet messages and abnormal Ethernet messages in the original customer service flow;
and determining the arrangement sequence of all information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing the OAM information.
4. The method of claim 3, wherein the populating the OAM information into the characteristic pattern format to obtain the bearer client traffic flow comprises:
and filling the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain the customer service carrying flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
5. The method of claim 3, wherein said determining normal Ethernet packets and abnormal Ethernet packets in said original customer traffic flow comprises:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the original customer service flow, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
6. The method according to claim 5, wherein the S-block and/or the T-block carry the OAM information in the signature pattern format.
7. The method according to any of claims 1 to 5, wherein the OAM information comprises: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
8. A method for processing Operation Administration Maintenance (OAM) information of a bearer channel, the method comprising:
receiving a bearing client service stream sent by a sending end according to a flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
extracting the OAM information in the load-bearing customer service flow;
and processing the extracted OAM information to obtain a detection result of the bearing channel.
9. The method of claim 8, wherein the extracting the OAM information in the bearer client traffic flow comprises:
and extracting the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end.
10. The method according to claim 9, wherein before the extracting OAM information in the bearer client traffic stream according to the characteristic pattern format of the bearer OAM information determined by the sender, the method further comprises:
and determining a normal Ethernet message and an abnormal Ethernet message in the service flow of the bearing client.
11. The method according to claim 10, wherein the extracting the OAM information in the bearer client traffic stream according to the characteristic pattern format of the OAM information carried as determined by the sender comprises:
extracting the OAM information carried in the abnormal Ethernet message in the customer service flow according to the characteristic pattern format of the OAM information carried by the sending end;
the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
12. The method of claim 10, wherein the determining normal ethernet packets and abnormal ethernet packets in the bearer customer traffic flow comprises:
judging whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the service flow of the bearing client, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, determining that the Ethernet message is a normal Ethernet message.
13. The method according to claim 12, wherein in the signature pattern format, the S-block and/or the T-block carry the OAM information.
14. The method according to any of claims 8 to 13, wherein the OAM information comprises: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by the sending end calculating the characteristic information of the target client service flow according to a preset algorithm.
15. The method according to claim 14, wherein when the OAM information includes the first customer characteristic information, before the processing the extracted OAM information to obtain a detection result of a bearer channel, the method further comprises:
judging whether a target customer service flow for calculating second customer characteristic information is the same as a target customer service flow for calculating first customer characteristic information by the sending end;
and if the target customer service flow used for calculating the second customer characteristic information is the same as the target customer service flow used for calculating the first customer characteristic information by the sending end, calculating the characteristic information of the target customer service flow by adopting the preset algorithm to obtain the second customer characteristic information.
16. The method according to claim 15, wherein the processing the extracted OAM information to obtain a detection result of the bearer channel includes:
and comparing whether the second customer characteristic information is consistent with the first customer characteristic information or not, if so, determining that no error code occurs in the bearing channel, and if not, determining that the error code occurs in the bearing channel to obtain a detection result of the quality condition of the bearing channel.
17. The method of claim 14, wherein when the OAM information includes the insertion timestamp value, before the processing the extracted OAM information to obtain a detection result of a bearer channel, the method further comprises:
acquiring an extraction time value of the OAM information;
the processing the extracted OAM information to obtain a detection result of the bearer channel includes:
and obtaining a detection result of the transmission delay time of the bearer channel according to the extraction time value and the insertion timestamp value of the OAM information.
18. The method according to claim 8, wherein before the processing the extracted OAM information to obtain a detection result of a bearer channel, the method further comprises:
acquiring a receiving time interval of the OAM information;
the processing the extracted OAM information to obtain a detection result of the bearer channel includes:
and obtaining a detection result of whether the bearer channel is interrupted or not according to the receiving time interval of the OAM information.
19. A transmission apparatus for processing OAM information for bearer path, the transmission apparatus comprising:
the generation module is used for generating OAM information of the customer service;
the inserting module is used for inserting the OAM information of the customer service into the original customer service flow to obtain a load-bearing customer service flow;
and the sending module is used for sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
20. The apparatus according to claim 19, wherein the inserting module is specifically configured to determine a characteristic pattern format for carrying the OAM information in the original customer traffic flow, and fill the OAM information into the characteristic pattern format to obtain the customer traffic flow.
21. The sending apparatus according to claim 20, wherein the inserting module is further specifically configured to determine a normal ethernet packet and an abnormal ethernet packet in the original customer service flow;
the inserting module is further specifically configured to determine an arrangement order of all information blocks in the abnormal ethernet message as a characteristic pattern format for carrying the OAM information.
22. The apparatus according to claim 21, wherein the inserting module is further specifically configured to fill the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets, so as to obtain the customer service flow including the normal ethernet packet and the abnormal ethernet packet carrying the OAM information.
23. A receiving apparatus for processing OAM information for bearer path, the receiving apparatus comprising:
the receiving module is used for receiving the service flow of the bearing client sent by the sending end according to the flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
an extracting module, configured to extract the OAM information in the bearer client service flow;
and the processing module is used for processing the extracted OAM information to obtain a detection result of the bearing channel.
24. The receiving apparatus according to claim 23, wherein the extracting module is specifically configured to extract the OAM information in the bearer client service flow according to a characteristic pattern format of the bearer OAM information determined by the sending end.
25. The receiving device of claim 24, wherein the extracting module is further configured to determine a normal ethernet packet and an abnormal ethernet packet in the bearer client traffic flow.
26. The receiving apparatus according to claim 25, wherein the extracting module is specifically configured to extract, according to a characteristic pattern format of the OAM information carried by the sender, the OAM information carried in the abnormal ethernet message in the bearer client service flow; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all information blocks in the abnormal Ethernet message;
the load-bearing customer service flow is obtained by the sending end inserting the OAM information of the customer service into the original customer service flow, and comprises the following steps:
the customer service flow is formed by the normal ethernet packet and the abnormal ethernet packet carrying the OAM information, where the sending end fills the OAM information into the characteristic pattern format in the abnormal ethernet packet between the normal ethernet packets.
27. A sending device for processing OAM information of a bearer path, the sending device comprising: the interface, the bus, the memory, and the processor, the interface, the memory and the processor are connected through the bus, the memory is used for storing program instructions, the processor is configured to execute the program instructions to realize the following steps:
generating OAM information of customer service;
inserting OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
and sending the service flow of the bearing client to a receiving end according to a flexible Ethernet Flexe protocol.
28. A receiving device for processing OAM information of a bearer path, the receiving device comprising: the interface, the bus, the memory, and the processor, the interface, the memory and the processor are connected through the bus, the memory is used for storing program instructions, the processor is configured to execute the program instructions to realize the following steps:
receiving a bearing client service stream sent by a sending end according to a flexible Ethernet Flexe protocol; the load-bearing client service flow is obtained by inserting OAM information of the client service into an original client service flow by the sending end;
extracting the OAM information in the load-bearing customer service flow;
and processing the extracted OAM information to obtain a detection result of the bearing channel.
29. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, to implement the steps of the method of handling operation administration maintenance, OAM, information for a bearer channel as recited in any one of claims 1 to 7.
30. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, to implement the steps of the method of handling operation administration maintenance, OAM, information for a bearer channel as recited in any one of claims 8 to 18.
31. A method for processing Operation Administration Maintenance (OAM) information of a bearer channel, the method comprising:
the sending end generates OAM information of the client service;
the sending end inserts OAM information of the customer service into an original customer service flow to obtain a load-bearing customer service flow;
sending the bearing client service flow to a receiving end according to a flexible Ethernet Flexe protocol, and receiving the bearing client service flow sent by the sending end by the receiving end according to the Flexe protocol;
the receiving end extracts the OAM information in the service flow of the bearing client;
and the receiving end processes the extracted OAM information to obtain a detection result of the bearing channel.
32. The method of claim 31, wherein the transmitting end inserts OAM information of the client service into an original client service stream to obtain a bearer client service stream, and comprises:
and the sending end determines a characteristic pattern format for bearing the OAM information in the original client service flow, and fills the OAM information into the characteristic pattern format to obtain the bearing client service flow.
33. The method of claim 32, wherein the determining, by the sender, a characteristic pattern format for carrying the OAM information in the original customer traffic flow comprises:
the sending end determines a normal Ethernet message and an abnormal Ethernet message in the original customer service flow;
and the sending end determines the arrangement sequence of all the information blocks in the abnormal Ethernet message as a characteristic pattern format for bearing the OAM information.
34. The method of claim 33, wherein the padding, by the sender, the OAM information into the characteristic pattern format to obtain the bearer client traffic stream comprises:
and the sending end fills the OAM information into the characteristic pattern format in the abnormal Ethernet message between the normal Ethernet messages to obtain the customer service flow consisting of the normal Ethernet message and the abnormal Ethernet message carrying the OAM information.
35. The method of claim 33, wherein the determining, by the sending end, a normal ethernet packet and an abnormal ethernet packet in the original customer traffic flow comprises:
the sending end judges whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the original customer service flow, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the sending end determines that the Ethernet message is an abnormal Ethernet message;
and if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the sending end determines that the Ethernet message is a normal Ethernet message.
36. The method of claim 31, wherein the extracting, by the receiving end, the OAM information in the bearer customer traffic flow comprises:
and the receiving end extracts the OAM information in the customer service flow according to the characteristic pattern format of the OAM information determined by the sending end.
37. The method according to claim 36, wherein before the receiving end extracts the OAM information in the bearer client traffic stream according to the characteristic pattern format for carrying the OAM information determined by the transmitting end, the method further comprises:
and the receiving end determines a normal Ethernet message and an abnormal Ethernet message in the service flow of the bearing client.
38. The method of claim 37, wherein the extracting, by the receiving end, the OAM information in the bearer client traffic stream according to the characteristic pattern format of the bearer OAM information determined by the sending end, comprises:
the receiving end extracts the OAM information carried in the abnormal Ethernet message in the customer service flow according to the characteristic pattern format of the OAM information carried by the sending end; the characteristic pattern format is determined by the sending end according to the arrangement sequence of all the information blocks in the abnormal Ethernet message.
39. The method of claim 37, wherein the determining, by the receiving end, normal ethernet packets and abnormal ethernet packets in the bearer client traffic flow comprises:
the receiving end judges whether all information blocks in each Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block in the service flow of the bearing client, wherein N is an integer greater than or equal to 3;
if all information blocks in the Ethernet message are not formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the receiving end determines that the Ethernet message is an abnormal Ethernet message;
if all the information blocks in the Ethernet message are formed by sequentially arranging 1 data packet head S block, N continuous data packet D blocks and 1 data packet tail T block, the receiving end determines that the Ethernet message is a normal Ethernet message.
40. The method according to claim 35 or 39, wherein in the signature pattern format, the S-block and/or the T-block carry the OAM information.
41. The method according to any of claims 31 to 39, wherein the OAM information comprises: any one or any combination of first customer characteristic information, insertion time stamp value, fault state information, automatic protection information and sending end mark information; the first client characteristic information is obtained by calculating the characteristic information of the target client service flow according to a preset algorithm.
42. The method of claim 41, wherein when the OAM information includes the first customer characteristic information, before the receiving end processes the extracted OAM information to obtain a detection result of a bearer channel, the method further comprises:
the receiving end judges whether a target customer service flow used for calculating second customer characteristic information is the same as a target customer service flow used for calculating the first customer characteristic information by the sending end;
if the target customer service flow used for calculating the second customer characteristic information is the same as the target customer service flow used for calculating the first customer characteristic information by the sending end, the receiving end calculates the characteristic information of the target customer service flow by adopting the preset algorithm to obtain the second customer characteristic information.
43. The method of claim 42, wherein the processing, by the receiving end, the extracted OAM information to obtain a detection result of the bearer channel comprises:
the receiving end compares whether the second customer characteristic information is consistent with the first customer characteristic information, if so, the receiving end determines that no error code occurs in the bearing channel, and if not, the receiving end determines that an error code occurs in the bearing channel to obtain a detection result of the quality condition of the bearing channel.
44. The method of claim 41, wherein when the OAM information includes the insertion timestamp value, before the receiving end processes the extracted OAM information to obtain a detection result of a bearer channel, the method further comprises:
the receiving end acquires an extraction time value of the OAM information;
the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, and the detection result comprises the following steps:
and the receiving end obtains a detection result of the transmission delay time of the bearing channel according to the extraction time value and the insertion timestamp value of the OAM information.
45. The method according to claim 31, wherein before the receiving end processes the extracted OAM information to obtain a detection result of a bearer channel, the method further comprises:
the receiving end acquires the receiving time interval of the OAM information;
the receiving end processes the extracted OAM information to obtain a detection result of the bearer channel, and the detection result comprises the following steps:
and the receiving end obtains a detection result whether the bearing channel is interrupted or not according to the receiving time interval of the OAM information.
46. A system for handling OAM information for operation administration and maintenance of a bearer path, said system comprising a transmitting device according to any one of claims 19 to 22 and a receiving device according to any one of claims 23 to 26.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710564665.9A CN109257194B (en) | 2017-07-12 | 2017-07-12 | Handle method, apparatus, equipment and the system of the OAM Information of bearer path |
PCT/CN2018/091958 WO2019011112A1 (en) | 2017-07-12 | 2018-06-20 | Bearer channel oam information processing method, apparatus, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710564665.9A CN109257194B (en) | 2017-07-12 | 2017-07-12 | Handle method, apparatus, equipment and the system of the OAM Information of bearer path |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109257194A true CN109257194A (en) | 2019-01-22 |
CN109257194B CN109257194B (en) | 2019-11-19 |
Family
ID=65001017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710564665.9A Active CN109257194B (en) | 2017-07-12 | 2017-07-12 | Handle method, apparatus, equipment and the system of the OAM Information of bearer path |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109257194B (en) |
WO (1) | WO2019011112A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111511022A (en) * | 2019-01-31 | 2020-08-07 | 中兴通讯股份有限公司 | Method, device and system for transmitting customer service |
CN111541556A (en) * | 2019-02-07 | 2020-08-14 | 安华高科技股份有限公司 | Method and system for monitoring and isolating problems on 1path by using OAM (operation administration and maintenance) of Flexe client |
WO2020177693A1 (en) * | 2019-03-06 | 2020-09-10 | 中兴通讯股份有限公司 | Method and apparatus for sending customer service data stream, and storage medium |
CN112511266A (en) * | 2020-07-01 | 2021-03-16 | 中兴通讯股份有限公司 | Transmission method, detection method and device, acquisition method, network equipment and system |
CN112583775A (en) * | 2019-09-30 | 2021-03-30 | 华为技术有限公司 | Method, device and network equipment for processing message |
WO2022174695A1 (en) * | 2021-02-22 | 2022-08-25 | 中兴通讯股份有限公司 | Method and device for receiving oam information block |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447975A (en) * | 2007-11-26 | 2009-06-03 | 华为技术有限公司 | Method for processing Ethernet physical layer OAM overhead and device thereof |
CN103312577A (en) * | 2012-03-09 | 2013-09-18 | 中兴通讯股份有限公司 | Method and device for processing MAC data |
WO2017016379A1 (en) * | 2015-07-30 | 2017-02-02 | 华为技术有限公司 | Method for data transmission, transmitter and receiver |
US20170093757A1 (en) * | 2015-09-29 | 2017-03-30 | Ciena Corporation | Time transfer systems and methods over flexible ethernet |
CN106612220A (en) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | Flexible Ethernet lane management method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726244B (en) * | 2016-11-28 | 2024-07-05 | 华为技术有限公司 | OAM data transmission method and device for operation, administration and maintenance |
-
2017
- 2017-07-12 CN CN201710564665.9A patent/CN109257194B/en active Active
-
2018
- 2018-06-20 WO PCT/CN2018/091958 patent/WO2019011112A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447975A (en) * | 2007-11-26 | 2009-06-03 | 华为技术有限公司 | Method for processing Ethernet physical layer OAM overhead and device thereof |
CN103312577A (en) * | 2012-03-09 | 2013-09-18 | 中兴通讯股份有限公司 | Method and device for processing MAC data |
WO2017016379A1 (en) * | 2015-07-30 | 2017-02-02 | 华为技术有限公司 | Method for data transmission, transmitter and receiver |
CN106411454A (en) * | 2015-07-30 | 2017-02-15 | 华为技术有限公司 | Method for data transmission, transmitter and receiver |
US20170093757A1 (en) * | 2015-09-29 | 2017-03-30 | Ciena Corporation | Time transfer systems and methods over flexible ethernet |
CN106612220A (en) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | Flexible Ethernet lane management method and apparatus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111511022A (en) * | 2019-01-31 | 2020-08-07 | 中兴通讯股份有限公司 | Method, device and system for transmitting customer service |
CN111541556A (en) * | 2019-02-07 | 2020-08-14 | 安华高科技股份有限公司 | Method and system for monitoring and isolating problems on 1path by using OAM (operation administration and maintenance) of Flexe client |
WO2020177693A1 (en) * | 2019-03-06 | 2020-09-10 | 中兴通讯股份有限公司 | Method and apparatus for sending customer service data stream, and storage medium |
CN111669771A (en) * | 2019-03-06 | 2020-09-15 | 中兴通讯股份有限公司 | Method and device for customer service data stream and storage medium |
CN112583775A (en) * | 2019-09-30 | 2021-03-30 | 华为技术有限公司 | Method, device and network equipment for processing message |
CN112583775B (en) * | 2019-09-30 | 2024-04-12 | 华为技术有限公司 | Method, device and network equipment for processing message |
CN112511266A (en) * | 2020-07-01 | 2021-03-16 | 中兴通讯股份有限公司 | Transmission method, detection method and device, acquisition method, network equipment and system |
WO2022174695A1 (en) * | 2021-02-22 | 2022-08-25 | 中兴通讯股份有限公司 | Method and device for receiving oam information block |
Also Published As
Publication number | Publication date |
---|---|
CN109257194B (en) | 2019-11-19 |
WO2019011112A1 (en) | 2019-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109257194B (en) | Handle method, apparatus, equipment and the system of the OAM Information of bearer path | |
CN107888344B (en) | Method, equipment and system for detecting error code | |
US10951340B2 (en) | Method and device for transmitting bit error rate information in FlexE overhead frame, and computer storage medium | |
CN106911426B (en) | Method and equipment for transmitting data in flexible Ethernet | |
CN110266612A (en) | Data transmission method and device, the network equipment and storage medium | |
EP1897261A1 (en) | Data packet reconstruction in link-based interconnects with retransmission | |
CN102684999B (en) | Data packet processing method and device | |
WO2019007431A1 (en) | Fault notification and acquisition method and apparatus for flexible ethernet, and communication device | |
CN108092924B (en) | Cell switching method and system based on FlexE service | |
WO2018171641A1 (en) | Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus | |
US10454617B2 (en) | Coding scheme and multiframe transmission in optical networks | |
CN113810769A (en) | Data transmission method and system | |
CN112994839A (en) | Flexible Ethernet overhead multiframe receiving method, device, equipment and medium | |
CN109728948A (en) | A kind of operation maintenance management information processing method and apparatus | |
CN118041641B (en) | Network link fusion method, system and device based on abnormal data association rejection | |
WO2019015462A1 (en) | Method for sending detection block and method for receiving detection block, and network device and system | |
CN113078980A (en) | Data transmission method and device | |
US11611408B2 (en) | Methods, systems and computer readable media for reconstructing uncorrectable forward error correction (FEC) data | |
CN112311497B (en) | Communication method and communication equipment | |
CN109495162B (en) | Protection switching method, receiving end and storage medium | |
CN105099607A (en) | Fault tolerance method and apparatus for microwave transmission | |
US20120140617A1 (en) | System and method for packet protection switching | |
EP3280077B1 (en) | A method and apparatus for monitoring a performance of an ethernet data stream | |
CN107086897A (en) | correction processing method and device | |
WO2022174695A1 (en) | Method and device for receiving oam information block |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |