Bandwidth measurement method, device and system

By sending messages with measurement identification information in an increasing rate manner in the network, and using the time intervals determined by business messages to decrease, the existing problem of low bandwidth measurement accuracy is solved, and efficient and accurate measurement of bandwidth is achieved. in various network scenarios.

CN118540249APending Publication Date: 2024-08-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310281186.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2023-03-14
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The accuracy of existing bandwidth measurement technology is low, especially when the number of users in the network increases, it is difficult to meet performance requirements, and the active measurement method occupies a large bandwidth, affecting accuracy.

Method used

By sending multiple messages between the first forwarding device and the second forwarding device at an increasing rate, using the sending time interval determined by the service message to decrease, and carrying measurement identification information, the accuracy of the bandwidth measurement is improved, and the bandwidth measurement is performed without In the business traffic scenario, the second packet is inserted for measurement.

Benefits of technology

It reduces the encroachment on the network, improves the accuracy of bandwidth measurement, and is suitable for various data transmission scenarios, including software-defined wide area networks and 5G communication scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540249A
    Figure CN118540249A
Patent Text Reader

Abstract

The invention provides a bandwidth measurement method, device and system, and the method comprises the steps that a first forwarding device forwards a plurality of first messages to a second forwarding device in a rate increasing manner, and receives a measurement result of an available bandwidth between the first forwarding device and the second forwarding device, the plurality of first messages are determined according to a plurality of service messages sent by a first forwarding device to a second forwarding device, sending time intervals among the plurality of first messages are decreased progressively, each first message comprises measurement identification information, and the measurement identification information comprises sending time corresponding to the first message; the sending time is used for determining an available bandwidth between the first forwarding device and the second forwarding device. According to the technical scheme provided by the invention, the extra occupation of the network can be reduced, and the bandwidth measurement precision can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 21, 2023, with application number 202310184721.1 and application name “Bandwidth Measurement Method, Device and System”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of network communications, and more specifically, to a bandwidth measurement method, device and system. Background Art

[0003] Bandwidth refers to the rate of data transmission between devices, that is, the number of bytes that can be transmitted per second on the line between two devices (Byte / s). Although network bandwidth continues to increase, the number of users in the network continues to increase, and the bandwidth required is also increasing. Therefore, it is necessary to measure the available bandwidth between devices to meet the performance requirements of users.

[0004] The measurement of available bandwidth includes active measurement and passive measurement. Among them, active measurement is divided into two types according to the measurement technology. One is to measure the maximum bandwidth with packet loss as a signal, and the other is to measure the available bandwidth with delay as a signal. Among them, in the relevant technical solution of measuring available bandwidth with delay as a signal, the accuracy of bandwidth measurement is relatively low.

[0005] In view of this, how to improve the accuracy of bandwidth measurement has become a technical problem that needs to be solved urgently. Summary of the invention

[0006] The present application provides a bandwidth measurement method, device and system, which can not only reduce additional encroachment on the network, but also improve the accuracy of bandwidth measurement.

[0007] In a first aspect, a bandwidth measurement method is provided, the method comprising: a first forwarding device sends a plurality of first messages to a second forwarding device at an increasing rate, and receives a measurement result of an available bandwidth between the first forwarding device and the second forwarding device, wherein the plurality of first messages are determined based on a plurality of service messages sent by the first forwarding device to the second forwarding device, a sending time interval between the plurality of first messages decreases, each first message includes measurement identification information, the measurement identification information includes a sending time corresponding to the first message, and the sending time is used to determine the available bandwidth between the first forwarding device and the second forwarding device.

[0008] In the above technical solution, the multiple first messages carrying the measurement identification information are determined based on the multiple service messages sent by the first forwarding device to the second forwarding device, and the sending time intervals between the multiple first messages are adjusted so that the sending time intervals between the multiple first messages decrease. In this way, on the one hand, the multiple first messages are determined based on the service messages accompanying the flow, rather than being additionally added, so that the multiple first messages carrying the measurement identification information are prevented from occupying a large amount of service bandwidth, the measurement cost is small, and the network occupation is low. On the other hand, the multiple first messages sent at an increasing rate determined based on the service messages accompanying the flow will improve the sending accuracy of the multiple first messages, thereby improving the accuracy of bandwidth measurement.

[0009] In combination with the first aspect, in another possible implementation method, the multiple first messages are determined based on multiple second messages sent by the first forwarding device to the second forwarding device, and the multiple second messages are messages constructed by the first forwarding device to meet the rate increase requirement when the multiple service messages cannot meet the rate increase requirement.

[0010] In the above technical solution, multiple first messages are determined by inserting multiple second messages, so that the measurement of available bandwidth between devices does not depend on existing business traffic and is applicable to scenarios without business traffic (such as network deployment scenarios, etc.).

[0011] In combination with the first aspect, in another possible implementation method, the first forwarding device adjusts the sending time interval between at least two first messages sent to the second forwarding device in the first sending cycle and the sending time interval between at least two first messages sent to the second forwarding device in the second sending cycle according to the rate adjustment factor, so that the sending time interval between at least two first messages in the first sending cycle and the sending time interval between at least two first messages in the second sending cycle decrease, and the second sending cycle is the next sending cycle of the first sending cycle.

[0012] In combination with the first aspect, in another possible implementation manner, the first forwarding device receives the measurement result of the available bandwidth sent by the second forwarding device or the controller.

[0013] In a second aspect, a bandwidth measurement method is provided, the method comprising: a third device obtains measurement identification information included in a plurality of first messages, the plurality of first messages being messages sent by a first forwarding device to a second forwarding device at an increasing rate, the plurality of first messages being determined based on a plurality of service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the plurality of first messages decreasing, the measurement identification information comprising a sending time corresponding to the first message, the sending time being used to determine the available bandwidth between the first forwarding device and the second forwarding device; the third device measures the available bandwidth between the first forwarding device and the second forwarding device based on the sending time included in the plurality of first messages and the receiving time when the second forwarding device receives the plurality of first messages, and obtains a measurement result; the third device sends the measurement result to the first forwarding device.

[0014] In combination with the second aspect, in another possible implementation, the third device is the second forwarding device. Before the third device obtains the measurement identification information included in the multiple first messages, the method also includes: the third device receives the multiple first messages sent by the first forwarding device in an increasing manner at the rate.

[0015] In combination with the second aspect, in another possible implementation manner, the third device is a controller, and before the third device obtains the measurement identification information included in the multiple first messages, the method further includes: the third device receives the measurement identification information corresponding to the multiple first messages reported by the first forwarding device, and the measurement identification information includes the sending time when the first forwarding device sends the multiple first messages; the third device receives the measurement identification information corresponding to the multiple first messages reported by the second forwarding device, and the measurement identification information includes the receiving time when the second forwarding device receives the multiple first messages;

[0016] In combination with the second aspect, in another possible implementation, the third device measures the available bandwidth between the first forwarding device and the second forwarding device based on the fact that the rate at which the first forwarding device sends the first message is greater than the available bandwidth and the one-way delay OWD increases. The OWD is determined based on the reception time of the first message received by the second forwarding device and the sending time of the first message sent by the first forwarding device.

[0017] The beneficial effects of the second aspect and any possible implementation of the second aspect correspond to the beneficial effects of the first aspect and any possible implementation of the first aspect, and will not be elaborated on herein.

[0018] In a third aspect, a bandwidth measurement device is provided, which is applied to a first forwarding device, and the device includes: a sending module and a receiving module, wherein the sending module is used to send a plurality of first messages to a second forwarding device in an increasing rate manner, and the plurality of first messages are determined according to a plurality of service messages sent by the first forwarding device to the second forwarding device, and the sending time intervals between the plurality of first messages are decreasing, and each of the first messages includes measurement identification information, and the measurement identification information includes the sending time corresponding to the first message, and the sending time is used to determine the available bandwidth between the first forwarding device and the second forwarding device; the receiving module is used to receive the measurement result of the available bandwidth between the first forwarding device and the second forwarding device.

[0019] In combination with the third aspect, in another possible implementation method, the multiple first messages are determined based on multiple second messages sent by the first forwarding device to the second forwarding device, and the multiple second messages are messages constructed by the first forwarding device to meet the rate increase requirement when the multiple service messages cannot meet the rate increase requirement.

[0020] In combination with the third aspect, in another possible implementation method, the sending module is specifically used to adjust the sending time interval between at least two first messages sent to the second forwarding device in the first sending cycle and the sending time interval between at least two first messages sent to the second forwarding device in the second sending cycle according to the rate adjustment factor, so that the sending time interval between at least two first messages in the first sending cycle and the sending time interval between at least two first messages in the second sending cycle decrease, and the second sending cycle is the next sending cycle of the first sending cycle.

[0021] In combination with the third aspect, in another possible implementation manner, the receiving module is specifically configured to receive the measurement result of the available bandwidth sent by the second forwarding device or the controller.

[0022] In a fourth aspect, a bandwidth measurement device is provided, which is applied to a third device, and the device includes: an acquisition module, a measurement module and a sending module, wherein the acquisition module is used to acquire measurement identification information included in multiple first messages, the multiple first messages are messages sent by a first forwarding device to a second forwarding device in an increasing rate manner, the multiple first messages are determined based on multiple service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the multiple first messages decrease, the measurement identification information includes the sending time corresponding to the first message, and the sending time is used to determine the available bandwidth between the first forwarding device and the second forwarding device; the measurement module is used to measure the available bandwidth between the first forwarding device and the second forwarding device according to the sending time included in the multiple first messages and the receiving time of the second forwarding device receiving the multiple first messages, and obtain a measurement result; the sending module is used to send the measurement result to the first forwarding device.

[0023] In combination with the fourth aspect, in a possible implementation, the third device is the second forwarding device, and the apparatus further includes: a receiving module for receiving the multiple first messages sent by the first forwarding device in the manner of increasing the rate.

[0024] In combination with the fourth aspect, in another possible implementation manner, the third device is a controller, and the receiving module is used to receive the measurement identification information corresponding to the multiple first messages reported by the first forwarding device, and the measurement identification information includes the sending time when the first forwarding device sends the multiple first messages; the receiving module is also used to receive the measurement identification information corresponding to the multiple first messages reported by the second forwarding device, and the measurement identification information includes the receiving time when the second forwarding device receives the multiple first messages;

[0025] In combination with the fourth aspect, in another possible implementation method, the measurement module is specifically used to measure the available bandwidth between the first forwarding device and the second forwarding device based on the fact that the rate at which the first forwarding device sends the first message is greater than the available bandwidth and the one-way delay OWD increases. The OWD is determined based on the reception time of the first message received by the second forwarding device and the sending time of the first message sent by the first forwarding device.

[0026] In a fifth aspect, a communication device is provided, wherein the communication device has the function of implementing the above-mentioned bandwidth measurement device. The function can be implemented based on hardware, or can be implemented based on hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned function.

[0027] In one possible design, the structure of the communication device includes a processor, and the processor is configured to support the communication device to perform corresponding functions in the above method.

[0028] The communication device may further include a memory, which is coupled to the processor and stores program instructions and data necessary for the communication device.

[0029] In another possible design, the communication device includes: a processor, a transmitter, a receiver, a random access memory, a read-only memory, and a bus. The processor is respectively coupled to the transmitter, the receiver, the random access memory, and the read-only memory through the bus. When the communication device needs to be operated, it is started by the basic input / output system solidified in the read-only memory or the bootloader boot system in the embedded system to guide the communication device into a normal operating state. After the communication device enters the normal operating state, the application program and the operating system are run in the random access memory, so that the processor executes the method in any possible implementation of the first aspect and / or the method in any possible implementation of the second aspect.

