CN115412463B - Time delay measurement method and device and digital twin network - Google Patents

Time delay measurement method and device and digital twin network Download PDF

Info

Publication number
CN115412463B
CN115412463B CN202110589929.2A CN202110589929A CN115412463B CN 115412463 B CN115412463 B CN 115412463B CN 202110589929 A CN202110589929 A CN 202110589929A CN 115412463 B CN115412463 B CN 115412463B
Authority
CN
China
Prior art keywords
network element
twin network
twin
physical
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110589929.2A
Other languages
Chinese (zh)
Other versions
CN115412463A (en
Inventor
杨红伟
王丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110589929.2A priority Critical patent/CN115412463B/en
Priority to PCT/CN2022/084888 priority patent/WO2022247463A1/en
Publication of CN115412463A publication Critical patent/CN115412463A/en
Application granted granted Critical
Publication of CN115412463B publication Critical patent/CN115412463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • 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/50Testing arrangements

Landscapes

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

Abstract

The invention provides a time delay measuring method, a time delay measuring device and a digital twin network, wherein the digital twin network comprises the following components: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the method comprises the following steps: the twin network element receives first traffic information transmitted by the physical network element through a time delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized among all twin network elements of the twin network; the twin network element determines the transmission delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements; in the time delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, does not need to change service messages, does not need to support a time synchronization protocol by a physical network element, can test all service types, and has high time delay measurement precision.

Description

Time delay measurement method and device and digital twin network
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for measuring time delay, and a digital twin network.
Background
As shown in fig. 1, the definition of a digital twin network is: a network system with physical network entity and virtual twin capable of real-time interactive mapping. In this system, various network management and applications may utilize the digital twin network to efficiently analyze, diagnose, simulate, and control the physical network. Wherein the digital twin network comprises: a physical network layer and a twin network layer. The twin network layer completes virtual mapping of the physical network layer, namely each physical network element of the physical network layer has a corresponding twin network element in the twin network layer. The network element connection relation, flow data, network element state data and other information in the physical network layer are virtually mapped in the twin network layer, the physical network and the twin network are mutually mapped, and the data are interacted in real time.
The digital twin network can realize the functions of network low-cost trial and error, network intelligent operation and maintenance, network full life cycle management and the like, and is an important technical direction of future networks.
The traditional network delay measurement method has the following 3 modes:
1) Active measurement: the method comprises the steps of sending a measurement protocol message to a network to realize measurement of loopback time delay or unidirectional time delay of a sending end and a receiving end, wherein the active measurement has the advantage of flexible application, the defect that the measurement of the measurement protocol message is only carried out, the time delay of real service cannot be measured, and the physical network elements of the sending end and the receiving end are required to support a time synchronization protocol for measuring the unidirectional time delay;
2) Passive measurement: the network delay is calculated by collecting the actual traffic flow, the passive measurement has the advantage that the actual traffic delay index can be measured, the disadvantage that only protocols with round-trip messages, such as TCP (Transmission Control Protocol ), can be measured, for unidirectional transmission, protocols without round-trip acknowledgement messages, such as UDP (User Datagram Protocol ), and the passive measurement cannot measure the delay.
3) Mixing measurement: the mixed measurement is combined with active and passive measurement, i.e. a certain field or a flag bit is inserted into a service message to realize the time delay measurement of an actual service, which has the defects that the format of the actual service message is changed, the forwarding behavior of the service is affected, the observer effect is caused, and a physical network element is required to identify and forward the modified service message.
In summary, the above 3 delay measurement methods have the following disadvantages:
1) Injecting a measurement message into an actual network increases network load and occupies network resources;
2) The time delay of all protocol types cannot be measured, and the protocol types are required;
3) After changing the format of the service message, the physical network needs to be upgraded, and the implementation difficulty is high;
4) Measuring the one-way delay requires that the physical network element support a time synchronization protocol.
Disclosure of Invention
The embodiment of the invention aims to provide a time delay measurement method and device and a digital twin network, so as to solve the problem that the traditional network time delay measurement method in the prior art cannot meet the time delay measurement of the digital twin network.
In order to solve the above-mentioned problems, an embodiment of the present invention provides a delay measurement method applied to a digital twin network, the digital twin network including: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the method comprises the following steps:
the twin network element receives first traffic information transmitted by the physical network element through a time delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized among all twin network elements of the twin network;
and the twin network element determines the transmission delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
Wherein the method further comprises:
And the twin network element determines the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow 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 determining, by the twin network element, the arrival time of the first traffic information recorded by 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 the reference delay, includes:
determining the arrival time of the first flow information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
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;
And selecting the maximum transmission delay as the reference delay.
Wherein, if the plurality of twin network elements are distributed in different physical entities, the method further comprises:
The accurate time protocol PTP or network time protocol NTP is used between physical entities to realize the time synchronization between each twin network element.
The determining, by the twin network element, a transmission delay of the first traffic information between the physical network elements according to arrival times of the first traffic information recorded by at least two twin network elements, includes:
Determining the transmission delay of the first flow information between a first physical network element and a second physical network element according to the arrival time of the first flow information recorded by a first twin network element and the arrival time of the first flow information recorded by a second twin network element; 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.
Wherein determining a transmission delay of the first traffic information between a first physical network element and a second physical network element 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 comprises:
The transmission delay of the first flow information between the first physical network element and the second physical network element is determined as follows: 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.
The embodiment of the invention also provides a time delay measuring device which is applied to a digital twin network, wherein the digital twin network comprises: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the device comprises:
A receiving module, configured to receive, through a time delay deterministic network between the physical network element and the twin network element, first traffic information transmitted by the physical network element; wherein, time synchronization is realized among all twin network elements of the twin network;
And the determining module is used for determining the transmission delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
The embodiment of the invention also provides a digital twin network, which comprises: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network element comprises a processor and a transceiver, the transceiver receiving and transmitting data under the control of the processor, the processor being configured to:
receiving first flow information transmitted by the physical network element through a time delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized among all twin network elements of the twin network;
And determining the transmission time delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
Wherein the processor is further configured to perform the following operations:
And determining the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow information arrives at the twin network element, the transmission delay between the physical network element and the twin network element and the reference delay.
Wherein the processor is further configured to perform the following operations:
determining the arrival time of the first flow information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
Wherein the processor is further configured to perform the following operations:
Determining transmission delay between each physical network element and a twin network element corresponding to the physical network element;
And selecting the maximum transmission delay as the reference delay.
Wherein the processor is further configured to perform the following operations:
If a plurality of 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 realize time synchronization among the twin network elements.
Wherein the processor is further configured to perform the following operations:
Determining the transmission delay of the first flow information between a first physical network element and a second physical network element according to the arrival time of the first flow information recorded by a first twin network element and the arrival time of the first flow information recorded by a second twin network element; 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.
Wherein the processor is further configured to perform the following operations:
The transmission delay of the first flow information between the first physical network element and the second physical network element is determined as follows: 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.
The embodiment of the invention also provides a digital twin network, which comprises a memory, a processor and a program stored in the memory and capable of running on the processor, wherein the processor realizes the time delay measuring method when executing the program.
The embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the delay measurement method as described above.
The technical scheme of the invention has at least the following beneficial effects:
In the time delay measuring method, the time delay measuring device and the digital twin network, the transmission time delay of the flow information between physical network elements is obtained according to the arrival time of the flow information recorded by the twin network elements; in the time delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, does not need to change service messages, does not need to support a time synchronization protocol by a physical network element, can test all service types, and has high time delay measurement precision.
Drawings
FIG. 1 shows a schematic diagram of a digital twin network;
FIG. 2 is a flowchart showing steps of a method for measuring a delay according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a digital twin network corresponding to a delay measurement method according to an embodiment of the present invention;
Fig. 4 is a second schematic diagram of a digital twin network corresponding to the delay measurement method according to the embodiment of the present invention;
fig. 5 is a diagram illustrating an example of a delay measurement method according to an embodiment of the present invention;
fig. 6 shows a schematic structural diagram of a delay measurement device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a digital twin network according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 2, an embodiment of the present invention provides a delay measurement method applied to a digital twin network, where the digital twin network includes: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the method comprises the following steps:
step 201, through a time delay deterministic network between the physical network element and the twin network element, the twin network element receives first traffic information transmitted by the physical network element; wherein, time synchronization is realized among all twin network elements of the twin network;
Step 202, 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 the embodiment of the invention, the time delay deterministic network is used for the traffic information transmission network between the physical network and the twin network, so that the traffic information transmission time delay between each physical network element and the corresponding twin network element is fixed. As shown in fig. 3, the transmission delay between the physical network element 1 and the twin network element 1 is T1, the transmission delay between the physical network element 2 and the twin network element 2 is T2, the transmission delay between the physical network element 3 and the twin network element 3 is T3, the transmission delay between the physical network element 4 and the twin network element 5 is T4, the transmission delays Tn, T1 to Tn between the physical network element n and the twin network element n may be equal or unequal, but the respective values of T1 to Tn are fixed. The twin network can calculate and determine the transmission delays T1-Tn of the flow information in advance.
In the embodiment of the present invention, 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 different.
In at least one embodiment of the invention, the method further comprises:
And the twin network element determines the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow 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 determining, by the twin network element, the arrival time of the first traffic information recorded by 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 the reference delay, includes:
determining the arrival time of the first flow information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
For example, as shown in fig. 3, when the physical network element 1 transmits the first traffic information to the twin network element 1, where the local time of the twin network element 1 is T1 and the transmission delay is T1, the arrival time of the first traffic information recorded by the twin network element 1 is: t1+Tmax-T1 (instead of the local time T1 at this time, the local time T1 is delayed by Tmax-T1); similarly, other twin network elements record the first traffic information arrival time as tn+tmax-Tn. And finally, calculating the transmission time delay of the first flow information between the physical network elements according to the recorded arrival time of the first flow information by the twin network element.
As at least one optional embodiment of the invention, 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;
And selecting the maximum transmission delay as the reference delay.
For example, the twin network calculates the traffic information transmission delays T1 to Tn in advance, and selects the maximum delay Tmax therein as the reference delay, where T3 is the maximum delay Tmax in fig. 3.
As a further alternative embodiment, time synchronization is implemented between the twin network elements in the twin network, and if different twin network elements are carried in the same physical entity, for example, deployed in the same server, a local clock is shared, so that the twin network elements are time synchronized; and if the plurality of twin network elements are distributed in different physical entities, the method further comprises:
The physical entities use PTP (PRECISE TIME Protocol, precision time Protocol) or NTP (Network Time Protocol ) to achieve time synchronization between the respective twin network elements.
As an alternative embodiment, step 202 includes:
Determining the transmission delay of the first flow information between a first physical network element and a second physical network element according to the arrival time of the first flow information recorded by a first twin network element and the arrival time of the first flow information recorded by a second twin network element; 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.
Optionally, the determining, 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 the first traffic information between the first physical network element and the second physical network element includes:
The transmission delay of the first flow information between the first physical network element and the second physical network element is determined as follows: 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.
For example, as shown in fig. 3 and fig. 4, when a certain packet of the first traffic information arrives at the physical network element 1, the physical network element 1 transmits the first traffic information to the twin network element 1, and the transmission delay T1 is set at the time when the local time of the twin network element 1 is T1, and the arrival time of the first traffic information recorded by the twin network element 1 is: t1+Tmax-T1;
As shown in fig. 3 and fig. 4, after the physical network element 2 detects that the same data packet (i.e., the first traffic information) arrives, the data packet arrives at the twin network element 2 through a time delay T2, and at this time, the local time of the twin network element 2 is T2, and the arrival time of the first traffic information recorded by the twin network element 2 is as follows: t2+tmax-T2, (t2+tmax-T2) - (t1+tmax-T1) is the one-way transmission delay of the first traffic information between the twin network element 1 and the twin network element 2, and is also the one-way delay of the first traffic information from the physical network element 1 to the physical network element 2.
Similarly, as shown in fig. 3 and fig. 4, the data packet passes through the physical network element n, the first traffic information of the physical network element n reaches the twin network element n through the time delay Tn, and the local time of the twin network element n is Tn, so that 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 unidirectional transmission delay from physical network element 1 to physical network element n in the physical network.
The time delay of the transmission of the flow information in the physical network element is obtained through the arrival time of the flow information recorded by the twin network element, and the time synchronization of the twin network element is only needed in the measurement process, and the time synchronization of the physical network element is not needed. The time delay measurement accuracy depends on the time synchronization accuracy of the twin network element, which can be up to nanoseconds if PTP synchronization protocol is used.
As shown in fig. 5, the delay measurement method includes:
1: modeling according to a physical network, and constructing a digital twin network;
2: time synchronization is realized among all twin network elements in the twin network;
If different twin network elements are carried in the same physical entity, for example, are deployed in the same server, a local clock is shared, and time synchronization is realized among the twin network elements;
If different twin network elements are distributed in different physical entities, the physical entities use PTP or NTP to realize time synchronization, thereby realizing time synchronization of all twin network elements;
3: the flow information transmission network from the physical network to the twin network uses a time delay deterministic network, so that the flow information transmission time delay between each physical network element and the twin network element is ensured to be constant;
4: the twin network calculates the transmission delays T1-Tn of the flow information in advance, and selects the maximum delay Tmax in the transmission delays as a reference, wherein T3 is the maximum delay Tmax in figure 3. When the physical network element 1 transmits the flow information to the twin network element 1, the local time of the twin network element 1 is T1, the transmission delay is T1, and the twin network element records that the arrival time of the flow information is t1+Tmax-T1, but not the local time T1 at the moment, namely the delay Tmax-T1; similarly, other twin network elements record traffic information for a time of arrival tn+tmax-Tn. And finally, calculating the transmission time delay of the traffic between the physical network elements according to the arrival time of the traffic information by the twin network elements.
In summary, the embodiment of the invention obtains the transmission time delay of the flow information between the physical network elements according to the arrival time of the flow information recorded by the twin network elements; in the time delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, does not need to change service messages, does not need to support a time synchronization protocol by a physical network element, can test all service types, and has high time delay measurement precision.
As shown in fig. 6, an embodiment of the present invention further provides a delay measurement device, which is applied to a digital twin network, where the digital twin network includes: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the device comprises:
A receiving module 601, configured to receive, through a time delay deterministic network between the physical network element and the twin network element, first traffic information transmitted by the physical network element; wherein, time synchronization is realized among all twin network elements of the twin network;
A determining module 602, configured to determine a transmission delay of the first traffic information between the physical network elements according to arrival times of the first traffic information recorded by at least two twin network elements.
As an alternative embodiment, the apparatus further comprises:
And the time determining module is used for determining the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow information arrives at the twin network element, the transmission delay between the physical network element and the twin network element and the reference delay.
As an alternative embodiment, the time determining module includes:
A time determining submodule, configured to determine an arrival time of the first traffic information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
As an alternative embodiment, the apparatus further comprises:
a first delay determining module, configured to determine a transmission delay between each physical network element and a twin network element corresponding to the physical network element;
And the second time delay determining module is used for selecting the maximum transmission time delay as the reference time delay.
As an alternative embodiment, if the plurality of twin network elements are distributed in different physical entities, the apparatus further comprises:
And the time synchronization module is used for realizing time synchronization among all the twin network elements by using a precision time protocol PTP or a network time protocol NTP between physical entities.
As an alternative embodiment, the determining module includes:
A first determining submodule, configured to determine a transmission delay of the first traffic information between a first physical network element and a second physical network element according to an arrival time of the first traffic information recorded by a first twin network element and an arrival time of the first traffic information recorded by a second twin network element; 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.
As an alternative embodiment, the first determining submodule includes:
a determining unit, configured to determine a transmission delay of the first traffic information between a first physical network element and a second physical network element as follows: 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.
According to the embodiment of the invention, the transmission time delay of the flow information between the physical network elements is obtained according to the arrival time of the flow information recorded by the twin network elements; in the time delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, does not need to change service messages, does not need to support a time synchronization protocol by a physical network element, can test all service types, and has high time delay measurement precision.
It should be noted that, the delay measurement device provided in the embodiment of the present invention is a device capable of executing the delay measurement method, so all embodiments of the delay measurement method are applicable to the device, and the same or similar beneficial effects can be achieved.
As shown in fig. 7, an embodiment of the present invention further provides a digital twin network, including: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network element comprises a processor 700 and a transceiver 710, the transceiver 710 receiving and transmitting data under the control of the processor 700, the processor 700 being arranged to:
receiving first flow information transmitted by the physical network element through a time delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized among all twin network elements of the twin network;
And determining the transmission time delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
And determining the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow information arrives at the twin network element, the transmission delay between the physical network element and the twin network element and the reference delay.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
determining the arrival time of the first flow information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
Determining transmission delay between each physical network element and a twin network element corresponding to the physical network element;
And selecting the maximum transmission delay as the reference delay.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
If a plurality of 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 realize time synchronization among the twin network elements.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
Determining the transmission delay of the first flow information between a first physical network element and a second physical network element according to the arrival time of the first flow information recorded by a first twin network element and the arrival time of the first flow information recorded by a second twin network element; 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.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
The transmission delay of the first flow information between the first physical network element and the second physical network element is determined as follows: 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.
According to the embodiment of the invention, the transmission time delay of the flow information between the physical network elements is obtained according to the arrival time of the flow information recorded by the twin network elements; in the time delay measurement method, the physical network does not need to send measurement messages, does not change the physical network, does not need to change service messages, does not need to support a time synchronization protocol by a physical network element, can test all service types, and has high time delay measurement precision.
It should be noted that, if the digital twin network provided by the embodiment of the present invention is a digital twin network capable of executing the above-mentioned delay measurement method, all embodiments of the above-mentioned delay measurement method are applicable to the digital twin network, and the same or similar beneficial effects can be achieved.
The embodiment of the invention also provides a digital twin network, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes each process in the time delay measuring method embodiment as described above when executing the program, and can achieve the same technical effect, and the repetition is avoided, and the description is omitted here.
The embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, where the program when executed by a processor implements each process in the embodiment of the delay measurement method described above, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here. The computer readable storage medium is, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk or an optical disk.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may 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, magnetic disk storage and optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (17)

1. A method of delay measurement, applied to a digital twin network, the digital twin network comprising: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the method comprises the following steps:
the twin network element receives first traffic information transmitted by the physical network element through a time delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized among all twin network elements of the twin network;
and the twin network element determines the transmission delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
2. The method according to claim 1, wherein the method further comprises:
And the twin network element determines the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow information arrives at the twin network element, the transmission delay between the physical network element and the twin network element and the reference delay.
3. The method of claim 2, wherein the determining, by the twin network element, the arrival time of the first traffic information recorded by the twin network element based on 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, comprises:
determining the arrival time of the first flow information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
4. A method according to claim 2 or 3, characterized in that 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;
And selecting the maximum transmission delay as the reference delay.
5. The method of claim 1, wherein if a plurality of twin network elements are distributed among different physical entities, the method further comprises:
The accurate time protocol PTP or network time protocol NTP is used between physical entities to realize the time synchronization between each twin network element.
6. The method according to claim 1, wherein the determining, by the twin network element, a propagation delay of the first traffic information between the physical network elements based on arrival times of the first traffic information recorded by at least two twin network elements, comprises:
Determining the transmission delay of the first flow information between a first physical network element and a second physical network element according to the arrival time of the first flow information recorded by a first twin network element and the arrival time of the first flow information recorded by a second twin network element; 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. The method of claim 6, wherein determining the propagation delay of the first traffic information between the first physical network element and the second physical network element based on 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 comprises:
The transmission delay of the first flow information between the first physical network element and the second physical network element is determined as follows: 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.
8. A delay measurement device for use in a digital twin network, the digital twin network comprising: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the device comprises:
A receiving module, configured to receive, through a time delay deterministic network between the physical network element and the twin network element, first traffic information transmitted by the physical network element; wherein, time synchronization is realized among all twin network elements of the twin network;
And the determining module is used for determining the transmission delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
9. A digital twin network, the digital twin network comprising: the system comprises a physical network and a twin network, wherein each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network element comprises a processor and a transceiver, the transceiver receiving and transmitting data under the control of the processor, characterized in that the processor is configured to:
receiving first flow information transmitted by the physical network element through a time delay deterministic network between the physical network element and the twin network element; wherein, time synchronization is realized among all twin network elements of the twin network;
And determining the transmission time delay of the first flow information between the physical network elements according to the arrival time of the first flow information recorded by at least two twin network elements.
10. The digital twin network of claim 9, wherein the processor is further configured to:
And determining the arrival time of the first flow information recorded by the twin network element according to the local time of the twin network element when the first flow information arrives at the twin network element, the transmission delay between the physical network element and the twin network element and the reference delay.
11. The digital twin network of claim 10, wherein the processor is further configured to:
determining the arrival time of the first flow information recorded by the twin network element according to a first formula; wherein, the first formula is:
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, tmax is the reference delay, and Tn is the transmission delay between the physical network element and the twin network element.
12. The digital twin network of claim 10 or 11, wherein the processor is further configured to:
Determining transmission delay between each physical network element and a twin network element corresponding to the physical network element;
And selecting the maximum transmission delay as the reference delay.
13. The digital twin network of claim 9, wherein the processor is further configured to:
If a plurality of 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 realize time synchronization among the twin network elements.
14. The digital twin network of claim 9, wherein the processor is further configured to:
Determining the transmission delay of the first flow information between a first physical network element and a second physical network element according to the arrival time of the first flow information recorded by a first twin network element and the arrival time of the first flow information recorded by a second twin network element; 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.
15. The digital twin network of claim 14, wherein the processor is further configured to:
The transmission delay of the first flow information between the first physical network element and the second physical network element is determined as follows: 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. A digital twin network comprising a memory, a processor and a program stored on the memory and executable on the processor; a method of delay measurement according to any one of claims 1 to 7 when said processor executes said program.
17. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the time delay measuring method as claimed in any one of claims 1-7.
CN202110589929.2A 2021-05-28 2021-05-28 Time delay measurement method and device and digital twin network Active CN115412463B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110589929.2A CN115412463B (en) 2021-05-28 2021-05-28 Time delay measurement method and device and digital twin network
PCT/CN2022/084888 WO2022247463A1 (en) 2021-05-28 2022-04-01 Delay measurement method and apparatus, and digital twin network

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN115412463A CN115412463A (en) 2022-11-29
CN115412463B true CN115412463B (en) 2024-06-04

Family

ID=84154872

Family Applications (1)

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

Country Status (2)

Country Link
CN (1) CN115412463B (en)
WO (1) WO2022247463A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118740651A (en) * 2023-03-28 2024-10-01 华为技术有限公司 Network twin management method, device, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835565A (en) * 2020-07-06 2020-10-27 重庆金美通信有限责任公司 Communication network optimization method, device and system based on digital twin
WO2021031454A1 (en) * 2019-08-21 2021-02-25 佳都新太科技股份有限公司 Digital twinning system and method and computer device
WO2021036969A1 (en) * 2019-08-30 2021-03-04 华为技术有限公司 Data transmission latency compensation method, terminal device and trp
CN112733303A (en) * 2019-10-11 2021-04-30 中国科学院沈阳自动化研究所 Multi-strategy industrial TSN shaper modeling method based on deterministic network calculation

Family Cites Families (5)

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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031454A1 (en) * 2019-08-21 2021-02-25 佳都新太科技股份有限公司 Digital twinning system and method and computer device
WO2021036969A1 (en) * 2019-08-30 2021-03-04 华为技术有限公司 Data transmission latency compensation method, terminal device and trp
CN112733303A (en) * 2019-10-11 2021-04-30 中国科学院沈阳自动化研究所 Multi-strategy industrial TSN shaper modeling method based on deterministic network calculation
CN111835565A (en) * 2020-07-06 2020-10-27 重庆金美通信有限责任公司 Communication network optimization method, device and system based on digital twin

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Reducing Offloading Latency for Digital Twin Edge Networks in 6G;Sun Wen等;IEEE;20200824;全文 *
面向6G的URLLC需求与关键技术分析;潘成康;王爱玲;;移动通信;20200215(第02期);全文 *

Also Published As

Publication number Publication date
WO2022247463A1 (en) 2022-12-01
CN115412463A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
CN107508719B (en) Method and device for measuring network time delay and network node
CN103404054B (en) For the method and apparatus of the Annual distribution in communication network
CN107360060B (en) Time delay measuring method and device
WO2018006686A1 (en) Method, apparatus and device for optimizing time synchronization between communication network devices
CN103929293A (en) Asymmetrically-delayed time synchronization method and system
CN103580846B (en) A kind of method and system across non-1588 network transmission precision interval clock messages
CN101808167B (en) Method for procedure tracking, device and system
CN105515708B (en) A kind of clock synchronization accuracy test device and method based on FC networks
CN111835656B (en) Priority-based service real-time arranging method in industrial internet
CN109257133B (en) Whole-network clock synchronization method and device applied to LTE (Long term evolution) rail transit network
CN113114533B (en) Network time consumption display method and device for distributed service invocation
CN105634840A (en) Method and device for measuring packet loss
Yang et al. A systematic network traffic emulation framework for digital twin network
CN115412463B (en) Time delay measurement method and device and digital twin network
CN101902370A (en) Device, system and method for measuring frame delay
JP5675703B2 (en) Communication device, control device, and program
CN115277519A (en) Flow shaping test method, system, device and medium
CN106161121A (en) The measuring method of a kind of message Forwarding Delay, Apparatus and system
CN108111365B (en) Time delay measurement processing method and system
CN115484173A (en) Flow simulation method of digital twin network and digital twin network
CN101420281B (en) Method and arrangement for transferring a time of day value between network elements
CN103986601A (en) Message transmission delay obtaining method and device
CN113381832B (en) Precise time synchronization method based on FPGA platform
CN116888928A (en) Network node for a vehicle
CN107786292A (en) A kind of measuring method and device of protocol stack network time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant