CN103885439B - The automatization test system of railway signal computer interlock system - Google Patents
The automatization test system of railway signal computer interlock system Download PDFInfo
- Publication number
- CN103885439B CN103885439B CN201410108026.8A CN201410108026A CN103885439B CN 103885439 B CN103885439 B CN 103885439B CN 201410108026 A CN201410108026 A CN 201410108026A CN 103885439 B CN103885439 B CN 103885439B
- Authority
- CN
- China
- Prior art keywords
- script
- test
- data
- test case
- executor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The invention discloses the automatization test system of a kind of railway signal computer interlock system, including test case executor and test case generator.Test case executor at least includes script executor, host computer simulator and input/output board simulator.Script executor is used for reading in, resolving and implementation of test cases script, and host computer simulator has been used for the communication function of simulation interlocking host computer, and input/output board simulator has been used for the communication function of simulation input/output board;Test case generator receives test scene script and actual yard data and generates test case script.The present invention can save test manpower and time, raising testing efficiency and accuracy rate.
Description
Technical field
The present invention relates to the test system of a kind of railway signal computer interlock system, particularly relate to the automatization test system of a kind of railway signal computer interlock system.
Background technology
Railway signal computer interlock system is a kind of equipment in order to ensure railway operation safety, it can accept the operational order of dispatcher, and carry out the logical operations of complexity in conjunction with the various status information of equipment of collection after, the light controlling railway signal show the action with track switch equipment.
Railway signal computer interlock system in R&D process and each actual items use before have to pass through strict test, and every time after amendment software or configuration data, a software will be retested.The test of current railway signal computer interlock system, rely primarily on tester's manual test that engineering experience is abundant, owing to adopting the manual test of tester, make that active computer interlocking test process exists human input big, testing time is long, tester requires height, and test process is error-prone, and repeated workload is big waits series of problems.
Summary of the invention
The technical problem to be solved is to provide the automatization test system of a kind of railway signal computer interlock system, can save test manpower and time, raising testing efficiency and accuracy rate.
For solving above-mentioned technical problem, the automatization test system of railway signal computer interlock system provided by the invention includes test case executor and test case generator.
Described test case executor at least includes script executor, host computer simulator and input/output board simulator.
Described script executor is used for reading in, resolving and implementation of test cases script, and described test case script is used for describing interlocking test process.
Described host computer simulator has been used for the communication function of simulation interlocking host computer, and the communication function of described interlocking host computer includes the Interlock Status data for receiving interlocking slave computer transmission and interlocked operation order is sent to described interlocking slave computer.
Described input/output board simulator has been used for the communication function of simulation input/output board, and the communication function of described input/output board includes receiving interlocking slave computer described in the Control order and sending filter status data that described interlocking slave computer sends.
Described test case generator receives test scene script and actual yard data, according to the actually used equipment in actual yard data the equipment in described test scene script is replaced and generates described test case script.
Further improving is that described test scene script and described test case script all adopt extensible markup language (ExtensibleMarkupLanguage, XML) format statement to describe.
Further improving is that described test case executor also includes user interface, and described user interface provides tester observe the function of the process of yard state change in test process and provide the function of tester's manual test.
Further improving is that described test case executor also includes data management bag, and described data management bag is used for realizing the various data models that interlocking is relevant, and provides the function obtaining data with arranging data on the basis of various data models.
Further improve and be, the Data Source that described test case executor comprises includes: the described Interlock Status data that described host computer simulator receives, the described Control order that described input/output board simulator receives, the analog data that described script executor is arranged.
Further improve and be, described test case script includes following 4 big class order or statements: arrange interlocking input data and host computer operational order, relatively interlocking output data and Interlock Status data, control the operational factor of described script executor, initialize described interlocking slave computer order.
The present invention is capable of the automatic test of railway signal computer interlock system, it is possible to obtain following beneficial effect:
Test scene can be reused, and can be substantially reduced repeated workload.
Save substantial amounts of manpower and time, and tester is not had too high requirement, improve testing efficiency.
Test process is reproducible and not error-prone, improves the accuracy of test.
Test result is easily analyzed.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation:
Fig. 1 is the structural representation of railway signal computer interlock system;
Fig. 2 is the structural representation of the test case executor of the embodiment of the present invention;
Fig. 3 is the structural representation of the test case generator of the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention is the custom-designed a set of comprehensive automation test system of feature of the construction features for railway signal computer interlock system and test job, as it is shown in figure 1, be the structural representation of railway signal computer interlock system;Railway signal computer interlock system structure is broadly divided into interlocking host computer 101, slave computer 102 of interlocking, input/output board 103, relay circuit 104.
The responsible operational order receiving operator of interlocking host computer 101, and order is handed down to interlocking slave computer 102, receive the various status datas of interlocking slave computer 102 transmission simultaneously and be shown to operator.Interlocking host computer 101 passes through ethernet communication with interlocking slave computer 102.
Interlocking slave computer 102 primary responsibility completion logic computing, and by fieldbus, control command is sent to input/output board 103, or receive relay circuit 104 status data of input/output board 103 transmission.
Input/output board 103 is responsible for actual collection and control relay circuit 104 action.
As in figure 2 it is shown, be the structural representation of the test case executor 1 of the embodiment of the present invention;As it is shown on figure 3, be the structural representation of the test case generator 2 of the embodiment of the present invention.The automatization test system of embodiment of the present invention railway signal computer interlock system includes test case executor 1 and test case generator 2.
The structure of described test case executor 1 is divided into five bags by function, is respectively as follows: user interface 3, data management bag 4, script executor 5, host computer simulator 6 and input/output board simulator 7.
Described user interface 3 adopts WPF(WindowsPresentationFoundation) technology to be to realize the display of yard figure, the dynamic data that display needs obtains from data management bag 4, the function of the main function providing tester to observe the process of yard state change in test process and tester's manual test, and certain or certain the class script in test case script 8 can be selected to test.Wherein, WPF is the user interface frame that Microsoft releases, and belongs to a part of NETFramework3.0;It provide unified programming model, language and framework, be truly realized the work of separating interface designer and developer;It provide brand-new multimedia interactive graphical interface of user simultaneously.
Described data management bag 4, as the core of whole test case executor, mainly achieves the various data models that interlocking is relevant, and provides the function obtaining data with arranging data on this basis.The Control order of Interlock Status data that the data comprised in data management bag 4 receive essentially from host computer simulator 6 and interlocking slave computer 102 output that input/output board simulator 7 receives, and the various analog datas that script executor 5 is arranged.Data management bag 4 provides desired data for other four bags simultaneously.
Described script executor 5 is used for reading in, resolving and implementation of test cases script 8 i.e. responsible loading and Run Script, and described test case script 8 is used for describing interlocking test process.Described test case script 8 includes following 4 big class order or statements: arrange interlocking input data and host computer operational order, relatively interlocking output data and Interlock Status data, control the operational factor of described script executor 5, initialize described interlocking slave computer 102 and order.
Described script executor 5 also exports test report 9.
Described host computer simulator 6 has been used for the communication function of simulation interlocking host computer 101, and the communication function of described interlocking host computer 101 includes the Interlock Status data for receiving interlocking slave computer 102 transmission and interlocked operation order is sent to described interlocking slave computer 102.
Described input/output board simulator 7 has been used for the communication function of simulation input/output board 103, and the communication function of described input/output board 103 includes receiving interlocking slave computer 102 described in the Control order and sending filter status data that described interlocking slave computer 102 sends.
Described test case generator 2 has been responsible for the test scene script 10 conversion work to test case script 8, described test case generator 2 receives test scene script 10 and actual yard data 11, according to the actually used equipment in actual yard data 11 equipment in described test scene script 10 is replaced and generates described test case script 8.For simplifying the development of test case generator, test scene script 10 and test case script 8 are substantially similar, when simply there is concrete device name in test scene script 10, only fill in device category title;It is that test scene script 10 can be converted to test case script 8 by the actually used device name in actual yard data 11 by the device category name modifications in test scene script 10 that test case generator 2 is responsible for the actual yard data 11 according to reality.
In the embodiment of the present invention, described test scene script 10 and described test case script 8 all adopt XML format statement to describe.Personnel's hand-coding that test scene script 10 is enriched by engineering experience once, can this test scene script 10 of multiplexing in different projects.
The embodiment of the present invention is a kind of general-purpose algorithm, it is possible to adopt C# language or Java language to realize, other programming language also can be adopted to realize.
Above by specific embodiment, the present invention is described in detail, but these have not been construed as limiting the invention.Without departing from the principles of the present invention, those skilled in the art it may also be made that many deformation and improvement, and these also should be regarded as protection scope of the present invention.
Claims (6)
1. the automatization test system of a railway signal computer interlock system, it is characterised in that automatization test system includes test case executor and test case generator;
Described test case executor at least includes script executor, host computer simulator and input/output board simulator;
Described script executor is used for reading in, resolving and implementation of test cases script, and described test case script is used for describing interlocking test process;
Described host computer simulator has been used for the communication function of simulation interlocking host computer, and the communication function of described interlocking host computer includes the Interlock Status data for receiving interlocking slave computer transmission and interlocked operation order is sent to described interlocking slave computer;
Described input/output board simulator has been used for the communication function of simulation input/output board, and the communication function of described input/output board includes receiving interlocking slave computer described in the Control order and sending filter status data that described interlocking slave computer sends;
Described test case generator receives test scene script and actual yard data, according to the actually used equipment in actual yard data the equipment in described test scene script is replaced and generates described test case script.
2. the automatization test system of railway signal computer interlock system as claimed in claim 1, it is characterised in that: described test scene script and described test case script all adopt XML format statement to describe.
3. the automatization test system of railway signal computer interlock system as claimed in claim 1, it is characterized in that: described test case executor also includes user interface, described user interface provides tester observe the function of the process of yard state change in test process and provide the function of tester's manual test.
4. the automatization test system of railway signal computer interlock system as claimed in claim 1, it is characterized in that: described test case executor also includes data management bag, the various data models that described data management bag is relevant for realizing interlocking, and acquisition data are provided on the basis of various data models and the function of data is set.
5. the automatization test system of railway signal computer interlock system as claimed in claim 4, it is characterized in that: the Data Source that described test case executor comprises includes: the described Interlock Status data that described host computer simulator receives, the described Control order that described input/output board simulator receives, the analog data that described script executor is arranged.
6. the automatization test system of railway signal computer interlock system as claimed in claim 1, it is characterized in that: described test case script includes following 4 big class order or statements: interlocking input data and host computer operational order are set, relatively interlocking output data and Interlock Status data, control the operational factor of described script executor, initialize described interlocking slave computer order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410108026.8A CN103885439B (en) | 2014-03-21 | 2014-03-21 | The automatization test system of railway signal computer interlock system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410108026.8A CN103885439B (en) | 2014-03-21 | 2014-03-21 | The automatization test system of railway signal computer interlock system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103885439A CN103885439A (en) | 2014-06-25 |
CN103885439B true CN103885439B (en) | 2016-06-29 |
Family
ID=50954387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410108026.8A Active CN103885439B (en) | 2014-03-21 | 2014-03-21 | The automatization test system of railway signal computer interlock system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103885439B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104731085B (en) * | 2015-03-13 | 2017-06-06 | 上海自仪泰雷兹交通自动化系统有限公司 | For the test platform and its method of testing of trackside interlock system |
CN105511446B (en) * | 2015-12-09 | 2018-09-18 | 交控科技股份有限公司 | Signalling arrangement emulation test system based on wayside equipment simulation platform |
CN105701014A (en) * | 2016-01-11 | 2016-06-22 | 上海富欣智能交通控制有限公司 | Automatic testing method for railway signal computer interlocking system |
CN105677568A (en) * | 2016-01-11 | 2016-06-15 | 上海富欣智能交通控制有限公司 | Test scene generating method for railway signal computer interlocking system |
CN108693415A (en) * | 2017-04-11 | 2018-10-23 | 卡斯柯信号有限公司 | A kind of test system and method for semaphore drive system |
CN107992020B (en) * | 2017-11-08 | 2019-08-23 | 交控科技股份有限公司 | A kind of interlocking Auto-Test System and method based on big data |
CN107703925A (en) * | 2017-11-08 | 2018-02-16 | 交控科技股份有限公司 | For interlocking the test system and method for testing of automatic test |
CN108255071B (en) * | 2017-12-28 | 2021-07-09 | 交控科技股份有限公司 | Simulation test system and method based on IO dual-acquisition |
CN109649447B (en) * | 2018-12-21 | 2021-08-10 | 中国铁道科学研究院集团有限公司通信信号研究所 | Automatic test method and system for distributed autonomous dispatching centralized station autonomous machine data |
CN110928199B (en) * | 2019-12-10 | 2023-12-22 | 友道科技有限公司 | Data transmission method, device and system of computer interlocking simulation system |
CN110990297B (en) * | 2019-12-23 | 2023-10-03 | 卡斯柯信号(北京)有限公司 | Test method and device of interlocking system and electronic equipment |
CN111105328A (en) * | 2019-12-24 | 2020-05-05 | 北京智联友道科技有限公司 | Method for realizing driving simulation of interlocking simulation system, storage medium and electronic equipment |
CN111897309A (en) * | 2020-07-24 | 2020-11-06 | 卡斯柯信号有限公司 | Control method and system for intelligent management of field signal interlocking test |
CN112306039B (en) * | 2020-10-15 | 2022-03-11 | 通号城市轨道交通技术有限公司 | Debugging method and system for full-electronic interlocking system |
CN112527683B (en) * | 2020-12-24 | 2022-08-26 | 卡斯柯信号有限公司 | Automatic interface test system for computer interlocking system and application |
CN112612704A (en) * | 2020-12-25 | 2021-04-06 | 卡斯柯信号有限公司 | Automatic testing method for interlocking software |
CN112765020A (en) * | 2021-01-15 | 2021-05-07 | 通号万全信号设备有限公司 | Automatic testing method of computer interlocking system |
CN113626318A (en) * | 2021-07-28 | 2021-11-09 | 通号城市轨道交通技术有限公司 | SDP test environment script generation method and device and electronic equipment |
CN113326211B (en) * | 2021-08-04 | 2022-05-13 | 卡斯柯信号(北京)有限公司 | Test case generation method and device |
CN114003512B (en) * | 2021-12-30 | 2022-05-13 | 卡斯柯信号(北京)有限公司 | Method and device for generating script based on train automatic control integrated verification platform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0827649B2 (en) * | 1988-05-12 | 1996-03-21 | 株式会社日立製作所 | Interlock bypass method for plant |
CN101241466A (en) * | 2007-02-08 | 2008-08-13 | 深圳迈瑞生物医疗电子股份有限公司 | Embedded software test method and system |
JP2009053768A (en) * | 2007-08-23 | 2009-03-12 | Chugoku Electric Power Co Inc:The | Interlock test procedure generation system |
CN101930400A (en) * | 2010-08-20 | 2010-12-29 | 北京神州泰岳软件股份有限公司 | SDK (Software Development Kit) automatic test system and method |
-
2014
- 2014-03-21 CN CN201410108026.8A patent/CN103885439B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0827649B2 (en) * | 1988-05-12 | 1996-03-21 | 株式会社日立製作所 | Interlock bypass method for plant |
CN101241466A (en) * | 2007-02-08 | 2008-08-13 | 深圳迈瑞生物医疗电子股份有限公司 | Embedded software test method and system |
JP2009053768A (en) * | 2007-08-23 | 2009-03-12 | Chugoku Electric Power Co Inc:The | Interlock test procedure generation system |
CN101930400A (en) * | 2010-08-20 | 2010-12-29 | 北京神州泰岳软件股份有限公司 | SDK (Software Development Kit) automatic test system and method |
Non-Patent Citations (2)
Title |
---|
基于脚本技术的高速铁路列控中心系统安全性自动化测试研究;喻钢 等;《铁道学报》;20111231;第33卷(第12期);第56-64页 * |
通用脚本引擎的研究及其在自动测试中的应用;杜峰;《万方学位论文数据库》;20060831;第1-56页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103885439A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103885439B (en) | The automatization test system of railway signal computer interlock system | |
CN103257925B (en) | Train operation monitoring logging software automatic testing equipment, system and method thereof | |
CN103345446B (en) | A kind of automated testing method being applicable to remote control series products | |
CN105933173A (en) | Electric power system intelligent device automatic testing system | |
CN108009097A (en) | Towards the cloud computing emulation test method and device of rail traffic signal system | |
CN104461528A (en) | Method and device for generating signal-oriented application program codes in visualization mode | |
CN204291050U (en) | A kind of dispatching and monitoring information check system | |
CN101976067A (en) | Flexible assembly line management control experiment platform and management control experiment method | |
CN104809932A (en) | Digitized security level control system simulation device of nuclear power plants | |
US20100280631A1 (en) | Method and Apparatus for Controlling a Distributed Automation System | |
CN105808432A (en) | Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU) | |
CN103545917A (en) | Scheduling-automation sub-station simulation system | |
CN103116656B (en) | Based on circuit fault diagnosis system and its implementation of fault logic interpreter | |
CN104715347A (en) | Comprehensive data processing system for debugging work of nuclear power station | |
CN104268346A (en) | Implementation method for simulation application of visual integrated environment on basis of object class interaction diagrams | |
CN111212103A (en) | SCA software radio station interface simulation system and method | |
CN111652760A (en) | Power grid operation and maintenance virtual reality simulation system and simulation method | |
CN110611312A (en) | On-line simulation system and method for panoramic data of substation bay level | |
CN107391617A (en) | Model method is led based on monitoring system automatically | |
CN103699737A (en) | Multi-discipline simulation software data exchange method | |
CN103544345A (en) | Intelligent anti-misoperation simulation system of operation tickets | |
CN205375180U (en) | Central test system of row accuse | |
CN109375525A (en) | A kind of instrument control finished product file importing modeling method based on verification platform | |
CN104575148A (en) | Simulation operating system for training nuclear power plant reactor operator | |
CN104932467B (en) | One kind being used for the central controlled method of program-controlled equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |