CN113992497B - 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
CN113992497B
CN113992497B CN202111295959.9A CN202111295959A CN113992497B CN 113992497 B CN113992497 B CN 113992497B CN 202111295959 A CN202111295959 A CN 202111295959A CN 113992497 B CN113992497 B CN 113992497B
Authority
CN
China
Prior art keywords
ioam
node
detour
performance
label
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.)
Active
Application number
CN202111295959.9A
Other languages
Chinese (zh)
Other versions
CN113992497A (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 calculating IOAM measurement, wherein when the method carries out in-band operation maintenance and management (IOAM) hop-by-hop measurement in an SRBE tunnel, a next station node label is added in the IOAM reporting performance information; when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM; after detour occurs, the IOAM measured value is obtained according to the performance value before detour and the performance value after detour, so that the collector can easily perceive the change of the SRBE service path, the accuracy of calculating the IOAM measured value is improved, the condition that the IOAM measurement is invalid due to detour of the service flow is avoided, the service path can be correctly displayed when the service path is changed, 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 IOAM measurement calculation.
Background
In the rapid development process of 5G, the network transmission capability is continuously enhanced, the network quality is also higher, and the network transmission is highly sensitive to packet loss, time delay and disorder; in the network transmission process, a lot of burst phenomena exist, if the transmission load exceeds the transmission capacity of the equipment, the dropping action is caused, and the transmission delay jitter is caused to be too large, so that the retransmission of messages by both communication parties is caused, and the communication quality is further affected.
(In band Operation, maintenance and Management, IOAM) technology can bring better operation and maintenance service on packet loss rate, delay measurement and disorder, and provides a good technical foundation for intelligent operation and maintenance; the existing scheme is that the time stamp of the D message reaching each equipment node is recorded by identifying the D message (the D bit after the IOAM flow label is packaged by the service message header), the information such as the count value, the time stamp and the like is sent to a collector by each equipment node, the reported information is processed by the collector according to the service path, and the packet loss, the time delay and the like are calculated.
However, in a network carried by a segment routing (Segment Routing Based on best Effort forwarding, 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 an IOAM, if the service path changes, the collector cannot correctly display the service path, so that packet loss and delay of the calculated IOAM cannot be matched with a real environment; in addition, if the service flow monitored by the IOAM in the network borne by the SRBE tunnel is detoured, the collector calculates the packet loss and time delay errors of the IOAM, and the IOAM measurement fails.
Disclosure of Invention
The invention mainly aims to provide an IOAM measurement calculation method, device, equipment and storage medium, and aims to solve the technical problems that in a network borne by an SRBE tunnel in the prior art, a collector cannot sense real-time change of a service path, when the hop-by-hop measurement of the IOAM is carried out, if the service path changes, the collector cannot correctly display the service path, and the IOAM measurement fails when a service flow bypasses.
In a first aspect, the present invention provides an IOAM measurement calculation method, including the steps of:
when the SRBE tunnel performs in-band operation maintenance and management (IOAM) hop-by-hop measurement, adding a next station node label in the IOAM reporting performance information;
when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM;
after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after 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 to the IOAM reporting performance information, including:
issuing node labels to each device in the network, so that each device in the network obtains a next site node label according to the FEC of the query forwarding equivalence class and a next hop label forwarding mapping table FTN or an entry label mapping table ILM;
and when the SRBE tunnel performs the 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 into the IOAM reporting performance information.
Optionally, when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, the node tag of the local station and the node tag of the next station are encapsulated in the IOAM packet at the source node of the IOAM, including:
when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, acquiring an IOAM message guiding label and a stream label;
and simultaneously encapsulating the IOAM message guiding label, the stream label, the local station node label and the next station node label into an IOAM message according to a preset IOAM encapsulation format.
Optionally, when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM, before adding the next station node label in the IOAM reporting performance information, the IOAM measurement calculation method further includes:
a 1588 synchronization function is started, and 1588 time among all devices is synchronized;
after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager;
the control IOAM processing engine starts an alternate marking timer according to a preset IOAM marking period.
Optionally, when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, after the IOAM source node encapsulates the node label of the station and the node label of the next station into the IOAM packet at the same time, the IOAM measurement calculation method further includes:
When all the station IOAM acquisition information is completely reported, determining vector guide information corresponding to all the node labels of the station and all the node labels of the next station, and calculating a service path according to the vector guide information;
and when the service path is detected to change, determining an IOAM measured value according to the change path.
Optionally, after the detour occurs, counting and stamping the detour traffic in the intermediate node and the sink node of the IOAM separately, marking the reported performance for the detour performance, and obtaining the IOAM measurement value according to the performance value before detour and the performance value after detour, including:
after detouring, when the intermediate node and the host node of the IOAM receive the IOAM message, acquiring a flow label indication value;
identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
Optionally, the determining a counting and stamping policy of the intermediate node and the sink node according to the detour flag bit and the D bit value, and separately counting and stamping detour traffic in the intermediate node and the sink node according to the counting and stamping policy, marking the reported performance for detour performance, and obtaining the IOAM measurement value according to the performance value before detour and the performance value after detour, including:
when the detour flag bit is 1, independently counting L bit values of the IOAM message of the intermediate node, updating fields corresponding to the node label of the station and the node label of the next station, and independently counting L bit values of the IOAM message of the sink node;
when the detour flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate network flow numbers, acquisition periods, L bit count values and survival time values of the D message in the IOAM message of the intermediate node and the sink node into performance information, marking detour performance of the performance information, and updating fields corresponding to the node label of the station and the node label of the next station;
when the detour flag bit is 0, counting L bit values of the IOAM message of the intermediate node, recording the local station node tag value in the entry IOAM message, inquiring the next station tag value, judging that detour occurs when the local station node tag value in the entry IOAM message is equal to the next station tag value of the exit, packaging the IOAM message header to set the detour flag bit at 1, updating the fields corresponding to the local station node tag and the next station node tag, and independently counting the L bit values of the IOAM message of the sink node;
When the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package network flow numbers, acquisition periods, L bit count values and survival time values of the outermost layer labels of D messages in the intermediate node and the sink node IOAM messages into performance information, and setting the detour flag bit in the survival time values 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.
In a second aspect, to achieve the above object, the present invention also proposes an IOAM measurement computing device, including:
the label adding module is used for adding a next station node label in the IOAM reporting performance information when the SRBE tunnel performs in-band operation maintenance management (IOAM) hop-by-hop measurement;
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 same time at the source node of the IOAM when the SRBE tunnel carries out hop-by-hop measurement of the IOAM;
and the measuring module is used for independently counting and stamping the detour flow in the intermediate node and the sink node of the IOAM after detour occurs, marking the reported performance for detour performance, and obtaining the IOAM measured value according to the performance value before detour and the performance value after detour.
In a third aspect, to achieve the above object, the present invention further proposes an IOAM measurement computing device, the IOAM measurement computing device comprising: a memory, a processor, and an IOAM measurement calculation program stored on the memory and executable on the processor, the IOAM measurement calculation program configured to implement the steps of the IOAM measurement calculation method as described above.
In a fourth aspect, to achieve the above object, the present invention also proposes a storage medium having stored thereon an IOAM measurement calculation program which, when executed by a processor, implements the steps of the IOAM measurement calculation method as described above.
According to the IOAM measurement calculation method, when in-band operation maintenance management (IOAM) hop-by-hop measurement is carried out on an SRBE tunnel, a next station node label is added in the IOAM reporting performance information; when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM; after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, and the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour, so that the collector can easily perceive 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 detour of the service flow is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of the IOAM measurement are improved.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of an IOAM measurement calculation method according to the invention;
FIG. 3 is a flowchart of a second embodiment of the IOAM measurement calculation method of the present invention;
FIG. 4 is a flowchart of a third embodiment of the IOAM measurement calculation method of the present invention;
FIG. 5 is a flowchart of a fourth embodiment of the IOAM measurement calculation method of the present invention;
FIG. 6 is a flowchart 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 of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The solution of the embodiment of the invention mainly comprises the following steps: when the in-band operation maintenance management (IOAM) hop-by-hop measurement is carried out in the SRBE tunnel, adding a next station node label in the IOAM reporting performance information; when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM; after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, and the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour, so that the collector can easily perceive 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 detour of the service flow is avoided, the service path can be correctly displayed when the service path changes, the accuracy and the efficiency of the IOAM measurement are improved, and the technical problem that in the prior art, the collector cannot perceive the real-time change of the service path when the IOAM is measured step by step, if the service path changes, the collector cannot correctly display the service path, and the IOAM measurement fails when the service flow detours is solved.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware running 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 the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., wi-Fi interface). The Memory 1005 may be a high-speed RAM Memory or a stable Memory (Non-Volatile Memory), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the apparatus structure shown in fig. 1 is not limiting of the apparatus and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an IOAM measurement calculation program may be included in the memory 1005 as one storage medium.
The apparatus of the present invention calls the IOAM measurement calculation program stored in the memory 1005 through the processor 1001 and performs the following operations:
when the SRBE tunnel performs in-band operation maintenance and management (IOAM) hop-by-hop measurement, adding a next station node label in the IOAM reporting performance information;
when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM;
after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour.
The device of the present invention invokes the IOAM measurement calculation program stored in the memory 1005 through the processor 1001, and also performs the following operations:
issuing node labels to each device in the network, so that each device in the network obtains a next site node label according to the FEC of the query forwarding equivalence class and a next hop label forwarding mapping table FTN or an entry label mapping table ILM;
and when the SRBE tunnel performs the 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 into the IOAM reporting performance information.
The device of the present invention invokes the IOAM measurement calculation program stored in the memory 1005 through the processor 1001, and also performs the following operations:
when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, acquiring an IOAM message guiding label and a stream label;
and simultaneously encapsulating the IOAM message guiding label, the stream label, the local station node label and the next station node label into an IOAM message according to a preset IOAM encapsulation format.
The device of the present invention invokes the IOAM measurement calculation program stored in the memory 1005 through the processor 1001, and also performs the following operations:
a 1588 synchronization function is started, and 1588 time among all devices is synchronized;
after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager;
the control IOAM processing engine starts an alternate marking timer according to a preset IOAM marking period.
The device of the present invention invokes the IOAM measurement calculation program stored in the memory 1005 through the processor 1001, and also performs the following operations:
when all the station IOAM acquisition information is completely reported, determining vector guide information corresponding to all the node labels of the station and all the node labels of the next station, and calculating a service path according to the vector guide information;
and when the service path is detected to change, determining an IOAM measured value according to the change path.
The device of the present invention invokes the IOAM measurement calculation program stored in the memory 1005 through the processor 1001, and also performs the following operations:
after detouring, when the intermediate node and the host node of the IOAM receive the IOAM message, acquiring a flow label indication value;
identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
The device of the present invention invokes the IOAM measurement calculation program stored in the memory 1005 through the processor 1001, and also performs the following operations:
when the detour flag bit is 1, independently counting L bit values of the IOAM message of the intermediate node, updating fields corresponding to the node label of the station and the node label of the next station, and independently counting L bit values of the IOAM message of the sink node;
When the detour flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate network flow numbers, acquisition periods, L bit count values and survival time values of the D message in the IOAM message of the intermediate node and the sink node into performance information, marking detour performance of the performance information, and updating fields corresponding to the node label of the station and the node label of the next station;
when the detour flag bit is 0, counting L bit values of the IOAM message of the intermediate node, recording the local station node tag value in the entry IOAM message, inquiring the next station tag value, judging that detour occurs when the local station node tag value in the entry IOAM message is equal to the next station tag value of the exit, packaging the IOAM message header to set the detour flag bit at 1, updating the fields corresponding to the local station node tag and the next station node tag, and independently counting the L bit values of the IOAM message of the sink node;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package network flow numbers, acquisition periods, L bit count values and survival time values of the outermost layer labels of D messages in the intermediate node and the sink node IOAM messages into performance information, and setting the detour flag bit in the survival time values 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.
According to the scheme, when the in-band operation maintenance management (IOAM) hop-by-hop measurement is carried out on the SRBE tunnel, the next station node label is added in the IOAM reporting performance information; when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM; after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, and the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour, so that the collector can easily perceive 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 detour of the service flow is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of the IOAM measurement are improved.
Based on the above hardware structure, the embodiment of the IOAM measurement calculation method of the present invention is provided.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of the IOAM measurement calculation method according to the present invention.
In a first embodiment, the IOAM measurement calculation method includes the steps of:
and step S10, adding a next station node label in the IOAM reporting performance information when the SRBE tunnel performs in-band operation maintenance management (IOAM) hop-by-hop measurement.
It should be noted that, by adding the next station node label in the IOAM reporting performance information, the SRBE tunnel can correctly display the service path when performing the hop-by-hop measurement of the IOAM.
And step S20, when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously packaged into the IOAM message at the source node of the IOAM.
It can be understood that when performing the IOAM hop-by-hop measurement, the node label of the station and the node label of the next station can be encapsulated into the IOAM message at the IOAM source node, so that the information of the IOAM message header can be expanded, and preparation is made for the detour marking of the subsequent service flow.
And step S30, after detouring, independently counting and stamping detouring flow in an intermediate node and a destination node of the IOAM, marking the reported performance for detouring performance, and obtaining an IOAM measured value according to the performance value before detouring and the performance value after detouring.
It should be understood that after the traffic flows detour, the detour traffic may be counted and stamped separately in the intermediate node and the sink node of the IOAM, both by counting and stamping the matching messages, and simultaneously marking the performance in reporting, i.e. marking that the performance is detour, and calculating the IOAM measurement value from the performance value before detour and the performance value after detour.
According to the scheme, when the in-band operation maintenance management (IOAM) hop-by-hop measurement is carried out on the SRBE tunnel, the next station node label is added in the IOAM reporting performance information; when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM; after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, and the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour, so that the collector can easily perceive 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 detour of the service flow is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of the IOAM measurement are improved.
Further, fig. 3 is a flowchart of a second embodiment of the IOAM measurement computing method according to the present invention, as shown in fig. 3, and the second embodiment of the IOAM measurement computing method according to the present invention is proposed based on the first embodiment, in which the step S10 specifically includes the following steps:
and S11, issuing node labels to each device in the network, so that each device in the network obtains the node label of the next station according to the FEC of the query forwarding equivalence class and the next hop label forwarding mapping table FTN or the entry label mapping table ILM.
It should be noted that, the node label may be issued to each device in the network, and after the node issues, each device in the network may obtain the node label of the next node according to the forwarding equivalence class (Forwarding Equivalence Class, FEC) and the next hop label forwarding mapping table (FEC to NHLFE, forwarding Equivalence Class to Next Hop Label Forwarding Entry, FTN) or the ingress label mapping table (Incoming Loabel Map, ILM).
And step S12, inquiring a next site node label according to the FTN or the ILM when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, and adding the next site node label in the IOAM reporting performance information.
It can be understood that when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, the next-station node tag is added to the IOAM reporting performance information, the starting station may query the FEC and the next-hop tag forwarding mapping table FTN to obtain the next-station node tag, and each station that subsequently passes may query the ingress tag mapping table ILM to obtain the next-station node tag of the station.
According to the scheme, the node labels are issued to each device in the network, so that each device in the network obtains the node label of the next site according to the FEC of the query forwarding equivalence class and the forwarding mapping table FTN of the next hop label or the mapping table ILM of the entry label; when the SRBE tunnel carries out the 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 IOAM reporting performance information, so that a collector can easily perceive the change of the SRBE service path, and the accuracy of calculating the IOAM measured value is improved.
Further, fig. 4 is a flow chart of a third embodiment of the IOAM measurement computing method according to the present invention, as shown in fig. 4, and the third embodiment of the IOAM measurement computing method according to the present invention is proposed based on the first embodiment, in which the step S20 specifically includes the following steps:
And S21, acquiring an IOAM message guiding label and a stream label when the SRBE tunnel performs hop-by-hop measurement of the IOAM.
It should be noted that, when the SRBE tunnel performs the hop-by-hop measurement of the IOAM, the IOAM flow may be obtained, where the IOAM flow refers to a message flow in which the service packet is inserted into the IOAM bootstrap tag and the flow tag and marked with the L and D values.
And S22, simultaneously encapsulating the IOAM message guide tag, the stream tag, the local station node tag and the next station node tag into an IOAM message according to a preset IOAM encapsulation format.
It can be appreciated that the IOAM packet bootstrap tag, the flow tag, the home node tag, and the next node tag may be encapsulated into an IOAM packet at the same time by a preset IOAM encapsulation format.
In a specific implementation, presetting an IOAM encapsulation format as an improved message encapsulation format; the following table is an IOAM encapsulation format extended by this embodiment:
Figure BDA0003336607740000111
TC: traffic Control, traffic management
S, stack, representing stack bottom mark
TTL Time To Live, life cycle
LOSS, representing packet LOSS identification
Ddelay, representing DELAY identity
R reserved field
S/R: if the guide label is the stack bottom, the guide label is reserved with R and default to be 1; if the guide label is at the non-stack bottom, the guide label is an S mark;
NextHeade:
0x00: retaining;
0x01: the FIH is the basic detection information, and does not carry an extension head;
0x02: the FIH is optional hop-by-hop detection information, and does not carry an extension head;
0x03, carrying a 2-layer node label after FIH, wherein the node label is the node label of the next site and the node label of the site;
0x04-0xFF: reserving expansion for use;
next nodeid: node labels of the next site;
f, roundabout Flag bit, marking whether the business flow monitored by the IOAM is roundabout; 1: detour 0 occurs: no detour occurs;
NextHeaderOffset: the offset of the next layer header from the FII start position, 4 bytes as a unit, if there is no next layer header later, is 0;
SrcNodeId, node label of the site.
According to the scheme, when the hop-by-hop measurement of the IOAM is carried out in the SRBE tunnel, the IOAM message guiding label and the stream label are obtained; according to a preset IOAM encapsulation format, encapsulating the IOAM message guiding label, the stream label, the local station node label and the next station node label into an IOAM message at the same time; the change of the SRBE service path can be easily perceived by the collector, and the accuracy of calculating the IOAM measured value is improved.
Further, fig. 5 is a flowchart of a fourth embodiment of the IOAM measurement computing method according to the present invention, as shown in fig. 5, and the fourth embodiment of the IOAM measurement computing method according to the present invention is proposed based on the first embodiment, and in this embodiment, before the step S10, the IOAM measurement computing method further includes the following steps:
And step S01, enabling 1588 synchronization function, and synchronizing 1588 time among all the devices.
Before the IOAM is enabled, a 1588 time synchronization function can be deployed, 1588 errors can be within ns levels, the application meeting the IOAM one-second mark period is guaranteed, the 1588 synchronization function is enabled, and 1588 time among all devices is synchronized; the 1588 time is a high-precision clock, 1588 time synchronization indicates that the 1588 time of all devices in the network is consistent, and when a message is transmitted in the network, the time stamp of reaching each station is consistent with the starting time point of the time stamp of a single station.
And step S02, after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager.
It can be understood that after 1588 time synchronization, the source node configures the IOAM statically through the network manager, where the static configuration mode is the same mode as the network manager configures the device service, and the configuration parameters mainly include period, flow ID, mode, node type, and the like.
Step S03, controlling the IOAM processing engine to start an alternate marking timer according to a 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 alternate marking of the IOAM packet guiding label, the flow label, the home node label, the next node label and L, D can be generally performed according to the preset IOAM packaging format, and at the same time, the first packet of each marking period is marked as a D packet (D equals 1).
According to the embodiment, through the scheme, 1588 time among all devices is synchronized by starting 1588 synchronization function; after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager; the control IOAM processing engine starts an alternate mark timer according to a preset IOAM mark 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 carried out for the hop-by-hop measurement of the IOAM, the speed and the efficiency of the IOAM measurement calculation are further improved, and the time of the IOAM measurement calculation is saved.
Further, fig. 6 is a flowchart of a fifth embodiment of the IOAM measurement computing method according to the present invention, as shown in fig. 6, and the fifth embodiment of the IOAM measurement computing method according to the present invention is proposed based on the first embodiment, in which the step S30 specifically includes the following steps:
and S31, after detouring, acquiring a flow label indicated value when the intermediate node and the sink node of the IOAM receive the IOAM message.
After the detour occurs, when the intermediate node and the sink node of the IOAM receive the IOAM packet, the traffic label indication value may be obtained, and the value of each IOAM flow may be the same and may be generally default to 12.
And step S32, identifying the IOAM message according to the flow label indicated value to obtain a detour 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 traffic label indication value, if the traffic label indication value is an IOAM packet, a detour flag bit in a packet header and a D bit value of the IOAM packet, 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 initiated in a period, the remaining packets in the period are all assigned to 0, the bit in a 1 st packet in a next period is also assigned to 1, the remaining packets in the next period are all assigned to 0, so that the packet with the D bit assigned to 1 is reciprocally turned into the D packet; correspondingly, the corresponding L message is the L bit after the IOAM flow label of the service message header package, the bit is assigned with 0 in one period, the next period is assigned with 1, and the next period is 0, so that the process is repeated, and no matter whether L is 0 or 1, the L message belongs to the L message.
And step S33, determining a counting and stamping strategy of the intermediate node and the destination node according to the detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the destination node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
It can be understood that when the count stamping policies of the intermediate node and the destination node are determined through the detour flag bit and the D bit value, different detour flag bits and D bit values correspond to different count stamping policies, and the detour traffic in the intermediate node and the destination node can be counted and stamped independently through the count stamping policies, so that the reported performance is marked for detour performance, and the 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 detour flag bit is 1, independently counting L bit values of the IOAM message of the intermediate node, updating fields corresponding to the node label of the station and the node label of the next station, and independently counting L bit values of the IOAM message of the sink node;
when the detour flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate network flow numbers, acquisition periods, L bit count values and survival time values of the D message in the IOAM message of the intermediate node and the sink node into performance information, marking detour performance of the performance information, and updating fields corresponding to the node label of the station and the node label of the next station;
When the detour flag bit is 0, counting L bit values of the IOAM message of the intermediate node, recording the local station node tag value in the entry IOAM message, inquiring the next station tag value, judging that detour occurs when the local station node tag value in the entry IOAM message is equal to the next station tag value of the exit, packaging the IOAM message header to set the detour flag bit at 1, updating the fields corresponding to the local station node tag and the next station node tag, and independently counting the L bit values of the IOAM message of the sink node;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package network flow numbers, acquisition periods, L bit count values and survival time values of the outermost layer labels of D messages in the intermediate node and the sink node IOAM messages into performance information, and setting the detour flag bit in the survival time values 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.
When the detour flag bit is 1, the L-bit value count may be performed on the IOAM packet of the intermediate node alone, and when the packet IOAM header is encapsulated at the exit, the detour flag bit may be continuously set to 1, and at the same time, the fields corresponding to the node tag of the current station and the node tag of the next station may be updated, and the L-bit value count may be performed on the IOAM packet of the sink node alone.
It can be understood that when the detour flag bit and the D bit value are both 1, the IOAM processing engine may be a CPU/FPGA or other hardware processing unit, encapsulate the network FLOW number FLOW ID, the acquisition period, the L bit count value, and the time-to-live value TTL value of the outmost label of the D packet in the IOAM packet of the intermediate node and the sink node into performance information, mark the detour performance of the performance information, and update fields corresponding to the node label of the present station and the node label of the next station; because the survival time value only needs 8 bits, the node label of the next site can be carried by using high bits, and the detour mark in the extended TTL value field is required to be put on, so that the collector is informed of the performance value generated by the detour flow at present.
It should be understood that when the detour flag bit is 0, counting the L bit value of the IOAM packet of the intermediate node, recording the local station node tag value in the ingress IOAM packet, querying the next station tag value, if the local station node tag value is equal to the next station tag value of the egress, determining that detour occurs, and when the IOAM packet header is packaged, setting the detour flag bit to 1 to indicate that detour occurs, otherwise setting the detour flag bit to 0, and updating fields corresponding to the local station node tag and the next station node tag.
It can be understood that when the detour flag bit is 0 and the D bit value is 1, the processing in such a manner that the detour flag bit is 0 may be installed, and further the IOAM processing engine is controlled to encapsulate the network flow number, the acquisition period, the L bit count value, and the survival time value of the outmost label of the D packet in the IOAM packet of the intermediate node and the sink node into the performance information, and to mark the detour performance of the performance information, and at this time, only the node label of the next site may be carried, and the detour flag bit in the survival time value is set to 0.
It should be understood that when the detour flag bit is 0 and the D bit value is 1, controlling the IOAM processing engine to encapsulate the network flow number, the acquisition period, the L bit count value and the lifetime value of the outermost label of the D packet in the IOAM packet of the intermediate node and the sink node into performance information, and setting the detour flag bit 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 can be appreciated that when the detour flag is 0, it is not necessary to count L alone; when the detour flag is 0, the forwarding plane judges whether detour occurs, and modifies whether the detour flag bit in the forwarding plane message is set to 0 for the detour flag bit in the report performance message.
In a specific implementation, when the sink node receives the IOAM flow, the processing manner is similar to that of the intermediate node, firstly, the IOAM message is identified according to the flow label indication value, and if the IOAM message is the IOAM message, the F detour flag bit in the message header is further identified: if f=1, counting the L bit value of the message alone; if f=1 and D bit value d=1, mirror-imaging the message to an IOAM processing engine (CPU/FPGA or other hardware processing unit), where the IOAM processing engine encapsulates the 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 collector, where the sink node terminates the node label, so that the next node nextld=0; meanwhile, F detour marks in the extended TTL value field are required to be set, and the collector is informed of the performance value generated by the detour flow at present; if f=0, then carrying out default L count for the message; if f=0 and d=1, the packet needs to be mirrored to an IOAM processing engine (CPU/FPGA or other hardware processing unit) in addition to being processed in the manner of (3), and the IOAM processing engine encapsulates the network flow number FLOWID in the D packet, 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 collector. At this time, only the node label nextnodeid=0 of the next site is carried, and the F detour flag in the extended TTL value field is set to 0.
According to the scheme, after detour occurs, when the intermediate node and the sink node of the IOAM receive the IOAM message, the flow label indication value is obtained; identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour zone bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour, so that a collector can easily perceive the change of an SRBE service path, the accuracy of calculating the IOAM measured value is improved, and the condition that the IOAM measurement is invalid due to the detour of the service flow is avoided.
Accordingly, the present invention further provides an IOAM measurement computing device.
Referring to fig. 7, fig. 7 is a functional block diagram of a first embodiment of an IOAM measurement computing device according to the present invention.
In a first embodiment of the IOAM measurement computing device of the present invention, the IOAM measurement computing device comprises:
the label adding module 10 is configured to add a next node label to the IOAM reporting performance information when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM.
And the simultaneous encapsulation module 20 is configured to encapsulate the node label of the site and the node label of the next site into the IOAM message at the source node of the IOAM when the SRBE tunnel performs the hop-by-hop measurement of the IOAM.
And the measurement module 30 is configured to count and stamp the detour traffic separately in the intermediate node and the sink node of the IOAM after the detour occurs, mark the reported performance for the detour performance, and obtain the IOAM measurement value according to the performance value before the detour and the performance value after the 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 ingress label mapping table ILM; and when the SRBE tunnel performs the 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 into the IOAM reporting performance information.
The simultaneous encapsulation module 20 is further configured to obtain an IOAM packet guidance tag and a flow tag when the SRBE tunnel performs the hop-by-hop measurement of the IOAM; and simultaneously encapsulating the IOAM message guiding label, the stream label, the local station node label and the next station node label into an IOAM message according to a preset IOAM encapsulation format.
The tag adding module 10 is further configured to enable 1588 synchronization function, and synchronize 1588 time between devices; after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager; the control IOAM processing engine starts an alternate marking timer according to a preset IOAM marking period.
The simultaneous encapsulation module 20 is further configured to determine vector guiding information corresponding to all node labels of the own station and all node labels of the next station when all the information acquired by the IOAM of all the stations is completely reported, and calculate a service path according to the vector guiding information; and when the service path is detected to change, determining an IOAM measured value according to the change path.
The measurement module 30 is further configured to obtain a flow label indication value when the intermediate node and the sink node of the IOAM receive the IOAM message after the detour occurs; identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
The measurement module 30 is further configured to, when the detour flag bit is 1, count L bit values of the IOAM packet of the intermediate node separately, update fields corresponding to the node tag of the present station and the node tag of the next station, and count L bit values of the IOAM packet of the sink node separately; when the detour flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate network flow numbers, acquisition periods, L bit count values and survival time values of the D message in the IOAM message of the intermediate node and the sink node into performance information, marking detour performance of the performance information, and updating fields corresponding to the node label of the station and the node label of the next station; when the detour flag bit is 0, counting L bit values of the IOAM message of the intermediate node, recording the local station node tag value in the entry IOAM message, inquiring the next station tag value, judging that detour occurs when the local station node tag value in the entry IOAM message is equal to the next station tag value of the exit, packaging the IOAM message header to set the detour flag bit at 1, updating the fields corresponding to the local station node tag and the next station node tag, and independently counting the L bit values of the IOAM message of the sink node; when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package network flow numbers, acquisition periods, L bit count values and survival time values of the outermost layer labels of D messages in the intermediate node and the sink node IOAM messages into performance information, and setting the detour flag bit in the survival time values 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.
The steps implemented by the functional modules of the IOAM measurement computing device may refer to various embodiments of the IOAM measurement computing method of the present invention, which are not described herein.
In addition, the embodiment of the invention also provides a storage medium, and the storage medium stores an IOAM measurement calculation program, and the IOAM measurement calculation program realizes the following operations when being executed by a processor:
when the SRBE tunnel performs in-band operation maintenance and management (IOAM) hop-by-hop measurement, adding a next station node label in the IOAM reporting performance information;
when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM;
after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
issuing node labels to each device in the network, so that each device in the network obtains a next site node label according to the FEC of the query forwarding equivalence class and a next hop label forwarding mapping table FTN or an entry label mapping table ILM;
And when the SRBE tunnel performs the 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 into the IOAM reporting performance information.
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 the IOAM, acquiring an IOAM message guiding label and a stream label;
and simultaneously encapsulating the IOAM message guiding label, the stream label, the local station node label and the next station 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:
a 1588 synchronization function is started, and 1588 time among all devices is synchronized;
after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager;
the control IOAM processing engine starts 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 station IOAM acquisition information is completely reported, determining vector guide information corresponding to all the node labels of the station and all the node labels of the next station, and calculating a service path according to the vector guide information;
And when the service path is detected to change, determining an IOAM measured value according to the change path.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
after detouring, when the intermediate node and the host node of the IOAM receive the IOAM message, acquiring a flow label indication value;
identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
Further, the IOAM measurement calculation program when executed by the processor further performs the following operations:
when the detour flag bit is 1, independently counting L bit values of the IOAM message of the intermediate node, updating fields corresponding to the node label of the station and the node label of the next station, and independently counting L bit values of the IOAM message of the sink node;
When the detour flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate network flow numbers, acquisition periods, L bit count values and survival time values of the D message in the IOAM message of the intermediate node and the sink node into performance information, marking detour performance of the performance information, and updating fields corresponding to the node label of the station and the node label of the next station;
when the detour flag bit is 0, counting L bit values of the IOAM message of the intermediate node, recording the local station node tag value in the entry IOAM message, inquiring the next station tag value, judging that detour occurs when the local station node tag value in the entry IOAM message is equal to the next station tag value of the exit, packaging the IOAM message header to set the detour flag bit at 1, updating the fields corresponding to the local station node tag and the next station node tag, and independently counting the L bit values of the IOAM message of the sink node;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package network flow numbers, acquisition periods, L bit count values and survival time values of the outermost layer labels of D messages in the intermediate node and the sink node IOAM messages into performance information, and setting the detour flag bit in the survival time values 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.
According to the scheme, when the in-band operation maintenance management (IOAM) hop-by-hop measurement is carried out on the SRBE tunnel, the next station node label is added in the IOAM reporting performance information; when the SRBE tunnel carries out the hop-by-hop measurement of the IOAM, the node label of the site and the node label of the next site are simultaneously encapsulated into an IOAM message at the source node of the IOAM; after detour occurs, the detour flow is counted and stamped in the intermediate node and the host node of the IOAM, and the reported performance is marked for detour performance, and the IOAM measured value is obtained according to the performance value before detour and the performance value after detour, so that the collector can easily perceive 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 detour of the service flow is avoided, the service path can be displayed correctly when the service path changes, and the accuracy and the efficiency of the 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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. An IOAM measurement computing method, wherein the IOAM measurement computing method comprises:
when the SRBE tunnel performs in-band operation maintenance and management (IOAM) hop-by-hop measurement, adding a next station node label in the IOAM reporting performance information, and simultaneously packaging the station node label and the next station node label into an IOAM message at an IOAM source node;
after detour occurs, independently counting and stamping detour flow in an intermediate node and a sink node of the IOAM, marking the reported performance with detour performance, and obtaining an IOAM measured value according to a performance value before detour and a performance value after detour;
after the detour occurs, the detour traffic is counted and stamped in the intermediate node and the sink node of the IOAM, and the reported performance is marked with detour performance, and the IOAM measurement value is obtained according to the performance value before detour and the performance value after detour, including:
After detouring, when the intermediate node and the host node of the IOAM receive the IOAM message, acquiring a flow label indication value;
identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
2. The IOAM measurement computing method as claimed in claim 1, wherein adding a next station node tag to the IOAM reporting performance information when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM, includes:
issuing node labels to each device in the network, so that each device in the network obtains a next site node label according to the FEC of the query forwarding equivalence class and a next hop label forwarding mapping table FTN or an entry label mapping table ILM;
and when the SRBE tunnel performs the 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 into the IOAM reporting performance information.
3. The IOAM measurement computing method as claimed in claim 1, wherein encapsulating the local site node tag and the next site node tag into the IOAM message at the IOAM source node simultaneously comprises:
when the SRBE tunnel carries out hop-by-hop measurement of the IOAM, acquiring an IOAM message guiding label and a stream label;
and simultaneously encapsulating the IOAM message guiding label, the stream label, the local station node label and the next station node label into an IOAM message according to a preset IOAM encapsulation format.
4. The IOAM measurement computing method of claim 1, wherein when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node tag to the IOAM reporting performance information, and before the IOAM source node encapsulates the local station node tag and the next station node tag into the IOAM message at the same time, the IOAM measurement computing method further comprises:
a 1588 synchronization function is started, and 1588 time among all devices is synchronized;
after 1588 time synchronization, statically configuring the IOAM at the source node through a network manager;
the control IOAM processing engine starts an alternate marking timer according to a preset IOAM marking period.
5. The IOAM measurement computing method of claim 1, wherein when the SRBE tunnel performs the hop-by-hop measurement of the in-band operation maintenance management IOAM, adding a next station node tag to the IOAM reporting performance information, and after the IOAM source node encapsulates the local station node tag and the next station node tag into the IOAM packet at the same time, the IOAM measurement computing method further comprises:
When all the station IOAM acquisition information is completely reported, determining vector guide information corresponding to all the node labels of the station and all the node labels of the next station, and calculating a service path according to the vector guide information;
and when the service path is detected to change, determining an IOAM measured value according to the change path.
6. The IOAM measurement computing method of claim 1, wherein the determining a count stamping policy for the intermediate node and the sink node according to the detour flag bit and the D bit value, and separately counting and stamping detour traffic in the intermediate node and the sink node according to the count stamping policy, marking the reported performance for detour performance, and obtaining the IOAM measurement value according to a pre-detour performance value and a post-detour performance value, comprises:
when the detour flag bit is 1, independently counting L bit values of the IOAM message of the intermediate node, updating fields corresponding to the node label of the station and the node label of the next station, and independently counting L bit values of the IOAM message of the sink node;
when the detour flag bit and the D bit value are both 1, controlling an IOAM processing engine to encapsulate network flow numbers, acquisition periods, L bit count values and survival time values of the D message in the IOAM message of the intermediate node and the sink node into performance information, marking detour performance of the performance information, and updating fields corresponding to the node label of the station and the node label of the next station;
When the detour flag bit is 0, counting L bit values of the IOAM message of the intermediate node, recording the local station node tag value in the entry IOAM message, inquiring the next station tag value, judging that detour occurs when the local station node tag value in the entry IOAM message is equal to the next station tag value of the exit, packaging the IOAM message header to set the detour flag bit at 1, updating the fields corresponding to the local station node tag and the next station node tag, and independently counting the L bit values of the IOAM message of the sink node;
when the detour flag bit is 0 and the D bit value is 1, controlling an IOAM processing engine to package network flow numbers, acquisition periods, L bit count values and survival time values of the outermost layer labels of D messages in the intermediate node and the sink node IOAM messages into performance information, and setting the detour flag bit in the survival time values to 0;
and obtaining a performance value before detour and a performance value after detour, and carrying out subtraction calculation on an L message count value and a D message timestamp according to the performance value before detour and the performance value after detour to obtain an IOAM measured value.
7. An IOAM measurement computing device, the IOAM measurement computing device comprising:
The label adding module is used for adding a next station node label in the IOAM reporting performance information when the SRBE tunnel performs in-band operation maintenance management (IOAM) hop-by-hop measurement;
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 same time at the source node of the IOAM when the SRBE tunnel carries out hop-by-hop measurement of the IOAM;
the measuring module is used for independently counting and stamping the detour flow in the intermediate node and the destination node of the IOAM after detour occurs, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour;
the measuring module is also used for acquiring a flow label indication value when the intermediate node and the sink node of the IOAM receive the IOAM message after detouring; identifying the IOAM message according to the flow label indication value to obtain a detour flag 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 detour flag bit and the D bit value, independently counting and stamping detour flow in the intermediate node and the sink node according to the counting and stamping strategy, marking the reported performance for detour performance, and obtaining an IOAM measured value according to the performance value before detour and the performance value after detour.
8. An IOAM measurement computing device, the IOAM measurement computing device comprising: a memory, a processor, and an IOAM measurement calculation program stored on the memory and executable on the processor, the IOAM measurement calculation program configured to implement the steps of the IOAM measurement calculation method of any one of claims 1 to 6.
9. A storage medium having stored thereon an IOAM measurement calculation program which when executed by a processor performs the steps of the IOAM measurement calculation method according to any one of claims 1 to 6.
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 CN113992497A (en) 2022-01-28
CN113992497B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567542B (en) * 2022-02-16 2023-09-15 烽火通信科技股份有限公司 Hard pipeline private line hop-by-hop service detection method, device, equipment and storage medium
CN117938702A (en) * 2022-10-13 2024-04-26 中兴通讯股份有限公司 In-band operation maintenance management IOAM performance acquisition rule adjustment method and system
CN117997793A (en) * 2022-10-28 2024-05-07 中兴通讯股份有限公司 In-band operation, maintenance and management (OAM) measurement method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10454828B2 (en) * 2016-12-21 2019-10-22 Cisco Technology, Inc. Machine learning-derived entropy path graph from in-situ OAM (iOAM) data
CN108965204B (en) * 2017-05-18 2022-01-25 中兴通讯股份有限公司 Method and device for automatically realizing IOAM packaging

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
基于远程过程调用的网络流量可视化技术研究与应用;汤钦华;侯晋;王路遥;袁骏毅;;中国数字医学(第04期);全文 *

Also Published As

Publication number Publication date
CN113992497A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN113992497B (en) IOAM measurement calculation method, device, equipment and storage medium
US10547504B2 (en) Method and system for measuring quality of service running on terminal, and device
CN111953604B (en) Method and device for providing business service for business flow
US20190260657A1 (en) In-band performance loss measurement in ipv6/srv6 software defined networks
EP2884697B1 (en) Measuring method, device and system for network packet loss
US20230006906A1 (en) In-situ flow detection method and apparatus
WO2017193758A1 (en) Method, device and system for data transmission
CN105991437B (en) Message forwarding processing method and device, controller and route forwarding equipment
WO2021098807A1 (en) Method and device for updating mapping
WO2006102840A1 (en) A method for monitoring the packet loss rate
CN107181663A (en) A kind of message processing method, relevant device and computer-readable recording medium
WO2018210213A1 (en) Method and device for implementing ioam packaging and storage medium
CN112448926B (en) Processing method and system for in-band operation, management and maintenance (IOAM)
WO2021190009A1 (en) Performance measurement method and apparatus, device, and storage medium
CN113328901B (en) Message out-of-order detection method, device and system
WO2015184740A1 (en) Method and device for processing detection hierarchy information
CN105812198B (en) Method and device for monitoring end-to-end of bridge network
EP1944918A1 (en) A method and system for realizing the consistency of the virtual circuit status
CN110166361A (en) A kind of message forwarding method and device
CN113810295A (en) Path detection method, device and system
CN104247346B (en) Pseudowire extended group messaging in a packet switched network
CN110784402B (en) Path identifier transmission method, path identifier transmission device and computer readable storage medium
EP3913862A1 (en) Traffic detection method, apparatus, and system
CN112702218B (en) Method, system, network device and storage medium for detecting data transmission quality
WO2016107156A1 (en) End-to-end monitoring method and device for bridge network

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