Traffic simulation method of digital twin network and digital twin network
By collecting and processing the traffic information of physical network elements in the digital twin network, and using the delay deterministic network to generate twin traffic, it solves the problem that existing technology cannot simulate physical network traffic and achieves accurate simulation and consistency of traffic information. .
Patent Information
- Application Number
- CN202110589918.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-05-28
AI Technical Summary
Existing technologies cannot simulate traffic on physical networks, resulting in digital twin networks lacking accurate simulation capabilities in application scenarios such as innovative verification of new network technologies, low-cost trial and error, and intelligent operation and maintenance.
By setting up a twin data management unit in the digital twin network, the data set of the physical network element is collected, including traffic information and physical network element identification, and the data set is sent to the corresponding twin network element using the delay deterministic network and transmitted according to the benchmark. Time generates twin traffic to ensure consistency between twin traffic and actual traffic.
It achieves the consistency of traffic information between physical network elements and twin network elements, and meets the consistency of traffic forwarding paths, status and characteristics, thereby achieving accurate simulation of physical network traffic.
Smart Images

Figure CN115484173B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a traffic simulation method for a digital twin network and a digital twin network. Background Art
[0002] like Figure 1 As shown in Figure 1, the definition of a digital twin network is: a network system with a physical network entity and a virtual twin, and the two can be mapped interactively in real time. In this system, various network management and applications can use the digital twin network to efficiently analyze, diagnose, simulate and control the physical network. Among them, the digital twin network includes: a physical network layer and a twin network layer. The twin network layer completes the virtual mapping of the physical network layer, that is, each physical network element in the physical network layer has a corresponding twin network element in the twin network layer. The network element connection relationship, traffic data, network element status data and other information in the physical network layer will be virtually mapped in the twin network layer, the physical network and the twin network are mapped to each other, and the data interacts in real time. Among them, the physical network and the twin network have the same topology and the same number of network elements.
[0003] Digital twin networks can be used for new network technology innovation verification, network precision planning, network intelligent operation and maintenance, network full life cycle management and other functions, and are an important technical direction for future networks. Important application scenarios of digital twin networks, such as new network technology innovation verification, network low-cost trial and error, network intelligent operation and maintenance, etc., all require the twin network to accurately simulate the physical network traffic and generate twin traffic. At present, the research on digital twin networks is still in its early stages, and there is no solution for how twin networks can simulate the traffic of physical networks. Summary of the invention
[0004] The purpose of the present invention is to provide a traffic simulation method for a digital twin network and a digital twin network to solve the problem in the prior art that the twin network cannot realize traffic simulation of the physical network.
[0005] In order to solve the above problems, the present invention provides a traffic simulation method for a digital twin network, which is applied to a digital twin network, wherein the digital twin network includes: 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 also includes a twin data management unit, and the method includes:
[0006] The twin data management unit collects a data set of a physical network element, wherein the data set includes: first flow information, a physical network element identifier, and a flow sampling rate; wherein a time-deterministic network is used between the twin data management unit and the physical network element;
[0007] The twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier according to the reference transmission time;
[0008] The twin network element generates twin traffic based on the data set.
[0009] Wherein, the method further comprises:
[0010] The twin data management unit determines the transmission time of the flow information of each physical network element to the twin data management unit;
[0011] The twin data management unit selects the maximum transmission time as the benchmark transmission time.
[0012] The twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier according to the reference transmission time, including:
[0013] In the case where the first transmission time of the data set from the physical network element to the twin data management unit is less than the reference transmission time, the twin data management unit receives the data set and waits for a second time before sending the data set to the twin network element corresponding to the physical network element identifier; wherein the second time is equal to the difference between the reference transmission time and the first transmission time;
[0014] or,
[0015] When the first transmission time from the data set of the physical network element to the twin data management unit is equal to the benchmark transmission time, the twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier after receiving the data set.
[0016] The data set also includes at least one of the following:
[0017] Source MAC address; destination MAC address; protocol type; source IP address; destination IP address; protocol number; source port number; destination port number; message priority; message length; message forwarding delay.
[0018] The physical network element identifier is the MAC address of the physical network element;
[0019] The identifier of the twin network element corresponding to the physical network element identifier includes: the MAC address of the physical network element and the identifier of the twin network element.
[0020] The twin data management unit collects data sets of physical network elements, including:
[0021] The twin data management unit collects the actual traffic of the physical network element packet by packet or by sampling to obtain first traffic information;
[0022] The twin data management unit generates a data set including the first flow information, the physical network element identifier and the flow sampling rate.
[0023] Wherein, when the twin data management unit obtains the first flow information by sampling collection, the twin network element generates twin flow according to the data set, including:
[0024] The twin network element calculates the rate and packet loss rate of the actual traffic of the physical network element according to the traffic sampling rate in the data set;
[0025] Generate twin traffic based on the rate and packet loss rate of the actual traffic of the physical network element.
[0026] The embodiment of the present invention further provides a digital twin network, the digital twin network comprising: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network further comprises a twin data management unit, the twin data management unit comprises a processor and a transceiver, the transceiver receives and sends data under the control of the processor, characterized in that the processor is used to perform the following operations:
[0027] Collecting a data set of a physical network element, the data set comprising: first flow information, a physical network element identifier and a flow sampling rate; wherein a delay deterministic network is used between the twin data management unit and the physical network element;
[0028] According to the reference transmission time, the data set is sent to the twin network element corresponding to the physical network element identifier;
[0029] The twin network element also includes a processor, which is used to perform the following operations: generating twin traffic based on the data set.
[0030] The processor is further configured to perform the following operations:
[0031] Determine the transmission time of the flow information of each physical network element to the twin data management unit;
[0032] The maximum transmission time is selected as the reference transmission time.
[0033] The processor is further configured to perform the following operations:
[0034] In the case where the first transmission time of the data set of the physical network element to the twin data management unit is less than the reference transmission time, after receiving the data set, wait for a second time and then send the data set to the twin network element corresponding to the physical network element identifier; wherein the second time is equal to the difference between the reference transmission time and the first transmission time;
[0035] or,
[0036] When the first transmission time of the data set of the physical network element to the twin data management unit is equal to the reference transmission time, after receiving the data set, the data set is sent to the twin network element corresponding to the physical network element identifier.
[0037] The data set also includes at least one of the following:
[0038] Source MAC address; destination MAC address; protocol type; source IP address; destination IP address; protocol number; source port number; destination port number; message priority; message length; message forwarding delay.
[0039] The physical network element identifier is the MAC address of the physical network element;
[0040] The identifier of the twin network element corresponding to the physical network element identifier includes: the MAC address of the physical network element and the identifier of the twin network element.
[0041] The processor is further configured to perform the following operations:
[0042] The actual flow of the physical network element is collected packet by packet or sampled to obtain first flow information;
[0043] Generate a data set including the first flow information, the physical network element identifier and the flow sampling rate.
[0044] The processor of the twin network element is further used to perform the following operations:
[0045] When the twin data management unit obtains the first flow information by sampling, the actual flow rate and packet loss rate of the physical network element are calculated according to the flow sampling rate in the data set;
[0046] Generate twin traffic based on the rate and packet loss rate of the actual traffic of the physical network element.
[0047] An embodiment of the present invention also provides a digital twin network, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the traffic simulation method of the digital twin network as described above is implemented.
[0048] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the traffic simulation method for the digital twin network as described above.
[0049] The above technical solution of the present invention has at least the following beneficial effects:
[0050] In the traffic simulation method of the digital twin network and the digital twin network of the embodiment of the present invention, the twin data management unit collects a data set including traffic information, a physical network element identifier and a traffic sampling rate, and sends the data set to the twin network element corresponding to the physical network element identifier according to the benchmark transmission time. The twin network element generates a twin traffic that is delayed by the benchmark transmission time relative to the actual traffic based on the data set, thereby achieving accurate simulation of the actual traffic of the physical network element and the twin traffic of the twin network element. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram showing the structure of a digital twin network;
[0052] Figure 2 A flow chart showing the steps of a traffic simulation method for a digital twin network provided by an embodiment of the present invention;
[0053] Figure 3 A schematic diagram showing the principle of a digital twin network corresponding to the traffic simulation method provided in an embodiment of the present invention;
[0054] Figure 4 An example diagram showing a traffic simulation method for a digital twin network provided by an embodiment of the present invention;
[0055] Figure 5 A schematic diagram showing the structure of a digital twin network provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0057] If you want to achieve accurate simulation of twin traffic and actual traffic (also called real traffic), the following three characteristics must be met at the same time:
[0058] 1) The traffic forwarding paths are consistent, that is, the number of nodes and links passed by the two are the same;
[0059] 2) The traffic forwarding status is consistent, that is, the two have the same forwarding delay, packet loss, jitter, etc.;
[0060] 3) The traffic characteristics are consistent, that is, the data packets of the two have the same traffic rate, five-tuple, packet length, priority, etc.
[0061] It should be noted that the twin network element is not required to have the traffic forwarding function and can be a virtual network element that only supports the storage function. Therefore, the twin traffic only stores the current traffic status in the twin network element and is not required to implement forwarding behavior.
[0062] like Figure 2 As shown, an embodiment of the present invention provides a traffic simulation method for a digital twin network, which is applied to a digital twin network, wherein the digital twin network includes: 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 also includes a twin data management unit, and the method includes:
[0063] Step 201: The twin data management unit collects a data set of a physical network element, wherein the data set includes: first flow information, a physical network element identifier, and a flow sampling rate; wherein a delay deterministic network is used between the twin data management unit and the physical network element;
[0064] Step 202: The twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier according to the reference transmission time;
[0065] Step 203: The twin network element generates twin traffic based on the data set.
[0066] In an embodiment of the present invention, the twin data management unit and the twin network element are in the same local area network or the same physical entity (such as a server), so the transmission delay between the twin data management unit and the twin network element can be ignored.
[0067] In order to meet the above three characteristics, the embodiments of the present invention need to solve three problems:
[0068] 1) The physical network elements of the physical network and the twin network elements of the twin network have unique identifiers in the entire network, so that the physical network elements and the twin network elements can correspond to each other. The traffic of the physical network passes through those physical network elements, and the twin traffic on the twin network also passes through the same twin network elements, so that the forwarding path is consistent;
[0069] 2) The traffic data of the physical network is collected and managed by the twin data management unit and then distributed to each twin network element. Figure 3 As shown, because data collection takes time, in order to ensure that the twin traffic and the real traffic of the physical network have the same forwarding delay, packet loss, jitter, etc., an embodiment of the present invention proposes to delay the twin traffic for a fixed time (i.e., the benchmark transmission time) to simulate the real traffic.
[0070] 3) The data set collected by the twin data management unit must include key information of the real traffic of the physical network, so that the twin traffic of the twin network is consistent with the real traffic characteristics.
[0071] In response to problem 1), the embodiment of the present invention provides the following technical solutions:
[0072] The physical network element identifier is the MAC address of the physical network element; the twin network element identifier corresponding to the physical network element identifier includes: the MAC address of the physical network element and the twin network element identifier.
[0073] It should be noted that each physical network element will be pre-set with a system MAC address when it leaves the factory. Since the MAC address is unique across the entire network, it can be used as the identification of the physical network element. The twin network element is based on the physical network element system MAC address and expands some fields as its unique identification. One implementation solution is:
[0074] The identification definition of the twin network element: the total length is 56 bits, of which the first 48 bits are the corresponding physical network element system MAC address, and the remaining 8 bits can be customized by the user, for example, to identify the device type, etc.; identifying the twin network element based on the physical network element MAC address not only realizes the one-to-one correspondence between the physical network element and the twin network element, but also realizes the network-wide uniqueness of the twin network element identification.
[0075] In response to problem 2), the present invention provides the following technical solutions:
[0076] The data transmission channel between the physical network element and the twin data management unit uses a time-deterministic network, such as TSN (Time Sensitive Network) and DIP (Deterministic Internet Network). Since the data transmission paths from different physical network elements to the twin data management unit are different and the number of network elements passed through is different, the latency is also different. Figure 3 As shown, T1~Tn are fixed and can be calculated in advance.
[0077] As an optional embodiment, the method further includes:
[0078] The twin data management unit determines the transmission time of the flow information of each physical network element to the twin data management unit;
[0079] The twin data management unit selects the maximum transmission time as the benchmark transmission time.
[0080] like Figure 3 As shown, after the twin data management unit calculates the values of T1~Tn, it selects the maximum value Tmax of all delays as the reference time.
[0081] As another optional embodiment, step 202 includes:
[0082] When the first transmission time of the data set of the physical network element to the twin data management unit is less than the reference transmission time, the twin data management unit waits for a second time after receiving the data set and then sends the data set to the twin network element corresponding to the physical network element identifier; wherein, the second time is equal to the difference between the reference transmission time and the first transmission time.
[0083] Or,
[0084] When the first transmission time of the data set of the physical network element to the twin data management unit is equal to the reference transmission time, the twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier after receiving the data set.
[0085] As Figure 3 shown, assuming that the time for the data of the physical network element to reach the twin data management unit is t1 to tn, when the data transmission time Tn < Tmax, the twin data management unit waits for (Tmax - Tn) time and then sends the data to the twin network element. If Tn = Tmax, then Tmax - Tn = 0, and the twin data management unit immediately sends the data to the twin network element. Thus, the twin traffic is delayed by a fixed time Tmax compared to the real traffic, but the forwarding delay, jitter and other metrics of both are the same for each network element.
[0086] For problem 3), the embodiments of the present invention provide the following technical solutions:
[0087] The data set collected by the twin data management unit should include key information of the real traffic, such as the physical network element identifier and the traffic sampling rate. According to the application requirements, the data set further includes at least one of the following:
[0088] Source MAC address; destination MAC address; protocol type; source IP address; destination IP address; protocol number; source port number; destination port number; packet priority; packet length; packet forwarding delay.
[0089] In at least one embodiment of the present invention, step 201 includes:
[0090] The twin data management unit adopts a per-packet collection or sampling collection method for the actual traffic of the physical network element to obtain the first traffic information;
[0091] The twin data management unit generates a data set including the first traffic information, the physical network element identifier and the traffic sampling rate.
[0092] In the embodiments of the present invention, there are two ways for the twin data management unit to collect the physical network traffic:
[0093] Packet-by-packet collection: The twin traffic of the twin network and the actual traffic of the physical network have the same traffic rate and packet loss rate.
[0094] Sampling collection: According to a certain sampling rate, the twin traffic is collected and the rate and packet loss rate of the real traffic are estimated by calculation. For example, if the actual traffic is 100Mbps and the traffic sampling rate is 1%, the twin traffic only needs to collect 1Mbps and then multiply it by 100 to get the rate and packet loss rate of the real traffic.
[0095] As an optional embodiment, when the twin data management unit obtains the first flow information by sampling, step 203 includes:
[0096] The twin network element calculates the rate and packet loss rate of the actual traffic of the physical network element according to the traffic sampling rate in the data set;
[0097] Generate twin traffic based on the rate and packet loss rate of the actual traffic of the physical network element.
[0098] In summary, the traffic simulation method provided in the embodiment of the present invention realizes high-precision simulation of the real traffic of the physical network element and the twin traffic of the twin network element. The real traffic and the twin traffic meet the following three conditions at the same time:
[0099] The traffic forwarding path is consistent and passes through the same network element nodes;
[0100] The traffic forwarding status is consistent, with the same traffic rate, forwarding delay, packet loss, jitter, etc.;
[0101] The traffic characteristics are consistent, with the same five-tuple, packet length, priority, etc.
[0102] like Figure 4 The following are the steps for implementing the generation of twin traffic of a twin network using the traffic simulation method provided by an embodiment of the present invention:
[0103] Step 1: Build a digital twin network. Physical network elements and twin network elements correspond one-to-one through a unique identifier in the entire network. The number of network elements and topological connections are consistent.
[0104] Step 2, the physical network element assembles the key traffic information into a data set, such as {physical network element identifier, sampling rate, source MAC, destination MAC, protocol type, source IP address, destination IP address};
[0105] Step 3: The twin data management unit collects the data set of traffic information of each physical network element and calculates the maximum delay Tmax of the data transmission channel;
[0106] Step 4: After the twin data management unit collects the data set, it sends the data set to the corresponding twin network element according to the physical network element identifier;
[0107] Step 5: The twin network element generates twin traffic based on the sampling rate and traffic information of the data set. Because the information transmission time between the physical network element and the twin data management unit is fixed at Tmax, the twin data management unit and the twin network element are in the same server or local area network, and the transmission delay is negligible, so the traffic of the twin network is equivalent to the mirror traffic with the actual traffic delayed by Tmax time.
[0108] In summary, in an embodiment of the present invention, the twin data management unit collects a data set including flow information, physical network element identifier and flow sampling rate, and sends the data set to the twin network element corresponding to the physical network element identifier according to the benchmark transmission time. The twin network element generates a twin flow that is delayed by the benchmark transmission time relative to the actual flow based on the data set, thereby achieving accurate simulation of the actual flow of the physical network element and the twin flow of the twin network element.
[0109] like Figure 5 As shown, an embodiment of the present invention further provides a digital twin network, the digital twin network comprising: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network further comprises a twin data management unit, the twin data management unit comprises a processor 500 and a transceiver 510, the transceiver 510 receives and sends data under the control of the processor 500, and the processor 500 is used to perform the following operations:
[0110] Collecting a data set of a physical network element, the data set comprising: first flow information, a physical network element identifier and a flow sampling rate; wherein a delay deterministic network is used between the twin data management unit and the physical network element;
[0111] According to the reference transmission time, the data set is sent to the twin network element corresponding to the physical network element identifier;
[0112] The twin network element also includes a processor, which is used to perform the following operations: generating twin traffic based on the data set.
[0113] As an optional embodiment, the processor is further configured to perform the following operations:
[0114] Determine the transmission time of the flow information of each physical network element to the twin data management unit;
[0115] The maximum transmission time is selected as the reference transmission time.
[0116] As an optional embodiment, the processor is further configured to perform the following operations:
[0117] In the case where the first transmission time of the data set of the physical network element to the twin data management unit is less than the reference transmission time, after receiving the data set, waiting for a second time, the data set is sent to the twin network element corresponding to the physical network element identifier; wherein the second time is equal to the difference between the reference transmission time and the first transmission time;
[0118] or,
[0119] When the first transmission time of the data set of the physical network element to the twin data management unit is equal to the reference transmission time, after receiving the data set, the data set is sent to the twin network element corresponding to the physical network element identifier.
[0120] As an optional embodiment, the data set further includes at least one of the following:
[0121] Source MAC address; destination MAC address; protocol type; source IP address; destination IP address; protocol number; source port number; destination port number; message priority; message length; message forwarding delay.
[0122] As an optional embodiment, the physical network element identifier is a MAC address of the physical network element;
[0123] The identifier of the twin network element corresponding to the physical network element identifier includes: the MAC address of the physical network element and the identifier of the twin network element.
[0124] As an optional embodiment, the processor is further configured to perform the following operations:
[0125] The actual flow of the physical network element is collected packet by packet or sampled to obtain first flow information;
[0126] Generate a data set including the first flow information, the physical network element identifier and the flow sampling rate.
[0127] As an optional embodiment, the processor of the twin network element is further configured to perform the following operations:
[0128] When the twin data management unit obtains the first flow information by sampling, the actual flow rate and packet loss rate of the physical network element are calculated according to the flow sampling rate in the data set;
[0129] Generate twin traffic based on the rate and packet loss rate of the actual traffic of the physical network element.
[0130] In an embodiment of the present invention, the twin data management unit collects a data set including flow information, a physical network element identifier and a flow sampling rate, and sends the data set to the twin network element corresponding to the physical network element identifier according to a benchmark transmission time. The twin network element generates a twin flow that is delayed by the benchmark transmission time relative to the actual flow based on the data set, thereby achieving accurate simulation of the actual flow of the physical network element and the twin flow of the twin network element.
[0131] It should be noted that the digital twin network provided in the embodiment of the present invention is a digital twin network capable of executing the above-mentioned traffic simulation method. All embodiments of the above-mentioned traffic module method are applicable to the digital twin network and can achieve the same or similar beneficial effects.
[0132] An embodiment of the present invention also provides a digital twin network, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the traffic simulation method embodiment of the digital twin network as described above are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be described here.
[0133] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the flow simulation method embodiment of the digital twin network as described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0134] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0135] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A device that specifies functions in one or more processes and / or one or more blocks.
[0136] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0137] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device executes a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0138] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A traffic simulation method for digital twin networks, It is characterized in that Applied to a digital twin network, the digital twin network includes: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network also includes a twin data management unit, and the method includes: The twin data management unit collects a data set of a physical network element, wherein the data set includes: first flow information, a physical network element identifier, and a flow sampling rate; wherein a time-deterministic network is used between the twin data management unit and the physical network element; The twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier according to the reference transmission time; The twin network element generates twin traffic according to the data set; The twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier according to the reference transmission time, including: In the case where the first transmission time of the data set from the physical network element to the twin data management unit is less than the reference transmission time, the twin data management unit receives the data set and waits for a second time before sending the data set to the twin network element corresponding to the physical network element identifier; wherein the second time is equal to the difference between the reference transmission time and the first transmission time; or, When the first transmission time from the data set of the physical network element to the twin data management unit is equal to the benchmark transmission time, the twin data management unit sends the data set to the twin network element corresponding to the physical network element identifier after receiving the data set.
2. The method according to claim 1, It is characterized in that The method further comprises: The twin data management unit determines the transmission time of the flow information of each physical network element to the twin data management unit; The twin data management unit selects the maximum transmission time as the benchmark transmission time.
3. The method according to claim 1, It is characterized in that The data set also includes at least one of the following: Source MAC address; destination MAC address; protocol type; source IP address; destination IP address; protocol number; source port number; destination port number; message priority; message length; message forwarding delay.
4. The method according to claim 1, It is characterized in that The physical network element identifier is the MAC address of the physical network element; The identifier of the twin network element corresponding to the physical network element identifier includes: the MAC address of the physical network element and the identifier of the twin network element.
5. The method according to claim 1, It is characterized in that The twin data management unit collects data sets of physical network elements, including: The twin data management unit collects the actual traffic of the physical network element packet by packet or by sampling to obtain first traffic information; The twin data management unit generates a data set including the first flow information, the physical network element identifier and the flow sampling rate.
6. The method according to claim 5, It is characterized in that In the case where the twin data management unit obtains the first flow information by sampling, the twin network element generates twin flow according to the data set, including: The twin network element calculates the rate and packet loss rate of the actual traffic of the physical network element according to the traffic sampling rate in the data set; Generate twin traffic based on the rate and packet loss rate of the actual traffic of the physical network element.
7. A digital twin network, It is characterized in that The digital twin network includes: a physical network and a twin network, each physical network element of the physical network is provided with a corresponding twin network element in the twin network; the twin network also includes a twin data management unit, the twin data management unit includes a processor and a transceiver, the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations: Collecting a data set of a physical network element, the data set comprising: first flow information, a physical network element identifier and a flow sampling rate; wherein a time-deterministic network is used between the twin data management unit and the physical network element; According to the reference transmission time, the data set is sent to the twin network element corresponding to the physical network element identifier; The twin network element further includes a processor, and the processor is configured to perform the following operations: generating twin traffic according to the data set; The processor is further configured to perform the following operations: In the case where the first transmission time of the data set of the physical network element to the twin data management unit is less than the reference transmission time, after receiving the data set, waiting for a second time, the data set is sent to the twin network element corresponding to the physical network element identifier; wherein the second time is equal to the difference between the reference transmission time and the first transmission time; or, When the first transmission time of the data set of the physical network element to the twin data management unit is equal to the reference transmission time, after receiving the data set, the data set is sent to the twin network element corresponding to the physical network element identifier.
8. The digital twin network according to claim 7, It is characterized in that The processor is further configured to perform the following operations: Determine the transmission time of the flow information of each physical network element to the twin data management unit; The maximum transmission time is selected as the reference transmission time.
9. The digital twin network according to claim 7, It is characterized in that The data set also includes at least one of the following: Source MAC address; destination MAC address; protocol type; source IP address; destination IP address; protocol number; source port number; destination port number; message priority; message length; message forwarding delay.
10. The digital twin network according to claim 7, It is characterized in that The physical network element identifier is the MAC address of the physical network element; The identifier of the twin network element corresponding to the physical network element identifier includes: the MAC address of the physical network element and the identifier of the twin network element.
11. The digital twin network according to claim 7, It is characterized in that The processor is further configured to perform the following operations: The actual flow of the physical network element is collected packet by packet or sampled to obtain first flow information; Generate a data set including the first flow information, the physical network element identifier and the flow sampling rate.
12. The digital twin network according to claim 11, It is characterized in that The processor of the twin network element is further configured to perform the following operations: When the twin data management unit obtains the first flow information by sampling, the actual flow rate and packet loss rate of the physical network element are calculated according to the flow sampling rate in the data set; Generate twin traffic based on the rate and packet loss rate of the actual traffic of the physical network element.
13. A digital twin network, comprising a memory, a processor, and a program stored in the memory and executable on the processor; It is characterized in that When the processor executes the program, it implements the traffic simulation method of the digital twin network as described in any one of claims 1-6.
14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps in the traffic simulation method of the digital twin network as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
NFV network element full-surrounding test method and device based on digital twin technology
CN110247827A
Virtualized network element data traffic exporting method and device and storage medium
CN111405590A
Communication network optimization method, device and system based on digital twinning
CN111835565A
Electric power Internet of Things fault early warning method and system based on digital twinning technology
CN112382064A
Multi-strategy industrial TSN shaper modeling method based on deterministic network calculation
CN112733303A
