CN113890831B - Method, device and storage medium for simulating network equipment - Google Patents

Method, device and storage medium for simulating network equipment Download PDF

Info

Publication number
CN113890831B
CN113890831B CN202111221858.7A CN202111221858A CN113890831B CN 113890831 B CN113890831 B CN 113890831B CN 202111221858 A CN202111221858 A CN 202111221858A CN 113890831 B CN113890831 B CN 113890831B
Authority
CN
China
Prior art keywords
network
information
network device
equipment
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111221858.7A
Other languages
Chinese (zh)
Other versions
CN113890831A (en
Inventor
班瑞
华润多
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111221858.7A priority Critical patent/CN113890831B/en
Publication of CN113890831A publication Critical patent/CN113890831A/en
Application granted granted Critical
Publication of CN113890831B publication Critical patent/CN113890831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

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

Abstract

The application provides a method, a device and a storage medium for simulating network equipment, which relate to the technical field of communication and can improve the accuracy of the simulated network equipment. The method comprises the following steps: device data of the network device is acquired, wherein the device data is used for indicating hardware information of the network device and network information of the network device. And constructing a physical model according to the hardware information and the digital twin model of the network equipment, wherein the physical model is used for reflecting the hardware information of the network equipment. And constructing a network model according to the network information of the network equipment and the digital twin model, wherein the network model is used for reflecting the network information of the network equipment.

Description

Method, device and storage medium for simulating network equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a storage medium for simulating a network device.
Background
With the development of network technology, the network functions are gradually expanded, and the operator network becomes larger and more complex. To ensure proper operation of the network, operators need to expend a lot of resources (e.g., a lot of staff and equipment) to maintain and optimize the network.
Currently, network maintenance personnel can check whether the state and index of the network equipment are normal or not through various network management systems or a machine room where the network equipment is located. The network maintainer may then specify an optimization scheme based on the status of the network device and the metrics. Moreover, the optimization scheme of the network maintainer cannot be tested on real equipment, and scheme simulation can be performed only in an experimental environment or by means of simulation software.
However, the accuracy of the simulation of the solution in the experimental environment or by means of simulation software is low. Therefore, how to improve the accuracy of network device simulation is a technical problem to be solved.
Disclosure of Invention
The application provides a method, a device and a storage medium for simulating network equipment, which can improve the accuracy of the network equipment.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, the present application provides a method of emulating a network device. In the method, device data of the network device are acquired, wherein the device data are used for indicating hardware information of the network device and network information of the network device. And constructing a physical model according to the hardware information and the digital twin model of the network equipment, wherein the physical model is used for reflecting the hardware information of the network equipment. And constructing a network model according to the network information of the network equipment and the digital twin model, wherein the network model is used for reflecting the network information of the network equipment.
Based on the technical scheme, equipment data of the network equipment are acquired, wherein the equipment data are used for indicating hardware information of the network equipment and network information of the network equipment. And then, constructing a physical model according to the hardware information and the digital twin model of the network equipment, wherein the physical model is used for reflecting the hardware information of the network equipment. And constructing a network model according to the network information of the network equipment and the digital twin model, wherein the network model is used for reflecting the network information of the network equipment. Because the accuracy of the digital twin model simulation is higher, the accuracy of the physical model and the network model constructed by the digital twin model, the hardware information of the network device and the network information of the network device is higher. Furthermore, the network optimization scheme can be tested according to the physical model and the network model, so that the network optimization efficiency is improved.
In one possible design, the device data includes: hardware data, network performance data, network configuration data, network routing data, and network alarm data.
In one possible design, data processing is performed on hardware information of the network device to obtain processed hardware information. And constructing a physical model according to the processed hardware information and the digital twin model. And carrying out data processing on the network information of the network equipment to obtain the processed network information. And constructing a network model according to the processed network information and the digital twin model.
In one possible design, hardware information of the emulated network device is displayed based on the physical model. Based on the network model, the network topology of the simulated network device, the routing of the simulated network device, and the traffic flow direction of the simulated network device are displayed.
In one possible design, the network topology of the network device includes a target link, which is any link in the network topology. And constructing a network flow matrix according to the network topology of the simulated network equipment and the flow direction of the simulated network equipment, wherein the network flow matrix is used for reflecting the flow flowing between any two network equipment in the network topology. And determining the flow of the target link according to the route of the simulated network equipment and the network flow matrix, wherein the route of the simulated network equipment is used for indicating the link in the network topology through which the flow passes.
In a second aspect, the present application provides an apparatus for simulating a network device, the apparatus comprising an acquisition unit and a processing unit.
The device comprises an acquisition unit for acquiring device data of the network device, wherein the device data are used for indicating hardware information of the network device and network information of the network device. And the processing unit is used for constructing a physical model according to the hardware information and the digital twin model of the network equipment, and the physical model is used for reflecting the hardware information of the network equipment. The processing unit is also used for constructing a network model according to the network information of the network equipment and the digital twin model, and the network model is used for reflecting the network information of the network equipment.
In one possible design, the device data includes: hardware data, network performance data, network configuration data, network routing data, and network alarm data.
In one possible design, the processing unit is specifically configured to perform data processing on hardware information of the network device to obtain processed hardware information. And constructing a physical model according to the processed hardware information and the digital twin model. And carrying out data processing on the network information of the network equipment to obtain the processed network information. And constructing a network model according to the processed network information and the digital twin model.
In a possible design, the apparatus for simulating a network device further comprises a display unit. And the display unit is used for displaying the hardware information of the simulated network equipment based on the physical model. And the display unit is also used for displaying the network topology of the simulated network equipment, the route of the simulated network equipment and the flow direction of the simulated network equipment based on the network model.
In one possible design, the network topology of the network device includes a target link, which is any link in the network topology. The processing unit is further used for constructing a network flow matrix according to the network topology of the simulated network equipment and the flow direction of the simulated network equipment, and the network flow matrix is used for reflecting the flow flowing between any two network equipment in the network topology. And the processing unit is also used for determining the flow of the target link according to the route of the simulated network equipment and the network flow matrix, and the route of the simulated network equipment is used for indicating the link in the network topology through which the flow passes.
In a third aspect, the present application provides an apparatus for simulating a network device, the apparatus comprising: a processor and a memory; the processor and the memory are coupled; the memory is configured to store one or more programs comprising computer-executable instructions that, when executed by the apparatus of the simulated network device, are executable by the processor to perform the method of simulating a network device as described in the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of emulating a network device as described in any one of the possible implementations of the first aspect and the first aspect.
In a fifth aspect, the present application provides a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being for running a computer program or instructions to implement a method of emulating a network device as described in any one of the possible implementations of the first aspect and the first aspect.
In the above solution, the technical problems and the technical effects that can be solved by the apparatus for simulating a network device, the computer storage medium or the chip can be referred to the technical problems and the technical effects that can be solved by the above first aspect, and are not described herein again.
Drawings
Fig. 1 is a system architecture diagram of a communication system according to an embodiment of the present application;
fig. 2 is a flow chart of a method for simulating a network device according to an embodiment of the present application;
fig. 3 is an example schematic diagram of a network traffic matrix according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for simulating a network device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another device for simulating a network device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The character "/" herein generally indicates that the associated object is an "or" relationship. For example, A/B may be understood as A or B.
The terms "first" and "second" in the description and in the claims of the present application are used for distinguishing between different objects and not for describing a particular sequential order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules but may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
In addition, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "e.g." should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present concepts in a concrete fashion.
Before describing in detail a method for simulating a network device according to an embodiment of the present application, an implementation environment and application field Jing Jinhang of the embodiment of the present application are described.
As shown in fig. 1, a communication system according to an embodiment of the present application includes a network device (e.g., a base station) and a server.
The base station may include various forms of base stations, such as: macro base stations, micro base stations (also referred to as small stations), relay stations, access points, and the like. The method specifically comprises the following steps: an Access Point (AP) in a wireless local area network (Wireless Local Area Network, WLAN), a base station (Base Transceiver Station, BTS) in a global system for mobile communications (Global System for Mobile Communications, GSM) or code division multiple access (Code Division Multiple Access, CDMA), a base station (NodeB, NB) in wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), an Evolved base station (Evolved Node B, eNB or eNodeB) in LTE, a relay station or access point, or a vehicle device, a wearable device, and a next generation Node B (The Next Generation Node B, gNB) in a future 5G network or a base station in a future Evolved public land mobile network (Public Land Mobile Network, PLMN) network, etc.
The server may be a physical server or a cloud server. The server may be in communication with a network device (e.g., a base station). For example, the server acquires information of the network device (e.g., factory information, network device setting information). And, the server may process information of the network device. The server may also store information of the network device.
Alternatively, the network device and the server may be two separate devices. The network device and the server may also be integrated on the same device. The embodiments of the present application are not limited in this regard.
Embodiments of the present application will be specifically described below with reference to the drawings attached to the specification.
As shown in fig. 2, a method for simulating a network device according to an embodiment of the present application includes:
s201, acquiring device data of the network device.
Wherein the device data is used to indicate hardware information of the network device and network information of the network device.
In one possible design, the device data includes: hardware data, network performance data, network configuration data, network routing data, and network alarm data. Wherein the network performance data includes hardware performance data and link performance data.
Illustratively, as shown in table 1, device data for a network device is shown.
Table 1 basic data model table
In one possible implementation, a pre-acquisition device acquires device data for a plurality of network devices. And then, the front-end acquisition equipment transmits equipment data of a plurality of network equipment to the server. For example, there are 100 network devices in the lan a, and network connection is complicated. The pre-acquisition equipment is deployed to aggregate the network equipment, and then the network equipment is transmitted to a resource pool (i.e. a server) through the internet.
In another possible implementation, a server gathers device data for a plurality of network devices. For example, there are 5 network devices in the lan B, and the network connection is simple, and the network devices in the lan B are directly transmitted to the resource pool through the internal network.
Alternatively, after acquiring the device data of the network device, the network data of the network device may be stored.
S202, constructing a physical model according to hardware information and a digital twin model of the network equipment.
Wherein the physical model is used to reflect hardware information of the network device.
As a possible implementation manner, the data processing is performed on the hardware information of the network device, so as to obtain the processed hardware information. And constructing a physical model according to the processed hardware information and the digital twin model.
For example, if the equipment cabinet is 50 cm long, 30 cm wide and 70 cm high. The equipment cabinet may be scaled down (e.g., by a factor of 10) according to a predetermined scale. And then, the length of a cabinet in a physical model constructed by adopting the digital twin model is 5 cm, the width of the cabinet is 3 cm, and the height of the cabinet is 7 cm.
Alternatively, the digital twin model is a model constructed based on digital twin technology (algorithm).
It should be noted that, for the description of constructing the physical model according to the processed hardware information and the digital twin model, reference may be made to the use of the digital twin model in the conventional technology, which is not described herein.
S203, constructing a network model according to the network information and the digital twin model of the network equipment.
Wherein the network model is used to reflect network information of the network device.
As a possible implementation manner, the data processing is performed on the network information of the network device, so as to obtain the processed network information. And constructing a network model according to the processed network information and the digital twin model.
It should be noted that, in the embodiment of the present application, a manner of performing data processing on network information of the network device is not limited. The following describes data processing of network information of a network device in combination with 4 processing methods (method (a), method (b), method (c), and method (d)).
The method (a) is a method of polymerization analysis. Aggregation analysis may aggregate virtual models of underlying entities to obtain virtual models of upper entities through hierarchical relationships in physical entities. For example, the traffic, the receiving and/or sending traffic rate of the interface can be obtained through the acquisition technology, the traffic rate of the interface is aggregated through the corresponding relation among the equipment, the flow direction and the interface, and the total traffic rate between the equipment A and the equipment B can be obtained. Further, by the following association analysis, the interface bandwidth and the interface traffic rate are associated by the interface unique identifier (such as an index), so that the interface bandwidth utilization rate can be obtained, and the bandwidth utilization rates of the device and the flow direction can be aggregated.
The mode (b) is a sampling analysis mode. For example, analysis of netflow data. As shown in table 2, it shows netflow data.
TABLE 2
As can be seen from table 2, the flow is obtained by the byte number, and the flow direction of the flow is obtained by the binding relation between the source address field, the destination address field and the network device. Because the network flow is overlarge, netflow data acquisition is sampling acquisition, and the ratio N is as follows: 1, e.g., n=5000. That is, the true flow rate is 1000×5000.
The method (c) is a method of correlation analysis. For example, by binding a link to a port and a corresponding relationship between the port and the device, the link and the device may be associated, and an average delay between the devices may be associated with a link delay. That is, the average delay between devices is determined by the delay between links.
The method (d) is a method of analysis assignment. The network configuration data of the network equipment is a complete file, which contains a unique identifier, a network protocol, VPN, a metric value, a public and private key and other information, and value information can be obtained and a corresponding virtual model can be established by analyzing equipment configuration.
Based on the technical scheme, equipment data of the network equipment are acquired, wherein the equipment data are used for indicating hardware information of the network equipment and network information of the network equipment. And then, constructing a physical model according to the hardware information and the digital twin model of the network equipment, wherein the physical model is used for reflecting the hardware information of the network equipment. And constructing a network model according to the network information of the network equipment and the digital twin model, wherein the network model is used for reflecting the network information of the network equipment. Because the accuracy of the digital twin model simulation is higher, the accuracy of the physical model and the network model constructed by the digital twin model, the hardware information of the network device and the network information of the network device is higher.
In some embodiments, hardware information of the emulated network device is displayed based on the physical model.
For example, the server may display a simulated enclosure diagram of the network device. The server may also display the simulated cabinet data (e.g., length, width, height, etc.), board information, address information, interface information, etc. of the network device.
In some embodiments, hardware information of the emulated network device is displayed based on the physical model. Based on the network model, the network topology of the simulated network device, the routing of the simulated network device, and the traffic flow direction of the simulated network device are displayed.
Wherein the network topology of the simulated network devices is used to reflect the connection relationship between the network devices. Illustratively, network device a, network device B, and network device C are connected in pairs. The flow direction of the simulated network devices is used to reflect the flow direction of the traffic between the network devices. For example, network device a sends data to network device B, and the traffic flows from network device a to network device B. As another example, network device B sends data to network device a, and traffic flows from network device B to network device a.
In some embodiments, the server may receive the operational instructions, adjust the physical model and/or the network model.
For example, if the operating instruction is to resize a cabinet (e.g., a cabinet length is adjusted from 5 cm to 3 cm), the server may adjust the information of the cabinet in the displayed physical model. For another example, if the operation instruction is to adjust a route/traffic, etc., the server may adjust the displayed network model.
It should be noted that, adding or deleting a network device or a board, and adjusting the binding relationship between a port and a link may result in a change of network topology.
It should be noted that, in the embodiment of the present application, the generation manner of the operation instruction is not limited. For example, a worker may input specific operation instructions to a server. For another example, the worker may input an operation on the server, and then the server receives the operation and generates an operation instruction.
In some embodiments, the network topology of the network device includes a target link, the target link being any link in the network topology. The link a is between the network device a and the network device B, the link B is between the network device a and the network device C, the link C is between the network device B and the network device C, and the target link is any one of the link a, the link B, and the link C.
In one possible implementation, the network traffic matrix is constructed from the network topology of the simulated network device and the traffic flow direction of the simulated network device. The network traffic matrix is used to reflect traffic flowing between any two network devices in the network topology.
Illustratively, as shown in FIG. 3, the plurality of network devices includes network device R1, network device R2, network device Rn. m is m n1 For traffic, m, sent by the network device Rn to the network device R1 1n For traffic, m, sent by the network device R1 to the network device Rn nn Traffic sent to the network device Rn for the network device Rn. For example, m nn 2000 means that the traffic sent from the network device Rn to the network device Rn is 2000.
And determining the flow of the target link according to the route of the simulated network equipment and the network flow matrix, wherein the route of the simulated network equipment is used for indicating the link in the network topology through which the flow passes. It should be noted that, in the embodiment of the present application, the route of the simulated network device may also be determined based on the routing protocol. Routing protocols are classified into interior gateway (Internal gateway protocol, IGP) protocols and border gateway protocol (Border gateway protocol, BGP) protocols. IGP protocols are protocols that exchange routing information between gateways (hosts and routing devices) within an autonomous network. BGP is used to exchange routing information between different autonomous systems. The shortest route can be obtained by both IGP protocol and BGP protocol.
Illustratively, network device a sends traffic to network device B with the shortest route being: network device a-network device D-network device C-network device B.
In one possible implementation, the traffic of the target link may satisfy the following equation one.
Wherein L is k Represents the kth link (i.e., target link) in the network topology, m ij Representing traffic sent by the ith network device to the jth network device, R i -R j Indicating links involved in the route between the i-th network device and the j-th network device, n indicating the number of network devices, i, k and n being integers.
For example, the traffic sent by network device a to network device B is 1000, and its shortest route is: network device a-network device C-network device B. The traffic sent by network device a to network device C is 2000, and its shortest route is: network device a-network device C. The traffic sent by network device B to network device a is 500, and its shortest route is: network device B-network device a. The traffic sent by network device B to network device C is 2000, and its shortest route is: network device B-network device a-network device C. The traffic sent by network device C to network device a is 1500, and its shortest route is: network device C-network device a. The traffic sent by network device C to network device B is 500, and its shortest route is: network device C-network device a-network device B.
Wherein if the target link is a link between network device a-network device C, the traffic of the target link is 7000.
Optionally, the traffic of the target link includes traffic in a first direction and traffic in a second direction. For example, in combination with the above example, if the first direction is a direction in which the network device a transmits to the network device C, and the second direction is a direction in which the network device C transmits to the network device a, the traffic in the first direction is 5000, and the traffic in the second direction is 2000.
It will be appreciated that by calculating the traffic in the link, a simulation may reflect the condition of the actual network device. Therefore, network maintenance personnel can conveniently test the optimization scheme, so that the efficiency of maintaining the network is improved.
The foregoing description of the solution provided by the embodiments of the present application has been presented mainly from the perspective of a computer device. It will be appreciated that the computer device, in order to carry out the functions described above, comprises corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the method steps of simulating a network device of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application also provides a device for simulating the network equipment. The device for simulating the network equipment can be computer equipment, a CPU in the computer equipment, a processing module for simulating the network equipment in the computer equipment, and a client for simulating the network equipment in the computer equipment.
The embodiment of the application may divide the functional module or the functional unit of the device simulating the network device according to the above method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware, or in software functional modules or functional units. The division of the modules or units in the embodiments of the present application is merely a logic function division, and other division manners may be implemented in practice.
Fig. 4 is a schematic structural diagram of an apparatus for simulating a network device according to an embodiment of the present application. The means for simulating a network device is for performing the method for simulating a network device shown in fig. 2. The means for simulating a network device may comprise an acquisition unit 401, a processing unit 402 and a display unit 403.
An acquiring unit 401 is configured to acquire device data of a network device, where the device data is used to indicate hardware information of the network device and network information of the network device. And a processing unit 402, configured to construct a physical model according to the hardware information and the digital twin model of the network device, where the physical model is used to reflect the hardware information of the network device. The processing unit 402 is further configured to construct a network model according to the network information and the digital twin model of the network device, where the network model is used to reflect the network information of the network device.
Optionally, the device data includes: hardware data, network performance data, network configuration data, network routing data, and network alarm data.
Optionally, the processing unit 402 is specifically configured to perform data processing on the hardware information of the network device, so as to obtain the processed hardware information. And constructing a physical model according to the processed hardware information and the digital twin model. And carrying out data processing on the network information of the network equipment to obtain the processed network information. And constructing a network model according to the processed network information and the digital twin model.
Optionally, the display unit 403 is configured to display hardware information of the simulated network device based on the physical model. The display unit 403 is further configured to display, based on the network model, a network topology of the simulated network device, a route of the simulated network device, and a traffic flow direction of the simulated network device.
Optionally, the network topology of the network device includes a target link, and the target link is any link in the network topology. The processing unit 402 is further configured to construct a network traffic matrix according to the network topology of the simulated network device and the traffic flow direction of the simulated network device, where the network traffic matrix is used to reflect the traffic flowing between any two network devices in the network topology. The processing unit 402 is further configured to determine a traffic of the target link according to a route of the simulated network device and a network traffic matrix, where the route of the simulated network device is used to indicate the link in the network topology through which the traffic passes.
Fig. 5 shows yet another possible structure of the apparatus for simulating a network device involved in the above-described embodiment. The device for simulating the network equipment comprises: a processor 501 and a communication interface 502. The processor 501 is configured to control and manage the actions of the apparatus, for example, to perform various steps in the method flows shown in the method embodiments described above, and/or to perform other processes of the techniques described herein. The communication interface 502 is used to support communication of the means of the analog network device with other network entities. The means of emulating a network device may further comprise a memory 503 and a bus 504, the memory 503 being arranged to store program codes and data of the means.
Wherein the processor 501 may implement or execute the various exemplary logic blocks, elements and circuits described in connection with the present disclosure. The processor may be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, units and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
Memory 503 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid state disk; the memory may also comprise a combination of the above types of memories.
Bus 504 may be an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus or the like. The bus 504 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
In actual implementation, the acquisition unit 401 may be implemented by the communication interface 502 shown in fig. 5, and the processing unit 402 may be implemented by the processor 501 shown in fig. 5 invoking program codes in the memory 503. The specific implementation process may refer to the description of the method part of the analog network device shown in fig. 2, and will not be repeated herein.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of simulating a network device in the method embodiments described above.
The embodiment of the application also provides a computer readable storage medium, in which instructions are stored, which when executed on a computer, cause the computer to perform the method for simulating a network device in the method flow shown in the method embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a register, a hard disk, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In the context of the present application, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the apparatus, the computer readable storage medium, and the computer program product for simulating a network device in the embodiments of the present invention can be applied to the above-mentioned method, the technical effects that can be obtained by the method can also refer to the above-mentioned method embodiment, and the embodiments of the present invention are not described herein again.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A method of emulating a network device, the method comprising:
acquiring equipment data of network equipment, wherein the equipment data are used for indicating hardware information of the network equipment and network information of the network equipment;
constructing a physical model according to the hardware information and the digital twin model of the network equipment, wherein the physical model is used for reflecting the hardware information of the network equipment;
constructing a network model according to the network information of the network equipment and the digital twin model, wherein the network model is used for reflecting the network information of the network equipment;
displaying hardware information of the simulated network device based on the physical model;
displaying the simulated network topology of the network device, the simulated route of the network device and the simulated flow direction of the network device based on the network model; the network topology of the network equipment comprises target links, wherein the target links are any links in the network topology;
constructing a network flow matrix according to the simulated network topology of the network equipment and the simulated flow direction of the network equipment, wherein the network flow matrix is used for reflecting the flow flowing between any two network equipment in the network topology;
determining the traffic of the target link according to the simulated route of the network device and the network traffic matrix, wherein the simulated route of the network device is used for indicating the link in the network topology through which the traffic passes.
2. The method of claim 1, wherein the device data comprises: hardware data, network performance data, network configuration data, network routing data, and network alarm data.
3. The method of claim 2, wherein constructing a physical model from the hardware information and the digital twinning model of the network device comprises:
performing data processing on the hardware information of the network equipment to obtain processed hardware information;
constructing the physical model according to the processed hardware information and the digital twin model;
constructing a network model according to the network information of the network equipment and the digital twin model, wherein the method comprises the following steps of:
performing data processing on the network information of the network equipment to obtain processed network information;
and constructing the network model according to the processed network information and the digital twin model.
4. An apparatus for simulating a network device, the apparatus comprising:
an acquiring unit, configured to acquire device data of a network device, where the device data is used to indicate hardware information of the network device and network information of the network device;
the processing unit is used for constructing a physical model according to the hardware information and the digital twin model of the network equipment, and the physical model is used for reflecting the hardware information of the network equipment;
the processing unit is further configured to construct a network model according to the network information of the network device and the digital twin model, where the network model is used to reflect the network information of the network device;
a display unit, configured to display hardware information of the network device based on the physical model;
the display unit is further used for displaying the simulated network topology of the network equipment, the simulated route of the network equipment and the simulated flow direction of the network equipment based on the network model; the network topology of the network equipment comprises target links, wherein the target links are any links in the network topology;
the processing unit is further configured to construct a network traffic matrix according to the simulated network topology of the network device and the simulated traffic flow direction of the network device, where the network traffic matrix is used to reflect traffic flowing between any two network devices in the network topology;
the processing unit is further configured to determine a traffic of the target link according to the simulated route of the network device and the network traffic matrix, where the simulated route of the network device is used to indicate a link in the network topology through which the traffic passes.
5. The apparatus of claim 4, wherein the device data comprises: hardware data, network performance data, network configuration data, network routing data, and network alarm data.
6. The device according to claim 5, wherein the processing unit is adapted, in particular,
performing data processing on the hardware information of the network equipment to obtain processed hardware information;
constructing the physical model according to the processed hardware information and the digital twin model;
performing data processing on the network information of the network equipment to obtain processed network information;
and constructing the network model according to the processed network information and the digital twin model.
7. An apparatus for simulating a network device, comprising: a processor and a memory; the processor and the memory are coupled; the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the apparatus of the analog network device, cause the apparatus of the analog network device to perform the method of any of claims 1-3.
8. A computer readable storage medium having instructions stored therein, which when executed by a computer, performs the method of any of claims 1-3.
CN202111221858.7A 2021-10-20 2021-10-20 Method, device and storage medium for simulating network equipment Active CN113890831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111221858.7A CN113890831B (en) 2021-10-20 2021-10-20 Method, device and storage medium for simulating network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111221858.7A CN113890831B (en) 2021-10-20 2021-10-20 Method, device and storage medium for simulating network equipment

Publications (2)

Publication Number Publication Date
CN113890831A CN113890831A (en) 2022-01-04
CN113890831B true CN113890831B (en) 2024-02-13

Family

ID=79003724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111221858.7A Active CN113890831B (en) 2021-10-20 2021-10-20 Method, device and storage medium for simulating network equipment

Country Status (1)

Country Link
CN (1) CN113890831B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710395B (en) * 2022-03-31 2024-03-08 亚信科技(中国)有限公司 Method for constructing network service implementation example based on digital twin technology
CN115426280B (en) * 2022-07-18 2024-04-09 华为技术有限公司 Network analysis method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785180A (en) * 2019-02-19 2019-05-21 山东大学 A kind of scene perception system and method towards the twin workshop of number
WO2019127481A1 (en) * 2017-12-29 2019-07-04 Siemens Aktiengesellschaft Method, apparatus and computer readable storage medium for providing cloud platform virtual assets
EP3696622A1 (en) * 2019-02-14 2020-08-19 Rockwell Automation Technologies, Inc. Ai extensions and intelligent model validation for an industrial digital twin
CN111722540A (en) * 2020-06-19 2020-09-29 中国电力科学研究院有限公司 Energy Internet digital twin simulation system and method
CN111835565A (en) * 2020-07-06 2020-10-27 重庆金美通信有限责任公司 Communication network optimization method, device and system based on digital twin
CN112187547A (en) * 2020-10-09 2021-01-05 南京邮电大学 Network model based on digital twins
CN112231305A (en) * 2020-08-23 2021-01-15 山东翰林科技有限公司 Digital power grid system and method based on digital twinning
CN113194004A (en) * 2021-05-20 2021-07-30 中国工商银行股份有限公司 Network topology construction method and device, and network change processing method and device
CN113255170A (en) * 2021-07-06 2021-08-13 江苏中车数字科技有限公司 Cloud-edge cooperative factory digital twin monitoring modeling system and modeling method
WO2021169598A1 (en) * 2020-02-27 2021-09-02 广东工业大学 Digital twinning-based physical simulation method for production line and system thereof
CN113515837A (en) * 2021-03-30 2021-10-19 清华大学 Method and device for establishing simulation test platform and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10756976B2 (en) * 2018-08-21 2020-08-25 Ciena Corporation Data network and execution environment replication for network automation and network applications

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019127481A1 (en) * 2017-12-29 2019-07-04 Siemens Aktiengesellschaft Method, apparatus and computer readable storage medium for providing cloud platform virtual assets
EP3696622A1 (en) * 2019-02-14 2020-08-19 Rockwell Automation Technologies, Inc. Ai extensions and intelligent model validation for an industrial digital twin
CN109785180A (en) * 2019-02-19 2019-05-21 山东大学 A kind of scene perception system and method towards the twin workshop of number
WO2021169598A1 (en) * 2020-02-27 2021-09-02 广东工业大学 Digital twinning-based physical simulation method for production line and system thereof
CN111722540A (en) * 2020-06-19 2020-09-29 中国电力科学研究院有限公司 Energy Internet digital twin simulation system and method
CN111835565A (en) * 2020-07-06 2020-10-27 重庆金美通信有限责任公司 Communication network optimization method, device and system based on digital twin
CN112231305A (en) * 2020-08-23 2021-01-15 山东翰林科技有限公司 Digital power grid system and method based on digital twinning
CN112187547A (en) * 2020-10-09 2021-01-05 南京邮电大学 Network model based on digital twins
CN113515837A (en) * 2021-03-30 2021-10-19 清华大学 Method and device for establishing simulation test platform and electronic equipment
CN113194004A (en) * 2021-05-20 2021-07-30 中国工商银行股份有限公司 Network topology construction method and device, and network change processing method and device
CN113255170A (en) * 2021-07-06 2021-08-13 江苏中车数字科技有限公司 Cloud-edge cooperative factory digital twin monitoring modeling system and modeling method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
"Digital twins for decision making in complex production and logistic enterprises";W Kuehn;《google图书》;全文 *
"Hardware-in-the-loop testing of modern on-board power systems using digital twins";C Dufour;《IEEE》;全文 *
C Dufour."Hardware-in-the-loop testing of modern on-board power systems using digital twins".《IEEE》.2018,全文. *
卢阳光 ; 闵庆飞 ; 王奕斌 ; .基于工业物联网的汽车工业敏捷规划轻量级仿真模型.计算机应用研究.2018,(第05期),全文. *
基于工业物联网的汽车工业敏捷规划轻量级仿真模型;卢阳光;闵庆飞;王奕斌;;计算机应用研究(第05期);全文 *
能源互联网数字孪生及其应用;沈沉;贾孟硕;陈颖;黄少伟;向月;;全球能源互联网(第01期);全文 *

Also Published As

Publication number Publication date
CN113890831A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN113890831B (en) Method, device and storage medium for simulating network equipment
US10374952B2 (en) Method for increasing layer-3 longest prefix match scale
CN113037786B (en) Intelligent computing power scheduling method, device and system
CN112242950B (en) Method for determining path and related equipment
EP2863674B1 (en) Capacity planning method and device for wireless broadband network
CN105376089B (en) A kind of network plan method and device
WO2014208661A1 (en) Device, method, system, and program for designing placement of virtual machine
CN113408139B (en) Power communication network path control simulation verification method, device, equipment and medium
JP2017143365A (en) Application deployment system and method
CN110198267B (en) Traffic scheduling method, system and server
Motlagh et al. mmtc deployment over sliceable infrastructure: The megasense scenario
Gilly et al. End-to-end simulation environment for mobile edge computing
CN114629767A (en) Power dispatching network simulation method and device, computer equipment and storage medium
CN108183840A (en) Verification method, device and the realization device of switch performance
CN109218963B (en) Position fingerprint data processing method, device, equipment and storage medium
WO2019167859A1 (en) Estimating device and estimating method
Ushakova et al. Research of productivity of software configurable infrastructure in vanet networks on the basis of models of hybrid data transmission devices
CN107343290A (en) RRU cascades the expansion method and device of cell
CN102377661A (en) Blade server and method for building shortest blade transmission path in blade server
CN109039907A (en) Determine network traffic data optimal path method, apparatus, equipment and storage medium
Maller et al. Cloud-in-the-Loop simulation of C-V2X application relocation distortions in Kubernetes based Edge Cloud environment
CN112637904A (en) Load balancing method and device and computing equipment
Rethfeldt et al. Extending the FLExible Network Tester (Flent) for IEEE 802.11 s WLAN Mesh Networks
CN116232956B (en) Network time delay in-band telemetry method, device, electronic equipment and storage medium
US9785738B1 (en) System and method for evaluating spanning trees

Legal Events

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