欢迎访问铁路通信信号工程技术,今天是 English

铁路通信信号工程技术 ›› 2024, Vol. 21 ›› Issue (1): 10-15.DOI: 10.3969/j.issn.1673-4440.2024.01.002

• • 上一篇    下一篇

TSRS与外部系统通信状态的自动测试方法

王秋莉,芦时宇   

  1. 卡斯柯信号有限公司,北京 100070
  • 收稿日期:2022-11-22 修回日期:2024-01-05 出版日期:2024-01-25 发布日期:2024-01-25
  • 作者简介:王秋莉(1992—),女,工程师,硕士,主要研究方向:新型列控临时限速服务器测试,邮箱:1205843513@qq.com。
  • 基金资助:
    发明专利:2022年国家发明专利(ZL202210483232.1)

Research on Automatic Test Method of Communication Status Between TSRS and External Systems

Wang Qiuli,  Lu Shiyu   

  1. CASCO Signal Ltd., Beijing    100070, China
  • Received:2022-11-22 Revised:2024-01-05 Online:2024-01-25 Published:2024-01-25

摘要: 在新型列控系统中,为确保在部分逻辑通道故障的情况下维持TSRS与其外部系统正常的通信连接,需对TSRS与外部系统的逻辑通道和应用层连接状态进行严格的室内测试。提出一种TSRS与其外部设备通信状态的自动测试方法及装置,该装置通过读取原始输入数据,获取TSRS与被测外部系统的IP地址,然后采用判定表法针对多情形进行排列组合,生成每个外设的逻辑通道状态和应用层连接状态的全遍历测试序列,再通过该装置的IP自动修改功能,自动执行测试并记录测试结果,然后根据TSRS和外部系统的通信原理进行判定,自动输出预期结果,最后将自动测试结果与预期结果进行对比,生成最终测试结果表格。该方法可避免测试场景的遗漏,保证测试结果的正确性,快速提升测试效率。

关键词: TSRS, 通信状态, 测试

Abstract: In the new train control system, it is necessary to conduct strict indoor tests on the logical channel and application layer connection status between TSRS and external systems in order to ensure their normal communication connection in the case of partial logical channel failure. This paper proposes an automatic test method and device of the communication status between TSRS and its external systems. The device obtains the IP addresses of TSRS and the external system under test by reading the original input data, and then uses the decision table method to arrange and combine multiple situations to generate a full-traversal test sequence of the logical channel status and application layer connection status of each external system, and then automatically executes the test and records the test results through the IP automatic modification function of the device, and then judges them according to the communication principle of TSRS and the external systems, automatically outputs the expected results, and finally compares the automatic test results with the expected results to generate a final test result table. This method can avoid the omission of test scenarios, ensure the correctness of test results, and quickly improve the test efficiency.


Key words: TSRS, communication status, test 

中图分类号: