Power communication network path control simulation verification method, device, equipment and medium

文档序号:8141 发布日期:2021-09-17 浏览:26次 中文

1. A power communication network path control simulation verification method is characterized by comprising the following steps:

the method comprises the steps of obtaining a network topology of a power communication network to be verified, constructing a first communication network model corresponding to the network topology according to the network topology, simulating the first communication network model by using a preset simulation system, and obtaining a first simulation result aiming at the first communication network model;

determining a target node from the first communication network model, and acquiring a plurality of data transmission paths corresponding to the target node by using the first communication network model;

acquiring a first data transmission path matched with the first communication network model from the plurality of data transmission paths, and changing the routing parameters of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path;

and simulating the second communication network model by using the simulation system, acquiring a second simulation result aiming at the second communication network model, and acquiring a path control verification result of the power communication network according to the first simulation result and the second simulation result.

2. The method of claim 1, wherein the building a first communication network model corresponding to the network topology from the network topology comprises:

acquiring communication equipment models of a plurality of communication nodes forming the power communication network and connection information of the plurality of communication nodes according to the network topology;

acquiring a power simulation model corresponding to each communication node from a pre-constructed simulation model library by using the model of the communication equipment;

and connecting the power simulation models corresponding to the communication nodes according to the connection information to construct the first communication network model.

3. The method of claim 2, wherein the target nodes in the first data transmission path and the second data transmission path correspond to different access nodes, respectively; the changing the routing parameter of the first data transmission path to obtain a second communication network model includes:

acquiring a first access node corresponding to the target node in the first data transmission path and a second access node corresponding to the target node in the second data transmission path;

acquiring a first communication priority parameter corresponding to the first access node and a second communication priority parameter corresponding to the second access node;

and changing the first communication priority parameter to enable the first communication priority parameter to be smaller than the second communication priority parameter, so as to obtain the second communication network model.

4. The method of claim 2, wherein said modifying the routing parameters of the first data transmission path to obtain a second communication network model comprises:

acquiring a first path transmission loss parameter corresponding to the first data transmission path and a second path transmission loss parameter corresponding to the second data transmission path;

and changing the transmission loss parameter of the first path to enable the transmission loss parameter of the first path to be larger than the transmission loss parameter of the second path, so as to obtain the second communication network model.

5. The method according to any one of claims 1 to 4, wherein after the obtaining the plurality of data transmission paths corresponding to the target node, further comprising:

determining the second data transmission path from the plurality of data transmission paths;

and changing the routing parameters of the second data transmission path to obtain the second communication network model.

6. The method of claim 1, wherein the first simulation result and the second simulation result comprise simulation results for a plurality of different verification metrics;

the obtaining a path control verification result of the power communication network according to the first simulation result and the second simulation result includes:

acquiring an index threshold corresponding to each verification index;

comparing a first simulation result corresponding to each verification index with a second simulation result corresponding to each verification index based on the index threshold corresponding to each verification index, and respectively determining a first network verification result of the first communication network model and a second network verification result of the second communication network model according to the comparison results;

and comparing the first network verification result with the second network verification result, and determining a path control verification result of the power communication network.

7. The method of claim 6, wherein the validation metrics comprise: at least one of a routing hop count index, a network delay index, a network jitter index, a link traffic index, and a link quality index.

8. A power communication network path control emulation verification apparatus, the apparatus comprising:

the first model simulation module is used for acquiring the network topology of the power communication network to be verified, constructing a first communication network model corresponding to the network topology according to the network topology, simulating the first communication network model by using a preset simulation system, and acquiring a first simulation result aiming at the first communication network model;

a transmission path obtaining module, configured to determine a target node from the first communication network model, and obtain multiple data transmission paths corresponding to the target node by using the first communication network model;

a transmission path switching module, configured to obtain a first data transmission path matching the first communication network model from the multiple data transmission paths, and change a routing parameter of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path;

and the second model simulation module is used for simulating the second communication network model by using the simulation system, acquiring a second simulation result aiming at the second communication network model, and acquiring a path control verification result of the power communication network according to the first simulation result and the second simulation result.

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 of any one of claims 1 to 7.

Background

With the development of power technology, a communication network for ensuring the safe and stable operation of a power system, namely a power communication network, appears, and belongs to an important component of the power system as a basis for power grid dispatching automation, power grid operation marketization and power grid management informatization. Meanwhile, the power communication network has strict requirements on the reliability of communication and the rapidity and accuracy of protection control information transmission, so in order to guarantee the safe operation of the power system, the reliability and effectiveness of the power communication network need to be objectively evaluated, and the network performance of the power communication network needs to be accurately analyzed.

At present, network performance verification aiming at the power communication network mostly depends on expert evaluation, for example, when an expert needs to perform data transmission path control on the constructed power communication network, for example, when a data transmission path is switched, the network performance of the power communication network before and after the data transmission path is switched is determined, however, the verification method lacks a factual basis, and the reliability of the verification result of the power communication network path control is low.

Disclosure of Invention

In view of the above, it is necessary to provide a power communication network path control simulation verification method, apparatus, computer device and storage medium for solving the above technical problems.

A power communications network path control simulation verification method, the method comprising:

the method comprises the steps of obtaining a network topology of a power communication network to be verified, constructing a first communication network model corresponding to the network topology according to the network topology, simulating the first communication network model by using a preset simulation system, and obtaining a first simulation result aiming at the first communication network model;

determining a target node from the first communication network model, and acquiring a plurality of data transmission paths corresponding to the target node by using the first communication network model;

acquiring a first data transmission path matched with the first communication network model from the plurality of data transmission paths, and changing the routing parameters of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path;

and simulating the second communication network model by using the simulation system, acquiring a second simulation result aiming at the second communication network model, and acquiring a path control verification result of the power communication network according to the first simulation result and the second simulation result.

In one embodiment, the building a first communication network model corresponding to the network topology according to the network topology includes: acquiring communication equipment models of a plurality of communication nodes forming the power communication network and connection information of the plurality of communication nodes according to the network topology; acquiring a power simulation model corresponding to each communication node from a pre-constructed simulation model library by using the model of the communication equipment; and connecting the power simulation models corresponding to the communication nodes according to the connection information to construct the first communication network model.

In one embodiment, the target nodes in the first data transmission path and the second data transmission path correspond to different access nodes respectively; the changing the routing parameter of the first data transmission path to obtain a second communication network model includes: acquiring a first access node corresponding to the target node in the first data transmission path and a second access node corresponding to the target node in the second data transmission path; acquiring a first communication priority parameter corresponding to the first access node and a second communication priority parameter corresponding to the second access node; and changing the first communication priority parameter to enable the first communication priority parameter to be smaller than the second communication priority parameter, so as to obtain the second communication network model.

In one embodiment, the changing the routing parameter of the first data transmission path to obtain the second communication network model includes: acquiring a first path transmission loss parameter corresponding to the first data transmission path and a second path transmission loss parameter corresponding to the second data transmission path; and changing the transmission loss parameter of the first path to enable the transmission loss parameter of the first path to be larger than the transmission loss parameter of the second path, so as to obtain the second communication network model.

In one embodiment, after the obtaining the plurality of data transmission paths corresponding to the target node, the method further includes: determining the second data transmission path from the plurality of data transmission paths; and changing the routing parameters of the second data transmission path to obtain the second communication network model.

In one embodiment, the first simulation result and the second simulation result include simulation results of a plurality of different verification indicators; the obtaining a path control verification result of the power communication network according to the first simulation result and the second simulation result includes: acquiring an index threshold corresponding to each verification index; comparing a first simulation result corresponding to each verification index with a second simulation result corresponding to each verification index based on the index threshold corresponding to each verification index, and respectively determining a first network verification result of the first communication network model and a second network verification result of the second communication network model according to the comparison results; and comparing the first network verification result with the second network verification result, and determining a path control verification result of the power communication network.

In one embodiment, the verification metrics include: at least one of a routing hop count index, a network delay index, a network jitter index, a link traffic index, and a link quality index.

A power communications network path control emulation verification device, the device comprising:

the first model simulation module is used for acquiring the network topology of the power communication network to be verified, constructing a first communication network model corresponding to the network topology according to the network topology, simulating the first communication network model by using a preset simulation system, and acquiring a first simulation result aiming at the first communication network model;

a transmission path obtaining module, configured to determine a target node from the first communication network model, and obtain multiple data transmission paths corresponding to the target node by using the first communication network model;

a transmission path switching module, configured to obtain a first data transmission path matching the first communication network model from the multiple data transmission paths, and change a routing parameter of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path;

and the second model simulation module is used for simulating the second communication network model by using the simulation system, acquiring a second simulation result aiming at the second communication network model, and acquiring a path control verification result of the power communication network according to the first simulation result and the second simulation result.

A computer device comprising a memory storing a computer program and a processor implementing the steps of the above method when executing the computer program.

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 above-mentioned method.

According to the method, the device, the computer equipment and the storage medium for the power communication network path control simulation verification, the network topology of the power communication network to be verified is obtained, the first communication network model corresponding to the network topology is constructed according to the network topology, the first communication network model is simulated by using the preset simulation system, and the first simulation result aiming at the first communication network model is obtained; determining a target node from the first communication network model, and acquiring a plurality of data transmission paths corresponding to the target node by using the first communication network model; acquiring a first data transmission path matched with the first communication network model from the plurality of data transmission paths, and changing routing parameters of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path; and simulating the second communication network model by using the simulation system, acquiring a second simulation result aiming at the second communication network model, and obtaining a path control verification result of the power communication network according to the first simulation result and the second simulation result. According to the method and the device, the switching of the transmission paths is realized by changing the routing parameters of the data transmission paths in the constructed power communication network model, the simulation results of the power communication network before and after the path switching are obtained through the simulation system, and then the path control verification result of the power communication network is obtained, so that a practical basis is provided for the path control verification of the power communication network, and the reliability of the path control verification result of the power communication network is improved.

Drawings

FIG. 1 is a flow chart illustrating a method for simulation verification of power communication network path control in one embodiment;

FIG. 2 is a schematic flow diagram illustrating the construction of a first communication network model in one embodiment;

FIG. 3 is a schematic flow chart illustrating a method for obtaining a second communication network model in one embodiment;

FIG. 4 is a schematic flow chart of obtaining a second communication network model in another embodiment;

FIG. 5 is a flow diagram illustrating the determination of path control verification results for a power communications network in one embodiment;

FIG. 6 is a schematic diagram of an architecture of a power communication network according to an embodiment;

FIG. 7 is a diagram of a simulation model of a power communication network in an application example;

FIG. 8 is a diagram illustrating a data transmission path before a power communication network path is switched according to an embodiment;

FIG. 9 is a diagram illustrating a data transmission path after a power communication network path is switched according to an embodiment;

FIG. 10 is a block diagram showing the structure of a power communication network path control simulation verification apparatus according to an embodiment;

FIG. 11 is a diagram illustrating an internal structure of a computer device in one 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 one embodiment, as shown in fig. 1, a power communication network path control simulation verification method is provided, and this embodiment is exemplified 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 includes the steps of:

step S101, a terminal obtains a network topology of a power communication network to be verified, a first communication network model corresponding to the network topology is built according to the network topology, a preset simulation system is used for simulating the first communication network model, and a first simulation result aiming at the first communication network model is obtained.

The power communication network to be verified refers to a power communication network which needs to be subjected to data transmission path switching control verification, the network topology refers to a network topology model of the power communication network to be verified, and the first communication network model refers to a simulation model used when the power communication network before transmission path switching is simulated. Specifically, when a user needs to perform path switching analysis on the power communication network through the terminal, the terminal needs to obtain a network topology of the power communication network for performing the path switching analysis, and use the communication network model for simulation constructed as the first communication network model, and then the terminal may perform network simulation on the first communication network model completed by the component through a system for performing network simulation, such as opennet simulation technology software, so as to obtain a network simulation result, i.e., a first simulation result, for the first communication network model.

And step S102, the terminal determines a target node from the first communication network model and acquires a plurality of data transmission paths corresponding to the target node by using the first communication network model.

The target node may be any power communication node accessed in the first communication network model, and the data transmission path corresponding to the target node refers to a transmission path used for transmitting power communication data to the target node. Generally, in order to avoid the breakdown of the power communication network caused by an accident such as node interruption, in the process of constructing the power communication network, it is necessary to ensure that each power communication node in the power communication network needs to have at least two data transmission paths, therefore, in the first communication network model constructed by using the network topology of the power communication network, any one power communication node has a plurality of data transmission paths, and after the terminal determines a target node in the first communication network model, the plurality of data transmission paths corresponding to the target node can be determined according to the constructed first communication network model.

Step S103, the terminal acquires a first data transmission path matched with the first communication network model from the plurality of data transmission paths, and changes the routing parameters of the first data transmission path to obtain a second communication network model; the second communication network model matches a second data transmission path different from the first data transmission path.

The first data transmission path matched with the first communication network model refers to a data transmission path used for transmitting data to a target node when the first communication network model is simulated, and the control of the data transmission path is determined by a routing parameter corresponding to the data transmission path, where the routing parameter may be a priority of a communication node on the data transmission path, or a path loss of the transmission path, and the like. And the second data transmission path refers to a data transmission path used for transmitting data to the target node when the second communication network model obtained after the routing parameters are modified is simulated, and the second data transmission path is another data transmission path which is different from the first data transmission path in the plurality of data transmission paths corresponding to the target node. Specifically, after determining the first data transmission path, the terminal may change the routing parameter of the first transmission path, so that the first data transmission path originally used for data transmission to the target node is switched to the second data transmission path, and the second communication network model after the transmission path is switched is used.

For example, for the target node a, there are multiple data transmission paths available for data transmission, including transmission path a, transmission path B, and transmission path C, and for the first communication network model in which the routing parameters are not changed, data transmission may be performed on the target node a through the transmission path a, that is, the transmission path a may be the first data transmission path of the target node a. Then, the terminal may modify the routing parameter corresponding to the transmission path a, so that the data transmission path for performing data transmission on the target node a is switched from the transmission path a to the transmission path B, at this time, the first communication network model after the transmission path switching may be used as the second communication network model, and the transmission path B may be used as the second data transmission path matched with the second communication network model.

And step S104, the terminal simulates the second communication network model by using the simulation system, acquires a second simulation result aiming at the second communication network model, and acquires a path control verification result of the power communication network according to the first simulation result and the second simulation result.

