WO2022247463A1 - Delay measurement method and apparatus, and digital twin network - Google Patents

Delay measurement method and apparatus, and digital twin network Download PDF

Info

Publication number
WO2022247463A1
WO2022247463A1 PCT/CN2022/084888 CN2022084888W WO2022247463A1 WO 2022247463 A1 WO2022247463 A1 WO 2022247463A1 CN 2022084888 W CN2022084888 W CN 2022084888W WO 2022247463 A1 WO2022247463 A1 WO 2022247463A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
twin
twin network
traffic information
physical
Prior art date
Application number
PCT/CN2022/084888
Other languages
French (fr)
Chinese (zh)
Inventor
杨红伟
王丹
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110589929.2A external-priority patent/CN115412463B/en
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2022247463A1 publication Critical patent/WO2022247463A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Definitions

  • the present application relates to the field of communication technology, and in particular to a delay measurement method, device and digital twin network.
  • the definition of digital twin network is: a network system with physical network entities and virtual twins, and the two can be interactively mapped in real time.
  • various network management and applications can efficiently analyze, diagnose, simulate and control the physical network using the digital twin network.
  • the digital twin network includes: physical network layer and twin network layer.
  • the twin network layer completes the virtual mapping of the physical network layer, that is, each physical network element in the physical network layer has a corresponding twin network element in the twin network layer.
  • Information such as network element connection relationships, traffic data, and network element status data in the physical network layer will have a virtual mapping on the twin network layer.
  • the physical network and the twin network are mapped to each other, and data is exchanged in real time.
  • the digital twin network can realize functions such as network low-cost trial and error, network intelligent operation and maintenance, and network lifecycle management. It is an important technical direction for future networks.
  • Active measurement Send measurement protocol messages to the network to realize the measurement of the loopback delay or one-way delay between the sending end and the receiving end.
  • the advantage of active measurement is that it is flexible in application.
  • the disadvantage is that it only measures the measurement protocol messages and cannot To measure the delay of real services, and to measure the one-way delay, the physical network elements of the sending end and the receiving end need to support the time synchronization protocol;
  • Passive measurement Calculate the network delay by collecting actual business traffic.
  • the advantage of passive measurement is that it can measure real business delay indicators.
  • the disadvantage is that it can only measure protocols with round-trip messages, such as TCP (Transmission Control Protocol, Transmission Control Protocol) , for one-way transmission, there is no protocol for round-trip confirmation messages, such as UDP (User Datagram Protocol, User Datagram Protocol), passive measurement cannot measure delay.
  • Hybrid measurement is a combination of active and passive measurements, that is, inserting some fields or flags in the service message to realize the delay measurement of the actual service.
  • the disadvantage is that the format of the actual service message is changed, which will affect the service.
  • the forwarding behavior causes the observer effect, and requires physical network elements to be able to identify and forward modified service packets.
  • Measuring the one-way delay requires the physical network element to support the time synchronization protocol.
  • the purpose of the embodiments of the present application is to provide a delay measurement method, device and digital twin network.
  • An embodiment of the present application provides a delay measurement method, which is applied to a digital twin network.
  • the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is provided with a corresponding a twin network element; the method includes:
  • the twin network element receives the first flow information transmitted by the physical network element; wherein, each twin network element of the twin network Realize time synchronization between;
  • the twin network element determines a transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
  • the method also includes:
  • the twin network element according to the local time of the twin network element when the first traffic information arrives at the twin network element, the transmission delay between the physical network element and the twin network element, and a reference delay, Determine the arrival time of the first traffic information recorded by the twin network element.
  • the twin network element is configured according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the twin network element Determining the arrival time of the first traffic information recorded by the twin network element, including:
  • the first formula determines the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
  • T is the arrival time of the first traffic information recorded by the twin network element
  • tn is the local time of the twin network element when the first traffic information arrives at the twin network element
  • Tmax is the reference Delay
  • Tn is the transmission delay between the physical network element and the twin network element.
  • the method also includes:
  • the twin network element determines the transmission delay between each physical network element and the twin network element corresponding to the physical network element
  • the maximum transmission delay is selected as the reference delay.
  • the method further includes:
  • the precision time protocol PTP
  • NTP network time protocol
  • the twin network element determines that the first traffic information is between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements transmission delay, including:
  • the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element determine that the first traffic information is between the first physical network element and the second network element. Transmission delay between two physical network elements; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the second twin network element.
  • the determination is made according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element
  • the transmission delay of the first flow information between the first physical network element and the second physical network element includes:
  • Determining the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the arrival time of the first traffic information recorded by the second twin network element is different from that recorded by the first twin network element The difference between the arrival times of the first traffic information.
  • the embodiment of the present application also provides a delay measurement device, which is applied to a digital twin network.
  • the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is provided with a corresponding twin network element; the device includes:
  • the receiving module is configured to receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, each twin network element of the twin network Realize time synchronization between;
  • the determination module is configured to determine the transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
  • the embodiment of the present application also provides a digital twin network, the digital twin network includes: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the The twin network element includes a processor and a transceiver, the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations:
  • the transmission delay of the first traffic information between the physical network elements is determined according to the arrival time of the first traffic information recorded by at least two twin network elements.
  • the processor is further configured to perform the following operations:
  • the processor is further configured to perform the following operations:
  • the first formula determines the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
  • T is the arrival time of the first traffic information recorded by the twin network element
  • tn is the local time of the twin network element when the first traffic information arrives at the twin network element
  • Tmax is the reference Delay
  • Tn is the transmission delay between the physical network element and the twin network element.
  • the processor is further configured to perform the following operations:
  • the maximum transmission delay is selected as the reference delay.
  • the processor is further configured to perform the following operations:
  • twin network elements are distributed in different physical entities
  • the physical entities use a precision time protocol (PTP) or a network time protocol (NTP) to implement time synchronization between each twin network element.
  • PTP precision time protocol
  • NTP network time protocol
  • the processor is further configured to perform the following operations:
  • the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element determine that the first traffic information is between the first physical network element and the second network element. Transmission delay between two physical network elements; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the second twin network element.
  • the processor is further configured to perform the following operations:
  • Determining the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the arrival time of the first traffic information recorded by the second twin network element is different from that recorded by the first twin network element The difference between the arrival times of the first traffic information.
  • the embodiment of the present application also provides a digital twin network, including a memory, a processor, and a program stored on the memory and operable on the processor.
  • a digital twin network including a memory, a processor, and a program stored on the memory and operable on the processor.
  • the processor executes the program, the above-mentioned Latency measurement method.
  • An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the delay measurement method as described above are implemented.
  • the transmission delay of the traffic information between physical network elements is obtained according to the arrival time of the traffic information recorded by the twin network elements; in the delay measurement method, the physical The network does not need to send measurement packets, does not change the physical network, does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services with high delay measurement accuracy.
  • Figure 1 shows a schematic diagram of the structure of the digital twin network
  • FIG. 2 shows a flowchart of the steps of the delay measurement method provided in the embodiment of the present application
  • FIG. 3 shows one of the schematic diagrams of the digital twin network corresponding to the delay measurement method provided in the embodiment of the present application
  • FIG. 4 shows the second schematic diagram of the digital twin network corresponding to the delay measurement method provided by the embodiment of the present application
  • FIG. 5 shows an example diagram of a delay measurement method provided in an embodiment of the present application
  • FIG. 6 shows a schematic structural diagram of a delay measuring device provided in an embodiment of the present application.
  • Fig. 7 shows a schematic structural diagram of the digital twin network provided by the embodiment of the present application.
  • the embodiment of the present application provides a delay measurement method, which is applied to a digital twin network.
  • the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is in the twin
  • the network is provided with corresponding twin network elements; the method includes:
  • Step 201 through the delay deterministic network between the physical network element and the twin network element, the twin network element receives the first flow information transmitted by the physical network element; wherein, each of the twin network elements Realize time synchronization between twin network elements;
  • Step 202 the twin network element determines the transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
  • the traffic information transmission network between the physical network and the twin network uses a delay deterministic network, so that the traffic information transmission delay between each physical network element and its corresponding twin network element is constant.
  • the transmission delay between physical network element 1 and twin network element 1 is T1
  • the transmission delay between physical network element 2 and twin network element 2 is T2
  • the transmission delay between physical network element 3 and twin network element The transmission delay between NE 4 and twin NE 5 is T3, the transmission delay between physical NE 4 and twin NE 5 is T4, the transmission delay between physical NE n and twin NE n is Tn, and any of T1 to Tn
  • the two transmission delays may be equal or not, but the respective values of T1-Tn are fixed.
  • the twin network can calculate and determine the transmission delay T1 ⁇ Tn of traffic information in advance.
  • the "arrival time of the first traffic information recorded by the twin network element" and “the local time of the twin network element when the first traffic information arrives at the twin network element” may be the same, or Can be different.
  • the method further includes: when the twin network element arrives at the twin network element according to the first traffic information, the local time of the twin network element, the physical network element and The transmission delay and the reference delay between the twin network elements determine the arrival time of the first traffic information recorded by the twin network elements.
  • the twin network element is configured according to the local time of the twin network element when the first traffic information arrives at the twin network element, the distance between the physical network element and the twin network element
  • the transmission delay and the reference delay determine the arrival time of the first flow information recorded by the twin network element, including:
  • the first formula determines the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
  • T is the arrival time of the first traffic information recorded by the twin network element
  • tn is the local time of the twin network element when the first traffic information arrives at the twin network element
  • Tmax is the reference Delay
  • Tn is the transmission delay between the physical network element and the twin network element.
  • twin network element 1 when physical network element 1 transmits the first traffic information to twin network element 1, the local time of twin network element 1 is t1, and the transmission delay is T1, then twin network element 1 records The arrival time of the first traffic information is: t1+Tmax-T1 (instead of the local time t1 at this time, that is, the local time t1 is delayed by Tmax-T1); similarly, the arrival time of the first traffic information recorded by other twin network elements is tn+Tmax-Tn. Finally, the twin network elements calculate the transmission delay of the first flow information between physical network elements according to the recorded arrival time of the first flow information.
  • the method further includes: the twin network element determining the transmission delay between each physical network element and the twin network element corresponding to the physical network element; selecting the largest transmission delay as the reference delay.
  • the twin network calculates the traffic information transmission delays T1 ⁇ Tn in advance, and selects the maximum delay Tmax as the reference delay, as shown in Figure 3, T3 is the maximum delay Tmax.
  • time synchronization is implemented between the twin network elements in the twin network. If different twin network elements are carried in the same physical entity, such as deployed in the same server, they share a local clock. The network elements are time-synchronized; and if multiple twin network elements are distributed in different physical entities, the method also includes: using the Precise Time Protocol (Precise Time Protocol, PTP) or Network Time Protocol (Network Time Protocol) between the physical entities , NTP) to realize the time synchronization between each twin network element.
  • PTP Precise Time Protocol
  • NTP Network Time Protocol
  • step 202 includes: determining the first traffic information according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element. A transmission delay of traffic information between the first physical network element and the second physical network element; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the first twin network element Corresponding to the second twin network element described above.
  • the first traffic information is determined at The transmission delay between a physical network element and the second physical network element includes: determining that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the second twin network The difference between the arrival time of the first traffic information recorded by the element and the arrival time of the first traffic information recorded by the first twin network element.
  • the physical network element 2 detects the arrival of the same data packet (that is, the first traffic information), it reaches the twin network element 2 after a delay of T2, and the local time of the twin network element 2 is t2 , the arrival time of the first traffic information recorded by twin network element 2 is: t2+Tmax-T2, then (t2+Tmax-T2)-(t1+Tmax-T1) is the first traffic information between twin network element 1 and twin
  • the one-way transmission delay between network elements 2 is also the one-way delay of the first flow information from physical network element 1 to physical network element 2 .
  • the data packet passes through the physical network element n, and the first traffic information of the physical network element n reaches the twin network element n after a delay Tn, and the local time of the twin network element n is tn, then
  • the arrival time of the first traffic information recorded by the twin network element n is: tn+Tmax-Tn, then (tn+Tmax-Tn)-(t1+Tmax-T1) is the distance from physical network element 1 to physical network element in the physical network The one-way transmission delay of n.
  • the transmission delay of the traffic information in the physical network elements is obtained.
  • the delay measurement accuracy depends on the time synchronization accuracy of twin network elements. If the PTP synchronization protocol is used, the delay measurement accuracy can reach the nanosecond level.
  • the delay measurement method includes:
  • twin NEs are hosted in the same physical entity, such as deployed in the same server, they share a local clock, and the time between twin NEs is synchronized;
  • twin network elements are distributed in different physical entities, use PTP or NTP to realize time synchronization between physical entities, so as to realize time synchronization of all twin network elements;
  • the traffic information transmission network from the physical network to the twin network uses a delay deterministic network to ensure that the traffic information transmission delay between each physical network element and the twin network element is fixed;
  • the twin network calculates the traffic information transmission delays T1 ⁇ Tn in advance, and selects the maximum delay Tmax as a benchmark, as shown in Figure 3, T3 is the maximum delay Tmax.
  • T1 the local time of the twin network element 1
  • T2 the transmission delay
  • the arrival time of the traffic information recorded by the twin network element is t1+Tmax-T1
  • the twin network elements calculate the transmission delay of traffic between physical network elements based on the arrival time of the traffic information.
  • the embodiment of the present application obtains the transmission delay of the traffic information between physical network elements according to the arrival time of the traffic information recorded by the twin network elements; in this delay measurement method, the physical network does not need to send measurement messages and does not change The physical network does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services, with high delay measurement accuracy.
  • the embodiment of the present application also provides a delay measurement device, which is applied to a digital twin network, and the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is in the Twin networks are provided with corresponding twin network elements; the device includes:
  • the receiving module 601 is configured to receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, each twin network of the twin network Realize time synchronization between elements;
  • the determining module 602 is configured to determine a transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
  • the device further includes: a time determination module configured to, according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the The transmission delay and the reference delay between twin network elements determine the arrival time of the first flow information recorded by the twin network elements.
  • a time determination module configured to, according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the The transmission delay and the reference delay between twin network elements determine the arrival time of the first flow information recorded by the twin network elements.
  • the time determination module includes: a time determination submodule configured to determine the arrival time of the first traffic information recorded by the twin network element according to a first formula; wherein, the first The formula is:
  • T is the arrival time of the first traffic information recorded by the twin network element
  • tn is the local time of the twin network element when the first traffic information arrives at the twin network element
  • Tmax is the reference Delay
  • Tn is the transmission delay between the physical network element and the twin network element.
  • the device further includes: a first delay determination module configured to determine a transmission delay between each physical network element and a twin network element corresponding to the physical network element;
  • the second delay determination module is configured to select the largest transmission delay as the reference delay.
  • the device further includes: a time synchronization module configured to use PTP or NTP between physical entities to implement time synchronization between twin network elements.
  • the determining module includes: a first determining submodule configured to, according to the arrival time of the first traffic information recorded by the first twin network element and the first flow information recorded by the second twin network element The arrival time of the traffic information, determining the transmission delay of the first traffic information between the first physical network element and the second physical network element; wherein, the first physical network element corresponds to the first twin network element , the second physical network element corresponds to the second twin network element.
  • the first determining submodule includes: a determining unit configured to determine that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the second The difference between the arrival time of the first traffic information recorded by the twin network element and the arrival time of the first traffic information recorded by the first twin network element.
  • the transmission delay of the traffic information between the physical network elements is obtained according to the arrival time of the traffic information recorded by the twin network elements; in the delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, It does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services, with high delay measurement accuracy.
  • the delay measurement device provided in the embodiment of the present application is a device capable of performing the above delay measurement method, and all embodiments of the above delay measurement method are applicable to the device, and can achieve the same or similar Beneficial effect.
  • the embodiment of the present application also provides a digital twin network
  • the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is provided with a corresponding Twin network element;
  • the twin network element includes a processor 700 and a transceiver 710, the transceiver 710 receives and sends data under the control of the processor 700, and the processor 700 is used to perform the following operations: through the physical The delay deterministic network between the network element and the twin network element receives the first traffic information transmitted by the physical network element; wherein, time synchronization is implemented between each twin network element of the twin network; according to at least two The arrival time of the first traffic information recorded by two twin network elements, and determine the transmission delay of the first traffic information between the physical network elements.
  • the processor 700 is further configured to perform the following operations: according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the The transmission delay and the reference delay between twin network elements determine the arrival time of the first flow information recorded by the twin network elements.
  • the processor 700 is further configured to perform the following operation: according to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is :
  • T is the arrival time of the first traffic information recorded by the twin network element
  • tn is the local time of the twin network element when the first traffic information arrives at the twin network element
  • Tmax is the reference Delay
  • Tn is the transmission delay between the physical network element and the twin network element.
  • the processor 700 is further configured to perform the following operations: determine the transmission delay between each physical network element and the twin network element corresponding to the physical network element; select the maximum transmission delay as the Baseline delay.
  • the processor 700 is further configured to perform the following operations: if multiple twin network elements are distributed in different physical entities, the physical entities use PTP or NTP to implement time synchronization between twin network elements.
  • the processor 700 is further configured to perform the following operations: according to the arrival time of the first traffic information recorded by the first twin network element and the first traffic information recorded by the second twin network element The arrival time of the first traffic information is determined between the first physical network element and the second physical network element; wherein, the first physical network element corresponds to the first twin network element, and the The second physical network element corresponds to the second twin network element.
  • the processor 700 is further configured to perform the following operation: determine that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the second twin network The difference between the arrival time of the first traffic information recorded by the element and the arrival time of the first traffic information recorded by the first twin network element.
  • the transmission delay of the traffic information between the physical network elements is obtained according to the arrival time of the traffic information recorded by the twin network elements; in the delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, It does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services, with high delay measurement accuracy.
  • the digital twin network provided by the embodiment of the present application is a digital twin network capable of performing the above delay measurement method, and all embodiments of the above delay measurement method are applicable to the digital twin network, and can achieve the same or similar beneficial effects.
  • the embodiment of the present application also provides a digital twin network, including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • a digital twin network including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored.
  • a computer program is stored.
  • the program is executed by a processor, each process in the above-mentioned embodiment of the delay measurement method can be achieved, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
  • These computer program instructions may also be stored in a computer-readable storage medium capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable storage medium produce a paper product comprising instruction means,
  • the instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device Steps are provided for realizing the functions specified in the flow chart or flow charts and/or block diagram block or blocks.

Landscapes

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

Abstract

The embodiments of the present application provide a delay measurement method and apparatus, and a digital twin network. The digital twin network comprises: a physical network and a twin network, each physical network element of the physical network being provided with a corresponding twin network element in the twin network. The method comprises: by means of a delay deterministic network between a physical network element and a twin network element, the twin network element receives first traffic information transmitted by the physical network element, time synchronization of each twin network element of the twin network being achieved; and the twin network element determines, on the basis of arrival times of the first traffic information as recorded by at least two twin network elements, the transmission delay of the first traffic information between physical network elements.

Description

时延测量方法、装置及数字孪生网络Delay measurement method, device and digital twin network
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202110589929.2、申请日为2021年05月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is based on a Chinese patent application with application number 202110589929.2 and a filing date of May 28, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated into this application by reference.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种时延测量方法、装置及数字孪生网络。The present application relates to the field of communication technology, and in particular to a delay measurement method, device and digital twin network.
背景技术Background technique
如图1所示,数字孪生网络的定义为:一个具有物理网络实体及虚拟孪生体,且二者可进行实时交互映射的网络系统。在此系统中,各种网络管理和应用可利用数字孪生网络对物理网络进行高效的分析、诊断、仿真和控制。其中,数字孪生网络包括:物理网络层和孪生网络层。孪生网络层完成了物理网络层的虚拟映射,即物理网络层每一个物理网元在孪生网络层都有对应的孪生网元。物理网络层中的网元连接关系、流量数据、网元状态数据等信息都会在孪生网络层有虚拟映射,物理网络和孪生网络互相映射,数据实时交互。As shown in Figure 1, the definition of digital twin network is: a network system with physical network entities and virtual twins, and the two can be interactively mapped in real time. In this system, various network management and applications can efficiently analyze, diagnose, simulate and control the physical network using the digital twin network. Among them, the digital twin network includes: physical network layer and twin network layer. The twin network layer completes the virtual mapping of the physical network layer, that is, each physical network element in the physical network layer has a corresponding twin network element in the twin network layer. Information such as network element connection relationships, traffic data, and network element status data in the physical network layer will have a virtual mapping on the twin network layer. The physical network and the twin network are mapped to each other, and data is exchanged in real time.
数字孪生网络可实现网络低成本试错、网络智能运维、网络全生命周期管理管理等功能,是未来网络的重要技术方向。The digital twin network can realize functions such as network low-cost trial and error, network intelligent operation and maintenance, and network lifecycle management. It is an important technical direction for future networks.
传统的网络时延测量方法有下述3种方式:Traditional network delay measurement methods include the following three methods:
1)主动测量:向网络中发送测量协议报文实现发送端和接收端的环回时延或单向时延的测量,主动测量优势是应用灵活,缺点是仅对测量协议 报文的测量,无法测量真实业务的时延,并且测量单向时延时需要发送端和接收端的物理网元支持时间同步协议;1) Active measurement: Send measurement protocol messages to the network to realize the measurement of the loopback delay or one-way delay between the sending end and the receiving end. The advantage of active measurement is that it is flexible in application. The disadvantage is that it only measures the measurement protocol messages and cannot To measure the delay of real services, and to measure the one-way delay, the physical network elements of the sending end and the receiving end need to support the time synchronization protocol;
2)被动测量:通过采集实际业务流量计算网络时延,被动测量优势是可测量真实业务时延指标,缺点是只能测量有往返报文的协议,例如TCP(Transmission Control Protocol,传输控制协议),对于单向传输,没有往返确认报文的协议,例如UDP(User Datagram Protocol,用户数据报协议),被动测量无法测量时延。2) Passive measurement: Calculate the network delay by collecting actual business traffic. The advantage of passive measurement is that it can measure real business delay indicators. The disadvantage is that it can only measure protocols with round-trip messages, such as TCP (Transmission Control Protocol, Transmission Control Protocol) , for one-way transmission, there is no protocol for round-trip confirmation messages, such as UDP (User Datagram Protocol, User Datagram Protocol), passive measurement cannot measure delay.
3)混合测量:混合测量是主被动测量结合起来,即在业务报文中插入一些字段或者标志位,实现对实际业务的时延测量,缺点是改变了实际业务报文格式,会影响业务的转发行为,造成观察者效应,并且需要物理网元能识别并转发修改后的业务报文。3) Hybrid measurement: Hybrid measurement is a combination of active and passive measurements, that is, inserting some fields or flags in the service message to realize the delay measurement of the actual service. The disadvantage is that the format of the actual service message is changed, which will affect the service. The forwarding behavior causes the observer effect, and requires physical network elements to be able to identify and forward modified service packets.
综上,上述3种时延测量方式有以下缺点:In summary, the above three delay measurement methods have the following disadvantages:
1)向实际网络注入测量报文,会增加网络负担,占用网络资源;1) Injecting measurement packets into the actual network will increase the network burden and occupy network resources;
2)无法测量所有协议类型的时延,对协议类型有要求;2) It is impossible to measure the delay of all protocol types, and there are requirements for the protocol types;
3)改变业务报文格式后需要升级物理网络,实施难度大;3) After changing the format of the business message, the physical network needs to be upgraded, which is difficult to implement;
4)测量单向时延需要物理网元支持时间同步协议。4) Measuring the one-way delay requires the physical network element to support the time synchronization protocol.
发明内容Contents of the invention
本申请实施例的目的在于提供一种时延测量方法、装置及数字孪生网络。The purpose of the embodiments of the present application is to provide a delay measurement method, device and digital twin network.
本申请实施例提供一种时延测量方法,应用于数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述方法包括:An embodiment of the present application provides a delay measurement method, which is applied to a digital twin network. The digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is provided with a corresponding a twin network element; the method includes:
通过所述物理网元与所述孪生网元之间的时延确定性网络,所述孪生网元接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;Through the delay deterministic network between the physical network element and the twin network element, the twin network element receives the first flow information transmitted by the physical network element; wherein, each twin network element of the twin network Realize time synchronization between;
所述孪生网元根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The twin network element determines a transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
在本申请的一些可选实施例中,所述方法还包括:In some optional embodiments of the present application, the method also includes:
所述孪生网元根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。The twin network element, according to the local time of the twin network element when the first traffic information arrives at the twin network element, the transmission delay between the physical network element and the twin network element, and a reference delay, Determine the arrival time of the first traffic information recorded by the twin network element.
在本申请的一些可选实施例中,所述孪生网元根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间,包括:In some optional embodiments of the present application, the twin network element is configured according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the twin network element Determining the arrival time of the first traffic information recorded by the twin network element, including:
根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:According to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
T=tn+Tmax-Tn;T=tn+Tmax-Tn;
其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
在本申请的一些可选实施例中,所述方法还包括:In some optional embodiments of the present application, the method also includes:
所述孪生网元确定各个物理网元和该物理网元对应的孪生网元之间的传输时延;The twin network element determines the transmission delay between each physical network element and the twin network element corresponding to the physical network element;
选取最大的传输时延作为所述基准时延。The maximum transmission delay is selected as the reference delay.
在本申请的一些可选实施例中,若多个孪生网元分布在不同物理实体,所述方法还包括:In some optional embodiments of the present application, if multiple twin network elements are distributed in different physical entities, the method further includes:
物理实体之间使用精确时间协议(PTP)或者网络时间协议(NTP)实现各个孪生网元之间的时间同步。Between the physical entities, the precision time protocol (PTP) or the network time protocol (NTP) is used to realize the time synchronization between each twin network element.
在本申请的一些可选实施例中,所述孪生网元根据至少两个孪生网元 记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延,包括:In some optional embodiments of the present application, the twin network element determines that the first traffic information is between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements transmission delay, including:
根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网元对应,所述第二物理网元与所述第二孪生网元对应。According to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element, determine that the first traffic information is between the first physical network element and the second network element. Transmission delay between two physical network elements; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the second twin network element.
在本申请的一些可选实施例中,所述根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延,包括:In some optional embodiments of the present application, the determination is made according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element The transmission delay of the first flow information between the first physical network element and the second physical network element includes:
确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。Determining the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the arrival time of the first traffic information recorded by the second twin network element is different from that recorded by the first twin network element The difference between the arrival times of the first traffic information.
本申请实施例还提供一种时延测量装置,应用于数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述装置包括:The embodiment of the present application also provides a delay measurement device, which is applied to a digital twin network. The digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is provided with a corresponding twin network element; the device includes:
接收模块,配置为通过所述物理网元与所述孪生网元之间的时延确定性网络,接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;The receiving module is configured to receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, each twin network element of the twin network Realize time synchronization between;
确定模块,配置为根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The determination module is configured to determine the transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
本申请实施例还提供一种数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述孪生网元包括处理器和收发器,所述收发器在处理器的控制下接收和发送数据,所述处理器用于执行以下操作:The embodiment of the present application also provides a digital twin network, the digital twin network includes: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the The twin network element includes a processor and a transceiver, the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations:
通过所述物理网元与所述孪生网元之间的时延确定性网络,接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;Receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized between each twin network element of the twin network ;
根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The transmission delay of the first traffic information between the physical network elements is determined according to the arrival time of the first traffic information recorded by at least two twin network elements.
在本申请的一些可选实施例中,所述处理器还用于执行以下操作:In some optional embodiments of the present application, the processor is further configured to perform the following operations:
根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。Determine the twin network according to the local time of the twin network element when the first traffic information arrives at the twin network element, the transmission delay between the physical network element and the twin network element, and the reference delay The arrival time of the first traffic information in the meta record.
在本申请的一些可选实施例中,所述处理器还用于执行以下操作:In some optional embodiments of the present application, the processor is further configured to perform the following operations:
根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:According to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
T=tn+Tmax-Tn;T=tn+Tmax-Tn;
其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
在本申请的一些可选实施例中,所述处理器还用于执行以下操作:In some optional embodiments of the present application, the processor is further configured to perform the following operations:
确定各个物理网元和该物理网元对应的孪生网元之间的传输时延;Determine the transmission delay between each physical network element and the twin network element corresponding to the physical network element;
选取最大的传输时延作为所述基准时延。The maximum transmission delay is selected as the reference delay.
在本申请的一些可选实施例中,所述处理器还用于执行以下操作:In some optional embodiments of the present application, the processor is further configured to perform the following operations:
若多个孪生网元分布在不同物理实体,物理实体之间使用精确时间协议(PTP)或者网络时间协议(NTP)实现各个孪生网元之间的时间同步。If multiple twin network elements are distributed in different physical entities, the physical entities use a precision time protocol (PTP) or a network time protocol (NTP) to implement time synchronization between each twin network element.
在本申请的一些可选实施例中,所述处理器还用于执行以下操作:In some optional embodiments of the present application, the processor is further configured to perform the following operations:
根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物 理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网元对应,所述第二物理网元与所述第二孪生网元对应。According to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element, determine that the first traffic information is between the first physical network element and the second network element. Transmission delay between two physical network elements; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the second twin network element.
在本申请的一些可选实施例中,所述处理器还用于执行以下操作:In some optional embodiments of the present application, the processor is further configured to perform the following operations:
确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。Determining the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the arrival time of the first traffic information recorded by the second twin network element is different from that recorded by the first twin network element The difference between the arrival times of the first traffic information.
本申请实施例还提供一种数字孪生网络,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述处理器执行所述程序时实现如上所述的时延测量方法。The embodiment of the present application also provides a digital twin network, including a memory, a processor, and a program stored on the memory and operable on the processor. When the processor executes the program, the above-mentioned Latency measurement method.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的时延测量方法中的步骤。An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the delay measurement method as described above are implemented.
本申请的上述技术方案至少具有如下有益效果:The above technical solution of the present application has at least the following beneficial effects:
本申请实施例的时延测量方法、装置及数字孪生网络中,根据孪生网元记录的流量信息的到达时间得到该流量信息在物理网元之间的传输时延;该时延测量方法中物理网络不需要发送测量报文、不更改物理网络、不改变业务报文、不需要物理网元支持时间同步协议,且可测试所有业务类型、时延测量精度高。In the delay measurement method, device, and digital twin network of the embodiments of the present application, the transmission delay of the traffic information between physical network elements is obtained according to the arrival time of the traffic information recorded by the twin network elements; in the delay measurement method, the physical The network does not need to send measurement packets, does not change the physical network, does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services with high delay measurement accuracy.
附图说明Description of drawings
图1表示数字孪生网络的结构示意图;Figure 1 shows a schematic diagram of the structure of the digital twin network;
图2表示本申请实施例提供的时延测量方法的步骤流程图;FIG. 2 shows a flowchart of the steps of the delay measurement method provided in the embodiment of the present application;
图3表示本申请实施例提供的时延测量方法对应的数字孪生网络的原理示意图之一;FIG. 3 shows one of the schematic diagrams of the digital twin network corresponding to the delay measurement method provided in the embodiment of the present application;
图4表示本申请实施例提供的时延测量方法对应的数字孪生网络的原理示意图之二;FIG. 4 shows the second schematic diagram of the digital twin network corresponding to the delay measurement method provided by the embodiment of the present application;
图5表示本申请实施例提供的时延测量方法的示例图;FIG. 5 shows an example diagram of a delay measurement method provided in an embodiment of the present application;
图6表示本申请实施例提供的时延测量装置的结构示意图;FIG. 6 shows a schematic structural diagram of a delay measuring device provided in an embodiment of the present application;
图7表示本申请实施例提供的数字孪生网络的结构示意图。Fig. 7 shows a schematic structural diagram of the digital twin network provided by the embodiment of the present application.
具体实施方式Detailed ways
为使本申请要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved in this application clearer, the following will describe in detail with reference to the drawings and specific embodiments.
如图2所示,本申请实施例提供一种时延测量方法,应用于数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述方法包括:As shown in Figure 2, the embodiment of the present application provides a delay measurement method, which is applied to a digital twin network. The digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is in the twin The network is provided with corresponding twin network elements; the method includes:
步骤201,通过所述物理网元与所述孪生网元之间的时延确定性网络,所述孪生网元接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步; Step 201, through the delay deterministic network between the physical network element and the twin network element, the twin network element receives the first flow information transmitted by the physical network element; wherein, each of the twin network elements Realize time synchronization between twin network elements;
步骤202,所述孪生网元根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。 Step 202, the twin network element determines the transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
本申请实施例中,物理网络与孪生网络之间的流量信息传输网络使用时延确定性网络,使得每个物理网元到其对应的孪生网元之间流量信息传输时延固定不变。如图3所示,物理网元1与孪生网元1之间的传输时延为T1,物理网元2与孪生网元2之间的传输时延为T2,物理网元3与孪生网元3之间的传输时延T3,物理网元4与孪生网元5之间的传输时延为T4,物理网元n与孪生网元n之间的传输时延Tn,T1~Tn中的任意两个传输时延可以相等,也可以不相等,但T1~Tn的各自的数值是固定不变的。孪生网络能够提前计算并确定流量信息的传输时延T1~Tn。In the embodiment of the present application, the traffic information transmission network between the physical network and the twin network uses a delay deterministic network, so that the traffic information transmission delay between each physical network element and its corresponding twin network element is constant. As shown in Figure 3, the transmission delay between physical network element 1 and twin network element 1 is T1, the transmission delay between physical network element 2 and twin network element 2 is T2, and the transmission delay between physical network element 3 and twin network element The transmission delay between NE 4 and twin NE 5 is T3, the transmission delay between physical NE 4 and twin NE 5 is T4, the transmission delay between physical NE n and twin NE n is Tn, and any of T1 to Tn The two transmission delays may be equal or not, but the respective values of T1-Tn are fixed. The twin network can calculate and determine the transmission delay T1~Tn of traffic information in advance.
需要说明的是,本申请实施例中,“孪生网元记录的第一流量信息的到达时间”和“第一流量信息到达所述孪生网元时该孪生网元的本地时间”可以相同,也可以不同。It should be noted that, in this embodiment of the present application, the "arrival time of the first traffic information recorded by the twin network element" and "the local time of the twin network element when the first traffic information arrives at the twin network element" may be the same, or Can be different.
在本申请的至少一个实施例中,所述方法还包括:所述孪生网元根据 所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。In at least one embodiment of the present application, the method further includes: when the twin network element arrives at the twin network element according to the first traffic information, the local time of the twin network element, the physical network element and The transmission delay and the reference delay between the twin network elements determine the arrival time of the first traffic information recorded by the twin network elements.
在一些可选实施例中,所述孪生网元根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间,包括:In some optional embodiments, the twin network element is configured according to the local time of the twin network element when the first traffic information arrives at the twin network element, the distance between the physical network element and the twin network element The transmission delay and the reference delay determine the arrival time of the first flow information recorded by the twin network element, including:
根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:According to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
T=tn+Tmax-Tn;T=tn+Tmax-Tn;
其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
例如,如图3所示,当物理网元1将第一流量信息传输到孪生网元1时,此时孪生网元1本地时间是t1,传输时延是T1,则孪生网元1记录的第一流量信息的到达时间为:t1+Tmax-T1(而不是此时的本地时间t1,即本地时间t1延后Tmax-T1);类似的,其他孪生网元记录第一流量信息达到时间为tn+Tmax-Tn。最后,孪生网元根据记录的第一流量信息的到达时间计算第一流量信息在物理网元之间的传输时延。For example, as shown in Figure 3, when physical network element 1 transmits the first traffic information to twin network element 1, the local time of twin network element 1 is t1, and the transmission delay is T1, then twin network element 1 records The arrival time of the first traffic information is: t1+Tmax-T1 (instead of the local time t1 at this time, that is, the local time t1 is delayed by Tmax-T1); similarly, the arrival time of the first traffic information recorded by other twin network elements is tn+Tmax-Tn. Finally, the twin network elements calculate the transmission delay of the first flow information between physical network elements according to the recorded arrival time of the first flow information.
作为本申请的至少一个可选实施例,所述方法还包括:所述孪生网元确定各个物理网元和该物理网元对应的孪生网元之间的传输时延;选取最大的传输时延作为所述基准时延。As at least one optional embodiment of the present application, the method further includes: the twin network element determining the transmission delay between each physical network element and the twin network element corresponding to the physical network element; selecting the largest transmission delay as the reference delay.
例如,孪生网络提前计算流量信息传输时延T1~Tn,选取其中的最大时延Tmax作为基准时延,如图3中T3是最大时延Tmax。For example, the twin network calculates the traffic information transmission delays T1~Tn in advance, and selects the maximum delay Tmax as the reference delay, as shown in Figure 3, T3 is the maximum delay Tmax.
作为又一个可选实施例,孪生网络中各孪生网元之间实现时间同步, 如果不同的孪生网元承载在同一个物理实体中,例如部署在同一台服务器中,则共用一个本地时钟,孪生网元间就是时间同步的;而若多个孪生网元分布在不同物理实体,所述方法还包括:物理实体之间使用精确时间协议(Precise Time Protocol,PTP)或者网络时间协议(Network Time Protocol,NTP)实现各个孪生网元之间的时间同步。As another optional embodiment, time synchronization is implemented between the twin network elements in the twin network. If different twin network elements are carried in the same physical entity, such as deployed in the same server, they share a local clock. The network elements are time-synchronized; and if multiple twin network elements are distributed in different physical entities, the method also includes: using the Precise Time Protocol (Precise Time Protocol, PTP) or Network Time Protocol (Network Time Protocol) between the physical entities , NTP) to realize the time synchronization between each twin network element.
作为一个可选实施例,步骤202包括:根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网元对应,所述第二物理网元与所述第二孪生网元对应。As an optional embodiment, step 202 includes: determining the first traffic information according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element. A transmission delay of traffic information between the first physical network element and the second physical network element; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the first twin network element Corresponding to the second twin network element described above.
可选的,所述根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延,包括:确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。Optionally, according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element, the first traffic information is determined at The transmission delay between a physical network element and the second physical network element includes: determining that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the second twin network The difference between the arrival time of the first traffic information recorded by the element and the arrival time of the first traffic information recorded by the first twin network element.
例如,如图3及图4所示,当第一流量信息的某个数据包到达物理网元1时,物理网元1将该第一流量信息传输给孪生网元1,传输时延T1,此时孪生网元1本地时间为t1,孪生网元1记录第一流量信息的到达时间为:t1+Tmax-T1;For example, as shown in FIG. 3 and FIG. 4, when a data packet of the first traffic information arrives at physical network element 1, physical network element 1 transmits the first traffic information to twin network element 1, and the transmission delay is T1, At this time, the local time of twin network element 1 is t1, and the arrival time of the first traffic information recorded by twin network element 1 is: t1+Tmax-T1;
如图3及图4所示,物理网元2检测到同一个数据包(即第一流量信息)到达后,经过时延T2到达孪生网元2,此时孪生网元2的本地时间为t2,孪生网元2记录第一流量信息的到达时间为:t2+Tmax-T2,则(t2+Tmax-T2)-(t1+Tmax-T1)是这个第一流量信息在孪生网元1和孪生网元2之间的单向传输时延,也是该第一流量信息从物理网元1到物理网元2的 单向时延。As shown in Figure 3 and Figure 4, after the physical network element 2 detects the arrival of the same data packet (that is, the first traffic information), it reaches the twin network element 2 after a delay of T2, and the local time of the twin network element 2 is t2 , the arrival time of the first traffic information recorded by twin network element 2 is: t2+Tmax-T2, then (t2+Tmax-T2)-(t1+Tmax-T1) is the first traffic information between twin network element 1 and twin The one-way transmission delay between network elements 2 is also the one-way delay of the first flow information from physical network element 1 to physical network element 2 .
同理,如图3及图4所示,该数据包经过物理网元n,物理网元n的第一流量信息经过时延Tn到达孪生网元n,孪生网元n本地时间为tn,则孪生网元n记录的第一流量信息的到达时间为:tn+Tmax-Tn,则(tn+Tmax-Tn)-(t1+Tmax-T1)是物理网络中从物理网元1到物理网元n的单向传输时延。Similarly, as shown in Figure 3 and Figure 4, the data packet passes through the physical network element n, and the first traffic information of the physical network element n reaches the twin network element n after a delay Tn, and the local time of the twin network element n is tn, then The arrival time of the first traffic information recorded by the twin network element n is: tn+Tmax-Tn, then (tn+Tmax-Tn)-(t1+Tmax-T1) is the distance from physical network element 1 to physical network element in the physical network The one-way transmission delay of n.
至此,通过孪生网元记录的流量信息的到达时间,得到了流量信息在物理网元的传输时延,测量过程中仅需要孪生网元时间同步,不需要物理网元时间同步。时延测量精度取决于孪生网元的时间同步精度,如果使用PTP同步协议,则时延测量精度可以到纳秒级。So far, through the arrival time of the traffic information recorded by the twin network elements, the transmission delay of the traffic information in the physical network elements is obtained. During the measurement process, only the time synchronization of the twin network elements is required, and the time synchronization of the physical network elements is not required. The delay measurement accuracy depends on the time synchronization accuracy of twin network elements. If the PTP synchronization protocol is used, the delay measurement accuracy can reach the nanosecond level.
如图5所示,该时延测量方法包括:As shown in Figure 5, the delay measurement method includes:
1:根据物理网络进行建模,构建数字孪生网络;1: Modeling based on the physical network to build a digital twin network;
2:孪生网络中各孪生网元之间实现时间同步;2: Realize time synchronization between twin network elements in the twin network;
如果不同的孪生网元承载在同一个物理实体中,例如部署在同一台服务器中,则共用一个本地时钟,孪生网元间就是时间同步的;If different twin NEs are hosted in the same physical entity, such as deployed in the same server, they share a local clock, and the time between twin NEs is synchronized;
如果不同的孪生网元分布在不同物理实体,则物理实体之间使用PTP或者NTP实现时间同步,从而实现所有孪生网元时间同步;If different twin network elements are distributed in different physical entities, use PTP or NTP to realize time synchronization between physical entities, so as to realize time synchronization of all twin network elements;
3:从物理网络到孪生网络的流量信息传输网络使用时延确定性网络,保证每个物理网元到孪生网元之间流量信息传输时延固定不变;3: The traffic information transmission network from the physical network to the twin network uses a delay deterministic network to ensure that the traffic information transmission delay between each physical network element and the twin network element is fixed;
4:孪生网络提前计算流量信息传输时延T1~Tn,选取其中的最大时延Tmax作为基准,如图3中T3是最大时延Tmax。当物理网元1将流量信息传输到孪生网元1时,此时孪生网元1本地时间是t1,传输时延是T1,则孪生网元记录流量信息到达时间是t1+Tmax-T1,而不是此时的本地时间t1,即延后Tmax-T1;类似的,其他孪生网元记录流量信息达到时间为tn+Tmax-Tn。最后,孪生网元根据这些流量信息达到时间计算流量在物理网元之间的传输时延。4: The twin network calculates the traffic information transmission delays T1~Tn in advance, and selects the maximum delay Tmax as a benchmark, as shown in Figure 3, T3 is the maximum delay Tmax. When the physical network element 1 transmits the traffic information to the twin network element 1, the local time of the twin network element 1 is t1, and the transmission delay is T1, then the arrival time of the traffic information recorded by the twin network element is t1+Tmax-T1, and It is not the local time t1 at this time, that is, it is delayed by Tmax-T1; similarly, the arrival time of traffic information recorded by other twin network elements is tn+Tmax-Tn. Finally, the twin network elements calculate the transmission delay of traffic between physical network elements based on the arrival time of the traffic information.
综上,本申请实施例根据孪生网元记录的流量信息的到达时间得到该流量信息在物理网元之间的传输时延;该时延测量方法中物理网络不需要发送测量报文、不更改物理网络、不改变业务报文、不需要物理网元支持时间同步协议,且可测试所有业务类型、时延测量精度高。In summary, the embodiment of the present application obtains the transmission delay of the traffic information between physical network elements according to the arrival time of the traffic information recorded by the twin network elements; in this delay measurement method, the physical network does not need to send measurement messages and does not change The physical network does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services, with high delay measurement accuracy.
如图6所示,本申请实施例还提供一种时延测量装置,应用于数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述装置包括:As shown in Figure 6, the embodiment of the present application also provides a delay measurement device, which is applied to a digital twin network, and the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is in the Twin networks are provided with corresponding twin network elements; the device includes:
接收模块601,配置为通过所述物理网元与所述孪生网元之间的时延确定性网络,接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;The receiving module 601 is configured to receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, each twin network of the twin network Realize time synchronization between elements;
确定模块602,配置为根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The determining module 602 is configured to determine a transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
作为一个可选实施例,所述装置还包括:时间确定模块,配置为根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。As an optional embodiment, the device further includes: a time determination module configured to, according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the The transmission delay and the reference delay between twin network elements determine the arrival time of the first flow information recorded by the twin network elements.
作为一个可选实施例,所述时间确定模块包括:时间确定子模块,配置为根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:As an optional embodiment, the time determination module includes: a time determination submodule configured to determine the arrival time of the first traffic information recorded by the twin network element according to a first formula; wherein, the first The formula is:
T=tn+Tmax-Tn;T=tn+Tmax-Tn;
其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
作为一个可选实施例,所述装置还包括:第一时延确定模块,配置为确定各个物理网元和该物理网元对应的孪生网元之间的传输时延;As an optional embodiment, the device further includes: a first delay determination module configured to determine a transmission delay between each physical network element and a twin network element corresponding to the physical network element;
第二时延确定模块,配置为选取最大的传输时延作为所述基准时延。The second delay determination module is configured to select the largest transmission delay as the reference delay.
作为一个可选实施例,若多个孪生网元分布在不同物理实体,所述装置还包括:时间同步模块,配置为物理实体之间使用PTP或者NTP实现各个孪生网元之间的时间同步。As an optional embodiment, if multiple twin network elements are distributed in different physical entities, the device further includes: a time synchronization module configured to use PTP or NTP between physical entities to implement time synchronization between twin network elements.
作为一个可选实施例,所述确定模块包括:第一确定子模块,配置为根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网元对应,所述第二物理网元与所述第二孪生网元对应。As an optional embodiment, the determining module includes: a first determining submodule configured to, according to the arrival time of the first traffic information recorded by the first twin network element and the first flow information recorded by the second twin network element The arrival time of the traffic information, determining the transmission delay of the first traffic information between the first physical network element and the second physical network element; wherein, the first physical network element corresponds to the first twin network element , the second physical network element corresponds to the second twin network element.
作为一个可选实施例,所述第一确定子模块包括:确定单元,配置为确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。As an optional embodiment, the first determining submodule includes: a determining unit configured to determine that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the second The difference between the arrival time of the first traffic information recorded by the twin network element and the arrival time of the first traffic information recorded by the first twin network element.
本申请实施例根据孪生网元记录的流量信息的到达时间得到该流量信息在物理网元之间的传输时延;该时延测量方法中物理网络不需要发送测量报文、不更改物理网络、不改变业务报文、不需要物理网元支持时间同步协议,且可测试所有业务类型、时延测量精度高。In the embodiment of the present application, the transmission delay of the traffic information between the physical network elements is obtained according to the arrival time of the traffic information recorded by the twin network elements; in the delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, It does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services, with high delay measurement accuracy.
需要说明的是,本申请实施例提供的时延测量装置是能够执行上述时延测量方法的装置,则上述时延测量方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the delay measurement device provided in the embodiment of the present application is a device capable of performing the above delay measurement method, and all embodiments of the above delay measurement method are applicable to the device, and can achieve the same or similar Beneficial effect.
如图7所示,本申请实施例还提供一种数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述孪生网元包括处理器700和收发器710,所述收发器710在处理器700的控制下接收和发送数据,所述处理器700用于执行以下操作:通过所述物理网元与所述孪生网元之间的时延确定 性网络,接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。As shown in Figure 7, the embodiment of the present application also provides a digital twin network, the digital twin network includes: a physical network and a twin network, and each physical network element of the physical network is provided with a corresponding Twin network element; the twin network element includes a processor 700 and a transceiver 710, the transceiver 710 receives and sends data under the control of the processor 700, and the processor 700 is used to perform the following operations: through the physical The delay deterministic network between the network element and the twin network element receives the first traffic information transmitted by the physical network element; wherein, time synchronization is implemented between each twin network element of the twin network; according to at least two The arrival time of the first traffic information recorded by two twin network elements, and determine the transmission delay of the first traffic information between the physical network elements.
作为一个可选实施例,所述处理器700还用于执行以下操作:根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。As an optional embodiment, the processor 700 is further configured to perform the following operations: according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the The transmission delay and the reference delay between twin network elements determine the arrival time of the first flow information recorded by the twin network elements.
作为一个可选实施例,所述处理器700还用于执行以下操作:根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:As an optional embodiment, the processor 700 is further configured to perform the following operation: according to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is :
T=tn+Tmax-Tn;T=tn+Tmax-Tn;
其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
作为一个可选实施例,所述处理器700还用于执行以下操作:确定各个物理网元和该物理网元对应的孪生网元之间的传输时延;选取最大的传输时延作为所述基准时延。As an optional embodiment, the processor 700 is further configured to perform the following operations: determine the transmission delay between each physical network element and the twin network element corresponding to the physical network element; select the maximum transmission delay as the Baseline delay.
作为一个可选实施例,所述处理器700还用于执行以下操作:若多个孪生网元分布在不同物理实体,物理实体之间使用PTP或者NTP实现各个孪生网元之间的时间同步。As an optional embodiment, the processor 700 is further configured to perform the following operations: if multiple twin network elements are distributed in different physical entities, the physical entities use PTP or NTP to implement time synchronization between twin network elements.
作为一个可选实施例,所述处理器700还用于执行以下操作:根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网 元对应,所述第二物理网元与所述第二孪生网元对应。As an optional embodiment, the processor 700 is further configured to perform the following operations: according to the arrival time of the first traffic information recorded by the first twin network element and the first traffic information recorded by the second twin network element The arrival time of the first traffic information is determined between the first physical network element and the second physical network element; wherein, the first physical network element corresponds to the first twin network element, and the The second physical network element corresponds to the second twin network element.
作为一个可选实施例,所述处理器700还用于执行以下操作:确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。As an optional embodiment, the processor 700 is further configured to perform the following operation: determine that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the second twin network The difference between the arrival time of the first traffic information recorded by the element and the arrival time of the first traffic information recorded by the first twin network element.
本申请实施例根据孪生网元记录的流量信息的到达时间得到该流量信息在物理网元之间的传输时延;该时延测量方法中物理网络不需要发送测量报文、不更改物理网络、不改变业务报文、不需要物理网元支持时间同步协议,且可测试所有业务类型、时延测量精度高。In the embodiment of the present application, the transmission delay of the traffic information between the physical network elements is obtained according to the arrival time of the traffic information recorded by the twin network elements; in the delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, It does not change service packets, does not require physical network elements to support time synchronization protocols, and can test all types of services, with high delay measurement accuracy.
需要说明的是,本申请实施例提供的数字孪生网络是能够执行上述时延测量方法的数字孪生网络,则上述时延测量方法的所有实施例均适用于该数字孪生网络,且均能达到相同或相似的有益效果。It should be noted that the digital twin network provided by the embodiment of the present application is a digital twin network capable of performing the above delay measurement method, and all embodiments of the above delay measurement method are applicable to the digital twin network, and can achieve the same or similar beneficial effects.
本申请实施例还提供一种数字孪生网络,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现如上所述的时延测量方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a digital twin network, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the above-mentioned Each process in the embodiment of the time delay measurement method can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的时延测量方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, each process in the above-mentioned embodiment of the delay measurement method can be achieved, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可读存储介质(包括但不限于 磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a means for realizing the functions specified in one or more procedures and/or one or more blocks of the flowchart.
这些计算机程序指令也可存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储介质中,使得存储在该计算机可读存储介质中的指令产生包括指令装置的纸制品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable storage medium capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable storage medium produce a paper product comprising instruction means, The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其它可编程数据处理设备上,使得计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他科编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device Steps are provided for realizing the functions specified in the flow chart or flow charts and/or block diagram block or blocks.
以上所述是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present application, and it should be pointed out that for those of ordinary skill in the art, some improvements and modifications can also be made without departing from the principles described in the application. These improvements and modifications It should also be regarded as the protection scope of the present invention.

Claims (17)

  1. 一种时延测量方法,应用于数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述方法包括:A delay measurement method applied to a digital twin network, the digital twin network comprising: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; The methods described include:
    通过所述物理网元与所述孪生网元之间的时延确定性网络,所述孪生网元接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;Through the delay deterministic network between the physical network element and the twin network element, the twin network element receives the first flow information transmitted by the physical network element; wherein, each twin network element of the twin network Realize time synchronization between;
    所述孪生网元根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The twin network element determines a transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    所述孪生网元根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。The twin network element, according to the local time of the twin network element when the first traffic information arrives at the twin network element, the transmission delay between the physical network element and the twin network element, and a reference delay, Determine the arrival time of the first traffic information recorded by the twin network element.
  3. 根据权利要求2所述的方法,其中,所述孪生网元根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间,包括:The method according to claim 2, wherein the twin network element is based on the local time of the twin network element when the first traffic information arrives at the twin network element, the physical network element and the twin network element Determining the arrival time of the first traffic information recorded by the twin network element, including:
    根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:According to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the first formula is:
    T=tn+Tmax-Tn;T=tn+Tmax-Tn;
    其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
  4. 根据权利要求2或3所述的方法,其中,所述方法还包括:The method according to claim 2 or 3, wherein the method further comprises:
    所述孪生网元确定各个物理网元和该物理网元对应的孪生网元之间的 传输时延;The twin network element determines the transmission delay between each physical network element and the twin network element corresponding to the physical network element;
    选取最大的传输时延作为所述基准时延。The maximum transmission delay is selected as the reference delay.
  5. 根据权利要求1所述的方法,其中,若多个孪生网元分布在不同物理实体,所述方法还包括:The method according to claim 1, wherein, if multiple twin network elements are distributed in different physical entities, the method further comprises:
    物理实体之间使用精确时间协议PTP或者网络时间协议NTP实现各个孪生网元之间的时间同步。The precise time protocol PTP or network time protocol NTP is used between physical entities to realize time synchronization between twin network elements.
  6. 根据权利要求1所述的方法,其中,所述孪生网元根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延,包括:The method according to claim 1, wherein the twin network element determines that the first traffic information is between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements transmission delay, including:
    根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网元对应,所述第二物理网元与所述第二孪生网元对应。According to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element, determine that the first traffic information is between the first physical network element and the second network element. Transmission delay between two physical network elements; wherein, the first physical network element corresponds to the first twin network element, and the second physical network element corresponds to the second twin network element.
  7. 根据权利要求6所述的方法,其中,所述根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延,包括:The method according to claim 6, wherein the determination is made according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element. The transmission delay of the first flow information between the first physical network element and the second physical network element includes:
    确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。Determining the transmission delay of the first traffic information between the first physical network element and the second physical network element is: the arrival time of the first traffic information recorded by the second twin network element is different from that recorded by the first twin network element The difference between the arrival times of the first traffic information.
  8. 一种时延测量装置,应用于数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述装置包括:A delay measurement device, applied to a digital twin network, the digital twin network comprising: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; Said devices include:
    接收模块,配置为通过所述物理网元与所述孪生网元之间的时延确定性网络,接收所述物理网元传输的第一流量信息;其中,所述孪生网络的 各个孪生网元之间实现时间同步;The receiving module is configured to receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, each twin network element of the twin network Realize time synchronization between;
    确定模块,配置为根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The determination module is configured to determine the transmission delay of the first traffic information between the physical network elements according to the arrival time of the first traffic information recorded by at least two twin network elements.
  9. 一种数字孪生网络,所述数字孪生网络包括:物理网络和孪生网络,所述物理网络的各个物理网元在所述孪生网络均设置有对应的孪生网元;所述孪生网元包括处理器和收发器,所述收发器在处理器的控制下接收和发送数据,所述处理器用于执行以下操作:A digital twin network, the digital twin network includes: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network element includes a processor and a transceiver that receives and transmits data under the control of a processor configured to:
    通过所述物理网元与所述孪生网元之间的时延确定性网络,接收所述物理网元传输的第一流量信息;其中,所述孪生网络的各个孪生网元之间实现时间同步;Receive the first traffic information transmitted by the physical network element through the delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized between each twin network element of the twin network ;
    根据至少两个孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在所述物理网元之间的传输时延。The transmission delay of the first traffic information between the physical network elements is determined according to the arrival time of the first traffic information recorded by at least two twin network elements.
  10. 根据权利要求9所述的数字孪生网络,其中,所述处理器还用于执行以下操作:根据所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间、所述物理网元与所述孪生网元之间的传输时延以及基准时延,确定所述孪生网元记录的所述第一流量信息的到达时间。The digital twin network according to claim 9, wherein the processor is further configured to perform the following operations: according to the local time of the twin network element when the first traffic information arrives at the twin network element, the physical The transmission delay and the reference delay between the network element and the twin network element determine the arrival time of the first flow information recorded by the twin network element.
  11. 根据权利要求10所述的数字孪生网络,其中,所述处理器还用于执行以下操作:根据第一公式,确定所述孪生网元记录的所述第一流量信息的到达时间;其中,所述第一公式为:The digital twin network according to claim 10, wherein the processor is further configured to perform the following operations: according to a first formula, determine the arrival time of the first traffic information recorded by the twin network element; wherein, the The first formula is:
    T=tn+Tmax-Tn;T=tn+Tmax-Tn;
    其中,T为所述孪生网元记录的所述第一流量信息的到达时间,tn为所述第一流量信息到达所述孪生网元时所述孪生网元的本地时间,Tmax为所述基准时延,Tn为所述物理网元与所述孪生网元之间的传输时延。Wherein, T is the arrival time of the first traffic information recorded by the twin network element, tn is the local time of the twin network element when the first traffic information arrives at the twin network element, and Tmax is the reference Delay, Tn is the transmission delay between the physical network element and the twin network element.
  12. 根据权利要求10或11所述的数字孪生网络,其中,所述处理器还用于执行以下操作:确定各个物理网元和该物理网元对应的孪生网元之间 的传输时延;选取最大的传输时延作为所述基准时延。The digital twin network according to claim 10 or 11, wherein the processor is further configured to perform the following operations: determine the transmission delay between each physical network element and the twin network element corresponding to the physical network element; select the maximum The transmission delay of is used as the reference delay.
  13. 根据权利要求9所述的数字孪生网络,其中,所述处理器还用于执行以下操作:若多个孪生网元分布在不同物理实体,物理实体之间使用精确时间协议PTP或者网络时间协议NTP实现各个孪生网元之间的时间同步。The digital twin network according to claim 9, wherein the processor is further configured to perform the following operations: if multiple twin network elements are distributed in different physical entities, the precision time protocol PTP or network time protocol NTP is used between the physical entities Realize time synchronization between twin network elements.
  14. 根据权利要求9所述的数字孪生网络,其中,所述处理器还用于执行以下操作:根据第一孪生网元记录的所述第一流量信息的到达时间和第二孪生网元记录的所述第一流量信息的到达时间,确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延;其中,所述第一物理网元为所述第一孪生网元对应,所述第二物理网元与所述第二孪生网元对应。The digital twin network according to claim 9, wherein the processor is further configured to perform the following operations: according to the arrival time of the first traffic information recorded by the first twin network element and the arrival time of the first traffic information recorded by the second twin network element The arrival time of the first traffic information, and determine the transmission delay of the first traffic information between the first physical network element and the second physical network element; wherein, the first physical network element is the first twin The network element corresponds, and the second physical network element corresponds to the second twin network element.
  15. 根据权利要求14所述的数字孪生网络,其中,所述处理器还用于执行以下操作:确定所述第一流量信息在第一物理网元和第二物理网元之间的传输时延为:第二孪生网元记录的所述第一流量信息的到达时间与第一孪生网元记录的所述第一流量信息的到达时间之间的差值。The digital twin network according to claim 14, wherein the processor is further configured to perform the following operations: determine that the transmission delay of the first traffic information between the first physical network element and the second physical network element is : the difference between the arrival time of the first traffic information recorded by the second twin network element and the arrival time of the first traffic information recorded by the first twin network element.
  16. 一种数字孪生网络,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器执行所述程序时实现如权利要求1-7任一项所述的时延测量方法。A digital twin network, comprising a memory, a processor, and a program stored on the memory and operable on the processor; when the processor executes the program, it realizes any one of claims 1-7 The delay measurement method described above.
  17. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-7任一项所述的时延测量方法中的步骤。A computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the delay measurement method according to any one of claims 1-7 are implemented.
PCT/CN2022/084888 2021-05-28 2022-04-01 Delay measurement method and apparatus, and digital twin network WO2022247463A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110589929.2A CN115412463B (en) 2021-05-28 Time delay measurement method and device and digital twin network
CN202110589929.2 2021-05-28

Publications (1)

Publication Number Publication Date
WO2022247463A1 true WO2022247463A1 (en) 2022-12-01

Family

ID=84154872

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084888 WO2022247463A1 (en) 2021-05-28 2022-04-01 Delay measurement method and apparatus, and digital twin network

Country Status (1)

Country Link
WO (1) WO2022247463A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170078176A1 (en) * 2015-09-11 2017-03-16 Telefonaktiebolaget L M Ericsson (Publ) Method and system for delay measurement of a traffic flow in a software-defined networking (sdn) system
CN107360060A (en) * 2017-08-07 2017-11-17 瑞斯康达科技发展股份有限公司 A kind of time-delay measuring method and device
CN108111365A (en) * 2016-11-24 2018-06-01 中国移动通信集团广东有限公司 A kind of latency measurement processing method and system
CN108737207A (en) * 2017-04-25 2018-11-02 华为技术有限公司 Propagation delay time detection method, equipment and system
CN110661633A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 Virtualization method, device and equipment for physical network element node and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170078176A1 (en) * 2015-09-11 2017-03-16 Telefonaktiebolaget L M Ericsson (Publ) Method and system for delay measurement of a traffic flow in a software-defined networking (sdn) system
CN108111365A (en) * 2016-11-24 2018-06-01 中国移动通信集团广东有限公司 A kind of latency measurement processing method and system
CN108737207A (en) * 2017-04-25 2018-11-02 华为技术有限公司 Propagation delay time detection method, equipment and system
CN107360060A (en) * 2017-08-07 2017-11-17 瑞斯康达科技发展股份有限公司 A kind of time-delay measuring method and device
CN110661633A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 Virtualization method, device and equipment for physical network element node and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUN TAO; ZHOU CHENG; DUAN XIAO-DONG; LU LU; CHEN DAN-YANG; YANG HONG-WEI; ZHU YAN-HONG; LIU CHAO; LI QIN; WANG XIAO; SHEN ZHEN; QU: "Digital Twin Network (DTN): Concepts, Architecture, and Key Technologies", ACTA AUTOMATICA SINICA, KEXUE CHUBANSHE, BEIJING, CN, vol. 47, no. 3, 31 March 2021 (2021-03-31), CN , pages 569 - 582, XP009541211, ISSN: 0254-4156, DOI: 10.16383/j.aas.c210097 *
YANG HONGWEI; LI YANG; YAO KEHAN; SUN TAO; ZHOU CHENG: "A Systematic Network Traffic Emulation Framework for Digital Twin Network", 2021 IEEE 1ST INTERNATIONAL CONFERENCE ON DIGITAL TWINS AND PARALLEL INTELLIGENCE (DTPI), IEEE, 15 July 2021 (2021-07-15), pages 94 - 97, XP033976423, DOI: 10.1109/DTPI52967.2021.9540090 *

Also Published As

Publication number Publication date
CN115412463A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
RU2546198C1 (en) Methods for time synchronisation in communication networks
CN103929293B (en) Asymmetrically-delayed time synchronization method and system
US20210328856A1 (en) Scalability, fault tolerance and fault management for twamp with a large number of test sessions
EP2242236B1 (en) Method for measuring frame loss, system for measuring frame loss, and device for measuring frame loss
CN107508719B (en) Method and device for measuring network time delay and network node
WO2018006686A1 (en) Method, apparatus and device for optimizing time synchronization between communication network devices
CN107360060B (en) Time delay measuring method and device
KR20130126986A (en) Method, apparatus and system for time distribution in a telecommunications network
WO2015184890A1 (en) Packet loss measurement method and apparatus
EP1424809B1 (en) Decentralized SLS monitoring in a differentiated service environment
EP3474499B1 (en) Network performance detection method and apparatus
CN110381071B (en) Message transmission method and device and sender equipment
CN107579869A (en) Network performance detection method and the network equipment
WO2014187430A1 (en) Method for measuring transmission delay of optical transport network device and source otn device
Yang et al. A systematic network traffic emulation framework for digital twin network
JP5675703B2 (en) Communication device, control device, and program
CN108199913A (en) A kind of method and apparatus for realizing delay testing
WO2022247463A1 (en) Delay measurement method and apparatus, and digital twin network
CN108111365B (en) Time delay measurement processing method and system
WO2013078873A1 (en) Method and device for identifying response message
WO2022247462A1 (en) Traffic simulation method for digital twin network and digital twin network
EP4245020A1 (en) In-band edge-to-edge round-trip time measurement
US20210243707A1 (en) Communication apparatus and communication system
CN115412463B (en) Time delay measurement method and device and digital twin network
CN113381832B (en) Precise time synchronization method based on FPGA platform

Legal Events

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

Ref document number: 22810196

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE