Uml based test cases generation for the centralised control system of high speed maglev

Lun Zhang, Wenwen Zhao, Xiyu Zhang
{"title":"Uml based test cases generation for the centralised control system of high speed maglev","authors":"Lun Zhang, Wenwen Zhao, Xiyu Zhang","doi":"10.17816/TRANSSYST201843S1234-245","DOIUrl":null,"url":null,"abstract":"Background: The high speed maglev centralized control subsystem (CCS), which realizes the display, automatic train operation (ATO) and diagnose. The CCS is an important security assurance for train operation. System testing (ST) can detect design defects early and performed effective repair to improve the efficiency of the system’ on-site coordinated operation. Therefore, the quality of test cases directly determines the achievements and efficiency of CCS, and it is necessary to be tested before put it into use. \nAim: The generation of test case of centralized control subsystem is proposed. \nMethods: In order to meet the requirements of the system, the first step is operating the extraction of functional features.  Then, the unified modeling language is using to develop the test model in this paper. Then the corresponding unified modeling language models, use case diagram, state diagram, activity diagram and sequence diagram, are developed. The state diagram of operation process is using to describe the state transition during the period from initial state of the OTS to the completion of the operation. The activity diagram of train operation process focuses on the control relationship during the period from one activity to another, which can describe the interaction exactly between OTS, DCS and VCS. The sequence diagram, behavior of use case, focuses on the sequence of information sent by objectives, in which a group of objectives and information transfer are presented. And according to these models, the test cases of the specified case are generated. \nResults: The generated test cases are all executed in the developed lab-test system. The results show that the generated test cases can fully simulate the common situations of the operation scene, and effectively improve the test efficiency and test quality. We designed the experiments as followings: 85 test cases for terminal system design of operator, 68 test cases for train automatic operation design, 31 test cases for central diagnostic system design. All of the designed test cases are examined through the test platform, covering all main scenes in operation process. The errors or detects found in tests are solved by finding the reasons and modifying the code, etc. Finally, the pass rate of the method proposed in this paper is 100 %.  \nConclusion: The UML based method of test case generation implements the generation process and achieves the test cases and verification for CCS. Through the test practice, test cases designed can fully simulate all kinds of common situations in the operation site. What’s more, the test cases also realize early detection of errors and defects in the system and repair them. It is useful to improve the efficiency on-site testing process, to reduce the cost of time and test quality. The method can provide theoretical basis and reference for further testing of high speed maglev CCS.","PeriodicalId":100849,"journal":{"name":"Journal of Transportation Systems Engineering and Information Technology","volume":"19 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2018-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Transportation Systems Engineering and Information Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17816/TRANSSYST201843S1234-245","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Background: The high speed maglev centralized control subsystem (CCS), which realizes the display, automatic train operation (ATO) and diagnose. The CCS is an important security assurance for train operation. System testing (ST) can detect design defects early and performed effective repair to improve the efficiency of the system’ on-site coordinated operation. Therefore, the quality of test cases directly determines the achievements and efficiency of CCS, and it is necessary to be tested before put it into use. Aim: The generation of test case of centralized control subsystem is proposed. Methods: In order to meet the requirements of the system, the first step is operating the extraction of functional features.  Then, the unified modeling language is using to develop the test model in this paper. Then the corresponding unified modeling language models, use case diagram, state diagram, activity diagram and sequence diagram, are developed. The state diagram of operation process is using to describe the state transition during the period from initial state of the OTS to the completion of the operation. The activity diagram of train operation process focuses on the control relationship during the period from one activity to another, which can describe the interaction exactly between OTS, DCS and VCS. The sequence diagram, behavior of use case, focuses on the sequence of information sent by objectives, in which a group of objectives and information transfer are presented. And according to these models, the test cases of the specified case are generated. Results: The generated test cases are all executed in the developed lab-test system. The results show that the generated test cases can fully simulate the common situations of the operation scene, and effectively improve the test efficiency and test quality. We designed the experiments as followings: 85 test cases for terminal system design of operator, 68 test cases for train automatic operation design, 31 test cases for central diagnostic system design. All of the designed test cases are examined through the test platform, covering all main scenes in operation process. The errors or detects found in tests are solved by finding the reasons and modifying the code, etc. Finally, the pass rate of the method proposed in this paper is 100 %.  Conclusion: The UML based method of test case generation implements the generation process and achieves the test cases and verification for CCS. Through the test practice, test cases designed can fully simulate all kinds of common situations in the operation site. What’s more, the test cases also realize early detection of errors and defects in the system and repair them. It is useful to improve the efficiency on-site testing process, to reduce the cost of time and test quality. The method can provide theoretical basis and reference for further testing of high speed maglev CCS.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于Uml的高速磁悬浮集中控制系统测试用例生成
背景:高速磁浮集中控制子系统(CCS),主要实现显示、列车自动运行和诊断。CCS是列车运行的重要安全保障。系统测试可以早期发现设计缺陷并进行有效的修复,提高系统现场协同运行的效率。因此,测试用例的质量直接决定了CCS的成果和效率,在投入使用前进行测试是必要的。目的:提出集中控制子系统测试用例的生成方法。方法:在满足系统要求的前提下,首先进行功能特征提取操作。然后,采用统一的建模语言对测试模型进行开发。然后开发了相应的统一建模语言模型:用例图、状态图、活动图和序列图。运行过程状态图用来描述OTS从初始状态到运行完成这段时间的状态转换。列车运行过程活动图关注的是从一个活动到另一个活动期间的控制关系,它能准确地描述OTS、DCS和VCS之间的相互作用。序列图是用例的行为,它关注的是由目标发送的信息的序列,其中表现了一组目标和信息传递。并根据这些模型,生成指定用例的测试用例。结果:生成的测试用例全部在开发的实验室测试系统中执行。结果表明,生成的测试用例能够充分模拟运行场景的常见情况,有效地提高了测试效率和测试质量。实验设计如下:操作员终端系统设计试验用例85例,列车自动运行设计试验用例68例,中央诊断系统设计试验用例31例。所有设计的测试用例都通过测试平台进行测试,涵盖了运行过程中的所有主要场景。通过查找原因、修改代码等方法解决测试中发现的错误或检测。最后,本文提出的方法通过率为100%。结论:基于UML的测试用例生成方法实现了CCS的生成过程,实现了测试用例的生成和验证。通过测试实践,设计的测试用例能够充分模拟运行现场的各种常见情况。此外,测试用例还实现了对系统中的错误和缺陷的早期发现和修复。有助于提高现场测试过程的效率,降低时间成本和测试质量。该方法可为高速磁悬浮CCS的进一步测试提供理论依据和参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Impact of Roundabout Metering on the Operational Performance of Roundabout: A Case Study of Jawalakhel, Nepal Optimizing Performance at Signalized Intersections through Signal Coordination in Two Intersections of Nepal A Review on the Development and Need of Bicycle Level of Service A Feasibility Study of Public Transport of Panna City Madhya Pradesh A Review on Problems Faced Due to Poor Transportation Facilities in Small Urban Cities in India
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1