CN116708238A - Network performance detection method, device, system and medium - Google Patents

Network performance detection method, device, system and medium Download PDF

Info

Publication number
CN116708238A
CN116708238A CN202310926886.1A CN202310926886A CN116708238A CN 116708238 A CN116708238 A CN 116708238A CN 202310926886 A CN202310926886 A CN 202310926886A CN 116708238 A CN116708238 A CN 116708238A
Authority
CN
China
Prior art keywords
performance
performance detection
network
data packet
detection data
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
CN202310926886.1A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310926886.1A priority Critical patent/CN116708238A/en
Publication of CN116708238A publication Critical patent/CN116708238A/en
Pending legal-status Critical Current

Links

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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

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

Abstract

The disclosure provides a network performance detection method, device, system and medium, relates to the field of network technology, and is used for solving the problem of how to realize customized network performance detection for a network communication path, wherein the method comprises the following steps: constructing a performance detection data packet of the network communication path, wherein the performance detection data packet comprises sequence information and performance detection items of each node device to be detected in the network communication path; transmitting the performance detection data packets to each node device according to the sequence information, so that each node device fills own performance data in the performance detection data packets according to the performance detection items; and receiving the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device. The present disclosure may enable on-demand detection of network performance.

Description

Network performance detection method, device, system and medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a network performance detection method, a network controller, a node device, a network performance detection system, and a computer readable storage medium.
Background
Network performance detection can monitor network operation conditions by measuring network performance, and provides a data basis for fault location, optimization, planning and the like of a network. In some cases, network performance detection takes passive measures to measure network performance, such as collecting performance data directly from each device, or device providers propose performance measurement methods that can only interface with devices of the device provider, which make it difficult to obtain network performance measurement data that meets specified measurement requirements, so that customized network performance detection cannot be implemented for network communication paths.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
The technical problem to be solved by the present disclosure is to provide a network performance detection method, a network controller, a node device, a network performance detection system and a computer readable storage medium, so as to solve the problem of how to implement customized network performance detection for a network communication path.
In a first aspect, the present disclosure provides a network performance detection method, applied to a network controller, the method including:
constructing a performance detection data packet of the network communication path, wherein the performance detection data packet comprises sequence information and performance detection items of each node device to be detected in the network communication path;
Transmitting the performance detection data packets to each node device according to the sequence information, so that each node device fills own performance data in the performance detection data packets according to the performance detection items;
and receiving the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device.
In a second aspect, the present disclosure provides a network performance detection method applied to a node device, the method including:
receiving a performance detection data packet which is transmitted to the performance detection data packet according to the sequence information, wherein the performance detection data packet is constructed by a network controller and comprises the sequence information and performance detection items of each node device to be detected in a network communication path;
filling own performance data in the performance detection data packet according to the performance detection item;
and continuously transmitting the performance detection data packet filled with the performance data of the network controller according to the sequence information until the network controller receives the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device.
In a third aspect, the present disclosure provides a network controller comprising:
The construction module is used for constructing a performance detection data packet of the network communication path, wherein the performance detection data packet comprises sequence information and performance detection items of each node device to be detected in the network communication path;
the first transmission module is connected with the construction module and is used for transmitting the performance detection data packets to each node device according to the sequence information so that each node device fills own performance data in the performance detection data packets according to the performance detection items;
and the result module is connected with the first transmission module and is used for receiving the performance detection data packet filled with the performance data of each node device and obtaining the network performance of the network communication path according to the performance data of each node device.
In a fourth aspect, the present disclosure provides a node device comprising:
the receiving module is used for receiving the performance detection data packet transmitted to the receiving module according to the sequence information, wherein the performance detection data packet is constructed by the network controller and comprises the sequence information and performance detection items of each node device to be detected in the network communication path;
the filling module is connected with the receiving module and used for filling own performance data in the performance detection data packet according to the performance detection item;
The second transmission module is connected with the filling module and is used for enabling the performance detection data packet filled with the performance data of the second transmission module to continue to be transmitted according to the sequence information until the network controller receives the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device.
In a fifth aspect, the present disclosure provides a network performance detection system comprising:
a network controller for implementing the network performance detection method as described in the first aspect above;
and the node equipment is connected with the network controller and is used for realizing the network performance detection method according to the second aspect.
In a sixth aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a network performance detection method as described above.
The present disclosure provides a network performance detection method, a network controller, a node device,
The network performance detection system and the computer readable storage medium construct a performance detection data packet of a network communication path through a network controller, and specify the sequence of transmission of the data packet between node devices and performance detection items required to be detected in the performance detection data packet, so that the performance detection data packet obtains respective performance data of the node devices according to sequence information and returns the performance data to the network controller, the network controller can obtain the performance data of the node devices, accordingly obtain the network performance of the network communication path, specify the network communication path required to be detected and the network performance required to be detected according to actual requirements, specify the node devices required to be measured in the network communication path and control measurement sequence, and obtain the network performance about the network communication path and the network node devices in a customized mode, thereby realizing detection according to requirements and improving the application effect of network performance detection.
Drawings
FIG. 1 is a flow chart of a network performance detection method in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of network communication path selection in an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of an IPv 6-based performance test packet according to an embodiment of the present disclosure, where (a) is an overall structural diagram of the performance test packet, (b) is an SRH detailed structural diagram, and (c) is a performance data filling diagram;
FIG. 4 is a schematic diagram of a configuration of a performance test packet according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram of the structure of sequence information about network slices in an embodiment of the disclosure;
FIG. 6 is a schematic diagram of a structure of performance data for a network slice in an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of performance detection packet delivery for a network slice in accordance with an embodiment of the present disclosure;
FIG. 8 is a flow chart of another network performance detection method in an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a network controller according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of a node device according to an embodiment of the disclosure;
fig. 11 is a schematic structural diagram of a network performance detection system according to an embodiment of the present disclosure.
Detailed Description
In order for those skilled in the art to better understand the technical solutions of the present disclosure, embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
It is to be understood that the specific embodiments and figures described herein are merely illustrative of the present disclosure, and are not limiting of the present disclosure.
It is to be understood that the various embodiments of the disclosure and features of the embodiments may be combined with one another without conflict.
It is to be understood that for convenience of description, only portions relevant to the present disclosure are shown in the drawings of the present disclosure, and portions irrelevant to the present disclosure are not shown in the drawings.
It should be understood that each unit and module in the embodiments of the present disclosure may correspond to only one physical structure, may be composed of a plurality of physical structures, or may be integrated into one physical structure.
It will be appreciated that, without conflict, the functions, steps noted in the flowcharts and block diagrams of this disclosure may occur out of the order noted in the figures.
It will be appreciated that in the flow charts and block diagrams of the present disclosure, architecture, functionality, and operation of possible implementations of systems, apparatuses, devices, methods according to various embodiments of the present disclosure are shown. Where each block in the flowchart or block diagrams may represent a unit, module, segment, code, or the like, which comprises executable instructions for implementing the specified functions. Moreover, each block or combination of blocks in the block diagrams and flowchart illustrations can be implemented by hardware-based systems that perform the specified functions, or by combinations of hardware and computer instructions.
It is to be understood that the units and modules referred to in the embodiments of the disclosure may be implemented in software or hardware, for example, the units and modules may be located in a processor.
To facilitate an understanding of the present disclosure, network performance probing techniques are first described.
With the advent of the 5G (fifth generation mobile communication technology, 5th Generation Mobile Communication Technology) age, rapid development of various services brings about tremendous pressure to the transmission network. For network operators, the network performance can be measured, and the network operation condition can be monitored in time, so that the network operator is a basis for providing good network communication service.
Network failure localization means include (ICMP (Internet Control Message Protocol, internet control message protocol)) Ping (Packet Internet Groper, an internet packet explorer), traceroute (route trace), and user datagram protocol (UDP (User Datagram Protocol)) Echo (reply protocol). These tools are not intended to perform overall performance testing, but rather are designed to provide for simple troubleshooting of IP (internet protocol ) network failures, typically by taking passive means to make network performance measurements, such as collecting performance data directly from individual devices, which makes it difficult to obtain overall network performance measurement data. In addition, the device provider may also propose its own performance measurement method, but it is considered to detect the performance of the device, so that it is generally only able to interface with the device of the present device provider.
In some cases, TWAMP (Two-Way Active Measurement Protocol ) detection technology is used, which can perform Two-way network performance measurement between Two network devices, but all the devices required to pass through support TWAMP protocol, rely on network management device capability, and when there is no network management or network management device capability is limited in the network, the requirements of quick deployment/revocation of statistical services and quick acquisition of statistical results cannot be met, and TWAMP measurement cannot specify a subinterface, so that network performance about network slicing cannot be measured. The iFIT (In-situ Flow Information Telemetry, flow-along detection) technology expands the network performance detection function In the service data flow, increases the complexity of data packet encapsulation and decapsulation, influences the forwarding efficiency of the customer service flow, cannot detect the performance of a network path required by a customer In advance before the customer data flow, cannot detect the performance of only a customer critical path as required, needs complete path measurement along with the service flow, and is unfavorable for rapidly detecting the network performance as required.
As can be seen, there is currently no means for network operators to actively measure the transmission quality of network communications from the whole network perspective, and with the development of technology, network slicing is more and more widely applied, and technologies for detecting the performance of network communications with respect to network slicing are still lacking.
Therefore, the present disclosure proposes a means for detecting network performance from the perspective of an operator, can measure network communication paths in a customized manner as required, can measure the performance of a sub-network of a network slice, and control the collection and analysis of network node performance data by a network controller, so as to obtain the end-to-end network performance of a designated link or a designated path, and can detect the path to be deployed by a customer before deploying the traffic of an important customer, automatically generate a detection data stream, quickly detect the performance condition of the path, predict the network performance in advance, and fully ensure the service experience of the customer.
Example 1:
as shown in fig. 1, the present disclosure provides a network performance detection method, applied to a network controller, the method including:
s11, constructing a performance detection data packet of the network communication path, wherein the performance detection data packet comprises sequence information and performance detection items of each node device to be detected in the network communication path;
s12, transmitting the performance detection data packets to each node device according to the sequence information, so that each node device fills own performance data in the performance detection data packets according to the performance detection items;
S13, receiving a performance detection data packet filled with performance data of each node device, and obtaining network performance of a network communication path according to the performance data of each node device.
Specifically, in this embodiment, the network controller may customize the data detection flow of the specified path at will, specifically, construct a performance detection data packet of the network communication path, and specify the order in which the data packet is transmitted between the node devices and the performance detection items to be detected in the performance detection data packet; the data flow can detect the network performance on the customized path, specifically, the controller cooperates with each node device to enable the performance detection data packet to return to the network controller after passing through each node device according to the sequence information, so that the performance detection data packet obtains the respective performance data of each node device and returns to the network controller; the network controller can analyze the network performance of any path, specifically, the network controller can obtain the respective performance data of each node device according to the returned performance detection data packet, and accordingly, the network controller can analyze and obtain various specified network performances about the network communication path; by constructing the parameter information contained in the detection data packet, the network communication path to be detected and the network performance to be detected can be specified according to actual requirements, the node equipment to be measured in the network communication path and the control measurement sequence can be specified, and the network performance of the network communication path and the network node equipment can be obtained in a customized manner, so that the detection on demand is realized, and the application effect of the network performance detection is improved.
In an embodiment, the order information includes order information about subinterfaces of node devices of a certain network slice;
the performance data includes performance data about sub-interfaces of node devices of a certain network slice;
the network performance of the network communication path includes the network performance of the network communication path with respect to a certain network slice.
Specifically, in this embodiment, the network Slice is a logical network that is virtualized on the basis of a physical network, different slices bear different user data, for measuring the performance of the network Slice, subinterface information is mainly added in a performance detection data packet, specifically, subinterfaces may be directly specified, or subinterfaces may be obtained by adding a network Slice identifier, for example, for a network Slice based on the network Slice identifier Slice-ID, the data plane uses a destination address and Slice ID to guide forwarding of a network Slice packet, and on one hand, the destination address in the packet is used for addressing a forwarding path of the packet; on the other hand, the Slice ID is used for selecting forwarding resources corresponding to the message, two forwarding tables (which may be issued after the controller generates) need to be generated at the device layer, one routing table is used for selecting a route (for example, determining an outgoing interface of three layers), the other one is a mapping table of the Slice ID and is used for determining reserved resources of a Slice under the three layers of interfaces, the performance detection data packet comprises a Slice ID, the Slice ID corresponds to the two tables, and the purpose is to find a corresponding sub-interface, and then the sub-interface executes actions of detecting data, such as stamping a time stamp.
In one embodiment, before constructing the performance test data packet of the network communication path, the method includes:
and receiving network communication path information from the network management layer, and sending the network communication path information to the network controller after the network management layer selects a network communication path according to a network communication request of a user.
Specifically, in this embodiment, a path to be deployed by a customer may be detected before a traffic of an important customer (VIP) is deployed, or a path is customized arbitrarily, to detect network performance of the concerned path, as shown in fig. 2, U1, U2, U3, U4 represent users, R1, R2, R3, R4, R5, R6 represent network node devices, after a network management layer receives a user network communication request of the VIP user U1, the system needs to calculate a routing information (network communication path) for a destination address to be reached by the user on one hand, on the other hand, before the user deploys a service on the path, the network management layer needs to detect network state information on the path, if a network communication path selection result obtained by calculating the VIP user is R1- > R6- > R3- > R4, the network controller is informed of the path selection result, the network controller is required to detect performance of the path, the network controller collects and analyzes data, the controller is generally deployed in a server or service computing cluster, on the other hand, the computing capability is far higher than that the computing capability can be obtained by the network controller, and the network controller can detect the data packet in advance, and the performance of the user can be further developed in advance, and the network performance can be further, and the user can be more effectively detected by the user can be more than the user, and the user can be deployed in advance, and the performance can be further more than required to implement the function by the function.
In one embodiment, constructing a performance test data packet of a network communication path specifically includes:
defining a performance detection data packet type and a performance detection item in a Flow Lable of a Flow identifier in an IPv6 basic message header of an Internet protocol;
explicitly storing each node device or each node device and sub-interface information thereof which are arranged in sequence in an IPv6 segment routing message header SRH;
and setting the position for storing the performance data filled in by each node device in the IPv6 extension message header.
Specifically, in this embodiment, the network controller receives the detection requirement of the management layer, the controller constructs a detection data packet, the Basic packet Header of the data packet includes a performance detection field, and includes path information in the data packet Header, the controller constructs a network performance detection data packet based on IPv6 (Internet Protocol Version, internet protocol version 6), specifically, as shown in fig. 3, in the Basic packet Header (Basic Header) of IPv6, the Flow type may occupy 1bit, such as the most significant bit, to define the Flow type as a detection data packet, in the extension packet Header of IPv6, the path information may be explicitly stored by using the SRH (segment routing Header ) extension packet, in the packet of IPv6, the recorded network performance data such as a timestamp and the like may be stored in other extension headers, the network performance data may simultaneously and correspondingly record node information, sub-interface information (i.e., an output interface) and the like, and the measurement data may be carried in the extension Header based on IPv6, without requiring additional protocol overhead, and only extension protocol overhead may be performed.
In one embodiment, the performance detection data packet is transmitted to each node device according to sequence information, and specifically includes:
and sending the performance detection data packet to the head node equipment of the network communication path according to the sequence information, so that the head node equipment fills the performance data of the head node equipment according to the performance data item in the performance detection data packet, and then, transmitting the performance detection data packet backwards according to the sequence information until reaching the tail node equipment of the network communication path.
Specifically, in this embodiment, the performance detection packet may specifically include parameters as shown in fig. 4: (1) sequence number: the controller marks the sequence label of the data packet for measuring the network performance, can be used for constructing a plurality of performance detection data packets aiming at the same network communication path, can be used for measuring for a plurality of times to calculate an average value, can also be used for detecting packet loss of the data packets, and can know whether the data packets are disordered or not if the received sequence is compared with the sequence number in the data packets; (2) flow type: identifying the data packet as a performance detection data packet and a performance item requiring detection, wherein the data packet is composed of two parts, a first half part indicates the type of the data packet, a second half part indicates the effect of the data packet, such as 00-11, a first half part 00 indicates that the data packet is a performance detection data packet of a controller structure, 11 indicates that the data packet is used for detecting time delay, such as 00-01, a first half part 00 indicates that the data packet is a performance detection data packet of a controller structure, 01 indicates that the data packet is used for detecting jitter, such as 00-02, a first half part 00 indicates that the data packet is a performance detection data packet of a controller structure, 02 indicates that the data packet is used for detecting packet loss and the like; the forwarding device may select a corresponding operation, such as time stamping, according to the tag; (3) list of target nodes List: the list sequentially designates the paths of the node devices which the data packets pass through, which can be node IDs and path serial numbers thereof which are expanded as shown in fig. 4, or can be subinterfaces which are specifically designated to the node devices as shown in fig. 5, and if the subinterfaces are designated to the specific subinterfaces, the list can be used for measuring the performance of a certain network slice path; (4) performance data: the method is mainly used for storing the data recorded by each forwarding node, such as a time stamp, as shown in fig. 6, if the performance of the network slice is measured, the time stamp of each node can be recorded, and the time stamp of the subinterface under each node can also be recorded; (5) reporting controller mode: the mode of detecting the return of the data packet to the controller can be flexibly defined, and can comprise: reporting mode 1 path tail nodes, namely reporting all measurement data by the tail nodes uniformly after the whole path is finished, reporting each node along the path in mode 2, reporting a controller after each node fills out performance data, copying a message to continue forwarding according to a designated path, reporting mode 3 according to a set rule, namely reporting nodes designated by the controller, such as reporting measurement information by the controller in R6 and R3 in a detection path of R1- > R6- > R3- > R4, wherein the tail nodes are generally reported; after constructing the performance detection data packet, the network controller sends the data packet to the head node of the path in sequence (the sequence in the target node list), and after receiving the data packet and filling in own data, the node in the path reports the controller at the appointed node according to the reporting rule until the data packet walks the whole path to reach the tail node.
In one embodiment, the performance detection data packet further includes a plurality of node devices for directing the performance detection data packet to be returned to the network controller;
receiving a performance detection data packet filled with performance data of each node device, wherein the performance detection data packet specifically comprises:
and receiving a plurality of performance detection data packets returned by the node devices which instruct to return the performance detection data packets to the network controller, wherein the returned performance detection data packets totally fill in the performance data of each node device.
Specifically, in this embodiment, as described above, the return mode may be that each node reports to the tail node and reports the data, or that a part of nodes report according to a rule preset by the controller, where the target node (that is, each node device) needs to be deployed in advance to accept a rule controlled by the controller, for example, after the head node receives the performance detection data packet, the flow type field is first parsed to obtain the data packet as the detection performance data packet, and the detection delay is indicated, then the timestamp, the node information, etc. of the data packet are filled in the performance data field, according to the operation indicated by the return controller field, if reporting to the tail node, the next hop is forwarded, if reporting to the designated node or reporting to all nodes, whether the controller is to report the data packet is determined according to the indication, then the outgoing interface of the next hop is queried to forward the performance detection data packet, if the data packet needs to be forwarded from the subinterface of a certain slice, and the middle node is identical to the head node operation through the SliceID mapping table of the matching device, and after the tail node receives the performance detection data packet, the corresponding performance detection data packet is filled in, and the data packet is forwarded to the controller.
In one embodiment, the performance detection terms include detection delay, and/or jitter, and/or packet loss rate;
the performance data comprises a timestamp for recording the time when the performance detection data packet arrives and/or leaves each node device, and/or the performance detection data packet has a plurality of performance detection data packets, and/or each performance detection data packet also comprises a serial number of the performance detection data packet;
the method for obtaining the network performance of the network communication path according to the performance data of each node device specifically comprises the following steps:
obtaining a latency performance of the network communication path based on the time stamps in the one or more performance detection data packets;
and/or obtaining jitter performance of the network communication path according to the time returned by the plurality of performance detection data packets or the time stamp in the plurality of performance detection data packets;
and/or, obtaining the packet loss rate of the network communication path according to the returned sequence of the plurality of performance detection data packets and the sequence numbers of the data packets.
Specifically, in this embodiment, after receiving the returned performance detection data packet, the controller stores the data in the database, maintains database information, and analyzes the network performance through the data.
Such as analysing the delay of a pathFor a certain path, delay D of each data packet li The tail node timestamp-head node timestamp, N packets are constructed altogether, and the transmission delay of the path is obtained by detecting:
n is the number of sampled data packets, which is the average value of the time delay.
Such as analyzing jitter IPDV (network delay variation, IP Packet Delay Variation) of a certain path: the jitter is the change of time delay, the controller constructs N detection data packets with duration time T, and after calculating the time delay and average time delay of each data packet, the jitter can be further calculated:
where N is the total number of structured data packets in T time.
The time delay can be detected according to the time stamp, which is only a common example, and the packet loss condition can be calculated according to the sequence number of the data packet.
After the controller obtains the analysis result, the controller informs the control layer, and the control layer can select whether to switch paths or limit current or other actions according to the measurement result.
A more specific example of the controller calculating the custom path delay and jitter from the detected data is as follows:
taking the network detection data recorded by the detection path R1- > R6- > R3- > R4 shown in fig. 2 as an example, the recorded performance data are shown in table 1:
table 1: performance data recorded by R1- > R6- > R3- > R4
From the above data, the path delay is calculated as follows (in ms):
Packet 1 delay = 00016-00001 = 15, packet 2 delay = 14, packet 3 delay = 16, packet 4 delay = 16, packet 5 delay = 14, the path averages the delaysFrom the above data, the path jitter ipdv=0.4 is calculated.
An example of a more specific controller measuring the performance of a network slice is as follows:
by using an IPv6 data packet, the extension bit carries a network Slice identifier Slice-ID, that is, a network subinterface identifier, to implement performance measurement of the Slice network, as shown in fig. 7, if Slice1 is to be measured, that is, the network Slice performance identified as Slice1, the controller may construct a measurement data flow, which is composed of 1000 measurement data packets, where the data packets include:
sequence number: n (N)
Flow type: 00-11, whereby the node device performs a time stamping operation
List of target nodes:
device a (head node) -interface 1-Slice1
Device B (intermediate node) -interface 2-Slice1
Device C (deviceC, tail node, end of measurement)
Performance data: the column stores mainly the data recorded by each forwarding node, the time stamp.
Device A-interface 1-Slice1: xxxx-xxxx
Device B-interface 2-Slice1: xxxx-xxxx
Device C (measurement endpoint): xxxx-xxxx
Reporting controller mode: mode 1
After the controller constructs the detection data packet, the detection data packet is sent to the device A, the device A operates according to the data instruction, and finally the data packet is returned to the controller at the device C, so that the controller can analyze the performance data of the network slice 1 according to the content of the data packet.
Example 2:
as shown in fig. 8, the present disclosure provides a network performance detection method applied to a node device, the method including:
s21, receiving a performance detection data packet which is transmitted to the performance detection data packet according to the sequence information, wherein the performance detection data packet is constructed by a network controller and comprises the sequence information and performance detection items of each node device to be detected in a network communication path;
s22, filling own performance data in the performance detection data packet according to the performance detection item;
s23, the performance detection data packet filled with the performance data of the network controller is continuously transmitted according to the sequence information until the network controller receives the performance detection data packet filled with the performance data of each node device, and the network performance of the network communication path is obtained according to the performance data of each node device.
In an embodiment, the order information includes order information about subinterfaces of node devices of a certain network slice;
The own performance data includes performance data about own subinterfaces of a certain network slice;
the network performance of the network communication path includes the network performance of the network communication path with respect to a certain network slice.
In one embodiment, filling the performance data of the performance detection data packet according to the performance detection item specifically includes:
acquiring a performance detection data packet type and a performance detection item from a Flow Lable in a basic message header of IPv6 version of an Internet protocol;
acquiring self and/or sub-interface information of self which are arranged in sequence from an IPv6 segment routing message header SRH;
filling the performance data of the own or own sub-interface obtained according to the performance detection item into the extended message header of the IPv 6.
In one embodiment, the performance detection terms include detection delay, and/or jitter, and/or packet loss rate;
filling the performance data of the own or own sub-interface obtained according to the performance detection item into the extended message header of the IPv6, which concretely comprises the following steps:
the time stamp of the time when the performance detection data packet obtained according to the performance detection item arrives and/or leaves the self or the sub-interface of the self is filled in the extended message header of the IPv 6.
In one embodiment, the performance test data packet filled with the performance data of the performance test data packet is continuously transmitted according to the sequence information, and specifically includes:
acquiring next node equipment information arranged in sequence from an IPv6 SRH;
and sending the performance detection data packet filled with the own performance data to the next node equipment according to the next node equipment information.
In one embodiment, the performance detection data packet further includes a plurality of node devices for directing the performance detection data packet to be returned to the network controller;
after filling out own performance data according to the performance detection item in the performance detection data packet, the method further comprises:
and returning the performance detection data packet filled with the performance data of the self to the network controller in response to the performance detection data packet designated by the self to the network controller.
The method of example 2 interacts with example 1, and specific technical details are set forth in the description of example 1.
Example 3:
as shown in fig. 9, the present disclosure provides a network controller 1 including:
a construction module 11, configured to construct a performance detection data packet of the network communication path, where the performance detection data packet includes sequence information and performance detection items of each node device to be detected in the network communication path;
A first transmission module 12, connected to the construction module 11, for transmitting the performance detection data packet to each node device according to the sequence information, so that each node device fills out its own performance data in the performance detection data packet according to the performance detection item;
the result module 13 is connected to the first transmission module 12, and is configured to receive the performance detection data packet filled with the performance data of each node device, and obtain the network performance of the network communication path according to the performance data of each node device.
In an embodiment, the order information includes order information about subinterfaces of node devices of a certain network slice;
the performance data includes performance data about sub-interfaces of node devices of a certain network slice;
the network performance of the network communication path includes the network performance of the network communication path with respect to a certain network slice.
In an embodiment, the network controller 1 further comprises:
and the receiving unit is used for receiving the network communication path information from the network management layer, and the network communication path information is sent to the network controller after the network management layer selects a network communication path according to the network communication request of the user.
In one embodiment, the construction module 11 is specifically configured to:
Defining a performance detection data packet type and a performance detection item in a Flow Lable of a Flow identifier in an IPv6 basic message header of an Internet protocol;
explicitly storing each node device or each node device and sub-interface information thereof which are arranged in sequence in an IPv6 segment routing message header SRH;
and setting the position for storing the performance data filled in by each node device in the IPv6 extension message header.
In one embodiment, the first transmission module 12 is specifically configured to:
and sending the performance detection data packet to the head node equipment of the network communication path according to the sequence information, so that the head node equipment fills the performance data of the head node equipment according to the performance data item in the performance detection data packet, and then, transmitting the performance detection data packet backwards according to the sequence information until reaching the tail node equipment of the network communication path.
In one embodiment, the performance detection data packet further includes a plurality of node devices for directing the performance detection data packet to be returned to the network controller;
the result module 13 specifically includes:
the receiving unit is used for receiving a plurality of performance detection data packets respectively returned by a plurality of node devices which are appointed to return the performance detection data packets to the network controller, and the returned performance detection data packets totally fill in the performance data of each node device.
In one embodiment, the performance detection terms include detection delay, and/or jitter, and/or packet loss rate;
the performance data comprises a timestamp for recording the time when the performance detection data packet arrives and/or leaves each node device, and/or the performance detection data packet has a plurality of performance detection data packets, and/or each performance detection data packet also comprises a serial number of the performance detection data packet;
the result module 13 specifically includes an analysis unit for:
obtaining a latency performance of the network communication path based on the time stamps in the one or more performance detection data packets;
and/or obtaining jitter performance of the network communication path according to the time returned by the plurality of performance detection data packets or the time stamp in the plurality of performance detection data packets;
and/or, obtaining the packet loss rate of the network communication path according to the returned sequence of the plurality of performance detection data packets and the sequence numbers of the data packets.
Example 4:
as shown in fig. 10, the present disclosure provides a node apparatus 2 including:
a receiving module 21 for receiving a performance detection data packet transmitted to itself according to the sequence information, the performance detection data packet being constructed by the network controller and including the sequence information and performance detection items of each node device to be detected in the network communication path;
A filling module 22, connected to the receiving module 21, for filling own performance data in the performance detection data packet according to the performance detection item;
the second transmission module 23 is connected to the filling module 22, and is configured to continue transmitting the performance detection data packet filled with the performance data of the second transmission module according to the sequence information until the network controller receives the performance detection data packet filled with the performance data of each node device, and obtain the network performance of the network communication path according to the performance data of each node device.
In an embodiment, the order information includes order information about subinterfaces of node devices of a certain network slice;
the own performance data includes performance data about own subinterfaces of a certain network slice;
the network performance of the network communication path includes the network performance of the network communication path with respect to a certain network slice.
In one embodiment, the filling module 22 is specifically configured to:
acquiring a performance detection data packet type and a performance detection item from a Flow Lable in a basic message header of IPv6 version of an Internet protocol;
acquiring self and/or sub-interface information of self which are arranged in sequence from an IPv6 segment routing message header SRH;
Filling the performance data of the own or own sub-interface obtained according to the performance detection item into the extended message header of the IPv 6.
In one embodiment, the performance detection terms include detection delay, and/or jitter, and/or packet loss rate;
the filling module 22 is more specifically configured to:
the time stamp of the time when the performance detection data packet obtained according to the performance detection item arrives and/or leaves the self or the sub-interface of the self is filled in the extended message header of the IPv 6.
In one embodiment, the second transmission module 23 is specifically configured to:
acquiring next node equipment information arranged in sequence from an IPv6 SRH;
and sending the performance detection data packet filled with the own performance data to the next node equipment according to the next node equipment information.
In one embodiment, the performance detection data packet further includes a plurality of node devices for directing the performance detection data packet to be returned to the network controller;
the node device 2 further includes:
and the return unit is used for responding to the specified self-body performance detection data packet to return the performance detection data packet to the network controller, and returning the performance detection data packet filled with the self-body performance data to the network controller.
Example 5:
as shown in fig. 11, the present disclosure provides a network performance detection system, comprising:
A network controller 1 for implementing the network performance detection method described in embodiment 1;
the node device 2 is connected to the network controller 1 and is configured to implement the network performance detection method described in embodiment 2.
Specifically, in this embodiment, there may be a plurality of node devices 2, such as R1-R6 shown in fig. 2, which have a certain connection relationship with each other, and may form a network communication path.
Example 6:
the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the network performance detection method as described in embodiment 1 or 2.
Computer-readable storage media includes volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media includes, but is not limited to, RAM (Random Access Memory ), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory, charged erasable programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact Disc Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
Embodiments 1 to 6 of the present disclosure provide a network performance detection method, a network controller, a node device, a network performance detection system, and a computer readable storage medium, where a performance detection data packet of a network communication path is constructed by the network controller, and an order in which the data packet is transmitted between node devices and a performance detection item to be detected are specified in the performance detection data packet, so that the performance detection data packet obtains respective performance data of each node device according to order information and returns the performance data to the network controller, and the network controller can obtain the performance data of each node device, thereby obtaining the network performance of the network communication path, specifying the network communication path to be detected and the network performance to be detected according to actual requirements, specifying the node device to be measured in the network communication path and a control measurement order, and customizable obtaining the network performance about the network communication path and the network node device, thereby realizing on-demand detection and improving the application effect of network performance detection.
It is to be understood that the above embodiments are merely exemplary embodiments employed to illustrate the principles of the present disclosure, however, the present disclosure is not limited thereto. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the disclosure, and are also considered to be within the scope of the disclosure.

Claims (17)

1. A network performance detection method, applied to a network controller, the method comprising:
constructing a performance detection data packet of the network communication path, wherein the performance detection data packet comprises sequence information and performance detection items of each node device to be detected in the network communication path;
transmitting the performance detection data packets to each node device according to the sequence information, so that each node device fills own performance data in the performance detection data packets according to the performance detection items;
and receiving the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device.
2. The method according to claim 1, wherein the order information comprises order information about sub-interfaces of node devices of a certain network slice;
the performance data includes performance data about sub-interfaces of node devices of a certain network slice;
the network performance of the network communication path includes the network performance of the network communication path with respect to a certain network slice.
3. A method according to claim 1 or 2, wherein prior to constructing the performance test data packet of the network communication path, the method comprises:
And receiving network communication path information from the network management layer, and sending the network communication path information to the network controller after the network management layer selects a network communication path according to a network communication request of a user.
4. The method according to claim 1 or 2, characterized by constructing a performance detection data packet of the network communication path, in particular comprising:
defining a performance detection data packet type and a performance detection item in a Flow Lable of a Flow identifier in an IPv6 basic message header of an Internet protocol;
explicitly storing each node device or each node device and sub-interface information thereof which are arranged in sequence in an IPv6 segment routing message header SRH;
and setting the position for storing the performance data filled in by each node device in the IPv6 extension message header.
5. A method according to claim 1 or 2, characterized in that the performance test data packets are transmitted to each node device in order of information, in particular comprising:
and sending the performance detection data packet to the head node equipment of the network communication path according to the sequence information, so that the head node equipment fills the performance data of the head node equipment according to the performance data item in the performance detection data packet, and then, transmitting the performance detection data packet backwards according to the sequence information until reaching the tail node equipment of the network communication path.
6. The method according to claim 1 or 2, wherein the performance detection data packet further comprises a number of node devices that are instructed to return the performance detection data packet to the network controller;
receiving a performance detection data packet filled with performance data of each node device, wherein the performance detection data packet specifically comprises:
and receiving a plurality of performance detection data packets returned by the node devices which instruct to return the performance detection data packets to the network controller, wherein the returned performance detection data packets totally fill in the performance data of each node device.
7. The method according to claim 1 or 2, wherein the performance detection term comprises detection delay, and/or jitter, and/or packet loss rate;
the performance data includes a time stamp for recording the time at which the performance test data packet arrived and/or left each node device, and/or the performance test data packet has a plurality, and/or each of the plurality of performance test data packets further includes its own sequence number,
the method for obtaining the network performance of the network communication path according to the performance data of each node device specifically comprises the following steps:
obtaining a latency performance of the network communication path based on the time stamps in the one or more performance detection data packets;
And/or obtaining jitter performance of the network communication path according to the time returned by the plurality of performance detection data packets or the time stamp in the plurality of performance detection data packets;
and/or, obtaining the packet loss rate of the network communication path according to the returned sequence of the plurality of performance detection data packets and the sequence numbers of the data packets.
8. A method for detecting network performance, applied to a node device, the method comprising:
receiving a performance detection data packet which is transmitted to the performance detection data packet according to the sequence information, wherein the performance detection data packet is constructed by a network controller and comprises the sequence information and performance detection items of each node device to be detected in a network communication path;
filling own performance data in the performance detection data packet according to the performance detection item;
and continuously transmitting the performance detection data packet filled with the performance data of the network controller according to the sequence information until the network controller receives the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device.
9. The method of claim 8, wherein the order information comprises order information about subinterfaces of node devices of a certain network slice;
The own performance data includes performance data about own subinterfaces of a certain network slice;
the network performance of the network communication path includes the network performance of the network communication path with respect to a certain network slice.
10. Method according to claim 8 or 9, characterized in that the filling of the performance data of itself in the performance test data package according to the performance test item comprises in particular:
acquiring a performance detection data packet type and a performance detection item from a Flow Lable in a basic message header of IPv6 version of an Internet protocol;
acquiring self and/or sub-interface information of self which are arranged in sequence from an IPv6 segment routing message header SRH;
filling the performance data of the own or own sub-interface obtained according to the performance detection item into the extended message header of the IPv 6.
11. The method according to claim 10, wherein the performance detection term comprises detection delay, and/or jitter, and/or packet loss rate;
filling the performance data of the own or own sub-interface obtained according to the performance detection item into the extended message header of the IPv6, which concretely comprises the following steps:
the time stamp of the time when the performance detection data packet obtained according to the performance detection item arrives and/or leaves the self or the sub-interface of the self is filled in the extended message header of the IPv 6.
12. The method according to claim 10, wherein the performance test packets filled with their own performance data are further transmitted in order of sequence information, specifically comprising:
acquiring next node equipment information arranged in sequence from an IPv6 SRH;
and sending the performance detection data packet filled with the own performance data to the next node equipment according to the next node equipment information.
13. The method according to claim 8 or 9, wherein the performance detection data packet further comprises a number of node devices that are instructed to return the performance detection data packet to the network controller;
after filling out own performance data according to the performance detection item in the performance detection data packet, the method further comprises:
and returning the performance detection data packet filled with the performance data of the self to the network controller in response to the performance detection data packet designated by the self to the network controller.
14. A network controller, comprising:
the construction module is used for constructing a performance detection data packet of the network communication path, wherein the performance detection data packet comprises sequence information and performance detection items of each node device to be detected in the network communication path;
The first transmission module is connected with the construction module and is used for transmitting the performance detection data packets to each node device according to the sequence information so that each node device fills own performance data in the performance detection data packets according to the performance detection items;
and the result module is connected with the first transmission module and is used for receiving the performance detection data packet filled with the performance data of each node device and obtaining the network performance of the network communication path according to the performance data of each node device.
15. A node device, comprising:
the receiving module is used for receiving the performance detection data packet transmitted to the receiving module according to the sequence information, wherein the performance detection data packet is constructed by the network controller and comprises the sequence information and performance detection items of each node device to be detected in the network communication path;
the filling module is connected with the receiving module and used for filling own performance data in the performance detection data packet according to the performance detection item;
the second transmission module is connected with the filling module and is used for enabling the performance detection data packet filled with the performance data of the second transmission module to continue to be transmitted according to the sequence information until the network controller receives the performance detection data packet filled with the performance data of each node device, and obtaining the network performance of the network communication path according to the performance data of each node device.
16. A network performance detection system, comprising:
a network controller for implementing the network performance detection method according to any one of claims 1-7;
node device, connected to a network controller, for implementing a network performance detection method according to any of claims 8-13.
17. A computer readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the network performance detection method according to any of claims 1-7 or 8-13.
CN202310926886.1A 2023-07-26 2023-07-26 Network performance detection method, device, system and medium Pending CN116708238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310926886.1A CN116708238A (en) 2023-07-26 2023-07-26 Network performance detection method, device, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310926886.1A CN116708238A (en) 2023-07-26 2023-07-26 Network performance detection method, device, system and medium

Publications (1)

Publication Number Publication Date
CN116708238A true CN116708238A (en) 2023-09-05

Family

ID=87843506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310926886.1A Pending CN116708238A (en) 2023-07-26 2023-07-26 Network performance detection method, device, system and medium

Country Status (1)

Country Link
CN (1) CN116708238A (en)

Similar Documents

Publication Publication Date Title
CN113079091B (en) Active stream following detection method, network equipment and communication system
US8045478B2 (en) Performance measurement in a packet transmission network
US8477772B2 (en) System and method for determination of routing information in a network
DK2730059T3 (en) Oam open flow driven by controller
US20090180393A1 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
JP5840788B2 (en) Method, apparatus and communication network for root cause analysis
US20080159287A1 (en) EFFICIENT PERFORMANCE MONITORING USING IPv6 CAPABILITIES
US7898969B2 (en) Performance measurement in a packet transmission network
CN101729391B (en) Method, node and system for acquiring link aggregation group information
EP2020118A2 (en) Network latency analysis packet and method
CN111934936B (en) Network state detection method and device, electronic equipment and storage medium
EP2586158B1 (en) Apparatus and method for monitoring of connectivity services
US20230318970A1 (en) Packet Processing Method and Apparatus
CN115277510A (en) Method for automatically identifying equipment, equipment interface and equipment path in network session
CN116708238A (en) Network performance detection method, device, system and medium
CN114745302B (en) Communication method and device
US12040970B2 (en) Method and apparatus for collecting bit error information
CN117811953A (en) Network quality detection method, device, electronic equipment and readable storage medium
CN118316841A (en) Method for determining IFIT EGRESS detection points and node equipment
Karacali et al. Scalable network monitoring for multimedia applications in enterprise networks
CN116760736A (en) Aggregation port service flow detection method, device, equipment and storage medium
CN118449886A (en) Cross-domain performance detection method and device
CN117499274A (en) Flow monitoring method, device, equipment and medium based on elastic public network IP
CN117768358A (en) Method for acquiring equipment capability and related equipment
CN117597887A (en) Message processing

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