After the second communication network model is obtained in step S103, the terminal may utilize the simulation system to simulate the second communication network model again, obtain a simulation result for the second communication network model, and use the simulation result as the second simulation result, and analyze the first simulation result obtained before the transmission path is switched and the second simulation result obtained after the transmission path is switched, thereby obtaining a network verification result for performing path control on the power communication network.

In the power communication network path control simulation verification method, a terminal acquires a network topology of a power communication network to be verified, constructs a first communication network model corresponding to the network topology according to the network topology, and simulates the first communication network model by using a preset simulation system to acquire a first simulation result aiming at the first communication network model; determining a target node from the first communication network model, and acquiring a plurality of data transmission paths corresponding to the target node by using the first communication network model; acquiring a first data transmission path matched with the first communication network model from the plurality of data transmission paths, and changing routing parameters of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path; and simulating the second communication network model by using the simulation system, acquiring a second simulation result aiming at the second communication network model, and obtaining a path control verification result of the power communication network according to the first simulation result and the second simulation result. According to the method and the device, the route selection parameters of the data transmission paths in the constructed power communication network model are changed through the terminal, the switching of the transmission paths is realized, the simulation results of the power communication networks before and after the path switching are obtained through the simulation system, and then the path control verification result of the power communication network is obtained, so that a practical basis is provided for the path control verification of the power communication network, and the reliability of the path control verification result of the power communication network is improved.

In one embodiment, as shown in fig. 2, step S101 may further include:

in step S201, the terminal acquires communication device models of a plurality of communication nodes constituting the power communication network and connection information of the plurality of communication nodes according to the network topology.

The power communication network is formed by connecting a plurality of communication nodes formed by communication equipment, so that the equipment models of the communication equipment of each communication node forming the power communication network and the connection information of the equipment between the communication nodes, such as the connection mode of the nodes, can be stored in the network topology of the power communication network. Specifically, after obtaining the network topology of the power communication network, the terminal may determine, based on the obtained network topology, the communication device model of the power device corresponding to each communication node constituting the power communication network, and connection information between the communication nodes.

Step S202, the terminal obtains the power simulation model corresponding to each communication node from a pre-constructed simulation model library by using the model of the communication equipment.

The simulation model library is a pre-constructed device model library for simulation, and the model library consists of a plurality of device simulation models and is respectively used for representing different communication devices. Specifically, after obtaining the communication device model of the communication node constructing the power communication network in step S201, the terminal may find a device simulation model matching the communication device model, that is, the power simulation model, from the simulation node device model library based on the communication device model corresponding to each communication node.

Step S203, the terminal connects the power simulation models corresponding to the communication nodes according to the connection information to construct a first communication network model.

After the power simulation model corresponding to each communication node is obtained in step S202, the terminal may connect the power simulation model obtained in step S202 by using connection information between each communication node, thereby constructing a first communication network model adapted to a network topology of the power communication network that needs to be subjected to path control verification.

Furthermore, the target nodes in the first data transmission path and the second data transmission path respectively correspond to different access nodes; as shown in fig. 3, step S103 may further include:

step S301, the terminal obtains a first access node corresponding to a target node in a first data transmission path and a second access node corresponding to the target node in a second data transmission path.

The access node is a node directly connected to the target node in a data transmission path for the target node, the first access node is an access node directly connected to the target node in the first data transmission path, and the second access node is an access node directly connected to the target node in the second data transmission path. In this embodiment, the second data transmission path after the path switching may be any one of the data transmission paths corresponding to the target node except the first data transmission path, and when the terminal needs to switch the data transmission path from the first data transmission path to the second data transmission path, the access node corresponding to the target node in the first data transmission path may be obtained as the first access node, and the access node corresponding to the target node in any one of the second data transmission paths except the first data transmission path may be obtained as the second access node.

Taking the target node E as an example, the first data transmission path is composed of a node a-node B-node E, the second data transmission path may be a node a-node C-node E, and a node a-node D-node E, and then the target nodes in the first data transmission path and the second data transmission path respectively correspond to different access nodes, where the node B is a first access node corresponding to the node E in the first data transmission path, and the node C or the node D may both be used as a second access node corresponding to the node E in the second data transmission path.

Step S302, the terminal obtains a first communication priority parameter corresponding to the first access node and a second communication priority parameter corresponding to the second access node.

The communication priority parameter is used for representing the communication priority of the access node to the target node, and the higher the communication priority is, the higher the priority of the access node as the target node is. Specifically, the terminal may obtain the communication priority parameter of the first access node before the path switching and the communication priority parameter of the second access node after the path switching, for example, the communication priority parameters may be obtained by accessing the routing control table of the first access node and the second access node obtained in step S301, and the obtained communication priority parameters may be used as the first communication priority parameter and the second communication priority parameter, respectively.

Step S303, the terminal changes the first communication priority parameter so that the first communication priority parameter is smaller than the second communication priority parameter, and a second communication network model is obtained.

After the terminal obtains the first communication priority parameter and the second communication priority parameter respectively in step S302, the first communication priority parameter may be modified, for example, the first communication priority parameter may be modified so that the first communication priority parameter is smaller than the communication priority parameter of any access node corresponding to the target node, so as to ensure that the first communication priority parameter corresponding to the first access node is smaller than the second communication priority parameter corresponding to the second access node, at this time, the second access node has a higher communication priority than the first access node, at this time, the electric power communication network preferentially adopts the second access node as the access node of the target node, thereby implementing the switching of the data transmission path, and obtaining the second communication network model.

In the above embodiment, the terminal may construct the first communication network model based on the communication device model of each communication node in the power communication network and the connection information of each communication node, so that the accuracy of the constructed network model of the power communication network and the construction efficiency may be improved. Meanwhile, the mode of changing the data transmission path is realized by directly changing the communication priority of the access node corresponding to the target node, and the switching of the data transmission path can be quickly realized.

In addition, in an embodiment, as shown in fig. 4, step S103 may further include:

step S401, the terminal obtains a first path transmission loss parameter corresponding to the first data transmission path and a second path transmission loss parameter corresponding to the second data transmission path.

The path transmission loss parameter may refer to a loss value of path transmission, and the loss value may be determined by a loss value in a routing protocol corresponding to the transmission path, that is, a cost value of the transmission path ospf. Specifically, the terminal may obtain, as the first path transmission loss parameter, a path transmission loss parameter corresponding to the first data transmission path before the transmission path is switched, and obtain, as the second path transmission loss parameter, a path transmission loss parameter corresponding to any one of the second data transmission paths except the first data transmission path after the transmission path is switched.

Step S402, the terminal changes the transmission loss parameter of the first path so that the transmission loss parameter of the first path is larger than the transmission loss parameter of the second path, and a second communication network model is obtained.

The path transmission protocol used in this embodiment may be a transmission path with the smallest path loss as a transmission path for transmitting data to the target node, so that when a path transmission loss parameter of the transmission path changes, switching of the transmission path may be implemented, specifically, the terminal may modify a first path transmission loss parameter corresponding to a first data transmission path, and may make the first path transmission loss parameter greater than a path transmission loss parameter of any data transmission path corresponding to the target node, so as to ensure that the first path transmission loss parameter is greater than a second path transmission loss parameter, that is, a link transmission loss of the first transmission path is greater than a link transmission loss of the second transmission path, at this time, the power communication network may preferentially implement data transmission for the target node by using the second transmission path, therefore, switching of the data transmission path is realized, and the second communication network model is obtained.

In this embodiment, the terminal may further implement switching of the transmission path by modifying the path transmission loss parameter, so that the second data transmission path to be switched has the lowest transmission loss while switching the data transmission path, thereby further reducing the transmission loss caused after switching the data transmission path, and improving the efficiency of data transmission.

In one embodiment, after step S102, the method may further include: the terminal determines a second data transmission path from the plurality of data transmission paths; and changing the routing parameters of the second data transmission path to obtain a second communication network model.

In this embodiment, the second data transmission path may be determined by the user from multiple data transmission paths corresponding to the target node according to the need of the user, for example, after the user obtains multiple data transmission paths for the target node, the user may select one of the multiple data transmission paths as a data transmission path for performing data transmission on the target node after switching the transmission paths. And then the terminal can take the data transmission path selected by the user as a second data transmission path, and realize switching the first data transmission path to the second data transmission path by changing the routing parameter of the second data transmission path, thereby obtaining a second communication network model.

In this embodiment, the terminal may further determine a second data transmission path from the multiple data transmission paths in a manner selected by the user, and implement switching of the transmission paths by changing the routing parameters of the second data transmission path, so as to improve the accuracy of path switching, and implement switching of the transmission paths according to the actual needs of the user.

In one embodiment, the first simulation result and the second simulation result comprise simulation results of a plurality of different verification indexes; as shown in fig. 5, step S104 may further include:

step S501, the terminal obtains the index threshold corresponding to each verification index.

In this embodiment, the first simulation result and the second simulation result obtained by using the simulation system may be composed of simulation results of different verification indexes, for example, after a simulation is performed on the communication network model once, simulation results corresponding to a plurality of verification indexes, such as network traffic, network connectivity, network delay, and the like, may be obtained, meanwhile, each verification index may have a preset index threshold corresponding thereto, and the terminal may obtain the index threshold corresponding to each verification index.

Step S502, the terminal compares a first simulation result corresponding to each verification index with a second simulation result corresponding to each verification index based on an index threshold corresponding to each verification index, and respectively determines a first network verification result of the first communication network model and a second network verification result of the second communication network model according to the comparison results;

step S503, the terminal compares the first network verification result with the second network verification result, and determines a path control verification result of the power communication network.

After the terminal obtains the index threshold corresponding to each verification index in step S501, the index threshold may be used to compare the first simulation result corresponding to each verification index with the second simulation result corresponding to each verification index, so as to determine the first network verification result for the first communication network model and the second network verification result for the second communication network model, and compare the first network verification result with the second network verification result, so as to obtain the path control verification result of the power communication network.

Taking a network connectivity index as an example, after the terminal obtains an index threshold value for the network connectivity index, the terminal may respectively compare the first network verification result and the second network verification result with the index threshold value to determine the connectivity of the power communication network before and after the switching of the transmission path, for example, may respectively determine communication nodes of which the connectivity does not reach the standard, and determine the difference of the network connectivity before and after the switching of the transmission path of the power communication network based on the communication nodes of which the connectivity does not reach the standard before and after the switching of the transmission path, thereby obtaining a path control verification result of the power communication network for the network connectivity.

Further, the validation metrics may include: at least one of a routing hop count index, a network delay index, a network jitter index, a link traffic index, and a link quality index.

In this embodiment, the verification index may include: at least one of a routing hop count index, a network delay index, a network jitter index, a link traffic index, and a link quality index. Therefore, the path control verification result of the power communication network that can be obtained may also include at least one of a verification result of the number of routing hops, a verification result of the network delay, a verification result of the network jitter, a verification result of the link traffic, and a verification result of the link quality.

Specifically, for the routing hop count index, the terminal may preset a maximum routing hop count threshold between one power communication node and the master station node, for example, 6, and then the terminal may obtain the routing hop count between each power communication node and the master station node from the simulation result, and find a node range that affects the routing hop count index after the transmission path of the power communication network is switched, that is, a node range in which the routing hop count is greater than 6 times, according to a magnitude relationship between the routing hop count and the routing hop count threshold.

For the network delay index, the terminal may preset a network delay threshold at which any one of the power communication nodes receives the signal sent by the master station node, where the network delay threshold is the largest, and may be set to 100ms, for example, and then the terminal may obtain, from the simulation result, the network delay at which each of the power communication nodes receives the signal sent by the master station node, and find out a node range that affects the network delay index after the transmission path of the power communication network is switched according to the magnitude relationship between the network delay and the network delay threshold, that is, a node range at which the network delay is greater than 100 ms.

For the network jitter index, the terminal may set a maximum unidirectional network jitter threshold between any one of the power communication nodes and the master station node, for example, 20ms, and then the terminal may obtain the network jitter corresponding to each communication node from the simulation result, and find out a node range that affects the network jitter index after the transmission path of the power communication network is switched according to a size relationship between the network jitter and the network jitter threshold, that is, a node range where the network jitter is greater than 20 ms.

For the link traffic index, the terminal may set a bandwidth threshold of an interconnection link between the core layer and the aggregation layer node of the power communication network, for example, 155Mb/s, and then the terminal may obtain link traffic corresponding to each interconnection link between the core layer and the aggregation layer node from the simulation result, compare the link traffic with the link bandwidth threshold, and find a link range that affects the link traffic index after the transmission path of the power communication network is switched.

For the link quality index, the terminal may set a link quality threshold, which may be set to 99%, and then the terminal may obtain the number of data packets sent by each node to the master station and the number of data packets received by the master station from the simulation result, thereby respectively calculating the link quality corresponding to each node after the node transmission path of the power communication network is switched, and finding the node range affecting the link quality by comparison.

In this embodiment, the terminal may collect the first simulation result and the second simulation result corresponding to different verification indexes, compare the set thresholds respectively, and after obtaining the first network verification result and the second network verification result, compare the first network verification result and the second network verification result, thereby obtaining the path control verification results of the corresponding verification indexes respectively, and thus may improve the comprehensiveness and integrity of the path control verification results of the power communication network.

In an application example, a simulation method for a power communication network under a routing control scenario is further provided, which specifically includes the following steps:

1. simulated node domain construction

Through the node domain design of the power communication network, the existing simulation network uses an equipment node library on a simulation platform, and the equipment node library comprises power equipment of different brands and models and is used for supporting the simulation modeling of the power communication network.

2. Simulated network domain planning

(1) Through the whole network planning design of the power communication network, a power communication network architecture is simulated on a simulation platform, and the whole network domain hierarchical modeling is carried out from nodes, communication links and protocol types, as shown in fig. 6, wherein the simulation power communication data network adopts the hierarchical structure networking and comprises a three-layer network structure model consisting of a core layer, a convergence layer and an access layer.

(2) According to the network architecture, an OPNET Modeler is used for carrying out simulation modeling on the regional power communication data network, virtual-real combined simulation of a typical scheduling data network and a comprehensive data network is achieved, and a constructed OPNET model topology can be shown in FIG. 7.

(3) The method comprises the steps of carrying out simulation, capacity expansion and modeling through a power communication data network simulation model, simulating the communication condition of networks between each plant station and a main station, describing the communication path between the main station and the plant stations, and acquiring network parameters such as a node table. By utilizing the power communication data network simulation model, simulation modeling is performed to simulate the network communication between the plant station and the main station, and the network communication and flow path are verified, wherein the network transmission path between a certain plant station and the main station can be shown in fig. 8.

3. Simulation path control scenario

The simulation environment is network communication between a main station and a plant station of the power communication data network in one area, and a communication link between the main station and the plant station is simulated to carry out path control on service data transmission in a mode of modifying routing IGP parameters. The routing parameters of the IGP route are modified through simulation, the data transmission path is modified, network congestion in a part of the area caused by uneven data flow distribution is avoided, the overall performance of the network after the routing parameters of the route are configured is tested, and fig. 9 is a network transmission path after the simulation route is modified.

The modification of the routing route can include the following two parts:

(1) controlling a service network access path, and redistributing routing information of each station by an electric power communication simulation network access layer router through BGP (border gateway protocol), so as to realize declaration of the service network routing information; if the factory station with the multi-access router exists, the local priority of the source Route is modified by using the Route-map after the access control list or the prefix list is used for matching the Route address.

(2) BGP internal path control, a plurality of communication paths exist between a station and a main station in the power communication simulation network, optimal flow forwarding is realized through a route control service data forwarding path, optimal path selection is realized through the route control in an IBGP domain mainly by modifying the route parameters of IGP, and service flow is forwarded through the optimal path by modifying the cost value of an internal link ospf.

4. Simulation path control result

Under the condition of normal network communication, the shortest path calculated by the IGP routing protocol is used by the traffic sent from the master station to the plant station, and the passing links are shown in the arrow direction in fig. 8; after the cost value of the IGP protocol and the Local-preference value redistributed by the BGP are modified, the optimal path of the traffic flow is switched to the link as shown in the arrow direction in fig. 9.

In addition, further simulation verification is carried out on the following indexes:

(1) according to the requirement on the routing hop count, the routing hop count from each station to the master station in the data network is not more than 6 hops. The influence range of the route hop count before and after the path control can be analyzed by carrying out simulation statistics on the route hop count of each access station after the interruption of the plurality of node devices and comparing the route hop count with the standard of the technical specification, as shown in table 1.

TABLE 1 comparison of hop counts for simulation nodes

(2) According to the requirement for network delay, the unidirectional network delay from any access station in the autonomous system to the dispatching mechanism should be controlled within 100 ms. By configuring and modifying the service transmission path, counting the network delays of the access stations after path control, and comparing the network delays with the standard of the technical specification, the network delays of the nodes before and after path control can be analyzed, as shown in table 2.

Serial number Node name Standard of merit Controlling pre-delay Controlling post-delay Qualification situation
1 CZ33 100ms 18 24 Qualified
2 CZ34 100ms 20 24 Qualified
3 CZ35 100ms 18 12 Qualified
4 CZ36 100ms 19 13 Qualified
5 CZ37 100ms 16 11 Qualified
6 CZ38 100ms 18 14 Qualified
7 CZ59 100ms 19 9 Qualified
8 CZ60 100ms 14 5 Qualified
9 CZ61 100ms 15 11 Qualified
10 CZ62 100ms 17 16 Qualified
11 CZ42 100ms 18 15 Qualified
12 CZ43 100ms 16 19 Qualified

TABLE 2 simulated node delay comparison

(3) According to the requirement for network jitter, unidirectional network jitter from any access station to the dispatching mechanism in the autonomous system is controlled within 20 ms. By configuring and modifying the service transmission path, counting the network jitter of each access station after path control, and comparing with the standard of the technical specification, the network jitter conditions of each node before and after path control can be analyzed, and a basis is provided for subsequent tuning, as shown in table 3.

TABLE 3 comparison of hop counts for simulation nodes

(4) According to the requirement of link load, the bandwidth of the interconnection link between the core layer node and the aggregation layer node is not less than 155 Mb/s. By controlling the path, counting the traffic load of each transmission link after the path switching, and comparing with the standard of the technical specification, the network load condition of each site before and after the sink node path switching can be analyzed, as shown in table 4.

Table 4 simulated link bandwidth comparison

(5) The power communication network digital simulation system is used for carrying out simulation verification on the power communication network, and the influence range and the influence degree on the power communication data network during switching of the transmission path can be simulated. The service flow sent by the simulation plant station node is compared with the service flow received by the main station, and the data loss rate of the whole network is analyzed, so that the network performance of the node is evaluated, as shown in table 5.

Specifically, the factory station end sends data packets with the same quantity and size to the master station in unit time, records the quantity of the data packets received by the monitoring master station, and compares and calculates the sending and receiving data packets after the transmission path is switched to obtain the transmission quality of the service data.

Link quality (1- (. sigma. send packet-. sigma. receive packet)/. sigma. send packet). 100

Table 5 simulated link quality comparison

And (3) carrying out simulation verification on the electric power communication network by using an electric power communication network digital simulation system, and simulating the network transmission condition after carrying out service data transmission path control. The simulation simulates the modification of the local priority of the service network segment of the plant station and the communication between the simulation network segment and the main station through the adjustment of the cost value of the path, and the result shows that after the routing parameters are modified, the service data are transmitted according to the new path, and because the link bandwidth of the equipment of the new path is large, the load is low, and the parameters such as network delay, jitter, packet loss rate and the like are optimized.

The transmission path of the service is modified through simulation, and the overall network performance before and after the path is modified is compared by combining with standard analysis, so that the evaluation index of the overall efficiency of the network is determined, and the quality evaluation of the overall network after the network path is switched is realized.

The simulation result and the technical specification are combined and analyzed to determine the network influence range after the network path switching and the network performance evaluation index after the network path switching, as shown in table 6.

Table 6 path control network performance evaluation index table

In the simulation method for the power communication network under the routing control scene, the power communication network is simulated and verified by using the power communication network digital simulation system, the transmission path of the service data is changed in a routing control mode, the network communication condition after the communication path of the service data is changed is analyzed, the whole network is evaluated integrally, the corresponding network whole efficiency evaluation index is determined, the corresponding evaluation method is formed, and an evaluation guide is provided for network design and subsequent optimization.

It should be understood that although the various steps in the flow charts of fig. 1-5 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-5 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. 10, there is provided a power communication network path control simulation verification apparatus, including: a first model simulation module 1001, a transmission path acquisition module 1002, a transmission path switching module 1003 and a second model simulation module 1004, wherein:

the first model simulation module 1001 is configured to acquire a network topology of a power communication network to be verified, construct a first communication network model corresponding to the network topology according to the network topology, simulate the first communication network model by using a preset simulation system, and acquire a first simulation result for the first communication network model;

a transmission path obtaining module 1002, configured to determine a target node from the first communication network model, and obtain multiple data transmission paths corresponding to the target node by using the first communication network model;

a transmission path switching module 1003, configured to obtain a first data transmission path matched with the first communication network model from the multiple data transmission paths, and change a routing parameter of the first data transmission path to obtain a second communication network model; the second data transmission path matched with the second communication network model is different from the first data transmission path;

the second model simulation module 1004 is configured to simulate the second communication network model by using the simulation system, obtain a second simulation result for the second communication network model, and obtain a path control verification result of the power communication network according to the first simulation result and the second simulation result.

In one embodiment, the first model simulation module 1001 is further configured to obtain, according to a network topology, communication device models of a plurality of communication nodes constituting the power communication network and connection information of the plurality of communication nodes; acquiring a power simulation model corresponding to each communication node from a pre-constructed simulation model library by using the model of the communication equipment; and connecting the power simulation models corresponding to the communication nodes according to the connection information to construct a first communication network model.

In one embodiment, the target nodes in the first data transmission path and the second data transmission path respectively correspond to different access nodes; a transmission path switching module 1003, further configured to acquire a first access node corresponding to a target node in a first data transmission path and a second access node corresponding to the target node in a second data transmission path; acquiring a first communication priority parameter corresponding to a first access node and a second communication priority parameter corresponding to a second access node; and changing the first communication priority parameter so that the first communication priority parameter is smaller than the second communication priority parameter to obtain a second communication network model.

In an embodiment, the transmission path switching module 1003 is further configured to obtain a first path transmission loss parameter corresponding to the first data transmission path and a second path transmission loss parameter corresponding to the second data transmission path; and changing the transmission loss parameter of the first path to enable the transmission loss parameter of the first path to be larger than the transmission loss parameter of the second path, and obtaining a second communication network model.

In one embodiment, the power communication network path control simulation verification apparatus further includes: a second path determination module, configured to determine the second data transmission path from multiple data transmission paths; and changing the routing parameters of the second data transmission path to obtain a second communication network model.

In one embodiment, the first simulation result and the second simulation result comprise simulation results of a plurality of different verification indexes; the second model simulation module 1004 is further configured to obtain an index threshold corresponding to each verification index; comparing a first simulation result corresponding to each verification index with a second simulation result corresponding to each verification index based on the index threshold corresponding to each verification index, and respectively determining a first network verification result of the first communication network model and a second network verification result of the second communication network model according to the comparison results; and comparing the first network verification result with the second network verification result, and determining a path control verification result of the power communication network.

In one embodiment, the validation metrics include: at least one of a routing hop count index, a network delay index, a network jitter index, a link traffic index, and a link quality index.

For specific limitations of the power communication network path control simulation verification device, reference may be made to the above limitations of the power communication network path control simulation verification method, which are not described herein again. The modules in the power communication network path control simulation verification device can be wholly or partially realized by software, hardware and a combination thereof. 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. 11. 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 power communication network path control simulation verification method. 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. 11 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 further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.

In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.

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 storage, 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.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:电力通信网络扩容仿真验证方法、装置、设备和介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类