CN109474496A - Network test method and device, storage medium and network element - Google Patents
Network test method and device, storage medium and network element Download PDFInfo
- Publication number
- CN109474496A CN109474496A CN201811496802.0A CN201811496802A CN109474496A CN 109474496 A CN109474496 A CN 109474496A CN 201811496802 A CN201811496802 A CN 201811496802A CN 109474496 A CN109474496 A CN 109474496A
- Authority
- CN
- China
- Prior art keywords
- test
- packet
- network
- equipment under
- physical network
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of high availability seamless ring HSR network test methods, it include: that the first physical network card of test equipment and the second physical network card are invented into a Microsoft Loopback Adapter, wherein, the test equipment forms loop network by first physical network card and second physical network card and equipment under test;Determine the network address of the Microsoft Loopback Adapter;First party of first physical network card based on the network address in the loop network sends up test packet;Second party of second physical network card based on the network address in the loop network sends up test packet, wherein the second direction is the opposite direction of the first direction;According to the equipment under test to the reception condition information of the test packet, the test result of the equipment under test is determined.The present invention further simultaneously discloses a kind of HSR network testing device, a kind of computer storage medium and a kind of network element.
Description
Technical field
The present invention relates to network test field more particularly to a kind of high availability seamless ring (High-availability
Seamless Redundancy, HSR) network test method and device, storage medium, network element.
Background technique
High availability seamless ring HSR network due to it is safe and reliable, it is real-time switching, grid structure is simple, at low cost the advantages that,
It is communicated especially suitable for power system transformer substation.There are the message transmissions of both direction, destination nodes to receive message and need for HSR network
It carries out abandoning processing, abandons duplicate frame using first frame.Message abandons the core logic that processing is HSR network,
Directly affect HSR network performance.Since there are message repetition, packet loss, messages to be tampered on network, message delay, message are random
The abnormal phenomenon such as sequence cause very big influence to the normal operation of HSR network, but lack in existing method to HSR network into
The method of row dependence test.How HSR node is fast and accurately tested, is current problem in urgent need to solve.
Summary of the invention
The present invention provides a kind of high availability seamless ring HSR network test method and device, storage medium, network element.
The technical scheme of the present invention is realized as follows:
On the one hand, it provides, a kind of high availability seamless ring HSR network test method, comprising:
First physical network card of test equipment and the second physical network card are invented into a Microsoft Loopback Adapter, wherein the survey
It tries equipment and loop network is formed by first physical network card and second physical network card and equipment under test;
Determine the network address of the Microsoft Loopback Adapter;
First physical network card sends up test report in the first party of the loop network based on the network address
Text;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, wherein the second direction is the opposite direction of the first direction;
According to the equipment under test to the reception condition information of the test packet, the test knot of the equipment under test is determined
Fruit.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up M1 parts in the first party of the loop network based on the network address
First test packet, wherein M1 is positive integer;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
First physical network card sends up M2 parts of institutes in the first party of the loop network based on the network address
State the second test packet, wherein M2 is positive integer, the HSR of the header of first test packet and second test packet
Label is different;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives and caches 1 part of first test packet or 1 part of second test packet,
Determine that the filtering function of the equipment under test duplicate message passes through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up third in the first party of the loop network based on the network address and surveys
Try message;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
Second physical network card shielding in this second direction different from the HSR label of the third test packet
The 4th test packet transmission;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the third test packet that first physical network card is sent, the quilt is determined
The receive capabilities of measurement equipment in said first direction pass through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
The transmission of the 5th test packet of the first physical network card shielding in said first direction;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
Second physical network card based on the network address the second party of the loop network send up with it is described
Different 6th test packets of the HSR label of 5th test packet;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 6th test packet that second physical network card is sent, the quilt is determined
The receive capabilities of measurement equipment in this second direction pass through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up the 7th survey in the first party of the loop network based on the network address
Try message;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
The header for modifying the 7th test packet that second physical network card is sent obtains the 8th test packet;
Second physical network card sends up described in the second party of the loop network based on the network address
Eight test packets;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 7th test packet and the 8th test packet before modification, institute is determined
The detection of preamble function of stating equipment under test passes through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up the 9th survey in the first party of the loop network based on the network address
Try message;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
The text for modifying the 9th test packet that second physical network card is sent obtains the tenth test packet;
Second physical network card sends up described in the second party of the loop network based on the network address
Ten test packets;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 9th test packet or the tenth test packet, determine that described be tested sets
Standby message content transparent processing function passes through test, wherein the transparent processing includes: transparent forwarding and/or transparent reception.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
At the first moment, first physical network card is based on the network address on the first direction of the loop network
Send the 11st test packet;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
At the second moment, second physical network card is based on the network address in the second direction of the loop network
Delay sends the 12nd test packet, wherein the second moment was later than for the first moment;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test does not receive the 12nd test packet receiving the 11st detection messages, determine
The duplicate message filtering function of the equipment under test passes through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
In third moment T1, first physical network card based on the network address the loop network first direction
The 13rd test packet of upper transmission;
In the 4th moment T2, first physical network card based on the network address the loop network first direction
The 14th test packet of upper transmission, wherein T2-T1> T, T are scheduled duration threshold value;The test serial number of 13rd test packet
Greater than the test serial number of the 14th test packet;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 13rd test packet and abandons the 14th test packet, described in determination
The out-of-order Message processing function of equipment under test passes through test.
The present invention also provides a kind of high availability seamless ring HSR network testing devices, comprising:
First physical network card of test equipment and the second physical network card are invented one for equipment under test by virtual module
Microsoft Loopback Adapter, wherein the test equipment passes through first physical network card and second physical network card and equipment under test shape
Cyclic l network;
Determining module, for determining the network address of the Microsoft Loopback Adapter;
Sending module, for first physical network card based on the network address the loop network first direction
Upper transmission test packet;
It is also used to second physical network card and is sent up based on the network address in the second party of the loop network
Test packet, wherein the second direction is the opposite direction of the first direction;
Test module determines the quilt for the reception condition information according to the equipment under test to the test packet
The test result of measurement equipment.
The present invention also provides a kind of computer storage medium, it is executable that the computer storage medium is stored with computer
Instruction;After the computer executable instructions are performed, the above high availability seamless ring HSR network test method can be realized.
The present invention also provides a kind of network elements, comprising:
Transceiver, memory and processor;
The memory, for storing computer executable instructions, the executable instruction can be realized the above High Availabitity
Property seamless ring HSR network test method;
The processor, connect with transceiver and memory respectively, for controlling the transceiver and the memory, holds
The row computer executable instructions.
High availability seamless ring HSR network test method and device, storage medium, network element provided by the invention, will test
The first physical network card and the second physical network card of equipment invent a Microsoft Loopback Adapter, wherein the test equipment passes through described
First physical network card and second physical network card and equipment under test form loop network;With determining the network of the Microsoft Loopback Adapter
Location;First party of first physical network card based on the network address in the loop network sends up test packet;Institute
It states second party of second physical network card based on the network address in the loop network and sends up test packet, wherein institute
State the opposite direction that second direction is the first direction;Believed according to reception situation of the equipment under test to the test packet
Breath, determines the test result of the equipment under test.The present invention is empty by the first physical network card of test equipment and the second physical network card
Intend into a Microsoft Loopback Adapter, test equipment is formed into ring network by the first physical network card and the second physical network card and equipment under test
Network, and the first physical network card sends the direction of test packet based on Microsoft Loopback Adapter, is based on Microsoft Loopback Adapter with the second physical network card
Send the contrary of test packet.On the one hand, the present invention is by by the first physical network card and the second Physical Network of test equipment
Card invents a Microsoft Loopback Adapter, and the first physical network card and the second physical network card share an IP address, and can by the IP
Location sends data, saves Internet resources;On the other hand, test equipment is passed through the first physical network card and the second physics by the present invention
Network interface card and equipment under test form loop network, only include test equipment and tested HSR equipment in the loop network of formation, lead to
It crosses equipment under test to analyze the reception condition information of test packet, the test to HSR equipment can be completed rapidly and accurately.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of HSR network test method provided in an embodiment of the present invention;
Fig. 2 is a kind of HSR network testing device composed structure schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of network element composed structure schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of HSR network test system structural schematic diagram provided in an embodiment of the present invention;
Fig. 5 is that a kind of HSR equipment provided in an embodiment of the present invention receives message flow diagram;
Fig. 6 is that a kind of data of HSR network test method provided in an embodiment of the present invention send schematic diagram.
Specific embodiment
In various embodiments of the present invention, by the way that the first physical network card of test equipment and the second physical network card is virtual
At a Microsoft Loopback Adapter, test equipment is formed into ring network by the first physical network card and the second physical network card and equipment under test
Network, and the first physical network card sends the direction of test packet, sends the contrary of test packet with the second network interface card, so that by
There are the transmission of the test packet of both direction in loop network where measurement equipment, and then are reported by equipment under test to the test
The reception condition information of text, determines the test result of HSR equipment.For the purposes, technical schemes and advantages for making the embodiment of the present invention
It is more clearly understood, the embodiment of the present invention is described in detail below in conjunction with attached drawing.
Fig. 1 is a kind of flow diagram of HSR network test method provided in an embodiment of the present invention, as shown in Figure 1, described
HSR network test method the following steps are included:
Step 101: the first physical network card of test equipment and the second physical network card are invented into a Microsoft Loopback Adapter,
In, the test equipment forms loop network by first physical network card and second physical network card and equipment under test;
Step 102: determining the network address of the Microsoft Loopback Adapter;
Step 103: first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet;
Step 104: second physical network card is sent out in the second direction of the loop network based on the network address
Sending test packet, wherein the second direction is the opposite direction of the first direction;
Step 105: according to the equipment under test to the reception condition information of the test packet, determining the equipment under test
Test result.
Test equipment is mountable two pieces of physical network cards, and the electronic equipment with the information processing function and communication function,
Such as: the computer of two pieces of physical network cards is installed, there is processor and communication chip, and the communication of mountable two pieces of physical network cards
Equipment etc..
Network Driver Interface specification (Network Driver Interface Specification, NDIS) is
The interface specification of window networking protocol stack inter-module.Network is sent to from test equipment and is sent to test equipment from network
Message all by can by NDIS encapsulate code be controlled.
When test equipment is to be equipped with the computer of two pieces of physical network cards, the mountable Windows system of computer, Unix system
Or linux system.When computer is equipped with Windows system, related program code can be write, also the generation of rewritable NDIS encapsulation
Code, to realize the control for sending the sending logic of test packet to test equipment.The sending logic of test packet can be used for
The abnormal phenomenon such as message repetition, packet loss, message in simulation live network distort, message delay and packet out-ordering, and according to
Equipment under test, to the reception situation of test packet, determines the test result of the equipment under test under above-mentioned different sending logics.
Equipment under test is HSR equipment to be measured.
By the way that the first physical network card of test equipment and the second physical network card are invented a Microsoft Loopback Adapter, and pass through void
The network address of quasi- network interface card sends data.Test equipment is formed by the first physical network card and the second physical network card with equipment under test
Loop network.First direction is the direction that the first physical network card sends test packet in loop network, second direction second
Network interface card sends the direction of test packet in loop network, and first direction and second direction are on the contrary, such as: first direction can be ring
Clockwise direction in l network, second direction can be the counter clockwise direction in loop network, make the annular where equipment under test
There are the transmission of the test packet of both direction in network, test equipment realizes the link redundancy entity (Link in HSR network
Redundancy Entity, LRE) function.The sending logic of test packet is sent by changing test equipment, obtains tested set
For under different sending logics, to the reception situation of test packet, and then the test result of equipment under test is determined.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up M1 parts in the first party of the loop network based on the network address
First test packet, wherein M1 is positive integer;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
First physical network card sends up M2 parts of institutes in the first party of the loop network based on the network address
State the second test packet, wherein M2 is positive integer, the HSR of the header of first test packet and second test packet
Label is different;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receive and the number of first test packet that caches be 1 part or 1 part described second
Test packet determines that the filtering function of the equipment under test duplicate message passes through test.
Above-mentioned first test packet is to test the filtering function of equipment under test duplicate message and the test packet that sends.
The filtering function of the duplicate message of HSR equipment receives first message for HSR equipment, filters out the identical report received below
The function of text.HSR label in the test packet that the first physical network card and the second physical network card are sent only header is different, is tested
Still using the first test packet and the second test packet as identical Message processing, equipment under test is received and is cached described equipment
The number of first test packet or second test packet is 1 part, then the filtering function of equipment under test duplicate message passes through survey
Examination.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up third in the first party of the loop network based on the network address and surveys
Try message;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
Second physical network card shielding in this second direction different from the HSR label of the third test packet
The 4th test packet transmission;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the third test packet that first physical network card is sent, the quilt is determined
The receive capabilities of measurement equipment in said first direction pass through test.
Above-mentioned third test packet and the 4th test packet are the receptions for test equipment under test in said first direction
Function and the test packet sent.HSR equipment can receive data in two opposite directions, comprising: first direction and second party
To, wherein the first physical network card of test equipment sends data in a first direction, and the second physical network card of test equipment is
Two sides send up data.When the first physical network card sends third test packet in a first direction, and the second physical network card screen
Cover its transmitted 4th test packet, i.e., in the case of the second physical network card does not send the 4th test packet, equipment under test success
Receive the third test packet that first physical network card is sent in a first direction, it is determined that the equipment under test is described
Receive capabilities on first direction pass through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
The transmission of the 5th test packet of the first physical network card shielding in said first direction;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
Second physical network card based on the network address the second party of the loop network send up with it is described
Different 6th test packets of the HSR label of 5th test packet;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 6th test packet that second physical network card is sent, the quilt is determined
The receive capabilities of measurement equipment in this second direction pass through test.
Above-mentioned 5th test packet and the 6th test packet are the receptions for test equipment under test in this second direction
Function and the test packet sent.HSR equipment can receive data in two opposite directions, comprising: first direction and second party
To, wherein the first physical network card of test equipment sends data in a first direction, and the second physical network card of test equipment is
Two sides send up data.When the second physical network card sends the 5th test packet in a second direction, and the first physical network card screen
Its transmitted 6th test packet is covered, i.e., in the case of the first physical network card does not send the 5th test packet, equipment under test is received
The 6th test packet sent in a second direction to second physical network card, it is determined that the equipment under test is described second
Receive capabilities on direction pass through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up the 7th survey in the first party of the loop network based on the network address
Try message;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
The header for modifying the 7th test packet that second physical network card is sent obtains the 8th test packet;
Second physical network card sends up described in the second party of the loop network based on the network address
Eight test packets;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 7th test packet and the 8th test packet before modification, institute is determined
The detection of preamble function of stating equipment under test passes through test.
Above-mentioned 7th test packet and the 8th test packet are sent to test the detection of preamble function of equipment under test
Test packet.
Above-mentioned header information is the serial number and/or MAC address in the HSR label of test packet.By
In HSR equipment based on the serial number and MAC address in HSR label to determine whether receiving the test report
Text, therefore, even if the 7th test packet before modification is consistent with the text of modified 8th test packet, due to having modified the
Serial number and/or MAC address in the HSR label of seven test packets, HSR equipment still can be before modifications
7th test packet and the modified 8th test packet test packet different as two, are handled.If the quilt
Measurement equipment receives the 7th test packet and modified 8th test packet before modification, it is determined that the report of the equipment under test
Head detection function passes through test.
Optionally, the method also includes: be based on the 8th test packet, generate the 8th test packet check field.By
It is obtained in the header that the 8th test packet is the 7th test packet of modification, needs to regenerate the check word of the 8th test packet
Section, so that the 8th test packet meets the requirement in related protocol to check field.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
First physical network card sends up the 9th survey in the first party of the loop network based on the network address
Try message;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
The text for modifying the 9th test packet that second physical network card is sent obtains the tenth test packet;
Second physical network card sends up described in the second party of the loop network based on the network address
Ten test packets;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 9th test packet or the tenth test packet, determine that described be tested sets
Standby message content transparent processing function passes through test, wherein the transparent processing includes: transparent forwarding and/or transparent reception.
Message content transparent processing function is that the message content that message source is sent relative to message receiver is transparent
, regardless of which type of bit combination passed message content is, all it should can forward and/or receive on the link.
Above-mentioned the tenth test packet of 9th test packet is the message content transparent processing function to test equipment under test
And the test packet sent.Above-mentioned tenth test packet is that the text of the 9th test packet of modification obtains, therefore, the 9th test
The header information of message and the tenth test packet is consistent.
Since HSR equipment is based on the serial number and MAC address in HSR label to determine whether receiving
The test packet is crossed, therefore, even if the text of the message of the 9th test packet and the tenth test packet is inconsistent, but due to the two
Header information be consistent, HSR equipment still can be reported using the 9th test packet and the tenth test packet as identical test
Text is handled, that is, receives the message first received, and the message received after abandoning.To sum up, if the equipment under test receives
To the 9th test packet or the tenth test packet, it is determined that the message content transparent processing function of the equipment under test
Pass through test.
Optionally, the method also includes: be based on the tenth test packet, generate the tenth test packet check field.By
It is obtained in the text that the tenth test packet is the 9th test packet of modification, needs to regenerate the check word of the tenth test packet
Section, so that the tenth test packet meets the requirement in related protocol to check field.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
At the first moment, first physical network card is based on the network address on the first direction of the loop network
Send the 11st test packet;
Second physical network card sends up test report in the second party of the loop network based on the network address
Text, comprising:
At the second moment, second physical network card is based on the network address in the second direction of the loop network
Delay sends the 12nd test packet, wherein the second moment was later than for the first moment;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test does not receive the 12nd test packet receiving the 11st detection messages, determine
The duplicate message filtering function of the equipment under test passes through test.
Above-mentioned 11st test packet and the 12nd test packet are the filtering functions to test equipment under test duplicate message
And the test packet sent.The filtering function of the duplicate message of HSR equipment receives first message for HSR equipment, after filtering out
The function for the identical message that face receives.The 11st test packet is normally sent in the first physical network card, and the second physical network card
In the case of delay sends the 12nd test packet, equipment under test is received and the 11st test packet cached does not receive institute
The 12nd test packet is stated, then the filtering function of equipment under test duplicate message passes through test.
Further, first physical network card is sent out on the first direction of the loop network based on the network address
Sending test packet, comprising:
In third moment T1, first physical network card based on the network address the loop network first direction
The 13rd test packet of upper transmission;
In the 4th moment T2, first physical network card based on the network address the loop network first direction
The 14th test packet of upper transmission, wherein T2-T1> T, T are scheduled duration threshold value;The test serial number of 13rd test packet
Greater than the test serial number of the 14th test packet;
It is described according to the equipment under test to the reception condition information of the test packet, determine the survey of the equipment under test
Test result, comprising:
If the equipment under test receives the 13rd test packet and abandons the 14th test packet, described in determination
The out-of-order Message processing function of equipment under test passes through test.
Above-mentioned 13rd test packet and the 14th test packet are the out-of-order Message processing functions to test equipment under test
And the test packet sent.The out-of-order Message processing function of HSR equipment, the message sequence received for HSR equipment is chaotic
Under situation, the processing function for the out-of-order message that HSR equipment interconnection receives.Specifically, T is set as scheduled duration threshold values, the value of T
It can be determined, the specific requirement that message delay is handled can also be determined according to network according to the network protocol in loop network.For example,
The T is the duration of a time window;By taking Transmission Control Protocol as an example, the time window can be TCP window.In the 13rd test
The test serial number of message is greater than the test serial number of the 14th test packet, and the sending time of the 13rd test packet is earlier than the tenth
When the sending time of four test packets is more than T, if equipment under test receives the 13rd test packet and abandons the 14th test report
Text, it is determined that the out-of-order Message processing function of the equipment under test passes through test.
Fig. 2 is a kind of HSR network testing device composed structure schematic diagram provided in an embodiment of the present invention, comprising:
Virtual module 201 invents the first physical network card of test equipment and the second physical network card for equipment under test
One Microsoft Loopback Adapter, wherein the test equipment is set by first physical network card and second physical network card with tested
It is standby to form loop network;
Determining module 202, for determining the network address of the Microsoft Loopback Adapter;
Sending module 203, for first physical network card based on the network address the first of the loop network
Side sends up test packet;
It is also used to second physical network card and is sent up based on the network address in the second party of the loop network
Test packet, wherein the second direction is the opposite direction of the first direction;
Test module 204, for the reception condition information according to the equipment under test to the test packet, determine described in
The test result of equipment under test.
Further, the sending module 203, is also used to:
First physical network card sends up third in the first party of the loop network based on the network address and surveys
Try message;
Second physical network card shielding in this second direction different from the HSR label of the third test packet
The 4th test packet transmission;
The test module 204, is also used to:
If the equipment under test receives the third test packet that first physical network card is sent, the quilt is determined
The receive capabilities of measurement equipment in said first direction pass through test.
Further, the sending module 203, is also used to:
The transmission of the 5th test packet of the first physical network card shielding in said first direction;
Second physical network card based on the network address the second party of the loop network send up with it is described
Different 6th test packets of the HSR label of 5th test packet;
The test module 204, is also used to:
If the equipment under test receives the 6th test packet that second physical network card is sent, the quilt is determined
The receive capabilities of measurement equipment in this second direction pass through test.
Further, the sending module 203, is also used to:
First physical network card sends up the 7th survey in the first party of the loop network based on the network address
Try message;
The header for modifying the 7th test packet that second physical network card is sent obtains the 8th test packet;
Second physical network card sends up described in the second party of the loop network based on the network address
Eight test packets;
The test module 204, is also used to:
If the equipment under test receives the 7th test packet and the 8th test packet before modification, institute is determined
The detection of preamble function of stating equipment under test passes through test.
Further, the sending module 203, is also used to:
First physical network card sends up the 9th survey in the first party of the loop network based on the network address
Try message;
The text for modifying the 9th test packet that second physical network card is sent obtains the tenth test packet;
Second physical network card sends up described in the second party of the loop network based on the network address
Ten test packets;
The test module 204, is also used to:
If the equipment under test receives the 9th test packet or the tenth test packet, determine that described be tested sets
Standby message content transparent processing function passes through test, wherein the transparent processing includes: transparent forwarding and/or transparent reception.
Further, the sending module 203, is also used to:
At the first moment, first physical network card is based on the network address on the first direction of the loop network
Send the 11st test packet;
At the second moment, second physical network card is based on the network address in the second direction of the loop network
Delay sends the 12nd test packet, wherein the second moment was later than for the first moment;
The test module 204, is also used to:
If the equipment under test does not receive the 12nd test packet receiving the 11st detection messages, determine
The duplicate message filtering function of the equipment under test passes through test.
Further, the sending module 203, is also used to:
In third moment T1, first physical network card based on the network address the loop network first direction
The 13rd test packet of upper transmission;
In the 4th moment T2, first physical network card based on the network address the loop network first direction
The 14th test packet of upper transmission, wherein T2-T1> T, T are scheduled duration threshold value;The test serial number of 13rd test packet
Greater than the test serial number of the 14th test packet;
The test module 204, is also used to:
If the equipment under test receives the 13rd test packet and abandons the 14th test packet, described in determination
The out-of-order Message processing function of equipment under test passes through test.
The embodiment of the invention also provides a kind of computer storage medium, the computer storage medium is stored with computer
Executable instruction;After the computer executable instructions are performed, the above high availability seamless ring HSR network test can be realized
Method.
Fig. 3 is a kind of network element composed structure schematic diagram provided in an embodiment of the present invention, and the network element includes:
Transceiver 301, memory 302 and processor 303;
The memory 302, for storing computer executable instructions, the executable instruction can be realized the above height can
With property seamless ring HSR network test method;
The processor 303, connect with transceiver and memory respectively, for controlling the transceiver and the storage
Device executes the computer executable instructions.
Fig. 4 is a kind of HSR network test system structural schematic diagram provided in an embodiment of the present invention.HSR network test system
It is divided into extranets network layers, inner nuclear layer and application layer.Extranets network layers include equipment under test (DUT);Inner nuclear layer includes that port connects
Mouth layer, HSR driving, protocol-driven layer, port interface layer include network interface card A (NIC A) driving and network interface card B (NIC B) driving, agreement
Driving layer includes test data input agreement, transmission control protocol (Transmission Control Protocol, TCP), net
Agreement (Internet Protocol, IP) interconnected between network etc..
The embodiment of the invention also provides a kind of HSR network test method, this method designs Windows operating system first
Two pieces of physical network cards are invented one piece of Microsoft Loopback Adapter, to realize HSR node by the relevant interface of middle NDIS network-driven
LRE function is used for and external HSR network communication.On this basis, pass through the packet filtering side of NDIS driving interface by changing
Formula controls the sending logic of Microsoft Loopback Adapter LRE, realizes the normal and abnormal logic test of HSR network.
Under normal circumstances, after the physical network card of driver binding receives message, the HSR label of message is taken out, according to mark
Serial number SeqNum, AB network mark in label knows the source MAC of LanID and frame head, determines this frame message according to discard algorithm
Whether continue to be transmitted to another network interface card, decides whether to be given to Microsoft Loopback Adapter upper-layer protocol stack and application upwards.Upper layer application issues
To the message of Microsoft Loopback Adapter, Microsoft Loopback Adapter is first copied into 2 parts, and fills HSR label respectively, fills out current SeqNum etc.
Label information is transmitted to equipment under test by the bottom physical network card of driving binding respectively.
Before the exception handling logic of test equipment, NDIS is driven and is arranged by driving application interface by test control program
At various different packet filtering modes, carry out frame repetition respectively, frame losing, frame are distorted, postpone, is out-of-order, etc. various Message processings patrol
Collect test.
When test frame reprocesses logic, after application layer message reaches Microsoft Loopback Adapter protocol layer increase HSR label, it is forwarded to
Before bottom A, B net, driving randomly selects A net or B network data, a identical message is replicated, and together with original message, by right
It answers network interface card to be sent to equipment under test, whether normal watches the work of equipment under test network
When testing frame losing processing logic, after application layer message reaches Microsoft Loopback Adapter protocol layer increase HSR label, bottom is forwarded
To A, B net, random drop A net or B network data are no longer forwarded to corresponding network interface card, whether watch the work of equipment under test network
Normally
When test frame distorts logic, after application layer message reaches Microsoft Loopback Adapter protocol layer increase HSR label, it is forwarded to A, B
Before net, the message that A net or B are netted changes certain field datas at random, is sent to equipment under test, watches equipment under test network work
Whether normal make
When test frame delay logic, packet buffer queue is respectively set in A, B net, and starts timer.Application layer message arrives
After increasing HSR label up to Microsoft Loopback Adapter protocol layer, before being forwarded to A, B net, it is directly stored in buffer queue and does not send immediately.Fixed
When device timed task in, analyze the message of buffer queue, the message for reaching the delay time limit passed sequentially through bottom network interface card and is sent to
Whether normal equipment under test watches the work of equipment under test network.
When test frame random ordering logic, packet buffer queue is respectively set in A, B net, and starts timer.Application layer message arrives
After increasing HSR label up to Microsoft Loopback Adapter protocol layer, before being forwarded to A, B net, it is directly stored in buffer queue and does not send immediately.Fixed
When device timed task in, analyze the message of buffer queue, the message of buffer area resequenced, and is sent to by bottom network interface card
Whether normal equipment under test watches the work of equipment under test network
The beneficial effects of the present invention are: realizing the LRE of HSR agreement by the NDIS driving of system, link layer is directly handled
Message realizes that redundancy sends and receives and abandons processing.By changing on practical transmission A, B network of LRE when testing abnormal logic
Message content realizes that various exception messages are sent to equipment under test, reaches test purpose.Test macro and method energy of the invention
The various normal functions of test HSR network and abnormal function well, can improve the reliability of substation's HSR network communication.
Fig. 5 is a kind of data transmission schematic diagram of HSR network test method provided in an embodiment of the present invention, as shown in figure 5,
Firstly, Microsoft Loopback Adapter sends data, linearized data to buffer area, duplication are extended for 2 points of HSR data, then carry out respectively just
Norm formula, frame repeat pattern, frame losing mode, frame distort the test of mode, frame delay mode and frame random ordering mode.Specifically, should
Test method can include: driving initialization, reception message, transmission message, repeating frame test, frame losing test, frame distort test, frame
Delayed test and frame random ordering test several steps.
Driving initialization: when NDIS driving installation of the invention initializes, registration provides two and recovers letter of transfer manifold, a set of place
It manages the relevant upper-layer protocol of empty network interface card and requests NDIS_MINIPORT_DRIVER_CHARACTERISTICS, another set of processing binding
Lower layer's physical network card requests NDIS_PROTOCOL_DRIVER_CHARACTERISTICS.Pass through letter after initialization callback collection of functions
Number NdisRegisterProtocolDriver driving is tied on predetermined 2 pieces of physical network cards (A, B network interface card).Lead to simultaneously
Cross NdisMRegisterMiniportDriver function initialization of virtual network interface card, Microsoft Loopback Adapter relevant information be set, as network speed,
MTU etc..Two buffer queues are set simultaneously, are respectively used to the interim storage of A net and B network packet when the test of frame random ordering.Pass through
NdisSetTimerObject initializes a timer, the transmission for two buffer queue messages.One random data is set simultaneously
Generator can produce including 4 kinds of 0,1,2 and 3 states immediately, respectively represent this processing without exception, A net exception
Reason, B net abnormality processing, AB net equal abnormality processing.
Receive message: Fig. 6 is that a kind of HSR equipment provided in an embodiment of the present invention receives message flow diagram, such as Fig. 6 institute
Show, after message that physical network card receives reaches driving, message NBL is linearized to delaying by function GetNetBufferData first
Rush area, obtain HSR label data from buffer area, after judging HSR label really and being HSR frame, taken out from label serial number SeqNum,
AB network mark knows the source MAC of LanID and frame head.Global node table, which is searched, by source MAC adds new node if not finding
NODE_DAT is to node table.Then function is abandoned according to SeqNum, LanID calling and judges whether this frame message had received.
If this frame message received, directly forwarded by another network interface card.If this frame message does not receive, first passes through another network interface card and turn
It sends out, while HSR label is then removed by function StripNBL function on the basis of former message data and constructs new message frame,
And Microsoft Loopback Adapter is passed to, the new message of upper-layer protocol is notified by function NdisMIndicateReceiveNetBufferLists
It reaches, and primitive frame NBL directly passes through NdisReturnNetBufferLists function and returns to physical network card.
Send message: when proper testing, when Microsoft Loopback Adapter needs to send message, driving also passes through function first
GetNetBufferData linearizes NBL message data to buffer area, then through function ExpandNBL in buffer data
Between be inserted into 6 bytes as HSR label.2 parts are copied as after insertion, and fill respectively on HSR label corresponding LanID,
The bytes such as SeqNum, and original message is abandoned by NdisMSendNetBufferListsComplete.Then based on this
2 new message frames are created, the slave bottom physical network card finally by driving binding passes through NdisSendNetBufferLists points
New message equipment under test is not sent to.
It receives message and sends the test to equipment under test normal mode in message corresponding diagram 5.
Repeating frame test: the frame repeat pattern in corresponding diagram 5, before testing, test control program passes through driving interface
It is repetitive frame pattern that LRE filtering packets mode, which is arranged, in DeviceIoControl.After this mode is set, virtual net when sending message
Blocking LRE first, in accordance with the rule of above-mentioned transmission message, the message that upper-layer protocol is issued generates 2 parts of messages with HSR label, and
According to the decision of stochastic regime generator generation, whether this 2 parts of HSR messages need to replicate transmission.0 represents not replicate data, 1 generation
Table replicates A network data, 2 representative duplication B network datas, and 3 represent the duplication bis- network datas of AB.After having replicated message data, together with original
New message is sent to equipment under test respectively by NdisSendNetBufferLists by HSR message data.
Frame losing test: the frame losing mode in corresponding diagram 5, before testing, test control program passes through driving interface
It is frame losing mode that LRE filtering packets mode, which is arranged, in DeviceIoControl.After this mode is set, Microsoft Loopback Adapter when sending message
Rule of the LRE first, in accordance with above-mentioned transmission message, message 2 parts of messages with HSR label of generation that upper-layer protocol is issued, and root
According to the decision of stochastic regime generator generation, whether this 2 parts of HSR messages need to abandon not sending.0 represents all transmissions, 1 representative is thrown
Abandoning A network data, 2, which represent, abandons B network data, and the bis- network datas of AB are abandoned in 3 representatives.If certain net HSR message needs is abandoned, this is reported
Literary NBL is directly deleted, and is not transmitted to equipment under test.
Frame distorts test: the frame in corresponding diagram 5 distorts mode, and before testing, test control program passes through driving interface
DeviceIoControl setting LRE filtering packets mode is that frame distorts mode.After this mode is set, virtual net when sending message
Blocking LRE first, in accordance with the rule of above-mentioned transmission message, the message that upper-layer protocol is issued generates 2 parts of messages with HSR label, and
According to the decision of stochastic regime generator generation, whether this 2 parts of HSR messages need to send after changing.Data, 1 are not changed in 0 representative
It represents and only changes A network data, B network data is only changed in 2 representatives, the 3 representative change bis- network datas of AB.If certain network data need to be changed,
It is random to change 4 byte messages, and according to protocol type recalculate the fields such as IP and TCP verify and, pass through
New message is sent to equipment under test respectively by NdisSendNetBufferLists.
Frame delay test: the frame delay mode in corresponding diagram 5, before testing, test control program passes through driving interface
It is frame random ordering mode that LRE filtering packets mode, which is arranged, in DeviceIoControl.After this mode is set, virtual net when sending message
Block LRE first, in accordance with the rule of above-mentioned transmission message, the message that upper-layer protocol is issued generates 2 parts of messages with HSR label, note
It is designated as message when recording at this time, markers T0 occurs, and message is stored in respectively in corresponding message buffer, does not send immediately.Fixed
When device timed task in, acquisition current time index T1 first then scans all caching messages in two buffer areas, compares markers T0 and T1,
If caching, markers T0 occurs for message and current time index T1 difference is greater than certain certain value Ts, takes out the caching message for meeting this condition,
These messages are successively sent to equipment under test by bottom network interface card finally by NdisSendNetBufferLists.
The test of frame random ordering: the frame random ordering mode in corresponding diagram 5, before testing, test control program passes through driving interface
It is frame random ordering mode that LRE filtering packets mode, which is arranged, in DeviceIoControl.After this mode is set, virtual net when sending message
Blocking LRE first, in accordance with the rule of above-mentioned transmission message, the message that upper-layer protocol is issued generates 2 parts of messages with HSR label, and
Message is stored in respectively in corresponding message buffer, is not sent immediately.In timer timed task, obtains scan two again first
All caching messages in buffer area, and it is randomly ordered, successively these messages are led to finally by NdisSendNetBufferLists
It crosses bottom network interface card and is sent to equipment under test.
The present invention realizes the LRE module of HSR agreement by Windows NDIS network-driven, is tied to 2 Physical Networks
On card, communicated with equipment under test, on this basis, by the pass-through mode and the place that change the transmission message by network-driven
Reason method realizes the transmission of exception message under various HSR agreements.HSR method of the invention can fast and accurately test HSR net
Network Message processing logic, confirm integrality, the reliability of its network system, HSR network equipment in substation can be greatlyd improve
Communication quality.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (11)
1. a kind of high availability seamless ring HSR network test method, which is characterized in that the described method includes:
First physical network card of test equipment and the second physical network card are invented into a Microsoft Loopback Adapter, wherein the test is set
It is standby that loop network is formed by first physical network card and second physical network card and equipment under test;
Determine the network address of the Microsoft Loopback Adapter;
First party of first physical network card based on the network address in the loop network sends up test packet;
Second party of second physical network card based on the network address in the loop network sends up test packet,
In, the second direction is the opposite direction of the first direction;
According to the equipment under test to the reception condition information of the test packet, the test result of the equipment under test is determined.
2. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
First physical network card sends up the first of M1 parts in the first party of the loop network based on the network address
Test packet, wherein M1 is positive integer;
Second physical network card sends up test packet in the second party of the loop network based on the network address, packet
It includes:
First physical network card sends up M2 parts described in the first party of the loop network based on the network address
Two test packets, wherein M2 is positive integer, the HSR label of the header of first test packet and second test packet
It is different;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test receives and cache 1 part of first test packet or 1 part of second test packet, determine
The filtering function of the equipment under test duplicate message passes through test.
3. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
First physical network card sends up third test report in the first party of the loop network based on the network address
Text;
Second physical network card sends up test packet in the second party of the loop network based on the network address, packet
It includes:
Second physical network card shielding in this second direction different from the HSR label of the third test packet the
The transmission of four test packets;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test receives the third test packet that first physical network card is sent, determine that described be tested sets
Standby receive capabilities in said first direction pass through test.
4. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
The transmission of the 5th test packet of the first physical network card shielding in said first direction;
Second physical network card sends up test packet in the second party of the loop network based on the network address, packet
It includes:
Second physical network card is sent up and the described 5th based on the network address in the second party of the loop network
Different 6th test packets of the HSR label of test packet;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test receives the 6th test packet that second physical network card is sent, determine that described be tested sets
Standby receive capabilities in this second direction pass through test.
5. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
First physical network card sends up the 7th test report in the first party of the loop network based on the network address
Text;
Second physical network card sends up test packet in the second party of the loop network based on the network address, packet
It includes:
The header for modifying the 7th test packet that second physical network card is sent obtains the 8th test packet;
Second physical network card sends up the described 8th in the second party of the loop network based on the network address and surveys
Try message;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test receives the 7th test packet and the 8th test packet before modification, the quilt is determined
The detection of preamble function of measurement equipment passes through test.
6. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
First physical network card sends up the 9th test report in the first party of the loop network based on the network address
Text;
Second physical network card sends up test packet in the second party of the loop network based on the network address, packet
It includes:
The text for modifying the 9th test packet that second physical network card is sent obtains the tenth test packet;
Second physical network card sends up the described tenth in the second party of the loop network based on the network address and surveys
Try message;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test receives the 9th test packet or the tenth test packet, the equipment under test is determined
Message content transparent processing function passes through test, wherein the transparent processing includes: transparent forwarding and/or transparent reception.
7. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
At the first moment, first party of first physical network card based on the network address in the loop network is sent up
11st test packet;
Second physical network card sends up test packet in the second party of the loop network based on the network address, packet
It includes:
At the second moment, second physical network card is postponed in the second direction of the loop network based on the network address
Send the 12nd test packet, wherein the second moment was later than for the first moment;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test does not receive the 12nd test packet receiving the 11st detection messages, determine described in
The duplicate message filtering function of equipment under test passes through test.
8. the method according to claim 1, wherein
First physical network card sends up test packet in the first party of the loop network based on the network address, packet
It includes:
In third moment T1, first physical network card sent out on the first direction of the loop network based on the network address
Send the 13rd test packet;
In the 4th moment T2, first physical network card sent out on the first direction of the loop network based on the network address
Send the 14th test packet, wherein T2-T1> T, T are scheduled duration threshold value;The test serial number of 13rd test packet is greater than
The test serial number of 14th test packet;
It is described according to the equipment under test to the reception condition information of the test packet, determine the test knot of the equipment under test
Fruit, comprising:
If the equipment under test receives the 13rd test packet and abandons the 14th test packet, determine described tested
The out-of-order Message processing function of equipment passes through test.
9. a kind of high availability seamless ring HSR network testing device, which is characterized in that described device includes:
First physical network card of test equipment and the second physical network card are invented one virtually for equipment under test by virtual module
Network interface card, wherein the test equipment forms ring by first physical network card and second physical network card and equipment under test
L network;
Determining module, for determining the network address of the Microsoft Loopback Adapter;
Sending module is sent out on the first direction of the loop network for first physical network card based on the network address
Sending test packet;
It is also used to second physical network card and test is sent up in the second party of the loop network based on the network address
Message, wherein the second direction is the opposite direction of the first direction;
Test module determines that described be tested sets for the reception condition information according to the equipment under test to the test packet
Standby test result.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with the executable finger of computer
It enables;After the computer executable instructions are performed, the method that any one of claim 1 to 8 provides can be realized.
11. a kind of network element, which is characterized in that the network element includes:
Transceiver, memory and processor;
The memory, for storing computer executable instructions, the executable instruction can be realized claim 1 to 8 times
The method of one offer;
The processor, connect with transceiver and memory respectively, for controlling the transceiver and the memory, executes institute
State computer executable instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811496802.0A CN109474496A (en) | 2018-12-07 | 2018-12-07 | Network test method and device, storage medium and network element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811496802.0A CN109474496A (en) | 2018-12-07 | 2018-12-07 | Network test method and device, storage medium and network element |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109474496A true CN109474496A (en) | 2019-03-15 |
Family
ID=65674774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811496802.0A Pending CN109474496A (en) | 2018-12-07 | 2018-12-07 | Network test method and device, storage medium and network element |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109474496A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111800324A (en) * | 2020-06-23 | 2020-10-20 | 广西电网有限责任公司电力科学研究院 | Intelligent substation HSR node forwarding method and device |
CN112653595A (en) * | 2020-12-15 | 2021-04-13 | 成都海光集成电路设计有限公司 | Chip network function testing method and device, storage medium and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130286820A1 (en) * | 2012-04-30 | 2013-10-31 | Hermann Angst | Communication Device For An Industrial Communication Network Which Can Be Operated In A Redundant Manner And Method For Operating A Communication Device |
EP2645624B1 (en) * | 2012-03-29 | 2014-10-15 | Siemens Aktiengesellschaft | Switching device, redundant industrial communication network, and method for operating a communication network |
CN105827485A (en) * | 2016-05-24 | 2016-08-03 | 南京南瑞继保电气有限公司 | Node communication state monitoring method based on PRP (Parallel Redundancy Protocol) and HSR (High-availability Seamless Redundancy) networks |
CN105991376A (en) * | 2016-06-30 | 2016-10-05 | 北京东土科技股份有限公司 | Method of monitoring integrity of redundant network and redundant device |
CN107257301A (en) * | 2017-08-10 | 2017-10-17 | 北京东土科技股份有限公司 | The detection method and device of duplicate message and failure in a kind of parallel redundancy network |
CN107332834A (en) * | 2017-06-26 | 2017-11-07 | 南京南瑞继保电气有限公司 | PRP method for connecting network under a kind of Windows systems |
-
2018
- 2018-12-07 CN CN201811496802.0A patent/CN109474496A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2645624B1 (en) * | 2012-03-29 | 2014-10-15 | Siemens Aktiengesellschaft | Switching device, redundant industrial communication network, and method for operating a communication network |
US20130286820A1 (en) * | 2012-04-30 | 2013-10-31 | Hermann Angst | Communication Device For An Industrial Communication Network Which Can Be Operated In A Redundant Manner And Method For Operating A Communication Device |
CN105827485A (en) * | 2016-05-24 | 2016-08-03 | 南京南瑞继保电气有限公司 | Node communication state monitoring method based on PRP (Parallel Redundancy Protocol) and HSR (High-availability Seamless Redundancy) networks |
CN105991376A (en) * | 2016-06-30 | 2016-10-05 | 北京东土科技股份有限公司 | Method of monitoring integrity of redundant network and redundant device |
CN107332834A (en) * | 2017-06-26 | 2017-11-07 | 南京南瑞继保电气有限公司 | PRP method for connecting network under a kind of Windows systems |
CN107257301A (en) * | 2017-08-10 | 2017-10-17 | 北京东土科技股份有限公司 | The detection method and device of duplicate message and failure in a kind of parallel redundancy network |
Non-Patent Citations (3)
Title |
---|
史皓然: "智能化变电站过程层通信冗余网络的研究", 《西华大学硕士学位论文》 * |
许茂林 等: "IEC_61850过程层网络冗余报文捕获分析工具开发", 《浙江电力》 * |
高红亮 等: "基于监测帧的PRP和HSR冗余网络监视系统的实现", 《电力工程技术》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111800324A (en) * | 2020-06-23 | 2020-10-20 | 广西电网有限责任公司电力科学研究院 | Intelligent substation HSR node forwarding method and device |
CN111800324B (en) * | 2020-06-23 | 2022-03-11 | 广西电网有限责任公司电力科学研究院 | Intelligent substation HSR node forwarding method and device |
CN112653595A (en) * | 2020-12-15 | 2021-04-13 | 成都海光集成电路设计有限公司 | Chip network function testing method and device, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8576713B2 (en) | Traffic generator with priority flow control | |
Fall | Network emulation in the Vint/NS simulator | |
US6901357B1 (en) | System and method for simulating network connection characteristics | |
CN102209000B (en) | Avionics full duplex switched Ethernet (AFDX) network terminal system simulator with layered fault injection and fault analysis functions | |
JP5681067B2 (en) | Traffic generator using dynamic MPLS label allocation | |
JP5694717B2 (en) | Traffic distribution control process and apparatus | |
CN109474496A (en) | Network test method and device, storage medium and network element | |
CN109743301A (en) | A kind of data receiving-transmitting system and method based on Modbus agreement | |
CN111835579B (en) | Method and system for testing effectiveness of network traffic scheduling simulation | |
Zhou et al. | Analysis and implementation of packet preemption for time sensitive networks | |
CN112350897B (en) | Network testing device based on dynamic connection end-to-end reliable transmission protocol | |
CN105871512B (en) | A kind of data transmission method and device | |
CN111404872A (en) | Message processing method, device and system | |
CN113141279B (en) | Switch mesh test system and method | |
CN100499516C (en) | Packet-switcher flow monitoring and inquiry method and line card picker | |
CN111935767B (en) | Network simulation system | |
Rüngeler et al. | Integration of SCTP in the OMNeT++ simulation environment | |
WO2006012787A1 (en) | A terminal data simulation method and mobile terminal data source simulation method | |
WO1999063439A1 (en) | Apparatus and method for testing network applications | |
Ciobotaru et al. | GETB-A gigabit ethernet application platform: Its use in the ATLAS TDAQ network | |
CN106100925A (en) | A kind of link failure diagnostic method based on time delay | |
JPH11220487A (en) | Simulation test device for transmission line supervisory device | |
US9479417B2 (en) | Dual bank traffic generator | |
Rüngeler | Sctp-evaluating, improving and extending the protocol for broader deployment | |
Faro et al. | Performance evaluation of the standard proway network for process control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190315 |