CN113759877B - Train network signal testing method and system - Google Patents

Train network signal testing method and system Download PDF

Info

Publication number
CN113759877B
CN113759877B CN202111086187.8A CN202111086187A CN113759877B CN 113759877 B CN113759877 B CN 113759877B CN 202111086187 A CN202111086187 A CN 202111086187A CN 113759877 B CN113759877 B CN 113759877B
Authority
CN
China
Prior art keywords
test
protocol
logic
control unit
central control
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
CN202111086187.8A
Other languages
Chinese (zh)
Other versions
CN113759877A (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.)
China Academy of Railway Sciences Corp Ltd CARS
Locomotive and Car Research Institute of CARS
Beijing Zongheng Electromechanical Technology Co Ltd
Tieke Aspect Tianjin Technology Development Co Ltd
Original Assignee
China Academy of Railway Sciences Corp Ltd CARS
Locomotive and Car Research Institute of CARS
Beijing Zongheng Electromechanical Technology Co Ltd
Tieke Aspect Tianjin Technology Development 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 China Academy of Railway Sciences Corp Ltd CARS, Locomotive and Car Research Institute of CARS, Beijing Zongheng Electromechanical Technology Co Ltd, Tieke Aspect Tianjin Technology Development Co Ltd filed Critical China Academy of Railway Sciences Corp Ltd CARS
Priority to CN202111086187.8A priority Critical patent/CN113759877B/en
Publication of CN113759877A publication Critical patent/CN113759877A/en
Application granted granted Critical
Publication of CN113759877B publication Critical patent/CN113759877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The application provides a train network signal testing method and system, wherein the method comprises the following steps: transmitting a logic test signal and a protocol test signal to a train central control unit through an Ethernet so that the train central control unit performs logic test and protocol test, and transmitting a generated protocol test response signal to an auxiliary test system; and generating a test result according to the logic test response signal fed back by the train central control unit and the protocol test response signal fed back by the auxiliary test system. The method and the device can utilize the main test table and the auxiliary test system to carry out logic test and protocol test.

Description

Train network signal testing method and system
Technical Field
The application relates to the field of train network signal testing, in particular to a train network signal testing method and system based on a train network protocol and control logic.
Background
Aiming at system signals of high-speed railway trains and subway trains, the existing testing technology based on train network protocols and control logic is mostly a manual testing process, and the automatic testing method and equipment of the signals are relatively rare. Along with the rapid development of high-speed railway train equipment, the accuracy and the brought working strength of the manual testing method can not adapt to the requirements of new technology and new equipment.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a train network signal testing method and system, which can utilize a main test bench and an auxiliary test system to carry out logic test and protocol test.
In order to solve the technical problems, the application provides the following technical scheme:
in a first aspect, the present application provides a method for testing a train network signal, including:
transmitting a logic test signal and a protocol test signal to a train central control unit through an Ethernet so that the train central control unit performs logic test and protocol test, and transmitting a generated protocol test response signal to an auxiliary test system;
and generating a test result according to the logic test response signal fed back by the train central control unit and the protocol test response signal fed back by the auxiliary test system.
Further, the logic test signal is a variable value of a logic test precondition, and the logic test response signal is a feedback value of the variable value of the logic test precondition; transmitting a logic test signal to a train central control unit through the Ethernet so as to enable the train central control unit to perform logic test, wherein the logic test method comprises the following steps of:
and sending the variable value of the logic test precondition corresponding to the preset logic test case to the train central control unit so that the train central control unit performs logic test and generates a feedback value of the variable value of the logic test precondition.
Further, the logic test signal is a variable value of a logic test step, and the logic test response signal is a feedback value of the variable value of the logic test step; transmitting a logic test signal to a train central control unit through the Ethernet so as to enable the train central control unit to perform logic test, wherein the logic test method comprises the following steps of:
and sending the variable value of the logic test step corresponding to the preset logic test case to the train central control unit so as to enable the train central control unit to perform logic test and generate a feedback value of the variable value of the logic test step.
Further, the test result is a logic test result, and the generating a test result according to the logic test response signal fed back by the train central control unit and the protocol test response signal fed back by the auxiliary test system includes:
and comparing the preset value of the logic test step with the feedback value of the variable value of the logic test step returned to obtain the logic test result.
Further, the protocol test signal is a protocol interface variable, the protocol test response signal is a feedback value of the protocol interface variable, and the protocol test response signal is sent to the train central control unit through the ethernet, so that the train central control unit performs a protocol test, and sends the generated protocol test response signal to an auxiliary test system, including:
and sending the protocol interface variable corresponding to the preset protocol test case to the train central control unit so as to enable the train central control unit to perform protocol test, and sending the generated protocol test response signal to an auxiliary test system to generate a feedback value of the protocol interface variable.
Further, the test result is a protocol test result, and the test result is generated according to the protocol test response signal fed back by the auxiliary test system, including:
and comparing the transmitted protocol interface variable with the feedback value of the protocol interface variable to obtain a protocol test result.
Further, the train network signal testing method further comprises the following steps: and receiving a feedback value of the protocol interface variable returned by the auxiliary test system according to a preset variable return period, a variable port number and a variable offset.
Further, the train network signal testing method further comprises the following steps: before a protocol test is carried out, a starting signal is sent to an MVB board card connected with the auxiliary test system, so that the MVB board card loads the protocol test case, and a source port for data transmission and a sink port for data receiving are set.
Further, the train network signal testing method further comprises the following steps: before the protocol test is carried out, a starting signal is sent to the TRDP connected with the auxiliary test system, so that the TRDP loads the protocol test case and sets a multicast address for data transmission and reception.
In a second aspect, the present application provides a train network signal testing system, applied to the method provided in the present application, including:
the main test board is connected with the train central control unit through the Ethernet switch so as to carry out test signal interaction with the train central control unit; the test signals comprise logic test signals and protocol test signals;
the auxiliary test system is connected with the main test platform and the train central control unit through an MVB board card or a TRDP so as to interact with test signals of the train central control unit and the main test platform and finish train network signal test in an auxiliary way.
Aiming at the problems in the prior art, the train network signal testing method and system provided by the application can utilize the main test bench and the auxiliary test system to carry out logic test and protocol test, fill the blank of using special equipment to carry out network protocol automatic test and control logic automatic test, realize an automatic test flow integrating test case editing and management, automatic test result storage and automatic test report generation, have good reference value for perfecting manual and automatic test methods of high-speed railway motor train units and subway trains, have higher reference significance for network protocol automatic test and control logic automatic test of various vehicle types, reduce test errors caused by manual intervention in the test process and reduce the workload of testers.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is one of the topology structures of an automatic test stand in an embodiment of the present application;
FIG. 2 is a second topology of an automatic test stand according to an embodiment of the present application;
FIG. 3 is a general flow chart of a method according to an embodiment of the present application;
FIG. 4 is a software architecture diagram for implementing the method in an embodiment of the present application;
FIG. 5 is a flow chart of a logic automatic test in an embodiment of the present application;
FIG. 6 is a flow chart of an automatic protocol test in an embodiment of the present application;
fig. 7 is a flowchart of MVB mode activation in the embodiment of the present application;
FIG. 8 is a TRDP mode initiation flow chart in an embodiment of the application;
FIG. 9 is a diagram of one of the logic test interfaces according to an embodiment of the present application;
FIG. 10 is a second logic test interface according to an embodiment of the present application;
FIG. 11 is a third logic test interface in an embodiment of the present application;
FIG. 12 is a fourth example of a logic test interface in an embodiment of the present application;
FIG. 13 is a fifth embodiment of a logic test interface;
FIG. 14 is a sixth embodiment of a logic test interface;
FIG. 15 is a seventh embodiment of a logic test interface;
FIG. 16 is a diagram of one of the protocol test interfaces according to an embodiment of the present application;
FIG. 17 is a second protocol test interface according to an embodiment of the present application;
FIG. 18 is a third protocol test interface according to an embodiment of the present application;
FIG. 19 is a fourth protocol test interface in an embodiment of the present application;
FIG. 20 is a fifth protocol test interface in an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order to test the control logic and the network protocol of the high-speed railway motor train unit and the subway train, the application provides an automatic test method with high accuracy and high reliability, which is used for automatically and quickly verifying the correctness of the control logic of the high-speed railway motor train unit and the subway train and verifying the timeliness of the network protocol of the high-speed railway motor train unit and the subway train, and automatically testing the control logic and the network protocol of the high-speed railway motor train unit and the subway train.
In an embodiment, referring to fig. 1 and 2, in order to enable logic test and protocol test by using a main test bench and an auxiliary test system, the present application provides a train network signal test system, including: a main test bench 1 and an auxiliary test system 2.
The main test board 1 is connected with the train central control unit 3 through the Ethernet switch 4 so as to interact with the train central control unit 3 by test signals; the test signals comprise logic test signals and protocol test signals; the auxiliary test system 2 is connected with the main test platform 1 and the train central control unit 3 through the MVB board 5 or the TRDP6 so as to interact with test signals of the train central control unit 3 and the main test platform 1, and the auxiliary test system is used for completing train network signal test in an auxiliary way, and is realized by the following method.
Specifically, referring to fig. 1 and fig. 2, the train network signal testing system provided in the present application further includes: the board card corresponding to the vehicle bus network for connecting the main test board 1 and the auxiliary test system 2 may be specifically an MVB board card 5 or a TRDP6. That is, the main test board 1 and the auxiliary test system 2 may be connected via an MVB network or via an ethernet network. In an embodiment, the main test bench 1 and the auxiliary test system 2 may also be connected through ethernet, which is not limited in this application.
The main test board 1 may be used as an execution body of the method provided in the present application, and may be loaded with software for performing control logic test and network protocol test, hereinafter referred to as test software. The test software can realize the functions of test case management, test parameter configuration, test execution, test report generation and the like. In addition, the test software can also realize the setting and remote control of test equipment related to the test process, such as MVB connection parameters, TRDP connection parameters, central control unit parameters, auxiliary test system parameters and the like.
The test software may monitor, set and modify the signals of the central control unit 3 using the TCP communication protocol. By acquiring signals on the central control unit 3, test cases can be quickly constructed, and editing and storage of the test cases are realized. Therefore, the validity of the test cases can be automatically judged in the automatic test process, the test cases can be automatically executed in sequence, and the test results and the test reports can be automatically generated.
It should be noted that, when the MVB network connection is performed, the main test board 1 is provided with a PCI slot type MVB board card, and a serial port line can be used to connect the MVB switch, and test software running on the main test board 1 can communicate through the serial port to complete the reading and setting of data.
When the connection is made by TRDP, the main test station 1 may connect to the train ethernet switch using a network cable, and the test software running on the main test station 1 may read and set data from the multicast address using the UDP communication protocol.
When the TCP network connection is performed, the main test board 1 may be connected to the train ethernet switch through a network cable, and perform signal interaction with the train central control unit 3 to acquire and set data.
From the above description, the train network signal testing system provided by the application can utilize the main test bench and the auxiliary test system to perform logic test and protocol test, fills the blank of using special equipment to perform network protocol automatic test and control logic automatic test, realizes an automatic test flow integrating test case editing and management, automatic test result storage and automatic test report generation, has good reference value for perfecting manual and automatic test methods of high-speed railway motor train units and subway trains, has higher reference significance for network protocol automatic test and control logic automatic test of various vehicle types, reduces test errors caused by manual intervention in the test process, and reduces the workload of testers.
In an embodiment, referring to fig. 3, with the application of the system, the application provides a train network signal testing method, including:
s301: transmitting a logic test signal and a protocol test signal to a train central control unit through an Ethernet so that the train central control unit performs logic test and protocol test, and transmitting a generated protocol test response signal to an auxiliary test system;
s302: and generating a test result according to the logic test response signal fed back by the train central control unit and the protocol test response signal fed back by the auxiliary test system.
It will be appreciated that the test software described herein may perform a train network signal test method, and the software architecture diagram thereof may be referred to in fig. 4. The test software consists of four layers of structures:
(1) communication layer: and realizing physical connection of Ethernet and serial port communication.
(2) Communication interface layer: TCP communication with the train central control unit 3, MVB communication with the MVB network, and multicast communication of TRDP UDP are realized.
(3) Data analysis layer: the data analysis of the train central control unit 3, the analysis of MVB network interaction data, the analysis of TRDP network multicast data and the data analysis of test cases are realized.
(4) Application layer: various application modules are provided for implementing the method.
In one embodiment, the logic test and the protocol test for the train central control unit 3 may be performed separately.
In one embodiment, when performing a logic test, the main test board 1 sends a logic test signal to the train central control unit 3 through the ethernet, and after receiving the logic test signal, the train central control unit 3 may generate a logic test response signal and feed back the logic test response signal to the train central control unit 3 through the original communication link. The main test board 1 can obtain the judging result of whether the operation logic of the train central control unit 3 is normal by comparing whether the logic test signal is consistent with the logic test response signal.
Specifically, in one embodiment, referring to the logic automatic test flowchart shown in fig. 5, the logic test signal is a variable value of the logic test precondition, and the logic test response signal is a feedback value of the variable value of the logic test precondition; transmitting a logic test signal to the train central control unit through the Ethernet so as to enable the train central control unit to perform logic test, comprising:
the main test board 1 sends the variable value of the logic test precondition corresponding to the preset logic test case to the train central control unit 3, so that the train central control unit 3 performs logic test and generates the feedback value of the variable value of the logic test precondition. The preset logic test case may be generated in advance by the test software described in the present application and stored in the main test stand 1.
It can be understood that if the main test bench 1 sends the variable value of the logic test precondition to the train central control unit 3, the train central control unit 3 accurately generates the feedback value of the variable value of the logic test precondition after receiving the variable value of the logic test precondition, and feeds back the feedback value to the main test bench 1, the logic test precondition is successfully set, and the subsequent logic test can be performed; otherwise, recording error message, displaying failed and detailed information, and ending logic test.
As can be seen from the above description, the train network signal testing method provided by the present application can send a logic test signal to the train central control unit through ethernet, so that the train central control unit performs a logic test.
In one embodiment, referring to fig. 5, the logic test signal is a variable value of the logic test step, and the logic test response signal is a feedback value of the variable value of the logic test step; transmitting a logic test signal to the train central control unit through the Ethernet so as to enable the train central control unit to perform logic test, comprising:
the main test board 1 sends the variable value of the logic test step corresponding to the preset logic test case to the train central control unit 3, so that the train central control unit 3 performs logic test and generates a feedback value of the variable value of the logic test step.
In one embodiment, the test result is a logic test result, and the test result is generated according to a logic test response signal fed back by the train central control unit and a protocol test response signal fed back by the auxiliary test system, including:
and comparing the preset value of the logic test step with the feedback value of the variable value of the returned logic test step to obtain a logic test result.
It can be understood that if the main test bench 1 sends the variable value of the logic test step to the train central control unit 3, the train central control unit 3 accurately generates the feedback value of the variable value of the logic test step after receiving the variable value of the logic test step, and feeds back the feedback value to the main test bench 1, the logic feedback of the train central control unit 3 is normal, and the logic test is successful; otherwise, recording error message, displaying failed and detailed information, and ending logic test.
As can be seen from the above description, the train network signal testing method provided by the present application can send a logic test signal to the train central control unit through ethernet, so that the train central control unit performs a logic test.
In an embodiment, when a protocol test is performed, the main test board 1 sends a protocol test signal to the train central control unit 3 through the ethernet, after the train central control unit 3 receives the protocol test signal, the protocol test signal can be transmitted to the auxiliary test system 2 through the MVB network or the TRDP network, the auxiliary test system 2 generates a protocol test response signal according to the protocol test signal, and finally the protocol test response signal is fed back to the main test board 1 through the MVB network or the TRDP network, and the main test board 1 can perform test and judgment by using the test software carried by the auxiliary test system, that is, whether the protocol test signal is consistent with the protocol test response signal is compared, so as to judge whether the protocol communication of the central control unit 3 is normal. The preset protocol test case may be generated in advance by the test software described in the present application and stored in the main test stand 1.
Specifically, in one embodiment, referring to the protocol automatic test flow chart shown in fig. 6, the protocol test signal is a protocol interface variable, the protocol test response signal is a feedback value of the protocol interface variable, the protocol test signal is sent to the train central control unit through the ethernet, so that the train central control unit performs a protocol test, and the generated protocol test response signal is sent to the auxiliary test system, including:
the main test board 1 sends a protocol interface variable corresponding to a preset protocol test case to the train central control unit 3 so that the train central control unit 3 performs protocol test, and sends a generated protocol test response signal to the auxiliary test system 2 to generate a feedback value of the protocol interface variable.
It should be noted that, referring to fig. 6, the main test board 1 may circularly read the protocol interface variables according to the data type, such as a numerical type and a boolean type. When the MVB network is adopted for communication, the method for reading the protocol interface variables by the main test board 1 is to read data from the MVB sink port according to the change period and the offset of the variables in the protocol test case and display the data in the variable list. When communication is performed through TRDP, the method of reading the protocol interface variable by the main test board 1 is to read data according to the variation period, COMID port number and offset of the variable in the protocol test case. That is, the feedback value of the protocol interface variable returned by the auxiliary test system is received according to the preset variable return period, variable port number and variable offset.
In an embodiment, the test result is a protocol test result, and the generating the test result according to the protocol test response signal fed back by the auxiliary test system includes:
and comparing the transmitted protocol interface variable value with the feedback value of the protocol interface variable to obtain a protocol test result.
As can be seen from the above description, the method for testing a train network signal provided by the present application can send a protocol test signal to a train central control unit through ethernet, so that the train central control unit performs a protocol test, and sends a generated protocol test response signal to an auxiliary test system.
In an embodiment, referring to fig. 1 and fig. 7, before performing a protocol test, a start signal is sent to an MVB board 5 connected to the auxiliary test system 2, so that the MVB board loads a protocol test case, and a source port for data transmission and a sink port for data reception are set.
It can be understood that, before performing the protocol test, the main test board 1 needs to send a start signal to the MVB board 5, and after the MVB board 5 receives the start signal, the data communication serial port can be opened, and the necessary serial port communication parameters are loaded, so as to open the MVB communication function. After the above operation is completed, the MVB board 5 needs to load the source port and the sink port of the protocol test case, and set the current state to be the MVB open state, so that in the test process, data is sent from the source port, data is received from the sink port, and finally the start process of MVB is completed.
In one embodiment, referring to fig. 2 and 8, before performing the protocol test, a start signal is sent to the TRDP6 connected to the auxiliary test system 2, so that the TRDP loads the protocol test case and sets a multicast address for data transmission and reception.
It will be appreciated that before performing the protocol test, the main test board 1 needs the TRDP6 to send a start signal, after the TRDP6 receives the start signal, the UPD port 17224 may be opened, then the UPD receiving thread is started, the multicast address is added, and finally the UDP multicast address is used to send and receive the TRDP format data.
For a better understanding of the methods provided herein, an example will now be described.
(1) Logic automatic test
When the test starts, a tester opens the test bed computer, connects the test bed computer to the Ethernet of the central control unit, and then connects the MVB board card of the test bed to the MVB network by using the MVB line or directly connects the test bed computer to the MVB interface of the central control unit or the tested subsystem. And running test software of the test bed signal. Selecting "device connection" adds the central control unit to change its state to "resolution complete", see fig. 9.
Clicking a mouse right button pop-up menu in a blank area under the logic test management selects "new use case", see fig. 10. Entering a logic test case editing interface, see fig. 11 and 12.
After the editing of the cases is completed, one test case in the logic test management is selected, a new window is opened, the automatic test is started by clicking a start button, and the result is automatically displayed, see fig. 13.
For "failed" test cases, the failed cause is displayed in the "output" window, see FIG. 14.
Clicking on "save results" clicks on "export" in "test results" automatically generates a report, see FIG. 15.
(2) Protocol automatic test
The protocol test cases are stored in an excel table, see fig. 16.
It should be noted that, in an embodiment, for MVB test, the MVB board obtains data of the port address 0xA18, obtains a value of each variable according to a word offset (byte offset) and a bit offset, and compares the value with a value set in the CCU.
In one embodiment, for TRDP testing, corresponding ComID 21304 data is obtained from a UDP multicast address, and variable values are obtained from the data in terms of ETH word offset (byte offset) and ETH bit offset.
The variable value setting rule may be as follows:
in order to test and accurately test the value of each variable, setting a minimum value, a middle value and a maximum value once according to the variable type, setting the variable value in the CCU three times, waiting for a characteristic period once for each setting, and comparing the values obtained from the MVB or TRDP according to the MVB or TRDP port, the sub-offset and the bit offset. The boolean type can only set 0 and 1.
For example, in the first variable MVB mode in the test case, the wmhigher5rxA1 variable in the CCU is set to 0, the waiting period is 128 ms, then the data is read from the MVB port 0xA18, and whether the value of the 0 th byte (word offset) and the 0 th bit (bit offset) is 0 is resolved in the data, if it is 1, the test is failed. The first value test is complete. And continuing to wait for 512 milliseconds of the refresh period, setting the variable value in the CCU to be 1, waiting for 128 milliseconds of the characteristic period, reading data from the MVB port 0xA18, analyzing whether the value of the 0 bit (bit offset) of the 0 th byte (word offset) is 1 or not in the data, and if the value is 0, failing the test. The test for both values is the same and this variable is passed in MVB mode, otherwise it is not passed. The TRDP testing procedure is substantially the same.
The protocol test process is specifically as follows:
open protocol test window, select Mode (MVB), select on-line CCU, see fig. 17.
The select protocol test file (test case: excel file in fixed format) selects the file table, sender and receiver from the drop-down list. Setting the cycle times, clicking "start" to automatically start the test, if "continuous" (if no continuous only one variable is checked), see fig. 18.
The test results show pass/fail, see fig. 19.
After the test is finished, clicking the export, popup the save as a window, automatically generating a file name, selecting the save of the file storage directory to export an excel test result, and automatically opening the file. Clicking on the "generate report" button automatically generates a word test report from the protocol test report template, see FIG. 20.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for embodiments of the apparatus implementing the method, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the partial description of the method embodiments being relevant.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Although the present description provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, it is not excluded that additional identical or equivalent elements may be present in a process, method, article, or apparatus that comprises a described element.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the embodiments of the present specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The foregoing is merely an example of an embodiment of the present disclosure and is not intended to limit the embodiment of the present disclosure. Various modifications and variations of the illustrative embodiments will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of the embodiments of the present specification, should be included in the scope of the claims of the embodiments of the present specification.

Claims (10)

1. A method for testing train network signals, comprising:
the main test bench sends logic test signals and protocol test signals to the train central control unit through Ethernet so that the train central control unit performs logic test and protocol test, and sends generated protocol test response signals to the auxiliary test system; the main test bench is loaded with software for performing the logic test and the protocol test;
and the main test bench generates a test result according to the logic test response signal fed back by the train central control unit and the protocol test response signal fed back by the auxiliary test system.
2. The train network signal testing method according to claim 1, wherein the logic test signal is a variable value of a logic test precondition, and the logic test response signal is a feedback value of the variable value of the logic test precondition; transmitting a logic test signal to a train central control unit through the Ethernet so as to enable the train central control unit to perform logic test, wherein the logic test method comprises the following steps of:
and sending the variable value of the logic test precondition corresponding to the preset logic test case to the train central control unit so that the train central control unit performs logic test and generates a feedback value of the variable value of the logic test precondition.
3. The train network signal testing method according to claim 2, wherein the logic test signal is a variable value of a logic test step, and the logic test response signal is a feedback value of the variable value of the logic test step; transmitting a logic test signal to a train central control unit through the Ethernet so as to enable the train central control unit to perform logic test, wherein the logic test method comprises the following steps of:
and sending the variable value of the logic test step corresponding to the preset logic test case to the train central control unit so as to enable the train central control unit to perform logic test and generate a feedback value of the variable value of the logic test step.
4. The method for testing a train network signal according to claim 3, wherein the test result is a logic test result, and the generating the test result according to the logic test response signal fed back by the train central control unit and the protocol test response signal fed back by the auxiliary test system comprises:
and comparing the preset value of the logic test step with the feedback value of the variable value of the logic test step returned to obtain the logic test result.
5. The train network signal testing method according to claim 1, wherein the protocol test signal is a protocol interface variable, the protocol test response signal is a feedback value of the protocol interface variable, the protocol test signal is sent to the train central control unit through the ethernet so that the train central control unit performs a protocol test, and the generated protocol test response signal is sent to an auxiliary test system, comprising:
and sending the protocol interface variable corresponding to the preset protocol test case to the train central control unit so as to enable the train central control unit to perform protocol test, and sending the generated protocol test response signal to an auxiliary test system to generate a feedback value of the protocol interface variable.
6. The method for testing train network signals according to claim 5, wherein the test result is a protocol test result, and generating the test result according to a protocol test response signal fed back by the auxiliary test system comprises:
and comparing the transmitted protocol interface variable with the feedback value of the protocol interface variable to obtain a protocol test result.
7. The train network signal testing method according to claim 5, further comprising: and receiving a feedback value of the protocol interface variable returned by the auxiliary test system according to a preset variable return period, a variable port number and a variable offset.
8. The train network signal testing method according to claim 5, further comprising: before a protocol test is carried out, a starting signal is sent to an MVB board card connected with the auxiliary test system, so that the MVB board card loads the protocol test case, and a source port for data transmission and a sink port for data receiving are set.
9. The train network signal testing method according to claim 5, further comprising: before the protocol test is carried out, a starting signal is sent to the TRDP connected with the auxiliary test system, so that the TRDP loads the protocol test case and sets a multicast address for data transmission and reception.
10. A train network signal testing system for use in the method of any one of claims 1-9, comprising:
the main test board is connected with the train central control unit through the Ethernet switch so as to carry out test signal interaction with the train central control unit; the test signals comprise logic test signals and protocol test signals; the main test platform is provided with software for carrying out logic test and protocol test;
the auxiliary test system is connected with the main test platform and the train central control unit through an MVB board card or a TRDP so as to interact with test signals of the train central control unit and the main test platform and finish train network signal test in an auxiliary way.
CN202111086187.8A 2021-09-16 2021-09-16 Train network signal testing method and system Active CN113759877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111086187.8A CN113759877B (en) 2021-09-16 2021-09-16 Train network signal testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111086187.8A CN113759877B (en) 2021-09-16 2021-09-16 Train network signal testing method and system

Publications (2)

Publication Number Publication Date
CN113759877A CN113759877A (en) 2021-12-07
CN113759877B true CN113759877B (en) 2023-05-19

Family

ID=78795949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111086187.8A Active CN113759877B (en) 2021-09-16 2021-09-16 Train network signal testing method and system

Country Status (1)

Country Link
CN (1) CN113759877B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1540892A (en) * 2003-11-03 2004-10-27 中国科学院计算技术研究所 Transmission method for testing computer network protocol
DE102008048985A1 (en) * 2008-09-25 2010-04-08 Anapur Ag Automation system's test e.g. bus test, performing method for e.g. organization task, involves comparing testing result with reference result deviated from specification data, and implementing or importing data in testing program
CN202230143U (en) * 2011-06-29 2012-05-23 南京南瑞继保电气有限公司 Digitalized relay protection test device
EP2900016A1 (en) * 2014-01-28 2015-07-29 Openet Telecom Ltd. System and Method for Performing Network Selection

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7516216B2 (en) * 2001-10-01 2009-04-07 Ixia Generating traffic for testing a system under test
CN1780237A (en) * 2004-11-22 2006-05-31 华为技术有限公司 Logic topological network for protocol test and method for realizing protocol test
CN113126591A (en) * 2020-01-16 2021-07-16 中车青岛四方机车车辆股份有限公司 Test method and device for train controller
CN212846495U (en) * 2020-09-24 2021-03-30 西门子交通技术(北京)有限公司 Test system for rail train control logic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1540892A (en) * 2003-11-03 2004-10-27 中国科学院计算技术研究所 Transmission method for testing computer network protocol
DE102008048985A1 (en) * 2008-09-25 2010-04-08 Anapur Ag Automation system's test e.g. bus test, performing method for e.g. organization task, involves comparing testing result with reference result deviated from specification data, and implementing or importing data in testing program
CN202230143U (en) * 2011-06-29 2012-05-23 南京南瑞继保电气有限公司 Digitalized relay protection test device
EP2900016A1 (en) * 2014-01-28 2015-07-29 Openet Telecom Ltd. System and Method for Performing Network Selection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Distributed cooperative learning over time-varying random networks using a gossip-based communication protocol》;Pengfei Ren;《Fuzzy Sets and Systems》;第124页-第145页 *
赵辰阳.《基于列车实时数据协议的以太网高速通信技术》.《 城市轨道交通研究》.2019,(第第3期期),第85页-第89页,第126页. *

Also Published As

Publication number Publication date
CN113759877A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
WO2017000424A1 (en) Protocol detection method and apparatus
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN113904967B (en) Automatic testing device and testing method for automobile CAN communication module interface software
CN212112225U (en) Vehicle electronic control unit test system
CN116489043A (en) CAN communication automatic test method
CN109298702A (en) ECU automatic test approach and system
CN115546927A (en) UDS diagnosis automatic test system based on AUTOSAR standard
CN113759877B (en) Train network signal testing method and system
CN113325830A (en) Remote diagnosis method for automobile diagnosis instrument
CN113092130A (en) Method for simulating conformance test of electric automobile and vehicle-mounted terminal
KR101552714B1 (en) method and system for analyzing automatically physical layer in car communication
CN112398672B (en) Message detection method and device
CN114666244B (en) Vehicle-mounted gateway test system
US6603327B2 (en) Test module
CN115712537A (en) Low-cost vehicle controller CAN signal simulation system
CN113886274A (en) Stability testing method, device, equipment and storage medium for Internet of vehicles terminal
Xu et al. Design of vehicle gateway automatic test system based on canoe
CN113655773B (en) Vehicle machine system communication serial port pressure testing system and method
CN117170350B (en) Service testing method and device, electronic equipment and storage medium
CN114696857B (en) Vehicle maintenance method, device, terminal and computer readable storage medium
CN116381452B (en) Chip testing method, device and system and readable storage medium
CN113010402B (en) Method and system for testing upper limit and lower limit of physical value of CAN (controller area network) signal
CN209949113U (en) Function test system related to radio frequency signal
CN115542875A (en) Vehicle detection method based on SOA service and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant