A method and device for measuring time delay, and communication equipment

By introducing a delay deterministic network into the network, the existing one-way delay measurement methods are solved, and high-precision one-way delay measurement is realized, which meets the accurate measurement requirements of key indicators of network quality.

CN115589376BActive Publication Date: 2025-04-04CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110757005.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-05
Publication Date
2025-04-04
Estimated Expiration
2041-07-05

AI Technical Summary

Technical Problem

The existing one-way delay measurement methods have high complexity and low measurement accuracy, which cannot meet the accurate measurement requirements for network one-way delay.

Method used

By using a delay deterministic network between the network element and the centralized control node, the transmission delay of traffic information is ensured to be fixed, so that the delay measurement of any two network elements is achieved at the centralized control node.

Benefits of technology

It reduces the complexity of delay measurement and improves measurement accuracy. It can accurately measure the one-way delay of service messages without sending measurement messages, changing network status, changing service messages, and not requiring network elements to support time synchronization protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115589376B_ABST
    Figure CN115589376B_ABST
Patent Text Reader

Abstract

The present application discloses a delay measurement method and apparatus, and communication equipment, the method comprising: determining the time when a centralized control node receives first flow information as a first time, and determining the time when the centralized control node receives second flow information as a second time; wherein the first flow information is sent from a first network element to the centralized control node via a delay deterministic network, and the second flow information is sent from a second network element to the centralized control node via a delay deterministic network; determining the transmission delay of the first flow information from the first network element to the centralized control node as a first transmission delay, and determining the transmission delay of the second flow information from the second network element to the centralized control node as a second transmission delay; and determining the transmission delay of the flow from the first network element to the second network element based on the first time, the second time, the first transmission delay, and the second transmission delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of delay measurement technology, and in particular to a high-precision one-way delay measurement method and device, and communication equipment. Background Art

[0002] One-way transmission delay is a key indicator for measuring network quality. Some applications are transmitted one-way in the network, such as some high-definition video services, and are very sensitive to one-way network delay. Too high a delay will affect the user experience or even make it unusable, so it is very important to accurately measure network transmission delay. The current one-way delay measurement method has problems such as high complexity and low measurement accuracy. Summary of the invention

[0003] To solve the above technical problems, the embodiments of the present invention provide a delay measurement method and apparatus, a communication device, a chip, and a computer-readable storage medium.

[0004] The delay measurement method provided in the embodiment of the present application includes:

[0005] Determine the time when the centralized control node receives the first flow information as the first time, and determine the time when the centralized control node receives the second flow information as the second time; wherein the first flow information is sent to the centralized control node by the first network element via the time-deterministic network, and the second flow information is sent to the centralized control node by the second network element via the time-deterministic network;

[0006] Determine a transmission delay of the first flow information from the first network element to the centralized control node as a first transmission delay, and determine a transmission delay of the second flow information from the second network element to the centralized control node as a second transmission delay;

[0007] Based on the first time, the second time, the first transmission delay, and the second transmission delay, a transmission delay of traffic from the first network element to the second network element is determined.

[0008] The delay measurement device provided in the embodiment of the present application includes:

[0009] A first determining unit is used to determine that the time when the centralized control node receives the first flow information is the first time, and to determine that the time when the centralized control node receives the second flow information is the second time; wherein the first flow information is sent to the centralized control node by the first network element via the time-deterministic network, and the second flow information is sent to the centralized control node by the second network element via the time-deterministic network;

[0010] a second determining unit, configured to determine a transmission delay of the first flow information from the first network element to the centralized control node as a first transmission delay, and to determine a transmission delay of the second flow information from the second network element to the centralized control node as a second transmission delay;

[0011] The third determining unit is used to determine the transmission delay of the traffic from the first network element to the second network element based on the first time, the second time, the first transmission delay, and the second transmission delay.

[0012] The communication device provided in the embodiment of the present application includes: a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute any one of the above-mentioned delay measurement methods.

[0013] The chip provided in the embodiment of the present application includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes any one of the above methods.

[0014] The core computer-readable storage medium provided in the embodiment of the present application is used to store a computer program, and the computer program enables a computer to execute any one of the above methods.

[0015] In the technical solution of the embodiment of the present application, the transmission channel between the network element and the centralized control node uses a time-deterministic network, and the transmission delay of the flow information between the network element and the centralized control node is guaranteed to be fixed through the time-deterministic network; the delay measurement of any two network elements is realized at the centralized control node by utilizing the characteristic of fixed transmission delay. The technical solution of the embodiment of the present application has low complexity and is easy to implement, and due to the introduction of the time-deterministic network, the measurement accuracy of the delay can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a schematic diagram of a network topology structure provided in an embodiment of the present application;

[0017] Figure 2 This is a schematic diagram of the delay measurement method provided in the embodiment of the present application. Figure 1 ;

[0018] Figure 3 This is a schematic diagram of the delay measurement method provided in the embodiment of the present application. Figure 2 ;

[0019] Figure 4 is a schematic diagram of the structure of the delay measurement device provided in an embodiment of the present application;

[0020] Figure 5 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0021] Figure 6 It is a schematic structural diagram of the chip of an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0023] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0024] One-way network transmission delay is a key indicator for measuring network quality. Some applications are transmitted one-way in the network, such as some high-definition video services, and are very sensitive to one-way network delay. Excessive delay will affect user experience or even make it unusable, so it is very important to accurately measure network transmission delay.

[0025] There are several ways to measure one-way delay:

[0026] 1) Active measurement: Send measurement protocol messages (such as Two-Way Active Measurement Protocol (TWAMP) messages) to the network to measure the one-way delay between the sender and the receiver. The advantage of active measurement is flexible application. The disadvantage is that it measures the measurement protocol message and cannot measure the delay of the real business. In addition, the one-way delay measurement requires the network elements of the sender and the receiver to support the time synchronization protocol.

[0027] 2) Passive measurement: Calculate network delay by collecting actual business traffic. The advantage of passive measurement is that it can measure the delay index of real business. The disadvantage is that it requires the deployment of two passive measurement devices, and the two devices require time synchronization, which is difficult to implement.

[0028] 3) Hybrid measurement: Hybrid measurement is a combination of active and passive measurements, that is, some fields or flags are inserted into the service message to achieve delay measurement of the actual service. The disadvantage is that the message format of the actual service is changed, which will affect the forwarding behavior of the service and cause the observer effect. It also requires the network element to be able to identify and forward the modified service message, and the network element time synchronization is also required.

[0029] The above-mentioned one-way delay measurement methods have the following disadvantages:

[0030] 1) If measurement messages are injected into the actual network, network resources will be occupied, actual service traffic will be interfered with, and the delay of the actual service message will not be measured.

[0031] 2) The measurement equipment or network elements need to support the time synchronization protocol, which is difficult to implement and costly.

[0032] To this end, the following technical solutions of the embodiments of the present application are proposed. The technical solutions of the embodiments of the present application propose a high-precision one-way delay measurement method, which can measure the one-way delay of the actual service message without sending a measurement message, changing the actual network status, changing the service message, and requiring the network element to support the time synchronization protocol.

[0033] It should be noted that in the embodiments of the present application, "traffic" refers to "service traffic", especially actual "service traffic". The description of "traffic" can also be replaced by "service traffic" or "service message" or "service data packet". The service type here can be any service type, such as high-definition video service. The present application does not limit the service type, and any service type can be applied to the technical solution of the embodiments of the present application.

[0034] Figure 1 It is a schematic diagram of a network topology structure provided in an embodiment of the present application. The network can be a software defined network (SDN) or a traditional network. Whether it is SDN or a traditional network, there is a centralized control node (or a centralized management unit) for collecting network information sent by network elements and sending control information to the network; taking SDN as an example, the centralized control node can be an SDN controller; taking a traditional network as an example, the centralized control node can be a network management system. Network element information generally passes through a management network from the network element to the centralized control node. In an embodiment of the present application, it is required that the management network from each network element to the centralized control node uses a delay deterministic network. As an example, the delay deterministic network can be a time sensitive network (TSN), or a deterministic Internet Network (DIP), etc.; the delay deterministic network can ensure that the transmission delay of network element information from the network element to the centralized control node is fixed, such as Figure 1 T1~Tn in the figure represent the transmission delays from network element 1~network element n to the centralized control node respectively.

[0035] like Figure 1As shown, suppose an actual service flow passes through network element 1, network element 2, ... network element n in sequence, and the time when the flow passes through the network elements is recorded as t1, t2, ..., tn respectively. This timestamp can be the ingress timestamp of the service flow entering the network element, or it can be the egress timestamp of the service flow flowing out of the network element after the forwarding is completed. When the service flow passes through, each network element transmits the flow information to the centralized control node through the time-deterministic network, where the transmission delay of each network element to transmit the flow information to the centralized control node through the time-deterministic network is T1, T2, ..., Tn respectively. The timestamps of the centralized control node receiving the flow information of each network element are t1`, t2`, ..., tn` respectively.

[0036] Taking the calculation of the one-way transmission delay of traffic from NE 1 to NE 2 as an example, the one-way transmission delay can be calculated in the following way:

[0037] 1) Because the time of NE 1 and NE 2 is not synchronized, assume that the time deviation between the two is Δt. Then the one-way transmission delay of traffic from NE 1 to NE 2 satisfies the following formula (1):

[0038] Delay=t2-t1-Δt formula (1);

[0039] Delay represents the one-way transmission delay of traffic from NE 1 to NE 2.

[0040] 2) Because the time of network element 1 and the centralized control node is not synchronized, assuming that the time deviation between the two is Δt`, the time for the traffic information collected from network element 1 to reach the centralized control node through the time-deterministic network satisfies the following formula (2):

[0041] t1`=t1+T1+Δt` formula (2).

[0042] 3) Because the time of network element 2 and the centralized control node is also not synchronized, the time deviation between network element 2 and the centralized control node is Δt`-Δt according to the assumptions in steps 1) and 2). Then, the time t2` when the traffic collected from network element 2 arrives at the centralized control node satisfies the following formula (3):

[0043] t2`=t2+T2+Δt`-Δt Formula (3).

[0044] 4) Subtracting formula (2) from the above formula (3) yields the following formula (4):

[0045] t2-t1-Δt=t2`-t1`+T1-T2 formula (4).

[0046] 5) Substituting the above formula (4) into the above formula (1) can obtain the following formula (5):

[0047] Delay=t2`-t1`+T1-T2 formula (5).

[0048] At this point, the one-way transmission delay of traffic from NE 1 to NE 2 is obtained.

[0049] Taking the calculation of the one-way transmission delay of traffic from NE 1 to NE 3 as an example, the one-way transmission delay can be calculated in the following way:

[0050] I) Referring to the above formula (5), the one-way transmission delay of traffic from network element 1 to network element 2 is: Delay12 = t2`-t1`+T1-T2.

[0051] II) Referring to the above formula (5), the one-way transmission delay of traffic from network element 2 to network element 3 is: Delay23 = t3`-t2`+T2-T3.

[0052] III) The one-way transmission delay of traffic from network element 1 to network element 3 is: Delay13=Delay12+Delay23=t2`-t1`+T1-T2+t3`-t2`+T2-T3=t3`-t1`+T1-T3.

[0053] It can be seen that the one-way transmission delay between any two network elements can be calculated using a formula similar to the above formula (5). For example, taking network element m and network element n as an example, the one-way transmission delay of traffic from network element m to network element n is: Delay = tn`-tm`+Tm-Tn, where tn` and tm` are the times when the traffic information of network element m and network n reaches the centralized control node, and Tm and Tn are the transmission delays of the traffic information of network element m and network n transmitted to the centralized control node through the delay deterministic network.

[0054] Figure 2 This is a schematic diagram of the delay measurement method provided in the embodiment of the present application. Figure 1 ,like Figure 2 As shown, the delay measurement method includes the following steps:

[0055] Step 201: Determine the time when the centralized control node receives the first flow information as the first time, and determine the time when the centralized control node receives the second flow information as the second time; wherein, the first flow information is sent by the first network element to the centralized control node via the delay deterministic network, and the second flow information is sent by the second network element to the centralized control node via the delay deterministic network.

[0056] The network to which the delay measurement method of the embodiment of the present application is applied may be, but is not limited to, an SDN or a traditional network. Taking SDN as an example, the centralized control node may be an SDN controller; taking a traditional network as an example, the centralized control node may be a network management system.

[0057] In an embodiment of the present application, service traffic (also referred to as traffic) flows from a first network element to a second network element. The first traffic information is sent from the first network element to the centralized control node via a time-deterministic network when the traffic passes through the first network element. The second traffic information is sent from the second network element to the centralized control node via a time-deterministic network when the traffic passes through the second network element. Here, the first traffic information may be relevant information about the traffic detected by the first network element, such as the traffic service type, traffic rate, etc. The second traffic information may be relevant information about the traffic detected by the second network element, such as the traffic service type, traffic rate, etc. The embodiment of the present application does not limit the content of the traffic information.

[0058] In some optional implementations, the time when the traffic passes through the first network element refers to: the time when the traffic enters the first network element; or the time when the traffic flows out of the first network element. Similarly, the time when the traffic passes through the second network element refers to: the time when the traffic enters the second network element; or the time when the traffic flows out of the second network element.

[0059] In the embodiment of the present application, the time when the centralized control node receives the first flow information is the first time, and the time when the centralized control node receives the second flow information is the second time. In specific implementation, the centralized control node may determine the time when the centralized control node receives the first flow information as the first time, and determine the time when the centralized control node receives the second flow information as the second time.

[0060] As an example, when the centralized control node receives first flow information from a first network element, the receiving time is recorded as the first time. When the centralized control node receives second flow information from a second network element, the receiving time is recorded as the second time.

[0061] It should be noted that the first network element and the second network element may be two adjacent network elements or two non-adjacent network elements.

[0062] Step 202: Determine the transmission delay of the first flow information from the first network element to the centralized control node as the first transmission delay, and determine the transmission delay of the second flow information from the second network element to the centralized control node as the second transmission delay.

[0063] In an embodiment of the present application, the centralized control node may determine that the transmission delay of the first flow information from the first network element to the centralized control node is the first transmission delay, and determine that the transmission delay of the second flow information from the second network element to the centralized control node is the second transmission delay.

[0064] Here, the transmission channel between each network element and the centralized control node in the network uses a delay deterministic network, and the transmission delay between the network element and the centralized control node is fixed. For the first network element and the second network, the delay deterministic network is used to ensure that the first transmission delay and the second transmission delay are fixed delays.

[0065] In specific implementation, the transmission delay between each network element and the centralized control node can be measured in advance, for example, the first transmission delay between the first network element and the centralized control node can be measured in advance, for example, the second transmission delay between the second network element and the centralized control node can be measured in advance. Since the first transmission delay and the second transmission delay will not change, the transmission delay between the first network element and the second network element can be directly calculated using the first transmission delay and the second transmission delay obtained in advance during the subsequent actual business traffic transmission process.

[0066] It should be noted that the transmission delay between "A" and "B" described in the embodiments of the present application refers to the transmission delay of information from "A" to "B", which is equal to the transmission time of information from "A" to "B".

[0067] Step 203: Determine a transmission delay of traffic from the first network element to the second network element based on the first time, the second time, the first transmission delay, and the second transmission delay.

[0068] based on Figure 1 The description of the related technical solution shown in the figure can determine the transmission delay of the traffic from the first network element to the second network element based on the following formula:

[0069] Delay=tn`-tm`+Tm-Tn;

[0070] Among them, tn` represents the second time, tm` represents the first time, Tm represents the first transmission delay, Tn represents the second transmission delay, and Delay represents the transmission delay of traffic from the first network element to the second network element.

[0071] The technical solution of the embodiment of the present application realizes the delay measurement of the service traffic to be measured between any network elements, and realizes the delay measurement of the traffic of any service type between network elements without sending measurement messages, changing the network status, changing the service messages, and requiring the network elements to support the time synchronization protocol.

[0072] In the technical solution of the embodiment of the present application, the delay measurement accuracy depends on the delay jitter of the delay deterministic network, and the delay jitter of the delay deterministic network can be accurate to microseconds or even nanoseconds, so the delay measurement method provided in the embodiment of the present application can achieve very high delay measurement accuracy.

[0073] Figure 3 This is a schematic diagram of the delay measurement method provided in the embodiment of the present application. Figure 2 ,like Figure 3 As shown, the delay measurement method includes the following steps:

[0074] Step 301: The time for traffic to pass through network element m is tm; the time for network element m to send traffic information is tm, and the time it takes for traffic information to be transmitted from network element m to the centralized control node through the time-deterministic network is Tm; the time for the centralized control node to receive the traffic information is tm`.

[0075] Step 302: The time for traffic to pass through network element n is tn; the time for network element n to send traffic information is tn, and the time for traffic information to be transmitted from network element n to the centralized control node through the time-deterministic network is Tn; the time for the centralized control node to receive the traffic information is tn`.

[0076] Step 303: The centralized control node calculates and obtains the one-way transmission delay between network element m and network element n as Delay=tn`-tm`+Tm-Tn.

[0077] In the technical solution of the embodiment of the present application, the delay deterministic network can ensure that the transmission delay is measurable and fixed, so tm`, tn`, Tm, and Tn are all known parameters, so that the one-way transmission delay of the actual service traffic between any network elements can be calculated. The delay measurement accuracy depends on the accuracy of the delay deterministic network, that is, the measurement accuracy of Tm and Tn. The measurement accuracy of Tm and Tn can reach the microsecond or even nanosecond level, so the delay measurement method provided in the embodiment of the present application can achieve a very high delay measurement accuracy.

[0078] Figure 4 Schematic diagram of the structure of the delay measurement device provided in the embodiment of the present application, which is applied to a centralized control node, such as Figure 4 As shown, the delay measurement device includes:

[0079] A first determining unit 401 is configured to determine a time when a centralized control node receives first flow information as a first time, and to determine a time when the centralized control node receives second flow information as a second time; wherein the first flow information is sent by a first network element to the centralized control node via a time-deterministic network, and the second flow information is sent by a second network element to the centralized control node via the time-deterministic network;

[0080] A second determining unit 402 is configured to determine a transmission delay of the first flow information from the first network element to the centralized control node as a first transmission delay, and to determine a transmission delay of the second flow information from the second network element to the centralized control node as a second transmission delay;

[0081] The third determining unit 403 is configured to determine a transmission delay of traffic from the first network element to the second network element based on the first time, the second time, the first transmission delay, and the second transmission delay.

[0082] In some optional implementations, the first flow information is sent by the first network element to the centralized control node via a delay deterministic network when the flow passes through the first network element.

[0083] In some optional implementations, the time when the traffic passes through the first network element refers to:

[0084] The time when the traffic enters the first network element; or

[0085] The time when the traffic flows out of the first network element.

[0086] In some optional implementations, the second flow information is sent by the second network element to the centralized control node via a delay deterministic network when the flow passes through the second network element.

[0087] In some optional implementations, the time when the traffic passes through the second network element refers to:

[0088] The time when the traffic enters the second network element; or

[0089] The time when traffic flows out of the second network element.

[0090] In some optional implementations, the third determining unit 403 is specifically configured to determine the transmission delay of traffic from the first network element to the second network element based on the following formula:

[0091] Delay=tn`-tm`+Tm-Tn;

[0092] Among them, tn` represents the second time, tm` represents the first time, Tm represents the first transmission delay, Tn represents the second transmission delay, and Delay represents the transmission delay of traffic from the first network element to the second network element.

[0093] In some optional implementations, the delay deterministic network is used to ensure that the first transmission delay and the second transmission delay are fixed delays.

[0094] Those skilled in the art should understand that Figure 4 The implementation functions of each unit in the delay measurement device shown can be understood by referring to the relevant description of the aforementioned method. Figure 4 The functions of each unit in the delay measurement device shown can be implemented by a program running on a processor, or by a specific logic circuit.

[0095] Figure 5 is a schematic structural diagram of a communication device 500 provided in an embodiment of the present application. The communication device may be a centralized control node in the above solution, Figure 5 The communication device 500 shown includes a processor 510, and the processor 510 can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0096] Alternatively, if Figure 5 As shown, the communication device 500 may further include a memory 520. The processor 510 may call and run a computer program from the memory 520 to implement the method in the embodiment of the present application.

[0097] The memory 520 may be a separate device independent of the processor 510 , or may be integrated into the processor 510 .

[0098] Alternatively, if Figure 5 As shown, the communication device 500 may further include a transceiver 530, and the processor 510 may control the transceiver 530 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0099] The transceiver 530 may include a transmitter and a receiver. The transceiver 530 may further include an antenna, and the number of the antennas may be one or more.

[0100] The communication device 500 can implement the corresponding processes implemented by the centralized control node in each method of the embodiments of the present application, and for the sake of brevity, they will not be repeated here.

[0101] Figure 6 It is a schematic structural diagram of the chip of an embodiment of the present application. Figure 6 The chip 600 shown includes a processor 610, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0102] Alternatively, if Figure 6 As shown, the chip 600 may further include a memory 620. The processor 610 may call and run a computer program from the memory 620 to implement the method in the embodiment of the present application.

[0103] The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .

[0104] Optionally, the chip 600 may further include an input interface 630. The processor 610 may control the input interface 630 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0105] Optionally, the chip 600 may further include an output interface 640. The processor 610 may control the output interface 640 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0106] The chip can implement the corresponding processes implemented by the centralized control node in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0107] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0108] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0109] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0110] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

[0111] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.

[0112] The computer program enables the computer to execute the corresponding processes implemented by the centralized control node in the various methods of the embodiments of the present application, which will not be described in detail here for the sake of brevity.

[0113] An embodiment of the present application also provides a computer program product, including computer program instructions.

[0114] Optionally, the computer program product can be applied to the centralized control node in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the centralized control node in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0115] The embodiment of the present application also provides a computer program.

[0116] Optionally, the computer program can be applied to the centralized control node in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the centralized control node in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0117] 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.

[0118] 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.

[0119] 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.

[0120] 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.

[0121] 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.

[0122] 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 each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the 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 delay measurement method, characterized in that: The method comprises: Determine the time when the centralized control node receives the first flow information as the first time, and determine the time when the centralized control node receives the second flow information as the second time; wherein the first flow information is sent to the centralized control node by the first network element via the time-deterministic network, and the second flow information is sent to the centralized control node by the second network element via the time-deterministic network; Determine a transmission delay of the first flow information from the first network element to the centralized control node as a first transmission delay, and determine a transmission delay of the second flow information from the second network element to the centralized control node as a second transmission delay; Determine a transmission delay of traffic from the first network element to the second network element based on the first time, the second time, the first transmission delay, and the second transmission delay; The determining, based on the first time, the second time, the first transmission delay, and the second transmission delay, of a transmission delay of traffic from the first network element to the second network element includes: The transmission delay of traffic from the first network element to the second network element is determined based on the following formula: Delay=tn`-tm`+Tm-Tn; Among them, tn` represents the second time, tm` represents the first time, Tm represents the first transmission delay, Tn represents the second transmission delay, and Delay represents the transmission delay of traffic from the first network element to the second network element.

2. The method according to claim 1, characterized in that The first flow information is sent to the centralized control node by the first network element via a time-deterministic network when the flow passes through the first network element.

3. The method according to claim 2, characterized in that The time when the traffic passes through the first network element is: The time when the traffic enters the first network element; or The time when the traffic flows out of the first network element.

4. The method according to claim 1, characterized in that: The second flow information is sent to the centralized control node by the second network element via the delay deterministic network when the flow passes through the second network element.

5. The method according to claim 4, characterized in that The time when the traffic passes through the second network element is: The time when the traffic enters the second network element; or The time when traffic flows out of the second network element.

6. The method according to any one of claims 1 to 5, characterized in that The delay deterministic network is used to ensure that the first transmission delay and the second transmission delay are fixed delays.

7. A delay measurement device, characterized in that: The device comprises: A first determining unit is used to determine the time when the centralized control node receives the first flow information as the first time, and to determine the time when the centralized control node receives the second flow information as the second time; wherein the first flow information is sent to the centralized control node by the first network element via the time-deterministic network, and the second flow information is sent to the centralized control node by the second network element via the time-deterministic network; a second determining unit, configured to determine a transmission delay of the first flow information from the first network element to the centralized control node as a first transmission delay, and to determine a transmission delay of the second flow information from the second network element to the centralized control node as a second transmission delay; A third determining unit, configured to determine a transmission delay of traffic from the first network element to the second network element based on the first time, the second time, the first transmission delay, and the second transmission delay; The third determining unit is specifically configured to determine the transmission delay of traffic from the first network element to the second network element based on the following formula: Delay=tn`-tm`+Tm-Tn; Among them, tn` represents the second time, tm` represents the first time, Tm represents the first transmission delay, Tn represents the second transmission delay, and Delay represents the transmission delay of traffic from the first network element to the second network element.

8. The device according to claim 7, characterized in that The first flow information is sent to the centralized control node by the first network element via a time-deterministic network when the flow passes through the first network element.

9. The device according to claim 8, characterized in that The time when the traffic passes through the first network element is: The time when the traffic enters the first network element; or The time when the traffic flows out of the first network element.

10. The device according to claim 7, characterized in that The second flow information is sent to the centralized control node by the second network element via the delay deterministic network when the flow passes through the second network element.

11. The device according to claim 10, characterized in that The time when the traffic passes through the second network element is: The time when the traffic enters the second network element; or The time when traffic flows out of the second network element.

12. The device according to any one of claims 7 to 11, characterized in that The delay deterministic network is used to ensure that the first transmission delay and the second transmission delay are fixed delays.

13. A communication device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method as claimed in any one of claims 1 to 6.

14. A chip, characterized in that: include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 6.

15. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Delay measurement method and system

    CN108833207A

  • A controller for delay measurement, a delay measurement system and a delay measurement method in SDN

    TW201524155A