WO2021169290A1 - 配置性能探测指示信息的方法及相关设备 - Google Patents

配置性能探测指示信息的方法及相关设备 Download PDF

Info

Publication number
WO2021169290A1
WO2021169290A1 PCT/CN2020/118670 CN2020118670W WO2021169290A1 WO 2021169290 A1 WO2021169290 A1 WO 2021169290A1 CN 2020118670 W CN2020118670 W CN 2020118670W WO 2021169290 A1 WO2021169290 A1 WO 2021169290A1
Authority
WO
WIPO (PCT)
Prior art keywords
indication information
detection
performance detection
control node
message
Prior art date
Application number
PCT/CN2020/118670
Other languages
English (en)
French (fr)
Inventor
周天然
刘敏
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20921648.0A priority Critical patent/EP4099631A4/en
Publication of WO2021169290A1 publication Critical patent/WO2021169290A1/zh
Priority to US17/892,240 priority patent/US20220400072A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • 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/04Network management architectures or arrangements
    • H04L41/045Network management architectures or arrangements comprising client-server management architectures
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical 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/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based 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/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/645Splitting route computation layer and forwarding layer, e.g. routing according to path computational element [PCE] or based on OpenFlow functionality
    • H04L45/655Interaction between route computation entities and forwarding entities, e.g. for route determination or for flow table update
    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Definitions

  • This application relates to the field of routing technology, and in particular to a method and related equipment for configuring performance detection indication information.
  • Performance detection of data flow includes performance detection in different modes such as path topology, packet loss rate, and transmission delay.
  • the performance detection of the data stream needs to be realized by collecting the real-time information of the forwarding node of the data message in the data stream. For example, when the detection mode is the path topology detection mode, it is necessary to collect interface information for each forwarding node to send and receive data packets. Before performing performance detection on a data stream, it is necessary to configure performance detection indication information on each forwarding node.
  • the performance detection indication information is used to indicate which data stream to perform performance detection in which detection mode, so that subsequent nodes can be based on the performance detection mode.
  • the performance detection indication information collects detection data on the received data message.
  • each AS includes a group of nodes. These nodes can be routers and other devices. Each node in the same AS is managed by the same controller.
  • technicians use the command line or NetConf (a mechanism for managing network equipment) at each node through the controller Configure performance detection instructions. Since it is necessary to manually configure performance detection indication information on each node in each AS, the efficiency of configuring performance detection indication information is low.
  • This application provides a method and related equipment for configuring performance detection indication information, which can improve the efficiency of configuring performance detection indication information.
  • the technical solution is as follows:
  • a method for configuring performance detection indication information is provided.
  • the method is applied to a control node in a communication network.
  • the communication network further includes a plurality of forwarding nodes, and the plurality of forwarding nodes are in different ASs.
  • the control node determines performance detection indication information, and the performance detection indication information is used to indicate a data stream to be subjected to performance detection and one or more target detection modes for performing performance detection on the data stream.
  • the border gateway protocol border gateway protocol, BGP
  • BGP border gateway protocol
  • the first notification message carries the performance detection indication information, so that the multiple forwarding nodes configure the performance detection indication at the local end information.
  • BGP is extended, so that the control node in the communication network can issue the first notification message carrying the performance detection indication information based on the extended BGP.
  • forwarding nodes in different ASs can obtain performance detection indication information through the first notification message, so as to facilitate local configuration
  • the performance detection indication information That is, through the first notification message, a complete transmission chain based on the data flow can be implemented to uniformly configure the performance detection indication information for the forwarding nodes in each AS. In this way, it is not necessary for each AS in the transmission chain of the data stream to manually configure the performance detection indication information through the control node in the AS, thereby improving the efficiency of configuring the performance detection indication information.
  • this application is equivalent to directly configuring the performance detection indication information from the level of the service domain, rather than from the management of each AS
  • the performance detection indication information is configured at the level of the domain. In this way, when the service domain is larger than the management domain, the performance detection indication information of all management domains can be configured at one time by the method provided in the embodiment of this application, thereby improving the configuration performance detection indication information. efficient.
  • the first advertisement message may be a BGP FS routing message
  • the BGP FS routing message includes a network layer reachability message and an action execution instruction message.
  • the network layer reachability message carries first indication information
  • the first indication information is used to indicate the data flow
  • the execution action indication message carries second indication information
  • the second indication information is used to indicate the one or Multiple target detection modes.
  • the existing BGP FS routing message in BGP can be extended, so that the BGP FS routing message can carry the above performance detection indication information, and there is no need to extend new types of messages, which improves configuration performance.
  • the efficiency of detecting indication information is also conducive to popularizing the configuration performance detecting indication information method provided in this application.
  • the above-mentioned execution action instruction message also carries third instruction information, and the third instruction information is used to indicate the detection of each target in one or more target detection modes.
  • the type of probe data associated with the pattern is used to indicate the detection data that needs to be collected in the corresponding target detection mode.
  • the performance detection indication information may also carry the detection data type associated with the target detection mode.
  • the local end of each forwarding node is not only configured with the target detection mode to be performed, but also the detection data type associated with the target detection mode, so that when the subsequent forwarding node determines that the data flow matches the data flow indicated in the performance detection indication information, The detection data can be collected directly according to the detection data type associated with the target detection mode, thereby improving the efficiency of subsequent collection of detection data.
  • the above-mentioned second indication information includes a bitmap field, and the bitmap field includes a plurality of bits corresponding to a plurality of detection modes one-to-one, and the plurality of bits
  • the bit value on the bit position corresponding to each target detection mode in the bits is the first bit value, and the first bit value is used to indicate that the corresponding detection mode is enabled.
  • the bit value on the bit corresponding to each detection mode in the bitmap field can be used to indicate which detection mode is the target detection mode, which improves the efficiency of the control node in generating the first notification message and also improves The efficiency of each subsequent forwarding node to determine the target detection mode based on the bitmap field.
  • a parameter field may be set in the third indication information of the first notification message, and the parameter field is used to indicate the type of detection data associated with each target detection mode. That is, by setting the parameter field in the first notification message, the first notification message carries the detection data type associated with the target detection mode.
  • the above-mentioned first indication information includes the source address, source port, destination address, destination port, and protocol of the data flow, and the protocol is used to indicate that the data flow is forwarded.
  • the protocol used by the data message That is, the five-tuple characteristic of the data stream is used to indicate which data stream the data stream to be detected is, which improves the efficiency of subsequent forwarding nodes to filter the data stream to be detected.
  • a second announcement sent by at least two of the multiple forwarding nodes may also be received Message.
  • the second announcement message includes indication information used to indicate the detection mode supported by the sender of the second announcement message.
  • the foregoing method for determining the performance detection indication information may be: obtaining one or more candidate detection modes that need to perform performance detection on the data stream; according to the second notification message from the one or more backup The effective detection mode is selected from the detection modes as the one or more target detection modes; the performance detection indication information to be configured is generated according to the one or more target detection modes.
  • the discovery of the performance detection capability of each forwarding node is supported, so that the control node can screen effective detection modes, and the success rate of subsequent collection of detection data by each forwarding node is improved.
  • a method for configuring performance detection indication information is provided, which is applied to any forwarding node in a communication network.
  • the communication network also includes multiple forwarding nodes and control nodes, and the multiple forwarding nodes are in different ASs. .
  • the forwarding node receives the first notification message that the control node publishes in the communication network based on BGP, and the first notification message carries performance detection indication information, and the performance detection indication information is used to indicate the performance detection to be performed.
  • the forwarding node configures the performance detection indication information at the local end.
  • BGP is extended, so that the control node in the communication network can issue the first notification message carrying the performance detection indication information based on the extended BGP.
  • forwarding nodes in different ASs can obtain performance detection indication information through the first notification message, so as to facilitate local configuration The performance detection indication information. That is, through the first notification message, it is possible to implement a unified configuration of performance detection indication information for the forwarding nodes in each AS based on the complete transmission chain of the data flow.
  • a control node in a communication network is provided, the communication network further includes multiple forwarding nodes, the multiple forwarding nodes are in different ASs, and the control node includes:
  • the determining module is used to determine performance detection indication information, where the performance detection indication information is used to indicate a data stream to be subjected to performance detection and one or more target detection modes for performing performance detection on the data stream;
  • the publishing module is configured to publish a first notification message in the communication network based on BGP, and the first notification message carries the performance detection indication information, so that the multiple forwarding nodes configure the performance detection indication information at the local end.
  • the first advertisement message is a BGP FS routing message
  • the BGP FS routing message includes a network layer reachability message and an action execution instruction message.
  • the network layer reachability message carries first indication information
  • the first indication information is used to indicate the data flow
  • the action execution indication message carries second indication information
  • the second indication information is used to indicate the one or more targets Detection mode.
  • the execution action instruction message also carries third instruction information, and the third instruction information is used to indicate the detection of each target in one or more target detection modes.
  • the type of detection data associated with each target detection mode is used to indicate the detection data that needs to be collected in the corresponding target detection mode.
  • the second indication information includes a bitmap field, and the bitmap field includes multiple bits corresponding to multiple detection modes one-to-one, and multiple bits
  • the bit value on the bit position corresponding to each target detection mode in the bits is the first bit value, and the first bit value is used to indicate that the corresponding detection mode is enabled.
  • the third indication information includes a parameter field, and the parameter field is used to indicate the type of detection data associated with each target detection mode.
  • the first indication information includes the source address, source port, destination address, destination port, and protocol of the data flow, and the protocol is used to indicate that the data flow is forwarded The protocol used by the data message.
  • control node further includes:
  • the receiving module is configured to receive a second notification message sent by at least two of the multiple forwarding nodes, where the second notification message includes indication information used to indicate the detection mode supported by the sender of the second notification message ;
  • the determining module is used for:
  • the second notification message select an effective detection mode from one or more candidate detection modes as the one or more target detection modes;
  • the performance detection indication information is generated according to the one or more target detection modes.
  • a control node is provided, and the control node has the function of realizing the behavior of the method for configuring performance detection indication information in the first aspect.
  • the control node includes at least one module, and the at least one module is used to implement the method for configuring performance detection indication information provided in the first aspect.
  • a forwarding node in a communication network is provided.
  • the communication network further includes multiple forwarding nodes and control nodes.
  • the multiple forwarding nodes are in different ASs, and any one of the multiple forwarding nodes includes :
  • the receiving module is configured to receive a first notification message issued by the control node in the communication network based on the Border Gateway Protocol BGP, the first notification message carrying performance detection indication information, and the performance detection indication information is used to indicate pending The data stream for performance detection and one or more target detection modes for performing performance detection on the data stream;
  • the configuration module is used to configure the performance detection indication information on the local end.
  • a forwarding node is provided, and the forwarding node has the function of realizing the behavior of the method for configuring performance detection indication information in the second aspect.
  • the forwarding node includes at least one module, and the at least one module is used to implement the method for configuring performance detection indication information provided in the second aspect.
  • a control node in a communication network includes a memory and a processor
  • the memory is used to store computer programs
  • the processor is configured to execute a program stored in the memory to execute any method described in the first aspect.
  • a forwarding node in a communication network includes a memory and a processor
  • the memory is used to store computer programs
  • the processor is configured to execute a program stored in the memory to execute any method described in the second aspect.
  • a computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the configuration performance detection instruction information described in the first aspect. method.
  • a computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the configuration performance detection instruction information described in the second aspect. method.
  • a computer program product containing instructions, which when running on a computer, causes the computer to execute the method for configuring performance detection indication information described in the first aspect.
  • a computer program product containing instructions which when running on a computer, causes the computer to execute the method for configuring performance detection indication information described in the second aspect.
  • a system for configuring performance detection indication information includes a control node and multiple forwarding nodes, and the multiple forwarding nodes are in different ASs.
  • control node is used to determine performance detection indication information
  • the performance detection indication information is used to indicate a data stream to be subjected to performance detection and one or more target detection modes for performing performance detection on the data stream;
  • the control node is further configured to publish a first notification message in the communication network based on BGP, where the first notification message carries the performance detection indication information, so that the multiple forwarding nodes configure the performance detection indication information at the local end;
  • Any one of the foregoing multiple forwarding nodes is configured to receive the first announcement message issued by the control node in the communication network;
  • the forwarding node is also used to configure the performance detection indication information at the local end.
  • FIG. 1 is a schematic diagram of the architecture of a communication network provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for configuring performance detection indication information provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a bitmap field provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a control node provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a forwarding node provided by an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the intelligent operation and maintenance of the network includes performance detection of various data streams in the network.
  • performance detection When performing performance detection on a data stream, it is necessary to collect a large amount of real-time information at the forwarding device layer to realize the visibility of the forwarding surface and perform performance detection on the data stream.
  • telemetry information may include equipment inventory information and link state information collected based on protocols such as simple network management protocol (SNMP)/NetConf, and may also include network management protocol (network management protocol, extended based on control protocol).
  • the protocol routing status information collected by NMP can also include the flow characteristics collected based on the Netstream (network stream) protocol, and can also include the five-tuple based on the in-site operation administration and maintenance (in-site operation administration and maintenance, iOAM) protocol
  • the packet-by-packet service-level agreement (SLA) information and path information of the flow can also include the flow characteristics collected based on the Netstream (network stream) protocol, and can also include the five-tuple based on the in-site operation administration and maintenance (in-site operation administration and maintenance, iOAM) protocol
  • SLA service-level agreement
  • In-site flow info telemetry in-site flow info telemetry, iFIT
  • iOAM technology is currently the industry’s packet-by-packet in-band performance monitoring technology for designated flows.
  • performance testing instructions on each node in each AS through the command line or Netconf. For example, configure the quintuple feature of the data stream and the instruction of monitoring data to be encapsulated on the head node, and configure the quintuple feature of the data stream and the decapsulation instruction on the tail node.
  • the five-tuple feature of the data stream is used to indicate which data stream is to be tested for performance.
  • the head node After configuring performance detection indication information on each node, the head node can insert a telemetry instruction header (TIH) into the data message to guide each hop intermediate node to collect detection data (Metadata) based on the TIH, And report the collected detection data.
  • TIH telemetry instruction header
  • the performance detection indication information is configured on each forwarding device through the command line or through NetConf/YANG, that is, each forwarding device is enabled.
  • the domain in which the data flow resides spans multiple ASs, it is necessary to configure performance detection indication information for each AS, which results in extremely low efficiency of enabling each forwarding device.
  • end-to-end (E2E) performance detection is usually cross-AS performance detection.
  • E2E end-to-end
  • IPRAN Internet Protocol Radio Access Network
  • the SDN underlying controller is only responsible for the automatic distribution and configuration of services in each AS. Therefore, for E2E performance detection, it is easy to appear that the control domain of the controller and the domain where the data flow is located may not completely coincide. In this case, it is very inefficient to configure performance detection instructions through the command line or NetConf. Therefore, the embodiment of the present application provides a method for configuring performance detection indication information, which uniformly automatically configures the performance detection indication information on nodes in each AS through the extension of the control protocol, so as to realize the automation of the performance detection of the data stream.
  • FIG. 1 is a schematic diagram of the architecture of a communication network provided by an embodiment of the present application.
  • the communication network 100 includes a control node 101 and a plurality of forwarding nodes 102. Any forwarding node 102 can be connected to the control node 101 in a wired or wireless manner for communication.
  • Each forwarding node 102 may be located in a different AS.
  • FIG. 1 only takes forwarding nodes in two ASs as an example for illustration, and does not constitute a restriction on the AS where each forwarding node 102 is located.
  • the control node 101 is configured to issue performance detection indication information to each forwarding node 102 through the method provided in the embodiment of the present application, so that the performance detection indication information can be configured without using a command line or NetConf.
  • the forwarding nodes in different ASs can be enabled by a one-time operation of the control node, thereby improving the efficiency of enabling each forwarding node.
  • the forwarding node in FIG. 1 may also be referred to as a network element, or a forwarding device, etc., which is not specifically limited herein.
  • control node in FIG. 1 may be a device such as a controller in a communication network, or a network performance centralized analyzer, and the forwarding node may be a router, or a layer 3 switch, and other devices, which are also not specifically limited here.
  • control node is a control node that can deliver notification messages to multiple different ASs based on BGP, that is, the control node in the embodiment of the present application is a control node above the AS layer. It is not a control node within an AS.
  • Fig. 2 is a flowchart of a method for configuring performance detection indication information provided by an embodiment of the present application. As shown in Figure 2, the method includes the following steps:
  • Step 201 The control node determines performance detection indication information, where the performance detection indication information is used to indicate a data stream to be subjected to performance detection and one or more target detection modes for performing performance detection on the data stream.
  • the control node may directly determine the performance detection indication information, so as to configure the performance detection indication information on each forwarding node through the following steps 202 and 203.
  • the control node does not need to consider the performance detection capabilities of each forwarding node, and only needs to issue performance detection indication information through the following steps 202 and 203.
  • each forwarding node after the performance detection indication information is issued to each forwarding node, if each forwarding node does not have the capability of the detection mode indicated in the performance detection indication information, each forwarding node will not be able to successfully perform performance detection on the target data stream. . Therefore, in another possible implementation manner, the embodiment of the present application also supports the discovery of the performance detection capability of each forwarding node.
  • At least two of the multiple forwarding nodes in the communication network may send a second notification message, and the second notification message includes an indication for indicating a detection mode supported by the sender of the second notification message information.
  • the control node can receive the second notification message sent by the at least two forwarding nodes.
  • the control node can know in advance the detection modes supported by each forwarding node.
  • the control node may determine the performance detection indication information by obtaining one or more candidate detection modes that need to perform performance detection on the target data stream; An effective detection mode is selected from the candidate detection modes as one or more target detection modes; performance detection indication information is generated according to the one or more target detection modes. That is, the detection mode indicated in the performance detection indication information is an effective detection mode determined by the control node.
  • the foregoing implementation of filtering out the effective detection mode from one or more candidate detection modes according to the second notification message may be: determining the second forwarded message reported by each node on the forwarding path of the target data flow, for For any candidate detection mode, if the second notification message reported by each node on the forwarding path of the target data flow supports the candidate detection mode, then the candidate detection mode is determined as an effective detection mode. Or, if the number of nodes supporting the candidate detection mode in the second notification message reported by each node on the forwarding path of the target data flow is greater than a certain proportion, the candidate detection mode is determined as the effective detection mode.
  • the embodiment of the application does not limit the specific implementation manner of determining the effective detection mode, that is, determining the effective detection mode and the second notification message reported by each node on the forwarding path of the target data flow supports the candidate detection There is no strong coupling relationship between the number of nodes in the pattern.
  • the foregoing second notification message can be implemented by extending the message in the IGP, which is not described in detail in the embodiment of the present application.
  • the discovery of in-situ Flow Info Telemetry (iFIT) capabilities of forwarding nodes can be realized by extending IGP messages.
  • Step 202 The control node publishes a first notification message in the communication network based on BGP, and the first notification message carries the performance detection indication information.
  • the BGP protocol in order to achieve unified configuration of performance detection indication information for forwarding nodes in different ASs, can be extended to obtain the first notification message, so that the performance detection indication can be issued through the first notification message. information.
  • the current BGP flow policy (flow specification, FS) FS routing message in the current BGP protocol can be extended to obtain the first notification message in the embodiment of the present application. That is, the first advertisement message may be a BGP FS routing message.
  • FS flow specification
  • the BGP FS routing message is a routing message defined in the BGP standard protocol.
  • the BGP FS routing message contains BGP network layer reachability information (NLRI) and extended community attributes.
  • NLRI BGP network layer reachability information
  • BGP FS routing messages can carry traffic filtering conditions and actions performed after traffic filtering. That is, the network layer reachability message in the BGP FS routing message is used to indicate the filtering conditions of the traffic, and the extended community attribute in the BGP FS routing message is used to indicate the action to be performed after the traffic is filtered.
  • Table 1 and Table 2 are respectively schematic tables of network layer reachability messages and extended community attributes in a BGP FS routing message provided in an embodiment of the present application.
  • Table 1 indicates the filtering conditions of the flow.
  • different types of network layer reachability messages can indicate different filter conditions. These filter conditions can include addresses whose destination addresses are IPv4/IPv6 types, addresses whose source addresses are IPv4/IPv6 types, and so on.
  • Table 2 indicates the actions performed after the traffic meets the filter conditions. As shown in Table 2, after the flow meets the filtering conditions shown in Table 1, the executable actions include different types of actions, such as controlling the flow rate.
  • Action type action 0X8006 Control flow rate ... ...
  • the original function of the BGP FS routing message can be used to implement the above-mentioned performance detection indication information.
  • a new type of network layer reachability message can be defined to indicate the target data stream to be tested for performance, and a new type of action can be defined to indicate the detection mode for performance testing of the target data stream.
  • the extended BGP FS routing message includes network layer reachability messages and action execution instructions messages.
  • the network layer reachability message carries first indication information, and the first indication information is used to indicate the target data flow.
  • the execution action instruction message carries second instruction information, and the second instruction information is used to indicate one or more target detection modes for performing performance detection on the target data stream.
  • the above-mentioned performance detection indication information can be realized through the first indication information and the second indication information.
  • the above-mentioned second indication information may include a bitmap field, and the bitmap field includes a plurality of bits corresponding to the plurality of detection modes one-to-one.
  • the value of the bit corresponding to each target detection mode is the first bit value
  • the first bit value is used to indicate that the corresponding detection mode is enabled.
  • the first bit value may be 1.
  • FIG. 3 is a schematic diagram of a bitmap field provided by an embodiment of the present application.
  • the bitmap field includes n bits, and each bit corresponds to a detection mode.
  • Bit 1 corresponds to detection mode 1
  • bit 2 corresponds to detection mode 2
  • bit n corresponds to detection mode n.
  • These n detection modes can be inband-Flow info telemetry postcard trace (iFIT PT trace), flow operation management and maintenance trace (insite-operation administration and maintenance trace, iOAM trace), end-to-end (End 2 End, E2E) and other detection modes.
  • iFIT PT trace inband-Flow info telemetry postcard trace
  • iOAM trace insite-operation administration and maintenance trace
  • End 2 End End
  • each forwarding node After the target detection mode is configured, if each forwarding node can learn the type of data that needs to be detected in each detection mode through other means (such as manual configuration) in advance, at this time, the performance detection indication information does not need to carry each detection mode The type of data to be probed.
  • the execution action instruction message may also carry third instruction information, and the third instruction information is used to indicate the connection with one or The detection data type associated with each target detection mode in the multiple target detection modes, and the detection data type associated with each target detection mode is used to indicate the detection data that needs to be collected in the corresponding target detection mode.
  • the execution action instruction message may also carry third instruction information, and the third instruction information is used to indicate the connection with one or The detection data type associated with each target detection mode in the multiple target detection modes, and the detection data type associated with each target detection mode is used to indicate the detection data that needs to be collected in the corresponding target detection mode.
  • the aforementioned third indication information includes a parameter field, and the parameter field is used to indicate the type of detection data associated with each target detection mode. That is, a parameter field is set in the third indication information to indicate the type of detection data associated with each target detection mode.
  • the above-mentioned third indication information may only carry the detection data type associated with each target detection mode. In this way, the network resources occupied by publishing the first announcement message can be reduced.
  • all the detection data types associated with the detection mode may be carried in the third indication information.
  • the second indication information can be used to determine Which detection mode is the target detection mode, and then determine the type of data to be collected based on the third indication information.
  • the above-mentioned first indication information can follow the filtering conditions in the current BGP FS routing message.
  • the first indication information can include the quintuple characteristics of the target data flow, that is, include the source address, source port, and source address of the target data flow. Destination address, destination port, and protocol. This protocol is used to indicate the protocol used to forward data packets in the target data stream.
  • the first indication information may also use other methods to indicate the target data stream, which will not be described one by one here.
  • BGP FS routing message as an example to illustrate the first notification message provided in the embodiment of the present application.
  • other messages in the BGP protocol may also be used to implement the first notification message, or a new message may be defined in the BGP protocol to implement the first pass message, which is not specifically limited here.
  • Step 203 The first forwarding node in the communication network receives the first notification message, and deploys the performance detection indication information on the local end.
  • each forwarding node in the communication network can configure the performance detection indication information carried in the first notification message at the local end based on step 203.
  • the above-mentioned first forwarding node may be any forwarding node of the communication network, which will not be described in detail here.
  • the first forwarding node configures the performance detection indication message at the local end, for any data stream subsequently, it can perform performance detection on the data stream based on the performance detection indication information.
  • the first forwarding node can perform performance detection on the data stream based on the performance detection indication information.
  • a head node in an AS receives a packet of the data stream, it can encapsulate the packet header used to indicate performance detection in the packet according to the pre-configured detection indication information, so that the AS in the AS
  • the intermediate nodes of each hop collect information according to the message header.
  • BGP is extended, so that the control node in the communication network can issue the first notification message carrying the performance detection indication information based on the extended BGP.
  • forwarding nodes in different ASs can obtain performance detection indication information through the first notification message, so as to facilitate local configuration The performance detection indication information. That is, through the first notification message, it is possible to implement a unified configuration of performance detection indication information for forwarding nodes in each AS based on the complete transmission chain of the data flow. In this way, it is not necessary for each AS in the transmission chain of the data stream to manually configure the performance detection indication information through the control node in the AS, thereby improving the efficiency of configuring the performance detection indication information.
  • FIG. 4 is a schematic structural diagram of a control node in a communication network provided by an embodiment of the present application.
  • the communication network further includes multiple forwarding nodes, and the multiple forwarding nodes are in different ASs.
  • the control node includes:
  • the determining module 401 is configured to determine performance detection indication information, where the performance detection indication information is used to indicate a data stream to be subjected to performance detection and one or more target detection modes for performing performance detection on the data stream. For a specific implementation manner, reference may be made to step 201 in the embodiment of FIG. 2.
  • the publishing module 402 is configured to publish a first notification message in the communication network based on the Border Gateway Protocol BGP, the first notification message carrying the performance detection indication information, so that the multiple forwarding nodes configure the performance detection at the local end Instructions.
  • the first notification message carrying the performance detection indication information, so that the multiple forwarding nodes configure the performance detection at the local end Instructions.
  • the first notification message is a BGP FS routing message
  • the BGP FS routing message includes a network layer reachability message and an action execution instruction message
  • the network layer reachability message carries first indication information, the first indication information is used to indicate the data flow, the action execution indication message carries second indication information, and the second indication information is used to indicate the one or more Target detection mode.
  • the execution action instruction message also carries third instruction information, and the third instruction information is used to indicate the type of detection data associated with each target detection mode in the one or more target detection modes, and each target detection mode The type of detection data associated with the mode is used to indicate the detection data that needs to be collected in the corresponding target detection mode.
  • the second indication information includes a bitmap field
  • the bitmap field includes a plurality of bits corresponding to a plurality of detection modes one-to-one, and a bit position corresponding to each target detection mode of the plurality of bits is The bit value of is the first bit value, and the first bit value is used to indicate that the corresponding detection mode is enabled.
  • the third indication information includes a parameter field, and the parameter field is used to indicate the type of detection data associated with each target detection mode.
  • the first indication information includes the source address, source port, destination address, destination port, and protocol of the data flow, and the protocol is used to indicate a protocol used for forwarding data packets in the data flow.
  • control node further includes:
  • the receiving module is configured to receive a second notification message sent by at least two of the multiple forwarding nodes, where the second notification message includes a detection mode used to indicate the detection mode supported by the sender of the second notification message Instruction information;
  • the determination module is used to:
  • the performance detection indication information is generated according to the one or more target detection modes.
  • BGP is extended, so that the control node in the communication network can issue the first notification message carrying the performance detection indication information based on the extended BGP.
  • forwarding nodes in different ASs can obtain performance detection indication information through the first notification message, so as to facilitate local configuration The performance detection indication information. That is, through the first notification message, it is possible to implement a unified configuration of performance detection indication information for the forwarding nodes in each AS based on the complete transmission chain of the data flow. In this way, it is not necessary for each AS in the transmission chain of the data stream to manually configure the performance detection indication information through the control node in the AS, thereby improving the efficiency of configuring the performance detection indication information.
  • control node provided in the above embodiment configures performance detection indication information
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated by different functional modules according to needs. , Divide the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • control node provided in the foregoing embodiment and the method embodiment for triggering the configuration performance detection indication information intelligent network service belong to the same concept.
  • the method embodiment which will not be repeated here.
  • FIG. 5 is a schematic structural diagram of a forwarding node in a communication network provided by an embodiment of the present application.
  • the communication network further includes multiple forwarding nodes, and the multiple forwarding nodes are in different ASs.
  • the forwarding node 500 includes:
  • the receiving module 501 is configured to receive a first notification message issued by the control node in the communication network based on BGP.
  • the first notification message carries performance detection indication information.
  • the performance detection indication information is used to indicate the data flow and the performance detection to be performed.
  • the configuration module 502 is configured to configure the performance detection indication information on the local end. For a specific implementation manner, refer to step 203 in the embodiment of Fig. 2.
  • BGP is extended, so that the control node in the communication network can issue the first notification message carrying the performance detection indication information based on the extended BGP.
  • forwarding nodes in different ASs can obtain performance detection indication information through the first notification message, so as to facilitate local configuration The performance detection indication information. That is, through the first notification message, it is possible to implement a unified configuration of performance detection indication information for the forwarding nodes in each AS based on the complete transmission chain of the data flow. In this way, it is not necessary for each AS in the transmission chain of the data stream to manually configure the performance detection indication information through the control node in the AS, thereby improving the efficiency of configuring the performance detection indication information.
  • the forwarding node provided in the above embodiment configures performance detection indication information
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated by different functional modules according to needs. , Divide the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the forwarding node provided in the foregoing embodiment and the method embodiment for triggering the configuration performance detection indication information intelligent network service belong to the same concept.
  • the method embodiment please refer to the method embodiment, which will not be repeated here.
  • Fig. 6 is a schematic structural diagram of a computer device provided by an embodiment of the present application. Both the control node or the forwarding node in the embodiment of the present application can be implemented by the computer device shown in FIG. 6.
  • the computer device 600 includes at least one processor 601, a communication bus 602, a memory 603, and at least one communication interface 604.
  • the processor 601 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution of the solution of this application.
  • the processor may be used to determine the performance detection indication information through step 201 in the embodiment shown in FIG. 2.
  • the processor may be used to configure performance detection indication information on the local end through step 203 in the embodiment shown in FIG. 2.
  • the communication bus 602 may include a path for transferring information between the above-mentioned components.
  • the memory 603 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
  • the dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only Memory (CD-ROM) or other optical disc storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disks or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer Any other media, but not limited to this.
  • the memory 603 may exist independently and is connected to the processor 601 through the communication bus 602.
  • the memory 603 may also be integrated with the processor 601.
  • the memory 603 is used to store the program code for executing the solution of the present application, and the processor 601 controls the execution.
  • the processor 601 is configured to execute the program code stored in the memory 603.
  • the program code may include one or more software modules, for example, may include each module shown in FIG. 4.
  • the communication interface 604 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • the communication interface may be used to issue the first notification message through step 202 in the embodiment shown in FIG. 2.
  • the communication interface may be used to receive the first notification message through step 203 in the embodiment shown in FIG. 2.
  • the computer device may include multiple processors, for example, the processor 601 and the processor 605 shown in FIG. 6.
  • processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the above-mentioned computer equipment may be a general-purpose computer equipment or a special-purpose computer equipment.
  • the computer device may be a desktop computer, a portable computer, a network server, a PDA (personal digital assistant, PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device.
  • PDA personal digital assistant
  • the embodiments of this application do not limit the type of computer equipment.
  • the embodiment of the present application also provides a system for configuring performance detection indication information.
  • the system includes a control node and multiple forwarding nodes, and the multiple forwarding nodes are in different ASs.
  • control node is used to determine performance detection indication information
  • the performance detection indication information is used to indicate a data stream to be subjected to performance detection and one or more target detection modes for performing performance detection on the data stream;
  • the control node is further configured to publish a first notification message in the communication network based on BGP, where the first notification message carries the performance detection indication information, so that the multiple forwarding nodes configure the performance detection indication information at the local end;
  • Any one of the foregoing multiple forwarding nodes is configured to receive the first announcement message issued by the control node in the communication network;
  • the forwarding node is also used to configure the performance detection indication information at the local end.
  • the first notification message is a BGP FS routing message
  • the BGP FS routing message includes a network layer reachability message and an action execution instruction message
  • the network layer reachability message carries first indication information, the first indication information is used to indicate the data flow, the action execution indication message carries second indication information, and the second indication information is used to indicate the one or more Target detection mode.
  • the execution action instruction message also carries third instruction information, and the third instruction information is used to indicate the type of detection data associated with each target detection mode in the one or more target detection modes, and each target detection mode The type of detection data associated with the mode is used to indicate the detection data that needs to be collected in the corresponding target detection mode.
  • the second indication information includes a bitmap field
  • the bitmap field includes a plurality of bits corresponding to a plurality of detection modes one-to-one, and a bit position corresponding to each target detection mode of the plurality of bits is The bit value of is the first bit value, and the first bit value is used to indicate that the corresponding detection mode is enabled.
  • the third indication information includes a parameter field, and the parameter field is used to indicate the type of detection data associated with each target detection mode.
  • the first indication information includes the source address, source port, destination address, destination port, and protocol of the data flow, and the protocol is used to indicate a protocol used for forwarding data packets in the data flow.
  • control node is also used for:
  • the performance detection indication information is generated according to the one or more target detection modes.
  • control node and the forwarding node in the system reference may be made to the embodiment shown in FIG. 2, and the description will not be repeated here.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), optical medium (for example: digital versatile disc (DVD)), or semiconductor medium (for example: solid state disk (SSD)) )Wait.
  • the program can be stored in a computer-readable storage medium.
  • the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.

Abstract

本申请公开了一种配置性能探测指示信息的方法及相关设备,属于路由技术领域。所述方法包括:控制节点确定性能探测指示信息,基于BGP在该通信网络中发布第一通告报文,第一通告报文携带该性能探测指示信息,以使该多个转发节点在本端配置该性能探测指示信息。如此,当待进行性能探测的数据流是在多个不同的AS之间进行传输时,处于不同AS内的转发节点均可通过第一通告报文获取性能探测指示信息,以便于在本端配置该性能探测指示信息。也即是,通过第一通告报文可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息,从而提高配置性能探测指示信息的效率。

Description

配置性能探测指示信息的方法及相关设备
本申请要求于2020年02月27日提交的申请号为202010125662.7、发明名称为“配置性能探测指示信息的方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及路由技术领域,特别涉及一种配置性能探测指示信息的方法及相关设备。
背景技术
随着互联网技术的发展,对网络中各种数据流的性能探测越来越备受关注。对数据流的性能探测包括诸如路径拓扑、丢包率、传输时延等不同模式的性能探测。对数据流的性能探测需要通过采集数据流中的数据报文的转发节点的实时信息来实现。比如,当探测模式为路径拓扑探测模式时,则需收集各个转发节点收发数据报文的接口信息。而在对数据流进行性能探测之前,需在各个转发节点上配置性能探测指示信息,该性能探测指示信息用于指示对何种数据流进行何种探测模式的性能探测,以便后续各个节点基于该性能探测指示信息对接收到的数据报文进行探测数据的采集。
相关技术中,为了便于管理大型的网络,将网络划分为不同的自治系统(autonomous system,AS)。每个AS包括一组节点,这些节点可以为路由器等设备,同一AS内的各个节点由同一个控制器管理。当需要对在多个AS之间传输的数据流进行性能探测时,对于任一AS内的各个节点,技术人员通过控制器采用命令行或者NetConf(一种管理网络设备的机制)方式在各个节点配置性能探测指示信息。由于需要先通过人工方式在各个AS内的各个节点上配置性能探测指示信息,导致配置性能探测指示信息的效率较低。
发明内容
本申请提供了一种配置性能探测指示信息的方法及相关设备,可以提高配置性能探测指示信息的效率。所述技术方案如下:
第一方面,提供了一种配置性能探测指示信息的方法,该方法应用于通信网络中的控制节点,该通信网络还包括多个转发节点,这多个转发节点处于不同的AS内。在该方法中,控制节点确定性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式。基于边界网关协议(border gateway protocol,BGP)在该通信网络中发布第一通告报文,第一通告报文携带该性能探测指示信息,以使该多个转发节点在本端配置该性能探测指示信息。
在本申请实施例中,对BGP进行扩展,以使通信网络中的控制节点能够基于扩展后的BGP发布携带性能探测指示信息的第一通告报文。如此,当待进行性能探测的数据流是在多个不同的AS之间进行传输时,处于不同AS内的转发节点均可通过第一通告报文获取性能探测指示信息,以便于在本端配置该性能探测指示信息。也即是,通过第一通告报文可以实 现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息。这样就无需对于数据流的传输链中的每个AS单独通过AS内的控制节点基于人工方式来配置性能探测指示信息,从而提高配置性能探测指示信息的效率。并且由于可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息,因此本申请相当于是从业务域的层次来直接配置性能探测指示信息,而不是从各个AS的管理域的层次来配置性能探测指示信息,如此在业务域大于管理域的情况下,通过本申请实施例提供的方法可以一次性配置全部管理域的性能探测指示信息,从而提高配置性能探测指示信息的效率。
基于第一方面提供的方法,在一种可能的实现方式中,第一通告报文可以为BGP FS路由报文,该BGP FS路由报文包括网络层可达性消息和执行动作指示消息。其中,该网络层可达性消息携带有第一指示信息,第一指示信息用于指示该数据流,该执行动作指示消息携带有第二指示信息,该第二指示信息用于指示这一个或多个目标探测模式。
在本申请实施例中,可以对BGP中已有的BGP FS路由报文进行扩展,以使BGP FS路由报文能够携带上述性能探测指示信息,无需扩展新的类型的报文,提高了配置性能探测指示信息的效率,同时也有利于推广本申请提供的配置性能探测指示信息方法。
基于第一方面提供的方法,在一种可能的实现方式中,上述执行动作指示消息还携带有第三指示信息,第三指示信息用于指示与一个或多个目标探测模式中每个目标探测模式关联的探测数据类型。其中,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需要收集的探测数据。
进一步地,为了便于各个转发节点在性能探测过程中采集信息,性能探测指示信息中还可以携带与目标探测模式关联的探测数据类型。如此,各个转发节点本端不仅配置有待进行的目标探测模式,还有与目标探测模式关联的探测数据类型,以便于后续转发节点在确定数据流与性能探测指示信息中指示的数据流匹配时,可以直接根据目标探测模式关联的探测数据类型收集探测数据,从而提高了后续收集探测数据的效率。
基于第一方面提供的方法,在一种可能的实现方式中,上述第二指示信息包括位图字段,该位图字段包括与多个探测模式一一对应的多个比特位,该多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,第一比特值用于指示使能相应的探测模式。
在本申请实施例中,可以通过上述位图字段中各个探测模式对应的比特位上的比特值来指示哪些探测模式为目标探测模式,提高了控制节点生成第一通告报文的效率,也提高了后续各个转发节点基于位图字段确定目标探测模式的效率。
基于第一方面提供的方法,在一种可能的实现方式中,可以在第一通告报文的第三指示信息设置参数字段,该参数字段用于指示每个目标探测模式关联的探测数据类型。也即是,通过在第一通告报文中设置参数字段来实现第一通告报文中携带目标探测模式关联的探测数据类型。
基于第一方面提供的方法,在一种可能的实现方式中,上述第一指示信息包括该数据流的源地址、源端口、目的地址、目的端口以及协议,该协议用于指示转发数据流中的数据报文所使用的协议。也即是,通过数据流的五元组特性来指示待探测的数据流为哪个数据流,提高了后续各个转发节点过滤待探测的数据流的效率。
基于第一方面提供的方法,在一种可能的实现方式中,在上述确定性能探测指示信息之前,在该方法中,还可以接收多个转发节点中的至少两个转发节点发送的第二通告报文。其 中,第二通告报文包括用于指示第二通告报文的发送方所支持的探测模式的指示信息。这种场景下,前述确定性能探测指示信息的实现方式可以为:获取需要对该数据流进行性能检测的一个或多个备选探测模式;根据第二通告报文从所述一个或多个备选探测模式中筛选出有效的探测模式作为这一个或多个目标探测模式;根据这一个或多个目标探测模式生成待配置的性能探测指示信息。
在本申请实施例中,支持各个转发节点的性能探测能力的发现,以便于控制节点能够筛选有效的探测模式,提高了后续各个转发节点收集探测数据的成功率。
第二方面、提供了一种配置性能探测指示信息的方法,应用于通信网络中的任一转发节点,该通信网络还包括多个转发节点和控制节点,这多个转发节点处于不同的AS内。在该方法中,转发节点接收控制节点基于BGP在该通信网络中发布的第一通告报文,该第一通告报文携带性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式。该转发节点在本端配置该性能探测指示信息。
在本申请实施例中,对BGP进行扩展,以使通信网络中的控制节点能够基于扩展后的BGP发布携带性能探测指示信息的第一通告报文。如此,当待进行性能探测的数据流是在多个不同的AS之间进行传输时,处于不同AS内的转发节点均可通过第一通告报文获取性能探测指示信息,以便于在本端配置该性能探测指示信息。也即是,通过第一通告报文可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息。这样就无需对于数据流的传输链中的每个AS单独通过AS内的控制节点基于人工方式来配置性能探测指示信息,从而提高配置性能探测指示信息的效率。并且由于可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息,因此本申请相当于是从业务域的层次来直接配置性能探测指示信息,而不是从各个AS的管理域的层次来配置性能探测指示信息,如此在业务域大于管理域的情况下,通过本申请实施例提供的方法可以一次性配置全部管理域的性能探测指示信息。
第三方面、提供了一种通信网络中的控制节点,该通信网络还包括多个转发节点,这多个转发节点处于不同的AS内,该控制节点包括:
确定模块,用于确定性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式;
发布模块,用于基于BGP在该通信网络中发布第一通告报文,第一通告报文携带该性能探测指示信息,以使这多个转发节点在本端配置该性能探测指示信息。
基于第三方面提供的控制节点,在一种可能的实现方式中,第一通告报文为BGP FS路由报文,BGP FS路由报文包括网络层可达性消息和执行动作指示消息。其中,网络层可达性消息携带有第一指示信息,第一指示信息用于指示该数据流,执行动作指示消息携带有第二指示信息,第二指示信息用于指示这一个或多个目标探测模式。
基于第三方面提供的控制节点,在一种可能的实现方式中,执行动作指示消息还携带有第三指示信息,第三指示信息用于指示与一个或多个目标探测模式中每个目标探测模式关联的探测数据类型,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需 要收集的探测数据。
基于第三方面提供的控制节点,在一种可能的实现方式中,第二指示信息包括位图字段,所述位图字段包括与多个探测模式一一对应的多个比特位,多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,第一比特值用于指示使能相应的探测模式。
基于第三方面提供的控制节点,在一种可能的实现方式中,第三指示信息包括参数字段,该参数字段用于指示每个目标探测模式关联的探测数据类型。
基于第三方面提供的控制节点,在一种可能的实现方式中,第一指示信息包括该数据流的源地址、源端口、目的地址、目的端口以及协议,该协议用于指示转发数据流中的数据报文所使用的协议。
基于第三方面提供的控制节点,在一种可能的实现方式中,该控制节点还包括:
接收模块,用于接收多个转发节点中的至少两个转发节点发送的第二通告报文,第二通告报文包括用于指示第二通告报文的发送方所支持的探测模式的指示信息;
所述确定模块用于:
获取需要对数据流进行性能检测的一个或多个备选探测模式;
根据第二通告报文从一个或多个备选探测模式中筛选出有效的探测模式作为这一个或多个目标探测模式;
根据这一个或多个目标探测模式生成该性能探测指示信息。
也即是,在第三方面中,提供了一种控制节点,该控制节点具有实现上述第一方面中配置性能探测指示信息的方法行为的功能。该控制节点包括至少一个模块,该至少一个模块用于实现上述第一方面所提供的配置性能探测指示信息的方法。
第四方面、提供了一种通信网络中的转发节点,该通信网络还包括多个转发节点和控制节点,这多个转发节点处于不同的AS内,该多个转发节点中任一转发节点包括:
接收模块,用于接收所述控制节点基于边界网关协议BGP在该通信网络中发布的第一通告报文,该第一通告报文携带性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式;
配置模块,用于在本端配置该性能探测指示信息。
也即是,在第四方面中,提供了一种转发节点,该转发节点具有实现上述第二方面中配置性能探测指示信息的方法行为的功能。该转发节点包括至少一个模块,该至少一个模块用于实现上述第二方面所提供的配置性能探测指示信息的方法。
第五方面,提供了一种通信网络中的控制节点,该控制节点包括存储器和处理器;
该存储器用于存储计算机程序;
该处理器用于执行该存储器中存储的程序以执行上述第一方面所述的任一方法。
第六方面,提供了一种通信网络中的转发节点,该转发节点包括存储器和处理器;
该存储器用于存储计算机程序;
该处理器用于执行该存储器中存储的程序以执行上述第二方面所述的任一方法。
第七方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的配置性能探测指示信息的方法。
第八方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面所述的配置性能探测指示信息的方法。
第九方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的配置性能探测指示信息的方法。
第十方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面所述的配置性能探测指示信息的方法。
第十一方面,提供了一种配置性能探测指示信息的系统,该系统包括控制节点和多个转发节点,这多个转发节点处于不同的AS内。
其中,控制节点,用于确定性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式;
控制节点,还用于基于BGP该通信网络中发布第一通告报文,第一通告报文携带该性能探测指示信息,以使这多个转发节点在本端配置该性能探测指示信息;
前述多个转发节点中任一转发节点,用于接收控制节点在通信网络中发布的第一通告报文;
该转发节点,还用于在本端配置该性能探测指示信息。
上述第三方面至第十一方面所获得的技术效果可以参考上述第一方面以及第二方面中对应的技术手段获得的技术效果,在这里不再赘述。
附图说明
图1是本申请实施例提供的一种通信网络的架构示意图;
图2是本申请实施例提供的一种配置性能探测指示信息的方法流程图;
图3是本申请实施例提供的一种位图字段示意图;
图4是本申请实施例提供的一种控制节点的结构示意图;
图5是本申请实施例提供的一种转发节点的结构示意图;
图6是本申请实施例提供的一种计算机设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在对本申请实施例提供的配置性能探测指示信息的方法进行解释说明之前,先对本申请实施例涉及的应用场景进行解释说明。
目前,网络的智能运维也越来越备受关注。对网络的智能运维包括对网络中的各种数据 流的性能探测。在对数据流进行性能探测时,需要通过采集大量转发设备层的实时信息实现转发面可视,进行实现对数据流的性能探测。目前可以通过采集telemetry(远程测量)信息可以实现采集大量转发设备层的实时信息。其中,telemetry信息可以包括基于简单网络管理协议(simple network management protocol,SNMP)/NetConf等协议采集的设备存量信息和链路状态信息,还可以包括基于控制协议扩展的网络管理协议(network management protocol,NMP)采集的协议路由状态信息,还可以包括基于Netstream(网络流)协议采集流量特性,还可以包括基于随流操作、管理和维护(in-site operation administration and maintenance,iOAM)协议的五元组流的逐包的服务等级协议(service-level agreement,SLA)信息和路径信息。
随流流信息远程监测(in-site flow info telemetry,iFIT)或者iOAM技术是目前业界有关指定流的逐包带内性能监测技术。这两个技术中,在进行性能检测之前,均需先通过命令行或者Netconf方式来在各个AS内的各个节点上配置性能检测指示信息。例如,在头结点上配置数据流的五元组特征以及需要封装的监测数据的指令,在尾节点上配置数据流的五元组特征以及解封装指令。其中,数据流的五元组特征用于指示对何种数据流进行性能检测。
在各个节点上配置性能探测指示信息之后,头节点便可在数据报文中插入远程测量指导报文头(telemetry instruction header,TIH)以指导各跳中间节点基于该TIH采集探测数据(Metadata),并上报采集的探测数据。
但在上述配置性能探测指示信息的过程中,都是通过命令行或者通过NetConf/YANG方式在各个转发设备上配置性能探测指示信息,也即是使能各个转发设备。如此,当数据流所在的域跨越多个AS时,便需针对各个AS配置性能探测指示信息,导致使能各个转发设备的效率极低。
目前在端到端(end to end,E2E)的性能探测中通常都是跨AS的性能检测。比如,企业专线场景中,数据流通过基于网络协议的无线接入网(internet protocol radio access network,IPRAN)接入、汇聚、跨越骨干后上云专线业务,通常可能要跨多个分层控制器,目前SDN底层控制器只负责每个AS内业务的自动发放和配置,所以针对E2E的性能探测,很容易出现控制器的控制域和数据流所在的域可能并非完全一致重合。这种情况下,通过命令行或者NetConf的方式配置性能探测指示的效率很低。因此,本申请实施例提供了一种配置性能探测指示信息的方法,通过控制协议的扩展来统一自动配置各个AS内的节点上的性能探测指示信息,以实现对数据流的性能检测自动化。
图1是本申请实施例提供的一种通信网络的架构示意图。如图1所示,该通信网络100包括控制节点101和多个转发节点102。任一转发节点102可与控制节点101通过有线或无线方式连接以进行通信。
各个转发节点102可以位于不同的AS内。图1是仅仅是以两个AS内的转发节点为例进行说明,并不构成对各个转发节点102所在的AS的限制。
控制节点101用于通过本申请实施例提供的方法向各个转发节点102下发性能探测指示信息,以实现无需通过命令行或者NetConf的方式即可配置性能探测指示信息。如此,当需要进行性能探测的数据流跨越多个AS时,只需控制节点一次性操作即可使能不同AS内的转发节点,从而提高使能各个转发节点的效率。
图1中的转发节点还可以称为网元、或者转发设备等,在此不做具体限定。
此外,图1中的控制节点可以为通信网络中的控制器、或者、网络性能集中分析器等设备,转发节点可以为路由器、或者、三层交换机等设备,同样在此不做具体限定。此外,需要说明的是,控制节点是可以实现基于BGP向多个不同的AS下发通告报文的控制节点,也即是,本申请实施例中的控制节点是AS层之上的控制节点,并不是某个AS内部的控制节点。
下面对本申请实施例提供的配置性能探测指示信息的方法进行详细解释说明。
图2是本申请实施例提供的一种配置性能探测指示信息的方法流程图。如图2所示,该方法包括如下几个步骤:
步骤201:控制节点确定性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式。
为了后续便于说明,将待进行性能探测的数据流称为目标数据流。在一种可能的实现方式中,当需要对目标数据流进行性能探测时,控制节点可以直接确定性能探测指示信息,以通过下述步骤202和步骤203在各个转发节点上配置性能探测指示信息。这种场景下,控制节点可以无需考虑各个转发节点的性能探测能力,只需通过下述步骤202和步骤203下发性能探测指示信息即可。
可选地,在向各个转发节点下发性能探测指示信息之后,如果各个转发节点自身不具备性能探测指示信息中指示的探测模式的能力,那么各个转发节点将无法成功对目标数据流进行性能探测。因此,在另一种可能的实现方式中,本申请实施例还支持各个转发节点性能探测能力的发现。
具体地,通信网络中的多个转发节点中的至少两个转发节点可以发送第二通告报文,第二通告报文包括用于指示第二通告报文的发送方所支持的探测模式的指示信息。如此,控制节点便可接收这至少两个转发节点发送的第二通告报文。在这种场景下,控制节点可以预先获知到各个转发节点所支持的探测模式。
此时,在步骤201中,控制节点确定性能探测指示信息的实现方式可以为:获取需要对目标数据流进行性能检测的一个或多个备选探测模式;根据第二通告报文从一个或多个备选探测模式中筛选出有效的探测模式作为一个或多个目标探测模式;根据这一个或多个目标探测模式生成性能探测指示信息。也即是,性能探测指示信息中指示的探测模式是控制节点确定的有效的探测模式。
上述根据第二通告报文从一个或多个备选探测模式中筛选出有效的探测模式的实现方式可以为:确定目标数据流的转发路径上的各个节点的上报的第二转发报文,对于任一备选探测模式,如果目标数据流的转发路径上的各个节点上报的第二通告报文中均支持该备选探测模式,则将该备选探测模式确定为有效的探测模式。或者,如果目标数据流的转发路径上的各个节点上报的第二通告报文中支持该备选探测模式的节点数量大于一定比例,则将该备选探测模式确定为有效的探测模式。本申请实施例中并不限定确定有效探测模式的具体实现方式,也即是,确定有效的探测模式和目标数据流的转发路径上的各个节点上报的第二通告报文中支持该备选探测模式的节点数量之间并没有强耦合关系。
此外,上述第二通告报文可以通过扩展IGP中的报文来实现,本申请实施例对此不作详细说明。比如,可以通过扩展IGP报文来实现转发节点随流信息远程监测(in-situ Flow Info  Telemetry,iFIT)能力的发现。
步骤202:控制节点基于BGP在通信网络中发布第一通告报文,第一通告报文携带该性能探测指示信息。
在本申请实施例中,为了能够实现统一对不同AS内的转发节点配置性能探测指示信息,可以对BGP协议进行扩展,得到第一通告报文,以通过第一通告报文来发布性能探测指示信息。
在一种可能的实现方式中,可以对目前BGP协议中的BGP流策略(flow specification,FS)FS路由报文进行扩展,以得到本申请实施例中的第一通告报文。也即是,第一通告报文可以为BGP FS路由报文。
为了后续便于说明,在此先对BGP FS路由报文进行简单介绍。BGP FS路由报文是BGP标准协议中定义的一种路由报文。BGP FS路由报文包含BGP网络层可达性消息(network layer reachability information,NLRI)和扩展团体属性。通过网络层可达性消息和扩展团体属性,BGP FS路由报文可以携带流量的过滤条件和流量过滤后执行的动作。也即是,通过BGP FS路由报文中的网络层可达性消息来指示流量的过滤条件,通过BGP FS路由报文中的扩展团体属性来指示流量过滤后执行的动作。
表1和表2分别是本申请实施例提供的一种BGP FS路由报文中的网络层可达性消息和扩展团体属性的示意表。表1中指示了流量的过滤条件。如表1所示,不同类型的网络层可达性消息可以指示不同的过滤条件,这些过滤条件可以包括目的地址为IPv4/IPv6类型的地址、源地址为IPv4/IPv6类型的地址等等。表2中指示了流量满足过滤条件后执行的动作。如表2所示,流量满足表1所示的过滤条件之后,可执行的动作包括不同类型的动作,如控制流量速度等动作。
表1
Figure PCTCN2020118670-appb-000001
表2
动作类型 动作
0X8006 控制流量速度
…… ……
因此,在本申请实施例中,可以利用BGP FS路由报文的原有功能来实现上述性能探测指示信息。此时,可以定义一种新的类型的网络层可达性消息来指示待性能检测的目标数据流,并定义一种新的类型的动作来指示对目标数据流进行性能检测的探测模式。
也即是,扩展后的BGP FS路由报文包括网络层可达性消息和执行动作指示消息。该网络层可达性消息携带有第一指示信息,第一指示信息用于指示目标数据流。该执行动作指示消息携带有第二指示信息,第二指示信息用于指示对目标数据流进行性能探测的一个或多个目标探测模式。通过第一指示信息和第二指示信息即可实现上述性能探测指示信息。
此外,为了便于指示对目标数据流进行性能探测的目标探测模式,上述第二指示信息可以包括位图字段,该位图字段包括与多个探测模式一一对应的多个比特位,这多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,第一比特值用于指示使能相应的探测模式。示例地,第一比特值可以为1。
比如,图3是本申请实施例提供的一种位图字段示意图。如图3所示,该位图字段包括n个比特位,每个比特位对应一个探测模式。比特位1对应探测模式1、比特位2对应探测模式2、比特位n对应探测模式n。这n个探测模式可以为随流信息探测逐跳追踪(Inband-Flow info telemetry postcard trace,iFIT PT trace)、随流操作管理维护追踪(insite-operation administration and maintenance trace,iOAM trace)、端对端(End 2 End,E2E)等探测模式。假设位图字段中的比特位1、比特位3以及比特位n上的比特值为1,其他比特位上的比特值为0,此时,则表明需要对目标数据流基于探测模式1、探测模式3以及探测模式n进行性能探测。
在配置了目标探测模式之后,如果各个转发节点预先能够通过其他途径(比如人工配置)获知每个探测模式下需要探测的数据的类型,此时,性能探测指示信息中则无需携带各个探测模式下需要探测的数据的类型。
可选地,如果各个转发节点预先无法获知每个探测模式下需要探测的数据的类型,此时,该执行动作指示消息还可以携带有第三指示信息,第三指示信息用于指示与一个或多个目标探测模式中每个目标探测模式关联的探测数据类型,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需要收集的探测数据。以便于后续各个转发节点在确定了目标探测模式后,基于目标探测模式关联的探测数据类型收集探测数据。
在一种可能的实现方式中,如图3所示,上述第三指示信息中包括参数字段,该参数字段用于指示每个目标探测模式关联的探测数据类型。也即是,在第三指示信息中设置参数字段,来指示每个目标探测模式关联的探测数据类型。
需要说明的是,上述第三指示信息中可以只携带各个目标探测模式关联的探测数据类型,如此,可以减少发布第一通告报文所占用的网络资源。可选地,为了避免在每次进行性能探测时都需要更新该第三指示信息,可以在第三指示信息中携带全部的探测模式关联的探测数 据类型,此时,通过第二指示信息可以确定哪些探测模式为目标探测模式,进而基于第三指示信息确定待收集的数据的类型。
此外,上述第一指示信息可以沿用目前BGP FS路由报文中过滤条件,此时第一指示信息可以包括目标数据流的五元组特性,也即是包括目标数据流的源地址、源端口、目的地址、目的端口以及协议。该协议用于指示转发目标数据流中的数据报文所使用的协议。当然,在本申请实施例中,第一指示信息还可以采用其他方式来指示目标数据流,在此就不再一一举例说明。
上述是以BGP FS路由报文为例来说明本申请实施例提供的第一通告报文。可选地,也可以采用BGP协议中的其他报文来实现第一通告报文,或者在用BGP协议中定义新的报文来实现第一通过报文,在此不做具体限定。
步骤203:通信网络中的第一转发节点接收第一通告报文,并在本端部署该性能探测指示信息。
控制节点在通过步骤202发布第一通告报文之后,通信网络中的各个转发节点便可基于步骤203在本端配置第一通告报文中携带的性能探测指示信息。上述第一转发节点可以是通信网络的任一转发节点,在此不再详细说明。
第一转发节点在本端配置了性能探测指示消息之后,后续对于任一数据流,便可基于性能探测指示信息对该数据流进行性能探测。后续对于任一数据流基于性能探测指示信息对数据流进行性能探测的具体实现方式可以参考相关技术,在此不再详细说明。比如,某个AS内的头节点在接收到该数据流的报文时,便可根据预先配置的探测指示信息在该报文中封装用于指示性能探测的报文头,以使该AS内的各跳中间节点根据该报文头进行信息收集。
在本申请实施例中,对BGP进行扩展,以使通信网络中的控制节点能够基于扩展后的BGP发布携带性能探测指示信息的第一通告报文。如此,当待进行性能探测的数据流是在多个不同的AS之间进行传输时,处于不同AS内的转发节点均可通过第一通告报文获取性能探测指示信息,以便于在本端配置该性能探测指示信息。也即是,通过第一通告报文可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息。这样就无需对于数据流的传输链中的每个AS单独通过AS内的控制节点基于人工方式来配置性能探测指示信息,从而提高配置性能探测指示信息的效率。
图4是本申请实施例提供的一种通信网络中的控制节点的结构示意图,该通信网络还包括多个转发节点,这多个转发节点处于不同的AS内。如图4所示,该控制节点包括:
确定模块401:,用于确定性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式。具体实现方式可以参考图2实施例中的步骤201。
发布模块402,用于基于边界网关协议BGP在该通信网络中发布第一通告报文,该第一通告报文携带该性能探测指示信息,以使该多个转发节点在本端配置该性能探测指示信息。具体实现方式可以参考图2实施例中的步骤202。
可选地,该第一通告报文为BGP FS路由报文,该BGP FS路由报文包括网络层可达性消息和执行动作指示消息;
该网络层可达性消息携带有第一指示信息,该第一指示信息用于指示该数据流,该执行 动作指示消息携带有第二指示信息,该第二指示信息用于指示这一个或多个目标探测模式。
可选地,该执行动作指示消息还携带有第三指示信息,该第三指示信息用于指示与该一个或多个目标探测模式中每个目标探测模式关联的探测数据类型,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需要收集的探测数据。
可选地,该第二指示信息包括位图字段,该位图字段包括与多个探测模式一一对应的多个比特位,该多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,该第一比特值用于指示使能相应的探测模式。
可选地,该第三指示信息包括参数字段,该参数字段用于指示每个目标探测模式关联的探测数据类型。
可选地,该第一指示信息包括该数据流的源地址、源端口、目的地址、目的端口以及协议,该协议用于指示转发数据流中的数据报文所使用的协议。
可选地,该控制节点还包括:
接收模块,用于接收该多个转发节点中的至少两个转发节点发送的第二通告报文,该第二通告报文包括用于指示该第二通告报文的发送方所支持的探测模式的指示信息;
该确定模块用于:
获取需要对该数据流进行性能检测的一个或多个备选探测模式;
根据该第二通告报文从该一个或多个备选探测模式中筛选出有效的探测模式作为这一个或多个目标探测模式;
根据这一个或多个目标探测模式生成该性能探测指示信息。
在本申请实施例中,对BGP进行扩展,以使通信网络中的控制节点能够基于扩展后的BGP发布携带性能探测指示信息的第一通告报文。如此,当待进行性能探测的数据流是在多个不同的AS之间进行传输时,处于不同AS内的转发节点均可通过第一通告报文获取性能探测指示信息,以便于在本端配置该性能探测指示信息。也即是,通过第一通告报文可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息。这样就无需对于数据流的传输链中的每个AS单独通过AS内的控制节点基于人工方式来配置性能探测指示信息,从而提高配置性能探测指示信息的效率。
需要说明的是:上述实施例提供的控制节点在配置性能探测指示信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的控制节点与触发配置性能探测指示信息智能网业务的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图5是本申请实施例提供的一种通信网络中的转发节点的结构示意图,该通信网络还包括多个转发节点,这多个转发节点处于不同的AS内。如图5所示,该转发节点500包括:
接收模块501,用于接收控制节点基于BGP在通信网络中发布的第一通告报文,第一通告报文携带性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式;具体实现方式可以参考图2实施例中的步骤203。
配置模块502,用于在本端配置该性能探测指示信息。具体实现方式可以参考图2实施 例中的步骤203。
在本申请实施例中,对BGP进行扩展,以使通信网络中的控制节点能够基于扩展后的BGP发布携带性能探测指示信息的第一通告报文。如此,当待进行性能探测的数据流是在多个不同的AS之间进行传输时,处于不同AS内的转发节点均可通过第一通告报文获取性能探测指示信息,以便于在本端配置该性能探测指示信息。也即是,通过第一通告报文可以实现基于数据流的完整传输链对各个AS内的转发节点统一配置性能探测指示信息。这样就无需对于数据流的传输链中的每个AS单独通过AS内的控制节点基于人工方式来配置性能探测指示信息,从而提高配置性能探测指示信息的效率。
需要说明的是:上述实施例提供的转发节点在配置性能探测指示信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的转发节点与触发配置性能探测指示信息智能网业务的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图6是本申请实施例提供的一种计算机设备的结构示意图。本申请实施例中的控制节点或转发节点均可以通过图6所示的计算机设备来实现。参见图6,该计算机设备600包括至少一个处理器601,通信总线602、存储器603以及至少一个通信接口604。
处理器601可以是一个通用中央处理器(central processing unit,CPU)、特定应用集成电路(application-specific integrated circuit,ASIC)或一个或多个用于控制本申请方案程序执行的集成电路。当计算机设备为本申请实施例提供的控制节点时,处理器可以用于通过图2所示的实施例中的步骤201确定性能探测指示信息。当计算机设备为本申请实施例提供的转发节点时,处理器可以用于通过图2所示的实施例中的步骤203在本端配置性能探测指示信息。
通信总线602可包括一通路,在上述组件之间传送信息。
存储器603可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器603可以是独立存在,通过通信总线602与处理器601相连接。存储器603也可以和处理器601集成在一起。
其中,存储器603用于存储执行本申请方案的程序代码,并由处理器601来控制执行。处理器601用于执行存储器603中存储的程序代码。程序代码中可以包括一个或多个软件模块,比如可以包括图4所示的各个模块。
通信接口604,使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。当计算机设备为本申请实施例提供的控制节点时,通信接口可以用于通过图2所示的实施例中的步骤202发布第一通告报文。当计算机设备为本申请实施例提供的转发节点时,通信接口可以用于通过图2所示的实施例中的步骤203接收第一通告报文。
在具体实现中,作为一种实施例,计算机设备可以包括多个处理器,例如图6中所示的处理器601和处理器605。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
上述的计算机设备可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中,计算机设备可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、无线终端设备、通信设备或者嵌入式设备。本申请实施例不限定计算机设备的类型。
此外,本申请实施例还提供了一种配置性能探测指示信息的系统。该系统包括控制节点和多个转发节点,这多个转发节点处于不同的AS内。
其中,控制节点,用于确定性能探测指示信息,该性能探测指示信息用于指示待进行性能探测的数据流和对该数据流进行性能探测的一个或多个目标探测模式;
控制节点,还用于基于BGP该通信网络中发布第一通告报文,第一通告报文携带该性能探测指示信息,以使这多个转发节点在本端配置该性能探测指示信息;
前述多个转发节点中任一转发节点,用于接收控制节点在通信网络中发布的第一通告报文;
该转发节点,还用于在本端配置该性能探测指示信息。
可选地,该第一通告报文为BGP FS路由报文,该BGP FS路由报文包括网络层可达性消息和执行动作指示消息;
该网络层可达性消息携带有第一指示信息,该第一指示信息用于指示该数据流,该执行动作指示消息携带有第二指示信息,该第二指示信息用于指示这一个或多个目标探测模式。
可选地,该执行动作指示消息还携带有第三指示信息,该第三指示信息用于指示与该一个或多个目标探测模式中每个目标探测模式关联的探测数据类型,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需要收集的探测数据。
可选地,该第二指示信息包括位图字段,该位图字段包括与多个探测模式一一对应的多个比特位,该多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,该第一比特值用于指示使能相应的探测模式。
可选地,该第三指示信息包括参数字段,该参数字段用于指示每个目标探测模式关联的探测数据类型。
可选地,该第一指示信息包括该数据流的源地址、源端口、目的地址、目的端口以及协议,该协议用于指示转发数据流中的数据报文所使用的协议。
可选地,该控制节点还用于:
接收该多个转发节点中的至少两个转发节点发送的第二通告报文,该第二通告报文包括用于指示该第二通告报文的发送方所支持的探测模式的指示信息;
获取需要对该数据流进行性能检测的一个或多个备选探测模式;
根据该第二通告报文从该一个或多个备选探测模式中筛选出有效的探测模式作为这一个或多个目标探测模式;
根据这一个或多个目标探测模式生成该性能探测指示信息。
关于该系统中控制节点和转发节点的具体实现方式,可以参考图2所示的实施例,在此不再重复说明。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(digital subscriber line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如:固态硬盘(solid state disk,SSD))等。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述为本申请提供的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种配置性能探测指示信息的方法,其特征在于,应用于通信网络中的控制节点,所述通信网络还包括多个转发节点,所述多个转发节点处于不同的自治系统AS内,所述方法包括:
    所述控制节点确定性能探测指示信息,所述性能探测指示信息用于指示待进行性能探测的数据流和对所述数据流进行性能探测的一个或多个目标探测模式;
    所述控制节点基于边界网关协议BGP在所述通信网络中发布第一通告报文,所述第一通告报文携带所述性能探测指示信息,以使所述多个转发节点在本端配置所述性能探测指示信息。
  2. 如权利要求1所述的方法,其特征在于,所述第一通告报文为边界网关协议流策略BGP FS路由报文,所述BGP FS路由报文包括网络层可达性消息和执行动作指示消息;
    所述网络层可达性消息携带有第一指示信息,所述第一指示信息用于指示所述数据流,所述执行动作指示消息携带有第二指示信息,所述第二指示信息用于指示所述一个或多个目标探测模式。
  3. 如权利要求2所述的方法,其特征在于,所述执行动作指示消息还携带有第三指示信息,所述第三指示信息用于指示与所述一个或多个目标探测模式中每个目标探测模式关联的探测数据类型,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需要收集的探测数据。
  4. 如权利要求2所述的方法,其特征在于,所述第二指示信息包括位图字段,所述位图字段包括与多个探测模式一一对应的多个比特位,所述多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,所述第一比特值用于指示使能相应的探测模式。
  5. 如权利要求3所述的方法,其特征在于,所述第三指示信息包括参数字段,所述参数字段用于指示每个目标探测模式关联的探测数据类型。
  6. 如权利要求2至5任一所述的方法,其特征在于,所述第一指示信息包括所述数据流的源地址、源端口、目的地址、目的端口以及协议,所述协议用于指示转发数据流中的数据报文所使用的协议。
  7. 如权利要求1至6任一所述的方法,其特征在于,所述控制节点确定性能探测指示信息之前,还包括:
    所述控制节点接收所述多个转发节点中的至少两个转发节点发送的第二通告报文,所述第二通告报文包括用于指示所述第二通告报文的发送方所支持的探测模式的指示信息;
    所述控制节点确定性能探测指示信息,包括:
    所述控制节点获取需要对所述数据流进行性能检测的一个或多个备选探测模式;
    所述控制节点根据所述第二通告报文从所述一个或多个备选探测模式中筛选出有效的探测模式作为所述一个或多个目标探测模式;
    所述控制节点根据所述一个或多个目标探测模式生成所述性能探测指示信息。
  8. 一种配置性能探测指示信息的方法,其特征在于,应用于通信网络中的任一转发节点,所述通信网络还包括多个转发节点和控制节点,所述多个转发节点处于不同的自治系统AS内,所述方法包括:
    所述转发节点接收所述控制节点基于边界网关协议BGP在所述通信网络中发布的第一通告报文,所述第一通告报文携带性能探测指示信息,所述性能探测指示信息用于指示待进行性能探测的数据流和对所述数据流进行性能探测的一个或多个目标探测模式;
    所述转发节点在本端配置所述性能探测指示信息。
  9. 一种通信网络中的控制节点,其特征在于,所述通信网络还包括多个转发节点,所述多个转发节点处于不同的自治系统AS内,所述控制节点包括:
    确定模块,用于确定性能探测指示信息,所述性能探测指示信息用于指示待进行性能探测的数据流和对所述数据流进行性能探测的一个或多个目标探测模式;
    发布模块,用于基于边界网关协议BGP在所述通信网络中发布第一通告报文,所述第一通告报文携带所述性能探测指示信息,以使所述多个转发节点在本端配置所述性能探测指示信息。
  10. 如权利要求9所述的控制节点,其特征在于,所述第一通告报文为边界网关协议流策略BGP FS路由报文,所述BGP FS路由报文包括网络层可达性消息和执行动作指示消息;
    所述网络层可达性消息携带有第一指示信息,所述第一指示信息用于指示所述数据流,所述执行动作指示消息携带有第二指示信息,所述第二指示信息用于指示对所述一个或多个目标探测模式。
  11. 如权利要求10所述的控制节点,其特征在于,所述执行动作指示消息还携带有第三指示信息,所述第三指示信息用于指示与所述一个或多个目标探测模式中每个目标探测模式关联的探测数据类型,每个目标探测模式关联的探测数据类型用于指示在相应目标探测模式下需要收集的探测数据。
  12. 如权利要求10所述的控制节点,其特征在于,所述第二指示信息包括位图字段,所述位图字段包括与多个探测模式一一对应的多个比特位,所述多个比特位中与每个目标探测模式对应的比特位上的比特值为第一比特值,所述第一比特值用于指示使能相应的探测模式。
  13. 如权利要求11所述的控制节点,其特征在于,所述第三指示信息包括参数字段,所述参数字段用于指示每个目标探测模式关联的探测数据类型。
  14. 如权利要求10至13任一所述的控制节点,其特征在于,所述第一指示信息包括所述数据流的源地址、源端口、目的地址、目的端口以及协议,所述协议用于指示转发数据流中的数据报文所使用的协议。
  15. 如权利要求9所述的控制节点,其特征在于,所述控制节点还包括:
    接收模块,用于接收所述多个转发节点中的至少两个转发节点发送的第二通告报文,所述第二通告报文包括用于指示所述第二通告报文的发送方所支持的探测模式的指示信息;
    所述确定模块用于:
    获取需要对所述数据流进行性能检测的一个或多个备选探测模式;
    根据所述第二通告报文从所述一个或多个备选探测模式中筛选出有效的探测模式作为所述一个或多个目标探测模式;
    根据所述一个或多个目标探测模式生成所述性能探测指示信息。
  16. 一种通信网络中的转发节点,其特征在于,所述通信网络还包括多个转发节点和控制节点,所述多个转发节点处于不同的自治系统AS内,所述多个转发节点中任一转发节点包括:
    接收模块,用于接收所述控制节点基于边界网关协议BGP在所述通信网络中发布的第一通告报文,所述第一通告报文携带性能探测指示信息,所述性能探测指示信息用于指示待进行性能探测的数据流和对所述数据流进行性能探测的一个或多个目标探测模式;
    配置模块,用于在本端配置所述性能探测指示信息。
  17. 一种通信网络中的控制节点,其特征在于,所述控制节点包括存储器和处理器;
    所述存储器用于存储计算机程序;
    所述处理器用于执行所述存储器中存储的程序以执行权利要求1-7任一项所述的方法。
  18. 一种通信网络中的转发节点,其特征在于,所述控制节点包括存储器和处理器;
    所述存储器用于存储计算机程序;
    所述处理器用于执行所述存储器中存储的程序以执行权利要求8所述的方法。
  19. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行权利要求1-7任一项所述的方法。
  20. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行权利要求8所述的方法。
PCT/CN2020/118670 2020-02-27 2020-09-29 配置性能探测指示信息的方法及相关设备 WO2021169290A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20921648.0A EP4099631A4 (en) 2020-02-27 2020-09-29 PERFORMANCE TEST INDICATION INFORMATION CONFIGURATION METHOD AND APPARATUS
US17/892,240 US20220400072A1 (en) 2020-02-27 2022-08-22 Method for configuring performance measurement indication information and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010125662.7A CN113315645A (zh) 2020-02-27 2020-02-27 配置性能探测指示信息的方法及相关设备
CN202010125662.7 2020-02-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/892,240 Continuation US20220400072A1 (en) 2020-02-27 2022-08-22 Method for configuring performance measurement indication information and related device

Publications (1)

Publication Number Publication Date
WO2021169290A1 true WO2021169290A1 (zh) 2021-09-02

Family

ID=77370497

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/118670 WO2021169290A1 (zh) 2020-02-27 2020-09-29 配置性能探测指示信息的方法及相关设备

Country Status (4)

Country Link
US (1) US20220400072A1 (zh)
EP (1) EP4099631A4 (zh)
CN (1) CN113315645A (zh)
WO (1) WO2021169290A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679369A (zh) * 2022-05-10 2022-06-28 中国联合网络通信集团有限公司 数据处理方法、装置、设备、系统及存储介质
WO2023093227A1 (zh) * 2021-11-26 2023-06-01 中兴通讯股份有限公司 信息的收集方法、装置、存储介质及电子装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220210087A1 (en) * 2020-12-24 2022-06-30 Arista Networks, Inc. System and method for in-line in-band network telemetry with adaptive packet length
US20230231804A1 (en) * 2021-03-25 2023-07-20 New H3C Technologies Co., Ltd. In-situ flow detection method and electronic device
WO2023184218A1 (zh) * 2022-03-30 2023-10-05 新华三技术有限公司 通过bgp下发随流检测配置的方法及装置
WO2023184428A1 (zh) * 2022-03-31 2023-10-05 北京小米移动软件有限公司 Csi处理方式的切换方法、装置、介质、产品及芯片
CN115622935A (zh) * 2022-10-13 2023-01-17 阿里巴巴(中国)有限公司 基于网络的路径处理方法、系统和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011029241A1 (zh) * 2009-09-14 2011-03-17 华为技术有限公司 一种路由处理方法、系统和路由器
CN105376098A (zh) * 2015-11-30 2016-03-02 中国互联网络信息中心 一种路由源和路径双重验证方法
CN105577543A (zh) * 2011-09-30 2016-05-11 华为技术有限公司 基于性能的路由方法和设备
WO2017215400A1 (en) * 2016-06-15 2017-12-21 Algoblu Holdings Limited Dynamic switching between edge nodes in autonomous network system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1782572B1 (en) * 2004-07-29 2010-01-27 Telecom Italia S.p.A. Method and system for fault and performance recovery in communication networks, related network and computer program product therefor
CN102651702A (zh) * 2012-05-09 2012-08-29 华为技术有限公司 以太网性能测量方法及设备
CN108476145B (zh) * 2015-11-12 2021-05-25 瑞典爱立信有限公司 用于通用分组无线电服务隧道协议(gtp)探测的方法和系统
CN107222449B (zh) * 2016-03-21 2020-06-16 华为技术有限公司 基于流规则协议的通信方法、设备和系统
CN108401490B (zh) * 2016-12-06 2020-02-21 华为技术有限公司 一种网络性能测量方法及探测设备
CN108989232A (zh) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Sdn中的报文交互方法及装置
WO2020121317A1 (en) * 2018-12-15 2020-06-18 Telefonaktiebolaget Lm Ericsson (Publ) Efficient network address translation (nat) in cloud networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011029241A1 (zh) * 2009-09-14 2011-03-17 华为技术有限公司 一种路由处理方法、系统和路由器
CN105577543A (zh) * 2011-09-30 2016-05-11 华为技术有限公司 基于性能的路由方法和设备
CN105376098A (zh) * 2015-11-30 2016-03-02 中国互联网络信息中心 一种路由源和路径双重验证方法
WO2017215400A1 (en) * 2016-06-15 2017-12-21 Algoblu Holdings Limited Dynamic switching between edge nodes in autonomous network system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093227A1 (zh) * 2021-11-26 2023-06-01 中兴通讯股份有限公司 信息的收集方法、装置、存储介质及电子装置
CN114679369A (zh) * 2022-05-10 2022-06-28 中国联合网络通信集团有限公司 数据处理方法、装置、设备、系统及存储介质
CN114679369B (zh) * 2022-05-10 2023-09-19 中国联合网络通信集团有限公司 数据处理方法、装置、设备、系统及存储介质

Also Published As

Publication number Publication date
EP4099631A1 (en) 2022-12-07
US20220400072A1 (en) 2022-12-15
CN113315645A (zh) 2021-08-27
EP4099631A4 (en) 2023-07-26

Similar Documents

Publication Publication Date Title
WO2021169290A1 (zh) 配置性能探测指示信息的方法及相关设备
US10447815B2 (en) Propagating network configuration policies using a publish-subscribe messaging system
US10348571B2 (en) Methods and apparatus for accessing dynamic routing information from networks coupled to a wide area network (WAN) to determine optimized end-to-end routing paths
JP5958570B2 (ja) ネットワークシステム、コントローラ、スイッチ、及びトラフィック監視方法
US9100298B2 (en) Host visibility as a network service
JP5093598B2 (ja) 制御中継プログラム、制御中継装置および制御中継方法
US20180262454A1 (en) Network routing using a publish-subscribe messaging system
CN108347376B (zh) 一种调整转发路径的方法、装置及系统
WO2021093465A1 (zh) 发送报文、接收报文以进行oam的方法、装置及系统
US20070041328A1 (en) Devices and methods of using link status to determine node availability
EP2731313A1 (en) Distributed cluster processing system and message processing method thereof
JP2009105716A (ja) ネットワークシステム、管理計算機、及びフィルタ再構成方法
US10038609B2 (en) Network traffic analysis
JP2022532731A (ja) スライスベースネットワークにおける輻輳回避
CN112956158A (zh) 结构数据平面监视
CN108055156B (zh) Ap管理方法及装置
CN113746654A (zh) 一种IPv6地址管理和流量分析的方法和装置
WO2018177003A1 (zh) 一种计费方法、相关设备和系统
US11784874B2 (en) Bulk discovery of devices behind a network address translation device
US10904123B2 (en) Trace routing in virtual networks
WO2022132208A1 (en) Performance measurement in a segment routing network
WO2021224931A1 (en) System and a method to efficiently exchange echo and stats messages between sdn controller and the open vswitches
US11563640B2 (en) Network data extraction parser-model in SDN
US20240113944A1 (en) Determining an organizational level network topology
KR101739097B1 (ko) 오픈플로우 스위치의 서비스 체이닝 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20921648

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020921648

Country of ref document: EP

Effective date: 20220831

NENP Non-entry into the national phase

Ref country code: DE