Font Size: a A A

Designing And Realization Of On-Board Equipment Test Script Based On XML And UML

Posted on:2010-06-27Degree:MasterType:Thesis
Country:ChinaCandidate:G D WeiFull Text:PDF
GTID:2132360278952342Subject:Traffic Information Engineering & Control
Abstract/Summary:PDF Full Text Request
Train Control System is the core of protecting high-speed railway traffic safety and improving the transport efficiency. In order to ensure all the functions and performance which are required in the system requirement are realized in the train control system before operating on line, we must take complete tests on the system. At present, our country lacks such test platform. Therefore, this paper is focused on one key technique of building On-Board system test platform - designing and realizing of test script.On the basis of researching of train control systems and their test methods, and analyzing the whole architecture of On-Board system, this paper introduces an automatic testing, in which test script generating system is the key part. After analyzing the scope of application, efficiency and other performance indexes of variety of test script, we propose an improved method of generating On-Board test script in XML Schema, using visual Unified modeling language UML, and generating and validating test scripts according to test script in XML Schema.Take On-Board radio message script schema as an example, this paper in detail describes the three-level transformation method. In the first level, we generate On-Board test script schema concept model using UML standard element; the second level is to generate logical model from concept model using the stereotype in UML; in the last level, we transform the logical model to physical model. We analyze possible problems in the process and give some methods to solve them.With the help of hyperModel, this paper uses the three-transformation method mentioned before to realize the semi-automatic generation of the test script in XML Schema. The script in XML Schema which are generated in this way are changed and maintained easily, the speed of generating test script in XML Schema is quick, which is very helpful to the developing of automatic test platform.This paper uses XML Schema in XML Script Generating and Validating successfully. Firstly, this paper generate the frame of test script in XML from test script in XML Schema using XML Spy tool. Then we realize On-Board test script automatic generation after the frame is used in On-Board test script generating and validating system. At last, we develop algorithm for validating by the use of XML various standard interface, and realize automatic validation. The method mentioned above can be proven the applicable in the On-Board automatic test frame.
Keywords/Search Tags:On-Board Equipment, UML, hyperModel, XML, XML Schema, script
PDF Full Text Request
Related items