Automated Test Sequence Optimization Based on the Maze Algorithm and Ant Colony Algorithm

Wei Zheng, Naiwen Hu

Abstract


With the rapid development of China train operation and control system, validity and safety of behavioral functions of the system have attracted much attention in the railway domain. In this paper, an automated test sequence optimization method was presented from the system functional requirement specification of the high-speed railway. To overcome the local optimum of traditional ant colony algorithm, the maze algorithm is integrated with the ant colony algorithm to achieve the dynamical learning capacity and improve the adaptation capacity to the complex and changeable environment, and therefore, this algorithm can produce the optimal searching results. Several key railway operation scenarios are selected as the representative functional scenarios and Colored Petri Nets (CPN) is used to model the scenarios. After the CPN model is transformed into the extensible markup language (XML) model, the improved ant colony algorithm is employed to generate the optimal sequences. The shortest searching paths are found and the redundant test sequences are reduced based on the natural law of ants foraging. Finally, the Radio Blocking Center (RBC) test platform is designed and used to validate the optimal sequence. Testing results show that the proposed method is able to optimize the test sequences and improve the test efficiency successfully.

Keywords


Ant colony algorithm, maze algorithm, test sequence, optimization, CPN model

Full Text:

PDF

References


System Requirements Specification of the CTCS-3 Train Control System(v1.0). The Ministry of Railways of The People's Republic of China, Beijing: China Railway Publishing House,2008. (in Chinese)

Behrmann, G.; Larsen, K. G. et al (2001); Uppaal-present and future, Decision and Control, Proceedings of the 40th IEEE Conference on, 3: 2881-2886.

Samuel, P.; Joseph, A. T. (2008); Test Sequence Generation from UML Sequence Diagrams, Ninth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, 879-887.

Hessel, A.; Pettersson, P. (2004); A Test Case Generation Algorithm for Real-Time Systems, Quality Software, 2004. QSIC 2004. Proceedings. Fourth International Conference on, 268- 273.

Lee, J.D. et al (2007); Verification and Conformance Test Generation of Communication Protocol for Railway Signaling Systems, Computer Standards and Interfaces, 29(3): 143-151.
http://dx.doi.org/10.1016/j.csi.2006.03.001

Zhao, X.; Li, K.; Tang, T.; Yuan, L. (2010); Study and Application of UML Based CTCS-3 Operational Scenarios Analysis Approach, Railway Signalling and Communication, 8(2): 4-8.

Jaafar, M.F.; Selamat, M.H.; Ghani, A. (2006); TCML-an XML-based test case format, Computing & Informatics, ICOCI'06, International Conference on, 1-4.

Dorigo, M. (1992); (1992); Optimization, Learning and Natural Algorithms, Ph.D. Thesis, Dip. Elettronica e Informazione, Politecnico di Milano, Italy.

Wu, H.F.; Chen, X.Q. et al (2013); Improved Ant Colony Algorithm Based on Natural Selection Strategy for Solving tsp Problem, Journal on Communications, 34(4): 165-170.

Wang, J.; Wang J. (2008); An Improved Ant Colony Algorithm for Solving tsp Problem, Computer Technology and Development, 18(2): 50-52.

Jensen, K. (1994); An Introduction to the Theoretical Aspects of Colored Petri Nets, Springer Berlin Heidelberg.

Shaffer, C.A. (2011); Data Structures & Algorithm Analysis in C++, 3rd ed. New York, NY, USA: Dover, 390-394.

Hu, N.W.; Zheng, W. (2014); The Improved Ant Colony Algorithm Test Sequence Optimization Based on the RBC Test Platform, Intelligent Transportation Systems (ITSC), 2014 IEEE 17th International Conference on, IEEE, 2014: 2261-2261

Farooq, U.; Lam, C.P.; Li, H. (2008); Towards Automated Test Sequence Generation, Software Engineering, 2008. ASWEC 2008. 19th Australian Conference on, IEEE, 2008: 441-450

*** Functional Requirements Specification of the CTCS-3 Train Control System (v1.0), The Ministry of Railways of The People's Republic of China, China Railway Publishing House, Beijing, China, No. 113, 2008.

Chawathe, S.S. (2004); Real-Time Traffic-Data Analysis, Intelligent Transportation Systems Proceedings. The 7th International IEEE Conference on, IEEE, 112-117.

Li, R.M.; Lu, H.P.; Qian, Z.; Shi, Q.X. (2005), Research of in the integrated transportation information platform based on XML, Intelligent Transportation Systems, 2005. Proceedings, IEEE, 498-503.




DOI: https://doi.org/10.15837/ijccc.2015.4.1732



Copyright (c) 2017 Wei Zheng, Naiwen Hu

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

IJCCC is an Open Access Journal : CC-BY-NC.

Articles published in IJCCC user license are protected by copyright.

Users can access, download, copy, translate the IJCCC articles for non-commercial purposes provided that users, but cannot redistribute, display or adapt:

  • Cite the article using an appropriate bibliographic citation: author(s), article title, journal, volume, issue, page numbers, year of publication, DOI, and the link to the definitive published version on IJCCC website;
  • Maintain the integrity of the IJCCC article;
  • Retain the copyright notices and links to these terms and conditions so it is clear to other users what can and what cannot be done with the  article;
  • Ensure that, for any content in the IJCCC article that is identified as belonging to a third party, any re-use complies with the copyright policies of that third party;
  • Any translations must prominently display the statement: "This is an unofficial translation of an article that appeared in IJCCC. Agora University  has not endorsed this translation."

This is a non commercial license where the use of published articles for commercial purposes is forbiden. 

Commercial purposes include: 

  • Copying or downloading IJCCC articles, or linking to such postings, for further redistribution, sale or licensing, for a fee;
  • Copying, downloading or posting by a site or service that incorporates advertising with such content;
  • The inclusion or incorporation of article content in other works or services (other than normal quotations with an appropriate citation) that is then available for sale or licensing, for a fee;
  • Use of IJCCC articles or article content (other than normal quotations with appropriate citation) by for-profit organizations for promotional purposes, whether for a fee or otherwise;
  • Use for the purposes of monetary reward by means of sale, resale, license, loan, transfer or other form of commercial exploitation;

    The licensor cannot revoke these freedoms as long as you follow the license terms.

[End of CC-BY-NC  License for Website User]


INTERNATIONAL JOURNAL OF COMPUTERS COMMUNICATIONS & CONTROL (IJCCC), With Emphasis on the Integration of Three Technologies (C & C & C),  ISSN 1841-9836.

IJCCC was founded in 2006,  at Agora University, by  Ioan DZITAC (Editor-in-Chief),  Florin Gheorghe FILIP (Editor-in-Chief), and  Misu-Jan MANOLESCU (Managing Editor).

Ethics: This journal is a member of, and subscribes to the principles of, the Committee on Publication Ethics (COPE).

Ioan  DZITAC (Editor-in-Chief) at COPE European Seminar, Bruxelles, 2015:

IJCCC is covered/indexed/abstracted in Science Citation Index Expanded (since vol.1(S),  2006); JCR2018: IF=1.585..

IJCCC is indexed in Scopus from 2008 (CiteScore2018 = 1.56):

Nomination by Elsevier for Journal Excellence Award Romania 2015 (SNIP2014 = 1.029): Elsevier/ Scopus

IJCCC was nominated by Elsevier for Journal Excellence Award - "Scopus Awards Romania 2015" (SNIP2014 = 1.029).

IJCCC is in Top 3 of 157 Romanian journals indexed by Scopus (in all fields) and No.1 in Computer Science field by Elsevier/ Scopus.

 

 Impact Factor in JCR2018 (Clarivate Analytics/SCI Expanded/ISI Web of Science): IF=1.585 (Q3). Scopus: CiteScore2018=1.56 (Q2);

SCImago Journal & Country Rank

Editors-in-Chief: Ioan DZITAC & Florin Gheorghe FILIP.