CN107517130B - OPNET-based seamless redundancy protocol network performance equivalent simulation method - Google Patents
OPNET-based seamless redundancy protocol network performance equivalent simulation method Download PDFInfo
- Publication number
- CN107517130B CN107517130B CN201710744494.8A CN201710744494A CN107517130B CN 107517130 B CN107517130 B CN 107517130B CN 201710744494 A CN201710744494 A CN 201710744494A CN 107517130 B CN107517130 B CN 107517130B
- Authority
- CN
- China
- Prior art keywords
- node
- simulation
- message
- network
- redundancy protocol
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
Abstract
The invention relates to an OPNET-based seamless redundancy protocol network performance equivalent simulation method. Under the condition of extracting the seamless redundancy protocol, message characteristic equivalence, delay characteristic equivalence, flow characteristic equivalence and logic characteristic equivalence of the network are carried out, and a simulation result is obtained by carrying out external equivalence on each node of the network. The invention provides an equivalent processing method of a seamless redundancy protocol on message characteristics, time characteristics and flow distribution characteristics based on an OPNET simulation platform, which can realize PRP and HSR network performance simulation on the basis of the existing OPNET model, avoid complex modeling work and has the characteristic of OPNET universality. The method provided by the invention provides an effective simulation tool for communication networking research in various fields, and has the advantages of all simulation methods. The invention is a convenient and practical network performance equivalent simulation method for realizing a seamless redundancy protocol based on an OPNET simulation platform.
Description
Technical Field
The invention relates to an OPNET-based seamless redundancy protocol network performance equivalent simulation method, belonging to the innovative technology of the OPNET-based seamless redundancy protocol network performance equivalent simulation method.
Background
With the development of communication technology, various communication protocols are continuously proposed, and a seamless redundancy protocol provides a new network redundancy method, which is widely applied to various communication networking. The OPNET simulation platform can accurately simulate the communication behavior of a complex network, has a good interface effect and abundant equipment model libraries, and is recognized in the industry, however, the OPNET simulation platform at the present stage lacks description of a seamless redundancy protocol and relevant equipment models, and various networking researches based on the seamless redundancy protocol cannot be effectively carried out.
In the prior art, seamless redundancy protocol communication networking research is realized by a simulation method, various functions and parameter settings of equipment can be realized by programming through a user-defined equipment model on a software platform, the whole process of sending, receiving, forwarding and processing data packets of the equipment is programmed, and communication networking evaluation is obtained by collecting simulation results, so that the problem that the modeling process is complex, needs professional technicians to program and is difficult to realize exists; and the problem of compatibility of the custom equipment and the standard model library model exists.
Disclosure of Invention
The invention aims to provide an OPNET-based seamless redundancy protocol network performance equivalent simulation method in consideration of the problems. The network performance equivalent simulation method for realizing the seamless redundancy protocol based on the OPNET simulation platform provides a simplified equivalent simulation tool for the research of the seamless redundancy protocol in a networking scheme, can complete the networking research and the network performance evaluation of the seamless redundancy protocol on the simulation platform, reduces the consumption of physical simulation manpower and material resources, and avoids the complicated modeling process of building a new equipment model of the simulation platform.
The technical scheme of the invention is as follows: the invention relates to an OPNET-based seamless redundancy protocol network performance equivalent simulation method, which performs message characteristic equivalence, delay characteristic equivalence, flow characteristic equivalence and logic characteristic equivalence of a network under the condition of extracting a seamless redundancy protocol, and acquires a simulation result by performing external equivalence on each node of the network.
The message characteristic equivalence is that a simulation packet format is established, so that each field can be matched with each field of the packet format under the seamless redundancy protocol; the time delay characteristic equivalence is that the time for processing the data frame by the node is obtained by changing the parameters of the node model; the flow characteristic equivalence is the transmission process of the analog data packet, so that the transmission rule of the message in the network conforms to the seamless redundancy protocol message transmission standard; the logical characteristic equivalence is to simulate the processing process and the processing method of the seamless redundancy protocol to the data packet, so that the effectiveness of the method can be ensured on the processing result.
The invention provides an equivalent processing method of a seamless redundancy protocol on message characteristics, time characteristics and flow distribution characteristics based on an OPNET simulation platform, which can realize PRP and HSR network performance simulation on the basis of the existing OPNET model, avoid complex modeling work and has the characteristic of OPNET universality. The method provided by the invention provides an effective simulation tool for communication networking research in various fields, and has the advantages of all simulation methods. The invention is a convenient and practical network performance equivalent simulation method for realizing a seamless redundancy protocol based on an OPNET simulation platform.
Drawings
FIG. 1 is a schematic diagram of the present invention;
FIG. 2 is a flow chart of steps in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of the construction of a PRP node model according to the present invention;
FIG. 4 is a schematic diagram of building an HSR node model according to the present invention;
FIG. 5 is a schematic diagram of building a QuadBox node model according to the invention;
fig. 6 is a flow chart of a message reception processing rule according to the present invention.
Detailed Description
Example (b):
the schematic diagram of the invention is shown in fig. 1, the invention provides a network performance equivalent simulation method for realizing a seamless redundancy protocol based on an OPNET simulation platform, under the condition of extracting the seamless redundancy protocol, message characteristic equivalence, delay characteristic equivalence, flow characteristic equivalence and logic characteristic equivalence of a network are carried out, and a simulation result is obtained by carrying out external equivalence on each node of the network.
In the embodiment, the message characteristic equivalence is to establish a simulation packet format, so that each field can be matched with each field of the packet format under the seamless redundancy protocol; the time delay characteristic equivalence is that the time for processing the data frame by the node is obtained by changing the parameters of the node model; the flow characteristic equivalence is the transmission process of the analog data packet, so that the transmission rule of the message in the network conforms to the seamless redundancy protocol message transmission standard; the logical characteristic equivalence is to simulate the processing process and the processing method of the seamless redundancy protocol to the data packet, so that the effectiveness of the method can be ensured on the processing result.
The invention relates to an OPNET-based seamless redundancy protocol network performance equivalent simulation method, which specifically comprises the following steps:
1) defining a packet format;
2) establishing an equivalent node model;
3) setting parameters;
4) building a simulation scene;
5) and (5) processing a simulation result.
In this embodiment, the packet format definition method in step 1) is as follows:
and according to a data packet format defined by the seamless redundancy protocol, generating a corresponding data packet in an OPNET data packet editor, wherein the generated data packet is required to be matched with all fields, all field sizes and field data types of the data packet defined by the seamless redundancy protocol. Thereby enabling simulation equivalence from a packet perspective. The process of establishing the data packet and the corresponding relationship with the seamless redundancy protocol are shown in the following figure.
In this embodiment, the equivalent node model establishing method in step 2) is as follows:
the equivalent node model establishment comprises the following three types of nodes, a PRP node model (containing a RedBox model), an HSR node model (containing a RedBox model) and a QuadBox node model for different network connections are established based on an OPNET simulation platform according to a specific equipment model of a seamless redundancy protocol.
The method for building the PRP node model comprises the following steps:
the PRP node model mainly realizes the receiving and sending of messages, and from the external equivalence of the node with the sending rule, the PRP node can send the same data frame to different networks through two different ports at the same time, and from the external equivalence of the node with the receiving rule, the PRP node can receive the data frame with the same content from two different networks. In order to realize external equivalence (equivalence of time characteristics and flow distribution characteristics) of the nodes, the following equivalent method is adopted to construct a model:
11) the two source nodes A, B simulate message sending and receiving, the source nodes can select an own equipment model or a user-defined model of an OPNET system, the defined seamless redundant data packet format is required to be loaded, and the sending rule can be set at the same time, so that two groups of source nodes can send data frames with the same size at the same time. The two groups of message sending stages formed by the method are mutually independent and do not interfere with each other, and the method conforms to the PRP dual-network sending and receiving rule.
12) The data processing time of the PRP node is adjusted by adding the switch module in front of the equipment node and setting parameters, so that the equivalent requirement on the time characteristic is met.
The method for building the HSR node model comprises the following steps:
the HSR node message sending rule and the receiving rule are similar to the HSR node, the structure method is similar, the message sending and receiving are simulated through two equipment nodes, a switch is configured at the front end, and the switch configured at the front end can achieve two purposes, namely, time characteristic adjustment is achieved, and limitation is provided for message information flow distribution.
Different from the characteristics that the PRP forms redundancy by double networks and the networks are mutually independent, the HSR utilizes a ring network to form redundancy and transmits all message information in the same network, in order to simulate the forwarding rule of HSR nodes, all the message information carries out data circulation according to an HSR protocol, and the distribution of message information flow is managed by utilizing a switch VLAN technology, the specific implementation mode is as follows:
21) respectively configuring different VLANs for two equivalent data source Ai and Bi nodes in all HSR nodes i;
22) making the data sources An and Bn of all nodes correspond to each other pairwise, and forming two logically independent networks through VLAN, that is, the received VID configured for port 5 corresponds to the PVIDs of all source nodes An, and the received VID configured for port 6 corresponds to the PVIDs of all source nodes Bn;
23) VIDs configured for the ports 9 and 10 should satisfy PVIDs of nodes An and Bn except the local node i, so as to satisfy two source nodes A, B in the same HSR node, and it is impossible to receive a data frame of the local node or another source node through the ring network, and it is also possible to ensure that data of other HSR nodes can be forwarded in the ring network, thereby ensuring rules of sending, receiving, and forwarding of the HSR.
The method for building the QuadBox node model comprises the following steps:
the QuadBox node is a switching node connected with the two HSR networks and provides data frame interactive support for the two HSR ring networks. The equivalent model of the quadrbox needs to satisfy a receiving and sending rule, that is, a message is received from two ports of one ring and sent to two ports of the other ring, and a forwarding rule, that is, the message is forwarded to the other port of the same ring without using the other ring as a destination address, and information flow distribution is restricted through a VLAN.
The specific configuration method is that two paths of data frames identical to the HSR ring network I are respectively accessed to the quadrbox from the ports 11 and 13, and respectively enter the HSR ring network II from the ports 19 and 20, and the specific configuration rule is as follows:
the ports 12 and 14 configure the PVID corresponding to the source node of the messages received by the ports 11 and 13, so as to ensure the effective transmission of the messages in the HSR ring network I;
the port 11 receives only the packets from the ports 13 and 19, and does not receive the source node PVID corresponding to the packet from the port 20.
In this embodiment, the parameter setting method in step 3) is as follows: setting aiming at the data frame sending rule, the forwarding rate of each node of the network and the bandwidth size, wherein the forwarding rate of the node can meet the requirement of true forwarding time by measuring the forwarding time of the equipment.
In this embodiment, the simulation scene building method in step 4) is as follows:
and according to the networking characteristics of the seamless redundancy protocol, network construction is carried out. For a PRP network, two outgoing lines of a PRP node are respectively connected to form a PRP double network, and for an HSR ring network, the outgoing lines at two ends of the HSR node are connected end to form an annular structure.
In this embodiment, the message receiving and processing method in step 5) is as follows:
the simulation result collection and processing are the final links of the equivalent simulation of the seamless redundancy protocol, and the characteristics of node data collection are required to be simulated. The simulation is carried out by adopting an equivalent method, because the two paths of receiving and transmitting nodes are independent, the receiving and transmitting logics are not influenced mutually, the simulation results are screened at the same time, the delays of the same message received by two equipment nodes at the same node are compared, the message with small delay is used as the delay of a network transmission message, the message with large delay is ignored, and the number of the received messages is recorded at the same time.
Claims (7)
1. A seamless redundancy protocol network performance equivalent simulation method based on OPNET is characterized in that under the condition of extracting a seamless redundancy protocol, message characteristic equivalence, delay characteristic equivalence, flow characteristic equivalence and logic characteristic equivalence of a network are carried out, and external equivalence is carried out on each node of the network to obtain a simulation result, and the method specifically comprises the following steps:
1) defining a packet format;
2) establishing an equivalent node model;
3) setting parameters;
4) building a simulation scene;
5) processing a simulation result;
the equivalent node model of the step 2) includes the following three types: according to a specific equipment model of a seamless redundancy protocol, a PRP node model, an HSR node model and QuadBox node models for different network connections are built based on an OPNET simulation platform;
the method for building the PRP node model comprises the following steps:
the PRP node model mainly realizes the receiving and sending of messages, and from the external equivalence of the node with a sending rule, the PRP node can send the same data frame to different networks through two different ports at the same time, and from the external equivalence of the node with a receiving rule, the PRP node can receive the data frame with the same content from two different networks; in order to realize external equivalence of nodes, including equivalence of time characteristics and flow distribution characteristics, the following equivalent method is specifically adopted to construct a model:
11) message sending and receiving are simulated through the two source nodes A, B, the source nodes select an own equipment model or a user-defined model of an OPNET system, the defined seamless redundant data packet format is required to be loaded, and meanwhile, the sending rule is set so that the two groups of source nodes can send data frames with the same size at the same time, so that the two groups of message sending stages formed by the two groups of source nodes are mutually independent and do not interfere with each other, and the sending and receiving rules of the PRP dual-network are met;
12) the data processing time of the PRP node is adjusted by adding the switch module in front of the equipment node and setting parameters, so that the equivalent requirement on the time characteristic is met.
2. The OPNET-based network performance equivalent simulation method of the seamless redundancy protocol according to claim 1, wherein the message feature equivalence is to establish a simulation packet format so that each field can be matched with each field of the packet format under the seamless redundancy protocol; the time delay characteristic equivalence is that the time for processing the data frame by the node is obtained by changing the parameters of the node model; the flow characteristic equivalence is the transmission process of the analog data packet, so that the transmission rule of the message in the network conforms to the seamless redundancy protocol message transmission standard; the logical characteristic equivalence is to simulate the processing process and the processing method of the seamless redundancy protocol to the data packet, so that the effectiveness of the method can be ensured on the processing result.
3. The OPNET-based seamless redundancy protocol network performance equivalent simulation method according to claim 1, wherein the packet format definition method in the step 1) is as follows:
according to the data packet format defined by the seamless redundancy protocol, a corresponding data packet is generated in an OPNET data packet editor, and the generated data packet is required to be matched with all fields, all field sizes and field data types of the data packet defined by the seamless redundancy protocol, so that simulation equivalence can be realized from the perspective of the data packet.
4. The OPNET-based seamless redundancy protocol network performance equivalent simulation method according to claim 1, wherein the parameter setting method in the step 3) is as follows: setting aiming at the data frame sending rule, the forwarding rate of each network node and the bandwidth size, wherein the forwarding rate of the nodes meets the requirement of true forwarding time by measuring the forwarding time of equipment.
5. The OPNET-based seamless redundancy protocol network performance equivalent simulation method according to claim 1, wherein the simulation scenario construction method of the step 4) is as follows:
according to the networking characteristics of a seamless redundancy protocol, network construction is carried out, for a PRP network, two outgoing lines of a PRP node are respectively connected to form a PRP double network, and for an HSR ring network, outgoing lines at two ends of the HSR node are connected end to form an annular structure.
6. The OPNET-based seamless redundancy protocol network performance equivalent simulation method according to claim 1, wherein the message receiving and processing method in the step 5) is as follows:
the simulation result collection and processing are the final links of the equivalent simulation of the seamless redundancy protocol, and the characteristics of node data collection are required to be simulated, and the seamless redundancy protocol only acquires the data frames which arrive first and discards the data frames which arrive later for the same two paths of data frames; the simulation is carried out by adopting an equivalent method, because the two paths of receiving and transmitting nodes are independent, the receiving and transmitting logics are not influenced mutually, the simulation results are screened at the same time, the delays of the same message received by two equipment nodes at the same node are compared, the message with small delay is used as the delay of a network transmission message, the message with large delay is ignored, and the number of the received messages is recorded at the same time.
7. The OPNET-based seamless redundancy protocol network performance equivalent simulation method according to claim 1, wherein the method for building the HSR node model is as follows:
the HSR node message sending rule and the receiving rule are similar to the HSR node, the structure method is similar, the message sending and receiving are simulated through two equipment nodes, a switch is configured at the front end, and the switch configured at the front end can achieve two purposes, namely, the time characteristic adjustment is achieved, and limitation is provided for the distribution of message information flow;
different from the characteristics that the PRP forms redundancy by double networks and the networks are mutually independent, the HSR utilizes a ring network to form redundancy and transmits all message information in the same network, in order to simulate the forwarding rule of HSR nodes, all the message information carries out data circulation according to an HSR protocol, and the distribution of message information flow is managed by utilizing a switch VLAN technology, the specific implementation mode is as follows:
21) respectively configuring different VLANs for two equivalent data source Ai and Bi nodes in all HSR nodes i;
22) making the data sources An and Bn of all nodes correspond to each other pairwise, and forming two logically independent networks through VLAN, that is, the received VID configured for port 5 corresponds to the PVIDs of all source nodes An, and the received VID configured for port 6 corresponds to the PVIDs of all source nodes Bn;
23) VIDs configured for the ports 9 and 10 should satisfy PVIDs of other nodes An and Bn except the local node i, so as to satisfy two source nodes A, B in the same HSR node, and cannot receive a data frame of the local node or another source node through the ring network, and can ensure that data of other HSR nodes can be forwarded in the ring network, thereby ensuring rules of sending, receiving and forwarding of the HSR;
the method for building the QuadBox node model comprises the following steps:
the QuadBox node is a switching node for connecting two HSR networks, provides data frame interactive support for the two HSR ring networks, and the equivalent model of the QuadBox needs to satisfy a receiving and sending rule, namely, a message is received from two ports of one ring and sent to two ports of the other ring, and a forwarding rule, namely, the message is forwarded to the other port of the same ring without taking the other ring as a destination address, and the distribution of information flow is restrained through a VLAN.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710744494.8A CN107517130B (en) | 2017-08-25 | 2017-08-25 | OPNET-based seamless redundancy protocol network performance equivalent simulation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710744494.8A CN107517130B (en) | 2017-08-25 | 2017-08-25 | OPNET-based seamless redundancy protocol network performance equivalent simulation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107517130A CN107517130A (en) | 2017-12-26 |
CN107517130B true CN107517130B (en) | 2020-11-10 |
Family
ID=60724054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710744494.8A Expired - Fee Related CN107517130B (en) | 2017-08-25 | 2017-08-25 | OPNET-based seamless redundancy protocol network performance equivalent simulation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107517130B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495324B (en) * | 2018-12-26 | 2021-12-24 | 武汉职业技术学院 | Virtual training communication network construction method and system |
CN112637885B (en) * | 2020-12-21 | 2022-05-20 | 嘉应学院 | OPNET-based on-demand multicast routing protocol simulation method |
CN114189432A (en) * | 2021-11-23 | 2022-03-15 | 国网山西省电力公司电力科学研究院 | Ring network intelligent communication system and method for identifying configuration language of transformer substation |
CN115499359B (en) * | 2022-09-15 | 2023-12-29 | 四川灵通电讯有限公司 | Improved method for wasting link resources based on standard HSR protocol |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107070708A (en) * | 2017-03-31 | 2017-08-18 | 哈尔滨工业大学 | A kind of transformer station process layer network communication performance emulation mode based on OPNET |
CN107070677A (en) * | 2016-11-23 | 2017-08-18 | 安徽师范大学 | A kind of heterogeneous network based on OPNET QoS performance verifications method and system end to end |
-
2017
- 2017-08-25 CN CN201710744494.8A patent/CN107517130B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107070677A (en) * | 2016-11-23 | 2017-08-18 | 安徽师范大学 | A kind of heterogeneous network based on OPNET QoS performance verifications method and system end to end |
CN107070708A (en) * | 2017-03-31 | 2017-08-18 | 哈尔滨工业大学 | A kind of transformer station process layer network communication performance emulation mode based on OPNET |
Non-Patent Citations (1)
Title |
---|
《A Novel Packet Transmission Scheme with Different Periods According to the HSR Ring Direction in Smart Grid》;Seokjoon Hong等;《Proceedings of the 4th international conference on Future Generation Information Technology》;20121226;正文第96-102页,图4-9 * |
Also Published As
Publication number | Publication date |
---|---|
CN107517130A (en) | 2017-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107517130B (en) | OPNET-based seamless redundancy protocol network performance equivalent simulation method | |
US10484206B2 (en) | Path detection method in VxLAN, controller, and network device | |
US8649271B2 (en) | Testing network equipment | |
US8072992B2 (en) | Interfacing real and virtual networks in hardware-in-the-loop (HITL) simulations | |
Prete et al. | Simulation in an SDN network scenario using the POX Controller | |
CN106357537B (en) | A kind of link monitoring method based on SDN multi-path transmission | |
CN106301911A (en) | Information Network based on SDN half centralized simulation platform in kind and its implementation | |
Agrawal et al. | Simulation of network on chip for 3D router architecture | |
CN103347013A (en) | OpenFlow network system and method for enhancing programmable capability | |
CN103428094A (en) | Method and device for packet transmitting in Open Flow system | |
CN107947994B (en) | Network topology self-discovery method and device, network equipment and computer storage medium | |
CN104980317A (en) | Automatic test system and test method for dispatching data network equipment | |
CN104092684A (en) | Method and device for supporting VPN based on OpenFlow protocol | |
CN109587010A (en) | A kind of method for detecting connectivity, stream forwarding device and network controller | |
CN103107924A (en) | Testing method for performance of network device with high-rate port by utilizing low-rate port | |
CN105516025A (en) | End-to-end path control and data transmission method, OpenFlow controller and a switch | |
CN103595712B (en) | A kind of Web authentication method, apparatus and system | |
Hegr et al. | OpenFlow deployment and concept analysis | |
CN105516116A (en) | System for controlling OpenFlow exchanger based on ForCES control element and protocol conversion method | |
CN105049351A (en) | Multi-link transparent interconnection algorithm based on SDN | |
WO2015131739A1 (en) | Data exchange method, baseband processing unit, radio frequency remote unit and relay unit | |
CN104320322A (en) | Message control method and equipment | |
CN108270628B (en) | OPNET-based power system SDH communication transmission network simulation modeling method | |
Ramadona et al. | The simulation of SDN network using POX controller: Case in Politeknik Caltex Riau | |
KR101610031B1 (en) | Method for controlling openflow switch embedded controller in software defined network and apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201110 |