CN103888323B - A kind of ethernet device just operation action conformance test method and device - Google Patents

A kind of ethernet device just operation action conformance test method and device Download PDF

Info

Publication number
CN103888323B
CN103888323B CN201410163259.8A CN201410163259A CN103888323B CN 103888323 B CN103888323 B CN 103888323B CN 201410163259 A CN201410163259 A CN 201410163259A CN 103888323 B CN103888323 B CN 103888323B
Authority
CN
China
Prior art keywords
test
ethernet
equipment under
ethernet network
under test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410163259.8A
Other languages
Chinese (zh)
Other versions
CN103888323A (en
Inventor
申慧
吴赟
邓珩
彭超
郝波
唐军
韩露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CSR Times Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuzhou CSR Times Electric Co Ltd filed Critical Zhuzhou CSR Times Electric Co Ltd
Priority to CN201410163259.8A priority Critical patent/CN103888323B/en
Publication of CN103888323A publication Critical patent/CN103888323A/en
Application granted granted Critical
Publication of CN103888323B publication Critical patent/CN103888323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses operation action conformance test method and device at the beginning of a kind of ethernet device, wherein this method includes:Equipment under test is placed in the end of ethernet network, the port connected state of equipment under test and the operating status of ethernet network is detected, obtains top node test result;Equipment under test is placed in the stage casing of ethernet network, detects the operating status of ethernet network, obtains intermediate node test result;Connected state between each port of equipment under test of the detection in off-position, obtains passively bypassing test result;Whether detection top node test result, intermediate node test result and passive bypass test result match with preset standard, and judge the consistency of the first operation action of equipment under test according to testing result.The present invention can fully and effectively test the first operation action characteristic for being tested ethernet device, the interoperability between ethernet device to ensure different manufacturers production.

Description

A kind of ethernet device just operation action conformance test method and device
Technical field
The present invention relates to ethernet test technical fields, specifically, being related to a kind of ethernet device just operation action one Cause property test method and device.
Background technology
Existing rail transit train vehicle-mounted mechanical equipment, electrical equipment and ancillary equipment are numerous, and car is commonly installed There are a large amount of distributed sensor and the intelligent node of complicated coupling, this makes the networking control of rail transit train more and more multiple It is miscellaneous, while the requirement of various safety detections and information system to train network system performance also increasingly improves.
The network structure of existing Train Communication Network (Train Communicaion Network, referred to as TCN) is Cannot be satisfied requirement, so just there is an urgent need to a kind of new Train Communication Network, the network need to have higher real-time and Reliability, preferably maintainable and autgmentability, higher bandwidth and good interoperability etc., and there is a need for being able to point The processing of cloth task and data fusion.
Vehicle-mounted Industrial Ethernet disclosure satisfy that above-mentioned many requirements, can make up the deficiency of existing TCN networks very well, be The development trend of the following Train Communication Network.Currently, international major company such as Siemens, Pang Badi, Alstom, domestic south Vehicle Zhuzhou Electric Locomotive Institute, in development and application in the Ethernet product of train communication.And one is carried out to Ethernet product The test of cause property is then the basis of the interoperability for the Ethernet product for ensureing each company's production.For being used between vehicle marshalling communicate Train backbone device, the first operation action characteristic of equipment is the emphasis of uniformity test examination.But only has ether at present The technical standard of net backbone network does not but well carry out ethernet backbone equipment the side of just operation action uniformity test Method.
Based on the above situation, there is an urgent need for the test methods and device of operation action consistency at the beginning of a kind of ethernet device.
Invention content
To solve the above problems, the present invention provides operation action conformance test method at the beginning of a kind of ethernet device, packet Include following steps:
Equipment under test is placed in the end of ethernet network by top node testing procedure, detects the port of the equipment under test The operating status of connected state and the ethernet network obtains top node test result;
The equipment under test is placed in the stage casing of ethernet network by intermediate node testing procedure, detects the Ethernet net The operating status of network obtains intermediate node test result;
Passive bypass testing procedure, detection are in the connected state between each port of the equipment under test of off-position State obtains passively bypassing test result;
First operation action consistency judgment step, detect the top node test result, intermediate node test result and by Whether dynamic bypass test result matches with preset standard, and judge the first operation action of the equipment under test according to testing result Consistency.
According to one embodiment of present invention, if the top node test result, intermediate node test result and passive Bypass test result is identical as the corresponding contents in preset standard, then judges that the first operation action of the equipment under test has one Cause property.
According to one embodiment of present invention, the preset standard includes IEC61375-2-5 standards.
According to one embodiment of present invention, top node, which is tested, includes:
Whether port blocked state verification, the end port for being used to test the equipment under test are in blocked state;
The selected test of top node, be used to test the equipment under test in such a way that identification code selectes top node with it is described Whether the corresponding contents in preset standard match;
Intermediate node loses test, be used to test the reference device that is connect with the intermediary interface of the ethernet network by Energization switchs to the operating status of ethernet network when power-off;
Test is added in intermediate node, be used to test the reference device that is connect with the intermediary interface of the ethernet network by The operating status of power-off ethernet network when switching to be powered;
Test is added in original intermediate node, is used to test the reference being connect with the intermediary interface of the ethernet network and sets The operating status of ethernet network when powering off and be re-energised again after standby energization;
First run time test is used to test the ethernet network and completes the just operation required time.
According to one embodiment of present invention, port blocked state verification includes the following steps:
Ethernet test topology is built, the equipment under test is arranged in the end of ethernet test topology;
The power supply of each equipment in ethernet test topology is connected;
The blocked state for testing each port of the equipment under test obtains port blocked state verification result.
According to one embodiment of present invention, intermediate node, which is tested, includes:
Endpoint node loses test, be used to test the reference device that is connect with the end interface of the ethernet network from It is powered and is converted to the operating status of ethernet network when power-off;
Test is added in endpoint node, be used to test the reference device that is connect with the end interface of the ethernet network from Power-off is converted to the operating status of ethernet network when energization;
Test is even hung in marshalling, is used to test the connection between equipment under test reference device adjacent thereto by disconnecting Be converted to the operating status of ethernet network when connection.
According to one embodiment of present invention, the intermediate node testing procedure includes:
Ethernet test topology is built, the equipment under test is arranged in the stage casing of ethernet test topology;
According to test content, the power supply for each equipment being correspondingly turned on or off in ethernet test topology;
The communication data transmitted in ethernet test topology is obtained, is analyzed according to the communication data and is tested accordingly As a result.
According to one embodiment of present invention, the passive bypass testing procedure includes:
The equipment under test is set to off-position;
The connection combination for traversing any two port in each port of the equipment under test, tests each connection group respectively The connected state of conjunction;
The connected state of comprehensive each connection combination, obtains the passive bypass test result.
The present invention also provides operation action consistency test devices at the beginning of a kind of ethernet device, and described device is using as above The method carries out ethernet device just operation action uniformity test comprising:
The first operation action of at least two reference devices, the reference device meets preset standard;
Ethernet network comprising at least three Ethernet interfaces, the Ethernet interface according to test content correspondingly It is connect with the reference device or Devices to test;
Network diagnosis unit is connect according to test event with the corresponding port of the Devices to test, described for detecting The connected state of Devices to test port;
If supply switching unit, connect respectively with the Devices to test and reference device, for realizing Devices to test With the power on/off of reference device;
Data acquisition unit is connected in the ethernet network, is transmitted in the Ethernet for collecting and sending Ethernet data related with operation action at the beginning of the Devices to test;
Data processing unit is connect with the data acquisition unit, described in being judged according to the Ethernet data Whether the first operation action of Devices to test matches with the preset standard, and then judges that the first operation action of the Devices to test is It is no with uniformity.
According to one embodiment of present invention, the preset standard includes IEC61375-2-5 standards.
In the first operation action conformance test method of Ethernet provided by the present invention and device, the letter of test method road flow List, result are reliable, and test equipment is simple in structure, easily operated.The test method and test equipment provided through the invention, can Examination is tested the critical behavior that ethernet device is just run, can be fully and effectively to the first operation row of tested ethernet device It is tested for characteristic, the interoperability between ethernet device to ensure different manufacturers production.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and is obtained in claim and attached drawing.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is required attached drawing in technology description to do simple introduction:
Fig. 1 is the flow of the first operation action conformance test method one embodiment of ethernet device according to the present invention Figure;
Fig. 2 is that just operation action consistency test device carries out passive bypass test to ethernet device according to the present invention The structure chart of one embodiment;
Fig. 3 is the structure of the first operation action consistency test device one embodiment of ethernet device according to the present invention Figure;
Fig. 4 is the structure of another embodiment of the first operation action consistency test device of ethernet device according to the present invention Figure.
Specific implementation mode
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to be applied to the present invention whereby Technological means solves technical problem, and the realization process for reaching technique effect can fully understand and implement.It needs to illustrate As long as not constituting conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, It is formed by technical solution within protection scope of the present invention.
In the present embodiment, equipment under test is set in ethernet test network, by the way that obtained equipment under test will be detected The state of each port and the operating status of ethernet network are compared with the corresponding contents in preset standard, and according to comparing As a result judge whether the first operation action of the equipment under test is with uniformity with the preset standard.
In the present embodiment, preset standard is preferably IEC61375-2-5 standards, which is electric traction power source and row The international standard of vehicle bus.If equipment under test meets the standard, show that equipment under test can be with country variant, different regions The ethernet device that is produced of ethernet device manufacturer between interoperate, the test result that this method obtains will more Reliably, practical.It should be noted simultaneously that in other embodiments of the invention, which can also select other conjunctions Reason standard, the invention is not limited thereto.
Fig. 1 shows the flow chart of the first operation action conformance test method of ethernet device in the present embodiment.
As shown in Figure 1, equipment under test is arranged in the end of Ethernet, structure in top node testing procedure S101 first The corresponding port connected state and Ethernet net of equipment under test are detected according to different test contents at the top node of Ethernet The operating status on road obtains top node test result.
In the present embodiment, top node test includes:Port blocked state verification is used to test the end end of equipment under test Whether mouth (port not connect with the other equipment in ethernet network) is in blocked state;The selected test of top node, For whether testing corresponding contents of the equipment under test in such a way that identification code selectes top node and in the preset standard Matching;Intermediate node loses test, is used to be switched to by being powered in the reference device that the intermediary interface with ethernet network is connect During power-off, the operating status of ethernet network is detected;Intermediate node be added test, be used for ethernet network The reference device of intermediary interface connection is by during powering off and switching to energization, detecting the operating status of ethernet network;In original Test is added in intermediate node, is used to after the energization of reference device that the intermediary interface with ethernet network connect power off again and again During energization, the operating status of ethernet network is detected;First run time test, is used to test ethernet network completion Just run the required time.
It should be noted that in other embodiments of the invention, top node test can also include other rational surveys Content is tried, the invention is not limited thereto.
Again as shown in Figure 1, in intermediate node testing procedure S102, equipment under test is arranged in the stage casing of Ethernet, The intermediate node of ethernet network is constituted, and according to different test contents, correspondingly detects the operating status of ethernet network, Obtain intermediate node test result.
In the present embodiment, intermediate node test includes:Endpoint node lose test, be used for Ethernet end interface The reference device of connection detects the operating status of ethernet network from during energization is converted to power-off;Endpoint node is added Test, is used for during the reference device being connect with Ethernet end interface is converted to energization from power-off, detects ether The operating status of net network;Test is even hung in marshalling, be used for connection between equipment under test reference device adjacent thereto by During disconnection is converted to connection, the operating status of Ethernet is tested.
It should be noted that in other embodiments of the invention, intermediate node test can also include that other are rationally surveyed Content is tried, the invention is not limited thereto.
Again as shown in Figure 1, in the present embodiment, equipment under test is in power-off shape in passively bypass testing procedure S103 State, and the connected state of each port of equipment under test at this time is detected, to obtain passively bypassing test result.
Finally in step S104, top node test result, intermediate node test result and passive bypass test knot are judged Whether fruit matches with preset standard.If it does, then judging the first operation action of the equipment under test in step S105 and presetting Standard is identical, and the first operation action of the equipment under test is with uniformity;Otherwise the first of the equipment under test is judged in step s 106 Operation action does not have consistency, which will be unable to in ethernet networks.In the present embodiment, tests and tie when top node When fruit, intermediate node test result and identical as the corresponding contents in preset standard passive bypass test result, just judging should The first operation action of equipment under test is with uniformity.
This method testing process is simple and convenient, the critical behavior that can effectively examine tested ethernet device just to run, from And realize to operation action characteristic at the beginning of tested ethernet device with whether preset standard with uniformity more completely verifies, be The extensive use of equipment under test in ethernet networks provides guarantee and foundation.
The present invention also provides operation action consistency test device at the beginning of a kind of ethernet device, which utilizes above-mentioned side Method tests the consistency of the first operation action of ethernet device.For different test contents, the test that the present embodiment is provided fills It sets and is configured accordingly into different structures.
For convenience of description, in the present embodiment, equipment under test and reference device all have 4 ports (X1, X2, X3, X4), wherein the ports X1 are one group of " entrance-is left (Ingress-Egress) " port pair, the ports X2 and the ports X4 with the ports X3 For one group of " entrance-is left " port pair, connection relation is not present between the port of different " entrance-is left " port centerings.Meanwhile Also correspondingly tool is there are four port (X1, X2, X3, X4) for Ethernet interface, unless otherwise instructed, equipment under test and reference device Each port is correspondingly connected with Ethernet interface, however, the present invention is not limited thereto.
According to the relevant regulations of IEC61375-2-5 standards, (it is in passive other when equipment under test 204 is in off-position Road port state) when, the connection between the ports X1 and the ports X3 is in the conduction state, the connection between the ports X2 and the ports X4 It is also at conducting state.
So according to principles above, using structure as illustrated in FIG. 2 come to being tested ethernet device in the present embodiment Passive bypass ports state is tested.
As shown in Fig. 2, first network diagnosis unit 207 and the second network diagnosis unit 208 are set with tested respectively respectively The standby ports X1 are connected with the ports X3.When being tested, ensure that equipment under test is in off-position first, followed by first Network diagnosis unit the second network diagnosises of 207ping unit 208, and detect whether can ping it is logical.
If can ping it is logical, show that the ports X1 of equipment under test 204 and the ports X3 are in the conduction state, meet The relevant regulations of IEC61375-2-5 standards.If can not ping it is logical, show at the ports X1 and the ports X3 of equipment under test 204 In nonconducting state, the relevant regulations of IEC61375-2-5 standards are not met.
Then according to principles above, the connection combination of any two port in four ports of equipment under test is traversed, respectively Test the conducting state of each connection combination.If same group " entrance-leave " two ports of port pair be in conducting dress State, same group non-" entrance-leaves that " two ports of port pair are in nonconducting state, i.e. only the ports X1 and the ports X3 Between connection and the ports X2 and the ports X4 between connection it is in the conduction state, then show equipment under test 204 and preset standard In corresponding contents matching, equipment under test 204 passed through passive bypass ports state verification.
According to the relevant regulations of IEC61375-2-5 standards, for the ethernet device in Ethernet end, end Port (port not connect with other equipment in Ethernet) is in blocked state.And for the port in blocked state, Only IEEE802.3 management frames allow to enter or leave from the port, and the frame of every other type is in the process by the port In will all be lost, while the port can not also carry out address learning.
So according to principles above, in the present embodiment using the structure of test equipment as illustrated in FIG. 3 come to it is tested with The port blocked state of too net equipment is tested.
As shown in figure 3, equipment under test 204 is connect with the first Ethernet interface 201 of Ethernet first, by reference device 205 and reference device 206 connect respectively with the second Ethernet interface 202 and third Ethernet interface 203.Equipment under test at this time 204 are considered as the top node in Ethernet, and reference device is considered as the intermediate node of Ethernet.
Then first network diagnosis unit 207 is connect with the ports X1 of the first Ethernet interface 201.In the present embodiment, Network diagnosis unit 207 is the personal computer with network diagnostic function, however, the present invention is not limited thereto.
Then each ethernet device is connect by corresponding power supply switching unit with power supply respectively.As shown in figure 3, this reality It applies in example, equipment under test 204 is connect by power supply switching unit K1 with power supply 208, and reference device 205 and reference device 206 divide It is not connect with power supply 208 by power supply switching unit K2 and power supply switching unit K3.
Carry out port blocked state verification when, be closed power supply switching unit K1~K3 first.Subsequent first utilizes the One network diagnosis unit 207 executes the instruction of the ports X3 in ping Ethernet interfaces 201, finally detect whether can ping it is logical, And it checks in address resolution protocol (Address Resolution Protocol, referred to as ARP) table of equipment under test 204 and is It is no that there are the MAC Address of network diagnostic device 207.
If the first network diagnosis unit 207 can not ping lead to the ports X3 of equipment under test, while the ARP table of equipment under test In be not present first network diagnosis unit 207 MAC Address.So according to the relevant regulations of EC61375-2-5 standards, then it represents that The ports X1 of equipment under test are in blocked state at this time.
Network diagnosis unit 207 is connect with the ports X2 of the first Ethernet interface 201 then, and tests and passes through pingX4 Whether the ports port test X2 are in blocked state, and principle is identical as X1 port test principles, and details are not described herein.
Because when testing the port block state of equipment under test, need to test each port of equipment under test, So next needing to test the ports X3 of equipment under test 204 and the ports X4.
When the ports X3 and the ports X4 to equipment under test 204 are tested, by equipment under test 204 and third Ethernet interface 203 connection, and use principle identical with the test ports X1 tests the obstruction shape of the ports equipment under test X3 and the ports X4 respectively State.
If four ports of equipment under test 204 meet the relevant regulations of EC61375-2-5 standards, then it represents that tested to set Standby 204 match with the corresponding contents in preset standard, and equipment under test 204 has passed through port blocked state verification.
In addition, when equipment under test 204 is connect with the first Ethernet interface 201, can also carry out the selected test of top node, Intermediate node loses test, test is added in intermediate node, test is added in original intermediate node and just run time test.
As shown in figure 4, when carrying out above-mentioned test, need in the first Ethernet interface 201 of Ethernet and the second ether Data acquisition unit 209 on connecting between network interface 202.Data acquisition unit 209 can not influence ethernet network communication In the case of, realize 100% capture to the Ethernet data being serially accessed to the circuit, and store and arrive after the data captured capable of being decoded In the storage medium of itself configuration.Collected Ethernet data can also be in real time uploaded to by data acquisition unit 209 simultaneously Coupled data processing unit 210.
Data processing unit 210 can be judged according to the Ethernet data received equipment under test first operation action whether It is matched with the corresponding contents in preset standard, and then judges whether the first operation action of the equipment under test is with uniformity.
In the present embodiment, data acquisition unit 209 uses data logger, data processing unit 210 general using having Operating system and the personal computer with man-machine interface, however, the present invention is not limited thereto, according to other embodiments of the invention In, other reasonable equipment may be used in data acquisition unit and data processing unit.Such as data acquisition unit can also be adopted With the personal computer for being equipped with data packet capturing software, and need to carry out section at this time all to map configuration.
According to the relevant regulations of IEC61375-2-5 standards, for the top node in Ethernet, identification code CstUU ID Relatively low, identification code ETBN ID are 1.
So in the present embodiment, in the selected test of progress top node, ethernet test is built first, in accordance with above-mentioned requirements Topology, and the equipment under test is arranged to the end of ethernet test topology, i.e. at the first Ethernet interface 201.It is then turned on The power supply of data acquisition unit 209 makes it start gathered data, and is closed power supply switching unit K1~K3, makes ethernet test The power supply of each equipment in topology is connected.The data acquisition module 207 received is passed finally by data processing unit 210 Defeated next Ethernet data is analyzed, and is extracted and is analyzed TTDP TOPOLOGY frames therein, and according to the dependency number in the frame It is judged that whether equipment under test 201 and reference device 203 have the ETBN ID that relatively low CstUU ID and value are 1.
If the CstUUID of equipment under test 201 and reference device 203 is relatively low and ETBN ID values are 1, then show Equipment under test 201 is the top node of Ethernet, meets the relevant regulations of IEC61375-2-5 standards, which has passed through epimerite Click location survey examination.
What the Ethernet data that data processing unit 210 carrys out the transmission of data acquisition module 207 received was analyzed In the process, it can also judge whether Ethernet is completed just to transport according to the first operating status flag bit in Ethernet data designated frame Row.Data processing unit 210, which can be counted, to be closed into from power supply switching unit required for just operating status flag bit changes Duration, this duration i.e. Ethernet complete the just operation required time.
According to the relevant regulations of IEC61375-2-5 standards, when intermediate node, which occurs, for Ethernet loses, Ethernet will not Just operation occurs, while being able to detect that the loss of intermediate node.
So in the present embodiment, when underway intermediate node loses test, built when top node is selected to be tested Ether net topology on the basis of, first turn on the power supply of data acquisition unit 209, so that it is started gathered data, and be closed electricity Source switching unit K1~K3 makes the power supply of each equipment in ethernet test topology be connected.
Subsequent deenergization switching unit K2, so that reference device 205 powers off.Since in the present embodiment, reference device 205 It is considered as the intermediate node of ethernet network, so the above process can regard that Ethernet intermediate node loses process as.
Finally by data processing unit 210 to receive data acquisition module 209 transmission come Ethernet data into It goes and analyzes, and judge whether Ethernet has occurred just operation after intermediate node is lost according to analysis result, while also judgement is The no loss for being able to detect that intermediate node.
If after reference device 205 powers off, Ethernet does not occur just to run, and detects the loss of intermediate node.That Show that equipment under test 204 meets the relevant regulations of IEC61375-2-5 standards, which has passed through intermediate node and lost test.
According to the relevant regulations of IEC61375-2-5 standards, when intermediate node, which occurs, for Ethernet is added, Ethernet will It is enough that just operation occurs, while being able to detect that new network topology.
So in the present embodiment, when test is added in underway intermediate node, built when top node is selected to be tested Ether net topology on the basis of, first turn on the power supply of data acquisition unit 209, so that it is started gathered data, and be closed electricity Source switching unit K1 and K3 make the power supply of each equipment in ethernet test topology in addition to reference device 205 be connected.
It is then closed power supply switching unit K2, so that the power supply conducting of reference device 205.Because reference device 205 can be with Regard the intermediate node of Ethernet as, thus the power supply of above-mentioned reference device 205 by the process for being disconnected to conducting can be regarded as with Too net intermediate node adition process.
Finally by data processing unit 210 to receive data acquisition module 209 transmission come Ethernet data into It goes and analyzes, and judge whether Ethernet has occurred just operation after intermediate node is added according to analysis result, while also judgement is The no loss for being able to detect that intermediate node.
If after reference mode 205 is powered, just operation occurs for Ethernet, and detects new network topology.So table Bright equipment under test 204 meets the relevant regulations of IEC61375-2-5 standards, which has passed through intermediate node and test is added.
It is again heavy after the intermediate node of Ethernet is powered off after an action of the bowels by being powered according to the relevant regulations of IEC61375-2-5 standards It newly powers on, i.e., when original intermediate node addition occurs for Ethernet.So Ethernet will not occur just to run.
So in the present embodiment, when carrying out original intermediate node addition test, the selected test when institute of top node is being carried out On the basis of the ether net topology built, the power supply of data acquisition unit 209 is first turned on, so that it is started gathered data, and close Power supply switching unit K1, K2 and K3 are closed, the power supply of each equipment in ethernet test topology is made to be connected.
Subsequent deenergization switching unit K2, re-closes power supply switching unit K2 again after prefixed time interval.Cause The intermediate node of Ethernet is considered as reference device 205, so the power supply of above-mentioned reference device 205 is disconnected again by being conducting to Again the process be connected can be regarded as original Ethernet intermediate node adition process.
Finally by data processing unit 210 to receive data acquisition module 207 transmission come Ethernet data into Row analysis, and judge whether Ethernet has occurred just operation after original intermediate node is added according to analysis result.
If after reference mode 205 is re-energised again by being conducting to power-off, Ethernet does not occur just to run.So show Equipment under test 204 meets the relevant regulations of IEC61375-2-5 standards, which has passed through intermediate node and test is added.
In the present embodiment, the intermediate node test of Ethernet includes:Endpoint node loses test, endpoint node is added and surveys Test etc. is even hung in examination, marshalling.When the test of underway intermediate node, equipment under test cannot be in the end of ether net topology, and two Side is required to connect with other ethernet devices.
So according to principles above, in the present embodiment, when underway intermediate node is tested, by equipment under test 204 and second Ethernet interface 202 connects, reference device 205 and reference device 206 respectively with the first Ethernet interface 201 and third Ethernet Interface 203 connects.Equipment under test 204 can be regarded as the intermediate node of built ether net topology, reference device 205 at this time Top node, i.e. endpoint node are can be regarded as with reference device 206.
When carrying out endpoint node loss test, the power supply of data acquisition unit 209 is first turned on, it is made to start to acquire number According to, and it is closed power supply switching unit K1, K2 and K3, so that the power supply of each equipment in ethernet test topology is connected.
Subsequent deenergization switching unit K1, so that the power supply of reference device 205 disconnects.Because reference device 205 can be with Regard the endpoint node of Ethernet as, thus the power supply of above-mentioned reference device 205 by the process for being conducting to disconnection can be regarded as with The too loss process of net endpoint node.
Finally by data processing unit 210 to receive data acquisition module 209 transmission come Ethernet data into It goes and analyzes, and judge whether Ethernet has occurred just operation after endpoint node is lost according to analysis result, while also judgement is The no loss for being able to detect that the endpoint node.
If after endpoint node 205 becomes power-off from conducting, Ethernet can occur just to run, and be able to detect that end The loss of end node 205, original ether net topology, which changes, forms new network topology.So show equipment under test 204 Meet the relevant regulations of IEC61375-2-5 standards, which has passed through endpoint node and lost test.
When carrying out endpoint node addition test, the power supply of data acquisition unit 209 is first turned on, it is made to start to acquire number According to, and it is closed power supply switching unit K2 and K3, and power supply switching unit K1 is kept to disconnect, make in ethernet test topology except reference The power supply of each equipment outside equipment 205 is connected.
It is then closed power supply switching unit K1, so that the power supply conducting of reference device 205.Because reference device 205 can be with Regard the endpoint node of Ethernet as, thus the power supply of above-mentioned reference device 205 by the process for being disconnected to conducting can be regarded as with The too adition process of net endpoint node.
Finally by data processing unit 210 to receive data acquisition module 209 transmission come Ethernet data into It goes and analyzes, and judge whether Ethernet has occurred just operation after endpoint node is added according to analysis result, while also judgement is The no addition for being able to detect that the endpoint node.
If after endpoint node 205 becomes energization from power-off, Ethernet can occur just to run, and be able to detect that end The addition of end node 205, original ether net topology, which changes, forms new network topology.So show equipment under test 204 Meet the relevant regulations of IEC61375-2-5 standards, which has passed through endpoint node and be included in test.
When progress endpoint node is included in test, on the basis of based on intermediate node test network topology, disconnect first In second Ethernet interface 202 ports X2 and the ports X4 respectively with the company in third Ethernet interface between the ports X1 and the ports X3 It connects.
It is then turned on the power supply of data acquisition unit 209, it is made to start gathered data.It is closed at power supply switching unit K1, K2 and K3 make the power supply of each equipment in ethernet test topology be connected.Then make X2 in the second Ethernet interface 202 Port and the ports X4 are connected with the connection in third Ethernet interface between the ports X1 and the ports X3 respectively.At data The Ethernet data that reason unit 210 carrys out the transmission of data acquisition module 209 received is analyzed, and is sentenced according to analysis result Whether disconnected Ethernet has occurred just operation.
If in the second Ethernet interface 202 ports X2 and the ports X4 respectively with the ports X1 in third Ethernet interface and After connection conducting between the ports X3, Ethernet can occur just to run, and original ether net topology changes and forms newly Network topology.So show that equipment under test 204 meets the relevant regulations of IEC61375-2-5 standards, which has passed through marshalling Even hang test.
In this force, when 204 above-mentioned test of equipment under test by when, then judge the equipment under test first operation action symbol The relevant regulations of preset standard IEC61375-2-5 standards are closed, first operation action has consistent with IEC61375-2-5 standards Property.
It should be noted that being intended merely to clearer, easily elaboration using two reference devices in the present embodiment Purpose, principle and the advantage for inventing the first operation action conformance test method of the Ethernet provided and device, are not to make For the restriction of the present invention, in other embodiments in accordance with the invention, the quantity of reference device can also be needed according to collection into Row increases.
As can be seen that operation action conformance test method and dress at the beginning of Ethernet provided by the present invention from foregoing description In setting, test method road flow is simple, result is reliable, and test equipment is simple in structure, easily operated.The survey provided through the invention Method for testing and test equipment can detect the critical behavior that tested ethernet device is just run, can be fully and effectively to tested The first operation action characteristic of ethernet device is tested, the mutual behaviour between ethernet device to ensure different manufacturers production Make.
Although disclosed herein embodiment it is as above, the content is only to facilitate understanding the present invention and adopting Embodiment is not limited to the present invention.Any those skilled in the art to which this invention pertains are not departing from this Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details, But the scope of patent protection of the present invention, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of first operation action conformance test method of ethernet device, includes the following steps:
Equipment under test is placed in the end of ethernet network by top node testing procedure, detects the port connection of the equipment under test The operating status of state and the ethernet network obtains top node test result;
The equipment under test is placed in the stage casing of ethernet network by intermediate node testing procedure, detects the ethernet network Operating status obtains intermediate node test result;
Passive bypass testing procedure, detection are in the connected state between each port of the equipment under test of off-position, It obtains passively bypassing test result;
First operation action consistency judgment step detects the top node test result, intermediate node test result and passive side Whether drive test test result matches with preset standard, and judge according to testing result the equipment under test first operation action it is consistent Property;
Wherein, the top node, which is tested, includes:
Whether port blocked state verification, the end port for being used to test the equipment under test are in blocked state;
The selected test of top node is used to test the equipment under test and is preset with described in such a way that identification code selectes top node Whether the corresponding contents in standard match;
Intermediate node loses test, is used to test the reference device being connect with the intermediary interface of the ethernet network by being powered Switch to the operating status of ethernet network when power-off;
Test is added in intermediate node, is used to test the reference device being connect with the intermediary interface of the ethernet network by powering off The operating status of ethernet network when switching to be powered;
Test is added in original intermediate node, and it is logical to be used to test the reference device being connect with the intermediary interface of the ethernet network The operating status of ethernet network when powering off and be re-energised again after electricity;
First run time test is used to test the ethernet network and completes the just operation required time.
2. the method as described in claim 1, which is characterized in that if the top node test result, intermediate node test knot Fruit and passive bypass test result are identical as the corresponding contents in preset standard, then judge the first operation row of the equipment under test It is with uniformity.
3. method as claimed in claim 2, which is characterized in that the preset standard includes IEC61375-2-5 standards.
4. the method as described in claim 1, which is characterized in that port blocked state verification includes the following steps:
Ethernet test topology is built, the equipment under test is arranged in the end of ethernet test topology;
The power supply of each equipment in ethernet test topology is connected;
The blocked state for testing each port of the equipment under test obtains port blocked state verification result.
5. method as described in any one of claims 1 to 4, which is characterized in that intermediate node, which is tested, includes:
Endpoint node loses test, is used to test the reference device that is connect with the end interface of the ethernet network from energization Be converted to the operating status of ethernet network when power-off;
Test is added in endpoint node, is used to test the reference device that is connect with the end interface of the ethernet network from power-off Be converted to the operating status of ethernet network when energization;
Test is even hung in marshalling, and the connection being used to test between equipment under test reference device adjacent thereto is converted by disconnecting The operating status of ethernet network when to be connected to.
6. method as claimed in claim 5, which is characterized in that the intermediate node testing procedure includes:
Ethernet test topology is built, the equipment under test is arranged in the stage casing of ethernet test topology;
According to test content, the power supply for each equipment being correspondingly turned on or off in ethernet test topology;
The communication data transmitted in ethernet test topology is obtained, is analyzed to obtain corresponding test knot according to the communication data Fruit.
7. the method as described in any one of Claims 1 to 4 and 6, which is characterized in that the passive bypass testing procedure packet It includes:
The equipment under test is set to off-position;
Each connection combination is tested in the connection combination for traversing any two port in each port of the equipment under test respectively Connected state;
The connected state of comprehensive each connection combination, obtains the passive bypass test result.
8. method as claimed in claim 5, which is characterized in that the passive bypass testing procedure includes:
The equipment under test is set to off-position;
Each connection combination is tested in the connection combination for traversing any two port in each port of the equipment under test respectively Connected state;
The connected state of comprehensive each connection combination, obtains the passive bypass test result.
9. just operation action consistency test device, described device are used as any in claim 1~8 a kind of ethernet device Item the method carries out ethernet device just operation action uniformity test comprising:
The first operation action of at least two reference devices, the reference device meets preset standard;
Ethernet network comprising at least three Ethernet interfaces, the Ethernet interface according to test content correspondingly with institute State reference device or Devices to test connection;
Network diagnosis unit is connect according to test event with the corresponding port of the Devices to test, described to be measured for detecting The connected state of device port;
If supply switching unit, connect respectively with the Devices to test and reference device, for realizing Devices to test and ginseng Examine the power on/off of equipment;
Data acquisition unit is connected in the ethernet network, transmitted in the Ethernet for collecting and sending with The related Ethernet data of the first operation action of the Devices to test;
Data processing unit is connect with the data acquisition unit, described to be measured for being judged according to the Ethernet data Whether the first operation action of equipment matches with the preset standard, and then judges whether the first operation action of the Devices to test has There is consistency;
Wherein, the network diagnosis unit further comprises:
Whether the first subelement, the end port for being used to test the equipment under test are in blocked state;
Second subelement, be used to test the equipment under test in such a way that identification code selectes top node with the preset standard In corresponding contents whether match;
Third subelement is used to test the reference device being connect with the intermediary interface of the ethernet network and switchs to break by being powered The operating status of ethernet network when electric;
4th subelement is used to test the reference device being connect with the intermediary interface of the ethernet network and switchs to lead to by powering off The operating status of ethernet network when electric;
5th subelement is used to test after the reference device connecting is powered powering off again with the intermediary interface of the ethernet network And when being re-energised the ethernet network operating status;
6th subelement is used to test the ethernet network and completes the just operation required time.
10. device as claimed in claim 9, which is characterized in that the preset standard includes I EC61375-2-5 standards.
CN201410163259.8A 2014-04-22 2014-04-22 A kind of ethernet device just operation action conformance test method and device Active CN103888323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410163259.8A CN103888323B (en) 2014-04-22 2014-04-22 A kind of ethernet device just operation action conformance test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410163259.8A CN103888323B (en) 2014-04-22 2014-04-22 A kind of ethernet device just operation action conformance test method and device

Publications (2)

Publication Number Publication Date
CN103888323A CN103888323A (en) 2014-06-25
CN103888323B true CN103888323B (en) 2018-09-04

Family

ID=50957050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410163259.8A Active CN103888323B (en) 2014-04-22 2014-04-22 A kind of ethernet device just operation action conformance test method and device

Country Status (1)

Country Link
CN (1) CN103888323B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092854B (en) * 2017-12-29 2023-04-28 中国铁路总公司 Test method and device for train-level Ethernet equipment based on IEC61375 protocol
CN111698043B (en) * 2019-03-12 2021-09-24 株洲中车时代电气股份有限公司 Performance test method and system for WTB equipment receiver
CN112187559B (en) * 2019-07-05 2022-05-31 中车株洲电力机车研究所有限公司 Automatic testing device and method for initial running time of train backbone network switch
CN110912784B (en) * 2019-12-20 2021-08-24 上海仁童电子科技有限公司 Ethernet bus network test equipment
CN111654417A (en) * 2020-06-08 2020-09-11 中车青岛四方机车车辆股份有限公司 Evaluation method and device, storage medium, processor and train

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0937285B1 (en) * 1995-12-15 2003-07-09 Z-Force Corporation Method for constructing software components and systems as assemblies of independent parts
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
CN101867504A (en) * 2010-06-17 2010-10-20 中控科技集团有限公司 Method and device for testing consistency of automation fieldbus
CN102307120A (en) * 2011-08-22 2012-01-04 株洲南车时代电气股份有限公司 Construction method for multifunction vehicle bus (MVB) and wire train bus-line (WTB) physical layer consistency test platform and constructed platform
CN202735427U (en) * 2012-06-25 2013-02-13 深圳市祈飞科技有限公司 Test apparatus and system for Ethernet consistency
CN103457804A (en) * 2013-09-11 2013-12-18 青岛四方车辆研究所有限公司 Consistency testing platform of train network communication products
CN203406893U (en) * 2013-06-28 2014-01-22 浙江大学 TCN network MVB bus physical layer conformance test system
CN103634161A (en) * 2013-07-31 2014-03-12 南车青岛四方机车车辆股份有限公司 Train communication protocol consistency detection device and train communication protocol consistency detection method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0937285B1 (en) * 1995-12-15 2003-07-09 Z-Force Corporation Method for constructing software components and systems as assemblies of independent parts
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
CN101867504A (en) * 2010-06-17 2010-10-20 中控科技集团有限公司 Method and device for testing consistency of automation fieldbus
CN102307120A (en) * 2011-08-22 2012-01-04 株洲南车时代电气股份有限公司 Construction method for multifunction vehicle bus (MVB) and wire train bus-line (WTB) physical layer consistency test platform and constructed platform
CN202735427U (en) * 2012-06-25 2013-02-13 深圳市祈飞科技有限公司 Test apparatus and system for Ethernet consistency
CN203406893U (en) * 2013-06-28 2014-01-22 浙江大学 TCN network MVB bus physical layer conformance test system
CN103634161A (en) * 2013-07-31 2014-03-12 南车青岛四方机车车辆股份有限公司 Train communication protocol consistency detection device and train communication protocol consistency detection method
CN103457804A (en) * 2013-09-11 2013-12-18 青岛四方车辆研究所有限公司 Consistency testing platform of train network communication products

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TCN网络产品一致性测试平台实现;高连升 等;《机车电传动》;20140110;正文第90页至第94页 *

Also Published As

Publication number Publication date
CN103888323A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN103888323B (en) A kind of ethernet device just operation action conformance test method and device
CN104298202B (en) Industrial field intelligent monitoring terminal based on internet of things
CN106341294B (en) Portable MVB protocol analysis equipment and MVB data processing method
CN103532738B (en) The defining method of a kind of port connection relationship and device
CN103487276B (en) Based on the condition monitoring and fault diagnosis general-purpose platform of CAN
CN202886949U (en) Large-scale temporary punching type supersonic velocity wind tunnel digitalized networked safety monitoring system
CN102385382B (en) Vehicle fault diagnosis device
CN207408770U (en) General Internet of Things centralized monitoring system
CN104202200A (en) FlexRay bus-based online network diagnosis device
CN106124908A (en) A kind of Intelligent platform zone identifies device and method
CN208432681U (en) Cable detection system
CN105262645A (en) TCN train communication network analysis device and method
CN107305970A (en) Data transmission processing method, battery detection unit and power-supply management system
CN203078327U (en) High-voltage safety monitoring system of pure electric car
CN204028696U (en) The proving installation of air conditioner line control machine and system
CN202713373U (en) Multi-protocol converter
CN109491356A (en) Electric reconnection control signal pickup assembly and its diagnostic method in one kind
CN109946094A (en) Motor vehicle detecting control instrument and its control circuit, control method
CN205375602U (en) Equipment inspection system
CN204595150U (en) A kind of direct-current insulation monitoring device
CN115219250A (en) Motor train unit power vehicle IO loop test method
CN212473483U (en) Input/output device, manual unlocking disc and interval monitoring system
CN103427483B (en) Networking backup auto-activating device and information processing thereof and method of testing
CN203406678U (en) Networked automatic throw-in equipment of emergency power supply
CN102946146A (en) Ground lead monitoring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: The age of 412001 in Hunan Province, Zhuzhou Shifeng District Road No. 169

Patentee after: ZHUZHOU CRRC TIMES ELECTRIC Co.,Ltd.

Address before: The age of 412001 in Hunan Province, Zhuzhou Shifeng District Road No. 169

Patentee before: ZHUZH CSR TIMES ELECTRIC Co.,Ltd.