CN116074191A - IOAM processing method, device, electronic equipment and computer readable storage medium - Google Patents

IOAM processing method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN116074191A
CN116074191A CN202111296162.0A CN202111296162A CN116074191A CN 116074191 A CN116074191 A CN 116074191A CN 202111296162 A CN202111296162 A CN 202111296162A CN 116074191 A CN116074191 A CN 116074191A
Authority
CN
China
Prior art keywords
service flow
target service
ioam
dyeing
statistics
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.)
Pending
Application number
CN202111296162.0A
Other languages
Chinese (zh)
Inventor
李荣骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202111296162.0A priority Critical patent/CN116074191A/en
Publication of CN116074191A publication Critical patent/CN116074191A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Landscapes

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

Abstract

The invention relates to the technical field of communication, and discloses an IOAM processing method, an IOAM processing device, electronic equipment and a computer readable storage medium. The IOAM processing method is applied to nodes in a communication path and comprises the following steps: maintaining key information of a target service flow for the target service flow requiring in-band operation maintenance management (IOAM), wherein the key information comprises: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not; and under the condition that the performance statistics of the target service flow are required to be carried out, carrying out the performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period. The configuration flow of the IOAM can be simplified, and the configuration pressure of the network controller can be reduced.

Description

IOAM processing method, device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an IOAM processing method, an IOAM processing device, an electronic device, and a computer readable storage medium.
Background
The 5G age has come to place a series of demands on communication networks such as large bandwidth, low latency, large connections, high accuracy, time synchronization, etc. At the same time, diversified service types and differentiated network requirements also make network quality of service (Service Level Agreement, abbreviated as "SLA") monitoring increasingly important. In-band operation maintenance management (Inband Operation Administration and Maintenance, abbreviated as 'IOAM') technology based on in-band detection has the important advantages of simple configuration, quick sensing, accurate network performance fault location and the like compared with traditional OAM technology with out-of-band detection.
However, the conventional IOAM technology relies on a network controller to configure nodes in a transmission path respectively, and faces a scene of large traffic, and has the problems of low configuration efficiency and high performance pressure of the controller.
Disclosure of Invention
An object of an embodiment of the present invention is to provide an IOAM processing method, an apparatus, an electronic device, and a computer readable storage medium, which are used to simplify an IOAM configuration flow and reduce a configuration pressure of a network controller.
In order to solve the above problems, an embodiment of the present invention provides a node IOAM processing method applied to a communication path, including: maintaining key information of a target service flow for the target service flow requiring in-band operation maintenance management (IOAM), wherein the key information comprises: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not; and under the condition that the performance statistics of the target service flow are required to be carried out, carrying out the performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period.
The embodiment of the invention also provides an IOAM processing device, which comprises: the information maintenance module is used for maintaining key information of a target service flow for the target service flow needing to be subjected to in-band operation maintenance management (IOAM), wherein the key information comprises: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not; and the statistics module is used for carrying out the performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period under the condition that the performance statistics of the target service flow is required.
The embodiment of the invention also provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the IOAM processing method described above.
The embodiment of the invention also provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the IOAM processing method.
In the embodiment of the invention, the nodes in the communication path are the target traffic flows of the IOAM needing in-band operation maintenance management, and maintain key information such as dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods of the target traffic flows. This critical information is carried in the traffic flow label, which is inserted into the target traffic flow by the head node. The nodes in the communication path can carry out performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period in the service flow label, and the nodes of the non-head nodes can determine whether the performance statistics of the target service flow is required according to the hop-by-hop detection mark, so that the network controller is not required to configure all the nodes in the communication path, the performance detection of the service flow can be completed, the IOAM configuration flow can be simplified, and the configuration pressure of the network controller is reduced.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures do not depict a proportional limitation unless expressly stated otherwise.
FIG. 1 is a flow chart of a method of IOAM processing in accordance with an embodiment of the invention;
FIG. 2 is a schematic diagram of a traffic flow label in accordance with an embodiment of the present invention;
figure 3 is a schematic diagram of a head node in accordance with an embodiment of the invention;
FIG. 4 is a schematic diagram of a node other than a head node in accordance with an embodiment of the invention;
FIG. 5 is a schematic diagram of interactions of internal modules of a node in accordance with an embodiment of the invention;
FIG. 6 is a diagram illustrating a structure of statistics reported to an acquisition server according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an IOAM processing device in accordance with an embodiment of the invention;
fig. 8 is a schematic structural view of an electronic device according to another embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present invention. However, the claimed invention may be practiced without these specific details and with various changes and modifications based on the following embodiments. The following divisions of the embodiments are for convenience of description, and should not be construed as limiting the specific embodiments of the present invention, and the embodiments may be mutually combined and referred to without contradiction.
One embodiment of the present invention relates to an IOAM processing method, and a specific flow is shown in fig. 1.
In this embodiment, key information of a target traffic flow for which in-band operation maintenance management IOAM is required is maintained, where the key information includes: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not; and under the condition that the performance statistics of the target service flow are required to be carried out, carrying out the performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period.
Compared with out-of-band detection technologies, such as OAM technology based on protocol ITU-T Y.1731 and bidirectional active measurement protocol (TWAMP) detection technology, the IOAM technology has the important advantages of simple configuration, fast sensing, accurate network performance fault positioning and the like, the forwarding path is consistent with the real service path, and the end-to-end and hop-by-hop performance detection can be performed on the service flow without additionally inserting detection OAM messages into the service flow.
The traditional IOAM technology can bring better operation and maintenance service in the aspects of packet loss rate, time delay measurement and the like, but a network controller is required to configure nodes in a service flow transmission path respectively, and the problems of long configuration interaction path, slow flow path and information change perception, large occupied device bandwidth, large performance pressure of the network controller and the like exist when thousands of service flows pass through the same node in the face of a high-flow scene.
The following details of implementation of the IOAM processing method in this embodiment are described specifically, which are only for convenience in understanding the implementation details of the present embodiment, and are not necessary to implement the present embodiment. The specific flow is shown in fig. 1, and may include the following steps:
step 101, maintaining key information for a target service flow to be IOAM, where the key information includes: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target traffic flow.
Specifically, the head node inserts a service flow label in a target service flow needing to be subjected to IOAM, wherein the service flow label carries key information of the target service flow. These key information include: dye marks, timestamp enable marks, hop-by-hop detection marks, and dye cycles. The hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target traffic flow. If the hop-by-hop detection mark indicates that the nodes in the path all need to perform performance statistics of the target service flow, the hop-by-hop performance detection is performed on the target service flow, and if only the head node and the tail node in the transmission path perform performance statistics of the target service flow, the end-to-end performance detection is performed on the target service flow. A schematic structure of a traffic flow label inserted by the head node in the target traffic flow may be shown in fig. 2.
The bootstrap tag in the traffic flow tag as shown in fig. 2 is used for the node in the transmission path to identify the IOAM traffic flow; l bits in the service flow label are dyeing marks; l bits in the service flow label are time stamp enabling marks; the H bit in the service flow label is a hop-by-hop detection mark; the T bits in the traffic label are the dyeing period.
The meaning of the other fields in the traffic flow label is as follows: TC: traffic Control, traffic management; s: stack, stack bottom mark; TTL: time To Live, time To Live; user Payload: a user payload; flow ID: and (5) identifying the service flow.
In the example that one node is the head node in the communication path, before maintaining the key information of the target service flow for the target service flow to be subjected to in-band operation maintenance management (IOAM), the target service flow to be subjected to IOAM can be determined according to the IOAM configuration information issued by the controller, and a service flow label inserted into the target service flow is generated according to the IOAM configuration information; maintaining key information of the target traffic flow for the target traffic flow requiring in-band operation maintenance management (IOAM) may include: and maintaining key information of the target service flow according to the IOAM configuration information. In this example, the node is a head node in the transmission path, and the head node can generate a service flow label inserted into the target service flow, so that a subsequent node in the transmission path can count the performance of the target service flow according to key information in the service flow label, and the configuration of a controller to a node other than the head node is avoided.
In actual implementation, the structure of the head node involved in this example may be as shown in fig. 3. The OAM module of the head node may receive the IOAM configuration information issued by the controller and configure an access control list (Access Control Lists, abbreviated as "ACL") module. Further, ACL modules configure device hardware such as a network processor (Network Processor, abbreviated as "NP"). The head node may contain an OAM module and an NP module. The OAM module may include an IOAM configuration module and an upload processing module. The NP module can comprise a flow matching module, a flow dyeing module, a service flow label packaging module and a performance statistics module. The OAM module may issue a field programmable gate array (Field Programmable Gate Array, simply "FPGA") staining signal to the NP module.
In the example where a node is a non-head node in the communication path, before maintaining key information of a target service flow for the target service flow to be subjected to in-band operation maintenance management IOAM, the target service flow to be subjected to IOAM may be determined according to a service flow identifier of the service flow; generating IOAM configuration information according to the service flow label under the condition that the hop-by-hop detection mark indicates that performance statistics of the target service flow is needed and the target service flow belongs to the unsubscribed service flow; maintaining key information of the target traffic flow for the target traffic flow requiring in-band operation maintenance management (IOAM) may include: and maintaining key information of the target service flow according to the generated IOAM configuration information. In this example, the node is a node other than the head node in the transmission path, so that IOAM configuration information can be generated for the target service flow to be subjected to IOAM, and the configuration pressure of the controller can be effectively reduced without configuring the IOAM configuration information by the controller. The structure of the nodes other than the head node involved in this example may be as shown in fig. 4. In actual implementation, the nodes other than the head node may include an OAM module and an NP module. The OAM module may include an IOAM configuration module, a flow analysis module and an upload processing module. The NP module may include a stream matching module and a performance statistics module.
In the case that the node other than the head node is the tail node in the communication path, after maintaining the key information of the target traffic flow for the target traffic flow to be subjected to in-band operation maintenance management IOAM, the traffic flow label in the target traffic flow can be removed. After the traffic flows through the tail node, the IOAM traffic is terminated, and in this example, the tail node can reject the traffic labels in the traffic.
The tail node is a special node in the transmission path, and in actual implementation, the node can be issued by the controller to be configured to be the tail node of a certain service flow or generated by self-subscription at the last hop of the service flow label.
Step 102, in the case that performance statistics of the target traffic flow are required, performance statistics of the target traffic flow are performed according to the dyeing mark, the time stamp enabling mark and the dyeing period.
In the case where performance statistics of the target traffic flow is required in this step, that is, the node executing the IOAM processing method in this embodiment is a head node, or the node is a node other than the head node and the hop-by-hop detection flag indicates that performance statistics of the target traffic flow is required.
In one example, a node includes a first statistical module and a second statistical module that are independent of each other, a first register corresponding to the first statistical module, and a second register corresponding to the second statistical module; according to the dyeing mark, the time stamp enabling mark and the dyeing period, the performance statistics of the target service flow can be carried out, and the method can comprise the following steps: the first statistics module and the second statistics module are alternately used for counting the performance of the target service flow according to the dyeing marks; the first statistics module and the second statistics module are used for counting the performance of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period, the first statistics module obtains a statistics result and stores the statistics result into a first register, and the second statistics module obtains a statistics result and stores the statistics result into a second register.
And for the service flows with the same dyeing marks, carrying out performance statistics by using the same statistics module. The L bit and OAM module synchronize FPGA dyeing signals issued by NP, and D bit is set when L bit is turned over and is used for counting time stamps when L bit changes. In actual implementation, the performance statistics may include traffic information statistics and time stamp information statistics. The traffic information takes the incoming statistics of the traffic stream, and if the D bit is set, the time stamp information is recorded. The flow and time stamp information can be directly put into a special register divided according to the service flow identification, and is not circulated in the NP along with the message.
After performance statistics of the target traffic flow are performed, the method may further include: reading a statistical result from the first register or the second register according to the dyeing period and the current dyeing mark; and reporting the read statistical result to an acquisition server through a remote sensing survey test channel.
In practical implementation, the OAM module may periodically read the performance statistics according to the dyeing period of the service flow, and select the register where the read statistics is located according to the state of the L bits in the key information of the service flow. And if the L bit is set, setting the first statistics module to perform performance statistics on the target service flow, and if the L bit is set, reading the performance statistics result of the second register by the OAM module. The OAM module can package the performance statistics result of the service flow and the input interface information of the service flow, such as an interface, a single board, a device number and the like, and the integrated compressed data is sent to the controller through a test channel.
Reporting the read statistical result to an acquisition server through a telemetry channel, which can comprise: grouping the statistical results according to the reported acquisition servers, wherein the reported objects are the statistical results of the same acquisition server and are divided into the same group; compressing and packaging the statistical results of the same group and reporting the statistical results; and under the condition that the data volume after compression and packaging is larger than the transmission performance of the telemet channel, the data after compression and packaging is subjected to fragment reporting.
In this embodiment, the NP and the OAM module are required to jointly maintain information of a local service flow, and in practical application, a node may aggregate a large amount of service flows, the frequency of traffic triggering NP to subscribe the service flows is far higher than that of the service flow information operation of the OAM module, at this time, the module time generates competition, a large amount of burst flows affect the addition and deletion of the existing service flows, and the service flow statistics result, the service flow configuration and the control information are put together, which also may cause the OAM module to fail to read due to the concurrency problem. Considering the hardware isomerism of NP and OAM modules, the general software lock is difficult to meet the performance requirement, so that the information of the service flow can be split and stored in a service flow identification table, a service flow control table and a service flow statistical result table in actual implementation. A schematic diagram of the interaction of NP and OAM modules in a node is shown in fig. 5.
For the service flow identification table, the OAM module creates and updates the table, and the NP module only reads the table; for a traffic control table, which contains key information (L, T, H, D) of traffic labels, the NP creates and updates it, and the OAM module only reads the table; for the traffic flow statistics table, in which performance statistics are stored, the NP creates and updates it, and the OAM module only reads the table.
The statistical result of the acquisition server is reported in a test mode, the statistical information reporting structure shown in fig. 6 can be adopted in consideration of the requirement of the distributed acquisition server, and the statistical result can be compressed and packed to follow the protobuf protocol.
In this embodiment, the nodes in the communication path are the target traffic flows for which in-band operation maintenance management IOAM is required, and maintain key information such as a dyeing flag, a time stamp enable flag, a hop-by-hop detection flag, and a dyeing period of the target traffic flows. This critical information is carried in the traffic flow label, which is inserted into the target traffic flow by the head node. The nodes in the communication path can carry out performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period in the service flow label, and the nodes of the non-head nodes can determine whether the performance statistics of the target service flow is required according to the hop-by-hop detection mark, so that the network controller is not required to configure all the nodes in the communication path, the performance detection of the service flow can be completed, the IOAM configuration flow can be simplified, and the configuration pressure of the network controller is reduced.
One embodiment of the present invention relates to an IOAM processing apparatus, as shown in fig. 7, comprising:
the information maintenance module 701 is configured to maintain key information of a target service flow for the target service flow that needs to perform in-band operation maintenance management IOAM, where the key information includes: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not;
the statistics module 702 is configured to perform performance statistics of the target traffic according to the dye mark, the timestamp enable mark, and the dye period, in case performance statistics of the target traffic is required.
In one example, a node may include a first statistical module and a second statistical module that are independent of each other, a first register corresponding to the first statistical module, and a second register corresponding to the second statistical module; the IOAM processing apparatus may further include: a statistics module (not shown in the figure) for counting the performance of the target traffic flow by alternately using the first statistics module and the second statistics module according to the dyeing mark; the first statistics module and the second statistics module are used for counting the performance of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period, the first statistics module obtains a statistics result and stores the statistics result into a first register, and the second statistics module obtains a statistics result and stores the statistics result into a second register.
In one example, the IOAM processing apparatus may further include: a reading module (not shown in the figure) for reading the statistical result from the first register or the second register according to the dyeing period and the current dyeing mark after the performance statistics of the target service flow are performed; and reporting the read statistical result to an acquisition server through a remote sensing survey test channel.
In one example, the IOAM processing apparatus may further include: a sending module (not shown in the figure) for grouping the statistics results according to the reported collection servers, wherein the reported objects are the statistics results of the same collection server and are divided into the same group; compressing and packaging the statistical results of the same group and reporting the statistical results; and under the condition that the data volume after compression and packaging is larger than the transmission performance of the telemet channel, the data after compression and packaging is subjected to fragment reporting.
In one example, when the node is a head node in the communication path, the IOAM processing apparatus may further include: a generating module (not shown in the figure) for determining a target service flow to be subjected to the IOAM according to the IOAM configuration information issued by the controller before maintaining key information of the target service flow for the target service flow to be subjected to the in-band operation maintenance management (IOAM), and generating a service flow label inserted into the target service flow according to the IOAM configuration information; and maintaining key information of the target service flow according to the IOAM configuration information.
In one example, when the node is another node other than the head node in the communication path, the generating module may be further configured to determine, according to a traffic flow identifier of the traffic flow, a target traffic flow to be subjected to IOAM before maintaining key information of the target traffic flow for the target traffic flow to be subjected to in-band operation maintenance management IOAM; generating IOAM configuration information according to the service flow label under the condition that the hop-by-hop detection mark indicates that performance statistics of the target service flow is needed and the target service flow belongs to the unsubscribed service flow; and maintaining key information of the target service flow according to the generated IOAM configuration information.
In one example, when the node is a tail node in the communication path, the IOAM processing apparatus may further include: and the rejecting module (not shown in the figure) is used for rejecting the service flow labels in the target service flow after maintaining the key information of the target service flow for the target service flow of the IOAM needing in-band operation maintenance and management.
The IOAM processing device provided in this embodiment maintains key information such as a dyeing flag, a time stamp enabling flag, a hop-by-hop detection flag, and a dyeing period of a target traffic stream for which in-band operation maintenance management of the IOAM is required. This critical information is carried in the traffic flow label, which is inserted into the target traffic flow by the head node. The IOAM processing device can carry out performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period in the service flow label, and enables the node of the non-head node to determine whether the performance statistics of the target service flow is required according to the hop-by-hop detection mark, so that the performance detection of the service flow can be completed without configuring all nodes in a communication path by a network controller, the IOAM configuration flow can be simplified, and the configuration pressure of the network controller is reduced.
It should be noted that, each module in the above embodiment of the present invention is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units that are not so close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
An embodiment of the invention also provides an electronic device, as shown in fig. 8, comprising at least one processor 801; and a memory 802 communicatively coupled to the at least one processor 801; the memory 802 stores instructions executable by the at least one processor 801, and the instructions are executed by the at least one processor 801 to enable the at least one processor 801 to perform the IOAM processing method described above.
Where the memory 802 and the processor 801 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, which connect the various circuits of the one or more processors 801 and the memory 802 together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 801 is transmitted over a wireless medium via an antenna, which in turn receives the data and communicates the data to the processor 801.
The processor 801 is responsible for managing the bus and general processing and may provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 802 may be used to store data used by the processor 801 in performing operations.
The product may execute the IOAM processing method provided by the embodiment of the present application, and has the corresponding functional module and beneficial effect of the execution method, and technical details not described in detail in the embodiment of the present application may refer to the method provided by the embodiment of the present application.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements the IOAM processing method described above.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The embodiments described hereinabove are intended to provide those of ordinary skill in the art with a variety of modifications and variations to the embodiments described above without departing from the inventive concepts of the present application, and thus the scope of the invention is not limited by the embodiments described hereinabove, but is to be accorded the broadest scope of the innovative features recited in the claims.

Claims (10)

1. An IOAM processing method, applied to a node in a communication path, comprising:
maintaining key information of a target service flow of an IOAM (operation and maintenance) for the target service flow needing to be subjected to in-band operation and maintenance, wherein the key information comprises: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not;
and under the condition that the performance statistics of the target service flow are required to be carried out, carrying out the performance statistics of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period.
2. The IOAM processing method of claim 1, wherein the node comprises a first statistical module and a second statistical module that are independent of each other, a first register corresponding to the first statistical module, and a second register corresponding to the second statistical module;
and performing performance statistics of the target service flow according to the dyeing mark, the timestamp enabling mark and the dyeing period, wherein the performance statistics comprise:
counting the performance of the target service flow by alternately using the first counting module and the second counting module according to the dyeing mark;
the first statistics module and the second statistics module are used for counting the performance of the target service flow according to the dyeing mark, the time stamp enabling mark and the dyeing period, the first statistics module is used for obtaining a statistics result and storing the statistics result into the first register, and the second statistics module is used for obtaining a statistics result and storing the statistics result into the second register.
3. The IOAM processing method as claimed in claim 2, further comprising, after said performing the performance statistics of the target traffic stream:
reading the statistical result from the first register or the second register according to the dyeing period and the current dyeing mark;
and reporting the read statistical result to an acquisition server through a remote sensing survey telemet channel.
4. The IOAM processing method as claimed in claim 3, wherein reporting the read statistics to an acquisition server via a telemetry channel comprises:
grouping the statistical results according to reporting objects, wherein the reporting objects divide the statistical results of the same acquisition server into the same group;
compressing and packaging the statistical results of the same group and reporting the statistical results to an acquisition server;
and under the condition that the data volume after compression and packaging is larger than the transmission performance of the test channel, reporting the data fragments after compression and packaging to an acquisition server.
5. The IOAM processing method as claimed in any one of claims 1 to 4, wherein when the node is a head node in the communication path, the method further comprises:
before maintaining the key information of the target service flow for the target service flow needing to be subjected to in-band operation maintenance (IOAM), determining the target service flow needing to be subjected to IOAM according to IOAM configuration information issued by a controller, and generating the service flow label inserted into the target service flow according to the IOAM configuration information;
the maintaining key information of the target service flow for the target service flow needing to perform in-band operation maintenance and management (IOAM) includes:
and maintaining key information of the target service flow according to the IOAM configuration information.
6. The IOAM processing method as claimed in any one of claims 1 to 4, wherein when the node is a node other than a head node in the communication path, the method further comprises:
before maintaining key information of the target service flow for the target service flow needing to be subjected to in-band operation maintenance (IOAM), determining the target service flow needing to be subjected to IOAM according to a service flow identifier of the service flow;
generating IOAM configuration information according to the service flow label under the condition that the hop-by-hop detection mark indicates that performance statistics of the target service flow is needed and the target service flow belongs to an unsubscribed service flow;
the maintaining key information of the target service flow for the target service flow needing to perform in-band operation maintenance and management (IOAM) includes:
and maintaining key information of the target service flow according to the generated IOAM configuration information.
7. The IOAM processing method as claimed in claim 6, wherein when the node is a tail node in the communication path, the method further comprises:
and after maintaining the key information of the target service flow for the target service flow needing to be subjected to in-band operation maintenance (IOAM), eliminating the service flow label in the target service flow.
8. An IOAM processing apparatus, comprising:
the information maintenance module is used for maintaining key information of a target service flow of an IOAM (in-band operation maintenance) to be carried out for the target service flow, wherein the key information comprises: dyeing marks, time stamp enabling marks, hop-by-hop detection marks and dyeing periods; the key information is carried in a service flow label inserted in the target service flow by the head node; the hop-by-hop detection mark is used for indicating whether the node other than the head node needs to perform performance statistics of the target service flow or not;
and the statistics module is used for carrying out the performance statistics of the target service flow according to the dyeing mark, the timestamp enabling mark and the dyeing period under the condition that the performance statistics of the target service flow is required to be carried out.
9. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the IOAM processing method of any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the IOAM processing method of any one of claims 1 to 7.
CN202111296162.0A 2021-11-03 2021-11-03 IOAM processing method, device, electronic equipment and computer readable storage medium Pending CN116074191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111296162.0A CN116074191A (en) 2021-11-03 2021-11-03 IOAM processing method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111296162.0A CN116074191A (en) 2021-11-03 2021-11-03 IOAM processing method, device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116074191A true CN116074191A (en) 2023-05-05

Family

ID=86177463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111296162.0A Pending CN116074191A (en) 2021-11-03 2021-11-03 IOAM processing method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116074191A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668343A (en) * 2023-07-31 2023-08-29 新华三技术有限公司 Stream following detection method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668343A (en) * 2023-07-31 2023-08-29 新华三技术有限公司 Stream following detection method, device, equipment and storage medium
CN116668343B (en) * 2023-07-31 2023-10-31 新华三技术有限公司 Stream following detection method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US7860965B1 (en) System and method for network traffic and I/O transaction monitoring of a high speed communications network
AU2019333833B2 (en) Topology processing method, apparatus, and system
CN112866075B (en) In-band network telemetering method, system and related device for Overlay network
US8248926B2 (en) Packet rate detection apparatus and method
CN110505161B (en) Message processing method and device
US20220407791A1 (en) Network performance detection method and apparatus, and network device
CN108521343A (en) A kind of processing method and processing device of OAM message
CN112714007B (en) Method and device for detecting service message dyeing marks of all IOAM (input/output access am) equipment
CN116074191A (en) IOAM processing method, device, electronic equipment and computer readable storage medium
CN112448926B (en) Processing method and system for in-band operation, management and maintenance (IOAM)
WO2019085809A1 (en) Method, relevant device and system for acquiring a target transmission path
CN116405431A (en) Data processing method, network node and computer readable storage medium
CN112787873B (en) IOAM time delay measurement performance sequencing method and system
CN102404152B (en) Method and equipment for identifying response messages
US20050243972A1 (en) Interface apparatus and method of interfacing a monitoring system
WO2023134574A1 (en) Method for flow statistics, device, and system
CN114157595B (en) Communication system, data processing method and related equipment
CN112702218B (en) Method, system, network device and storage medium for detecting data transmission quality
CN113473267B (en) Data transmission method, device and communication device
CN112152867B (en) Flow matrix measuring method, system and storage medium
WO2024055584A1 (en) Delay measurement method, electronic device, and computer-readable medium
CN109981414A (en) The acquisition methods of number of dropped packets between mpls network node
CN104394025A (en) OAM (Operation, Administration and Maintenance) message sending method
CN117221175A (en) Time delay measuring method and device, storage medium and program product thereof
CN105721197B (en) Improve the method and device of overall information collection accuracy of communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication