Method, device and system for determining required bandwidth for transmission data stream

By calculating the required bandwidth for transmitting data flows, based on the delay requirements of 5G technology and the transmission delay of network equipment, the problem of unstable delay in the existing technology is solved, and low-latency and high-latency data flows in the 5G network are achieved. Reliable transmission.

CN112583735BActive Publication Date: 2024-10-22HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911089128.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-27
Filing Date
2019-11-08
Publication Date
2024-10-22
Estimated Expiration
2039-11-08

AI Technical Summary

Technical Problem

The existing network resource deployment based on average or peak bandwidth is difficult to meet the low latency requirements of 5G technology. Especially when the network is congested due to instantaneous burst traffic, it causes transmission delay jitter and cannot meet the ultra-high reliability and ultra-low latency requirements. Communication (uRLLC) business requirements.

Method used

By determining the required bandwidth for transmitting data streams, and calculating the required bandwidth based on the end-to-end transmission delay requirements and the network equipment and link transmission delays on the forwarding path, to ensure low-latency and high-reliability transmission of data streams . This method includes obtaining the business demand delay of the data flow, the network equipment and link transmission delay on the forwarding path, and calculating the required bandwidth through the formula Bd = b/(dobj-dfix) to ensure that the network equipment has a transmission delay less than or Equal to the business demand delay.

Benefits of technology

It effectively solves the low-latency requirements of 5G technology, ensures the stability of the transmission delay of data streams under burst traffic conditions, and meets uRLLC's business requirements for high reliability and low latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112583735B_ABST
    Figure CN112583735B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and system for determining the required bandwidth of a data stream. The method includes controlling a device to obtain a service required delay for transmitting a data stream from a first network device to a second network device, controlling a device to obtain a network device transmission delay on a forwarding path and a link transmission delay on the forwarding path, and controlling a device to determine the required bandwidth of the transmission data stream according to the service required delay of the data stream, and the network device transmission delay and link transmission delay on the forwarding data stream path. The above method can be used to guide the deployment of network resources for data streams that require latency, so as to achieve low latency guarantee for the transmission data stream.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a method, device and system for determining a required bandwidth for a transmission data stream. Background Art

[0002] Bandwidth is used to describe the amount of traffic that passes through a network per unit time. Usually, the network uses bandwidth to determine the demand for network resources by network services. For example, in a statistically multiplexed network, network bandwidth is often deployed based on traffic bandwidth. However, the ultra-reliable low-latency communication (uRLLC) feature of the fifth-generation (5G) technology has strict requirements on service demand latency. Using commonly used traffic bandwidth to guide the deployment of network resources cannot meet the low latency requirements of 5G technology. For example, deploying network resources based on average traffic bandwidth can ensure that the network does not lose packets when the cache is sufficient. However, when the network is congested due to instantaneous burst traffic, it will cause transmission delay jitter, increase the end-to-end delay of the data stream, and cannot meet the uRLLC requirements of 5G services. Summary of the invention

[0003] The present application proposes a method for determining the required bandwidth for transmitting data streams, which is used to guide the deployment of network resources for data streams with latency requirements, so as to ensure the low latency requirements for end-to-end data stream transmission.

[0004] In the first aspect, an embodiment of the present application provides a method for determining the required bandwidth of a transmission data stream. In this method, a control device obtains an end-to-end service demand delay for a data stream transmitted from a first network device to a second network device, and the first network device and the second network device are respectively two end devices on a path for forwarding data streams. In an embodiment of the present application, the service demand delay may be referred to as a first delay. The control device obtains a network device transmission delay on a forwarding path and a link transmission delay of the forwarding path, wherein the forwarding path is a path through which the data stream is transmitted from the first network device to the second network device. In an embodiment of the present application, the sum of the network device transmission delay and the link transmission delay on the forwarding path may be referred to as a second delay. The network device transmission delay on the forwarding path includes the network device transmission delay of one or more network devices on the forwarding path. For example, if the forwarding path includes three network devices, the network device transmission delay on the forwarding path includes the sum of the network device transmission delays of the three network devices. The link transmission delay on the forwarding path is the link delay from the first network device to the second network device, and may also be referred to as the optical fiber delay on the forwarding path. The control device determines the required bandwidth for transmitting the data stream according to the first delay and the second delay.

[0005] Through this method, the control device determines the required bandwidth based on the delay requirement of the end-to-end transmission data flow and the network device transmission delay and link transmission delay on the forwarding path. The determined required bandwidth can meet the data flow's delay requirement and ensure high reliability of the transmission service.

[0006] In a possible implementation, the network device transmission delay includes one or more of the following delays: processing delay, output delay, preemption delay and scheduling delay of the network device on the forwarding path. Through this method, the network device transmission delay of one or more network devices on the forwarding path can be flexibly determined from the above delays as needed.

[0007] In a possible implementation, the required bandwidth determined by the control device satisfies the following condition: the delay of the network device on the forwarding path transmitting the data flow along the forwarding path according to the determined required bandwidth is less than or equal to the first delay. Through this method, it can be ensured that the data flow meets the service delay requirement of the data flow when the data flow is transmitted using the required bandwidth.

[0008] In a possible implementation, the control device obtains a third delay, and the value of the third delay is the difference between the first delay value and the second delay value. The third delay can be understood as the queue delay of the network device transmitting the data stream. The queue delay is closely related to the bandwidth of the network device. The larger the bandwidth of the network device, the smaller the queue delay. The control device can obtain the value of the required bandwidth based on the third time. For example, the control device obtains the number of data streams sent within the predetermined period based on the time of sending the data stream within the predetermined period and the average rate of sending the data stream. The control device can calculate the required bandwidth of the data stream based on the number of the data stream and the third delay.

[0009] In a possible implementation, the control device obtains the burst length of the data stream, and obtains the required bandwidth through the following relationship:

[0010] B d =b / (d obj -d fix )

[0011] Among them, B d Indicates the required bandwidth for transmitting data stream. b indicates the burst length of the data stream. d obj Indicates the service requirement delay of end-to-end transmission of data stream, that is, the first delay. fix It represents the sum of the network device transmission delay and the link transmission delay on the forwarding path, that is, the second delay. The burst length of a data stream can also be called the number of bursts of the data stream.

[0012] In the above method, according to d obj With d fixThe value obtained by the difference is expressed as the queue delay of the network device on the forwarding path. The control device obtains the required bandwidth for transmitting the data flow according to the quotient of the burst length of the data flow and the queue delay of the network device. The network device on the forwarding path uses the required bandwidth to transmit the data flow, which can not only smooth the burst traffic, but also ensure that the transmission of the data flow meets the constraint of the end-to-end service demand delay in the case of burst traffic.

[0013] In a possible implementation, the network devices on the forwarding path include one or more network devices for forwarding the data stream. The one or more network devices do not include the first network device and the second network device; or the one or more network devices include the first network device; or the one or more network devices include the second network device; or the multiple network devices include the first network device and the second network device.

[0014] In actual scenarios, the control device needs to take the transmission delay and link transmission of the network devices on the forwarding path as considerations for solving the required bandwidth. Therefore, the control device needs to determine the range of network devices on the forwarding path. Depending on the actual scenario, the determination range of the network devices on the forwarding path will be different. For example, if the network devices at both ends of the forwarded data stream are the source device and the destination device of the data stream, respectively, the one or more network devices on the forwarding path do not include the devices at both ends of the data stream. If the devices at both ends of the forwarding path are edge forwarding devices in the subnet, then the devices at both ends belong to multiple network devices on the forwarding path. If one of the devices at both ends of the forwarding path belongs to an edge forwarding device, then the device belongs to one or more network devices on the forwarding path. This method can select and determine the network devices on the forwarding data stream path according to different network scenarios, which is conducive to the control device to more accurately determine the required bandwidth.

[0015] In a possible implementation, the manner in which the control device obtains the burst length of the data stream may include any one of the following manners:

[0016] The control device obtains the burst length from the network device on the forwarding path; or the control device obtains the burst rate and the burst time of the data flow, and uses the value obtained by multiplying the burst rate and the burst time as the burst length; or the control device obtains the message length and the number of messages sent in the data flow within a set period, and uses the value obtained by multiplying the message length and the number of messages as the burst length.

[0017] Through this method, multiple modes for obtaining the burst length of the data stream are provided.

[0018] In one possible implementation, the control device may obtain parameters of the first delay or the second delay through one of the following messages, for example, a multiple registration protocol (MRP) message, a link-local registration protocol (LRP) message, a NETCONF message, a RESTCONF message, a simple network management protocol (SNMP) message, and a Management Information Base (MIB) message.

[0019] In a possible implementation, before the control device obtains the second delay, the control device determines a forwarding path for transmitting the data flow according to a service demand delay of the data flow.

[0020] In a possible implementation, after the control device determines the required bandwidth, the control device sends indication information to one or more network devices on the forwarding path, the indication information carrying the required bandwidth value of the data flow. The indication information can be used to instruct the network devices on the forwarding path to transmit the data flow according to the required bandwidth.

[0021] In a possible implementation, after the control device determines the required bandwidth, the control device sends indication information to the network devices on the forwarding path, where the indication information is used to instruct the network devices on the path to reserve bandwidth for the data flow according to the required bandwidth, where the reserved bandwidth is greater than or equal to the required bandwidth.

[0022] In a possible implementation, the control device can select and determine the network device for transmitting the data stream according to the required bandwidth. For example, when there are multiple forwarding paths for the data stream, the control device can select an appropriate network device and a path for forwarding the data stream according to the required bandwidth, and the selected network device is a network device that can provide a bandwidth equal to the required bandwidth to transmit the data stream. Through this method, the control device can select a network device that meets the requirements to forward the data stream according to the required bandwidth, thereby ensuring low latency in data stream transmission.

[0023] In a possible implementation, the control device sends the indication information to the network devices on the forwarding path through the centralized user configuration device, where the indication information carries the required bandwidth of the data flow.

[0024] In a possible implementation, the required bandwidth value is less than or equal to the maximum bandwidth of the network device on the forwarding path.

[0025] In the second aspect, an embodiment of the present application provides a method for determining the required bandwidth of a transmission data stream, in which a control device obtains a service demand delay for the data stream to be transmitted from a first network device to a second network device, which in the embodiment of the present application may be referred to as a first delay, and the control device obtains the network device transmission delay of each network device on the forwarding path and the link transmission delay of the data stream on the forwarding path. Among them, the forwarding path is the path through which the data stream is transmitted from the first network device to the second network device, and the link transmission delay transmitted on the forwarding path refers to the link transmission delay of the path from the first network device to the second network device, which may also be referred to as the end-to-end link transmission delay of the data stream. In the embodiment of the present application, the transmission delay of a single network device on the forwarding path may be referred to as a second delay. The control device obtains the required bandwidth for the transmission of a data stream by a single device based on the first delay, the second delay, and the link transmission delay.

[0026] In one possible implementation, the control device obtains the service requirement delay for each network device transmitting the data stream on the forwarding path based on the first delay. For example, the control device divides the first delay by the number of network devices on the forwarding path to obtain the service requirement delay for a single network device transmitting the data stream. The controller can also distribute the first delay to each network device on the forwarding path in proportion to the demand to obtain the service requirement delay for each network device transmitting the data stream. Through this method, the control device can flexibly confirm the service requirement delay for each forwarding device transmitting the data stream on the forwarding path according to demand.

[0027] In a possible implementation, the transmission delay of a single network device includes one or more of the following delays: processing delay, output delay, preemption delay, and scheduling delay of the single network device.

[0028] In a possible implementation, a delay for a network device on a forwarding path to transmit the data stream along the forwarding path according to the required bandwidth is less than or equal to the first delay.

[0029] In a possible implementation, the control device obtains the value of the required bandwidth according to the difference between the first delay value and the second delay and the link transmission delay value.

[0030] In a possible implementation, the method further includes: the control device obtaining a burst length of the data stream.

[0031] The control device determines the required bandwidth for transmitting the data stream according to the first delay and the second delay, specifically including: the control device obtains the required bandwidth through the following relationship:

[0032] B d =b / (d obj-per -d device )

[0033] Among them, B d represents the required bandwidth of a single network device on the forwarding path. b represents the burst length of the data flow. d obj-per Indicates the service demand delay of a single network device on the forwarding path. device represents the second delay, that is, the network device transmission delay of a single network device on the forwarding path. obj-per The corresponding value can be obtained according to the demand. For example, the control device obtains the third delay according to the difference between the first delay and the link transmission delay, and then the control device distributes the third delay to each network device on the forwarding path according to a certain ratio, and then obtains the service demand delay of a single network device, that is, obtains d obj-per .

[0034] Through the above method, the control device can determine the bandwidth of the transmission data stream according to a single network device, making the deployment of the network device more flexible while meeting the service demand delay constraint of the data stream transmission.

[0035] In a possible implementation, the network devices on the forwarding path include one or more network devices for forwarding data streams, wherein the one or more network devices do not include the first network device and the second network device; or the one or more network devices include the first network device; or the one or more network devices include the second network device; or the plurality of network devices include the first network device and the second network device.

[0036] In a possible implementation, the manner in which the control device obtains the burst length of the data stream may include any one of the following manners:

[0037] The control device receives the burst length from the network device on the forwarding path; or the control device obtains the burst rate and the burst time of the data flow, and uses the value obtained by multiplying the burst rate and the burst time as the burst length; or the control device obtains the message length and the number of messages sent by the data flow within a set period, and uses the value obtained by multiplying the message length and the number of messages as the burst length.

[0038] In a possible implementation, before the control device obtains the second delay, the control device determines a path for transmitting the data flow according to a service demand delay of the data flow.

[0039] In a possible implementation, after the control device determines the required bandwidth, the control device sends indication information to the network devices on the forwarding path, the indication information carrying the required bandwidth of the data flow. The indication information can be used to instruct the network devices on the forwarding path to transmit the data flow according to the required bandwidth.

[0040] In a possible implementation, after the control device determines the required bandwidth, the control device sends indication information to the network device on the forwarding path, and the indication information is used to instruct the network device on the forwarding path to reserve bandwidth for the data flow according to the required bandwidth, wherein the reserved bandwidth is greater than or equal to the required bandwidth. The network device may be a network device that sends the network device transmission delay to the controller.

[0041] In a possible implementation, the control device can select and determine the network device for transmitting the data stream according to the required bandwidth. For example, when there are multiple forwarding paths for the data stream, the control device can select an appropriate network device according to the required bandwidth, that is, a network device that can provide a bandwidth equal to the required bandwidth to transmit the data stream. Through this method, the control device can select a network device that meets the requirements to forward the data stream according to the required bandwidth, thereby ensuring low latency in data stream transmission.

[0042] In a third aspect, an embodiment of the present application provides a control device for executing the method in the first aspect or any possible implementation of the first aspect. Specifically, the network device includes a unit for executing the method in the first aspect or any possible implementation of the first aspect.

[0043] In a fourth aspect, an embodiment of the present application provides a control device for executing the method in the second aspect or any possible implementation of the second aspect. Specifically, the network device includes a unit for executing the method in the second aspect or any possible implementation of the second aspect.

[0044] In a fifth aspect, an embodiment of the present application provides a control device, the controller comprising: a processor, a communication interface and a memory. The memory can be used to store program code, and the processor is used to call the program code in the memory to execute the method in the aforementioned first aspect or any possible implementation of the first aspect or the aforementioned second aspect or any possible implementation of the second aspect, please refer to the detailed description in the method example, which will not be repeated here.

[0045] In a sixth aspect, an embodiment of the present application provides a system for sending a service message, the system comprising a sending device, a forwarding device and a control device. The sending device is used to send the end-to-end service demand delay of the data flow to the control device. The forwarding device is used to send the network device transmission delay on the end-to-end forwarding path and the link transmission delay of the forwarding path to the control device. The control device is used to determine the required bandwidth for transmitting the data flow according to the end-to-end service demand delay of the data flow, the network device transmission delay on the end-to-end forwarding path and the link transmission delay of the forwarding path.

[0046] In the seventh aspect, an embodiment of the present application provides a computer-readable medium, comprising instructions, which, when executed on a computer, causes the computer to execute the method in the first aspect or any possible implementation of the first aspect, or execute the method in the second aspect or any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of a scenario for determining the required bandwidth of a transmission data stream provided in an embodiment of the present application;

[0048] Figure 2 A schematic flow chart of a method for determining a required bandwidth for a transmission data stream provided in an embodiment of the present application;

[0049] Figure 3 A schematic flow chart of a method for determining a required bandwidth for a transmission data stream provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of a delay structure of a network device transmitting a data stream provided in an embodiment of the present application;

[0051] Figure 5 A schematic diagram of a service curve and an arrival curve of a data flow provided in an embodiment of the present application;

[0052] Figure 6 A schematic diagram of a message format in which a TLV carries characteristic information of a data stream provided in an embodiment of the present application;

[0053] Figure 7 A schematic diagram of a message format in which a TLV carries characteristic information of a data stream provided in an embodiment of the present application;

[0054] Figure 8 A schematic diagram of a message format in which a TLV carries characteristic information of a data stream provided in an embodiment of the present application;

[0055] Fig. 9 A schematic diagram of an MRPDU message format provided in an embodiment of the present application;

[0056] Fig.10 A schematic diagram of an LRPDU message format provided in an embodiment of the present application;

[0057] Fig.11 A schematic diagram of converting information carried by TLV into a YANG model provided in an embodiment of the present application;

[0058] Fig.12 A schematic diagram of a YANG model carrying the required bandwidth of a transmission data stream provided in an embodiment of the present application;

[0059] Fig.13 A schematic flow chart of a method for determining a required bandwidth for a transmission data stream provided in an embodiment of the present application;

[0060] Fig.14 A schematic diagram of the structure of a control device provided in an embodiment of the present application;

[0061] Fig.15 A schematic diagram of the structure of a control device provided in an embodiment of the present application;

[0062] Fig.16 A schematic diagram of the structure of a system for determining the required bandwidth of a transmission data stream provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0064] For data flows in Internet Protocol (IP) networks, bandwidth is often used to measure the size of data flows. The value of bandwidth is related to the characteristics of the data flow and the observation period. For example, average bandwidth is used to describe long-term stable data flows, and a longer observation period is required. Peak bandwidth is used to describe the maximum value of an instantaneous data flow, and a shorter observation period is required. Millisecond or microsecond time units can be selected to measure data flows according to the characteristics of the data flow.

[0065] However, the above networks deployed based on average bandwidth or peak bandwidth are difficult to meet the low latency requirements of ultra-reliable low-latency communication (uRLLC). First, when the data flow has burst characteristics, there is a large difference between the average bandwidth and the peak bandwidth, and the peak bandwidth also varies greatly with different observation periods. Therefore, it is difficult to use a single bandwidth value to reflect the characteristics of the data flow. Moreover, bandwidth refers to the statistics of data flow per unit time, and the bandwidth value has no direct correlation with the network transmission latency requirements.

[0066] Accordingly, the present application provides a method, device and system for determining the bandwidth of a transmission data stream, which can more accurately determine the bandwidth values ​​for different data streams while meeting the latency requirements. The scheme uses the latency requirements of the transmission data stream, the network device transmission delay and the link transmission delay as parameters to determine the required bandwidth for the network device to transmit the data stream. In other words, under the constraint of meeting the latency requirements of the data stream, the required bandwidth of the network device to transmit the data stream is determined, and the determined required bandwidth is sent to the network device as the latency-reliable bandwidth of the transmission data stream to deploy the network. This method can be used to guide the deployment of network resources for data streams that have latency requirements, determine the bandwidth of the transmission data stream according to the latency requirements of the data stream, achieve low latency and high reliability of the service, and provide technical support for the development of 5G services.

[0067] Before introducing the specific scheme of the present application, the terms involved in the present application are described and explained below.

[0068] The data stream demand bandwidth in this application is used to describe the reliable bandwidth required to transmit the data stream while meeting the data stream delay requirement. The data stream demand bandwidth can also be called delay reliable bandwidth (DRB). Delay reliable bandwidth can be used to guide network resource configuration and provide determinism and reliability delay guarantees for the data stream of the uRLLC service. For example, in an industrial automation network application, the end-to-end transmission data stream delay requirement is 2 milliseconds (millisecond, ms) and the reliability (the probability of successful data transmission within the data stream delay requirement) is required to be 100%. The maximum delay of the network device using the delay reliable bandwidth to transmit the data stream cannot exceed 2ms. In this application, the delay reliability bandwidth or demand bandwidth can be expressed by B d express.

[0069] The service requirement delay of a data stream in this application refers to the maximum acceptable delay of the end-to-end transmission of the data stream, which can also be called the bounded delay of the data stream, or the delay requirement of the transmission data stream. For example, the maximum acceptable delay of the end-to-end transmission of the data stream is 2ms, and the bounded delay of the data stream or the delay requirement of the data stream is 2ms. In this application, the bounded delay of the data stream or the service requirement delay can be expressed as d obj The above end-to-end is used to describe the two ends of the transmission data flow path. For example, if the data flow transmission path is from the first network device to the second network device, the end-to-end transmission of the data flow refers to the data flow from the first network device to the second network device.

[0070] YANG in this application refers to a data modeling language used to model configuration data, state data, remote procedure calls, and network management protocol notifications. The specific description of YANG can be based on the relevant sections of the Requirement For Comments (RFC) 6020 and RFC7950. For example, network devices can configure and send data through the YANG model of the Network Configuration Protocol (NETCONF) and the YANG model of the representational state transfer network configuration protocol (RESTCONF). The YANG model can describe data in Extensible Markup Language (XML) format or JavaScript Object Notation (JSON) format. For example, the YANG model can be used to carry parameters corresponding to the forwarding delay or delay reliable bandwidth of the network device.

[0071] Combine the following Figure 1 , a possible application scenario of the present application is introduced. Figure 1 The network 100 includes a control device 101 and network devices 102-105. In a possible design, the network devices 102-105 may be a sending device 102, forwarding devices 104-105 and a receiving device 103 of a data stream, respectively. For example, the sending device 102 may be a source device for sending a data stream, and the data stream is forwarded by the forwarding devices 104-105 and received by the destination device 103. The control device 101 may implement information interaction with one or more network devices of the sending device 102, the forwarding device 104, the forwarding device 105 or the receiving device 103 through a user network interface (User Network Interface, UNI), NETCONF or RESTCONF.

[0072] The control device 101 has data processing or computing capabilities. Figure 1As shown, the control device 101 can be a separate network device, that is, physically independent of the network devices 102-105 in the network 100, and centrally manages one or more of the network devices 102-105. The control device 101 can also be integrated with other network devices on the same network device, for example, the control device 101 and the sending device 102 are integrated on the same network device. The functions of the control device 101 can also be split into multiple sub-functional units, and the multiple sub-functional units are distributedly deployed on the network devices 102-105. This application does not limit the physical form and deployment method of the control device 101, as long as it can realize the interactive function with one or more of the network devices 102-105 in this application.

[0073] Each network device in the sending device 102, the receiving device 103 or the forwarding devices 104-105 can be an independent network device, or can be integrated with the control device 101 on one device. It can be selected and designed according to the specific scenario requirements, and this application does not limit this.

[0074] In one example, if the data stream needs to pass through multiple subnets during transmission from the source device to the destination device, the sending device 102 can be a network device with forwarding function located at the edge of one of the subnets. For example, when the path of the transmission data stream is divided into different subnets according to the network segment, the sending device 102 is the edge forwarding device of one of the subnets; or the path of the transmission data stream is distributed in multiple subdomains of the time sensitive networking (TSN) network, and the sending device 102 is the edge forwarding device of one of the subdomains. Forwarding devices 104-105 can be switches, routers and other network devices with the function of forwarding data streams. Receiving device 103 can be a network device at the receiving end of the traffic, which has the function of receiving traffic.

[0075] In one example, the network 100 may also include a centralized user configuration (CUC) device, which establishes connections with the network devices 102-105 respectively and can be used to manage or configure the network devices 102-105. The CUC agent network devices 102-105 interact with the control device 101.

[0076] Figure 1The provided network scenarios can be 5G uRLLC business scenarios, such as scenarios that provide bounded delay guarantees for smart grid differential protection services, industrial automation, vehicle-mounted networks, or scenarios such as smart factories that provide bounded delays for sensor data collection streams, industrial control data streams, video surveillance traffic, etc. based on wired Ethernet or wireless networks. In these scenarios, there may be different service level agreements (SLA) for different data stream types in the network, which requires the control device to reasonably coordinate available resources and business requirements based on the data stream's requirements for delay, and to reasonably allocate and reserve network resources. Through the solution proposed in this application to determine the bandwidth of the transmission data stream, network resources are configured to provide differentiated SLA guarantees.

[0077] like Figure 2 As shown, the present application provides a method flow chart for determining the required bandwidth of a transmission data stream. The method includes obtaining the service required delay of the data stream, obtaining the network device transmission delay and link transmission delay on the forwarding path, and determining the required delay of the data stream. Figure 2 The control device in can be Figure 1 The control device 101 in Figure 2 The network devices on the forwarding path in the above may be Figure 1 One or more network devices in the network devices 101-105 in the network. The above three steps are explained and illustrated respectively below.

[0078] Step 210: The control device obtains the service requirement delay of the data stream.

[0079] On the one hand, the control device can obtain the service delay requirement of the data flow from itself. For example, the control device can obtain the service delay corresponding to the data flow through the correspondence between the data flow and the service delay saved by itself. On the other hand, the control device can also receive the service delay of the data flow sent by other network devices. For example, the control device can first determine the path for forwarding the data flow and one or more network devices on the forwarding path based on the obtained network topology information. Then the control device obtains the service delay requirement of the data flow from the network devices on the forwarding path. For example, combined with Figure 1 , the sending device 101 can directly send the service requirement delay of the data stream to the control device.

[0080] For example, when a network device on a transmission path sends a service delay requirement of a data stream to a control device, the control device may send a message carrying the service delay requirement of the data stream to the control device through a user network interface (UNI), such as a multiple registration protocol (MRP) message, a link-local registration protocol (LRP) message, a NETCONF message, a RESTCONF message, or a management information base (MIB) message carrying the service delay requirement of the data stream.

[0081] In one example, the network device on the transmission path may also send the service delay requirement of the data stream to the control device through a centralized user configuration (CUC) device.

[0082] The network device may also send the message carrying the service delay requirement of the data flow to the control device through the CUC device.

[0083] The service requirement delay of a data stream can be understood as the maximum delay allowed for end-to-end transmission of the data stream. For example, if the end-to-end devices are the first network device and the second network device, the service requirement delay of the data stream is the maximum requirement delay allowed for the data stream to reach the second network device from the first network device. When the first network device and the second network device are the source device and the destination device of the data stream, respectively, the control device can obtain the service requirement delay of the data stream from the first network device. For example, in a time sensitive networking (TSN), the sender (Talker) sends the service requirement delay of the data stream directly to the control device, or sends the service delay requirement of the data stream to the control device through the CUC device. When the first network device is an edge forwarding device in a subnet that transmits data streams, any network device on the path of forwarding the data stream can send the service requirement delay of the data stream to the control device.

[0084] The control device can receive the service demand delay of one or more different data streams. Different data streams can be distinguished according to the four-tuple, five-tuple or seven-tuple information of the data stream, for example, different data streams can be distinguished according to the source IP address, destination IP address, source port and destination port of the data stream, or different data streams can be distinguished according to the source IP address, destination IP address, protocol number, source port and destination port of the data stream, or different data streams can be distinguished according to the source IP address, destination IP address, protocol number, service type, interface index, source port and destination port of the data stream. Data streams can also be distinguished according to other features, for example, whether they belong to the same data stream according to whether the transmission path of the data stream is the same, and data streams with the same transmission path belong to the same data stream. Data streams can also be distinguished according to whether the data stream has the same quality of service (quality of service, Qos) parameters, for example, according to whether the data stream has the same delay, jitter or throughput. Data streams with the same Qos parameters belong to the same data stream. The above-mentioned distinguishing features can also be combined to distinguish whether they belong to the same data stream.

[0085] Step 220: The control device obtains the network device transmission delay and link transmission delay on the data flow forwarding path.

[0086] For the convenience of the following description, the forwarding path of the end-to-end transmission data flow can be referred to as the first path. The network device transmission delay on the first path may include one or more delays of the processing delay, output delay, preemption delay or scheduling delay of one or more network devices on the first path. The link transmission delay on the first path is the delay of the end-to-end transmission data flow on the first path, and can also be referred to as the fiber delay on the first path.

[0087] The control device obtains the sum of the accumulated values ​​of the network device transmission delays of one or more network devices on the forwarding path and the accumulated values ​​of the link transmission delays on the forwarding path. Figure 1 For example, the forwarding path of the transmission data stream includes forwarding devices 104-105, and the network device transmission delay on the forwarding path is the sum of the network device transmission delays of forwarding devices 104 and 105. The link transmission delay on the forwarding path is the sum of the transmission delays of all links on the forwarding path. Figure 1 In the example, the link transmission delay on the forwarding path is the sum of the transmission delays of all links transmitting data flows along the forwarding path from the sending device 102 to the receiving device 103.

[0088] In one example, the forwarding delay of the network device on the first path includes a combination of one or more of the following delays: the processing delay of the network device on the first path, the output delay of the network device on the first path, the preemption delay of the network device on the first path, or the scheduling delay of the network device on the first path. For example, the forwarding delay of the network device on the first path includes the output delay of the network device on the first path and the processing delay of the network device on the first path. The forwarding delay of the network device on the first path can be any one of the above delay parameters or any combination of the above delay parameters, and the present application does not limit the combination method.

[0089] For example, if Figure 4 As shown, a schematic diagram of network device transmission delay and link transmission delay is provided for the present application. Figure 4 The data flow includes node A and node B, and the data flow transmission direction is from node A to node B. The network device transmission delay and link transmission delay of the data flow from node A to node B include Figure 4 The part indicated by the number. Figure 4 The number 1 in the table represents the network device output delay, the number 2 represents the link transmission delay, the number 3 represents the preemption delay, the number 4 represents the network device processing delay, the number 5 represents the scheduling delay, and the number 6 represents the queue delay. The transmission delay of the network device on the forwarding path includes the sum of the transmission delay of node A, the transmission delay of node B, and the link transmission delay. The transmission delay of a single network device on the forwarding path can be any one or any combination of 1, 3, 4, and 5. For example, the transmission delay of a single network device on the first path is the sum of 1, 3, 4, and 5, or can also include only 4. The transmission delay of the network device on the forwarding path is N times the transmission delay of the single network device determined above, where N is the number of network devices on the forwarding path.

[0090] In one example, the network devices on the first path or the forwarding path include one or more network devices for forwarding data streams. The one or more network devices do not include devices at both ends of the forwarding path; or the one or more network devices only include any one of the devices at both ends of the forwarding path; or the multiple network devices include devices at both ends of the forwarding path. The control device can receive the network device transmission delay and link transmission delay on the forwarding path sent by any one or more of the forwarding devices.

[0091] Since the control device needs to take the transmission delay and link transmission of the network devices on the forwarding path as considerations for solving the required bandwidth. Therefore, the control device needs to determine the range of network devices on the forwarding path. Depending on the actual scenario, the determination range of the network devices on the forwarding path will be different. For example, if the network devices at both ends of the forwarded data stream are the source device and the destination device of the data stream, respectively, the one or more network devices on the forwarding path do not include the devices at both ends of the data stream. If the devices at both ends of the forwarding path are edge forwarding devices in the subnet, the devices at both ends belong to multiple network devices on the forwarding path. If one of the devices at both ends of the forwarding path belongs to an edge forwarding device, the device belongs to one or more network devices on the forwarding path. This method can select and determine the network devices on the forwarding data stream path according to different network scenarios, which is conducive to the control device to more accurately determine the required bandwidth.

[0092] Furthermore, the control device needs to configure network resources for the forwarding devices on the transmission data flow path. Figure 1 As shown, if the sending device 102 is the source device of the data stream and the receiving device 103 is the destination device of the data stream, the control device may not configure the bandwidth resources of the source device and the destination device of the data stream. Therefore, the network devices for which the control device needs to configure bandwidth do not include the sending device 102 and the receiving device 103. If the sending device 102 and the receiving device 103 are edge devices of the subnet and are not the source device and the destination device of the data stream, the control device may also calculate and configure the required bandwidth for both.

[0093] The control device may receive the network device transmission delay and link transmission delay on the forwarding path through an MRP message, an LRP message, a NETCONF message, a RESTCONF message, or a MIB message. For example, the control device may use a YANG model to carry the network device transmission delay and link transmission delay on the forwarding path on the path of the transmission data flow, and send the YANG model to the control device through a NETCONF message or a RESTCONF message.

[0094] Step 230: The control device determines the required bandwidth for transmitting the data stream.

[0095] The control device determines the required bandwidth for transmitting the data stream according to the service requirement delay of the data stream and the transmission delay of the network device and the link transmission delay on the forwarding path. Optionally, the time for the network device on the forwarding path to use the required bandwidth to transmit the data stream end-to-end is less than or equal to the service requirement delay of the data stream.

[0096] In one example, the control device can determine the required bandwidth of the data flow according to the arrival curve and the service curve, wherein the arrival curve α is used to describe the cumulative number of data flows sent within time t (in bits or bytes), and the service curve is used to describe the cumulative number of data flows sent within time t (in bits or bytes). Figure 5 As shown, a schematic diagram for determining the bandwidth required by a data stream is provided. The data stream obeys the arrival curve α(t)=b+rt, where b is the burst length of the data stream and r is the average rate of the data stream. The burst length of the data stream refers to the burst flow of the data stream. For example, when the data stream is sent through a token bucket, the burst length is the committed burst size (CBS). The embodiment of the present application is not limited to the method of sending data streams using a token bucket. The data stream obeys the service curve β(t)=R(tT), where R is the transmission rate provided by the network device on the forwarding path to the data stream, T is the transmission delay of the network device on the forwarding path and the link transmission delay. The service curve can describe a forwarding device or multiple forwarding devices in cascade. The control device can use the following formula 1 to solve the feasible solution of the bandwidth variable R, where p is used to describe the probability that the network reliably transmits the data stream (without packet loss) and meets the service demand delay of the data stream. For example, a certain type of business requires a 99.99% probability that the transmission delay does not exceed 20ms. The default value of the accuracy requirement p of the transmission data flow can be p=1, that is, the service requirement delay of the data flow is required to be 100%. The solution method can be network calculation, for example, the maximum horizontal distance between the arrival curve and the service curve is the upper limit of the delay, that is, the service requirement delay of the data flow. The determined required bandwidth R is less than or equal to the maximum bandwidth of the network device on the forwarding path.

[0097] h_max(α(b,r,t),β(R,T,t),p)≤d q (Formula 1)

[0098] R min ≤R≤R max

[0099] In an example, a data flow can obtain a required bandwidth of the data flow according to the queue delay. The queue delay of the data flow can be obtained by the queue delay value d q =d obj -d fix , where d obj Indicates the end-to-end service delay of the data flow, d fix The network device transmission delay and link transmission delay of all network devices forwarding data flows on the forwarding path. For example, if there are two network devices on the forwarding path, then d fixIt includes the link transmission delay of end-to-end data stream transmission and the transmission delay between two network devices.

[0100] In one example, according to the relation B d =b / (d obj -d fix ) to obtain the value of the required bandwidth of the data stream. Among them, B d represents the value of the required bandwidth, b represents the value of the burst length, d obj Indicates the service demand delay of the data flow, where d fix Indicates the network device transmission delay and link transmission delay on the forwarding path. obj With d fix The value obtained by the difference is physically represented as the queue delay of the network device on the forwarding path for the burst length. The network device on the forwarding path can meet the service demand delay of the data flow by using the required bandwidth to transmit the data flow. In addition, the method can also ensure that the transmission of the data flow meets the constraint of the service demand delay in the case of burst traffic.

[0101] For example, the burst length b can be sent by the network device on the forwarding path to the control device. The specific sending method can refer to the service demand delay method of sending the data stream in step 210. It can also be based on the burst length b=t p r p Get the burst length of the data stream, where r p Indicates the burst rate of the data stream, t p Indicates the burst time of the data stream. It can also be calculated based on the burst length b = N L L obtains the burst length of the data stream, where N L Indicates the number of maximum message lengths L of the data stream sent within the set period, where L represents the longest message of the data stream. For accurate calculation, the burst length b = 2N can also be used. L L obtains the burst length of the data stream, that is, the burst length is calculated using the number of the longest messages in two cycles.

[0102] The control device may obtain the above characteristic information of the data flow by referring to the method of obtaining the service demand delay of the data flow in step 210. For example, the control device may obtain the burst length b and burst rate r of the data flow from the messages listed in step 210. p , burst time t p, the average rate r of the transmission data stream, the maximum message length L of the data stream sent in the set period, the number of maximum message lengths L of the data stream sent in the set period, or the accuracy requirement p of the transmission data stream. Among them, the accuracy requirement p is the accuracy requirement of the transmission data stream, which can also be called the reliability requirement of the transmission data stream. The method for the control device to receive the above parameters can refer to the method for the controller to receive the business demand delay of the data stream in step 210, which will not be repeated here. The control device can obtain the arrival curve α based on other information of the above data stream.

[0103] In one example, the control device sends the indication information to the network devices on the path through a centralized user configuration device.

[0104] In one example, the control device sends instruction information to the network devices on the forwarding path. The instruction information carries the required bandwidth, such as Fig.12 As shown, a YANG model carrying the required bandwidth of a data flow is provided. The indication information is used to instruct the network device on the forwarding path to transmit the data flow according to the required bandwidth, or to instruct the network device on the forwarding path to reserve bandwidth for the data flow according to the required bandwidth. The control device can send the required bandwidth of the data flow to the next hop device that sends the data flow, or can send the required bandwidth of the data flow to all network devices on the forwarding path.

[0105] like Figure 3 As shown, a flow chart of a method for determining the bandwidth required by a data stream is provided. Figure 3 The control device in can be Figure 1 The control device 101 in Figure 3 The network devices in can be Figure 1 One or more of the network devices 101-105 in. Figure 3 The data stream A in the figure belongs to the data stream in time sensitive networking (TSN). From the sending device to the receiving device, the characteristics of the transmission process of data stream A meet all or part of the requirements defined by the Institute of Electrical and Electronics Engineers (IEEE) 802.1TSN series standards. The following takes the data stream A of the TSN network as an example to explain and illustrate the method of determining and deploying the required bandwidth of data stream A.

[0106] Step 310: The sending device of data stream A sends characteristic information of data stream A to the control device.

[0107] The characteristic information of the data flow includes the service demand delay of the data flow A from the sending device to the receiving device. The characteristic information may also include the burst length b of the data flow, the burst rate r p , burst time t p , the average rate r of the transmission data stream, the maximum message length L of the data stream sent in the set period, the number of maximum message lengths L of the data stream sent in the set period, or the accuracy requirement p of the transmission data stream. The controller can use the parameters in the above characteristic information to determine the required bandwidth of the transmission data stream A.

[0108] The following is an introduction to the method in which the sending device sends the above characteristic information to the control device.

[0109] The sending device may send the characteristic information of data stream A to the control device through the type-length-value (TLV) of the data model traffic specification (TSPEC) defined by UNI or the TLV of user to network requirements, or the user centralized control device managing the sending device may send the characteristic information of data stream A to the control device through TSPEC TLV or TLV of user to network requirements. Among them, data stream A may be a set, for example, the data stream includes multiple sub-data streams of the same transmission path.

[0110] In one example, if Figure 6 As shown, a schematic diagram of the format of a TLV carrying characteristic information of a data stream is provided for this application. For example, Figure 6 The interval (Interval) in the figure can be the period T of the maximum message length L of the data stream sent by the sending device. L If the value of Interval is used as a period to count data stream A, the value of MaxFramsPerInterval indicates the number of packets N with the maximum packet length L in data stream A sent in each period. L , and the length of each message cannot exceed the value of MaxFramesSize. Among them, the burst length b of data stream A can be obtained by the product of the value of MaxFramsPerInterval and the value of MaxFramesSize. As shown in the following Table 1, Figure 6 The correspondence between the message format parameters and the characteristic information of data stream A.

[0111] Table 1

[0112] Fields in TSPEC TLV Characteristic information of data stream A Interval <![CDATA[Period T L > MaxPacketPerInterval*MaxFramesSize Burst length b MaxFramesSize Maximum message length L

[0113] In an example, feature information of data stream A may also be carried by adding a TLV in TSPEC. Figure 7 As shown, another format diagram of the newly added TLV carrying characteristic information of the data stream is provided for this application. Figure 7 In the newly added TLV shown, Max_Committed Information Rate (in bit / s) and Max_Committed BurstSize (in bit) can be used to constrain the sent data stream A not to exceed the values ​​of Max_Committed InformationRate and Max_Committed Burst Size. In other words, it can be understood that data stream A passes through a token bucket, and the rate at which tokens are injected into the token bucket is the value corresponding to Max_CommittedInformationRate, and the maximum number of tokens that the token bucket can accommodate is the value corresponding to Max_CommittedBurstSize, so that the tokens in the token bucket will not be taken out. At the same time, the length of the message in data stream A will not be less than the value corresponding to MinFrameSize (in bit), nor will it be more than the value corresponding to MaxFrameSize (in bit). As shown in Table 2 below, Figure 7 The correspondence between the message format parameters and the characteristic information of data stream A.

[0114] Table 2

[0115] TSPEC adds new TLV fields Characteristic information of data stream A Max_CommittedInformationRate Average rate r Max_CommittedBurstSize Burst length b MaxFrameSize Maximum message length L

[0116] In one example, if Figure 8 As shown, another schematic diagram of a message format in which TLV carries characteristic information of a data stream is provided for this application. Figure 8 In the UserToNetworkRequirements TLV shown in , a new field is added. For example, the field is Latency_ConfidenceLevel. If the value of this field is 999900, it means that the user accepts that in 99.99% of the cases, the network can guarantee that the transmission delay is less than the value of MaxLatency. As shown in Table 3 below, Figure 8 The correspondence between the parameters in the message format and the characteristic information of data stream A.

[0117] Table 3

[0118] TSPEC adds fields to TLV Characteristic information of data stream A MaxLatency <![CDATA[Delay requirement d obj > Latency_ConfidenceLevel Reliability requirements

[0119] The TLV carrying the characteristic information of data stream A can realize information exchange between network devices and control devices through multiple registration protocol (MRP), link-local registration protocol (LRP), NETCONF or RESTCONF, etc. The following introduces the method of transmitting the characteristic information of data stream A using the above three protocols.

[0120] (1)MRP

[0121] The sending device registers the characteristic information of the data stream into its own MRP Data Unit (MRPDU) and sends a declaration to the control device. After receiving the declaration, the control device registers the characteristic information of the data stream into its own database and informs the multiple stream registration protocol (MSRP) of the registration method.

[0122] In the above declaration and registration process, the network device encapsulates the TLV carrying the data stream feature information into the MRPDU for transmission. Fig. 9 The figure shows a schematic diagram of the structure of an MRPDU message provided by the present application. The sending device places the Value part in the TLV at the position of the FirstValue. Accordingly, the selection of the Type value is based on the specific definition of the protocol, and the Length value depends on the length of the FirstValue.

[0123] (2)LRP

[0124] The sending device obtains the characteristic information of data stream A from the resource allocation protocol (RAP), registers the characteristic information of the data stream into the LRP database, and issues a declaration, which includes a TLV carrying the characteristic information of the data stream. The control device receives the declaration, registers the characteristic information of the data stream into its own database, and informs the RAP of the control device.

[0125] In the above declaration and registration process, the sending device encapsulates the TLV carrying the data stream feature information into the LRP database (data unit, DU) for transmission. Fig.10As shown, a schematic diagram of the format of LRPDU is provided for this application. The Value part in TLV is placed in the position corresponding to Application data. Accordingly, the selection of Type value is based on the protocol definition, and the Length value depends on the total length of zero or more records. The specific transmission process of LRPDU can also be transmitted using Edge Control Protocol (ECP) or Transmission Control Protocol (TCP).

[0126] (3)RESTCONF

[0127] The sending device can convert the characteristic information of data stream A into a YANG data model, which carries the characteristic information of data stream A and transmits it between the network device and the control device using the RESTCONF protocol. Fig.11 As shown, a schematic diagram of a YANG model carrying characteristic information of data stream A is provided for this application. Fig.11 In Figure 7 The characteristic information of the data stream carried by the TLV is converted into the YANG model, where the uint32 in the YANG model carries the characteristic information of data stream A.

[0128] The sending device may send the characteristic information of data stream A when the sending device first accesses the network, directly or indirectly sending the characteristic information of data stream A to the control device; or when the characteristic information of data stream A changes, directly or indirectly sending updated characteristic information of data stream A to the control device; or the sending device may send the characteristic information of data stream A to the control device according to the instruction of the control device; or the sending device may send the characteristic information of data stream A to the control device directly or indirectly according to a set period.

[0129] Step 320: The control device receives characteristic information of data stream A.

[0130] The control device may receive the characteristic information of the data stream A according to the specific implementation manner in step 310 .

[0131] In one example, the control device determines the forwarding path for transmitting the data stream according to the saved topology information of the TSN network and the characteristic information of the data stream A. For example, the control device determines the path for forwarding the data stream A according to the service demand delay of the data stream.

[0132] In one example, the control device determines a forwarding path for transmitting the data stream according to the saved topology information of the TSN network and the SLA of the data stream A.

[0133] Step 330: The forwarding device sends characteristic information of the forwarding device.

[0134] According to the forwarding path determined in step 320, one or more network devices in the forwarding path send their own characteristic information to the control device. Figure 1 , the path for transmitting data stream A includes two forwarding devices 104 - 105 , that is, the forwarding devices 104 - 105 respectively send the characteristic information of their own network devices to the control device.

[0135] The characteristic information of the forwarding device includes the transmission delay of the forwarding device on the forwarding path and the transmission delay of the link on the forwarding path. The forwarding delay can also include the status information of the forwarding device and the capability information of the forwarding device, for example, the port rate r of the forwarding device p , the maximum available bandwidth R of the link on the forwarding path, the maximum remaining bandwidth of the link on the forwarding path, the weight of the link on the forwarding path, or the maximum transmission unit (MTU) of the link on the forwarding path. The control device can determine the required bandwidth for transmitting data stream A based on the characteristic information of the forwarding device.

[0136] The characteristic information of the forwarding device can be sent directly or indirectly to the control device through the YANG data model. The YANG data model language can describe information in XML format or JSON format, and the control device can parse the characteristic information of the data stream in the YANG model through NETCONF. Among them, NETCONF can use the Secure Shell Protocol (SSH), the Transport Layer Security Protocol (TLS) or the Transmission Control Protocol (TCP) to transmit the message carrying the characteristic information of the network device. In addition, the characteristic information of the data stream in the YANG data can also be parsed through RESTCONF.

[0137] Step 340: The control device receives characteristic information of the network device transmitting data stream A.

[0138] The control device may receive the characteristic information of the forwarding device according to a possible implementation manner in step 330 .

[0139] Step 350: The control device determines the required bandwidth of data stream A according to the received characteristic information of data stream A and the characteristic information of the forwarding device.

[0140] Combination Figure 1 In the scenario shown, an example of solving the required bandwidth of data stream A according to the above characteristic information is provided below.

[0141] The control device determines that the network devices on the forwarding path include forwarding devices 104-105 according to the forwarding path of data flow A, that is, the number of network devices on the forwarding path N=2. The control device obtains the end-to-end service demand delay of data flow A according to the above characteristic information of the data flow, which is d obj = 2 milliseconds (ms). The transmission delay of each network device on the forwarding path is T p =0.075ms, where T p It is used to describe the network device transmission delay of each network device on the forwarding path, such as Figure 1 The network device transmission delay of the forwarding path in includes the network device transmission delay of the two forwarding devices, forwarding device 104 and forwarding device 105, that is, the value is 2T p =0.15ms. The link transmission delay on the forwarding path is T fix =1ms, where T fix It is used to describe the end-to-end link transmission delay of data flow, for example, Figure 1 T fix It is used to describe the link transmission delay between the data stream from the sending device 102 to the receiving device 103. fix =T fix +NT p The network device transmission delay and link delay of the forwarding path are obtained to be 1.15ms, where N is the number of forwarding devices on the forwarding path. Figure 1 , N is 2.

[0142] The control device may obtain the burst length b=1000 Byte of the data stream A from the sending device, or may obtain the burst length b according to the product of the number of messages with the maximum message length L sent by the sending device and the maximum message length L.

[0143] According to the above parameters and formula B d =b / (d obj -d fix ) or its equivalent formula to solve the required bandwidth B for transmitting data stream A d =9.4 megabits per second (Mbps).

[0144] Step 360: The control device sends the required bandwidth for transmitting data stream A to the forwarding device.

[0145] The control device sends an instruction message to one or more network devices on the forwarding path. The instruction message carries the required bandwidth for transmitting data stream A. The instruction message is used to instruct the forwarding device to reserve a bandwidth equal to the required bandwidth for data stream A, or the instruction message is used to instruct the forwarding device to use the required bandwidth to transmit data stream A. Figure 1 As shown, the control device sends the bandwidth requirement value of data flow A to the forwarding device 104 or the forwarding device 105, so that the forwarding device 104 or the forwarding device 105 forwards the data flow A using the required bandwidth.

[0146] like Fig.12 As shown in FIG. 1 , a schematic diagram of the structure of YANG carrying network device feature information is provided for this application. Taking a traffic shaping (Asynchronous Traffic Shaping, ATS) scheduling method defined in TSN in 802.1 as an example, Fig.12 As shown, the control device can configure the required bandwidth in the YANG model parameter committed-information-rate field, which can be read and written as unit64. For other scheduling methods, the characteristic information of the forwarding device can be configured in other parameter positions of the YANG model.

[0147] The YANG data model language can describe information in XML or JSON format, and the control device can parse the characteristic information of the data stream in the YANG model through NETCONF. Among them, NETCONF can use the Secure Shell Protocol (SSH), the Transport Layer Security Protocol (TLS) or the Transmission Control Protocol (TCP) to transmit the message carrying the characteristic information of the network device. In addition, the characteristic information of the data stream in the YANG data can also be parsed through RESTCONF.

[0148] In one example, for a forwarding device that applies a weighted fair queuing (WFQ) or dynamic rate repartitioning (DRR) scheduling method, a control device or a network device can plan network slices based on the required bandwidth of data flow A.

[0149] In order to meet the service delay constraints, the required bandwidth of the transmission data stream is determined by the above method, which can ensure that the service meets the delay constraints and guide parameter configuration, network slicing, smart grid differential protection, industrial automation network and other bounded delay business scenarios.

[0150] Step 370: The control device sends confirmation or billing information to the transmitting device based on the determined required bandwidth.

[0151] The control device sends the determined required bandwidth of data stream A to the user according to the service required delay of data stream A. The control device sends the charging information to the user according to the service required delay and required bandwidth of data stream A.

[0152] Fig.13 A flowchart of another method for determining the required bandwidth of a data stream is provided for this application. Fig.13 The control device in can be Figure 1 The control device 101 in Fig.13 The network device or forwarding device in can be Figure 1 One of the network devices 101-105 in. Fig.13 The data stream A in the figure belongs to the data stream in TSN. The following takes the data stream A of the TSN network as an example to explain and illustrate the method of determining and deploying the required bandwidth of data stream A.

[0153] Step 1310: The network device sending data stream A sends the service requirement delay d of end-to-end transmission of data stream A to the control device. obj .

[0154] The method for the network device to send the service demand delay of data stream A to the control device can refer to Figure 3 The method in step 310 in will not be repeated here.

[0155] Step 1320: Control the service requirement delay d of receiving data stream A by the device obj .

[0156] Step 1330: The control device determines the forwarding path of data stream A and the forwarding devices on the forwarding path.

[0157] The control device can determine the forwarding path and the forwarding device on the forwarding path according to the known network topology and the characteristics of the data flow A. The control device can also determine the forwarding path for forwarding data flow A and the forwarding device on the forwarding path according to the service requirement delay of the data flow A. For example, when there are multiple forwarding paths for forwarding the data flow, the control device can select an appropriate path from the multiple paths according to the service requirement delay of the data flow A.

[0158] Step 1340: The forwarding device on the forwarding path sends the link transmission delay T of the end-to-end transmission data stream A to the control device. fix .

[0159] The link transmission delay for data stream A can be calculated based on Figure 2 Step 220 Figure 4 To determine the link transmission delay of data stream A, we can use T fix Describes the link transmission delay of data stream A.

[0160] Step 1350: Each forwarding device on the forwarding path sends the transmission delay d of the forwarding device to the control device. device .

[0161] The manner in which the forwarding device sends the forwarding device transmission delay and the link transmission delay to the control device can refer to the manner in step 220 and step 320. The forwarding device transmission delay can be Figure 4 The number 4 in the figure represents the processing delay.

[0162] Step 1360: The control device receives the network device transmission delay d of a single forwarding device device and link transmission delay T fix .

[0163] The control device receives the forwarding device transmission delay of a single forwarding device and the end-to-end link transmission delay of data stream A.

[0164] Step 1370: The control device obtains the burst length of data stream A.

[0165] The control device may directly receive the burst length of the data stream A, or calculate the burst length of the data stream A according to other parameters. For details, please refer to the description of calculating the burst length of the data stream in step 230.

[0166] Step 1380: The control device determines the required bandwidth for each forwarding device on the forwarding path.

[0167] Control equipment according to B d =b / (d obj-per -d device ) to solve the required bandwidth of data stream A. Among them, B d represents the required bandwidth of a single network device on the forwarding path, b represents the burst length of the data stream, d obj-per Indicates the value of the service demand delay of a single network device on the forwarding path, d device Indicates the network device transmission delay of a single network device on the forwarding path.

[0168] In one example, for d obj-per There are many ways to determine the value of . First, we can use the service requirement delay d of data stream A. obj Link transmission delay T with data stream A fix The control device can calculate the required delay of forwarding data stream A by the difference of d obj With T fix The difference is distributed to each network device on the forwarding path to obtain the service demand delay of each network device, that is, to obtain d obj-perFor example, the control device will d obj With T fix The difference is evenly distributed to the network devices on the forwarding path. The control device can also distribute the difference according to the demand and application scenario in a certain proportion. obj With T fix The value obtained by the difference between d and d is distributed to each network device on the forwarding path to obtain the service demand delay of a single network device, that is, d obj-per .

[0169] Step 1390: The control device sends the required bandwidth of each forwarding device to the corresponding forwarding device.

[0170] The control device determines the required bandwidth of each forwarding device in step 1380 and sends the required bandwidth of the forwarding device to the corresponding device so that the forwarding device configures bandwidth resources for the data flow according to the required bandwidth. The specific method of sending the required bandwidth by the control device can refer to the method in step 350.

[0171] Fig.14 A possible structural diagram of the control device involved in the above embodiment is provided. The control device 1400 can implement Figure 2 , Figure 3 and Fig.13 The functions of the control device in the embodiment shown are, for example, the control device can execute Figure 2 or perform steps 210-230 of Figure 3 Steps 320 and 340-350 in, or executing Fig.13 For steps 1320-1330 and steps 1360-1390 in the method, the functions of each unit of the control device 1400 can be referred to the description in the above method steps.

[0172] See also Fig.14 The control device 1400 includes an acquisition unit 1401 and a processing unit 1402. The acquisition unit 1401 is used to obtain the service demand delay of the data stream transmitted from the first network device to the second network device, the network device transmission delay on the forwarding path, and the link transmission delay of the forwarding path, wherein the forwarding path is the path through which the data stream is transmitted from the first network device to the second network device. The processing unit 1402 is used to determine the required bandwidth for transmitting the data stream according to the service demand delay, the network device transmission delay on the forwarding path, and the link transmission delay of the forwarding path.

[0173] In one example, the transmission delay of the network device on the forwarding path includes one or more of the processing delay of the network device on the forwarding path, the output delay of the network device on the forwarding path, the preemption delay of the network device on the forwarding path, or the scheduling delay of the network device on the forwarding path. Figure 2 In step 220, Figure 4 Introduction.

[0174] In one example, the required bandwidth satisfies the following condition: the delay of the network device on the forwarding path transmitting the data flow along the forwarding path according to the required bandwidth is less than or equal to the service required delay.

[0175] In one example, the processing unit 1402 is used to determine the required bandwidth of the data flow according to the difference between the service demand delay and the network device transmission delay and the link transmission delay of the forwarding path.

[0176] In an example, the acquisition unit 1401 is further configured to obtain a burst length of the data stream. The processing unit 1402 is configured to obtain a required bandwidth of the data stream through the following relationship:

[0177] B d =b / (d obj -d fix )

[0178] Among them, B d represents the value of the required bandwidth, b represents the value of the burst length, d obj Indicates the value of the service demand delay, where d fix Indicates the transmission delay of the network device and the link transmission delay of the forwarding path.

[0179] In one example, the network devices on the forwarding path include one or more network devices for forwarding the data flow, wherein the one or more network devices do not include the first network device and the second network device; or the one or more network devices include the first network device; or the one or more network devices include the second network device; or the multiple network devices include the first network device and the second network device.

[0180] In one example, the control device includes a receiving unit, and the acquisition unit 1401 is used to obtain the burst length from the receiving unit. Alternatively, the acquisition unit 1401 obtains the burst length from the processing unit 1402, wherein the processing unit 1402 sends a value obtained by multiplying the burst rate of the data stream by the burst time as the burst length to the acquisition unit 1401, and the data stream sends a value obtained by multiplying the message length of the message sent by the data stream within a set period by the number of sent messages as the burst length to the acquisition unit 1401.

[0181] In one example, the acquisition unit 1401 can obtain the service demand delay, or the network device transmission delay and the link transmission delay of the forwarding path from the Multiple Registration Protocol MRP message, the Local Link Registration Protocol LRP message, the Network Configuration Protocol NETCONF message or the Representation State Transfer Network Configuration Protocol RESTCONF message or the Management Information Base message.

[0182] In one example, the processing unit 1402 is further used to determine the path for transmitting the data flow according to the service demand delay of the data flow before the obtaining unit obtains the network device transmission delay and the link transmission delay of the forwarding path.

[0183] In an example, the control device further includes a sending unit. The sending unit is used to send instruction information to the network devices on the path, where the instruction information is used to instruct the network devices on the path to transmit the data stream according to the required bandwidth.

[0184] In an example, the sending unit is further configured to send indication information to the centralized user configuration device, so that the centralized user configuration device sends the indication information to the network devices on the path.

[0185] In one example, the required bandwidth value is less than or equal to the maximum bandwidth of the network device on the forwarding path.

[0186] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The functional units in the embodiments of the present application can be integrated in a processing unit 1402, or each unit can exist physically separately, or two or more units can be integrated in one unit. For example, in the above embodiment, the receiving unit and the sending unit can be the same unit or different units. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0187] See also Fig.15 As shown, a schematic diagram of the structure of a control device provided in an embodiment of the present application is provided, and the control device 1500 includes: a processor 1502, a communication interface 1503, a memory 1501 and a bus 1504. Among them, the communication interface 1503, the processor 1502 and the memory 1501 are interconnected through a bus 1104; the bus 1504 can be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.15The control device 1500 can be implemented by using only one thick line. Figure 2 , Figure 3 and Fig.13 The processor 1502 and the communication interface 1503 can perform the corresponding functions of the control device in the above method example. The communication interface 1503 is used to support the control device 1500 to execute Figure 2 Steps 210-220 in , or execute Figure 3 Step 320, step 340 and step 360 in, or execute Fig.13 The processor 1502 is used to support the control device 1500 to execute steps 1320, 1360 and 1390. Figure 2 Step 230 in, or execute Figure 3 Step 350 in , or execute Fig.13 Step 1330, step 1360, step 1370 and step 1380 in the embodiment of the present invention. Fig.13 Step 1370 in the embodiment can be executed by the communication interface 1503 or the processor 1502. The memory 1501 is used to store program codes and data of the control device 1500.

[0188] The following is a detailed introduction to the various components of the controller in conjunction with FIG1300:

[0189] Among them, the memory 1501 can be a volatile memory (volatile memory), such as a random-access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or a combination of the above types of memories, used to store program codes that can implement the method of the present application, configuration files of network devices in the TSN domain, or other content.

[0190] Processor 1502 is the control center of the controller, which may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA).

[0191] The communication interface 1503 is used to communicate with network devices, such as the end-to-end service demand delay of the data stream, the network device transmission delay on the data stream forwarding path, and the link transmission delay of the forwarding path. For example, the service demand delay of the data stream can be obtained through MRP messages, LRP messages, NETCONF messages, NETCONF or RESTCONF messages, or management information base messages. The communication interface 1503 can be an Ethernet interface, a Fast Ethernet (FE) interface, or a Gigabit Ethernet (GE) interface.

[0192] In one example, the communication interface 1503 is used to receive a burst length of a data stream.

[0193] In one example, the communication interface 1503 is used to send indication information to the network devices on the data flow forwarding path, the indication information carrying the required bandwidth of the data flow, and instructing the network devices on the path to transmit the data flow according to the required bandwidth or to reserve bandwidth resources for the data flow.

[0194] In one possible implementation, the controller can be configured as Figure 1 The processor 1502 performs the following functions by running or executing the software programs and / or modules stored in the memory 1501 and calling the data stored in the memory 1501:

[0195] The required bandwidth for transmitting the data stream is determined according to the service demand delay, the network device transmission delay on the forwarding path, and the link transmission delay on the forwarding path.

[0196] In a possible implementation, the processor 1502 is configured to determine the required bandwidth of the data flow according to the difference between the service required delay and the network device transmission delay and the link transmission delay of the forwarding path.

[0197] In a possible implementation, the processor 1502 is also used to obtain the burst length of the data stream. The processor 1502 is used to obtain the required bandwidth of the data stream through the following relationship:

[0198] B d =b / (d obj -d fix )

[0199] Among them, B d represents the value of the required bandwidth, b represents the value of the burst length, d obj Indicates the value of the service demand delay, where d fix In one possible implementation, the processor 1502 uses the value obtained by multiplying the burst rate of the data stream by the burst time as the burst length, or uses the value obtained by multiplying the message length of the message sent by the data stream within a set period by the number of sent messages as the burst length.

[0200] In a possible implementation, the processor 1502 is further configured to determine a path for transmitting the data flow according to a service demand delay of the data flow before the communication interface 1503 obtains the network device transmission delay and the link transmission delay of the forwarding path.

[0201] For the specific implementation process, please refer to the above Figure 2-3 and Fig.13 The detailed description of the corresponding steps in the illustrated embodiment will not be repeated here one by one.

[0202] like Fig.16 As shown, the present application provides a system 1600 for determining the required bandwidth of a transmission data stream. The system includes a sending device 1601, a control device 1602, and a forwarding device 1603. The system 1600 is used to implement the method for determining the required bandwidth of a data stream in the aforementioned method embodiment. The control device 1602 can implement Figure 2 , Figure 3 or Fig.13 The functions of the control device in the embodiment shown. The sending device 1601 can implement Figure 3 or Fig.13 The forwarding device 1603 can implement Figure 3 and Fig.13The functions of the forwarding devices in the embodiment shown. For example, the sending device 1601 is used to send the service demand delay of the data flow, or other characteristic information of the data flow to the control device. The forwarding device 1602 is used to send the network device transmission delay and link transmission delay on the data flow forwarding path to the control device. The control device 1603 is used to determine the required bandwidth for the transmission data flow according to the service demand delay of the data flow and the network device transmission delay and link transmission delay on the data flow forwarding path. For the specific execution process, please refer to the above Figure 2 or Figure 3 or Fig.13 The detailed description of the corresponding steps in the illustrated embodiment will not be repeated here one by one.

[0203] It should be noted that any of the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the first network node or control device embodiment provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0204] The steps of the method or algorithm described in the disclosure of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), hard disk, mobile hard disk, optical disk or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a core network interface device. Of course, the processor and the storage medium can also exist in the core network interface device as discrete components.

[0205] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0206] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation methods of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the scope of protection of the present application.

Claims

1. A method for determining the required bandwidth of a transmission data stream, characterized in that: The method includes: The control device obtains a first delay, where the first delay is a service demand delay for transmitting a data stream from a first network device to a second network device; The control device obtains a second delay, where the second delay includes a network device transmission delay on a forwarding path and a link transmission delay of the forwarding path, where the forwarding path is a path through which the data stream is transmitted from the first network device to the second network device; the network devices on the forwarding path include one or more network devices for forwarding the data stream, wherein: The one or more network devices do not include the first network device and the second network device; or, The one or more network devices include the first network device; or, The one or more network devices include the second network device; or, The plurality of network devices include the first network device and the second network device; The control device obtains the burst length of the data stream; The control device determines a required bandwidth for transmitting the data stream according to the first delay, the second delay, and a burst length of the data stream.

2. The method according to claim 1, characterized in that: The network device transmission delay on the forwarding path includes one or more of the following delays: The processing delay, output delay, preemption delay and scheduling delay of the network devices on the forwarding path.

3. The method according to claim 1 or 2, characterized in that: The required bandwidth meets the following conditions: The delay of the network device on the forwarding path transmitting the data stream along the forwarding path according to the required bandwidth is less than or equal to the first delay.

4. The method according to claim 1 or 2, characterized in that: The control device determines the required bandwidth for transmitting the data stream according to the first delay, the second delay and the burst length of the data stream, including: The control device obtains a third time delay, where a value of the third time delay is a difference between a value of the first time delay and a value of the second time delay; The control device obtains the value of the required bandwidth according to the third time delay.

5. The method according to claim 1 or 2, characterized in that: The control device determines the required bandwidth for transmitting the data stream according to the first delay, the second delay and the burst length of the data stream, including: the control device obtains the required bandwidth through the following relationship: B d =b / (d obj ―d fix ) Among them, the B d represents the required bandwidth, b represents the burst length, and d obj represents the first delay, the d fix represents the second delay.

6. The method according to claim 5, characterized in that The control device obtaining the burst length of the data stream includes: The control device receives the burst length; or The control device obtains a burst rate of the data stream and a burst time of the data stream, and uses a value of a product of the burst rate and the burst time as the burst length; or The control device obtains the message length of the message sent by the data flow within a set period and the number of the messages sent, and uses the product of the message length and the number of messages as the burst length.

7. The method according to claim 1 or 2, characterized in that: The control device obtains the first delay or the second delay through one of the following messages: Multiple Registration Protocol MRP messages, Link Local Registration Protocol LRP messages, Network Configuration Protocol NETCONF messages, Representational State Transfer Network Configuration Protocol RES TCONF messages, Simple Network Management Protocol SNMP messages, or Management Information Base MIB messages.

8. The method according to claim 1 or 2, characterized in that: Before the control device obtains the second time delay, the method further includes: The control device determines the forwarding path for transmitting the data flow according to a service demand delay of the data flow.

9. The method according to claim 1 or 2, characterized in that: The method further includes: the control device sending indication information to the network device on the forwarding path, wherein the indication information is used to instruct the network device on the forwarding path to transmit the data stream according to the required bandwidth.

10. The method according to claim 9, characterized in that The control device sending the indication information to the network device on the forwarding path includes: the control device sending the indication information to the network device on the forwarding path through a centralized user configuration device.

11. The method according to claim 1 or 2, characterized in that: When the one or more network devices include the first network device, or, When the plurality of network devices include the first network device and the second network device, The second delay is the sum of the first network device delay and the forwarding path delay from the first network device to the second network device.

12. The method according to claim 11, characterized in that The forwarding path delay from the first network device to the second network device is equal to the sum of the link transmission delay of the forwarding path from the first network device to the second network device and the delay of the forwarding device on the forwarding path from the first network device to the second network device.

13. A control device, characterized in that: The control device includes: An acquisition unit, configured to obtain a first delay, where the first delay is a service demand delay for transmitting a data stream from a first network device to a second network device; The acquisition unit is further used to obtain a second delay, wherein the second delay includes a network device transmission delay on a forwarding path and a link transmission delay of the forwarding path, wherein the forwarding path is a path through which the data stream is transmitted from the first network device to the second network device; the network devices on the forwarding path include one or more network devices for forwarding the data stream, wherein: The one or more network devices do not include the first network device and the second network device; or, The one or more network devices include the first network device; or, The one or more network devices include the second network device; or, The plurality of network devices include the first network device and the second network device; The acquisition unit is further used to obtain the burst length of the data stream; A processing unit is used to determine a required bandwidth for transmitting the data stream according to the first delay, the second delay and the burst length of the data stream.

14. The control device according to claim 13, characterized in that The network device transmission delay on the forwarding path includes one or more of the following delays: The processing delay, output delay, preemption delay and scheduling delay of the network devices on the forwarding path.

15. The control device according to claim 13 or 14, characterized in that: The required bandwidth satisfies the following condition: a delay of the network device on the forwarding path transmitting the data stream along the forwarding path according to the required bandwidth is less than or equal to the first delay.

16. The control device according to claim 13 or 14, characterized in that: The processing unit is used to obtain a third delay and obtain a value of the required bandwidth according to the third delay, wherein the value of the third delay is a difference between a value of the first delay and a value of the second delay.

17. The control device according to claim 13 or 14, characterized in that: The processing unit is configured to obtain the required bandwidth through the following relationship: B d =b / (d obj ―d fix ) Among them, the B d represents the required bandwidth, b represents the burst length, and d obj represents the first delay, the d fix represents the second delay.

18. The control device according to claim 17, characterized in that The acquiring unit obtaining the burst length of the data stream includes: The acquiring unit receives the burst length; or The acquiring unit acquires the burst length according to the product of the burst rate of the data stream and the burst time of the data stream; or The acquisition unit obtains the burst length according to the product of the message length of the message sent by the data flow within a set period and the number of the messages sent.

19. The control device according to claim 13 or 14, characterized in that: The acquiring unit acquires the first delay or the second delay through one of the following messages: Multiple Registration Protocol MRP message, Link Local Registration Protocol LRP message, Network Configuration Protocol NETCONF message or Representational State Transfer Network Configuration Protocol RESTCONF message, or Management Information Base message.

20. The control device according to claim 13 or 14, characterized in that: The processing unit is further configured to determine the forwarding path for transmitting the data flow according to the service demand delay of the data flow before the acquiring unit obtains the second delay.

21. The control device according to claim 13 or 14, characterized in that: The control device further includes a sending unit, which is used to send indication information to the network devices on the forwarding path, wherein the indication information is used to instruct the network devices on the forwarding path to transmit the data stream according to the required bandwidth.

22. The control device according to claim 21, characterized in that The sending unit is further configured to send the indication information to a centralized user configuration device, so that the centralized user configuration device sends the indication information to the network device on the forwarding path.

23. The control device according to claim 13 or 14, characterized in that: When the one or more network devices include the first network device, or, When the plurality of network devices include the first network device and the second network device, The second delay is the sum of the first network device delay and the forwarding path delay from the first network device to the second network device.

24. The control device according to claim 23, characterized in that The forwarding path delay from the first network device to the second network device is equal to the sum of the link transmission delay of the forwarding path from the first network device to the second network device and the delay of the forwarding device on the forwarding path from the first network device to the second network device.

25. A computer-readable storage medium, characterized in that: The method comprises instructions which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 12.