[0030] In a sixth aspect, a communication device is provided, the communication device comprising: a main control board and an interface board, and further comprising a switching network board. The communication device is used for the method in any possible implementation of the first aspect and / or the method in any possible implementation of the second aspect.

[0031] It should be noted that there may be one or more main control boards, and when there are multiple boards, they may include a main main control board and a standby main control board. There may be one or more interface boards. The stronger the data processing capability of the communication equipment, the more interface boards are provided. There may also be one or more physical interface cards on the interface board. There may be no switching network board, or there may be one or more switching network boards. When there are multiple switching network boards, they can jointly realize load sharing and redundant backup. In a centralized forwarding architecture, the communication equipment may not need a switching network board, and the interface board is responsible for the processing function of the service data of the entire system. In a distributed forwarding architecture, the communication equipment may have at least one switching network board, and the switching network board is used to realize data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the communication equipment with a distributed architecture are greater than those of the equipment with a centralized architecture. Which architecture to adopt depends on the specific networking deployment scenario, and no limitation is made here.

[0032] In the seventh aspect, a communication device is provided, wherein the controller includes a control module and a first forwarding sub-device. The first forwarding sub-device includes: an interface board, and further, may also include a switching network board. The first forwarding sub-device is used to perform the function of the interface board in the sixth aspect, and further, may also perform the function of the switching network board in the sixth aspect. The control module includes a receiver, a processor, a transmitter, a random access memory, a read-only memory, and a bus. The processor is respectively coupled to the receiver, the transmitter, the random access memory, and the read-only memory through the bus. When the control module needs to be run, it is started by the basic input / output system solidified in the read-only memory or the bootloader boot system in the embedded system, and the control module is guided to enter a normal operating state. After the control module enters the normal operating state, the application program and the operating system are run in the random access memory, so that the processor performs the function of the main control board in the sixth aspect.

[0033] It is understandable that, in practical applications, a communication device may include any number of interfaces, processors or memories.

[0034] In an eighth aspect, a bandwidth measurement system is provided, the system comprising a plurality of first forwarding devices and a third device, wherein the first forwarding device is used to execute a method as in the first aspect or any possible implementation of the first aspect, and the third device is used to execute a method as in the second aspect or any possible implementation of the second aspect.

[0035] In a ninth aspect, a chip is provided, the chip comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute the method in any possible implementation of the first aspect and / or the method in any possible implementation of the second aspect. In a specific implementation process, the chip can be implemented in the form of a central processing unit (CPU), a microcontroller unit (MCU), a microprocessor (MPU), a digital signal processor (DSP), a system on chip (SoC), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a programmable logic device (PLD).

[0036] In the tenth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect and / or a method in any possible implementation of the second aspect.

[0037] In an eleventh aspect, a computer readable medium is provided, the computer readable medium storing program code, when the computer program code is run on a computer, the computer executes the method in any possible implementation of the first aspect and / or the method in any possible implementation of the second aspect. These computer readable storages include but are not limited to one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM) and hard drive. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a schematic flowchart of a bandwidth measurement method provided in an embodiment of the present application.

[0039] Figure 2 This is a schematic diagram of an embodiment of the present application in which the sending rate of multiple first messages increases according to the sending period.

[0040] Figure 3 It is a schematic block diagram of an IFIT scenario provided in an embodiment of the present application.

[0041] Figure 4 It is a schematic structural diagram of a bandwidth measurement device 400 provided in an embodiment of the present application.

[0042] Figure 5 It is a schematic structural diagram of another bandwidth measurement device 500 provided in an embodiment of the present application.

[0043] Figure 6 It is a schematic diagram of the hardware structure of a communication device 2000 according to an embodiment of the present application.

[0044] Figure 7 A schematic diagram of the hardware structure of another communication device 2100 according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0046] The present application will present various aspects, embodiments or features around a system including multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0047] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0048] In the embodiments of the present application, "corresponding (corresponding, relevant)" and "corresponding (corresponding)" can sometimes be used interchangeably. It should be pointed out that when the distinction between them is not emphasized, the meanings they intend to express are consistent.

[0049] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.

[0050] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0051] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0052] Bandwidth refers to the rate of data transmission between devices, that is, the number of bytes that can be transmitted per second on the line between two devices (Byte / s). Although network bandwidth continues to increase, the number of users in the network continues to increase, and the bandwidth required is also increasing. Therefore, it is necessary to measure the available bandwidth between devices to meet the performance requirements of users.

[0053] The measurement of available bandwidth includes active measurement and passive measurement. Among them, active measurement is divided into two types according to the measurement technology. One is to measure the maximum bandwidth with packet loss as the signal, and the other is to measure the available bandwidth with delay as the signal. Among them, in the relevant technical solution of measuring available bandwidth with delay as the signal, on the one hand, the actively sent probe message will occupy a large amount of business bandwidth, and the measurement cost is relatively high. On the other hand, when there is an existing business flow, the sending rate of the active probe message is greatly affected by the sending queue and scheduling strategy of the existing business flow. Therefore, the existing business flow will affect the accuracy of the sending rate of the actively sent probe message, thereby affecting the accuracy of the bandwidth measurement.

[0054] In view of this, the present application provides a method for bandwidth measurement, which can improve the accuracy of bandwidth measurement. Figure 1 , a bandwidth measurement method provided in an embodiment of the present application is described in detail.

[0055] The technical solution of the embodiment of the present application can be applied to various data transmission scenarios, and the embodiment of the present application does not specifically limit this. As an example, the scenario may include but is not limited to: software-defined wide area network (SD-WAN) scenario, campus scenario, cloud scenario, multi-cloud interconnection scenario, data center (DC) scenario, 5G communication scenario, Internet Engineering Task Force (IETF) scenario, etc.

[0056] Figure 1 FIG. 1 is a schematic flow chart of a bandwidth measurement method provided in an embodiment of the present application. Figure 1 As shown, the method may include steps 110-130, and steps 110-130 are described in detail below.

[0057] Step 110: The first forwarding device sends a plurality of first messages to the second forwarding device in a manner of increasing rate, each of the first messages including measurement identification information.

[0058] It should be understood that the first forwarding device can be any forwarding device in the network, and the first forwarding device is used to forward multiple first messages to the second forwarding device. That is, the first forwarding device is the sender of multiple first messages, and the second forwarding device is the receiver of the multiple first messages.

[0059] In an embodiment of the present application, the above-mentioned multiple first messages are determined based on multiple service messages. In a possible implementation, the service message includes a message header and a payload, and the embodiment of the present application can select some service messages from multiple service messages as the above-mentioned first messages. Specifically, measurement identification information can be added to the message header of the selected part of the service messages, and the part of the service messages can be used as the above-mentioned multiple first messages.

[0060] It should be understood that the above-mentioned multiple business messages may belong to the same business flow, or may belong to different business flows, and the embodiments of the present application do not make specific limitations on this.

[0061] It should also be understood that the above-mentioned multiple service messages are not constructed by the first forwarding device, but are received by the first forwarding device.

[0062] Optionally, in some embodiments, the above-mentioned multiple first messages can also be determined based on multiple second messages, and the multiple second messages are messages constructed by the first forwarding device to meet the rate increase requirement when the multiple service messages cannot meet the rate increase requirement. That is, the multiple second messages constructed by the first forwarding device are used to compensate the message sending rate when the multiple service messages cannot meet the rate increase requirement, so that the rate increase requirement can be met.

[0063] For example, in some networks without service messages, multiple second messages can be inserted. In one example, the second message includes a message header and a payload, and the embodiment of the present application can select some second messages from the multiple second messages as the above-mentioned first messages. Specifically, measurement identification information can be added to the message header of the selected part of the second message, and the part of the second message can be used as the above-mentioned multiple first messages.

[0064] The above technical solution can construct multiple second messages when there is no service flow in the network, so that the available bandwidth between devices can be measured along the flow when there is no service flow.

[0065] Optionally, in some embodiments, the above-mentioned multiple first messages are determined based on multiple business messages and multiple second messages. For example, for some networks with business messages, but the number of business messages in the network is small, multiple constructed second messages can be inserted into the business message, and some messages can be selected from the multiple business messages and multiple second messages as the above-mentioned first messages. Specifically, measurement identification information can be added to the message header of the selected message, and the selected message can be used as the above-mentioned multiple first messages. The above-mentioned technical scheme can construct multiple second messages when the existing business flow in the network cannot meet the rate increase requirement, so that the available bandwidth between devices can also be measured along with the flow when the existing business flow cannot meet the rate increase requirement.

[0066] The rate of multiple first messages sent by the first forwarding device to the second forwarding device is increasing, that is, the sending time intervals between the multiple first messages are decreasing. There are many specific implementation methods. In one possible implementation method, the sending time interval between every two messages is decreasing with the message as the granularity. In another possible implementation method, the sending time interval between different sending cycles is decreasing with the sending cycle as the granularity, while the sending time interval of messages within the same sending cycle is the same. The following is a detailed example of these two implementation methods.

[0067] In a possible implementation, the sending time intervals between multiple first messages are adjusted with the message as the granularity. In one example, the multiple first messages include: message 1, message 2, message 3. The embodiment of the present application adjusts the sending time intervals between message 1, message 2 and message 3 according to the rate adjustment factor, so that the sending time intervals between message 1, message 2 and message 3 are decreasing. For example, after the adjustment, the sending time interval between message 2 and message 1 is greater than the sending time interval between message 3 and message 2, or, in other words, the sending time interval between message 3 and message 2 is less than the sending time interval between message 2 and message 1.

[0068] In another possible implementation, the sending time intervals between multiple first messages are adjusted with the sending cycle as the granularity. In one example, the multiple first messages include: message 1, message 2, message 3, message 4, message 5, message 6, wherein message 1, message 2, message 3 belong to one sending cycle (first sending cycle), and message 4, message 5, message 6 belong to another sending cycle (second sending cycle, the second sending cycle is the next sending cycle of the first sending cycle). In the embodiment of the present application, the sending time interval between the second sending cycle and the first sending cycle is adjusted according to the rate adjustment factor, so that the sending time interval between the second sending cycle and the first sending cycle is decreasing. For example, after adjustment, the sending time interval between message 4, message 5 and message 6 in the second sending cycle is less than the sending time interval between message 1, message 2 and message 3 in the first sending cycle. The sending time intervals of messages in the same sending cycle are the same. For example, the sending time interval between message 2 and message 1 in the first sending cycle is the same as the sending time interval between message 3 and message 2. The sending time interval between message 5 and message 4 in the first sending cycle is the same as the sending time interval between message 6 and message 5.

[0069] For example, Figure 2 It shows a method in which 50ms is used as a detection cycle and 1ms is used as a sending cycle within the detection cycle. According to the rate adjustment factor, the message sending time interval between different sending cycles is adjusted, so that the message sending rate between different sending cycles shows an increasing trend. That is, since the message sending time interval between different sending cycles is decreasing, the message sending rate between different sending cycles shows an increasing trend. It should be understood that the maximum message sending rate within the detection cycle is determined according to the contracted bandwidth.

[0070] It should be noted that at least two messages may be included in the same sending cycle, and the above embodiment is described by taking the case where three messages are included in the sending cycle as an example.

[0071] Each of the above first messages may include measurement identification information, that is, the first message carrying the measurement identification information may be called a measurement message or a detection message. The measurement identification information is used to measure the available bandwidth between the first forwarding device and the second forwarding device.

[0072] As an example, the measurement identification information may include the sending time of the first message, and the sending time is used to determine the available bandwidth between the first forwarding device and the second forwarding device. Optionally, the measurement identification may also include, but is not limited to: a sequence number, a sending rate of the first message, and a receiving time when the second forwarding device receives the first message. It should be understood that the receiving time is the receiving time of the first message recorded in the measurement identification information by the second forwarding device after receiving the first message. How to determine the available bandwidth between the first forwarding device and the second forwarding device based on the measurement identification information will be described in detail below in conjunction with step 120, which will not be described in detail here.

[0073] Step 120: The third device obtains measurement identification information included in the multiple first messages, and determines the available bandwidth between the first forwarding device and the second forwarding device according to the measurement identification information.

[0074] The third device may be a receiving device that receives a plurality of first messages, or may be a controller, which is not specifically limited in the embodiment of the present application.

[0075] In one example, the third device is a second forwarding device that receives multiple first messages. After receiving multiple first messages sent by the first forwarding device, the second forwarding device can obtain measurement identification information included in the multiple first messages, and determine the available bandwidth between the first forwarding device and the second forwarding device according to the sending time of the multiple first messages sent by the first forwarding device and the receiving time of the multiple first messages received by the second forwarding device in the measurement identification information.

[0076] It should be noted that if the above-mentioned multiple first messages are determined based on multiple business messages, after the second forwarding device determines the available bandwidth between the first forwarding device and the second forwarding device based on the measurement identification information in the multiple first messages, the measurement identification information in the first message can be popped out from the message header of the first message. The multiple first messages are multiple business messages after the measurement identification information is popped out, and the second forwarding device can process the multiple business messages normally. If the above-mentioned multiple first messages are determined based on multiple second messages, after the second forwarding device determines the available bandwidth between the first forwarding device and the second forwarding device based on the measurement identification information in the multiple first messages, the multiple second messages can be discarded.

[0077] In another example, the third device is a controller, for example Figure 3The controller in the IETF scenario shown. The third device can respectively receive measurement identification information corresponding to multiple first messages reported by the first forwarding device and measurement identification information corresponding to multiple first messages reported by the second forwarding device, wherein the measurement identification information reported by the first forwarding device includes the sending time when the first forwarding device sends the multiple first messages, and the measurement identification information reported by the second forwarding device includes the receiving time when the second forwarding device receives the multiple first messages. The third device can determine the available bandwidth between the first forwarding device and the second forwarding device according to the sending time when the first forwarding device sends the multiple first messages and the receiving time when the second forwarding device receives the multiple first messages.

[0078] It should be noted that if the above-mentioned multiple first messages are determined based on multiple business messages, after the second forwarding device reports the measurement identification information in the multiple first messages to the controller, the measurement identification information in the first message can be popped out from the message header of the first message. The multiple first messages are multiple business messages after the measurement identification information is popped out, and the second forwarding device can process the multiple business messages normally. If the above-mentioned multiple first messages are determined based on multiple second messages, after the second forwarding device reports the measurement identification information in the multiple first messages to the controller, the multiple second messages can be discarded.

[0079] In the above technical solution using the controller in the IETF scenario as the third device, the IETF scenario can support the capability of measuring available bandwidth.

[0080] The following lists a specific implementation manner in which the third device determines the available bandwidth between the first forwarding device and the second forwarding device.

[0081] As an example, the third device may determine the available bandwidth between the first forwarding device and the second forwarding device based on the principle that if the rate at which the first forwarding device sends the first message is less than the available bandwidth, the one way delay (OWD) remains unchanged, and if the rate at which the first forwarding device sends the first message is greater than the available bandwidth, the one way delay OWD increases. It should be understood that the OWD is determined based on the reception time when the second forwarding device receives the first message and the transmission time when the first forwarding device sends the first message. For example, the OWD is determined based on the time difference between the reception time when the second forwarding device receives the first message and the transmission time when the first forwarding device sends the first message.

[0082] For example, the third device obtains 10 sets of measurement identification information corresponding to 10 first messages, and determines 10 OWDs according to the sending time of the first message and the receiving time of the first message in the 10 sets of measurement identification information. And the available bandwidth between the first forwarding device and the second forwarding device is determined according to the change of the 10 OWDs. For example, the first 5 OWDs remain unchanged, and they increase from the 6th OWD, then the sending rate included in the measurement identification information of the 6th first message can be used as the available bandwidth between the first forwarding device and the second forwarding device.

[0083] Step 130: The third device sends the measurement result of the available bandwidth to the first forwarding device.

[0084] As an example, the third device is a second forwarding device, and the second forwarding device sends the measurement result of the available bandwidth to the first forwarding device.

[0085] As another example, the third device is a controller, and the controller may send the measurement result of the available bandwidth to the first forwarding device and the second forwarding device.

[0086] In the above technical solution, the multiple first messages carrying the measurement identification information are determined based on the multiple service messages sent by the first forwarding device to the second forwarding device, and the sending time intervals between the multiple first messages are adjusted so that the sending time intervals between the multiple first messages decrease. In this way, on the one hand, the multiple first messages are determined based on the service messages accompanying the flow, rather than being additionally added, so that the multiple first messages carrying the measurement identification information are prevented from occupying a large amount of service bandwidth, the measurement cost is small, and the network occupation is low. On the other hand, the multiple first messages sent at an increasing rate determined based on the service messages accompanying the flow will improve the sending accuracy of the multiple first messages, thereby improving the accuracy of bandwidth measurement.

[0087] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0088] Combination of the above Figures 1 to 3 , describes in detail the bandwidth measurement method provided by the embodiment of the present application, and will be combined with Figures 4 to 7 , describes in detail the embodiments of the device of the present application. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the parts not described in detail can refer to the previous method embodiment.

[0089] Figure 44 is a schematic structural diagram of a bandwidth measurement device 400 provided in an embodiment of the present application. The device 400 is arranged in a first forwarding device. Figure 4 The device 400 shown in the figure can execute the corresponding steps executed by the first forwarding device in the method of the above embodiment. Figure 4 As shown, the device 400 includes: a sending module 410 and a receiving module 420. The sending module 410 is used to send a plurality of first messages to the second forwarding device in a rate increasing manner, the plurality of first messages are determined according to a plurality of service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the plurality of first messages decrease, each of the first messages includes measurement identification information, the measurement identification information includes the sending time corresponding to the first message, and the sending time is used to determine the available bandwidth between the first forwarding device and the second forwarding device; the receiving module 420 is used to receive the measurement result of the available bandwidth between the first forwarding device and the second forwarding device.

[0090] Optionally, the multiple first messages are determined based on multiple second messages sent by the first forwarding device to the second forwarding device, and the multiple second messages are messages constructed by the first forwarding device to meet the rate increase requirement when the multiple service messages cannot meet the rate increase requirement.

[0091] Optionally, the sending module 420 is specifically used to adjust the sending time interval between at least two first messages sent to the second forwarding device in a first sending cycle and the sending time interval between at least two first messages sent to the second forwarding device in a second sending cycle according to a rate adjustment factor, so that the sending time interval between at least two first messages in the first sending cycle and the sending time interval between at least two first messages in the second sending cycle decrease, and the second sending cycle is the next sending cycle of the first sending cycle.

[0092] Optionally, the receiving module 410 is specifically configured to receive a measurement result of the available bandwidth sent by the second forwarding device or the controller.

[0093] Figure 5 1 is a schematic structural diagram of another bandwidth measurement apparatus 500 provided in an embodiment of the present application. The apparatus 500 is arranged in a third device. Figure 5 The apparatus 500 shown can execute the corresponding steps executed by the third device in the method of the above embodiment. Figure 5As shown, the device 500 includes: an acquisition module 510, a measurement module 520 and a sending module 530, wherein the acquisition module 510 is used to acquire measurement identification information included in a plurality of first messages, the plurality of first messages are messages sent by a first forwarding device to a second forwarding device in an increasing rate manner, the plurality of first messages are determined based on a plurality of service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the plurality of first messages decrease, the measurement identification information includes a sending time corresponding to the first message, and the sending time is used to determine the available bandwidth between the first forwarding device and the second forwarding device; the measurement module 520 is used to measure the available bandwidth between the first forwarding device and the second forwarding device according to the sending time included in the plurality of first messages and the receiving time of the second forwarding device receiving the plurality of first messages, and obtain a measurement result; the sending module 530 is used to send the measurement result to the first forwarding device.

[0094] Optionally, the third device is the second forwarding device, and the apparatus 500 further includes: a receiving module, configured to receive the multiple first messages sent by the first forwarding device in the manner of increasing the rate.

[0095] Optionally, the third device is a controller, and the receiving module is used to receive measurement identification information corresponding to the multiple first messages reported by the first forwarding device, where the measurement identification information includes the sending time when the first forwarding device sends the multiple first messages; the receiving module is also used to receive measurement identification information corresponding to the multiple first messages reported by the second forwarding device, where the measurement identification information includes the receiving time when the second forwarding device receives the multiple first messages;

[0096] Optionally, the measurement module 520 is specifically used to measure the available bandwidth between the first forwarding device and the second forwarding device based on the fact that the rate at which the first forwarding device sends the first message is greater than the available bandwidth and the one-way delay OWD increases, and the OWD is determined based on the reception time of the first message received by the second forwarding device and the sending time of the first message sent by the first forwarding device.

[0097] Figure 6 It is a schematic diagram of the hardware structure of the communication device 2000 according to an embodiment of the present application. Figure 6 The communication device 2000 shown can execute the steps corresponding to the first forwarding device of the above embodiment, or execute the steps corresponding to the third device of the above embodiment.

[0098] like Figure 6As shown, the communication device 2000 includes a processor 2001, a memory 2002, an interface 2003 and a bus 2004. The interface 2003 can be implemented in a wireless or wired manner, and can be a network card. The processor 2001, the memory 2002 and the interface 2003 are connected via a bus 2004.

[0099] The interface 2003 may specifically include a transmitter and a receiver, which are used by the communication device to implement the above-mentioned transmission and reception.

[0100] The processor 2001 is used to perform the processing performed by the communication device in the above-mentioned embodiment. The memory 2002 includes an operating system 20021 and an application 20022, which are used to store programs, codes or instructions. When the processor or hardware device executes these programs, codes or instructions, the processing process involving the communication device in the method embodiment can be completed. Optionally, the memory 2002 may include a read-only memory (ROM) and a random access memory (RAM). Among them, the ROM includes a basic input / output system (BIOS) or an embedded system; the RAM includes an application and an operating system. When it is necessary to run the communication device 2000, it is started by the BIOS solidified in the ROM or the bootloader boot system in the embedded system, and the communication device 2000 is guided to enter a normal operating state. After the communication device 2000 enters a normal operating state, the application and operating system in the RAM are run, thereby completing the processing process involving the communication device 2000 in the method embodiment.

[0101] Understandably, Figure 6 Only a simplified design of the communication device 2000 is shown. In actual applications, the communication device may include any number of interfaces, processors or memories.

[0102] Figure 7 A schematic diagram of the hardware structure of another communication device 2100 according to an embodiment of the present application. Figure 7 The communication device 2100 shown can execute the steps corresponding to the first forwarding device of the above embodiment, or execute the steps corresponding to the third device of the above embodiment.

[0103] like Figure 7The communication device 2100 includes: a main control board 2110, an interface board 2130, a switching network board 2120 and an interface board 2140. The main control board 2110, the interface boards 2130 and 2140, and the switching network board 2120 are connected to the system backplane through a system bus to achieve intercommunication. Among them, the main control board 2110 is used to complete functions such as system management, equipment maintenance, and protocol processing. The switching network board 2120 is used to complete data exchange between various interface boards (interface boards are also called line cards or service boards). The interface boards 2130 and 2140 are used to provide various service interfaces (for example, POS interfaces, GE interfaces, ATM interfaces, etc.) and realize the forwarding of data packets.

[0104] The interface board 2130 may include a central processor 2131, a forwarding table entry memory 2134, a physical interface card 2133, and a network processor 2132. The central processor 2131 is used to control and manage the interface board and communicate with the central processor on the main control board. The forwarding table entry memory 2134 is used to store table entries. The physical interface card 2133 is used to complete the reception and transmission of traffic.

[0105] It should be understood that the operations on the interface board 2140 in the embodiment of the present application are consistent with the operations of the interface board 2130, and for the sake of brevity, they are not repeated.

[0106] It should be understood that the communication device 2100 of this embodiment may correspond to the functions and / or various steps implemented in the above-mentioned method embodiment, which will not be described in detail here.

[0107] In addition, it should be noted that there may be one or more main control boards, and when there are multiple boards, they may include a main main control board and a standby main control board. There may be one or more interface boards. The stronger the data processing capability of the communication equipment, the more interface boards are provided. There may also be one or more physical interface cards on the interface board. There may be no switching network board, or there may be one or more switching network boards. When there are multiple switching network boards, load sharing and redundant backup can be achieved together. In a centralized forwarding architecture, the communication equipment may not need a switching network board, and the interface board is responsible for the processing function of the service data of the entire system. In a distributed forwarding architecture, the communication equipment may have at least one switching network board, and the switching network board is used to realize data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the communication equipment with a distributed architecture are greater than those of the equipment with a centralized architecture. Which architecture to adopt depends on the specific networking deployment scenario, and no limitation is made here.

[0108] An embodiment of the present application further provides a bandwidth measurement system, which includes a plurality of first forwarding devices and a third device, wherein the third device is a controller or a second forwarding device.

[0109] The embodiment of the present application also provides a computer-readable medium, which stores a program code, and when the computer program code is run on a computer, the computer executes the method executed by the first forwarding device. These computer-readable storages include but are not limited to one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM) and hard drive.

[0110] The embodiment of the present application also provides a computer-readable medium, which stores a program code, and when the computer program code is run on a computer, the computer executes the method executed by the third device. These computer-readable storages include but are not limited to one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM) and hard drive.

[0111] The embodiment of the present application also provides a chip, which is applied to the first forwarding device, and the chip includes: at least one processor, at least one memory and an interface circuit, the interface circuit is responsible for the information interaction between the chip and the outside world, the at least one memory, the interface circuit and the at least one processor are interconnected through a line, and the at least one memory stores instructions; the instructions are executed by the at least one processor to perform the operation of the first network device in the method described in the above various aspects. In the specific implementation process, the chip can be implemented in the form of a central processing unit (CPU), a microcontroller unit (MCU), a microprocessor (MPU), a digital signal processor (DSP), a system on chip (SoC), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a programmable logic device (PLD).

[0112] The embodiment of the present application also provides a chip, which is applied to a third device, and the chip includes: at least one processor, at least one memory and an interface circuit, the interface circuit is responsible for the information interaction between the chip and the outside world, the at least one memory, the interface circuit and the at least one processor are interconnected through a line, and the at least one memory stores instructions; the instructions are executed by the at least one processor to perform the operations involving the controller in the methods described in the above various aspects. In the specific implementation process, the chip can be implemented in the form of a central processing unit (CPU), a microcontroller unit (MCU), a microprocessor (MPU), a digital signal processor (DSP), a system on chip (SoC), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a programmable logic device (PLD).

[0113] An embodiment of the present application further provides a computer program product, which is applied to a first forwarding device. The computer program product includes a series of instructions. When the instructions are executed, the operations of the first forwarding device in the methods described in the above aspects are performed.

[0114] An embodiment of the present application further provides a computer program product, which is applied to a third device. The computer program product includes a series of instructions. When the instructions are executed, the operations of the third device in the methods described in the above aspects are performed.

[0115] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0117] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0119] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0121] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for measuring bandwidth, characterized in that: The method comprises: The first forwarding device forwards a plurality of first messages to the second forwarding device in an increasing rate manner, the plurality of first messages are determined according to a plurality of service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the plurality of first messages decrease, each of the first messages includes measurement identification information, the measurement identification information includes a sending time corresponding to the first message, and the sending time is used to determine an available bandwidth between the first forwarding device and the second forwarding device; The first forwarding device receives a measurement result of an available bandwidth between the first forwarding device and the second forwarding device.

2. The method according to claim 1, characterized in that The multiple first messages are determined based on multiple second messages sent by the first forwarding device to the second forwarding device, and the multiple second messages are messages constructed by the first forwarding device to meet the rate increase requirement when the multiple service messages cannot meet the rate increase requirement.

3. The method according to claim 1 or 2, characterized in that: The sending time intervals between the multiple first messages decrease in sequence, including: The first forwarding device adjusts the sending time interval between at least two first messages sent to the second forwarding device in a first sending cycle and the sending time interval between at least two first messages sent to the second forwarding device in a second sending cycle according to the rate adjustment factor, so that the sending time interval between at least two first messages in the first sending cycle and the sending time interval between at least two first messages in the second sending cycle decrease, and the second sending cycle is the next sending cycle of the first sending cycle.

4. The method according to any one of claims 1 to 3, characterized in that The first forwarding device receives a measurement result of the available bandwidth between the first forwarding device and the second forwarding device, including: The first forwarding device receives the measurement result of the available bandwidth sent by the second forwarding device or the controller.

5. A method for measuring bandwidth, characterized in that: include: The third device obtains measurement identification information included in a plurality of first messages, where the plurality of first messages are messages sent by the first forwarding device to the second forwarding device in an increasing rate manner, the plurality of first messages are determined according to a plurality of service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the plurality of first messages decrease, and the measurement identification information includes a sending time corresponding to the first message, and the sending time is used to determine an available bandwidth between the first forwarding device and the second forwarding device; The third device measures the available bandwidth between the first forwarding device and the second forwarding device according to the sending time included in the multiple first messages and the receiving time when the second forwarding device receives the multiple first messages, and obtains a measurement result; The third device sends the measurement result to the first forwarding device.

6. The method according to claim 5, characterized in that The third device is the second forwarding device, and before the third device obtains the measurement identification information included in the plurality of first messages, the method further includes: The third device receives the multiple first messages forwarded by the first forwarding device in the manner of increasing the rate.

7. The method according to claim 5, characterized in that The third device is a controller, and before the third device obtains the measurement identification information included in the plurality of first messages, the method further includes: The third device receives measurement identification information corresponding to the multiple first messages reported by the first forwarding device, where the measurement identification information includes a sending time when the first forwarding device sends the multiple first messages; The third device receives measurement identification information corresponding to the multiple first messages reported by the second forwarding device, where the measurement identification information includes a receiving time when the second forwarding device receives the multiple first messages.

8. The method according to any one of claims 5 to 7, characterized in that The third device measures the available bandwidth between the first forwarding device and the second forwarding device according to the sending time included in the multiple first messages and the receiving time when the second forwarding device receives the multiple first messages, and obtains the measurement result, including: The third device measures the available bandwidth between the first forwarding device and the second forwarding device based on the fact that the rate at which the first forwarding device sends the first message is greater than the available bandwidth and the one-way delay OWD increases. The OWD is determined based on the reception time of the first message received by the second forwarding device and the sending time of the first message sent by the first forwarding device.

9. A bandwidth measurement device, characterized in that: The device is applied to a first forwarding device, and the device includes: a sending module, configured to forward a plurality of first messages to a second forwarding device in an increasing rate manner, wherein the plurality of first messages are determined according to a plurality of service messages sent by the first forwarding device to the second forwarding device, and the sending time intervals between the plurality of first messages decrease, and each of the first messages includes measurement identification information, the measurement identification information includes a sending time corresponding to the first message, and the sending time is used to determine an available bandwidth between the first forwarding device and the second forwarding device; The receiving module is used to receive the measurement result of the available bandwidth between the first forwarding device and the second forwarding device.

10. The device according to claim 9, characterized in that The multiple first messages are determined based on multiple second messages sent by the first forwarding device to the second forwarding device, and the multiple second messages are messages constructed by the first forwarding device to meet the rate increase requirement when the multiple service messages cannot meet the rate increase requirement.

11. The device according to claim 9 or 10, characterized in that The sending module is specifically used to adjust the sending time interval between at least two first messages sent to the second forwarding device in a first sending cycle and the sending time interval between at least two first messages sent to the second forwarding device in a second sending cycle according to the rate adjustment factor, so that the sending time interval between at least two first messages in the first sending cycle and the sending time interval between at least two first messages in the second sending cycle decrease, and the second sending cycle is the next sending cycle of the first sending cycle.

12. The device according to any one of claims 9 to 11, characterized in that The receiving module is specifically configured to receive the measurement result of the available bandwidth sent by the second forwarding device or the controller.

13. A bandwidth measurement device, characterized in that: The device is applied to a third device, and the device includes: an acquisition module, configured to acquire measurement identification information included in a plurality of first messages, wherein the plurality of first messages are messages sent by a first forwarding device to a second forwarding device in an increasing rate manner, the plurality of first messages are determined based on a plurality of service messages sent by the first forwarding device to the second forwarding device, the sending time intervals between the plurality of first messages are decreasing, the measurement identification information includes a sending time corresponding to the first message, and the sending time is used to determine an available bandwidth between the first forwarding device and the second forwarding device; a measurement module, configured to measure the available bandwidth between the first forwarding device and the second forwarding device according to the sending time included in the multiple first messages and the receiving time of the multiple first messages received by the second forwarding device, and obtain a measurement result; A sending module is used to send the measurement result to the first forwarding device.

14. The device according to claim 13, characterized in that The third device is the second forwarding device, and the apparatus further includes: A receiving module is used to receive the multiple first messages forwarded by the first forwarding device in the manner of increasing the rate.

15. The device according to claim 13, characterized in that The third device is a controller, A receiving module, configured to receive measurement identification information corresponding to the multiple first messages reported by the first forwarding device, where the measurement identification information includes a sending time when the first forwarding device sends the multiple first messages; The receiving module is further configured to receive measurement identification information corresponding to the multiple first messages reported by the second forwarding device, where the measurement identification information includes a receiving time when the second forwarding device receives the multiple first messages.

16. The device according to any one of claims 13 to 15, characterized in that The measurement module is specifically used to measure the available bandwidth between the first forwarding device and the second forwarding device according to the fact that the rate at which the first forwarding device sends the first message is greater than the available bandwidth and the one-way delay OWD increases. The OWD is determined based on the reception time of the first message received by the second forwarding device and the sending time of the first message sent by the first forwarding device.

17. A communication device, characterized in that: include: A processor and a memory, wherein the memory is used to store a program or code, and the processor is used to call and run the program from the memory to execute the method according to any one of claims 1 to 8.

18. A bandwidth measurement system, characterized in that: include: A plurality of first forwarding devices and a third device, wherein the plurality of first forwarding devices are used to execute the method according to any one of claims 1-4, and the third device is used to execute the method according to any one of claims 5-8.

19. A chip, characterized in that: The system comprises a processor and a memory, wherein the memory is used to store a program or code, and the processor is used to call and run the program from the memory to execute the method according to any one of claims 1 to 8.