CN115412463A - Time delay measuring method and device and digital twin network - Google Patents
Time delay measuring method and device and digital twin network Download PDFInfo
- Publication number
- CN115412463A CN115412463A CN202110589929.2A CN202110589929A CN115412463A CN 115412463 A CN115412463 A CN 115412463A CN 202110589929 A CN202110589929 A CN 202110589929A CN 115412463 A CN115412463 A CN 115412463A
- Authority
- CN
- China
- Prior art keywords
- network element
- twin
- twin network
- traffic information
- physical
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 claims abstract description 86
- 238000005259 measurement Methods 0.000 claims description 19
- 238000000691 measurement method Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000001934 delay Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/40—Arrangements 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing 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 network 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: 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; time synchronization is realized among all twin network elements of the twin network; 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; in the time delay measuring method, the physical network does not need to send a measuring message, change the physical network, change a service message and support a time synchronization protocol by a physical network element, and all service types can be tested with high time delay measuring precision.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for measuring delay and a digital twin network.
Background
As shown in fig. 1, the definition of the digital twin network is: a network system has a physical network entity and a virtual twin, which can be mapped interactively in real time. In this system, various network management and applications may utilize the digital twin network for efficient analysis, diagnosis, simulation, and control of the physical network. Wherein the digital twin network comprises: a physical network layer and a twin network layer. The twin network layer completes the virtual mapping of the physical network layer, namely each physical network element of the physical network layer has a corresponding twin network element on the twin network layer. The information of network element connection relation, flow data, network element state data and the like in the physical network layer can be virtually mapped in the twin network layer, the physical network and the twin network are mutually mapped, and 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 the measurement of the loopback delay or the one-way delay of a sending end and a receiving end, wherein the active measurement has the advantage of flexible application and has the defect that the time delay of real service cannot be measured only by measuring the measurement protocol message, and the time synchronization protocol needs to be supported by physical network elements of the sending end and the receiving end when the one-way delay is measured;
2) Passive measurement: the network delay is calculated by collecting actual service flow, the passive measurement has the advantages that the actual service delay index can be measured, the defect is that only a Protocol with a round trip message, such as a Transmission Control Protocol (TCP), can be measured, and for unidirectional Transmission, a Protocol without a round trip confirmation message, such as a User Datagram Protocol (UDP), cannot be measured by passive measurement.
3) Mixing measurement: the hybrid measurement is a combination of active and passive measurements, i.e. some fields or flag bits are inserted into the service message to implement the delay measurement of the actual service, and the disadvantage is that the format of the actual service message is changed, which may affect the forwarding behavior of the service, causing observer effect, and requiring that the physical network element can identify and forward the modified service message.
In summary, the above 3 delay measurement methods have the following disadvantages:
1) The measurement message is injected into the actual network, which can increase the network load and occupy the network resource;
2) The time delay of all protocol types cannot be measured, and the protocol types are required;
3) After the format of the service message is changed, the physical network needs to be upgraded, so that the implementation difficulty is high;
4) Measuring the one-way delay requires that the physical network element supports the time synchronization protocol.
Disclosure of Invention
The embodiment of the invention aims to provide a time delay measuring method, a time delay measuring device and a digital twin network, and aims to solve the problem that the traditional network time delay measuring method in the prior art cannot meet the time delay measurement of the digital twin network.
In order to solve the above problem, an embodiment of the present invention provides a delay measuring method, which is applied to a digital twin network, where the digital twin network includes: the network 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:
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; 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 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.
Wherein the method further comprises:
and the twin network element determines 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.
Wherein, 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 time delay, and Tn is the transmission time delay between the physical network element and the twin network element.
Wherein the method further comprises:
the twin network element determines the transmission time 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 a plurality of twin network elements are distributed in different physical entities, the method further comprises:
and the precise time protocol PTP or the network time protocol NTP is used between the physical entities to realize the time synchronization between the twin network elements.
Wherein, the determining, by the twin network element, 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 includes:
determining the transmission delay of the first traffic information between the first physical network element and the 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; 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 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, the transmission delay of the first traffic information between the first 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: a difference between a time of arrival of said first traffic information recorded by the second twin network element and a time of arrival of said first traffic information recorded by the first twin network element.
The embodiment of the present invention further provides a delay measuring device, which is applied to a digital twin network, where the digital twin network includes: the network 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 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 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.
An embodiment of the present invention further provides a digital twin network, where the digital twin network includes: the network 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 traffic information transmitted by the physical network element through a delay deterministic network between the physical network element and the twin network element; time synchronization is realized among all twin network elements of the twin network;
and determining 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.
Wherein the processor is further configured to:
and determining 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.
Wherein the processor is further configured to:
determining the 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 time delay, and Tn is the transmission time delay between the physical network element and the twin network element.
Wherein the processor is further configured to:
determining the transmission time 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 the processor is further configured to:
if a plurality of twin network elements are distributed in different physical entities, the precise time protocol PTP or the network time protocol NTP is used between the physical entities to realize the time synchronization between the twin network elements.
Wherein the processor is further configured to:
determining the transmission delay of the first traffic information between the first physical network element and the 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; 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:
determining that the transmission delay of the first traffic information between the first physical network element and the second physical network element is: a difference between a time of arrival of said first traffic information recorded by the second twin network element and a time of arrival of said first traffic information recorded by the first twin network element.
The embodiment of the present invention further provides a digital twin network, which includes a memory, a processor, and a program stored in the memory and capable of running on the processor, and the processor implements the time delay measurement method as described above when executing the program.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the time delay measurement method described above.
The technical scheme of the invention at least has 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 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 measuring method, the physical network does not need to send a measuring message, change the physical network, change a service message and support a time synchronization protocol by a physical network element, and all service types can be tested with high time delay measuring precision.
Drawings
FIG. 1 shows a schematic of the structure of a digital twin network;
FIG. 2 is a flow chart illustrating the steps of a method for measuring delay according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a digital twin network corresponding to the delay measurement method according to an embodiment of the present invention;
fig. 4 is a second schematic diagram illustrating a digital twin network corresponding to the delay measurement method according to the embodiment of the invention;
FIG. 5 is a diagram illustrating an exemplary method for measuring delay according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a delay measuring apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a digital twin network provided in an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is 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, which is applied to a digital twin network, where the digital twin network includes: the network 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:
In the embodiment of the invention, the traffic information transmission network between the physical network and the twin network uses the delay deterministic network, so that the traffic information transmission delay between each physical network element and the corresponding twin network element is constant. 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, and the transmission delays Tn and 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 and unchanged. The twin network can calculate and determine the transmission time delay T1-Tn of the flow information in advance.
It should be noted that, 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.
Wherein, 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 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 time delay, and Tn is the transmission time 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, at this time, 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, namely the local time T1 is delayed by Tmax-T1); similarly, other twin network elements record the first traffic information reaching time as Tn + Tmax-Tn. And finally, the twin network element calculates 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.
As at least one optional embodiment of the invention, the method further comprises:
the twin network element determines the transmission time 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 as the reference delay, for example, T3 in fig. 3 is the maximum delay Tmax.
As another optional embodiment, time synchronization is implemented between 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, they share a local clock, and the time synchronization is implemented between the twin network elements; if the twin network elements are distributed in different physical entities, the method further comprises:
PTP (precision Time Protocol) or NTP (Network Time Protocol) is used between the physical entities to realize Time synchronization between the twin Network elements.
As an alternative embodiment, step 202 comprises:
determining the transmission delay of the first traffic information between the first physical network element and the 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; 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, the transmission delay of the first traffic information between the first 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 difference between the arrival time of said first traffic information recorded by the second twin network element and the arrival time of said first traffic information recorded by the first twin network element.
For example, as shown in fig. 3 and fig. 4, when a certain data packet of the first traffic information arrives at the physical net element 1, the physical net element 1 transmits the first traffic information to the twin net element 1, and the transmission delay T1 is that the local time of the twin net element 1 is T1, and the twin net element 1 records that the arrival time of the first traffic information is: t1+ Tmax-T1;
as shown in fig. 3 and 4, after detecting that the same data packet (i.e., the first traffic information) arrives, the physical network element 2 reaches the twin network element 2 after a time delay T2, at this time, the local time of the twin network element 2 is T2, and the twin network element 2 records that the arrival time of the first traffic information is: t2+ Tmax-T2, then (T2 + Tmax-T2) - (T1 + Tmax-T1) is the one-way transmission delay of the first traffic information between the twin net element 1 and the twin net element 2, and is also the one-way delay of the first traffic information from the physical net element 1 to the physical net element 2.
Similarly, as shown in fig. 3 and 4, when 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 after a time delay Tn, and the local time of the twin network element n is Tn, 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 one-way transmission delay from physical network element 1 to physical network element n in the physical network.
Therefore, the transmission delay of the traffic information in the physical network element is obtained through the arrival time of the traffic information recorded by the twin network element, and only the twin network element time synchronization is needed in the measurement process, and the physical network element time synchronization is not needed. The time delay measurement precision depends on the time synchronization precision of the twin network element, and if a PTP synchronization protocol is used, the time delay measurement precision can reach nanosecond level.
As shown in fig. 5, the delay measurement method includes:
1: modeling according to a physical network to construct a digital twin network;
2: time synchronization is realized among all twin network elements in the twin network;
if different twin network elements are borne in the same physical entity, for example, deployed in the same server, a local clock is shared, and the twin network elements are time-synchronized;
if different twin network elements are distributed in different physical entities, PTP or NTP is used between the physical entities to realize time synchronization, so that time synchronization of all the twin network elements is realized;
3: a flow information transmission network from the physical network to the twin network uses a delay deterministic network to ensure that the transmission delay of the flow information between each physical network element and the twin network element is constant;
4: the twin network calculates the traffic information transmission time delays T1 to Tn in advance, and selects the maximum time delay Tmax as a reference, for example, T3 in fig. 3 is the maximum time 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, the transmission delay is T1, the twin network element records that the arrival time of the traffic information is T1+ Tmax-T1 instead of the local time T1, namely the delayed Tmax-T1; similarly, the other twin network elements record the traffic information to reach time Tn + Tmax-Tn. And finally, the twin network element calculates the transmission delay of the flow between the physical network elements according to the arrival time of the flow information.
To sum up, the embodiment of the present invention obtains the transmission delay of the traffic information between the physical network elements according to the arrival time of the traffic information recorded by the twin network element; in the time delay measuring method, the physical network does not need to send a measuring message, change the physical network, change a service message and support a time synchronization protocol by a physical network element, and all service types can be tested with high time delay measuring precision.
As shown in fig. 6, an embodiment of the present invention further provides a delay measuring apparatus, which is applied to a digital twin network, where the digital twin network includes: the network 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 delay deterministic network between the physical network element and the twin network element, first traffic information transmitted by the physical network element; time synchronization is realized among all twin network elements of the twin network;
a determining module 602, configured to determine, according to the arrival times of the first traffic information recorded by at least two twin network elements, a transmission delay of the first traffic information between the physical network elements.
As an alternative embodiment, the apparatus further comprises:
and a time determining module, configured to determine 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 a reference delay.
As an alternative embodiment, the time determination module comprises:
the time determining submodule is used for determining the 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 time delay, and Tn is the transmission time delay between the physical network element and the twin network element.
As an alternative embodiment, the apparatus further comprises:
a first time delay determining module, configured to determine a transmission time 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 optional embodiment, if a plurality of twin network elements are distributed in different physical entities, the apparatus further includes:
and the time synchronization module is used for realizing time synchronization among all twin network elements by using a Precision Time Protocol (PTP) or a Network Time Protocol (NTP) between the physical entities.
As an alternative embodiment, the determining module comprises:
a first determining submodule, configured to determine, 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, a transmission delay of the first traffic information between a first physical network element and a second physical 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 that a 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 said first traffic information recorded by the second twin network element and the arrival time of said first traffic information recorded by the first twin network element.
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 element; in the time delay measuring method, the physical network does not need to send a measuring message, change the physical network, change a service message and support a time synchronization protocol by a physical network element, and all service types can be tested with high time delay measuring precision.
It should be noted that the delay measurement apparatus provided in the embodiments of the present invention is an apparatus capable of executing the delay measurement method, and all embodiments of the delay measurement method are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 7, an embodiment of the present invention further provides a digital twin network, where the digital twin network includes: the network 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 configured to:
receiving first traffic information transmitted by the physical network element through a delay deterministic network between the physical network element and the twin network element; time synchronization is realized among all twin network elements of the twin network;
and determining 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.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
and determining 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.
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 time delay, and Tn is the transmission time 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 the transmission time 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.
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 precise time protocol PTP or the network time protocol NTP is used between the physical entities to realize the time synchronization between 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 traffic information between the first physical network element and the 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; 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:
determining the transmission delay of the first traffic information between the first physical network element and the second physical network element as follows: the difference between the arrival time of said first traffic information recorded by the second twin network element and the arrival time of said first traffic information recorded by the first twin network element.
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 element; in the time delay measuring method, the physical network does not need to send a measuring message, does not change the physical network, does not change a service message, does not need a physical network element to support a time synchronization protocol, can test all service types, and has high time delay measuring precision.
It should be noted that the digital twin network provided in the embodiments of the present invention is a digital twin network capable of executing the above-mentioned delay measurement method, and all embodiments of the above-mentioned delay measurement method are applicable to the digital twin network, and can achieve the same or similar beneficial effects.
The embodiment of the present invention further provides a digital twin network, which includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, where the processor implements each process in the above-described embodiment of the delay measurement method when executing the program, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements each process in the above-described embodiment of the time delay measurement method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, 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, disk storage, optical storage, and the like) 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 embodiment of the present invention, it will be appreciated by those skilled in the art that various changes and modifications may be made therein without departing from the principles of the invention as set forth in the appended claims.
Claims (17)
1. A delay measurement method applied to a digital twin network, the digital twin network comprising: the network 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:
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; 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 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. The method of claim 1, further comprising:
and the twin network element determines 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.
3. The method of claim 2, wherein the determining, by the twin net element, the arrival time of the first traffic information recorded by the twin net element according to the local time of the twin net element when the first traffic information arrives at the twin net element, the transmission delay between the physical net element and the twin net element, and a reference delay comprises:
determining the 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 time delay, and Tn is the transmission time 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 time 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 the plurality of twin network elements are distributed in different physical entities, the method further comprises:
and the precise time protocol PTP or the network time protocol NTP is used between the physical entities to realize the time synchronization between the twin network elements.
6. The method of claim 1, wherein the determining, by the twin network element, 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 comprises:
determining the transmission delay of the first traffic information between the first physical network element and the 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; 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 the determining the transmission delay of the first traffic information between the first physical network element and the 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:
determining 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 said first traffic information recorded by the second twin network element and the arrival time of said first traffic information recorded by the first twin network element.
8. A latency measurement device, applied to a digital twin network, the digital twin network comprising: the network 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 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 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 comprising: the network 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 comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, characterized in that the processor is configured to:
receiving first traffic information transmitted by the physical network element through a delay deterministic network between the physical network element and the twin network element; time synchronization is realized among all twin network elements of the twin network;
and determining 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.
10. The digital twin network of claim 9, wherein the processor is further configured to:
and determining 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.
11. The digital twin network of claim 10, wherein the processor is further configured to:
determining the 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 time delay, and Tn is the transmission time 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 the transmission time 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.
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 precise time protocol PTP or the network time protocol NTP is used between the physical entities to realize the time synchronization between 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 traffic information between the first physical network element and the 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; 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:
determining 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 said first traffic information recorded by the second twin network element and the arrival time of said 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; characterized in that the processor, when executing the program, implements the latency measurement method according to any one of claims 1 to 7.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the latency measurement method according to any one of claims 1 to 7.
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 true CN115412463A (en) | 2022-11-29 |
CN115412463B 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) |
Citations (4)
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)
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 |
-
2021
- 2021-05-28 CN CN202110589929.2A patent/CN115412463B/en active Active
-
2022
- 2022-04-01 WO PCT/CN2022/084888 patent/WO2022247463A1/en unknown
Patent Citations (4)
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)
Title |
---|
SUN WEN等: "Reducing Offloading Latency for Digital Twin Edge Networks in 6G", IEEE, 24 August 2020 (2020-08-24) * |
潘成康;王爱玲;: "面向6G的URLLC需求与关键技术分析", 移动通信, no. 02, 15 February 2020 (2020-02-15) * |
Also Published As
Publication number | Publication date |
---|---|
WO2022247463A1 (en) | 2022-12-01 |
CN115412463B (en) | 2024-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107508719B (en) | Method and device for measuring network time delay and network node | |
Megyesi et al. | Challenges and solution for measuring available bandwidth in software defined networks | |
CN109726016A (en) | A kind of link tracing methods, devices and systems for distributed system | |
CN107360060B (en) | Time delay measuring method and device | |
EP2434673A2 (en) | Network synchronization method and apparatus for performing time synchronization between nodes | |
EP1424809B1 (en) | Decentralized SLS monitoring in a differentiated service environment | |
CN103168440B (en) | Time path compensation method and device | |
CN103546268B (en) | The compensation method of a kind of system time and equipment | |
WO2022166694A1 (en) | Test system and test method for time-sensitive network device | |
KR20130103781A (en) | Master device and slave device and time synchronization method | |
CN101808167B (en) | Method for procedure tracking, device and system | |
CN112765030A (en) | Test method, test device, electronic equipment and computer storage medium | |
CN109254913A (en) | Collaborative share method, apparatus, electronic equipment and computer storage medium | |
KR101801801B1 (en) | Slot frame virtualization System and Method for TSCH based industrial wireless network | |
CN104144047A (en) | Synchronization method of communication network system, intermediate node and slave node | |
KR20180099140A (en) | Apparatus and method for synchoronizing clock | |
CN113708869B (en) | Method, device and system for configuring port state | |
CN115412463A (en) | Time delay measuring method and device and digital twin network | |
CN112039621B (en) | Time synchronization method and system | |
CN103986601A (en) | Message transmission delay obtaining method and device | |
CN109756391B (en) | Time delay information measuring method of switching network | |
CN114024854A (en) | System, node, method and medium for sharing slice mean subjective opinion score data | |
CN109120469B (en) | Line transmission delay calculation method and device | |
CN115277519A (en) | Flow shaping test method, system, device and medium | |
CN115484173A (en) | Flow simulation method of digital twin network and digital twin network |
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 |