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
CN105550083A CN201510904028.2A CN201510904028A CN105550083A CN 105550083 A CN105550083 A CN 105550083A CN 201510904028 A CN201510904028 A CN 201510904028A CN 105550083 A CN105550083 A CN 105550083A
Authority
CN
China
Prior art keywords
mss
data
measured
external unit
sending box
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 Ltd filed Critical Beijing Traffic Control Technology Co Ltd
Priority to CN201510904028.2A priority Critical patent/CN105550083A/en
Publication of CN105550083A publication Critical patent/CN105550083A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

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 automated testing method and system
Technical field
The present invention relates to MSS technical field of measurement and test, be specifically related to a kind of MSS automated testing method and system.
Background technology
The maintenance support system that MSS (maintenance support subsystem) makes a mistake as ground, has multiple equipment to communicate with, all communicates with as VOBC, ATS, ZC, CI, meter shaft, power supply, DCS, DSU, microcomputer monitoring, LEU etc.Comprehensive monitoring record can be carried out to the online signalling arrangement used, comprehensive record analysis can be carried out to input/output state, and possess abundant alarm function.
MSS, before online operation, need carry out unit testing, integration testing, the testing authentication in subsystem testing several stage to it, verifies the data consistent whether its data outwards sent receive with MSS.Because interface is numerous, complex interfaces, the equipment of communication is many, in order to automatically test MSS, save manpower, raises the efficiency.Develop this method.
The existing test for MSS, by manually carrying out, can only check that whether it is correct one by one.There is following defect in the method:
1) external unit can not be simulated and direct fault location is carried out to MSS;
2) interface is numerous, complex interfaces, and can not carry out automatic test to MSS, efficiency is lower, and test manpower expends greatly;
3) versatility is not strong, needs to coordinate aptitude test with outside physical device.
Summary of the invention
The object of the invention is to, a kind of MSS automated testing method and system are provided, prior art can be solved and can not simulate external unit MSS is carried out to direct fault location, can not carry out automatic test to MSS and need to coordinate with outside physical device the problem of aptitude test.
For this purpose, on the one hand, the present invention proposes a kind of MSS automatization test system, and described system is industrial computer, comprising:
Sending box, resolver and compare device; Wherein,
Described sending box is connected MSS to be measured with resolver, and described compare device connects described sending box and resolver,
Described sending box, sends the first data for simulating at least one external unit be connected with described MSS to be measured to described MSS to be measured,
Described resolver, for gathering the second data sent to described external unit after described MSS to be measured receives described first data, resolving described second data, obtaining the 3rd data,
Described first data and the 3rd corresponding data, for according to the comparison rules preset, are compared, are obtained comparison result by described compare device, generate the test report of described MSS to be measured according to described comparison result.
On the other hand, the present invention proposes a kind of MSS automated testing method, comprising:
Simulate by described sending box at least one external unit be connected with described MSS to be measured and send the first data to described MSS to be measured,
Gathered the second data sent to described external unit after described MSS to be measured receives described first data by described resolver, described second data resolved, obtains the 3rd data,
By described compare device according to the comparison rules preset, described first data and the 3rd corresponding data are compared, obtains comparison result, generate the test report of described MSS to be measured according to described comparison result.
MSS automated testing method described in the embodiment of the present invention and system, utilize sending box, resolver and compare device are by comparing to the input and output of MSS to be measured, the automatic test to MSS to be measured can be realized, thus manpower can be saved, raise the efficiency, utilize the interface that MSS to be measured is connected with external unit simultaneously, do not need to coordinate with outside physical device and just can test, versatility is stronger, and when the first data are failure message, external unit can be simulated direct fault location is carried out to MSS, thus can solve prior art can not simulate external unit and carry out direct fault location to MSS, can not automatic test be carried out to MSS and need to coordinate with outside physical device the problem of aptitude test.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of MSS automatization test system one of the present invention embodiment;
Fig. 2 is the schematic flow sheet of a kind of MSS automated testing method one of the present invention embodiment.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, the present embodiment discloses a kind of MSS automatization test system, and described system is industrial computer, comprising:
Sending box 1, resolver 2 and compare device 3; Wherein,
Described sending box 1 is connected MSS to be measured with resolver 2, and described compare device 3 connects described sending box 1 and resolver 2,
Described sending box 1, sends the first data for simulating at least one external unit be connected with described MSS to be measured to described MSS to be measured,
Described resolver 2, for gathering the second data sent to described external unit after described MSS to be measured receives described first data, resolving described second data, obtaining the 3rd data,
Described first data and the 3rd corresponding data, for according to the comparison rules preset, are compared, are obtained comparison result by described compare device 3, generate the test report of described MSS to be measured according to described comparison result.
Sending box, MSS and resolver mainly link together by MSS automatization test system exactly, sending box simulation external unit sends data to MSS, the data that MSS outwards sends resolved by resolver, by the data that the data and resolver that automatically contrast sending box transmission are resolved, the automatic test to MSS can be realized.
MSS automatization test system mainly comprises the data outwards sent to MSS transmission data, parsing MSS, automatic contrast, software interface display, generation report five functional modules, and each functional module is described below.
Data are sent: simulation external unit, sends data to MSS, and the data EXCEL sent to MSS is configured, and can travel through, and automatically sends the data of total interface to MSS.
Resolve the data that MSS outwards sends: gather the data that MSS outwards sends, and resolve.
Automatic contrast: obtain the data that the MSS after resolving outwards sends, according to configuration file, automatically contrast.Automatically can contrast the data of total interface, and generate report.After interface changes, only need to change configuration file, do not need to revise code.
Software interface shows: show the data that send to MSS and resolve the data that the MSS that obtains outwards sends.The data that comparison is passed through represent by green, and the data do not passed through represent by redness.Be convenient to user's viewing.
Generate report: the template provided according to user, generates report automatically.Report is EXCEL form, is convenient to tester and carries out next step operation.
MSS automatization test system described in the embodiment of the present invention, utilize sending box, resolver and compare device are by comparing to the input and output of MSS to be measured, the automatic test to MSS to be measured can be realized, thus manpower can be saved, raise the efficiency, utilize the interface that MSS to be measured is connected with external unit simultaneously, do not need to coordinate with outside physical device and just can test, versatility is stronger, and when the first data are failure message, external unit can be simulated direct fault location is carried out to MSS, thus can solve prior art can not simulate external unit and carry out direct fault location to MSS, can not automatic test be carried out to MSS and need to coordinate with outside physical device the problem of aptitude test.
Alternatively, in another embodiment of MSS automatization test system of the present invention, described sending box is connected described MSS to be measured with resolver by cable, and described compare device connects described sending box and resolver by cable.
Alternatively, in another embodiment of MSS automatization test system of the present invention, described first data configure through EXCEL, described sending box, for traveling through described first data, send to an external unit by traveling through the data obtained at every turn, or
For traveling through described first data, described first data are sent to corresponding external unit simultaneously.
In addition prior art can not carry out traversal test to the interface of complexity, and the present invention by the first data of traversal EXCEL configuration, and can send to an external unit by traveling through the data obtained at every turn, thus can carry out traversal test to the interface of complexity.
Alternatively, in another embodiment of MSS automatization test system of the present invention, described test report is EXCEL form.
Alternatively, in another embodiment of MSS automatization test system of the present invention, described system is provided with network interface card, and connects switch by cable.
In the embodiment of the present invention, can long-range MSS to be measured be tested by switch and network interface card.
Alternatively, in another embodiment of MSS automatization test system of the present invention, also comprise:
Display device, for showing described first data, the 3rd data and comparison result.
Referring to Fig. 2, the present embodiment discloses a kind of MSS automated testing method based on the MSS automatization test system described in previous embodiment, comprising:
S1, simulate by described sending box at least one external unit be connected with described MSS to be measured and send the first data to described MSS to be measured,
S2, gathered the second data sent to described external unit after described MSS to be measured receives described first data by described resolver, described second data resolved, obtains the 3rd data,
S3, by described compare device according to the comparison rules preset, described first data and the 3rd corresponding data are compared, obtain comparison result, according to the test report of the described MSS to be measured of described comparison result generation.
MSS automated testing method described in the embodiment of the present invention, utilize sending box, resolver and compare device are by comparing to the input and output of MSS to be measured, the automatic test to MSS to be measured can be realized, thus manpower can be saved, raise the efficiency, utilize the interface that MSS to be measured is connected with external unit simultaneously, do not need to coordinate with outside physical device and just can test, versatility is stronger, and when the first data are failure message, external unit can be simulated direct fault location is carried out to MSS, thus can solve prior art can not simulate external unit and carry out direct fault location to MSS, can not automatic test be carried out to MSS and need to coordinate with outside physical device the problem of aptitude test.
Alternatively, in another embodiment of MSS automated testing method of the present invention, simulated by described sending box before at least one external unit of being connected with described MSS to be measured sends the first data to described MSS to be measured described, also comprise:
By described sending box, EXCEL configuration is carried out to described first data;
Wherein, describedly simulate by described sending box at least one external unit be connected with described MSS to be measured and send the first data to described MSS to be measured, comprising:
Travel through the first data after EXCEL configuration by described sending box, send to an external unit by traveling through the data obtained at every turn, or
Travel through the first data after EXCEL configuration by described sending box, described first data are sent to corresponding external unit simultaneously.
Alternatively, in another embodiment of MSS automated testing method of the present invention, described test report is EXCEL form.
Alternatively, in another embodiment of MSS automated testing method of the present invention, also comprise:
Described first data, the 3rd data and comparison result are shown.
Although describe embodiments of the present invention by reference to the accompanying drawings, but those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, such amendment and modification all fall into by within claims limited range.

Claims (10)

1. a MSS automatization test system, described system is industrial computer, it is characterized in that, comprising:
Sending box, resolver and compare device; Wherein,
Described sending box is connected MSS to be measured with resolver, and described compare device connects described sending box and resolver,
Described sending box, sends the first data for simulating at least one external unit be connected with described MSS to be measured to described MSS to be measured,
Described resolver, for gathering the second data sent to described external unit after described MSS to be measured receives described first data, resolving described second data, obtaining the 3rd data,
Described first data and the 3rd corresponding data, for according to the comparison rules preset, are compared, are obtained comparison result by described compare device, generate the test report of described MSS to be measured according to described comparison result.
2. MSS automatization test system according to claim 1, is characterized in that, described sending box is connected described MSS to be measured with resolver by cable, and described compare device connects described sending box and resolver by cable.
3. MSS automatization test system according to claim 1, is characterized in that, described first data configure through EXCEL, described sending box, for traveling through described first data, sends to an external unit by traveling through the data obtained at every turn, or
For traveling through described first data, described first data are sent to corresponding external unit simultaneously.
4. MSS automatization test system according to claim 1, is characterized in that, described test report is EXCEL form.
5. MSS automatization test system according to claim 1, is characterized in that, described system is provided with network interface card, and connects switch by cable.
6. MSS automatization test system according to claim 1, is characterized in that, also comprise:
Display device, for showing described first data, the 3rd data and comparison result.
7., based on a MSS automated testing method for the MSS automatization test system according to any one of claim 1 to 6, it is characterized in that, comprising:
Simulate by described sending box at least one external unit be connected with described MSS to be measured and send the first data to described MSS to be measured,
Gathered the second data sent to described external unit after described MSS to be measured receives described first data by described resolver, described second data resolved, obtains the 3rd data,
By described compare device according to the comparison rules preset, described first data and the 3rd corresponding data are compared, obtains comparison result, generate the test report of described MSS to be measured according to described comparison result.
8. MSS automated testing method according to claim 7, is characterized in that, is simulated before at least one external unit of being connected with described MSS to be measured sends the first data to described MSS to be measured, also comprise described by described sending box:
By described sending box, EXCEL configuration is carried out to described first data;
Wherein, describedly simulate by described sending box at least one external unit be connected with described MSS to be measured and send the first data to described MSS to be measured, comprising:
Travel through the first data after EXCEL configuration by described sending box, send to an external unit by traveling through the data obtained at every turn, or
Travel through the first data after EXCEL configuration by described sending box, described first data are sent to corresponding external unit simultaneously.
9. MSS automated testing method according to claim 7, is characterized in that, described test report is EXCEL form.
10. MSS automated testing method according to claim 7, is characterized in that, also comprise:
Described first data, the 3rd data and comparison result are shown.
CN201510904028.2A 2015-12-09 2015-12-09 MSS (maintenance support subsystem) automatic test method and system Pending CN105550083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510904028.2A CN105550083A (en) 2015-12-09 2015-12-09 MSS (maintenance support subsystem) automatic test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510904028.2A CN105550083A (en) 2015-12-09 2015-12-09 MSS (maintenance support subsystem) automatic test method and system

Publications (1)

Publication Number Publication Date
CN105550083A true CN105550083A (en) 2016-05-04

Family

ID=55829279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510904028.2A Pending CN105550083A (en) 2015-12-09 2015-12-09 MSS (maintenance support subsystem) automatic test method and system

Country Status (1)

Country Link
CN (1) CN105550083A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107703925A (en) * 2017-11-08 2018-02-16 交控科技股份有限公司 For interlocking the test system and method for testing of automatic test
CN109474394A (en) * 2018-12-28 2019-03-15 苏州思必驰信息科技有限公司 The detection method and system of a kind of sound card communication data, the device that the sound card communication data received is detected
CN112749046A (en) * 2019-10-31 2021-05-04 比亚迪股份有限公司 MSS system simulation data construction method, device, equipment and storage medium

Citations (4)

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

Patent Citations (4)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107703925A (en) * 2017-11-08 2018-02-16 交控科技股份有限公司 For interlocking the test system and method for testing of automatic test
CN109474394A (en) * 2018-12-28 2019-03-15 苏州思必驰信息科技有限公司 The detection method and system of a kind of sound card communication data, the device that the sound card communication data received is detected
CN109474394B (en) * 2018-12-28 2021-08-17 思必驰科技股份有限公司 Detection method, system and detection device for sound card communication data
CN112749046A (en) * 2019-10-31 2021-05-04 比亚迪股份有限公司 MSS system simulation data construction method, device, equipment and storage medium
CN112749046B (en) * 2019-10-31 2023-08-11 比亚迪股份有限公司 MSS system analog data construction method, apparatus, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103210357B (en) There is the handheld field maintenance tools improving diagnosis
CN105425775A (en) Sensor fault automatic judgment method and system
CN104391244B (en) The relay protection device closed loop method of inspection and system
CN107819647B (en) Intelligent substation station control layer network tester
CN112737886B (en) Tool testing method and system, electronic equipment and storage medium
WO2015149594A1 (en) Iec61850-based communication simulation method for partial discharge on-line monitoring device
CN104123519A (en) System for automatically detecting electronic products through two-dimension codes and method thereof
WO2015149595A1 (en) Iec61850-based communication simulation method for insulation on-line monitoring device
CN105956987A (en) Road traffic engineering test detection data acquisition and evaluation system
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
CN105004934A (en) Electromagnetic radiation monitoring system
CN105550083A (en) MSS (maintenance support subsystem) automatic test method and system
CN105258963A (en) Air conditioning set testing method, device and system
CN106301624A (en) A kind of distribution terminal GPRS wireless data transmission time delay automatic test approach
CN103913728A (en) Portable radar general-purpose tester and testing method
CN102707710A (en) Diagnosis function verification method and system for automobile electronic control unit
CN105490877B (en) A kind of forestry network monitoring system for things method for testing reliability
CN110838946A (en) Automatic acceptance system and method based on simulation substation
CN103544104B (en) Testing method for power distribution terminal remote control functional software module
CN109254214B (en) Automatic test system and method for valve-based electronic equipment
CN107085157A (en) Wind power plant power quality data acquisition system and real-time comparison method
CN110768871A (en) Test method and system for automatically counting data transmission correctness of DCS (distributed control system)
CN116228263A (en) Production detection integrated automatic debugging method, system and storage medium applied to fusion terminal
CN204789978U (en) Smart electric meter trouble snatchs test equipment
CN203720647U (en) Air data computer testing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change 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.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504

RJ01 Rejection of invention patent application after publication