CN112565017A - Time delay measuring method and device based on SRv6 SID - Google Patents

Time delay measuring method and device based on SRv6 SID Download PDF

Info

Publication number
CN112565017A
CN112565017A CN202011410219.0A CN202011410219A CN112565017A CN 112565017 A CN112565017 A CN 112565017A CN 202011410219 A CN202011410219 A CN 202011410219A CN 112565017 A CN112565017 A CN 112565017A
Authority
CN
China
Prior art keywords
srv6
node
field
message
segment list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011410219.0A
Other languages
Chinese (zh)
Inventor
成伟
王俊杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Centec Networks Suzhou Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN202011410219.0A priority Critical patent/CN112565017A/en
Publication of CN112565017A publication Critical patent/CN112565017A/en
Priority to PCT/CN2021/135505 priority patent/WO2022117092A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a time delay measuring method and a time delay measuring device based on SRv6 SID, the method comprises the steps that SRv6 first nodes add SRH extension headers to form SRv6 messages, the SRH extension headers comprise a plurality of segment list fields, each segment list field comprises an SID field, an incoming direction timestamp field and an outgoing direction timestamp field, SRv6 first nodes, SRv6 intermediate nodes and SRv6 terminal nodes edit the time for receiving and forwarding the messages into the incoming direction timestamp fields and the outgoing direction timestamp fields in the corresponding segment list fields, and SRv6 terminal nodes pop up and encapsulate all the segment list fields and then send the segments to an analysis server to calculate time delay. The invention realizes time delay measurement by multiplexing the segment list field without changing the length of SRv6 message, thereby reducing message overhead and consumption of bandwidth of the path along the way.

Description

Time delay measuring method and device based on SRv6 SID
Technical Field
The invention relates to the technical field of networks, in particular to a time delay measuring method and device based on SRv6 SID.
Background
SRv6(Segment Routing IPv6, Segment Routing based on IPv 6) is a network forwarding technology, which is an extended SR solution based on IPv 6. When a traditional SRv6 network forwards a packet, a SRv6 first node receives the packet and determines whether to perform SRv6 encapsulation, if necessary, an SRH (Segment Routing Header) extension Header is added to the packet to form a SRv6 packet as shown in fig. 1, and finally SRv6 first node forwards an edited SRv6 packet to an SRv6 intermediate node from a corresponding next hop-out port, wherein the SRH extension Header includes a Segment Left field (Segment Left) and a plurality of Segment List fields (Segment List), and the Segment List fields occupy 128 bits and are used for identifying SRv6 node information, that is, recording Segment Routing identifiers (SID, Segment ID), and forwarding the packet to corresponding SRv6 nodes according to SRv6 node information recorded by the Segment List fields; SRv6 a SRv6 node on the forwarding path receives the SRv6 message and forwards the message according to the information of the segment list field in the SRv6 message. If the SRv6 node on the SRv6 forwarding path supports Penultimate Hop Popping (PHP), SRH extension header popping is performed when the value of the segment remaining amount field is reduced to 1. If the SRv6 node does not support the next to last hop pop, the value of the segment remaining amount field is updated to zero and the SRH extension header is not popped, and the popping of the SRH extension header is completed at the last hop of the SRv6 forwarding path.
The current delay measurement scheme for SRv6 networks uses a SRv6 OAM (Operation Administration and Maintenance) scheme, which is to insert OAM data, which contains delay information, after the SRH extension header section list field. The SRv6 OAM scheme needs to insert delay information hop by hop, that is, the delay information is inserted behind the segment list field, the length of the SRv6 message is easily increased by the delay test scheme, and meanwhile, the chip cannot complete the line speed forwarding capability due to the relatively complex message design of SRv6 OAM, and the delay cannot be measured in real time due to the fact that some vendor software schemes handle the message.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a time delay measuring method and a time delay measuring device which can measure time delay in real time without changing the length of SRv6 messages.
In order to achieve the purpose, the invention provides the following technical scheme: a time delay measuring method based on SRv6 SID comprises
SRv6 a first node receives the message and judges whether to add package, and adds SRH extension head to form SRv6 message when adding package, the SRH extension head includes multiple segment list fields for identifying SRv6 node information and recording time information, each segment list field includes SID field for identifying SRv6 node information, incoming direction timestamp field for recording SRv6 node message receiving time and outgoing direction timestamp field for recording SRv6 node message forwarding time;
SRv6 the first node, SRv6 intermediate node and SRv6 end node all receive SRv6 message and edit message receiving and forwarding time to the in direction timestamp field and out direction timestamp field in the corresponding segment list field, SRv6 end node pop up and package all segment list fields and send them to the analysis server to calculate time delay.
Preferably, the SRv6 head node determines whether the packet is encapsulated by the following steps:
acquiring a destination MAC address and a destination IP address carried by a message;
and judging whether the MAC address is the same as the local MAC address or not, searching a routing table according to the destination IP address and judging whether the next hop is an SRv6 forwarding path or not, and if the MAC address and the local MAC address are both satisfied, performing encapsulation processing on the message.
Preferably, the SRv6 intermediate nodes and SRv6 terminal nodes further perform the following steps before editing the time of receiving and forwarding the packet into the ingress direction timestamp field and the egress direction timestamp field in the corresponding segment list field:
and searching a local SID forwarding table according to the destination IPv6 address in the SRv6 message, and copying the value of the SID field in the segmentation list field corresponding to the next SRv6 node to the destination IPv6 address when the local SID forwarding table is searched.
Preferably, the segment list field has 128 bits, the upper 64 bits are bits used by the SID field, the lower 64 bits are bits used by the in-direction timestamp and the out-direction timestamp, and each of the in-direction timestamp and the out-direction timestamp has 32 bits.
Preferably, the SRv6 terminal node pops up all the segment list fields and encapsulates the outer tunnel header before sending it to the analysis server for calculating the delay.
The invention also discloses a time delay measuring device based on SRv6 SID, which comprises
A packaging module, configured to enable an SRv6 head node to receive a packet and determine whether to package the packet, and add an SRH extension header to form a SRv6 packet when packaging the packet, where the SRH extension header includes a plurality of segment list fields used to identify SRv6 node information and record time information, and each segment list field includes an SID field used to identify SRv6 node information, an ingress timestamp field used to record a time when the SRv6 node packet is received, and an egress timestamp field used to record a time when the SRv6 node packet is forwarded;
and the time delay measurement module is used for enabling the SRv6 head node, the SRv6 intermediate node and the SRv6 end node to receive the SRv6 message, editing the message receiving and forwarding time into an incoming direction timestamp field and an outgoing direction timestamp field in the corresponding segment list field, and enabling the SRv6 end node to pop out and package all the segment list fields and then upload the segments to the analysis server to calculate time delay.
Preferably, the encapsulation module comprises
The information acquisition module is used for acquiring a destination MAC address and a destination IP address carried by the message;
the judging module is used for judging whether the MAC address is the same as the local MAC address or not, searching a routing table according to the destination IP address and judging whether the next hop is an SRv6 forwarding path or not;
and the editing module is used for performing encapsulation processing on the message when the judging module judges that the MAC address is the same as the local MAC address and the next hop is the SRv6 forwarding path.
Preferably, the delay measurement module further enables the SRv6 intermediate node and the SRv6 end node to search a local SID forwarding table according to a destination IPv6 address in the SRv6 packet, and copy a SID field value in a segment list field corresponding to a next SRv6 node to the destination IPv6 address when the local SID forwarding table is searched.
Preferably, the segment list field has 128 bits, the upper 64 bits are bits used by the SID field, the lower 64 bits are bits used by the in-direction timestamp and the out-direction timestamp, and each of the in-direction timestamp and the out-direction timestamp has 32 bits.
Preferably, the delay measurement module enables SRv6 the terminal node to pop up all segment list fields and encapsulate the outer tunnel header before sending it to the analysis server for calculating the delay.
The invention has the beneficial effects that:
on the basis of not influencing message forwarding, the invention multiplexes the segment list field, namely, the SID field for identifying SRv6 node address information is kept in the segment list field, and simultaneously, the direction-entering timestamp and the direction-exiting timestamp for recording time are configured, so that time delay measurement can be realized without changing the length of SRv6 messages, message overhead and consumption of bandwidth of a path along the way are reduced, meanwhile, SRv6 messages for time delay measurement are simpler to design by multiplexing the segment list field, linear speed processing can be completed through chip hardware, and the forwarding time delay of each SRv6 node can be measured in real time.
Drawings
FIG. 1 is a diagram illustrating the SRv6 message format in the prior art;
FIG. 2 is a schematic flow diagram of the method of the present invention;
FIG. 3 is a diagram illustrating the format of the SRv6 message;
FIG. 4 is a schematic representation of the flow of processing SRv6 messages by the SRv6 node of the present invention;
fig. 5 is a block diagram of the apparatus of the present invention.
Detailed Description
The technical solution of the embodiment of the present invention will be clearly and completely described below with reference to the accompanying drawings of the present invention.
According to the time delay measurement method and device based on the SRv6 SID, disclosed by the invention, time delay measurement is realized by multiplexing the Segment List field (Segment List), the length of SRv6 messages does not need to be changed, and the message overhead and the consumption of the bandwidth of a path along the way are reduced.
Referring to fig. 2 and 4, a method for measuring a delay based on an SRv6 SID disclosed in the present invention includes the following steps:
s100, a head node of SRv6 receives a message and judges whether the message is encapsulated, and an SRH extension header is added during encapsulation to form a SRv6 message, wherein the SRH extension header comprises a plurality of segment list fields for identifying SRv6 node information and recording time information, and each segment list field comprises an SID field for identifying SRv6 node information, an incoming direction timestamp field for recording the SRv6 node message receiving time and an outgoing direction timestamp field for recording the SRv6 node message forwarding time;
specifically, the SRv6 network includes a SRv6 head node, a SRv6 end node, and at least one SRv6 middle node connected between the SRv6 head node and the SRv6 end node. SRv6, after receiving the IPv6 message, according to some feature information carried by the message, determining whether to perform encapsulation processing on the message, that is, adding an SRH extension header to the IPv6 message to form a SRv6 message, and forwarding the formed SRv6 message to the next SRv6 node from the corresponding egress port, in implementation, the SRv6 first node determines whether the destination MAC address is the same as the local MAC address according to the destination MAC address carried by the message, and performs routing table lookup and determines whether the routing lookup is hit to determine whether the next hop is a SRv6 forwarding path, and if both are satisfied, performs encapsulation processing on the IPv6 message, and adds an SRH extension header to the IPv6 to form a SRv6 message.
Fig. 3 shows an SRv6 message format that can be used for measuring delay information in the present invention, where the SRv6 message includes an IPv6 header and an SRH extension header, where the SRH extension header includes a Segment Left field (Segment Left) and a plurality of Segment List fields (Segment List), where the Segment Left field is used to identify the number of intermediate nodes that need to be accessed when reaching the destination node; the Segment list field comprises a Segment ID (Segment ID) field, an ingress direction timestamp field and an egress direction timestamp field, wherein the SID field is used for identifying SRv6 node information, namely recording Segment routing identification (SID, Segment ID) information, and in the packet forwarding process, the packet can be forwarded to a corresponding SRv6 node according to SRv6 node information recorded in the SID field, and the value of the SID field exists in the form of an IPv6 address; the incoming direction timestamp is used for recording the time when the SRv6 node receives the message, and the outgoing direction timestamp is used for recording the time when SRv6 node forwards the message. The number of the segment list fields corresponds to the number of nodes in the SRv6 network, and if the number of nodes in the SRv6 network is 3, which are respectively marked as SRv6 head node, SRv6 middle node and SRv6 end node, the SRH extension header needs to set 3 segment list fields, and 3 SID fields in the 3 segment list fields respectively identify the address information of SRv6 head node, SRv6 middle node and SRv6 end node.
SRv6 when adding time, the first node edits the time of receiving message recorded by the chip entering direction pipeline into the entering direction timestamp in the corresponding segment list field, and edits the time of forwarding message recorded by the chip exiting direction pipeline into the exiting direction timestamp in the corresponding segment list field in the exiting direction timestamp field.
In this embodiment, the segment list field occupies 128 bits in total, wherein the upper 64 bits are used as the bits used by the SID field, the lower 64 bits are used as the bits used by the ingress direction timestamp and the egress direction timestamp, and both the ingress direction timestamp and the egress direction timestamp occupy 32 bits.
And S200, the node in SRv6 receives the SRv6 message, searches a local SID forwarding table according to the target IPv6 address in the SRv6 message, copies the value of the SID field in the segmentation list field corresponding to the next SRv6 node to the target IPv6 address when the local SID forwarding table is searched, and edits the time for receiving and forwarding the message into the incoming direction timestamp field and the outgoing direction timestamp field in the segmentation list field corresponding to the node in SRv 6.
Specifically, after receiving the SRv6 packet, the node in SRv6 parses the packet, obtains IPv6 header information (including but not limited to a destination IPv6 address) and information of a segment remaining amount field and a segment list field in an SRH extension header, and further searches for a local SID forwarding entry according to a destination IPv6 address carried in the SRv6 packet. If the value of the segmentation residual quantity field is found, further judging whether the value of the segmentation residual quantity field is larger than 1, if so, subtracting one from the value of the segmentation residual quantity field, copying the value of an SID field in a segmentation list field corresponding to the next SRv6 node, namely the destination IPv6 address of the next SRv6 node, into an outer layer destination IPv6 address, editing the message receiving time recorded by a chip entering direction pipeline into an entering direction timestamp field, editing the message forwarding time recorded by a chip exiting direction pipeline into an exiting direction timestamp field, and keeping the source IPv6 address in the SRv6 message unchanged. If the local SID forwarding table entry is not found, routing forwarding is carried out according to the outer layer destination IPv6 address.
S300, the SRv6 terminal node receives the SRv6 message and searches a local SID forwarding table according to a target IPv6 address in the SRv6 message, copies the value of the SID field in the segmentation list field corresponding to the next SRv6 node to the target IPv6 address when the local SID forwarding table is searched, adds the time for receiving and forwarding the message to an incoming direction timestamp field and an outgoing direction timestamp field in the segmentation list field corresponding to the SRv6 terminal node, further pops up and encapsulates all the segmentation list fields, and sends the fields to an analysis server to calculate time delay.
Specifically, the SRv6 terminal node analyzes the SRv6 message after receiving the message, obtains IPv6 header information (including but not limited to a destination IPv6 address) and information of a segment remaining amount field and a segment list field in an SRH extension header, and further searches for a local SID entry according to the destination IPv6 address carried in the SRv6 message. If the message is found, further subtracting one from the value of the segment residual field, copying the value of the SID field in the segment list field corresponding to the next SRv6 node, namely the destination IPv6 address of the next SRv6 node, to the outer destination IPv6 address, editing the message receiving time recorded by the chip entering direction pipeline into the entering direction timestamp field, editing the message forwarding time recorded by the chip exiting direction pipeline into the exiting direction timestamp field, and keeping the source IPv6 address in the SRv6 message unchanged. If not, only the route forwarding is carried out according to the outer layer destination IPv6 address.
And (4) because the value of the segment residual field is reduced by one and then becomes zero, executing a popup operation, namely popping up the SRH extension header, and changing the message into a common IPv6 message, wherein the common IPv6 message is forwarded according to the common IPv 6. And for the popped SRH extension head, packaging the outer tunnel head and then forwarding the SRH extension head to an analysis server for time delay calculation, so that the forwarding time delay of each node can be obtained.
As shown in fig. 5, the present invention further discloses an SRv6 SID-based delay measurement apparatus, including an encapsulation module and a delay measurement module, where the encapsulation module is configured to enable a SRv6 first node to receive a packet and determine whether to encapsulate the packet, and add an SRH extension header to form a SRv6 packet when encapsulating the packet, where the SRH extension header includes a plurality of segment list fields for identifying SRv6 node information and recording time information, and each segment list field includes a SID field for identifying SRv6 node information, an ingress timestamp field for recording a reception time of the SRv6 node packet, and an egress timestamp field for recording a forwarding time of the SRv6 node packet; the time delay measurement module is used for enabling the SRv6 head node, the SRv6 intermediate node and the SRv6 end node to receive the SRv6 message and edit the message receiving and forwarding time into an incoming direction timestamp field and an outgoing direction timestamp field in the corresponding segment list field, and the SRv6 end node pops up and encapsulates all the segment list fields and then uploads the segment list fields to the analysis server to calculate time delay.
In implementation, after receiving the IPv6 message, the SRv6 head node determines, through the encapsulation module, whether encapsulation processing needs to be performed on the IPv6 message, that is, adds an SRH extension header to the IPv6 message, so as to form a SRv6 message. The encapsulating module judges whether the message needs to be encapsulated according to some characteristic information carried by the message, and comprises an information acquisition module, a judgment module and an editing module, wherein the information acquisition module acquires a target MAC address and a target IP address carried by the message, the judgment module further judges whether the target MAC address is the same as a local MAC address according to the target MAC address carried by the message, and meanwhile, a routing table is searched and whether the routing search is hit is judged to determine whether the next hop is an SRv6 forwarding path, when the destination MAC address and the local MAC address are both met, the editing module encapsulates the IPv6 message, and an SRH extension head is added into the IPv6 to form the SRv6 message. SRv6 node further adds message receiving and transmitting time through time delay measuring module, SRv6 first node edits the message receiving time recorded by the chip entering direction pipeline to the entering direction timestamp in the corresponding segment list field when adding time, and edits the message transmitting time recorded by the chip exiting direction pipeline to the exiting direction timestamp in the corresponding segment list field in the exiting direction timestamp field.
Further, the SRv6 intermediate node and the SRv6 end node process the SRv6 packet through the delay measurement module to perform delay measurement, wherein details of the processing process of the SRv6 intermediate node on the SRv6 packet are described above, and are not described in detail herein. And SRv6 the end node also pops up the SRH extension head to send to the analysis server to calculate the time delay through the time delay measurement module in the process of processing SRv6 messages. And (4) because the value of the segment residual field is reduced by one and then becomes zero, executing a popup operation, namely popping up the SRH extension header, and changing the message into a common IPv6 message, wherein the common IPv6 message is forwarded according to the common IPv 6. And for the popped SRH extension head, packaging the outer tunnel head and then forwarding the SRH extension head to an analysis server for time delay calculation, so that the forwarding time delay of each node can be obtained.
On the basis of not influencing message forwarding, the invention multiplexes the segment list field, namely, the SID field for identifying SRv6 node address information is kept in the segment list field, and simultaneously, the direction-entering timestamp and the direction-exiting timestamp for recording time are configured, so that time delay measurement can be realized without changing the length of SRv6 messages, message overhead and consumption of bandwidth of a path along the way are reduced, meanwhile, SRv6 messages for time delay measurement are simpler to design by multiplexing the segment list field, linear speed processing can be completed through chip hardware, and the forwarding time delay of each SRv6 node can be measured in real time.
Therefore, the scope of the present invention should not be limited to the disclosure of the embodiments, but includes various alternatives and modifications without departing from the scope of the present invention, which is defined by the claims of the present patent application.

Claims (10)

1. A time delay measuring method based on SRv6 SID is characterized in that the time delay measuring method comprises
SRv6 a first node receives the message and judges whether to add package, and adds SRH extension head to form SRv6 message when adding package, the SRH extension head includes multiple segment list fields for identifying SRv6 node information and recording time information, each segment list field includes SID field for identifying SRv6 node information, incoming direction timestamp field for recording SRv6 node message receiving time and outgoing direction timestamp field for recording SRv6 node message forwarding time;
SRv6 the first node, SRv6 intermediate node and SRv6 end node all receive SRv6 message and edit message receiving and forwarding time to the in direction timestamp field and out direction timestamp field in the corresponding segment list field, SRv6 end node pop up and package all segment list fields and send them to the analysis server to calculate time delay.
2. The delay measurement method according to claim 1, wherein the SRv6 head node determines whether a packet is encapsulated by:
acquiring a destination MAC address and a destination IP address carried by a message;
and judging whether the MAC address is the same as the local MAC address or not, searching a routing table according to the destination IP address and judging whether the next hop is an SRv6 forwarding path or not, and if the MAC address and the local MAC address are both satisfied, performing encapsulation processing on the message.
3. The latency measurement method of claim 1, wherein the SRv6 intermediate nodes and SRv6 end nodes further perform the following steps before compiling the time to receive and forward the packet into the ingress direction timestamp field and the egress direction timestamp field in the corresponding segment list field:
and searching a local SID forwarding table according to the destination IPv6 address in the SRv6 message, and copying the value of the SID field in the segmentation list field corresponding to the next SRv6 node to the destination IPv6 address when the local SID forwarding table is searched.
4. The latency measurement method of claim 1, wherein the segment list field has 128 bits, and upper 64 bits are bits used by the SID field, lower 64 bits are bits used by the in-direction timestamp and the out-direction timestamp, and each of the in-direction timestamp and the out-direction timestamp has 32 bits.
5. The latency measurement method of claim 1, wherein the SRv6 terminal node pops up all segment list fields and encapsulates the outer tunnel header before sending it to the analysis server for computation of latency.
6. A time delay measuring device based on SRv6 SID is characterized in that the time delay measuring device comprises
A packaging module, configured to enable an SRv6 head node to receive a packet and determine whether to package the packet, and add an SRH extension header to form a SRv6 packet when packaging the packet, where the SRH extension header includes a plurality of segment list fields used to identify SRv6 node information and record time information, and each segment list field includes an SID field used to identify SRv6 node information, an ingress timestamp field used to record a time when the SRv6 node packet is received, and an egress timestamp field used to record a time when the SRv6 node packet is forwarded;
and the time delay measurement module is used for enabling the SRv6 head node, the SRv6 intermediate node and the SRv6 end node to receive the SRv6 message, editing the message receiving and forwarding time into an incoming direction timestamp field and an outgoing direction timestamp field in the corresponding segment list field, and enabling the SRv6 end node to pop out and package all the segment list fields and then upload the segments to the analysis server to calculate time delay.
7. The latency measurement device of claim 6, wherein the encapsulation module comprises
The information acquisition module is used for acquiring a destination MAC address and a destination IP address carried by the message;
the judging module is used for judging whether the MAC address is the same as the local MAC address or not, searching a routing table according to the destination IP address and judging whether the next hop is an SRv6 forwarding path or not;
and the editing module is used for performing encapsulation processing on the message when the judging module judges that the MAC address is the same as the local MAC address and the next hop is the SRv6 forwarding path.
8. The latency measurement device of claim 6, wherein the latency measurement module further enables the SRv6 intermediate node and the SRv6 termination node to search a local SID forwarding table according to a destination IPv6 address in the SRv6 packet, and copy a value of a SID field in a segment list field corresponding to a next SRv6 node to the destination IPv6 address when the local SID forwarding table is searched.
9. The latency measurement device of claim 6, wherein the segment list field has 128 bits, the upper 64 bits are bits used by the SID field, the lower 64 bits are bits used by the ingress and egress timestamp, and the ingress and egress timestamp have 32 bits.
10. The latency measurement apparatus of claim 6, wherein the latency measurement module causes SRv6 the terminal node to pop all segment list fields out and encapsulate the outer tunnel header before sending it to the analysis server for computing the latency.
CN202011410219.0A 2020-12-04 2020-12-04 Time delay measuring method and device based on SRv6 SID Pending CN112565017A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011410219.0A CN112565017A (en) 2020-12-04 2020-12-04 Time delay measuring method and device based on SRv6 SID
PCT/CN2021/135505 WO2022117092A1 (en) 2020-12-04 2021-12-03 Time delay measurement method and apparatus based on srv6 sid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011410219.0A CN112565017A (en) 2020-12-04 2020-12-04 Time delay measuring method and device based on SRv6 SID

Publications (1)

Publication Number Publication Date
CN112565017A true CN112565017A (en) 2021-03-26

Family

ID=75048593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011410219.0A Pending CN112565017A (en) 2020-12-04 2020-12-04 Time delay measuring method and device based on SRv6 SID

Country Status (2)

Country Link
CN (1) CN112565017A (en)
WO (1) WO2022117092A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113328915A (en) * 2021-06-02 2021-08-31 北京工业大学 Associated network measuring method based on SRv6
CN113644998A (en) * 2021-08-23 2021-11-12 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network
CN114050994A (en) * 2021-11-11 2022-02-15 东南大学 SRv 6-based network telemetry method
WO2022117092A1 (en) * 2020-12-04 2022-06-09 苏州盛科通信股份有限公司 Time delay measurement method and apparatus based on srv6 sid
CN114866453A (en) * 2022-05-18 2022-08-05 中电信数智科技有限公司 Message forwarding method and system based on G-SRv6 protocol
CN115022415A (en) * 2022-05-23 2022-09-06 烽火通信科技股份有限公司 Method and device for terminating multilayer SID message
CN115134275A (en) * 2022-06-06 2022-09-30 中国信息通信研究院 Method, electronic device and storage medium for realizing unidirectional network test by utilizing IPv6 hop-by-hop extension header
WO2022222693A1 (en) * 2021-04-21 2022-10-27 中兴通讯股份有限公司 Message processing method and apparatus, electronic device, and computer-readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277530B (en) * 2022-07-20 2024-04-26 杭州安恒信息技术股份有限公司 Data processing method, device, equipment and medium based on SRv protocol
CN115396354B (en) * 2022-08-24 2023-06-02 苏州盛科通信股份有限公司 SRv6 message SID segmentation query method and application
CN117201407B (en) * 2023-11-07 2024-01-05 湖南国科超算科技有限公司 IPv6 network rapid congestion detection and avoidance method adopting perception

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513703A (en) * 2016-12-28 2018-09-07 华为技术有限公司 network performance detection method and device
US20200084143A1 (en) * 2018-09-11 2020-03-12 Cisco Technology, Inc. In-situ operation, administration, and maintenance in segment routing with multiprotocol label switching networks
US20200084147A1 (en) * 2018-09-11 2020-03-12 Cisco Technology, Inc. In-situ passive performance measurement in a network environment
CN111095881A (en) * 2017-10-04 2020-05-01 思科技术公司 Segmented routing network signaling and packet processing
US20200195568A1 (en) * 2018-12-17 2020-06-18 Cisco Technology, Inc. Hardware-friendly mechanisms for in-band oam processing
CN111431822A (en) * 2020-04-19 2020-07-17 汪勤思 Deterministic time delay service intelligent scheduling and control implementation method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026504B (en) * 2006-02-24 2011-05-11 华为技术有限公司 Network performance measuring method
CN114598642A (en) * 2018-06-25 2022-06-07 华为技术有限公司 Method for sending network performance parameters and calculating network performance and network node
CN111107004B (en) * 2018-10-27 2021-06-01 华为技术有限公司 Message processing method, related equipment and computer storage medium
CN112565017A (en) * 2020-12-04 2021-03-26 盛科网络(苏州)有限公司 Time delay measuring method and device based on SRv6 SID

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513703A (en) * 2016-12-28 2018-09-07 华为技术有限公司 network performance detection method and device
CN111095881A (en) * 2017-10-04 2020-05-01 思科技术公司 Segmented routing network signaling and packet processing
US20200084143A1 (en) * 2018-09-11 2020-03-12 Cisco Technology, Inc. In-situ operation, administration, and maintenance in segment routing with multiprotocol label switching networks
US20200084147A1 (en) * 2018-09-11 2020-03-12 Cisco Technology, Inc. In-situ passive performance measurement in a network environment
US20200195568A1 (en) * 2018-12-17 2020-06-18 Cisco Technology, Inc. Hardware-friendly mechanisms for in-band oam processing
CN111431822A (en) * 2020-04-19 2020-07-17 汪勤思 Deterministic time delay service intelligent scheduling and control implementation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
C. LI等: "A Light Weight IOAM for SRv6 Network Programming draft-li-spring-light-weight-srv6-ioam-02", 《IETF 》 *
王俊杰等: "《基于盛科芯片平台测试验证SRv6 Unified SID方案》", 《SDNLAB》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022117092A1 (en) * 2020-12-04 2022-06-09 苏州盛科通信股份有限公司 Time delay measurement method and apparatus based on srv6 sid
WO2022222693A1 (en) * 2021-04-21 2022-10-27 中兴通讯股份有限公司 Message processing method and apparatus, electronic device, and computer-readable storage medium
CN113328915A (en) * 2021-06-02 2021-08-31 北京工业大学 Associated network measuring method based on SRv6
CN113328915B (en) * 2021-06-02 2022-06-07 北京工业大学 Associated network measuring method based on SRv6
CN113644998A (en) * 2021-08-23 2021-11-12 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network
CN113644998B (en) * 2021-08-23 2023-06-09 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network
CN114050994A (en) * 2021-11-11 2022-02-15 东南大学 SRv 6-based network telemetry method
CN114866453A (en) * 2022-05-18 2022-08-05 中电信数智科技有限公司 Message forwarding method and system based on G-SRv6 protocol
CN114866453B (en) * 2022-05-18 2024-01-19 中电信数智科技有限公司 Message forwarding method and system based on G-SRv protocol
CN115022415A (en) * 2022-05-23 2022-09-06 烽火通信科技股份有限公司 Method and device for terminating multilayer SID message
CN115022415B (en) * 2022-05-23 2023-08-25 烽火通信科技股份有限公司 Multi-layer SID message termination method and device
CN115134275A (en) * 2022-06-06 2022-09-30 中国信息通信研究院 Method, electronic device and storage medium for realizing unidirectional network test by utilizing IPv6 hop-by-hop extension header

Also Published As

Publication number Publication date
WO2022117092A1 (en) 2022-06-09

Similar Documents

Publication Publication Date Title
CN112565017A (en) Time delay measuring method and device based on SRv6 SID
CN111935014B (en) Message forwarding method and device based on SRv6 network, storage medium and electronic equipment
US10469367B2 (en) Segment routing network processing of packets including operations signaling and processing of packets in manners providing processing and/or memory efficiencies
US11979322B2 (en) Method and apparatus for providing service for traffic flow
US6754211B1 (en) Method and apparatus for wire speed IP multicast forwarding
US8320374B2 (en) Method and apparatus for improved multicast routing
US9276853B2 (en) Hashing of network packet flows for efficient searching
CN109379359A (en) The treating method and apparatus of SRv6 data packet
CN111510386B (en) Method and device for processing message
JP2004129196A (en) System and method for determining source of ip packet
JP2023517574A (en) IN-SITU FLOW DETECTION METHOD AND APPARATUS
CN112787927B (en) Segmented routing message forwarding method and device and preset logic circuit unit
CN116800672B (en) Method, device, electronic equipment and storage medium for accelerating message forwarding
US10531168B2 (en) Low-latency data switching device and method
CN102263700B (en) Method, device and system for sending and receiving messages
CN108667735B (en) Method and device for forwarding multicast data
WO2003079612A1 (en) Method and apparatus for direct data placement over tcp/ip
WO2021093477A1 (en) Path planning method and device, and data transmission system
KR20230005369A (en) IOAM methods and electronics
US20230327983A1 (en) Performance measurement in a segment routing network
CN114697408B (en) Tunnel message processing method and device
KR20080052856A (en) Apparatus and method for ipv6 tunneling
US20230269151A1 (en) Performance Measurement Method and Apparatus, and System
CN114760166B (en) Tunnel message processing method and device
CN114039888B (en) Time delay measurement method and device

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
CB02 Change of applicant information

Address after: 215101 unit 13 / 16, 4th floor, building B, No. 5, Xinghan street, Suzhou Industrial Park, Jiangsu Province

Applicant after: Suzhou Shengke Communication Co.,Ltd.

Address before: Unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, 215000 Jiangsu Province

Applicant before: CENTEC NETWORKS (SUZHOU) Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210326

RJ01 Rejection of invention patent application after publication