CN114553752A - Network performance testing method and device based on simulation software and computer equipment - Google Patents

Network performance testing method and device based on simulation software and computer equipment Download PDF

Info

Publication number
CN114553752A
CN114553752A CN202011354168.4A CN202011354168A CN114553752A CN 114553752 A CN114553752 A CN 114553752A CN 202011354168 A CN202011354168 A CN 202011354168A CN 114553752 A CN114553752 A CN 114553752A
Authority
CN
China
Prior art keywords
network
tunnel
simulation
parameter
power grid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011354168.4A
Other languages
Chinese (zh)
Other versions
CN114553752B (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.)
Guangzhou Chinasoft Information Technology Co ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Guangzhou Chinasoft Information Technology Co ltd
Southern Power Grid Digital Grid Research 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 Guangzhou Chinasoft Information Technology Co ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Guangzhou Chinasoft Information Technology Co ltd
Priority to CN202011354168.4A priority Critical patent/CN114553752B/en
Publication of CN114553752A publication Critical patent/CN114553752A/en
Application granted granted Critical
Publication of CN114553752B publication Critical patent/CN114553752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a network performance testing method, a device and computer equipment based on simulation software, which comprises the following steps: acquiring a network topology structure corresponding to a power grid dispatching data network; acquiring configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for a backbone network as network configuration parameters; inputting the network configuration parameters into simulation software to build a network model through the simulation software; creating a simulation service flow, and inputting the simulation service flow into the network model to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel; and determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter, so that network simulation of the power grid dispatching data network when the network tunnel is configured is realized, and the network performance can be predicted in advance.

Description

Network performance testing method and device based on simulation software and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for testing network performance based on simulation software, a computer device, and a storage medium.
Background
With the development of network technology, the IPv6 Protocol (Internet Protocol Version6) has become more and more popular.
In the prior art, a backbone network of a power grid dispatching data network mainly uses an IPv4 Protocol (Internet Protocol Version 4), and other branch station ends in the power grid dispatching data network need to be modified by IPv6, so that a branch station end adopting an IPv6 Protocol can communicate through a backbone network adopting the IPv4 Protocol, and network modification is needed, for example, a network tunnel is added.
However, in the prior art, the network is often actually modified, for example, after a network tunnel is deployed in the current network, the performance of the modified network can be evaluated, and it is difficult to predict and adjust in advance.
Disclosure of Invention
In view of the above, it is necessary to provide a network performance testing method and apparatus based on simulation software, a computer device and a storage medium.
A network performance testing method based on simulation software, the method comprising:
acquiring a network topology structure corresponding to a power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
acquiring configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for the backbone network as network configuration parameters; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
inputting the network configuration parameters into simulation software to build a network model through the simulation software;
creating a simulation service flow, and inputting the simulation service flow into the network model to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
and determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
Optionally, the inputting the network configuration parameters into simulation software to build a network model through the simulation software includes:
acquiring a plurality of simulation devices corresponding to the power grid dispatching data network; the plurality of simulation devices comprise routers and workstations and/or servers as communication nodes;
and inputting the simulation equipment and the network configuration parameters into simulation software, and creating data connection among the plurality of simulation equipment by adopting the network configuration parameters through the simulation software to construct a network model.
Optionally, the communication node includes a sender node and a receiver node, and the acquiring the configuration parameter corresponding to the network topology includes:
acquiring interface address information corresponding to an IPv6 node, and taking the interface address information as configuration parameters corresponding to a sending end node and a receiving end node;
and acquiring actual service flow information, and determining a configuration parameter corresponding to the network topology structure according to the configuration parameter and the actual service flow information.
Optionally, the acquiring a tunnel parameter of a network tunnel configured for the backbone network includes:
acquiring a preset router model; the router model comprises a first router communicated with the sending end node and a second router communicated with the receiving end node;
acquiring tunnel interface addresses and tunnel interface modes corresponding to the first router and the second router respectively; the tunnel interface address is an address of an IPv6 network tunnel, and the tunnel interface mode is a mode aiming at an IPv6 protocol and an IPv4 protocol;
and acquiring static routing tables corresponding to the first router and the second router respectively, and acquiring tunnel parameters of the network tunnel configured for the backbone network according to the tunnel interface address, the tunnel interface mode and the static routing tables.
Optionally, the static routing table is configured with a network tunnel identifier and address information corresponding to the target node.
Optionally, the determining, according to the first network quality of service parameter, the network performance of the power grid scheduling data network when the network tunnel is configured includes:
acquiring a second network service quality parameter; the second network quality of service parameter is a network quality parameter for the data transmission of the plurality of communication nodes through the backbone network when the network tunnel is not used;
and comparing the first network service quality parameter with the second network service quality parameter, and determining the network performance of the power grid dispatching data network when the network tunnel is configured.
Optionally, the first network quality of service parameter comprises any one or more of: packet loss rate, delay information, response time, throughput.
An apparatus for network performance testing based on simulation software, the apparatus comprising:
the network topology structure acquisition module is used for acquiring a network topology structure corresponding to the power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
a network configuration parameter obtaining module, configured to obtain a configuration parameter corresponding to the network topology structure and a tunnel parameter of a network tunnel configured for the backbone network, as a network configuration parameter; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
the network model building module is used for inputting the network configuration parameters into simulation software so as to build a network model through the simulation software;
a first network service quality parameter obtaining module, configured to create a simulation service flow, and input the simulation service flow to the network model, so as to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
and the network performance determining module is used for determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method as claimed in any one of the above when the computer program is executed.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of the preceding claims.
According to the network performance testing method, device, computer equipment and storage medium based on the simulation software, the network topological structure corresponding to the power grid dispatching data network is obtained, the configuration parameters corresponding to the network topological structure and the tunnel parameters of the network tunnel configured for the backbone network are obtained and used as the network configuration parameters, the network configuration parameters are input into the simulation software, a network model is built, a simulation service flow is created and input into the network model, the corresponding first network service quality parameters are obtained, the network performance of the power grid dispatching data network when the network tunnel is configured is determined according to the first network service quality parameters, the network simulation of the power grid dispatching data network when the network tunnel is configured is achieved, and the network performance can be predicted in advance.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for testing network performance based on simulation software according to an embodiment;
FIG. 2 is a schematic flow chart illustrating a method for testing network performance based on simulation software according to an embodiment;
FIG. 3 is a flow diagram that illustrates the steps of one embodiment for building a network model;
FIG. 4 is a flow diagram illustrating the steps of determining network performance in one embodiment;
FIG. 5 is a block diagram of a network performance testing apparatus based on simulation software according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, a network performance testing method based on simulation software is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented by interaction between the terminal and the server. In this embodiment, the method may include the steps of:
step 101, acquiring a network topology structure corresponding to a power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol in the power grid dispatching data network and a backbone network which uses an IPv4 protocol.
As an example, the grid dispatching data network may be a network used by a grid enterprise, and in the grid dispatching data network, a plurality of communication nodes which communicate using an IPv6 protocol may be included, and a backbone network using an IPv4 protocol, where the backbone network may refer to a high-speed network used to connect a plurality of areas or regions. Each backbone network can have at least one connection point for interconnecting with other backbone networks, and the function range of the backbone network can reach dozens to thousands of kilometers.
The network topology may refer to the distribution and connection of computer devices in a network formed by computer devices, and as shown in fig. 2, is an example of a network topology. In particular implementations, the computer devices in the network topology may include any one or more of the following: terminal, server, router.
In practical application, a network topology structure corresponding to the power grid dispatching data network can be obtained, and since the network topology structure can describe the distribution situation and the connection mode of computer equipment in the power grid dispatching data network, the network topology structure can include a plurality of communication nodes which use the IPv6 protocol for communication in the power grid dispatching data network and a backbone network which uses the IPv4 protocol.
102, acquiring configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for the backbone network as network configuration parameters; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol.
As an example, the configuration parameters may include parameters describing connection and distribution of each computer device in the network topology, such as address information, connection mode, and the like of each computer device.
A network tunnel may refer to a network protocol used to transmit data of another network protocol, for example, data of IPv6 transmitted through an IPv4 network, and a tunnel parameter may be a corresponding parameter of the network tunnel.
The network configuration parameters may be parameters that are used to describe characteristics of the network structure or devices, links, etc. in the network, and are used in building the network model.
After the network topology is obtained, the configuration parameters corresponding to the network topology can be obtained. Meanwhile, the backbone network adopts the IPv4, which is different from the IPv6 protocol adopted by the plurality of communication nodes, so that a network tunnel corresponding to the IPv6 protocol and the IPv4 protocol can be configured for the backbone network, and through the network tunnel, the IPv4 network can be used to transmit the data of the IPv 6.
In a specific implementation, a tunnel parameter corresponding to a network tunnel may be obtained, and the configuration parameter and the tunnel parameter may be used as the network configuration parameter. For example, a user may perform device operation on configuration parameters and tunnel parameters corresponding to a network structure to obtain network configuration parameters.
Step 103, inputting the network configuration parameters into simulation software to build a network model through the simulation software.
As an example, the simulation software may be software, such as Opnet software, that obtains network performance data required for network design or optimization by modeling network devices, links, and protocols, and simulating the transmission of network traffic.
In practical application, after the network tunnel parameters are obtained, the network configuration parameters can be input into simulation software, so as to construct a network model through the simulation software.
And 104, creating a simulation service flow, inputting the simulation service flow into the network model, and obtaining a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel.
As an example, the service flow may be data processed or transmitted when each communication node performs service activity, the emulated service flow may also be referred to as an emulated service, and the service flow may be simulated, and in an actual application, the emulated service flow may be implemented by using a database.
The first network quality of service parameter may be a parameter reflecting network quality of service, and the first network quality of service parameter may include any one or more of: packet loss rate, delay information, response time, throughput.
After the network model is constructed, a simulation service flow can be created and input into the network model, so that a plurality of communication nodes are simulated through the network model to transmit the simulation service flow by using a network tunnel, and a corresponding network service quality parameter, namely a first network service quality parameter, can be obtained in the transmission process.
And 105, determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
After the first network service quality parameter is obtained, the network performance of the power grid dispatching data network during the configuration of the network tunnel can be determined according to the parameter. Specifically, a preset network performance standard may be obtained, and the first network quality of service parameter is compared with the network performance standard to determine whether the power grid scheduling data network can provide a network meeting the network performance standard when the network tunnel is configured.
In the embodiment, a network topology structure corresponding to a power grid dispatching data network is obtained, configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for a backbone network are obtained and used as network configuration parameters, the network configuration parameters are input into simulation software, a network model is built, a simulation service flow is created and input into the network model, a corresponding first network service quality parameter is obtained, and the network performance of the power grid dispatching data network when the network tunnel is configured is determined according to the first network service quality parameter, so that the network simulation of the power grid dispatching data network when the network tunnel is configured is realized, and the network performance can be predicted in advance.
In one embodiment, as shown in fig. 3, the inputting the network configuration parameters into the simulation software to build the network model by the simulation software may include the following steps:
step 201, acquiring a plurality of simulation devices corresponding to the power grid dispatching data network; the plurality of emulation devices includes a router and a workstation and/or a server as a communication node.
As an example, the emulated device may be a virtual device used in building the network model, and the emulated device may include a router, and a workstation and/or server as the communication node.
In practical applications, since the network is composed of a plurality of computer devices and is determined by the connection relationship and/or distribution condition among the plurality of computer devices, when the network model is constructed, a plurality of simulation devices corresponding to the power grid dispatching data network may be obtained, where the plurality of simulation devices corresponding to the power grid dispatching data network may refer to virtual devices corresponding to real devices used in the power grid dispatching data network, for example, the same device types and/or the same number of devices.
Step 202, inputting the simulation device and the network configuration parameters into simulation software, so as to create data connections among the plurality of simulation devices by using the network configuration parameters through the simulation software, and construct a network model.
After the simulation equipment is acquired, the simulation equipment and the network configuration parameters can be input into the simulation software, and after the simulation software acquires the simulation equipment and the network configuration parameters, data connection among a plurality of simulation equipment can be established according to the network configuration parameters, so that a network model is constructed. When data connection is carried out, connection can be carried out through a link mode link model of Opnet.
In one example, MPLS (Multi-Protocol Label Switching) VPN (Virtual Private Network) and LSP (layered service provider) Network environments may be rapidly deployed through the Riverbed Modeler MPLS model.
In one example, after the network model is built, each simulation device and/or service in the network model may communicate via a TCP (Transmission Control Protocol).
In this embodiment, the simulation device and the network configuration parameters are input into the simulation software, the simulation software creates data connections among the multiple simulation devices by using the network configuration parameters, and constructs a network model, so that network simulation is realized, and a data basis is provided for a network performance test when a network tunnel is configured.
In one embodiment, the communication node may include a sender node and a receiver node, and the obtaining the configuration parameters corresponding to the network topology may include the following steps:
acquiring interface address information corresponding to an IPv6 node, and taking the interface address information as configuration parameters corresponding to a sending end node and a receiving end node; and acquiring actual service flow information, and determining a configuration parameter corresponding to the network topology structure according to the configuration parameter and the actual service flow information.
As an example, the actual traffic information may be a traffic bandwidth used by the grid scheduling data network in actual operation, such as 2M bandwidth lines, 155M bandwidth lines.
In a specific implementation, interface Address information may be set in advance for the IPv6 node, for example, interface Address information for the IPv6 node host attribute is configured as "No IP Address", and after the communication node configures the interface Address information, the communication node may be identified as the IPv6 node.
Based on this, the preset interface address information for the IPv6 node can be obtained, and the interface address information is used as the configuration parameters corresponding to the sender node and the receiver node, and the sender node and the receiver node are both represented as IPv6 nodes by setting the interface address information. In addition, other IPv6 node information can be configured and used as configuration parameters corresponding to the sending end node or the receiving end node together with interface address information. Furthermore, the actual service flow information corresponding to the power grid dispatching data network can be obtained, and the configuration parameters and the actual service flow information are used as the configuration parameters corresponding to the network topology structure of the power grid dispatching data network.
In this embodiment, by obtaining interface address information and actual service traffic information corresponding to the IPv6 node, configuration parameters corresponding to a network topology structure can be obtained, and a data basis is provided for building a network model.
In one embodiment, the obtaining of the tunnel parameters of the network tunnel configured for the backbone network may include the following steps:
step 301, acquiring a preset router model; the router model includes a first router in communication with the sending end node and a second router in communication with the receiving end node.
In a specific implementation, the power grid scheduling data network may include a plurality of routers, and each station may forward data through the routers for data interaction. Based on this, a preset router model corresponding to the power grid scheduling data network may be obtained, where the router model may include a first router in communication with the sending end node and a second router in communication with the receiving end node, and the first router and the second router may perform data interaction through a backbone network, for example, may be an NE20 router model. In practical application, the router model can be input into simulation software, and a corresponding router connection structure is constructed in the network model through a specified module of the simulation software.
Based on this, when the tunnel parameter corresponding to the network tunnel is obtained, the preset router model can be obtained.
Step 302, acquiring a tunnel interface address and a tunnel interface mode corresponding to the first router and the second router respectively; the tunnel interface address is an address of an IPv6 network tunnel, and the tunnel interface mode is a mode aiming at an IPv6 protocol and an IPv4 protocol.
After obtaining a router model including the first router and the second router, the tunnel interface address and the tunnel interface mode corresponding to the first router may be obtained, and the tunnel interface address and the tunnel interface mode won by the second router may be obtained.
The tunnel interface modes corresponding to the first router and the second router may be both modes for the IPv6 protocol and the IPv4 protocol, that is, an IPv6(6to4) mode. The tunnel interface Address corresponding to the first router and the tunnel interface Address corresponding to the second router may be configured as preset Address information, where the preset Address information is used to characterize that the tunnel provided by the router is an IPv6 tunnel, for example, the preset Address information may be "No IP Address".
Step 303, obtaining the static routing tables corresponding to the first router and the second router, and obtaining the tunnel parameters of the network tunnel configured for the backbone network according to the tunnel interface address, the tunnel interface mode and the static routing tables.
As an example, the static routing table may be configured with a network tunnel identifier and address information corresponding to a target node, where the target node may be a receiving node that is a target object and receives data when the sending end node sends the data, and accordingly, when the receiving end node sends the data, the receiving end node may also be changed into the sending end node.
In specific implementation, a static routing table corresponding to each of the first router and the second router may be obtained, where the static routing table may instruct the router to transmit data to a target node corresponding to address information by using a network tunnel corresponding to a network tunnel identifier when receiving data sent by a sending end node by configuring the network tunnel identifier and address information corresponding to the target node. For example, the address information configured by the IPv6 static routing table of the first router for the destination node is 2002, and the network tunnel identifier configured by the next hop is TunnelA, which may indicate that the IPv6 data is transmitted in the IPv6 tunnel identified by the network tunnel identifier of TunnelA after passing through the 6to4 router, and the destination address of the transmission is the communication node beginning with 2002.
After the static routing table is obtained, the tunnel interface address, the tunnel interface mode, and the static routing table may be determined as tunnel parameters corresponding to the network tunnel configured for the backbone network.
In this embodiment, the tunnel parameters of the network tunnel configured for the backbone network are obtained according to the tunnel interface address, the tunnel interface mode and the static routing table, so that a data basis can be provided for constructing the network model.
In an embodiment, as shown in fig. 4, the determining, according to the first network quality of service parameter, the network performance of the power grid dispatching data network when the network tunnel is configured may include the following steps:
step 401, acquiring a second network service quality parameter; and the second network quality of service parameter is a network quality parameter for data transmission of the plurality of communication nodes through the backbone network when the network tunnel is not used.
As an example, the second network quality of service parameter may be a parameter reflecting network quality of service, and specifically, may be a network quality parameter of a corresponding network when a network tunnel is not used in the grid scheduling data network and a plurality of communication nodes using an IPv6 protocol perform data transmission through a backbone network. The second network quality of service parameter may comprise any one or more of: packet loss rate, delay information, response time, throughput.
In this embodiment, the second network quality of service parameter may be obtained. Specifically, the second network quality of service parameter may be a network quality of service parameter obtained by constructing a network model through simulation software and inputting a simulation service flow into the network model, where the network model is a network model corresponding to a power grid scheduling data network when a network tunnel is not applicable. Alternatively, the real parameters may be measured by a virtual device, software, or a physical device in a real network.
Step 402, comparing the first network service quality parameter with the second network service quality parameter, and determining the network performance of the power grid dispatching data network when the network tunnel is configured.
After the first network service quality parameter and the second network service quality parameter are obtained, the first network service quality parameter and the second network service quality parameter can be compared, and changes of network performance of the power grid dispatching data network when the network tunnel is used are determined, for example, influences on network delay and network packet loss rate after the network tunnel is used, or whether IPv6 data can penetrate through a backbone network using an IPv4 protocol after the network tunnel is used is determined through a comparison result, and normal communication of each communication node is guaranteed.
In one example, by comparing the first network quality of service parameter with the second network quality of service parameter, it can be determined that each communication node can traverse the IPv4 backbone network through the 6to4 network tunnel, the communication service can be kept running normally, the network delay of the grid-scheduling data network does not exceed 20 milliseconds, and the network packet loss rate does not exceed 0.01%.
In this embodiment, by comparing the first network service quality parameter with the second network service quality parameter, the network performance of the power grid scheduling data network when the network tunnel is configured can be determined, and the advance prediction of the network performance in a network tunnel use scenario is realized.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a network performance testing apparatus based on simulation software, wherein the apparatus includes:
a network topology obtaining module 501, configured to obtain a network topology corresponding to a power grid scheduling data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
a network configuration parameter obtaining module 502, configured to obtain a configuration parameter corresponding to the network topology and a tunnel parameter of a network tunnel configured for the backbone network as a network configuration parameter; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
a network model building module 503, configured to input the network configuration parameters into simulation software, so as to build a network model through the simulation software;
a first network quality of service parameter obtaining module 504, configured to create a simulation service flow, and input the simulation service flow to the network model, so as to obtain a corresponding first network quality of service parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
a network performance determining module 505, configured to determine, according to the first network quality of service parameter, a network performance of the power grid scheduling data network when the network tunnel is configured.
In one embodiment, the network model building module 503 includes:
the simulation equipment acquisition submodule is used for acquiring a plurality of simulation equipment corresponding to the power grid dispatching data network; the plurality of simulation devices comprise routers and workstations and/or servers as communication nodes;
and the parameter input sub-module is used for inputting the simulation equipment and the network configuration parameters into simulation software so as to establish data connection among the plurality of simulation equipment by adopting the network configuration parameters through the simulation software and construct a network model.
In one embodiment, the communication nodes include a sender node and a receiver node, and the network configuration parameter obtaining module 502 includes:
an interface address information obtaining submodule, configured to obtain interface address information corresponding to an IPv6 node, and use the interface address information as configuration parameters corresponding to the sender node and the receiver node;
and the actual service flow information acquisition submodule is used for acquiring actual service flow information and determining the configuration parameters corresponding to the network topology structure according to the configuration parameters and the actual service flow information.
In one embodiment, the network configuration parameter obtaining module 502 includes:
the router model acquisition module is used for acquiring a preset router model; the router model comprises a first router communicated with the sending end node and a second router communicated with the receiving end node;
a tunnel interface address obtaining submodule, configured to obtain a tunnel interface address and a tunnel interface mode that correspond to the first router and the second router, respectively; the tunnel interface address is an address of an IPv6 network tunnel, and the tunnel interface mode is a mode aiming at an IPv6 protocol and an IPv4 protocol;
and the static routing table acquisition submodule is used for acquiring the static routing tables corresponding to the first router and the second router respectively and acquiring the tunnel parameters of the network tunnel configured for the backbone network according to the tunnel interface address, the tunnel interface mode and the static routing tables.
In one embodiment, the static routing table is configured with a network tunnel identifier and address information corresponding to the target node.
In one embodiment, the network performance determining module 505 comprises:
a second network service quality parameter obtaining submodule, configured to obtain a second network service quality parameter; the second network quality of service parameter is a network quality parameter for the data transmission of the plurality of communication nodes through the backbone network when the network tunnel is not used;
and the comparison submodule is used for comparing the first network service quality parameter with the second network service quality parameter and determining the network performance of the power grid dispatching data network when the network tunnel is configured.
In one embodiment, the first network quality of service parameter comprises any one or more of: packet loss rate, delay information, response time, throughput.
For the specific limitation of the network performance testing apparatus based on the simulation software, refer to the above limitation of the network performance testing method based on the simulation software, and are not described herein again. The modules in the above-mentioned network performance testing device based on simulation software may be implemented wholly or partially by software, hardware and their combination. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method for network performance testing based on simulation software. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a network topology structure corresponding to a power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
acquiring configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for the backbone network as network configuration parameters; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
inputting the network configuration parameters into simulation software to build a network model through the simulation software;
creating a simulation service flow, and inputting the simulation service flow into the network model to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
and determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
In one embodiment, the steps in the other embodiments described above are also implemented when the computer program is executed by a processor.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a network topology structure corresponding to a power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
acquiring configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for the backbone network as network configuration parameters; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
inputting the network configuration parameters into simulation software to build a network model through the simulation software;
creating a simulation service flow, and inputting the simulation service flow into the network model to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
and determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
In one embodiment, the computer program when executed by the processor also performs the steps in the other embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A network performance testing method based on simulation software is characterized by comprising the following steps:
acquiring a network topology structure corresponding to a power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
acquiring configuration parameters corresponding to the network topology structure and tunnel parameters of a network tunnel configured for the backbone network as network configuration parameters; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
inputting the network configuration parameters into simulation software to build a network model through the simulation software;
creating a simulation service flow, and inputting the simulation service flow into the network model to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
and determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
2. The method of claim 1, wherein said inputting said network configuration parameters into simulation software to build a network model by said simulation software comprises:
acquiring a plurality of simulation devices corresponding to the power grid dispatching data network; the plurality of simulation devices comprise routers and workstations and/or servers as communication nodes;
and inputting the simulation equipment and the network configuration parameters into simulation software, and creating data connection among the plurality of simulation equipment by adopting the network configuration parameters through the simulation software to construct a network model.
3. The method of claim 1, wherein the communication nodes comprise a sender node and a receiver node, and wherein obtaining the configuration parameters corresponding to the network topology comprises:
acquiring interface address information corresponding to an IPv6 node, and taking the interface address information as configuration parameters corresponding to a sending end node and a receiving end node;
and acquiring actual service flow information, and determining a configuration parameter corresponding to the network topology structure according to the configuration parameter and the actual service flow information.
4. The method of claim 3, wherein the obtaining tunnel parameters of the network tunnel configured for the backbone network comprises:
acquiring a preset router model; the router model comprises a first router communicated with the sending end node and a second router communicated with the receiving end node;
acquiring tunnel interface addresses and tunnel interface modes corresponding to the first router and the second router respectively; the tunnel interface address is an address of an IPv6 network tunnel, and the tunnel interface mode is a mode aiming at an IPv6 protocol and an IPv4 protocol;
and acquiring static routing tables corresponding to the first router and the second router respectively, and acquiring tunnel parameters of the network tunnel configured for the backbone network according to the tunnel interface address, the tunnel interface mode and the static routing tables.
5. The method of claim 4, wherein the static routing table is configured with a network tunnel identifier and address information corresponding to a target node.
6. The method of claim 1, wherein the determining the network performance of the power grid dispatch data network in configuring the network tunnel according to the first network quality of service parameter comprises:
acquiring a second network service quality parameter; the second network quality of service parameter is a network quality parameter for the data transmission of the plurality of communication nodes through the backbone network when the network tunnel is not used;
and comparing the first network service quality parameter with the second network service quality parameter, and determining the network performance of the power grid dispatching data network when the network tunnel is configured.
7. The method of claim 1, wherein the first network quality of service parameter comprises any one or more of: packet loss rate, delay information, response time, throughput.
8. A network performance testing apparatus based on simulation software, the apparatus comprising:
the network topology structure acquisition module is used for acquiring a network topology structure corresponding to the power grid dispatching data network; the network topology structure comprises a plurality of communication nodes which communicate by using an IPv6 protocol and a backbone network which uses an IPv4 protocol in the power grid dispatching data network;
a network configuration parameter obtaining module, configured to obtain a configuration parameter corresponding to the network topology structure and a tunnel parameter of a network tunnel configured for the backbone network, as a network configuration parameter; the network tunnel is a network tunnel corresponding to an IPv6 protocol and an IPv4 protocol;
the network model building module is used for inputting the network configuration parameters into simulation software so as to build a network model through the simulation software;
a first network service quality parameter obtaining module, configured to create a simulation service flow, and input the simulation service flow to the network model, so as to obtain a corresponding first network service quality parameter when the plurality of communication nodes transmit the simulation service flow through the network tunnel;
and the network performance determining module is used for determining the network performance of the power grid dispatching data network when the network tunnel is configured according to the first network service quality parameter.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202011354168.4A 2020-11-26 2020-11-26 Network performance test method and device based on simulation software and computer equipment Active CN114553752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011354168.4A CN114553752B (en) 2020-11-26 2020-11-26 Network performance test method and device based on simulation software and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011354168.4A CN114553752B (en) 2020-11-26 2020-11-26 Network performance test method and device based on simulation software and computer equipment

Publications (2)

Publication Number Publication Date
CN114553752A true CN114553752A (en) 2022-05-27
CN114553752B CN114553752B (en) 2023-06-27

Family

ID=81667857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011354168.4A Active CN114553752B (en) 2020-11-26 2020-11-26 Network performance test method and device based on simulation software and computer equipment

Country Status (1)

Country Link
CN (1) CN114553752B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115203977A (en) * 2022-08-24 2022-10-18 国网信息通信产业集团有限公司 Power grid simulation system
CN115277428A (en) * 2022-07-27 2022-11-01 京东科技信息技术有限公司 Method and apparatus for configuring a network
CN115426280A (en) * 2022-07-18 2022-12-02 华为技术有限公司 Network analysis method and related device
CN115714725A (en) * 2022-10-17 2023-02-24 江西科骏实业有限公司 Network instruction virtual simulation implementation method and system for teaching application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972219A (en) * 2005-11-23 2007-05-30 杭州华为三康技术有限公司 Network performance test method, system and network device
US7978601B1 (en) * 2004-11-22 2011-07-12 At&T Intellectual Property Ii, L.P. Method and apparatus for network performance analysis
CN111147287A (en) * 2019-12-10 2020-05-12 网络通信与安全紫金山实验室 Network simulation method and system in SDN scene
CN111683387A (en) * 2020-04-29 2020-09-18 西南电子技术研究所(中国电子科技集团公司第十研究所) Software-defined airborne self-organizing network-oriented simulation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7978601B1 (en) * 2004-11-22 2011-07-12 At&T Intellectual Property Ii, L.P. Method and apparatus for network performance analysis
CN1972219A (en) * 2005-11-23 2007-05-30 杭州华为三康技术有限公司 Network performance test method, system and network device
CN111147287A (en) * 2019-12-10 2020-05-12 网络通信与安全紫金山实验室 Network simulation method and system in SDN scene
CN111683387A (en) * 2020-04-29 2020-09-18 西南电子技术研究所(中国电子科技集团公司第十研究所) Software-defined airborne self-organizing network-oriented simulation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王再见等: "一种基于OPNET的DiffServ+WLAN网络多媒体端到端QoS性能仿真方法", 《无线电通信技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426280A (en) * 2022-07-18 2022-12-02 华为技术有限公司 Network analysis method and related device
CN115426280B (en) * 2022-07-18 2024-04-09 华为技术有限公司 Network analysis method and related device
CN115277428A (en) * 2022-07-27 2022-11-01 京东科技信息技术有限公司 Method and apparatus for configuring a network
CN115203977A (en) * 2022-08-24 2022-10-18 国网信息通信产业集团有限公司 Power grid simulation system
CN115714725A (en) * 2022-10-17 2023-02-24 江西科骏实业有限公司 Network instruction virtual simulation implementation method and system for teaching application
CN115714725B (en) * 2022-10-17 2023-09-12 江西科骏实业有限公司 Teaching application-oriented network instruction virtual simulation implementation method and system

Also Published As

Publication number Publication date
CN114553752B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
Sendra et al. Including artificial intelligence in a routing protocol using software defined networks
CN114553752B (en) Network performance test method and device based on simulation software and computer equipment
Jasmine et al. DSQLR-A distributed scheduling and QoS localized routing scheme for wireless sensor network
Khattak et al. Performance evaluation of OpenDaylight SDN controller
Qi et al. Assessing container network interface plugins: Functionality, performance, and scalability
Zheng et al. Empower: A network emulator for wireline and wireless networks
CN109905280B (en) Simulation method and system for mobile satellite network
Fernandez Evaluating OpenFlow controller paradigms
US9146826B2 (en) Method and apparatus for scaling network simulation
CN113408139B (en) Power communication network path control simulation verification method, device, equipment and medium
CN106452857A (en) Method for generating configuration information and network control unit
CN110266828A (en) A kind of method, apparatus and network system for establishing end to end network connection
US11477100B2 (en) Residence time measurement for traffic engineered network
CN104135446A (en) System and method of implementing transition from IPv4 (Internet Protocol Version4) to IPv6 (Internet Protocol Version6) based on SDN (Software Defined Network)
CN105743687B (en) Method and device for judging node fault
Hamed et al. A new approach for server-based load balancing using software-defined networking
CN117118886A (en) Message forwarding method, head-end equipment, controller, equipment and storage medium
CN109039709A (en) A kind of mobile wireless network emulation and experiment porch based on virtualization
Bedhief et al. From evaluating to enabling sdn for the internet of things
Baggan et al. A comprehensive analysis and experimental evaluation of routing information protocol: An elucidation
CN106789650B (en) Wide area network acceleration method and device based on IP
Jain et al. Performance Comparison Between Different Tunneling Techniques Using Different Routing Protocols
Majid et al. RIP vs. OSPF Routing Protocols: Which One is the Best for a Real-Time Computer Network?
Nedyalkov et al. Modeling of the convergence time of an IP-based network with different traffic loads
Le-Trung Towards an IoT network testbed emulated over OpenStack cloud infrastructure

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