CN106649113A - Testing equipment control system and realization method - Google Patents

Testing equipment control system and realization method Download PDF

Info

Publication number
CN106649113A
CN106649113A CN201611191263.0A CN201611191263A CN106649113A CN 106649113 A CN106649113 A CN 106649113A CN 201611191263 A CN201611191263 A CN 201611191263A CN 106649113 A CN106649113 A CN 106649113A
Authority
CN
China
Prior art keywords
equipment
instrument
online
physical equipment
interface
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
CN201611191263.0A
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 Aerospace Measurement and Control Technology Co Ltd
Original Assignee
Beijing Aerospace Measurement and 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 Aerospace Measurement and Control Technology Co Ltd filed Critical Beijing Aerospace Measurement and Control Technology Co Ltd
Priority to CN201611191263.0A priority Critical patent/CN106649113A/en
Publication of CN106649113A publication Critical patent/CN106649113A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a testing equipment control system and a realization method to achieve automatic test unrelated to hardware, and improve testing system reusability, transportability and testing equipment interchangeability. The control system comprises a testing module and a middleware module, wherein the testing module calls the middleware module during the execution of a test process; the middleware module can recognize an online physical device to achieve device information of the online physical device; an instrument drive corresponding to the device information is called from a plurality of types of preset instrument drives; and test control is conducted to the online physical device after the successful call.

Description

Test equipment control system and implementation method
Technical field
The present invention relates to automatization testing technique field, more particularly to a kind of test equipment control system and realization side Method.
Background technology
At present in automatic test field, the exploitation of testing process software needs the particular hardware used according to test equipment Instrument resource carry out it is man-to-man call and control, can not realize the mutual of same quasi-instrument in the case where flow process software is not changed Change, it is impossible to realize hardware unrelatedization of autotest program, this increased to a certain extent the limitation of ATE.
For example, conventional autotest program needs to be write again when facing test resource upgrading or changing, significantly Increased the workload of development and maintenance;Or ATE in use certain instrument module breaks down, this Shi Ruguo can be replaced and will be greatly improved instrument in the case where test program is not changed using existing similar instrument module The compatibility of device.
Thus, it is necessary to seek a kind of technological means, hardware unrelatedization of autotest program is realized, to improve test journey The interchangeability of the reusability of sequence, portable and instrument.
The content of the invention
In order to overcome the defect of above-mentioned prior art, the technical problem to be solved in the present invention to be to provide a kind of test equipment control System processed and implementation method, the automatic test of hardware unrelatedization to realize autotest program, improve test system can The interchangeability of reusability, portability and instrument.
To solve above-mentioned technical problem, a kind of test equipment control system in the present invention, including test module and centre Part module;
The test module, for calling the middleware module in testing process implementation procedure;
The middleware module, for being identified to online physical equipment, the equipment for obtaining the online physical equipment Information;From preset multiclass instrument driving, instrument driving corresponding with the facility information is called, and after calling successfully, Testing and control is carried out to the online physical equipment.
Alternatively, the middleware module, is additionally operable to the instrument driving of the advance multiple equipment for obtaining by functions of the equipments Divide;
For each class function identical equipment, the instrument driving of the kind equipment is carried out to unify to be packaged into quasi-instrument drive It is dynamic.
Specifically, the test module, is additionally operable to, for each class function identical equipment, arrange corresponding Virtual instrument Device;
To the virtual instrument configuration testing flow process;
The middleware module is called according to the testing process.
Specifically, drive per quasi-instrument and there is same physical interface and configuration interface interface;
The test module calls the physical interface, so that the middleware module is carried out to the online physical equipment Identification;
The test module calls configuration interface interface, realizes to the configuration for receiving online equipment, to realize to described The testing and control of online physical equipment.
Alternatively, the middleware module includes:
Instrument search engine, for extracting the identification information of the online physical equipment, is set with obtaining the online physics Standby facility information.
For solve above-mentioned technical problem, the present invention in a kind of test equipment control system implementation method, including:
Online physical equipment is identified, the facility information of the online physical equipment is obtained;
From preset multiclass instrument driving, instrument driving corresponding with the facility information is called;
After calling successfully, testing and control is carried out to the online physical equipment.
Alternatively, it is described that online physical equipment is identified, before obtaining the facility information of the online physical equipment, Also include:
The instrument driving of the advance multiple equipment for obtaining is divided by functions of the equipments;
For each class function identical equipment, the instrument driving of the kind equipment is carried out to unify to be packaged into quasi-instrument drive It is dynamic.
Specifically, after the instrument driving by the advance multiple equipment for obtaining is by functions of the equipments division, also include:
For each class function identical equipment, corresponding virtual instrument is set;
To the virtual instrument configuration testing flow process;
In testing process implementation procedure, start execution and online physical equipment is identified, obtain the online physics The facility information of equipment.
Specifically, drive per quasi-instrument and there is same physical interface and configuration interface interface;
In testing process implementation procedure, by calling the physical interface so that the middleware module to it is described Line physical equipment is identified;By calling configuration interface interface, realize to the configuration for receiving online equipment, to realize to institute State the testing and control of online physical equipment.
Alternatively, it is described that online physical equipment is identified, the facility information of the online physical equipment is obtained, wrap Include:
The identification information of the online physical equipment is extracted, to obtain the facility information of the online physical equipment.
The present invention has the beneficial effect that:
System and method realizes the Auto-Test System of hardware unrelatedization in the present invention, improves the reusable of test system The interchangeability of property, portability and instrument;It is divided into a class specifically by by the close physical equipment of function, and then makes same type Each instrument has same physical interface, so that physical equipment need not support that IVI drivers just can be divided by class, improves instrument The compatibility of device class, and the specific function and attribute of instrument can be met, Auto-Test System is not restricted by instrument, survey The online physical equipment that test system can be connected on startup according to the search of instrument class name with main frame, test system passes through logic instrument Name physical apparatus is controlled, when test resource upgrade or change when, test system without the need for change, greatly reduce exploitation with The workload of maintenance.
Description of the drawings
Fig. 1 is a kind of structural representation of test equipment control system in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of test equipment control system implementation method in the embodiment of the present invention.
Specific embodiment
In order to solve problem of the prior art, the invention provides a kind of test equipment control system and implementation method, with Lower combination accompanying drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein be embodied as Example limits the present invention only to explain the present invention, not.
As shown in figure 1, a kind of test equipment control system in the embodiment of the present invention, including test module and middleware mould Block;
The test module, for calling the middleware module in testing process implementation procedure;
The middleware module, for being identified to online physical equipment, the equipment for obtaining the online physical equipment Information;From preset multiclass instrument driving, instrument driving corresponding with the facility information is called, and after calling successfully, Testing and control is carried out to the online physical equipment.
On the basis of above-described embodiment, it is further proposed that the variant embodiment of above-described embodiment, here needs explanation It is, in order that description is brief, the difference with above-described embodiment only to be described in each variant embodiment.
In one embodiment of the invention, the middleware module, is additionally operable to the instrument of the advance multiple equipment for obtaining Device drives and is divided by functions of the equipments;
For each class function identical equipment, the instrument driving of the kind equipment is carried out to unify to be packaged into quasi-instrument drive It is dynamic.
Specifically, the test module, is additionally operable to, for each class function identical equipment, arrange corresponding Virtual instrument Device;
To the virtual instrument configuration testing flow process;
The middleware module is called according to the testing process.
Specifically, drive per quasi-instrument and there is same physical interface and configuration interface interface;
The test module calls the physical interface, so that the middleware module is carried out to the online physical equipment Identification;
The test module calls configuration interface interface, realizes to the configuration for receiving online equipment, to realize to described The testing and control of online physical equipment.
In another embodiment of the present invention, the middleware module includes:
Instrument search engine, for extracting the identification information of the online physical equipment, is set with obtaining the online physics Standby facility information.
Its identification information mainly includes device name, physical address etc., the IVI information of such as equipment and physical message Deng.
System and method realizes the Auto-Test System of hardware unrelatedization in the present invention, improves the reusable of test system The interchangeability of property, portability and instrument;It is divided into a class specifically by by the close physical equipment of function (instrument), and then makes The each instrument of same type has same physical interface, so that physical equipment need not support that IVI drivers just can be divided by class, carries The high compatibility of instrument class, and the specific function and attribute of instrument can be met, make Auto-Test System by instrument Restriction, the online physical equipment that test system can be connected on startup according to the search of instrument class name with main frame, test system passes through Logic instrument name is controlled to physical apparatus, and when test resource is upgraded or is changed, test system greatly reduces without the need for change The workload of development and maintenance.
Describe in detail, system can be realized by software form in the embodiment of the present invention, specifically automatic test module is adjusted With the middleware module for pressing class wrapper, then search is identified to on-line instrument by the instrument class for being called finds corresponding instrument Information, middleware module calls specific instrument driving to be controlled physical apparatus with reference to the information of corresponding instrument, this instrument Device drives method of calling that test program is not restricted by instrument;
The realization of middleware module is to be classified according to functions the driving of various instruments, and similar instrument is united One packing makes it have identical interface and configuration interface, is easy to calling for test module;
Instrument search engine can be extracted to the IVI information of on-line instrument and physical message, so as to software middleware Concrete instrument driving is called.
Furtherly, test module carries out instrument configuration by class, then realizes that instrument class is driven to concrete by instrument identification The conversion of instrument driving.Various instruments to being possibly used carry out classification functionally, and similar instrument is shared into identical Class drives, and class drives the interior concrete driving comprising all quasi-instruments.
The specifically used device information obtained by instrument search engine by the software middleware of class wrapper is corresponding to find out Concrete instrument driving.
As shown in figure 1, middleware module Interface design specifically includes following content:
1st, external interface includes program mode development interface (including physical interface and configuration interface interface) and interactive operation 2 kinds of interface modes of interface;
2nd, the intrinsic function body of software middleware is included using 2 parts of function and part function, wherein being using function Test operation is completed by configuring, starting, reading data towards the DLL of test assignment, part function is realized special to instrument Determine the control of function, including initialization, configuration function, data function, using function and close function.
Present invention further propose that a kind of implementation method of test equipment control system.
A kind of implementation method of test equipment control system in the embodiment of the present invention, including:
Online physical equipment is identified, the facility information of the online physical equipment is obtained;
From preset multiclass instrument driving, instrument driving corresponding with the facility information is called;
After calling successfully, testing and control is carried out to the online physical equipment.
In one embodiment of the invention, it is described that online physical equipment is identified, obtain the online physics and set Before standby facility information, also include:
The instrument driving of the advance multiple equipment for obtaining is divided by functions of the equipments;
For each class function identical equipment, the instrument driving of the kind equipment is carried out to unify to be packaged into quasi-instrument drive It is dynamic.
Furtherly, after the instrument driving by the advance multiple equipment for obtaining is by functions of the equipments division, also include:
For each class function identical equipment, corresponding virtual instrument is set;
To the virtual instrument configuration testing flow process;
In testing process implementation procedure, start execution and online physical equipment is identified, obtain the online physics The facility information of equipment.
Specifically, drive per quasi-instrument and there is same physical interface and configuration interface interface;
In testing process implementation procedure, by calling the physical interface so that the middleware module to it is described Line physical equipment is identified;By calling configuration interface interface, realize to the configuration for receiving online equipment, to realize to institute State the testing and control of online physical equipment.
In another embodiment of the present invention, it is described that online physical equipment is identified, obtain the online physics The facility information of equipment, including:
The identification information of the online physical equipment is extracted, to obtain the facility information of the online physical equipment.
Specifically, as shown in Fig. 2 implementation method includes during the present invention is implemented:
Step 1, autotest program configuration completes testing process and writes with the virtual instrument that function class is divided, testing process The dynamic link library (middleware) of instrument class is called in implementation procedure;
Step 2, the realization of middleware is to be classified according to functions the driving of various instruments, and similar instrument is carried out Unified software encapsulation makes it have identical interface and configuration interface, the whole drive softwares comprising the quasi-instrument in it, when Requesting query device information file can be sent when being called by autotest program, further according to device information the concrete drive of instrument is called Dynamic function;
Search is identified to on-line instrument by the instrument class for being called and finds such corresponding identifier message file;
Step 3, middleware calls specific instrument driving according to the identification information of corresponding instrument;
Step 4, calls VPP drivers;
Step 5, calls VISA function libraries.
Step 6, is controlled to physical apparatus;
Wherein, middleware Instrumental search engine can be extracted to the IVI information of on-line instrument and physical message, with Just software middleware is inquired about device information.
System and method realizes the Auto-Test System of hardware unrelatedization in the present invention, improves the reusable of test system The interchangeability of property, portability and instrument;It is divided into a class specifically by by the close physical equipment of function (instrument), and then makes The each instrument of same type has same physical interface, so that physical equipment need not support that IVI drivers just can be divided by class, carries The high compatibility of instrument class, and the specific function and attribute of instrument can be met, make Auto-Test System by instrument Restriction, the online physical equipment that test system can be connected on startup according to the search of instrument class name with main frame, test system passes through Logic instrument name is controlled to physical apparatus, and when test resource is upgraded or is changed, test system greatly reduces without the need for change The workload of development and maintenance.
Although This application describes the particular example of the present invention, those skilled in the art can be without departing from of the invention general Variant of the invention is designed on the basis of thought.
Those skilled in the art on the basis of without departing from present invention, go back under the inspiration that the technology of the present invention is conceived Various improvement can be made to the present invention, this still falls within the scope and spirit of the invention.

Claims (10)

1. a kind of test equipment control system, it is characterised in that the system includes test module and middleware module;
The test module, for calling the middleware module in testing process implementation procedure;
The middleware module, for being identified to online physical equipment, obtains the facility information of the online physical equipment; From preset multiclass instrument driving, instrument driving corresponding with the facility information is called, and after calling successfully, to described Online physical equipment carries out testing and control.
2. the system as claimed in claim 1, it is characterised in that the middleware module, be additionally operable to by it is advance obtain it is multiple The instrument driving of equipment is divided by functions of the equipments;
For each class function identical equipment, the instrument driving of the kind equipment is carried out to unify to be packaged into quasi-instrument driving.
3. system as claimed in claim 2, it is characterised in that the test module, is additionally operable to same for each class function phase Equipment, corresponding virtual instrument is set;
To the virtual instrument configuration testing flow process;
The middleware module is called according to the testing process.
4. system as claimed in claim 3, it is characterised in that drive per quasi-instrument and there is same physical interface and configuration interface Interface;
The test module calls the physical interface, so that the middleware module is known to the online physical equipment Not;
The test module calls configuration interface interface, realizes to the configuration for receiving online equipment, to realize to described online The testing and control of physical equipment.
5. the system as described in any one in claim 1-4, it is characterised in that the middleware module includes:
Instrument search engine, for extracting the identification information of the online physical equipment, to obtain the online physical equipment Facility information.
6. a kind of implementation method of test equipment control system, it is characterised in that methods described includes:
Online physical equipment is identified, the facility information of the online physical equipment is obtained;
From preset multiclass instrument driving, instrument driving corresponding with the facility information is called;
After calling successfully, testing and control is carried out to the online physical equipment.
7. method as claimed in claim 6, it is characterised in that described that online physical equipment is identified, obtain it is described Before the facility information of line physical equipment, also include:
The instrument driving of the advance multiple equipment for obtaining is divided by functions of the equipments;
For each class function identical equipment, the instrument driving of the kind equipment is carried out to unify to be packaged into quasi-instrument driving.
8. method as claimed in claim 7, it is characterised in that the instrument driving by the advance multiple equipment for obtaining is by setting After standby function is divided, also include:
For each class function identical equipment, corresponding virtual instrument is set;
To the virtual instrument configuration testing flow process;
In testing process implementation procedure, start execution and online physical equipment is identified, obtain the online physical equipment Facility information.
9. method as claimed in claim 8, it is characterised in that drive per quasi-instrument and there is same physical interface and configuration interface Interface;
In testing process implementation procedure, by calling the physical interface, so that the middleware module is to the online thing Reason equipment is identified;By calling configuration interface interface, to receive online equipment configuration realize, with realize to it is described The testing and control of line physical equipment.
10. the method as described in any one in claim 6-9, it is characterised in that described that online physical equipment is known Not, the facility information of the online physical equipment is obtained, including:
The identification information of the online physical equipment is extracted, to obtain the facility information of the online physical equipment.
CN201611191263.0A 2016-12-21 2016-12-21 Testing equipment control system and realization method Pending CN106649113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611191263.0A CN106649113A (en) 2016-12-21 2016-12-21 Testing equipment control system and realization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611191263.0A CN106649113A (en) 2016-12-21 2016-12-21 Testing equipment control system and realization method

Publications (1)

Publication Number Publication Date
CN106649113A true CN106649113A (en) 2017-05-10

Family

ID=58834464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611191263.0A Pending CN106649113A (en) 2016-12-21 2016-12-21 Testing equipment control system and realization method

Country Status (1)

Country Link
CN (1) CN106649113A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132874A (en) * 2017-11-24 2018-06-08 银联商务股份有限公司 Program testing method and device
CN108228407A (en) * 2018-01-31 2018-06-29 深圳市证通电子股份有限公司 Apparatus function test method, apparatus and readable storage medium storing program for executing
CN109857638A (en) * 2018-12-28 2019-06-07 北京航天测控技术有限公司 A kind of testing system software general framework
CN111045838A (en) * 2019-12-03 2020-04-21 中国航空无线电电子研究所 Distributed driving middleware based on remote procedure call protocol
CN114647451A (en) * 2020-12-21 2022-06-21 航天科工惯性技术有限公司 Test equipment driver and driving method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101852832A (en) * 2010-04-22 2010-10-06 芯通科技(成都)有限公司 Flexibly-extendable automatic testing system platform suitable for testing radio frequency module product
CN101944026A (en) * 2010-09-21 2011-01-12 中国人民解放军63961部队 Implementation method of universal virtual instrument interface
CN102508044A (en) * 2011-11-18 2012-06-20 北京航天测控技术有限公司 Signal analysis device and configurating method thereof
CN104457823A (en) * 2014-10-31 2015-03-25 中国电子科技集团公司第四十一研究所 Test instrument interchange method based on services
CN104656632A (en) * 2014-11-06 2015-05-27 中国运载火箭技术研究院 Integrated interface test system and detection method for aircraft semi-physical simulation tests

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101852832A (en) * 2010-04-22 2010-10-06 芯通科技(成都)有限公司 Flexibly-extendable automatic testing system platform suitable for testing radio frequency module product
CN101944026A (en) * 2010-09-21 2011-01-12 中国人民解放军63961部队 Implementation method of universal virtual instrument interface
CN102508044A (en) * 2011-11-18 2012-06-20 北京航天测控技术有限公司 Signal analysis device and configurating method thereof
CN104457823A (en) * 2014-10-31 2015-03-25 中国电子科技集团公司第四十一研究所 Test instrument interchange method based on services
CN104656632A (en) * 2014-11-06 2015-05-27 中国运载火箭技术研究院 Integrated interface test system and detection method for aircraft semi-physical simulation tests

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132874A (en) * 2017-11-24 2018-06-08 银联商务股份有限公司 Program testing method and device
CN108228407A (en) * 2018-01-31 2018-06-29 深圳市证通电子股份有限公司 Apparatus function test method, apparatus and readable storage medium storing program for executing
CN109857638A (en) * 2018-12-28 2019-06-07 北京航天测控技术有限公司 A kind of testing system software general framework
CN109857638B (en) * 2018-12-28 2022-10-28 北京航天测控技术有限公司 Universal framework for test system software
CN111045838A (en) * 2019-12-03 2020-04-21 中国航空无线电电子研究所 Distributed driving middleware based on remote procedure call protocol
CN111045838B (en) * 2019-12-03 2023-03-31 中国航空无线电电子研究所 Distributed driving middleware based on remote procedure call protocol
CN114647451A (en) * 2020-12-21 2022-06-21 航天科工惯性技术有限公司 Test equipment driver and driving method

Similar Documents

Publication Publication Date Title
CN106649113A (en) Testing equipment control system and realization method
CN105814541B (en) The method of computer equipment and computer equipment internal storage starting
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CN103970559A (en) Device loading method and device on basis of Android
CN106873970B (en) Installation method and device of operating system
CN106909362A (en) The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN111831318A (en) Micro-service management system capable of automatically generating codes and code generation method
CN106020837A (en) Method and system for loading set top box drive
CN112630622A (en) Method and system for pattern compiling and downloading test of ATE (automatic test equipment)
CN104133676A (en) Function execution method and function execution device based on scripts
KR102277181B1 (en) Compatible control device for railway facilities and compatibility method of application software using the same
CN105912369A (en) System upgrading method and device
CN104133706B (en) Firmware modification method and firmware modification device
CN103927201A (en) Method and device for updating game files
CN105739481A (en) Industrial control software testing method, industrial control software testing device, and industrial control software testing system
WO2018058304A1 (en) Industrial controller and method for automatically creating user interface
CN113448608B (en) FPGA (field programmable Gate array) increment upgrading method and device based on region slicing technology
CN109597627A (en) A kind of component mounting method, device, storage medium and processor
CN113505066A (en) Method for verifying a module under test and verification system
CN107153561A (en) The method of firmware, apparatus and system in a kind of renewal expansion card
CN107222355B (en) Server upgrading method and device
CN115587026A (en) Chip testing method and device, storage medium and chip
CN112346761B (en) Front-end resource online method, device, system and storage medium
CN111581042B (en) Cluster deployment method, deployment platform and server to be deployed
CN113010195B (en) System upgrading method, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510