CN113992497A - IOAM measurement calculation method, device, equipment and storage medium - Google Patents

IOAM measurement calculation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113992497A
CN113992497A CN202111295959.9A CN202111295959A CN113992497A CN 113992497 A CN113992497 A CN 113992497A CN 202111295959 A CN202111295959 A CN 202111295959A CN 113992497 A CN113992497 A CN 113992497A
Authority
CN
China
Prior art keywords
ioam
node
label
detour
value
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
Application number
CN202111295959.9A
Other languages
Chinese (zh)
Other versions
CN113992497B (en
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202111295959.9A priority Critical patent/CN113992497B/en
Publication of CN113992497A publication Critical patent/CN113992497A/en
Application granted granted Critical
Publication of CN113992497B publication Critical patent/CN113992497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a storage medium for measuring and calculating IOAM, wherein the method comprises the steps of increasing a next station node label in reported performance information of the IOAM when carrying out hop-by-hop measurement of in-band operation maintenance management IOAM in an SRBE tunnel; when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node; after the detour occurs, the IOAM measured value is obtained according to the performance value before the detour and the performance value after the detour, so that the collector can easily sense the change of the SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that the IOAM measurement fails due to the traffic flow detour is avoided, the service path can be correctly displayed when the service path changes, and the accuracy and the efficiency of the IOAM measurement are improved.

Description

IOAM measurement calculation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for calculating an IOAM measurement.
Background
In the 5G rapid development process, the network transmission capability is continuously enhanced, higher requirements on the network quality are met, and the network transmission system is highly sensitive to network transmission packet loss, time delay and disorder; a lot of burst phenomena exist in the network transmission process, and if the transmission load exceeds the transmission capability of the device, the dropping behavior is generated, and the transmission delay jitter is too large, so that the message is retransmitted by both communication parties, and the communication quality is further influenced.
(Inband Operation, Maintenance and Management, IOAM) technology can bring better Operation and Maintenance service In packet loss rate, time delay measurement and disorder, and provide a good technical basis for intelligent Operation and Maintenance; in the existing scheme, a timestamp of a D packet arriving at each device node is recorded by identifying the D packet (a D bit after an IOAM stream tag encapsulated in a service packet header), each device node uploads information such as a count value and the timestamp to a collector, the collector processes reported information according to a service path, and packet loss, time delay and the like are calculated.
However, in a network carried by a Segment Routing on best Effort (SRBE) tunnel Based on best Effort forwarding, a collector cannot sense real-time change of a service path, and when performing hop-by-hop measurement of the IOAM, if the service path changes, the collector cannot correctly display the service path, so that packet loss and time delay of the IOAM are calculated and are not matched with a real environment; in addition, if the service flow monitored by the IOAM in the network borne by the SRBE tunnel is circuitous, the collector calculates IOAM packet loss and time delay errors, and IOAM measurement fails.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for measuring and calculating IOAM (access stratum object function), and aims to solve the technical problems that in a network borne by an SRBE (short message service) tunnel in the prior art, an acquirer cannot sense real-time change of a service path, when hop-by-hop measurement of the IOAM is carried out, if the service path changes, the acquirer cannot correctly display the service path, and IOAM measurement fails when service flow roundtrips.
In a first aspect, the present invention provides an IOAM measurement calculation method, including the steps of:
when the SRBE tunnel carries out hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node label in reported performance information of the IOAM;
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node;
after the detour occurs, the detour flow is counted and stamped separately in the intermediate node and the host node of the IOAM, the reported performance is marked with detour performance, and the IOAM measured value is obtained according to the performance value before the detour and the performance value after the detour.
Optionally, when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node tag in the reported performance information of the IOAM, where the step includes:
issuing a node label to each device in the network so that each device in the network obtains a next site node label according to a query forwarding equivalence class FEC and a next hop label forwarding mapping table FTN or an entrance label mapping table ILM;
and when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, inquiring a next site node label according to the FTN or the ILM, and adding the next site node label in performance information reported by the IOAM.
Optionally, when the SRBE tunnel performs hop-by-hop IOAM measurement, the step of encapsulating, at the IOAM source node, the node label of the current station and the node label of the next station into the IOAM message includes:
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, an IOAM message guide label and a flow label are obtained;
and simultaneously encapsulating the IOAM message guide label, the flow label, the site node label and the next site node label into an IOAM message according to a preset IOAM encapsulation format.
Optionally, when the SRBE tunnel performs hop-by-hop measurement of the in-band operation maintenance management IOAM, before adding the next station node tag to the performance information reported by the IOAM, the IOAM measurement calculation method further includes:
starting a 1588 synchronization function, and synchronizing 1588 time among all devices;
after 1588 time synchronization is carried out, an IOAM is statically configured at a source node through a network manager;
and controlling the IOAM processing engine to start an alternate marking timer according to a preset IOAM marking period.
Optionally, when the SRBE tunnel performs hop-by-hop IOAM measurement, after the IOAM source node encapsulates the node label of the current station and the node label of the next station into the IOAM message, the IOAM measurement calculation method further includes:
when all the IOAM information collected by all the sites is completely reported, determining vector guide information corresponding to all the node labels of the site and all the node labels of the next site, and calculating a service path according to the vector guide information;
and when the service path is detected to be changed, determining an IOAM measured value according to the changed path.
Optionally, after the detour occurs, separately counting and stamping detour traffic in an intermediate node and a sink node of the IOAM, marking the reported performance of the detour, and obtaining an IOAM measurement value according to the performance value before the detour and the performance value after the detour, including:
after the roundabout occurs, when an intermediate node and a host node of the IOAM receive the IOAM message, a flow label indicated value is obtained;
identifying the IOAM message according to the flow label indicated value to obtain a roundabout zone bit and a D bit value of the IOAM message;
and determining counting and stamping strategies of the intermediate node and the sink node according to the roundabout zone bit and the D bit value, separately counting and stamping roundabout flows in the intermediate node and the sink node according to the counting and stamping strategies, marking the reported performance of the roundabout, and obtaining an IOAM (input/output access am) measured value according to the performance value before the roundabout and the performance value after the roundabout.
Optionally, the determining, according to the detour flag and the D-bit value, a count-stamping policy of the intermediate node and the sink node, separately counting and stamping detour traffic in the intermediate node and the sink node according to the count-stamping policy, marking reported performance with detour performance, and obtaining an IOAM measurement value according to a performance value before detour and a performance value after detour, includes:
when the roundabout flag bit is 1, performing L bit value counting on the IOAM message of the intermediate node independently, updating fields corresponding to a node label of a local station and a node label of a next station, and performing L bit value counting on the IOAM message of the host node independently;
when the roundabout flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate a network flow number, an acquisition period, an L bit count value and a time-to-live value of an outermost layer label of a D message in IOAM messages of the intermediate node and the host node into performance information, marking the performance information in a roundabout mode, and updating fields corresponding to a site node label and a next site node label;
when the detour flag bit is 0, counting the L bit value of the IOAM message of the intermediate node, recording the label value of the station node in the entrance IOAM message, inquiring the label value of the next station, judging that detour occurs when the label value of the station node in the entrance IOAM message is equal to the label value of the next station node at the exit, packaging an IOAM message header, setting the detour flag bit to 1, updating the fields corresponding to the station node label and the next station node label, and counting the L bit value of the IOAM message of the host node independently;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package the network flow number, the acquisition period, the L bit count value and the lifetime value of the outmost label of the D message in the intermediate node and the host node IOAM message into performance information, and setting the detour flag bit in the lifetime value to be 0;
and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
In a second aspect, to achieve the above object, the present invention further provides an IOAM measurement calculation apparatus, including:
the label increasing module is used for increasing a next station node label in reported performance information of the IOAM when the SRBE tunnel carries out hop-by-hop measurement of the in-band operation maintenance management IOAM;
the simultaneous encapsulation module is used for encapsulating the node label of the site and the node label of the next site into an IOAM message at the IOAM source node when the SRBE tunnel carries out hop-by-hop measurement of the IOAM;
and the measurement module is used for counting and stamping detour flow in the intermediate node and the host node of the IOAM independently after detour occurs, marking the reported performance of the detour, and obtaining the IOAM measured value according to the performance value before the detour and the performance value after the detour.
In a third aspect, to achieve the above object, the present invention further provides an IOAM measurement computing device, including: a memory, a processor and an IOAM measurement computation program stored on the memory and executable on the processor, the IOAM measurement computation program configured to implement the steps of the IOAM measurement computation method as described above.
In a fourth aspect, to achieve the above object, the present invention further provides a storage medium having an IOAM measurement calculation program stored thereon, wherein the IOAM measurement calculation program, when executed by a processor, implements the steps of the IOAM measurement calculation method as described above.
The IOAM measurement calculation method provided by the invention adds a next station node label in the reported performance information of the IOAM when the in-band operation maintenance management IOAM hop-by-hop measurement is carried out in the SRBE tunnel; when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node; after detour occurs, detour flow is counted and stamped independently in an intermediate node and a host node of the IOAM, the reported performance is marked with detour performance, an IOAM measured value is obtained according to a performance value before detour and a performance value after detour, a collector can easily sense the change of an SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that IOAM measurement fails due to traffic flow detour is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of IOAM measurement are improved.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the IOAM measurement calculation method of the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the IOAM measurement calculation method of the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of the IOAM measurement calculation method of the present invention;
FIG. 5 is a schematic flow chart of a fourth embodiment of the IOAM measurement calculation method of the present invention;
FIG. 6 is a schematic flow chart of a fifth embodiment of the IOAM measurement calculation method of the present invention;
fig. 7 is a functional block diagram of a first embodiment of an IOAM measurement computing device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: when the hop-by-hop measurement of the in-band operation maintenance management IOAM is carried out in the SRBE tunnel, adding a next station node label in the reported performance information of the IOAM; when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node; after detour occurs, detour flow is counted and stamped independently in an intermediate node and a host node of the IOAM, the reported performance is marked with detour performance, an IOAM measured value is obtained according to a pre-detour performance value and a post-detour performance value, the collector can easily sense the change of an SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that the IOAM measurement fails due to the detour of the service flow is avoided, the service path can be displayed correctly when the service path changes, the accuracy and the efficiency of the IOAM measurement are improved, and the technical problems that in a network carried by an SRBE tunnel in the prior art, the collector cannot sense the real-time change of the service path, when the hop-by-hop measurement of the IOAM is carried out, if the service path changes, the collector cannot display the service path correctly, and the IOAM measurement fails when the service flow detour occurs are solved.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface). The Memory 1005 may be a high-speed RAM Memory or a Non-Volatile Memory (Non-Volatile Memory), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of storage medium, may include therein an operating system, a network communication module, a user interface module, and an IOAM measurement calculation program.
The apparatus of the present invention calls an IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and performs the following operations:
when the SRBE tunnel carries out hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node label in reported performance information of the IOAM;
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node;
after the detour occurs, the detour flow is counted and stamped separately in the intermediate node and the host node of the IOAM, the reported performance is marked with detour performance, and the IOAM measured value is obtained according to the performance value before the detour and the performance value after the detour.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and also performs the following operations:
issuing a node label to each device in the network so that each device in the network obtains a next site node label according to a query forwarding equivalence class FEC and a next hop label forwarding mapping table FTN or an entrance label mapping table ILM;
and when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, inquiring a next site node label according to the FTN or the ILM, and adding the next site node label in performance information reported by the IOAM.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and also performs the following operations:
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, an IOAM message guide label and a flow label are obtained;
and simultaneously encapsulating the IOAM message guide label, the flow label, the site node label and the next site node label into an IOAM message according to a preset IOAM encapsulation format.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and also performs the following operations:
starting a 1588 synchronization function, and synchronizing 1588 time among all devices;
after 1588 time synchronization is carried out, an IOAM is statically configured at a source node through a network manager;
and controlling the IOAM processing engine to start an alternate marking timer according to a preset IOAM marking period.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and also performs the following operations:
when all the IOAM information collected by all the sites is completely reported, determining vector guide information corresponding to all the node labels of the site and all the node labels of the next site, and calculating a service path according to the vector guide information;
and when the service path is detected to be changed, determining an IOAM measured value according to the changed path.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and also performs the following operations:
after the roundabout occurs, when an intermediate node and a host node of the IOAM receive the IOAM message, a flow label indicated value is obtained;
identifying the IOAM message according to the flow label indicated value to obtain a roundabout zone bit and a D bit value of the IOAM message;
and determining counting and stamping strategies of the intermediate node and the sink node according to the roundabout zone bit and the D bit value, separately counting and stamping roundabout flows in the intermediate node and the sink node according to the counting and stamping strategies, marking the reported performance of the roundabout, and obtaining an IOAM (input/output access am) measured value according to the performance value before the roundabout and the performance value after the roundabout.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 by the processor 1001, and also performs the following operations:
when the roundabout flag bit is 1, performing L bit value counting on the IOAM message of the intermediate node independently, updating fields corresponding to a node label of a local station and a node label of a next station, and performing L bit value counting on the IOAM message of the host node independently;
when the roundabout flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate a network flow number, an acquisition period, an L bit count value and a time-to-live value of an outermost layer label of a D message in IOAM messages of the intermediate node and the host node into performance information, marking the performance information in a roundabout mode, and updating fields corresponding to a site node label and a next site node label;
when the detour flag bit is 0, counting the L bit value of the IOAM message of the intermediate node, recording the label value of the station node in the entrance IOAM message, inquiring the label value of the next station, judging that detour occurs when the label value of the station node in the entrance IOAM message is equal to the label value of the next station node at the exit, packaging an IOAM message header, setting the detour flag bit to 1, updating the fields corresponding to the station node label and the next station node label, and counting the L bit value of the IOAM message of the host node independently;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package the network flow number, the acquisition period, the L bit count value and the lifetime value of the outmost label of the D message in the intermediate node and the host node IOAM message into performance information, and setting the detour flag bit in the lifetime value to be 0;
and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
According to the scheme, when the SRBE tunnel is used for carrying out hop-by-hop measurement of the in-band operation maintenance management IOAM, a next station node label is added to the reported performance information of the IOAM; when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node; after detour occurs, detour flow is counted and stamped independently in an intermediate node and a host node of the IOAM, the reported performance is marked with detour performance, an IOAM measured value is obtained according to a performance value before detour and a performance value after detour, a collector can easily sense the change of an SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that IOAM measurement fails due to traffic flow detour is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of IOAM measurement are improved.
Based on the hardware structure, the embodiment of the IOAM measurement calculation method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of the IOAM measurement calculation method according to the first embodiment of the present invention.
In a first embodiment, the IOAM measurement calculation method includes the steps of:
step S10, when the SRBE tunnel carries out the hop-by-hop measurement of the in-band operation maintenance management IOAM, the next station node label is added in the reported performance information of the IOAM.
It should be noted that by adding the next station node tag in the IOAM reported performance information, the SRBE tunnel can correctly display the service path when performing the hop-by-hop IOAM measurement.
Step S20, when the SRBE tunnel performs the hop-by-hop IOAM measurement, the node label of the current station and the node label of the next station are encapsulated into the IOAM message at the same time at the IOAM source node.
It can be understood that, when performing IOAM hop-by-hop measurement, the node label of the present site and the node label of the next site can be encapsulated into the IOAM message at the IOAM source node, so as to expand the header information of the IOAM message and prepare for the detour marking of the subsequent traffic flow.
And step S30, after the detour occurs, counting and stamping detour flow in the intermediate node and the host node of the IOAM independently, marking the reported performance of the detour, and obtaining the IOAM measured value according to the performance value before the detour and the performance value after the detour.
It should be understood that after traffic flow detours, detour traffic can be counted and stamped separately in the intermediate node and the sink node of the IOAM, and both can be counted and stamped through the matching message, and simultaneously, when reporting performance, the performance is marked, that is, the performance is marked as being generated by detour, and the IOAM measurement value can be calculated through the performance value before detour and the performance value after detour.
According to the scheme, when the SRBE tunnel is used for carrying out hop-by-hop measurement of the in-band operation maintenance management IOAM, a next station node label is added to the reported performance information of the IOAM; when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node; after detour occurs, detour flow is counted and stamped independently in an intermediate node and a host node of the IOAM, the reported performance is marked with detour performance, an IOAM measured value is obtained according to a performance value before detour and a performance value after detour, a collector can easily sense the change of an SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that IOAM measurement fails due to traffic flow detour is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of IOAM measurement are improved.
Further, fig. 3 is a schematic flowchart of a second embodiment of the IOAM measurement calculation method of the present invention, and as shown in fig. 3, the second embodiment of the IOAM measurement calculation method of the present invention is proposed based on the first embodiment, and in this embodiment, the step S10 specifically includes the following steps:
step S11, issuing a node label to each device in the network, so that each device in the network obtains a next site node label according to the query forwarding equivalence class FEC and the next hop label forwarding mapping table FTN or the entry label mapping table ILM.
It should be noted that a node Label may be issued to each device in the network, and after the node is issued, each device in the network may obtain a node Label of a Next node according to a Forwarding Equivalence Class (FEC) and a Next-Hop Label Forwarding mapping table (FEC to NHLFE, Forwarding Equivalence Class to Next Hop Label Forwarding Entry, FTN) or an ingress Label mapping table (Incoming Label Map, ILM).
Step S12, when the SRBE tunnel performs the hop-by-hop IOAM measurement, querying a next site node label according to the FTN or the ILM, and adding the next site node label to performance information reported by the IOAM.
It can be understood that, when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, the next-station node label is added to the reported performance information of the IOAM, the starting station may query the FEC and the next-hop label forwarding mapping table FTN to obtain the next-station node label, and each station that passes through subsequently may query the entry label mapping table ILM to obtain the next-station node label of the station.
According to the scheme, each device in the network obtains the next site node label according to the query forwarding equivalence class FEC and the next hop label forwarding mapping table FTN or the entry label mapping table ILM by issuing the node label to each device in the network; when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, the next site node label is inquired according to the FTN or the ILM, and the next site node label is added in the reported performance information of the IOAM, so that the collector can easily sense the change of the SRBE service path, and the accuracy of calculating the IOAM measured value is improved.
Further, fig. 4 is a schematic flowchart of a third embodiment of the IOAM measurement calculation method of the present invention, and as shown in fig. 4, the third embodiment of the IOAM measurement calculation method of the present invention is proposed based on the first embodiment, and in this embodiment, the step S20 specifically includes the following steps:
step S21, when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the IOAM message guide label and the flow label are obtained.
It should be noted that, when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, the IOAM stream may be obtained, where the IOAM stream refers to a packet stream in which the service packet is inserted into the IOAM guide tag and the flow tag and the L and D values are marked.
Step S22, according to a preset IOAM encapsulation format, simultaneously encapsulate the IOAM packet guidance label, the flow label, the local node label, and the next node label into an IOAM packet.
It can be understood that the IOAM packet guidance label, the flow label, the site node label, and the next site node label can be encapsulated into the IOAM packet at the same time through a preset IOAM encapsulation format.
In a specific implementation, the IOAM packaging format is preset to be an improved message packaging format; the following table shows the extended IOAM encapsulation format of the present embodiment:
Figure BDA0003336607740000111
wherein, TC is Traffic Control and flow management
Stack, representing stack bottom mark
TTL Time To Live, Life cycle
LOSS, representing the identifier of packet LOSS
DELAY, representing a DELAY marker
R reserved field
S/R: if the guide label is at the bottom of the stack, setting 1 as a default for reserving R; if the guide label is not at the bottom of the stack, the guide label is an S mark;
NextHeade:
0x 00: reserving;
0x 01: the FIH is represented as basic detection information and does not carry an extension header;
0x 02: the FIH is represented as optional hop-by-hop detection information and does not carry an extension header;
0x03, representing that the FIH carries 2 layers of node labels which are the node label of the next station and the node label of the station;
0x04-0 xFF: reserving and expanding for use;
NextNodeId: node label of next site;
a roundabout Flag bit for marking whether the service flow monitored by the IOAM is roundabout; 1: the detour 0: the roundabout does not occur;
nextpeaderoffset: the offset of the next layer header from the initial position of FII is 4 bytes as a unit, and if the next layer header does not exist behind the unit, the offset is 0;
SrcNodeId is the node label of the site.
According to the scheme, when the SRBE tunnel is used for carrying out hop-by-hop measurement of the IOAM, the IOAM message guide label and the flow label are obtained; according to a preset IOAM encapsulation format, encapsulating the IOAM message guide label, the flow label, the site node label and the next site node label into an IOAM message at the same time; the method can enable the collector to easily sense the change of the SRBE service path, and improves the accuracy of calculating the IOAM measured value.
Further, fig. 5 is a schematic flow chart of a fourth embodiment of the IOAM measurement calculation method of the present invention, and as shown in fig. 5, the fourth embodiment of the IOAM measurement calculation method of the present invention is proposed based on the first embodiment, and in this embodiment, before the step S10, the IOAM measurement calculation method further includes the following steps:
and step S01, starting a 1588 synchronization function, and synchronizing 1588 time among the devices.
It should be noted that before enabling the IOAM, a 1588 time synchronization function may be deployed first, and a 1588 error may be within ns level, so as to ensure that an application meeting a one-second mark period of the IOAM is satisfied, and the 1588 synchronization function is enabled to synchronize 1588 time between each device; 1588 time is a high-precision clock, 1588 time synchronization shows that 1588 times of all devices in a network are consistent, so that a timestamp of each station is consistent with an initial time point of a timestamp of a single station when a message is transmitted in the network.
Step S02, after 1588 time synchronization, the IOAM is statically configured at the source node through the network management.
It can be understood that after 1588 time synchronization is performed, IOAM is statically configured at a source node through a network manager, the static configuration mode is the same as a mode of configuring device services by the network manager, and configuration parameters mainly include a period, a stream ID, a mode, a node type, and the like.
And step S03, controlling the IOAM processing engine to start the alternate marking timer according to the preset IOAM marking period.
It should be understood that the IOAM processing engine is controlled to start the alternate marking timer according to the preset IOAM marking period, and the encapsulation of the IOAM packet guidance label, the flow label, the station node label, the next station node label and the alternate marking of L, D can be generally performed according to the preset IOAM encapsulation format, and at the same time, the first packet of each marking period is marked as a D packet (D equals to 1).
Through the scheme, 1588 time among all devices is synchronized by starting a 1588 synchronization function; after 1588 time synchronization is carried out, an IOAM is statically configured at a source node through a network manager; the control IOAM processing engine starts the alternate marking timer according to the preset IOAM marking period, corresponding deployment and configuration can be carried out before the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, preparation is made for the hop-by-hop measurement of the IOAM, the speed and the efficiency of IOAM measurement and calculation are further improved, and the time of IOAM measurement and calculation is saved.
Further, fig. 6 is a schematic flowchart of a fifth embodiment of the IOAM measurement calculation method of the present invention, and as shown in fig. 6, the fifth embodiment of the IOAM measurement calculation method of the present invention is proposed based on the first embodiment, and in this embodiment, the step S30 specifically includes the following steps:
step S31, after the detour occurs, when the intermediate node and the sink node of the IOAM receive the IOAM packet, obtain the indicated value of the traffic label.
It should be noted that, after the detour occurs, when the intermediate node and the sink node of the IOAM receive the IOAM packet, the flow label indication value may be obtained, and the value of each IOAM flow is the same, which may be generally regarded as 12 by default.
Step S32, identifying the IOAM message according to the indicated value of the flow label, and obtaining a roundabout flag bit and a D bit value of the IOAM message.
It can be understood that the IAOM packet can be identified according to the flow label indication value, if the packet is an IOAM packet, the bypass flag bit in the packet header and the D bit value of the IOAM packet can be further identified, where the D bit value refers to a D bit after an IOAM flow label encapsulated by a service packet header, the bit is assigned to 1 in a first packet at the beginning of a period, all the remaining packets in the period are assigned to 0, the bit in a 1 st packet in a next period is also assigned to 1, all the remaining packets in the next period are assigned to 0, and thus, the packet assigned to 1 is a D packet; correspondingly, the corresponding L packet is an L bit after the IOAM flow label encapsulated by the service packet header, and this bit is assigned to 0 in one period, assigned to 1 in the next period, and assigned to 0 in the next period, and this is repeated, and both L and L are L packets.
Step S33, determining a count stamping policy of the intermediate node and the sink node according to the detour flag and the D-bit value, separately counting and stamping detour traffic in the intermediate node and the sink node according to the count stamping policy, marking the reported performance with detour performance, and obtaining an IOAM measurement value according to a performance value before detour and a performance value after detour.
It can be understood that, when the count stamping strategies of the intermediate node and the sink node are determined by the detour flag bit and the D bit value, different detour flag bits and D bit values correspond to different count stamping strategies, detour traffic in the intermediate node and the sink node can be separately counted and stamped by the count stamping strategies, so that the reported performance is marked by the detour performance, and an IOAM measurement value is obtained according to the performance value before detour and the performance value after detour.
Further, the step S33 includes the following steps:
when the roundabout flag bit is 1, performing L bit value counting on the IOAM message of the intermediate node independently, updating fields corresponding to a node label of a local station and a node label of a next station, and performing L bit value counting on the IOAM message of the host node independently;
when the roundabout flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate a network flow number, an acquisition period, an L bit count value and a time-to-live value of an outermost layer label of a D message in IOAM messages of the intermediate node and the host node into performance information, marking the performance information in a roundabout mode, and updating fields corresponding to a site node label and a next site node label;
when the detour flag bit is 0, counting the L bit value of the IOAM message of the intermediate node, recording the label value of the station node in the entrance IOAM message, inquiring the label value of the next station, judging that detour occurs when the label value of the station node in the entrance IOAM message is equal to the label value of the next station node at the exit, packaging an IOAM message header, setting the detour flag bit to 1, updating the fields corresponding to the station node label and the next station node label, and counting the L bit value of the IOAM message of the host node independently;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package the network flow number, the acquisition period, the L bit count value and the lifetime value of the outmost label of the D message in the intermediate node and the host node IOAM message into performance information, and setting the detour flag bit in the lifetime value to be 0;
and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
It should be noted that when the detour flag is 1, the IOAM packet of the intermediate node may be individually subjected to L-bit value counting, and when an IOAM header of the packet is encapsulated at an exit, the detour flag may be continuously set to 1, and meanwhile, fields corresponding to the node label of the current station and the next station node may be updated, and the IOAM packet of the sink node may be individually subjected to L-bit value counting.
It can be understood that, when both the detour flag bit and the D bit value are 1, the IOAM processing engine may be a CPU/FPGA or other hardware processing unit, and encapsulate the FLOW ID of the network FLOW number, the acquisition period, the L bit count value, and the TTL value of the outermost layer tag of the D packets in the IOAM packets of the intermediate node and the sink node together into performance information, perform detour performance tagging on the performance information, and update the fields corresponding to the node tag of the present station and the next station; because the survival time value only needs 8 bits, the high order can be used to carry the node label of the next station, and the roundabout mark in the expanded TTL value field needs to be set to inform the collector of the performance value generated by the roundabout flow currently.
It should be understood that, when the detour flag is 0, an L-bit value of the IOAM packet of the intermediate node is counted, a local station node tag value in an ingress IOAM packet is recorded, a next station tag value is queried, if the local station node tag value is equal to a next station tag value at an egress, it is determined that detour occurs, at this time, when an IOAM packet header is encapsulated, the detour flag needs to be set to 1 to indicate that detour occurs, otherwise, the detour flag is set to 0, and a field corresponding to the local station node tag and the next station node tag is updated.
It can be understood that, when the detour flag is 0 and the D bit value is 1, the detour flag may be installed to be 0 for processing, and the IOAM processing engine is further controlled to encapsulate the network flow number, the acquisition period, the L bit count value, and the lifetime value of the outermost layer tag of the D packet in the IOAM packet of the intermediate node and the sink node into the performance information, and perform detour performance marking on the performance information, at this time, only the node tag of the next site may be carried, and the detour flag in the lifetime value may be set to 0.
It should be understood that, when the detour flag is 0 and the D bit value is 1, the IOAM processing engine is controlled to encapsulate the network flow number, the acquisition period, the L bit count value, and the lifetime value of the outermost layer tag of the D packets in the IOAM packets of the intermediate node and the sink node into performance information, and set the detour flag in the lifetime value to 0; and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
It is understood that when the detour flag is 0, it is not necessary to count L separately; when the roundabout flag is 0, the forwarding plane judges whether roundabout occurs, modifies the flag bit of whether roundabout occurs in the forwarding plane message, and sets the flag bit of roundabout in the message reporting performance to 0.
In specific implementation, when the destination node receives the IOAM stream, the processing mode is similar to that of the intermediate node, the IOAM packet is first identified according to the flow label indicated value, and if the IOAM packet is, the F detour flag bit in the packet header is further identified: if F is 1, counting the L bit value of the message independently; if F is 1 and D bit value D is 1, mirroring the message to an IOAM processing engine (CPU/FPGA or other hardware processing units), encapsulating FLOWID in the D message, an acquisition period, an L bit count value and TTL value of an outermost layer label into a performance information structure by the IOAM processing engine, and then sending the performance information to a performance collector, wherein the next node NextNodeId is 0 because a host node can terminate the node label; meanwhile, an F roundabout mark in an expanded TTL value field needs to be set to inform a collector of a performance value generated by roundabout flow currently; if F is equal to 0, performing default L counting on the message; if F is 0 and D is 1, the message is processed according to the method (3), and the message is mirrored to an IOAM processing engine (CPU/FPGA or other hardware processing unit), and the IOAM processing engine encapsulates the network flow number FLOWID in the D message, the acquisition period, the L-bit count value, and the TTL value of the outermost label into a performance information structure, and then sends the performance information to the performance acquirer. At this time, only the node label NextNodeId of the next site is carried as 0, and the F detour flag in the extended TTL value field is set as 0.
According to the scheme, after the roundabout occurs, when the intermediate node and the destination node of the IOAM receive the IOAM message, the indicated value of the traffic label is obtained; identifying the IOAM message according to the flow label indicated value to obtain a roundabout zone bit and a D bit value of the IOAM message; and determining a counting and stamping strategy of the intermediate node and the sink node according to the roundabout flag bit and the D bit value, separately counting and stamping roundabout flows in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance of the roundabout, and obtaining an IOAM (input/output object access memory) measurement value according to the performance value before the roundabout and the performance value after the roundabout, so that a collector can easily sense the change of an SRBE (short message busy service) service path, the accuracy of calculating the IOAM measurement value is improved, and the condition that the IOAM measurement fails due to the roundabout service flow is avoided.
Accordingly, the invention further provides an IOAM measurement calculation device.
Referring to fig. 7, fig. 7 is a functional block diagram of a first embodiment of an IOAM measurement calculating apparatus according to the present invention.
In a first embodiment of an IOAM measurement calculation apparatus according to the present invention, the IOAM measurement calculation apparatus includes:
a tag adding module 10, configured to add a next station node tag in performance information reported by the IOAM when performing hop-by-hop measurement of the in-band operation maintenance management IOAM in the SRBE tunnel.
And a simultaneous encapsulation module 20, configured to encapsulate, at the IOAM source node, the node label of the current station and the node label of the next station into an IOAM message when performing hop-by-hop measurement of IOAM in the SRBE tunnel.
And the measurement module 30 is configured to count and stamp detour traffic individually in the intermediate node and the sink node of the IOAM after detour occurs, perform detour performance marking on the reported performance, and obtain an IOAM measurement value according to the performance value before detour and the performance value after detour.
The label adding module 10 is further configured to issue a node label to each device in the network, so that each device in the network obtains a next site node label according to the query forwarding equivalence class FEC and the next hop label forwarding mapping table FTN or the entry label mapping table ILM; and when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, inquiring a next site node label according to the FTN or the ILM, and adding the next site node label in performance information reported by the IOAM.
The simultaneous encapsulation module 20 is further configured to obtain an IOAM packet guidance label and a flow label when the SRBE tunnel performs the hop-by-hop IOAM measurement; and simultaneously encapsulating the IOAM message guide label, the flow label, the site node label and the next site node label into an IOAM message according to a preset IOAM encapsulation format.
The tag adding module 10 is further configured to enable a 1588 synchronization function, and synchronize 1588 time between the devices; after 1588 time synchronization is carried out, an IOAM is statically configured at a source node through a network manager; and controlling the IOAM processing engine to start an alternate marking timer according to a preset IOAM marking period.
The simultaneous encapsulation module 20 is further configured to determine vector guidance information corresponding to all the node labels of the local station and all the node labels of the next station when all the IOAM acquisition information of all the stations is completely reported, and calculate a service path according to the vector guidance information; and when the service path is detected to be changed, determining an IOAM measured value according to the changed path.
The measurement module 30 is further configured to obtain a traffic label indicated value when the intermediate node and the sink node of the IOAM receive the IOAM packet after the detour occurs; identifying the IOAM message according to the flow label indicated value to obtain a roundabout zone bit and a D bit value of the IOAM message; and determining counting and stamping strategies of the intermediate node and the sink node according to the roundabout zone bit and the D bit value, separately counting and stamping roundabout flows in the intermediate node and the sink node according to the counting and stamping strategies, marking the reported performance of the roundabout, and obtaining an IOAM (input/output access am) measured value according to the performance value before the roundabout and the performance value after the roundabout.
The measurement module 30 is further configured to count an L bit value of the IOAM packet of the intermediate node individually when the detour flag is 1, update fields corresponding to a node label of the station and a node label of a next station, and count an L bit value of the IOAM packet of the host node individually; when the roundabout flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate a network flow number, an acquisition period, an L bit count value and a time-to-live value of an outermost layer label of a D message in IOAM messages of the intermediate node and the host node into performance information, marking the performance information in a roundabout mode, and updating fields corresponding to a site node label and a next site node label; when the detour flag bit is 0, counting the L bit value of the IOAM message of the intermediate node, recording the label value of the station node in the entrance IOAM message, inquiring the label value of the next station, judging that detour occurs when the label value of the station node in the entrance IOAM message is equal to the label value of the next station node at the exit, packaging an IOAM message header, setting the detour flag bit to 1, updating the fields corresponding to the station node label and the next station node label, and counting the L bit value of the IOAM message of the host node independently; when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package the network flow number, the acquisition period, the L bit count value and the lifetime value of the outmost label of the D message in the intermediate node and the host node IOAM message into performance information, and setting the detour flag bit in the lifetime value to be 0; and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
The steps implemented by each functional module of the IOAM measurement calculating device may refer to each embodiment of the IOAM measurement calculating method of the present invention, and are not described herein again.
In addition, an embodiment of the present invention further provides a storage medium, where an IOAM measurement calculation program is stored on the storage medium, and when executed by a processor, the IOAM measurement calculation program implements the following operations:
when the SRBE tunnel carries out hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node label in reported performance information of the IOAM;
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node;
after the detour occurs, the detour flow is counted and stamped separately in the intermediate node and the host node of the IOAM, the reported performance is marked with detour performance, and the IOAM measured value is obtained according to the performance value before the detour and the performance value after the detour.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
issuing a node label to each device in the network so that each device in the network obtains a next site node label according to a query forwarding equivalence class FEC and a next hop label forwarding mapping table FTN or an entrance label mapping table ILM;
and when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, inquiring a next site node label according to the FTN or the ILM, and adding the next site node label in performance information reported by the IOAM.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, an IOAM message guide label and a flow label are obtained;
and simultaneously encapsulating the IOAM message guide label, the flow label, the site node label and the next site node label into an IOAM message according to a preset IOAM encapsulation format.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
starting a 1588 synchronization function, and synchronizing 1588 time among all devices;
after 1588 time synchronization is carried out, an IOAM is statically configured at a source node through a network manager;
and controlling the IOAM processing engine to start an alternate marking timer according to a preset IOAM marking period.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
when all the IOAM information collected by all the sites is completely reported, determining vector guide information corresponding to all the node labels of the site and all the node labels of the next site, and calculating a service path according to the vector guide information;
and when the service path is detected to be changed, determining an IOAM measured value according to the changed path.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
after the roundabout occurs, when an intermediate node and a host node of the IOAM receive the IOAM message, a flow label indicated value is obtained;
identifying the IOAM message according to the flow label indicated value to obtain a roundabout zone bit and a D bit value of the IOAM message;
and determining counting and stamping strategies of the intermediate node and the sink node according to the roundabout zone bit and the D bit value, separately counting and stamping roundabout flows in the intermediate node and the sink node according to the counting and stamping strategies, marking the reported performance of the roundabout, and obtaining an IOAM (input/output access am) measured value according to the performance value before the roundabout and the performance value after the roundabout.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
when the roundabout flag bit is 1, performing L bit value counting on the IOAM message of the intermediate node independently, updating fields corresponding to a node label of a local station and a node label of a next station, and performing L bit value counting on the IOAM message of the host node independently;
when the roundabout flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate a network flow number, an acquisition period, an L bit count value and a time-to-live value of an outermost layer label of a D message in IOAM messages of the intermediate node and the host node into performance information, marking the performance information in a roundabout mode, and updating fields corresponding to a site node label and a next site node label;
when the detour flag bit is 0, counting the L bit value of the IOAM message of the intermediate node, recording the label value of the station node in the entrance IOAM message, inquiring the label value of the next station, judging that detour occurs when the label value of the station node in the entrance IOAM message is equal to the label value of the next station node at the exit, packaging an IOAM message header, setting the detour flag bit to 1, updating the fields corresponding to the station node label and the next station node label, and counting the L bit value of the IOAM message of the host node independently;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package the network flow number, the acquisition period, the L bit count value and the lifetime value of the outmost label of the D message in the intermediate node and the host node IOAM message into performance information, and setting the detour flag bit in the lifetime value to be 0;
and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
According to the scheme, when the SRBE tunnel is used for carrying out hop-by-hop measurement of the in-band operation maintenance management IOAM, a next station node label is added to the reported performance information of the IOAM; when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node; after detour occurs, detour flow is counted and stamped independently in an intermediate node and a host node of the IOAM, the reported performance is marked with detour performance, an IOAM measured value is obtained according to a performance value before detour and a performance value after detour, a collector can easily sense the change of an SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that IOAM measurement fails due to traffic flow detour is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of IOAM measurement are improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An IOAM measurement calculation method, comprising:
when the SRBE tunnel carries out hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node label in reported performance information of the IOAM;
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at an IOAM source node;
after the detour occurs, the detour flow is counted and stamped separately in the intermediate node and the host node of the IOAM, the reported performance is marked with detour performance, and the IOAM measured value is obtained according to the performance value before the detour and the performance value after the detour.
2. The IOAM measurement calculation method according to claim 1, wherein the adding a next station node tag in the IOAM report performance information when performing the hop-by-hop measurement of the in-band operation maintenance management IOAM in the SRBE tunnel includes:
issuing a node label to each device in the network so that each device in the network obtains a next site node label according to a query forwarding equivalence class FEC and a next hop label forwarding mapping table FTN or an entrance label mapping table ILM;
and when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, inquiring a next site node label according to the FTN or the ILM, and adding the next site node label in performance information reported by the IOAM.
3. The IOAM measurement computation method of claim 1, wherein the encapsulating, at the IOAM source node, the site node label and the next site node label into the IOAM message at the same time when performing the hop-by-hop measurement of IOAM in the SRBE tunnel comprises:
when the SRBE tunnel carries out hop-by-hop measurement of IOAM, an IOAM message guide label and a flow label are obtained;
and simultaneously encapsulating the IOAM message guide label, the flow label, the site node label and the next site node label into an IOAM message according to a preset IOAM encapsulation format.
4. The IOAM measurement calculation method according to claim 1, wherein when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM, before adding a next station node tag to the IOAM report performance information, the IOAM measurement calculation method further comprises:
starting a 1588 synchronization function, and synchronizing 1588 time among all devices;
after 1588 time synchronization is carried out, an IOAM is statically configured at a source node through a network manager;
and controlling the IOAM processing engine to start an alternate marking timer according to a preset IOAM marking period.
5. The IOAM measurement computation method according to claim 1, wherein when the SRBE tunnel performs the hop-by-hop IOAM measurement, after the IOAM source node encapsulates the site node label and the next site node label into the IOAM message at the same time, the IOAM measurement computation method further comprises:
when all the IOAM information collected by all the sites is completely reported, determining vector guide information corresponding to all the node labels of the site and all the node labels of the next site, and calculating a service path according to the vector guide information;
and when the service path is detected to be changed, determining an IOAM measured value according to the changed path.
6. The IOAM measurement computation method of claim 1, wherein the method for counting and stamping detour traffic individually in the intermediate node and the sink node of the IOAM after the detour occurs, marking the reported performance with detour performance, and obtaining the IOAM measurement value according to the pre-detour performance value and the post-detour performance value comprises:
after the roundabout occurs, when an intermediate node and a host node of the IOAM receive the IOAM message, a flow label indicated value is obtained;
identifying the IOAM message according to the flow label indicated value to obtain a roundabout zone bit and a D bit value of the IOAM message;
and determining counting and stamping strategies of the intermediate node and the sink node according to the roundabout zone bit and the D bit value, separately counting and stamping roundabout flows in the intermediate node and the sink node according to the counting and stamping strategies, marking the reported performance of the roundabout, and obtaining an IOAM (input/output access am) measured value according to the performance value before the roundabout and the performance value after the roundabout.
7. The IOAM measurement computation method of claim 6, wherein the determining count-stamping policies for the intermediate node and the sink node according to the detour flag bit and the D-bit value, separately counting and stamping detour traffic in the intermediate node and the sink node according to the count-stamping policies, marking reported performance for detour performance, and obtaining IOAM measurement values according to pre-detour performance values and post-detour performance values comprises:
when the roundabout flag bit is 1, performing L bit value counting on the IOAM message of the intermediate node independently, updating fields corresponding to a node label of a local station and a node label of a next station, and performing L bit value counting on the IOAM message of the host node independently;
when the roundabout flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate a network flow number, an acquisition period, an L bit count value and a time-to-live value of an outermost layer label of a D message in IOAM messages of the intermediate node and the host node into performance information, marking the performance information in a roundabout mode, and updating fields corresponding to a site node label and a next site node label;
when the detour flag bit is 0, counting the L bit value of the IOAM message of the intermediate node, recording the label value of the station node in the entrance IOAM message, inquiring the label value of the next station, judging that detour occurs when the label value of the station node in the entrance IOAM message is equal to the label value of the next station node at the exit, packaging an IOAM message header, setting the detour flag bit to 1, updating the fields corresponding to the station node label and the next station node label, and counting the L bit value of the IOAM message of the host node independently;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package the network flow number, the acquisition period, the L bit count value and the lifetime value of the outmost label of the D message in the intermediate node and the host node IOAM message into performance information, and setting the detour flag bit in the lifetime value to be 0;
and obtaining a performance value before detour and a performance value after detour, and performing D message timestamp subtraction calculation according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
8. An IOAM measurement computing device, the IOAM measurement computing device comprising:
the label increasing module is used for increasing a next station node label in reported performance information of the IOAM when the SRBE tunnel carries out hop-by-hop measurement of the in-band operation maintenance management IOAM;
the simultaneous encapsulation module is used for encapsulating the node label of the site and the node label of the next site into an IOAM message at the IOAM source node when the SRBE tunnel carries out hop-by-hop measurement of the IOAM;
and the measurement module is used for counting and stamping detour flow in the intermediate node and the host node of the IOAM independently after detour occurs, marking the reported performance of the detour, and obtaining the IOAM measured value according to the performance value before the detour and the performance value after the detour.
9. An IOAM measurement computing device, the IOAM measurement computing device comprising: memory, a processor and an IOAM measurement computation program stored on the memory and executable on the processor, the IOAM measurement computation program being configured to implement the steps of the IOAM measurement computation method of any one of claims 1 to 7.
10. A storage medium having stored thereon an IOAM measurement computation program which, when executed by a processor, implements the steps of the IOAM measurement computation method of any one of claims 1 to 7.
CN202111295959.9A 2021-11-03 2021-11-03 IOAM measurement calculation method, device, equipment and storage medium Active CN113992497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111295959.9A CN113992497B (en) 2021-11-03 2021-11-03 IOAM measurement calculation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111295959.9A CN113992497B (en) 2021-11-03 2021-11-03 IOAM measurement calculation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113992497A true CN113992497A (en) 2022-01-28
CN113992497B CN113992497B (en) 2023-05-26

Family

ID=79746213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111295959.9A Active CN113992497B (en) 2021-11-03 2021-11-03 IOAM measurement calculation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113992497B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567542A (en) * 2022-02-16 2022-05-31 烽火通信科技股份有限公司 Hard pipeline special line hop-by-hop service detection method, device, equipment and storage medium
WO2024078549A1 (en) * 2022-10-13 2024-04-18 中兴通讯股份有限公司 In-band operation administration and maintenance (ioam) performance acquisition rule adjusting method and system
WO2024088064A1 (en) * 2022-10-28 2024-05-02 中兴通讯股份有限公司 In-band operation, administration and maintenance (oam) measurement method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180176134A1 (en) * 2016-12-21 2018-06-21 Cisco Technology, Inc. MACHINE LEARNING-DERIVED ENTROPY PATH GRAPH FROM IN-SITU OAM (iOAM) DATA
WO2018188464A1 (en) * 2017-04-13 2018-10-18 中兴通讯股份有限公司 Methods and devices for realizing ioam, and storage medium
WO2019165803A1 (en) * 2018-03-01 2019-09-06 中兴通讯股份有限公司 Message processing method and apparatus, and message encapsulating method, apparatus and system
CN110493129A (en) * 2019-07-25 2019-11-22 新华三大数据技术有限公司 Update method, message forwarding method and the device in backup label path
CN110971331A (en) * 2019-11-26 2020-04-07 中国信息通信研究院 Hop-by-hop time delay measurement method and system
US20200204401A1 (en) * 2017-05-18 2020-06-25 Zte Corporation Method and device for automatically implementing ioam encapsulation and storage medium
CN111385121A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Transmission method of operation administration maintenance (iOAM) message and corresponding device
CN112383450A (en) * 2020-11-30 2021-02-19 盛科网络(苏州)有限公司 Network congestion detection method and device
CN112491926A (en) * 2020-12-11 2021-03-12 迈普通信技术股份有限公司 SRv6 path quality measuring method, device, electronic equipment and storage medium
CN112787873A (en) * 2019-11-01 2021-05-11 烽火通信科技股份有限公司 IOAM time delay measurement performance sequencing method and system
WO2021190009A1 (en) * 2020-03-24 2021-09-30 中兴通讯股份有限公司 Performance measurement method and apparatus, device, and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180176134A1 (en) * 2016-12-21 2018-06-21 Cisco Technology, Inc. MACHINE LEARNING-DERIVED ENTROPY PATH GRAPH FROM IN-SITU OAM (iOAM) DATA
WO2018188464A1 (en) * 2017-04-13 2018-10-18 中兴通讯股份有限公司 Methods and devices for realizing ioam, and storage medium
US20200204401A1 (en) * 2017-05-18 2020-06-25 Zte Corporation Method and device for automatically implementing ioam encapsulation and storage medium
WO2019165803A1 (en) * 2018-03-01 2019-09-06 中兴通讯股份有限公司 Message processing method and apparatus, and message encapsulating method, apparatus and system
CN111385121A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Transmission method of operation administration maintenance (iOAM) message and corresponding device
CN110493129A (en) * 2019-07-25 2019-11-22 新华三大数据技术有限公司 Update method, message forwarding method and the device in backup label path
CN112787873A (en) * 2019-11-01 2021-05-11 烽火通信科技股份有限公司 IOAM time delay measurement performance sequencing method and system
CN110971331A (en) * 2019-11-26 2020-04-07 中国信息通信研究院 Hop-by-hop time delay measurement method and system
WO2021190009A1 (en) * 2020-03-24 2021-09-30 中兴通讯股份有限公司 Performance measurement method and apparatus, device, and storage medium
CN112383450A (en) * 2020-11-30 2021-02-19 盛科网络(苏州)有限公司 Network congestion detection method and device
CN112491926A (en) * 2020-12-11 2021-03-12 迈普通信技术股份有限公司 SRv6 path quality measuring method, device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汤钦华;侯晋;王路遥;袁骏毅;: "基于远程过程调用的网络流量可视化技术研究与应用", 中国数字医学 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567542A (en) * 2022-02-16 2022-05-31 烽火通信科技股份有限公司 Hard pipeline special line hop-by-hop service detection method, device, equipment and storage medium
CN114567542B (en) * 2022-02-16 2023-09-15 烽火通信科技股份有限公司 Hard pipeline private line hop-by-hop service detection method, device, equipment and storage medium
WO2024078549A1 (en) * 2022-10-13 2024-04-18 中兴通讯股份有限公司 In-band operation administration and maintenance (ioam) performance acquisition rule adjusting method and system
WO2024088064A1 (en) * 2022-10-28 2024-05-02 中兴通讯股份有限公司 In-band operation, administration and maintenance (oam) measurement method and system

Also Published As

Publication number Publication date
CN113992497B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN113992497B (en) IOAM measurement calculation method, device, equipment and storage medium
US20220086073A1 (en) Data packet detection method, device, and system
EP2884697B1 (en) Measuring method, device and system for network packet loss
CN105072629B (en) Method, equipment and the system of the quality of the business run in measuring terminals
US20190260657A1 (en) In-band performance loss measurement in ipv6/srv6 software defined networks
CN101369929B (en) Injecting addresses to enable OAM functions
US20230006906A1 (en) In-situ flow detection method and apparatus
US20070064611A1 (en) Method for monitoring packet loss ratio
CN107181663A (en) A kind of message processing method, relevant device and computer-readable recording medium
CN108293025B (en) Traffic monitoring in a communication network
CN113328902B (en) Network performance detection method and device and network equipment
WO2022078293A1 (en) Method for detecting multicast service flow and related apparatus
WO2021190009A1 (en) Performance measurement method and apparatus, device, and storage medium
CN112448926B (en) Processing method and system for in-band operation, management and maintenance (IOAM)
CN113328901B (en) Message out-of-order detection method, device and system
CN113973063A (en) In-band measurement method, device and node
CN113810295A (en) Path detection method, device and system
EP3913862A1 (en) Traffic detection method, apparatus, and system
CN114745302A (en) Communication method and device
CN117221175A (en) Time delay measuring method and device, storage medium and program product thereof
US20230108791A1 (en) Delay measurement device, delay measurement method, and program
CN116033035B (en) High-precision space-time label generation and embedding method for network data packet
CN117597887A (en) Message processing
CN115701058A (en) Network loop detection method and related equipment thereof
CN117201212A (en) Information processing method, network device, storage medium, and program product

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