CN103888323A - Ethernet equipment first-operation behavior consistency testing method and device - Google Patents

Ethernet equipment first-operation behavior consistency testing method and device Download PDF

Info

Publication number
CN103888323A
CN103888323A CN201410163259.8A CN201410163259A CN103888323A CN 103888323 A CN103888323 A CN 103888323A CN 201410163259 A CN201410163259 A CN 201410163259A CN 103888323 A CN103888323 A CN 103888323A
Authority
CN
China
Prior art keywords
test
ethernet
equipment under
port
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410163259.8A
Other languages
Chinese (zh)
Other versions
CN103888323B (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

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an Ethernet equipment first-operation behavior consistency testing method and device. The method comprises the steps that tested equipment is placed at the tail end of the Ethernet, the port communication state of the tested equipment and the operation state of the Ethernet are tested, and top node testing results are obtained; the tested equipment is placed on the middle section of the Ethernet, the operation state of the Ethernet is tested, and middle node testing results are obtained; the communication state between ports of the tested equipment in a power-failure state is tested, and passive bypass testing results are obtained; and whether the top node testing results, the middle node testing results and the passive bypass testing results are matched with the preset standard is tested, and the consistency of the first-operation behavior of the tested equipment is judged according to the testing results. The first-operation behavior feature of the tested Ethernet equipment can be tested comprehensively and effectively, and accordingly interoperability between Ethernet equipment produced by different plants is guaranteed.

Description

Just operation action conformance test method and device of a kind of ethernet device
Technical field
The present invention relates to ethernet test technical field, specifically, relate to just operation action conformance test method and device of a kind of ethernet device.
Background technology
Existing rail transit train vehicle-mounted mechanical equipment, electric equipment and auxiliary equipment are numerous, and a large amount of distributed sensors and the intelligent node of complicated coupling are installed in car conventionally, this becomes increasingly complex the networking control of rail transit train, and various safety detection and information system also improve day by day to the requirement of train network systematic function simultaneously.
Existing TCN (Train Communicaion Network, referred to as TCN) network configuration cannot meet the demands, so just in the urgent need to a kind of new TCN, this network need to have higher real-time and reliability, better maintainability and autgmentability, higher bandwidth and good interoperability etc., and also needs to carry out distributed task scheduling processing and data fusion.
Vehicle-mounted Industrial Ethernet can meet above-mentioned many requirements, and the deficiency that it can finely make up existing TCN network is the development trend of following TCN.At present, international major company is as Siemens, Pang Badi, Alstom, domestic Nan Che Zhuzhou Electric Locomotive Institute, all in Application and Development in the Ethernet product of train communication.It is the basis that guarantees the interoperability of the Ethernet product of each company production that Ethernet product is carried out to uniformity test.For the train backbone device for communication between vehicle marshalling, the first operation action characteristic of equipment is the emphasis of uniformity test examination.But only there is the technical standard of ethernet backbone at present, but well ethernet backbone equipment is not carried out to the just method of operation action uniformity test.
Based on above-mentioned situation, need the just conforming method of testing of operation action and device of a kind of ethernet device badly.
Summary of the invention
For addressing the above problem, the invention provides just operation action conformance test method of a kind of ethernet device, comprise the following steps:
Top node testing procedure, is placed in equipment under test the end of ethernet network, detects the port connected state of described equipment under test and the running status of described ethernet network, obtains top node test result;
Intermediate node testing procedure, is placed in described equipment under test in the stage casing of ethernet network, detects the running status of described ethernet network, obtains intermediate node test result;
Passive bypass testing procedure, the connected state between each port of the described equipment under test of detection in off-position, obtains passive bypass test result;
Just whether operation action consistency determining step, detect described top node test result, intermediate node test result and passive bypass test result and mate with preset standard, and judge the consistency of the first operation action of described equipment under test according to testing result.
According to one embodiment of present invention, if described top node test result, intermediate node test result and passive bypass test result are all identical with the corresponding contents in preset standard, judge that the first operation action of described equipment under test has consistency.
According to one embodiment of present invention, described preset standard comprises IEC61375-2-5 standard.
According to one embodiment of present invention, top node test comprises:
Port blocked state verification, its for the end port of testing described equipment under test whether in blocked state;
The selected test of top node, it is for testing described equipment under test and select the mode of top node by identification code and whether the corresponding contents of described preset standard mating;
Intermediate node is lost test, when it transfers power-off for testing the reference device being connected with the intermediary interface of described ethernet network to by energising described in the running status of ethernet network;
Intermediate node adds test, when it transfers energising for testing the reference device that is connected with the intermediary interface of described ethernet network to by power-off described in the running status of ethernet network;
Original intermediate node adds test, its when testing after the reference device energising being connected with the intermediary interface of described ethernet network power-off again and again switch on described in the running status of ethernet network;
Just test running time, it completes the just needed time of operation for testing described ethernet network.
According to one embodiment of present invention, port blocked state verification comprises the following steps:
Build ethernet test topology, described equipment under test is arranged on to the end of ethernet test topology;
The power supply of each equipment in conducting ethernet test topology;
Test the blocked state of described each port of equipment under test, obtain port blocked state verification result.
According to one embodiment of present invention, intermediate node test comprises:
Endpoint node is lost test, when it is converted to power-off for testing the reference device that is connected with the end interface of described ethernet network from switching on described in the running status of ethernet network;
Endpoint node adds test, when it is converted to energising for testing the reference device that is connected with the end interface of described ethernet network from power-off described in the running status of ethernet network;
Marshalling connects hangs test, its be converted to while being communicated with for the connection between the reference device of testing described equipment under test and being adjacent by disconnection described in the running status of ethernet network.
According to one embodiment of present invention, described intermediate node testing procedure comprises:
Build ethernet test topology, described equipment under test is arranged on to the stage casing of ethernet test topology;
According to content measurement, the correspondingly power supply of each equipment in conducting or disconnection ethernet test topology;
Obtain the communication data transmitting in ethernet test topology, obtain corresponding test result according to described communication data analysis.
According to one embodiment of present invention, described passive bypass testing procedure comprises:
Described equipment under test is set to off-position;
Travel through the connection combination of any two ports in each port of described equipment under test, test respectively the connected state that each connects combination;
Comprehensive described each connects the connected state combining, and obtains described passive bypass test result.
The present invention also provides just operation action consistency test device of a kind of ethernet device, and described device adopts method as above to carry out just operation action uniformity test of ethernet device, and it comprises:
At least two reference devices, the first operation action of described reference device meets preset standard;
Ethernet network, it comprises at least three Ethernet interfaces, described Ethernet interface is correspondingly connected with described reference device or Devices to test according to content measurement;
Network diagnosis unit, it is connected with the corresponding port of described Devices to test according to test event, for detection of the connected state of described Devices to test port;
Some power supply switchings unit, it is connected with described Devices to test and reference device respectively, for realizing the power on/off of Devices to test and reference device;
Data acquisition unit, it is connected in described ethernet network, the Ethernet data relevant with the first operation action of described Devices to test transmitting for gathering and send described Ethernet;
Data processing unit, whether it is connected with described data acquisition unit, mate, and then judge whether the first operation action of described Devices to test has consistency for the first operation action that judges described Devices to test according to described Ethernet data with described preset standard.
According to one embodiment of present invention, described preset standard comprises IEC61375-2-5 standard.
In the first operation action conformance test method of Ethernet provided by the present invention and device, method of testing road flow process is simple, reliable results, and testing equipment is simple in structure, easy operating.By method of testing provided by the invention and testing equipment, can examine the just critical behavior of operation of tested ethernet device, can test the first operation action characteristic of tested ethernet device fully and effectively, thus the interoperability between the ethernet device that assurance different manufacturers is produced.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in specification, claims and accompanying drawing.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, will do simple introduction to needed accompanying drawing in embodiment or description of the Prior Art below:
Fig. 1 is according to the just flow chart of an embodiment of operation action conformance test method of ethernet device of the present invention;
Fig. 2 is the structure chart that carries out an embodiment of passive bypass test according to the first operation action consistency test device of ethernet device of the present invention;
Fig. 3 is according to the just structure chart of an embodiment of operation action consistency test device of ethernet device of the present invention;
Fig. 4 is according to the just structure chart of another embodiment of operation action consistency test device of ethernet device of the present invention.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical problem whereby, and the implementation procedure of reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each feature in each embodiment and each embodiment in the present invention can mutually combine, and the technical scheme forming is all within protection scope of the present invention.
In the present embodiment, equipment under test is arranged in ethernet test network, compare by the corresponding contents in the state of each port of equipment under test and the running status of ethernet network and preset standard that detection is obtained, and judge according to comparative result whether the first operation action of this equipment under test has consistency with this preset standard.
In the present embodiment, preset standard is IEC61375-2-5 standard preferably, and this standard is the international standard of electric traction power source and train bus-line.If equipment under test meets this standard, show equipment under test can and the ethernet device produced of the ethernet device manufacturer of country variant, different regions between carry out interoperability, the test result that this method obtains will be more reliable, practical.It should be noted that, in other embodiments of the invention, this preset standard can also be selected other reasonable standards, the invention is not restricted to this simultaneously.
Fig. 1 shows the just flow chart of operation action conformance test method of ethernet device in the present embodiment.
As shown in Figure 1, first, in top node testing procedure S101, equipment under test is arranged on to the end of Ethernet, form the top node of Ethernet, according to different content measurements, detect the corresponding port connected state of equipment under test and the running status at Ethernet networking, obtain top node test result.
In the present embodiment, top node test comprises: port blocked state verification, its for the end port (not with the port of other equipment connections of ethernet network) of testing equipment under test whether in blocked state; The selected test of top node, it is for testing described equipment under test and select the mode of top node by identification code and whether the corresponding contents of described preset standard mating; Intermediate node is lost test, and it is transferred to the process of power-off by energising for the reference device being connected with the intermediary interface of ethernet network, detects the running status of ethernet network; Intermediate node adds test, and it is transferred to the process of energising by power-off for the reference device being connected with the intermediary interface of ethernet network, detects the running status of ethernet network; Original intermediate node adds test, its for the reference device energising being connected with the intermediary interface of ethernet network after power-off the again process of energising again, detect the running status of ethernet network; Just test running time, it completes the just needed time of operation for testing ethernet network.
It should be noted that, in other embodiments of the invention, top node test can also comprise other rational content measurements, the invention is not restricted to this.
Again as shown in Figure 1, in intermediate node testing procedure S102, equipment under test is arranged on to the stage casing of Ethernet, form the intermediate node of ethernet network, and according to different content measurements, correspondingly detect the running status of ethernet network, obtain intermediate node test result.
In the present embodiment, intermediate node test comprises: endpoint node is lost test, and it is converted to the process of power-off, the running status of detection ethernet network from energising for the reference device being connected with Ethernet end interface; Endpoint node adds test, and it is converted to the process of energising from power-off for the reference device being connected with Ethernet end interface, detects the running status of ethernet network; Marshalling connects hangs test, and it is converted to the process of connection by disconnection for the connection between the reference device being adjacent at equipment under test, the running status of test Ethernet.
It should be noted that, in other embodiments of the invention, intermediate node test can also comprise other reasonable content measurements, the invention is not restricted to this.
Again as shown in Figure 1, in the present embodiment, in passive bypass testing procedure S103 by equipment under test in off-position, and detect the now connected state of each port of equipment under test, thereby obtain passive bypass test result.
Finally, in step S104, judge whether top node test result, intermediate node test result and passive bypass test result mate with preset standard.If coupling, judges in step S105 that the first operation action of this equipment under test is identical with preset standard, the first operation action of this equipment under test has consistency; Otherwise the first operation action that judges this equipment under test in step S106 does not have consistency, and this equipment under test cannot be used in Ethernet.In the present embodiment, in the time that top node test result, intermediate node test result and passive bypass test result are all identical with corresponding contents in preset standard, just judge that the first operation action of this equipment under test has consistency.
This method testing process is simple and convenient, can effectively examine the just critical behavior of operation of tested ethernet device, thereby realize to tested ethernet device just operation action characteristic and preset standard whether there is consistency and comparatively intactly verify, for the extensive use of equipment under test in Ethernet provides guarantee and foundation.
The present invention also provides just operation action consistency test device of a kind of ethernet device, and this device utilizes the just consistency of operation action of said method test ethernet device.For different content measurements, the testing apparatus that the present embodiment provides is correspondingly configured to 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, X1 port and X3 port are one group of " entering-leave (Ingress-Egress) " port pair, X2 port and X4 port are one group of " enter-leave " port pair, between the port of different " enter-leave " port centerings, do not have annexation.Meanwhile, Ethernet interface also correspondingly has four ports (X1, X2, X3, X4), and if no special instructions, each port of equipment under test and reference device is be connected corresponding with Ethernet interface all, but the invention is not restricted to this.
According to the relevant regulations of IEC61375-2-5 standard, when equipment under test 204 is when off-position (in passive bypass ports state), connection between its X1 port and X3 port is in conducting state, and the connection between X2 port and X4 port is also in conducting state.
So according to above principle, adopt the structure going out as shown in Figure 2 to test the passive bypass ports state of tested ethernet device in the present embodiment.
As shown in Figure 2, respectively first network diagnosis unit 207 is connected with X1 port and the X3 port of equipment under test respectively with second network diagnosis unit 208.In the time testing, first guarantee that equipment under test is in off-position, utilize subsequently first network diagnosis unit 207ping second network diagnosis unit 208, and whether detection can lead to by ping.
If can ping logical, show that the X1 port of equipment under test 204 and X3 port are in conducting state, it meets the relevant regulations of IEC61375-2-5 standard.If cannot ping logical, show that the X1 port of equipment under test 204 and X3 port are in nonconducting state, it does not meet the relevant regulations of IEC61375-2-5 standard.
According to above principle, in four ports of traversal equipment under test, the connection combination of any two ports, tests respectively the conducting state that each connects combination subsequently.If same group " enters-leaves that " right two ports of port are all in conducting dress state, non-same group " enters-leaves that " right two ports of port are all in nonconducting state, only have being connected in conducting state between X2 port and X4 port that be connected between X1 port and X3 port, show that equipment under test 204 mates with the corresponding contents in preset standard, equipment under test 204 has passed through passive bypass ports state verification.
According to the relevant regulations of IEC61375-2-5 standard, for the ethernet device in Ethernet end, its end port (not with Ethernet in the port of other equipment connections) in blocked state.And for the port in blocked state, only have IEEE802.3 management frames to allow to enter or leave from this port, and the frame of every other type all will be lost in the process by this port, and this port also cannot carry out address learning simultaneously.
So according to above principle, adopt the structure of the testing equipment going out as shown in Figure 3 to test the port blocked state of tested ethernet device in the present embodiment.
As shown in Figure 3, first equipment under test 204 is connected with the first Ethernet interface 201 of Ethernet, is connected with the second Ethernet interface 202 and three-ethernet interface 203 respectively with reference device 206 with reference to equipment 205.Now equipment under test 204 can be regarded the top node in Ethernet as, and reference device can be regarded the intermediate node of Ethernet as.
Subsequently first network diagnosis unit 207 is connected with the X1 port of the first Ethernet interface 201.In the present embodiment, network diagnosis unit 207 is for to have the personal computer of network diagnostic function, but the invention is not restricted to this.
Then each ethernet device is connected with power supply by corresponding power supply switching unit respectively.As shown in Figure 3, in the present embodiment, equipment under test 204 is connected with power supply 208 by power supply switching unit K1, and reference device 205 is connected with power supply 208 with power supply switching unit K3 by power supply switching unit K2 respectively with reference device 206.
Carry out port blocked state verification time, first closed power supply switching unit K1~K3.First utilize first network diagnosis unit 207 to carry out the instruction of X3 port in ping Ethernet interface 201 subsequently, finally detect and whether can lead to by ping, and check the MAC Address that whether has network diagnosis equipment 207 in address resolution protocol (Address Resolution Protocol, referred to as the ARP) table of equipment under test 204.
If the first networking diagnosis unit 207 cannot ping the X3 port of logical equipment under test, in the ARP of equipment under test table, there is not the MAC Address of first network diagnosis unit 207 simultaneously.So according to the relevant regulations of EC61375-2-5 standard, represent that the X1 port of equipment under test is now in blocked state.
Subsequently network diagnosis unit 207 is connected with the X2 port of the first Ethernet interface 201, and tests and whether pass through pingX4 port test X2 port in blocked state, its principle is identical with X1 port test principle, does not repeat them here.
Because when the port block state of test equipment under test, need to all test each port of equipment under test, so next need X3 port and X4 port to equipment under test 204 to test.
When X3 port to equipment under test 204 and X4 port are tested, by being connected of equipment under test 204 and three-ethernet interface 203, and adopt the principle identical with testing X1 port to test respectively the blocked state of equipment under test X3 port and X4 port.
If four ports of equipment under test 204 all meet the relevant regulations of EC61375-2-5 standard, represent that equipment under test 204 mates with the corresponding contents in preset standard, equipment under test 204 has passed through port blocked state verification.
In addition,, in the time that equipment under test 204 is connected with the first Ethernet interface 201, can also carry out that test is lost in the selected test of top node, intermediate node, intermediate node adds test, original intermediate node add test and just test running time.
As shown in Figure 4, in the time carrying out above-mentioned test, need between the first Ethernet interface 201 of Ethernet and the second Ethernet interface 202 series connection on data acquisition unit 209.Data acquisition unit 209 can be in the situation that not affecting ethernet network communication, realizes 100% of Ethernet data to sealing in circuit and catch, and can after the data decode capturing, store in the storage medium of self configuration.Data acquisition unit 209 can also be uploaded to coupled data processing unit 210 in real time by the Ethernet data collecting simultaneously.
Data processing unit 210 can judge whether the first operation action of equipment under test mates with the corresponding contents in preset standard according to the Ethernet data receiving, and then whether the first operation action of judging this equipment under test has consistency.
In the present embodiment, data acquisition unit 209 adopts data logger, data processing unit 210 adopts the personal computer that has the general-purpose operating system and have man-machine interface, but the invention is not restricted to this, in according to other embodiments of the invention, data acquisition unit and data processing unit all can adopt other reasonable equipment.For example data acquisition unit can also adopt the personal computer that data packet capturing software is installed, and now needs the section of carrying out all to shine upon configuration.
According to the relevant regulations of IEC61375-2-5 standard, for the top node in Ethernet, its identification code CstUU ID is lower, identification code ETBN ID is 1.
So in the present embodiment, in the time carrying out the selected test of top node, first build ethernet test topology according to above-mentioned requirements, and described equipment under test arranged to the end of ethernet test topology, be i.e. the first Ethernet interface 201 places.The power supply of conducting data acquisition unit 209 subsequently, makes it start image data, and closed power supply switching unit K1~K3, makes the power turn-on of each equipment in ethernet test topology.The Ethernet data finally by data processing unit 210, data acquisition module 207 transmission that receive is analyzed, extract and analyze TTDP TOPOLOGY frame wherein, and judge according to the related data in this frame whether equipment under test 201 and reference device 203 have the ETBN ID that lower CstUU ID and value are 1.
If the CstUUID of equipment under test 201 and reference device 203 is lower and ETBN ID value is 1, so show the top node that equipment under test 201 is Ethernet, it meets the relevant regulations of IEC61375-2-5 standard, and this equipment has passed through the selected test of top node.
In the process that the Ethernet data that data processing unit 210 comes data acquisition module 207 transmission that receive is analyzed, can also judge whether Ethernet completes just operation according to the first running status flag bit in Ethernet data designated frame.Data processing unit 210 can be added up and be closed into just the running status flag bit needed duration that changes from power supply switching unit, and this duration namely Ethernet completes the just needed time of operation.
According to the relevant regulations of IEC61375-2-5 standard, in the time that Ethernet generation intermediate node is lost, will not there is not just operation in Ethernet, the loss of intermediate node can be detected simultaneously.
So in the present embodiment, when underway intermediate node is lost test, on the basis of the Ethernet topology of building in the time carrying out the selected test of top node, first the power supply of conducting data acquisition unit 209, make it start image data, and closed power supply switching unit K1~K3, make the power turn-on of each equipment in ethernet test topology.
Deenergization switching unit K2 subsequently, so that reference device 205 power-off.Because in the present embodiment, reference device 205 can be regarded the intermediate node of ethernet network as, loses process so said process can be regarded as Ethernet intermediate node.
The Ethernet data finally by data processing unit 210, data acquisition module 209 transmission that receive is analyzed, and whether there is first operation according to analysis result judgement Ethernet after intermediate node is lost, also judge whether to detect the loss of intermediate node simultaneously.
If when after reference device 205 power-off, there is not just operation in Ethernet, and the loss of intermediate node detected.Show that so equipment under test 204 meets the relevant regulations of IEC61375-2-5 standard, this equipment has passed through intermediate node and has lost test.
According to the relevant regulations of IEC61375-2-5 standard, when Ethernet generation intermediate node adds fashionablely, can there is just operation in Ethernet, new network topology can be detected simultaneously.
So in the present embodiment, when underway intermediate node adds test, on the basis of the Ethernet topology of building in the time carrying out the selected test of top node, first the power supply of conducting data acquisition unit 209, make it start image data, and closed power supply switching unit K1 and K3, make the power turn-on of each equipment except reference device 205 in ethernet test topology.
Closed power supply switching unit K2 subsequently, so that the power turn-on of reference device 205.Because reference device 205 can be regarded the intermediate node of Ethernet as, so the power supply of above-mentioned reference device 205 can be regarded as Ethernet intermediate node adition process by the process that is disconnected to conducting.
The Ethernet data finally by data processing unit 210, data acquisition module 209 transmission that receive is analyzed, and whether there is first operation according to analysis result judgement Ethernet after intermediate node adds, also judge whether to detect the loss of intermediate node simultaneously.
If when after reference node 205 energisings, there is just operation in Ethernet, and new network topology detected.Show that so equipment under test 204 meets the relevant regulations of IEC61375-2-5 standard, this equipment has passed through intermediate node and has added test.
According to the relevant regulations of IEC61375-2-5 standard, after the intermediate node of Ethernet is by the power-off after an action of the bowels of switching on, power on again, there is original intermediate node and add fashionable in Ethernet.To can not there is just operation in Ethernet so.
So in the present embodiment, add when test carrying out original intermediate node, on the basis of the Ethernet topology of building in the time carrying out the selected test of top node, first the power supply of conducting data acquisition unit 209, make it start image data, and closed power supply switching unit K1, K2 and K3, make the power turn-on of each equipment in ethernet test topology.
Deenergization switching unit K2 subsequently, closed power supply switching unit K2 again again behind Preset Time interval.Because reference device 205 can be regarded the intermediate node of Ethernet as, thus the power supply of above-mentioned reference device 205 by be conducting to disconnection more again the process of conducting can be regarded as original Ethernet intermediate node adition process.
The Ethernet data finally by data processing unit 210, data acquisition module 207 transmission that receive is analyzed, and according to analysis result judgement Ethernet after original intermediate node adds, whether first operation has occurred.
If when reference node 205 is by being conducting to power-off more again after energising, there is not just operation in Ethernet.Show that so equipment under test 204 meets the relevant regulations of IEC61375-2-5 standard, this equipment has passed through intermediate node and has added test.
In the present embodiment, the intermediate node test of Ethernet comprises: endpoint node is lost test, endpoint node adds test, marshalling even to hang test etc.When underway intermediate node test, equipment under test can not be in the end of Ethernet topology, and its both sides all need to be connected with other ethernet devices.
So according to above principle, in the present embodiment, when underway intermediate node test, equipment under test 204 is connected with the second Ethernet interface 202, reference device 205 is connected with the first Ethernet interface 201 and three-ethernet interface 203 respectively with reference device 206.Now equipment under test 204 can be regarded as the intermediate node of built Ethernet topology, and reference device 205 and reference device 206 can be regarded as top node, i.e. endpoint node.
In the time carrying out the test of endpoint node loss, the first power supply of conducting data acquisition unit 209, makes it start image data, and closed power supply switching unit K1, K2 and K3, makes the power turn-on of each equipment in ethernet test topology.
Deenergization switching unit K1 subsequently, so that the power supply of reference device 205 disconnects.Because reference device 205 can be regarded the endpoint node of Ethernet as, so the power supply of above-mentioned reference device 205 be can be regarded as the loss process of Ethernet endpoint node by the process that is conducting to disconnection.
The Ethernet data finally by data processing unit 210, data acquisition module 209 transmission that receive is analyzed, and whether there is first operation according to analysis result judgement Ethernet after endpoint node is lost, also judge whether to detect the loss of this endpoint node simultaneously.
If when endpoint node 205 is after conducting becomes power-off, can there is just operation in Ethernet, and the loss of endpoint node 205 can be detected, and original Ethernet topology changes and formed new network topology.Show that so equipment under test 204 meets the relevant regulations of IEC61375-2-5 standard, this equipment has passed through endpoint node and has lost test.
Add when test carrying out endpoint node, first the power supply of conducting data acquisition unit 209, makes it start image data, and closed power supply switching unit K2 and K3, and keep power supply switching unit K1 to disconnect, make the power turn-on of each equipment except reference device 205 in ethernet test topology.
Closed power supply switching unit K1 subsequently, so that the power turn-on of reference device 205.Because reference device 205 can be regarded the endpoint node of Ethernet as, so the power supply of above-mentioned reference device 205 be can be regarded as the adition process of Ethernet endpoint node by the process that is disconnected to conducting.
The Ethernet data finally by data processing unit 210, data acquisition module 209 transmission that receive is analyzed, and whether there is first operation according to analysis result judgement Ethernet after endpoint node adds, also judge whether adding of this endpoint node to be detected simultaneously.
If when endpoint node 205 is after power-off becomes energising, can there is just operation in Ethernet, and adding of endpoint node 205 can be detected, and original Ethernet topology changes and formed new network topology.Show that so equipment under test 204 meets the relevant regulations of IEC61375-2-5 standard, this equipment has passed through endpoint node and has counted test.
Count when test carrying out endpoint node, on the basis based on intermediate node test network topology, first disconnect X2 port and X4 port in the second Ethernet interface 202 respectively with X1 port in three-ethernet interface and X3 port between be connected.
The power supply of conducting data acquisition unit 209 subsequently, makes it start image data.Simultaneously closed power supply switching unit K1, K2 and K3, makes the power turn-on of each equipment in ethernet test topology.Then make X2 port and X4 port in the second Ethernet interface 202 respectively with X1 port in three-ethernet interface and X3 port between be connected conducting.The Ethernet data finally by data processing unit 210, data acquisition module 209 transmission that receive is analyzed, and judges according to analysis result whether Ethernet first operation has occurred.
If when X2 port and X4 port in the second Ethernet interface 202 respectively with X1 port in three-ethernet interface and X3 port between be connected after conducting, can there is just operation in Ethernet, and original Ethernet topology changes and formed new network topology.Show that so equipment under test 204 meets the relevant regulations of IEC61375-2-5 standard, this equipment has passed through marshalling and has connected extension test.
In this force, when the above-mentioned test of equipment under test 204 all by time, judge that the first operation action of this equipment under test meets the relevant regulations of preset standard IEC61375-2-5 standard, just operation action and IEC61375-2-5 standard have consistency for they.
It should be noted that, in the present embodiment, adopt two reference devices just for clearer, set forth just object, principle and the advantage of operation action conformance test method and device of Ethernet provided by the invention easily, it is not as restriction of the present invention, in according to other embodiments of the invention, the quantity of reference device can also need to increase according to collecting.
From foregoing description, can find out, in the first operation action conformance test method of Ethernet provided by the present invention and device, method of testing road flow process is simple, reliable results, and testing equipment is simple in structure, easy operating.By method of testing provided by the invention and testing equipment, can detect the just critical behavior of operation of tested ethernet device, can test the first operation action characteristic of tested ethernet device fully and effectively, thus the interoperability between the ethernet device that assurance different manufacturers is produced.
Although the disclosed execution mode of the present invention as above, the execution mode that described content just adopts for the ease of understanding the present invention, not in order to limit the present invention.Technical staff in any the technical field of the invention; do not departing under the prerequisite of the disclosed spirit and scope of the present invention; can do any modification and variation what implement in form and in details; but scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims was defined.

Claims (10)

1. a just operation action conformance test method of ethernet device, comprises the following steps:
Top node testing procedure, is placed in equipment under test the end of ethernet network, detects the port connected state of described equipment under test and the running status of described ethernet network, obtains top node test result;
Intermediate node testing procedure, is placed in described equipment under test in the stage casing of ethernet network, detects the running status of described ethernet network, obtains intermediate node test result;
Passive bypass testing procedure, the connected state between each port of the described equipment under test of detection in off-position, obtains passive bypass test result;
Just whether operation action consistency determining step, detect described top node test result, intermediate node test result and passive bypass test result and mate with preset standard, and judge the consistency of the first operation action of described equipment under test according to testing result.
2. the method for claim 1, it is characterized in that, if described top node test result, intermediate node test result and passive bypass test result are all identical with the corresponding contents in preset standard, judge that the first operation action of described equipment under test has consistency.
3. method as claimed in claim 2, is characterized in that, described preset standard comprises IEC61375-2-5 standard.
4. the method as described in any one in claim 1~3, is characterized in that, top node test comprises:
Port blocked state verification, its for the end port of testing described equipment under test whether in blocked state;
The selected test of top node, it is for testing described equipment under test and select the mode of top node by identification code and whether the corresponding contents of described preset standard mating;
Intermediate node is lost test, when it transfers power-off for testing the reference device being connected with the intermediary interface of described ethernet network to by energising described in the running status of ethernet network;
Intermediate node adds test, when it transfers energising for testing the reference device that is connected with the intermediary interface of described ethernet network to by power-off described in the running status of ethernet network;
Original intermediate node adds test, its when testing after the reference device energising being connected with the intermediary interface of described ethernet network power-off again and again switch on described in the running status of ethernet network;
Just test running time, it completes the just needed time of operation for testing described ethernet network.
5. method as claimed in claim 4, is characterized in that, port blocked state verification comprises the following steps:
Build ethernet test topology, described equipment under test is arranged on to the end of ethernet test topology;
The power supply of each equipment in conducting ethernet test topology;
Test the blocked state of described each port of equipment under test, obtain port blocked state verification result.
6. the method as described in any one in claim 1~5, is characterized in that, intermediate node test comprises:
Endpoint node is lost test, when it is converted to power-off for testing the reference device that is connected with the end interface of described ethernet network from switching on described in the running status of ethernet network;
Endpoint node adds test, when it is converted to energising for testing the reference device that is connected with the end interface of described ethernet network from power-off described in the running status of ethernet network;
Marshalling connects hangs test, its be converted to while being communicated with for the connection between the reference device of testing described equipment under test and being adjacent by disconnection described in the running status of ethernet network.
7. method as claimed in claim 6, is characterized in that, described intermediate node testing procedure comprises:
Build ethernet test topology, described equipment under test is arranged on to the stage casing of ethernet test topology;
According to content measurement, the correspondingly power supply of each equipment in conducting or disconnection ethernet test topology;
Obtain the communication data transmitting in ethernet test topology, obtain corresponding test result according to described communication data analysis.
8. the method as described in any one in claim 1~7, is characterized in that, described passive bypass testing procedure comprises:
Described equipment under test is set to off-position;
Travel through the connection combination of any two ports in each port of described equipment under test, test respectively the connected state that each connects combination;
Comprehensive described each connects the connected state combining, and obtains described passive bypass test result.
9. a just operation action consistency test device of ethernet device, described device adopts method as described in any one in claim 1~8 to carry out just operation action uniformity test of ethernet device, and it comprises:
At least two reference devices, the first operation action of described reference device meets preset standard;
Ethernet network, it comprises at least three Ethernet interfaces, described Ethernet interface is correspondingly connected with described reference device or Devices to test according to content measurement;
Network diagnosis unit, it is connected with the corresponding port of described Devices to test according to test event, for detection of the connected state of described Devices to test port;
Some power supply switchings unit, it is connected with described Devices to test and reference device respectively, for realizing the power on/off of Devices to test and reference device;
Data acquisition unit, it is connected in described ethernet network, the Ethernet data relevant with the first operation action of described Devices to test transmitting for gathering and send described Ethernet;
Data processing unit, whether it is connected with described data acquisition unit, mate, and then judge whether the first operation action of described Devices to test has consistency for the first operation action that judges described Devices to test according to described Ethernet data with described preset standard.
10. device as claimed in claim 9, is characterized in that, described preset standard comprises IEC61375-2-5 standard.
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 true CN103888323A (en) 2014-06-25
CN103888323B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092854A (en) * 2017-12-29 2018-05-29 中国铁道科学研究院 The test method and device of train grade ethernet device based on IEC61375 agreements
CN110912784A (en) * 2019-12-20 2020-03-24 上海仁童电子科技有限公司 Ethernet bus network test equipment
CN111654417A (en) * 2020-06-08 2020-09-11 中车青岛四方机车车辆股份有限公司 Evaluation method and device, storage medium, processor and train
CN111698043A (en) * 2019-03-12 2020-09-22 株洲中车时代电气股份有限公司 Performance test method and system for WTB equipment receiver
CN112187559A (en) * 2019-07-05 2021-01-05 中车株洲电力机车研究所有限公司 Automatic testing device and method for initial running time of train backbone network switch
CN114545886A (en) * 2020-11-24 2022-05-27 一汽-大众汽车有限公司 Vehicle controller refreshing test bench and refreshing test method

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网络产品一致性测试平台实现", 《机车电传动》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092854A (en) * 2017-12-29 2018-05-29 中国铁道科学研究院 The test method and device of train grade ethernet device based on IEC61375 agreements
CN111698043A (en) * 2019-03-12 2020-09-22 株洲中车时代电气股份有限公司 Performance test method and system for WTB equipment receiver
CN111698043B (en) * 2019-03-12 2021-09-24 株洲中车时代电气股份有限公司 Performance test method and system for WTB equipment receiver
CN112187559A (en) * 2019-07-05 2021-01-05 中车株洲电力机车研究所有限公司 Automatic testing device and method for initial running time of train backbone network switch
CN112187559B (en) * 2019-07-05 2022-05-31 中车株洲电力机车研究所有限公司 Automatic testing device and method for initial running time of train backbone network switch
CN110912784A (en) * 2019-12-20 2020-03-24 上海仁童电子科技有限公司 Ethernet bus network test equipment
CN111654417A (en) * 2020-06-08 2020-09-11 中车青岛四方机车车辆股份有限公司 Evaluation method and device, storage medium, processor and train
CN114545886A (en) * 2020-11-24 2022-05-27 一汽-大众汽车有限公司 Vehicle controller refreshing test bench and refreshing test method

Also Published As

Publication number Publication date
CN103888323B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN103888323A (en) Ethernet equipment first-operation behavior consistency testing method and device
CN102393738B (en) Diagnostic device and test method of automobile electronic control unit (ECU)
CN106341294B (en) Portable MVB protocol analysis equipment and MVB data processing method
CN205003544U (en) Automotive production line detecting system that rolls off production line
CN108683578B (en) In-place device ring network communication test method and test system
CN101576589A (en) Distributed super-capacitor monitoring system based on iCAN protocol
CN103095524A (en) Automatic testing method of reply type electric power communication protocol based on configuration
CN208432681U (en) Cable detection system
CN108599989B (en) MVB bus detection method and device
CN207408770U (en) General Internet of Things centralized monitoring system
CN101958577A (en) Method for overhauling GOOSE in digital substation
CN106154071B (en) A kind of device and method detecting intelligent electric energy meter RS485 bus failure
CN104571045B (en) The central control unit and its operating method of train network
CN204028696U (en) Testing device and system for air conditioner wire controller
CN102497290A (en) Data detecting equipment and method for MVB (multifunctional vehicle bus) network
CN109491356A (en) Electric reconnection control signal pickup assembly and its diagnostic method in one kind
CN103543022A (en) Train debugging test data acquiring, storing and wireless transmitting device
CN204258834U (en) Locomotive network system for managing
CN203406678U (en) Networked automatic throw-in equipment of emergency power supply
CN104009543B (en) The supervision method of transformer station's secondary equipment running status
CN203537069U (en) Profibus bus fault diagnosis system of high-voltage direct current transmission control system
CN202748438U (en) Cable checking instrument
CN103427483A (en) Networked automatic stand-by power switching device and information processing and testing method thereof
CN206258726U (en) A kind of welding monitoring system based on Zigbee-technology
CN204732970U (en) A kind of intelligent substation virtual secondary circuit checkout gear

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

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.

CP01 Change in the name or title of a patent holder