Movatterモバイル変換


[0]ホーム

URL:


CN105550083A - MSS (maintenance support subsystem) automatic test method and system - Google Patents

MSS (maintenance support subsystem) automatic test method and system
Download PDF

Info

Publication number
CN105550083A
CN105550083ACN201510904028.2ACN201510904028ACN105550083ACN 105550083 ACN105550083 ACN 105550083ACN 201510904028 ACN201510904028 ACN 201510904028ACN 105550083 ACN105550083 ACN 105550083A
Authority
CN
China
Prior art keywords
mss
data
tested
transmitter
comparison
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.)
Pending
Application number
CN201510904028.2A
Other languages
Chinese (zh)
Inventor
王伟
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Traffic Control Technology Co Ltd
Original Assignee
Beijing Traffic Control Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Traffic Control Technology Co LtdfiledCriticalBeijing Traffic Control Technology Co Ltd
Priority to CN201510904028.2ApriorityCriticalpatent/CN105550083A/en
Publication of CN105550083ApublicationCriticalpatent/CN105550083A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses an MSS automatic test method and system. According to the method and the system of the invention, the problems that the prior art cannot simulate an external device to carry out fault injection to an MSS and carry out automatic test to the MSS and can only test by matching with an external actual device are solved. The system is an industrial personal computer and comprises a telegraph transmitter, an analyzer and a comparer; the telegraph transmitter and the analyzer are connected with a to-be-tested MSS; the comparer is connected to the telegraph transmitter and the analyzer; the telegraph transmitter is used for simulating at least one external device; the external device is connected to the to-be-tested MSS and sends first data to the to-be-tested MSS; the analyzer is used for collecting the second data sent to the external device after the to-be-tested MSS receives the first data and analyzing the second data so as to obtain third data; the comparer is used for comparing the first data and corresponding third data according to a preset rule so as to obtain a comparison result; and a test report of the to-be-tested MSS is generated according to the comparison result.

Description

MSS automatic test method and system
Technical Field
The invention relates to the technical field of MSS testing, in particular to an MSS automatic testing method and system.
Background
An MSS (maintenance support subsystem) as a maintenance support system of a place-core has a plurality of devices, such as VOBC, ATS, ZC, CI, meter axis, power supply, DCS, DSU, microcomputer monitor, LEU, etc., in communication therewith. The system can comprehensively monitor and record the signal equipment used on line, can comprehensively record and analyze the input and output states, and has rich warning functions.
Before the MSS operates online, the MSS needs to perform test verification in several stages, i.e., unit test, integration test, and subsystem test, to verify whether the data sent to the MSS is consistent with the data received by the MSS. Because the interfaces are numerous, the interfaces are complex, the number of communication devices is large, and in order to automatically test the MSS, the labor is saved, and the efficiency is improved. The method was developed.
The existing MSS test can be carried out only manually, and whether the MSS test is correct or not can be checked one by one. The method has the following defects:
1) the fault injection of the MSS can not be simulated by external equipment;
2) the interfaces are numerous and complex, automatic testing cannot be performed on the MSS, the efficiency is low, and the test labor consumption is large;
3) the universality is not strong, and the test can be carried out only by matching with external actual equipment.
Disclosure of Invention
The invention aims to provide an MSS automatic test method and system, which can solve the problems that the prior art can not simulate external equipment to carry out fault injection on the MSS, can not carry out automatic test on the MSS and can only carry out test by matching with external actual equipment.
To this end, in one aspect, the present invention provides an MSS automated testing system, which is an industrial personal computer and includes:
a transmitter, a resolver and a comparator; wherein,
the transmitter and the analysis device are connected with the MSS to be tested, the comparison device is connected with the transmitter and the analysis device,
the transmitter is configured to simulate at least one external device connected to the MSS to be tested to transmit first data to the MSS to be tested,
the analysis device is used for collecting second data sent to the external equipment after the MSS to be tested receives the first data, analyzing the second data to obtain third data,
the comparison device is used for comparing the first data with corresponding third data according to a preset comparison rule to obtain a comparison result, and generating a test report of the MSS to be tested according to the comparison result.
On the other hand, the invention provides an automatic testing method of an MSS, which comprises the following steps:
simulating, by the transmitter, at least one external device connected to the MSS to be tested to send first data to the MSS to be tested,
the analysis device collects second data sent to the external equipment after the MSS to be tested receives the first data, analyzes the second data to obtain third data,
and comparing the first data with corresponding third data by the comparison device according to a preset comparison rule to obtain a comparison result, and generating a test report of the MSS to be tested according to the comparison result.
The MSS automatic test method and system of the embodiment of the invention can realize the automatic test of the MSS to be tested by comparing the input and the output of the MSS to be tested by using the transmitter, the analysis device and the comparison device, thereby saving labor and improving efficiency.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of an MSS automated test system according to the present invention;
fig. 2 is a flowchart illustrating an exemplary method for automatically testing an MSS according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present embodiment discloses an MSS automated testing system, which is an industrial personal computer and includes:
a transmitter 1, an analyzer 2 and a comparator 3; wherein,
the transmitter 1 and the analysis device 2 are connected with the MSS to be tested, the comparison device 3 is connected with the transmitter 1 and the analysis device 2,
the transmitter 1 is configured to simulate at least one external device connected to the MSS to be tested to send first data to the MSS to be tested,
the analysis device 2 is configured to collect second data sent to the external device after the MSS to be tested receives the first data, analyze the second data to obtain third data,
the comparison device 3 is configured to compare the first data with corresponding third data according to a preset comparison rule to obtain a comparison result, and generate a test report of the MSS to be tested according to the comparison result.
The MSS automatic test system mainly connects the transmitter, the MSS and the analysis device together, the transmitter simulates external equipment to send data to the MSS, the analysis device analyzes the data sent by the MSS, and the MSS automatic test can be realized by automatically comparing the data sent by the transmitter and the data analyzed by the analysis device.
The MSS automatic test system mainly comprises five functional modules of sending data to the MSS, analyzing the data sent by the MSS, automatically comparing, displaying a software interface and generating a report, wherein each functional module is introduced as follows.
Sending data to the MSS: and simulating external equipment, sending data to the MSS, configuring the data sent to the MSS by using the EXCEL, and automatically sending the data of all interfaces.
Analyzing data sent by the MSS: and collecting and analyzing data sent by the MSS.
Automatic comparison: and acquiring the analyzed data sent by the MSS, and automatically comparing according to the configuration file. The data of all interfaces can be compared automatically, and a report is generated. When the interface is changed, only the configuration file needs to be changed, and the code does not need to be modified.
Displaying a software interface: and displaying the data sent to the MSS and the data sent to the outside by the MSS obtained by analysis. The data that passed the alignment are represented in green and the data that did not pass in red. Is convenient for users to watch.
And (3) generating a report: reports are automatically generated based on templates provided by the user. The report is in EXCEL format, which facilitates the next operation by the tester.
The MSS automatic test system of the embodiment of the invention can realize the automatic test of the MSS to be tested by comparing the input and the output of the MSS to be tested by using the transmitter, the analysis device and the comparison device, thereby saving labor and improving efficiency.
Optionally, in another embodiment of the MSS automated testing system of the present invention, the transmitter and the analysis device are connected to the MSS to be tested through a cable, and the comparison device is connected to the transmitter and the analysis device through a cable.
Optionally, in another embodiment of the MSS automated test system of the present invention, the first data is configured by EXCEL, and the transmitter is configured to traverse the first data, and transmit data obtained from each traversal to an external device, or
And the data processing module is used for traversing the first data and simultaneously sending the first data to corresponding external equipment.
In addition, the prior art cannot perform traversal test on a complex interface, but the present invention can perform traversal test on the complex interface by traversing the first data configured by the EXCEL and sending the data obtained by each traversal to an external device.
Optionally, in another embodiment of the MSS automated test system of the present invention, the test report is in EXCEL format.
Optionally, in another embodiment of the MSS automatic test system of the present invention, the system is installed with a network card and is connected to the switch through a cable.
In the embodiment of the invention, the MSS to be tested can be remotely tested through the switch and the network card.
Optionally, in another embodiment of the MSS automated test system of the present invention, the method further includes:
and the display device is used for displaying the first data, the third data and the comparison result.
Referring to fig. 2, the present embodiment discloses an MSS automated testing method based on the MSS automated testing system of the foregoing embodiment, including:
s1, simulating by the transmitter at least one external device connected with the MSS to be tested to send first data to the MSS to be tested,
s2, the analysis device collects the second data sent by the MSS to be tested to the external device after receiving the first data, analyzes the second data to obtain the third data,
and S3, comparing the first data with corresponding third data by the comparison device according to a preset comparison rule to obtain a comparison result, and generating a test report of the MSS to be tested according to the comparison result.
The MSS automatic test method of the embodiment of the invention can realize the automatic test of the MSS to be tested by comparing the input and the output of the MSS to be tested by using the transmitter, the analysis device and the comparison device, thereby saving labor and improving efficiency.
Optionally, in another embodiment of the MSS automatic test method according to the present invention, before the simulating, by the transmitter, that at least one external device connected to the MSS to be tested sends the first data to the MSS to be tested, the method further includes:
performing EXCEL configuration on the first data by the transmitter;
wherein, the simulating, by the transmitter, at least one external device connected to the MSS to be tested to send first data to the MSS to be tested includes:
traversing the first data configured by the EXCEL by the transmitter, and transmitting the data obtained by each traversal to an external device, or
And traversing the first data configured by the EXCEL by the transmitter, and simultaneously transmitting the first data to corresponding external equipment.
Optionally, in another embodiment of the MSS automated testing method of the present invention, the test report is in EXCEL format.
Optionally, in another embodiment of the MSS automated testing method of the present invention, the method further includes:
and displaying the first data, the third data and the comparison result.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

CN201510904028.2A2015-12-092015-12-09MSS (maintenance support subsystem) automatic test method and systemPendingCN105550083A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510904028.2ACN105550083A (en)2015-12-092015-12-09MSS (maintenance support subsystem) automatic test method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510904028.2ACN105550083A (en)2015-12-092015-12-09MSS (maintenance support subsystem) automatic test method and system

Publications (1)

Publication NumberPublication Date
CN105550083Atrue CN105550083A (en)2016-05-04

Family

ID=55829279

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510904028.2APendingCN105550083A (en)2015-12-092015-12-09MSS (maintenance support subsystem) automatic test method and system

Country Status (1)

CountryLink
CN (1)CN105550083A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107703925A (en)*2017-11-082018-02-16交控科技股份有限公司For interlocking the test system and method for testing of automatic test
CN109474394A (en)*2018-12-282019-03-15苏州思必驰信息科技有限公司 A method and system for detecting communication data of a sound card, and a device for detecting received communication data of a sound card
CN112749046A (en)*2019-10-312021-05-04比亚迪股份有限公司MSS system simulation data construction method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101847113A (en)*2010-05-212010-09-29北京广利核系统工程有限公司Device and method for confirming system testing
CN103942138A (en)*2013-01-232014-07-23纽海信息技术(上海)有限公司Testing method and device
CN104317713A (en)*2014-10-272015-01-28北京锐安科技有限公司Automatic testing tool and method on basis of templates
CN104615534A (en)*2015-01-282015-05-13广州酷狗计算机科技有限公司Interface test method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101847113A (en)*2010-05-212010-09-29北京广利核系统工程有限公司Device and method for confirming system testing
CN103942138A (en)*2013-01-232014-07-23纽海信息技术(上海)有限公司Testing method and device
CN104317713A (en)*2014-10-272015-01-28北京锐安科技有限公司Automatic testing tool and method on basis of templates
CN104615534A (en)*2015-01-282015-05-13广州酷狗计算机科技有限公司Interface test method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107703925A (en)*2017-11-082018-02-16交控科技股份有限公司For interlocking the test system and method for testing of automatic test
CN109474394A (en)*2018-12-282019-03-15苏州思必驰信息科技有限公司 A method and system for detecting communication data of a sound card, and a device for detecting received communication data of a sound card
CN109474394B (en)*2018-12-282021-08-17思必驰科技股份有限公司 Sound card communication data detection method, system and detection device
CN112749046A (en)*2019-10-312021-05-04比亚迪股份有限公司MSS system simulation data construction method, device, equipment and storage medium
CN112749046B (en)*2019-10-312023-08-11比亚迪股份有限公司 MSS system simulation data construction method, device, equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN103676657B (en)A kind of verification system for satellite Integrated Electronic System
CN108809747B (en)Simulation data test system and test method of system platform
CN102946616B (en)Internet of things middleware performance testing system and testing method
CN103744781B (en)A kind of method of testing of interlocking software and test macro
KR101414720B1 (en)Functional safety testing device for train control system software and the method thereof
CN103913728B (en)A kind of method of testing based on portable radar comprehensive tester
CN107819647B (en)Intelligent substation station control layer network tester
CN110401692A (en) A substation monitoring information integrated automatic acceptance system and method
CN106301624A (en)A kind of distribution terminal GPRS wireless data transmission time delay automatic test approach
CN105550083A (en)MSS (maintenance support subsystem) automatic test method and system
CN109032956B (en)Interface testing method and device
CN111055685A (en)Interactive simulation charging test system and test method
CN114286363A (en)Off-line production testing method based on Bluetooth serial port
CN104535953A (en)Automatic detection system and method of liquid crystal display screen of intelligent ammeter
CN110838946A (en)Automatic acceptance system and method based on simulation substation
CN102821010A (en)Simulator for protector
CN105988125A (en)Statistical method for static data integrity based on GNSS receivers
CN106530653B (en) Electricity information collection method
CN108319516B (en)Test system and test method
CN103544104B (en)Testing method for power distribution terminal remote control functional software module
CN203870171U (en)System for testing remote control function of power distribution terminal
CN106291159B (en) A kind of intelligent acceptance device and acceptance method of power distribution automation signal on main station side
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
CN111025916B (en)Household appliance detection control method and system
CN204009065U (en)A kind of portable radar comprehensive tester

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:100070 Beijing science and Technology Park of Fengtai District Seahawks Hospital No. 6 2, No. 3 (Park)

Applicant after:TRAFFIC CONTROL TECHNOLOGY Co.,Ltd.

Address before:100070 Beijing science and Technology Park of Fengtai District Haiying Road No. 6 hospital of Beijing, the headquarters of the International 2 Building No. 3

Applicant before:TRAFFIC CONTROL TECHNOLOGY Co.,Ltd.

CB02Change of applicant information
RJ01Rejection of invention patent application after publication

Application publication date:20160504

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp