摘要
文章设计了测试案例自动分析专家系统,通过提取测试案例和测试序列特征,研究了专家系统的核心—规则库和推理机制,实现CTCS-3级列车运行控制系统测试案例的自动分析。同时,提出将测试序列转换为XML脚本,设计测试序列XML脚本的关键标记符,便于计算机自动解析;采用二分搜索算法查找车载数据中测试序列及测试案例的数据段,以此提高专家系统分析效率。结果表明:使用文中描述的结构和方法,可提高测试案例自动分析的效率和准确性。
The paper designed an expert system for automatic analysis of test cases,according to the feature of thetest cases and the test sequence,researched on the rule base and reasoning mechanism which were the core of expertsystem,implemented the automatic analysis of test cases for CTCS-3train control system,proposed to convert the testsequence into XML script and designed the key marker of the XML which was convenient for computer automaticanalysis.The binary search algorithm was used to find the data segment of test sequences and test cases in vehicledata,improve the efficiency of analysis of the expert system.The results showed that the efficiency and accuracy ofautomatic analysis of test cases could be improved.
作者
庞彦知
卢楠
PANG Yanzhi;LU Nan(Beijing Branch, Casco Signal Co. Ltd., Beijing 100044, China;Communication and Signal Depot, Harbin Railway Administration, Harbin 150001, China;Postgraduate Deportment, China Academy of Railway Sciences, Beijing 100081, China)
出处
《铁路计算机应用》
2017年第2期13-17,共5页
Railway Computer Application