CN109491724A - Call method of the software generic test platform of test equipment to special test program - Google Patents

Call method of the software generic test platform of test equipment to special test program Download PDF

Info

Publication number
CN109491724A
CN109491724A CN201811335645.5A CN201811335645A CN109491724A CN 109491724 A CN109491724 A CN 109491724A CN 201811335645 A CN201811335645 A CN 201811335645A CN 109491724 A CN109491724 A CN 109491724A
Authority
CN
China
Prior art keywords
test
special
program
platform
test program
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
CN201811335645.5A
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.)
SHANGHAI INSTITUTE OF AEROSPACE INFORMATION
Shanghai Academy of Spaceflight Technology SAST
Original Assignee
SHANGHAI INSTITUTE OF AEROSPACE INFORMATION
Shanghai Academy of Spaceflight Technology SAST
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 SHANGHAI INSTITUTE OF AEROSPACE INFORMATION, Shanghai Academy of Spaceflight Technology SAST filed Critical SHANGHAI INSTITUTE OF AEROSPACE INFORMATION
Priority to CN201811335645.5A priority Critical patent/CN109491724A/en
Publication of CN109491724A publication Critical patent/CN109491724A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Call method of the software generic test platform of test equipment provided by the invention to special test program, open the executable file of test equipment software generic test platform, it according to measurand, is loaded into accordingly using dynamic link library file as the special test program of form, starting test.Different measurands, corresponding special test program is different, but the calling interface between general-utility test platform is identical.The software generic test platform of test equipment provided by the invention can facilitate user to carry out secondary development the call method of special test program, solve the problems, such as universal test program and the segmentation of special test program.

Description

Call method of the software generic test platform of test equipment to special test program
Technical field
The present invention relates to the software generic test platforms of electrical testing technical field more particularly to test equipment to special test The call method of program.
Background technique
Test equipment often has certain versatility, suitable for different measurands.Due to the difference of measurand, Test equipment must embody difference, that is, specificity.It is necessary to be split to common segment and private part, general portion Multiple or multiclass measurand common issues of determining are decomposed, private part solves dedicated ask for the difference of different measurands Topic.Operator can load different private parts on the basis of common segment and test different measurands.It in this way can be with It avoids putting into multiple test equipments being substantially the same and tests different measurands, save human and material resources.
Different measurands is tested, in addition in place of hardware has points of resemblance with difference, software also has points of resemblance and poor Different place, it is also desirable to the common segment and private part of software be divided, common segment can call private part.User needs Secondary development is carried out on general purpose test equipment, that is, writes special test program.
General purpose test equipment in the market provides user's secondary development using two ways.The first is that universal test is put down Platform and special test program are coupled together as an entirety and consign to user.User's special test involved in this entirety The position of program carries out secondary development, and then this entirety is compiled and is linked, generates final executable file.It is this The problem of mode, is to be supplied to the universal test program that user need not pay close attention to, and is a kind of interference to user, and be also unfavorable for Test equipment developer protects the know-how in universal test program.Second general-utility test platform and special test program Template is separated is supplied to user for exploitation.The carrier of special test program development template is defined by test equipment developer, is had Use customized electrical form and test vector file for the carrier of special test program development template, some uses test Oneself language development test program of equipment developer.Because these contents are that test equipment developer is customized, do not have Versatility, the engineer for not contacting this test equipment can not quickly grasp the secondary development of software, need more training.
Summary of the invention
The purpose of the present invention is to provide a kind of software generic test platforms of test equipment to the tune of special test program With method, to solve the problems, such as that the carrier of existing special test program development template does not have versatility.
In order to solve the above-mentioned technical problem, the technical scheme is that the software generic test for providing test equipment is flat Platform opens the executable file of the software generic test platform of test equipment, according to quilt to the call method of special test program Object is surveyed, is loaded into accordingly using dynamic link library file as the special test program of form, starting test.
Further, described to have engineering template by the special test program of form of dynamic link library file, the engineering Template includes the interface of special test program and software generic test platform, and user carries out secondary development in engineering template, so Compiling link generates dynamic link library file afterwards, calls for software generic test platform.
Further, different measurand, corresponding special test program are different, but are tested with software generic Calling interface between platform is identical.
The software generic test platform of test equipment provided by the invention uses the call method of special test program This common software technology of dynamic link library, can facilitate user carry out secondary development, solve universal test program and specially The problem of being divided with test program.
Detailed description of the invention
Invention is described further with reference to the accompanying drawing:
Fig. 1 is the software generic test platform for the test equipment that the embodiment of the present invention one provides to special test routine call Schematic diagram.
Specific embodiment
Below in conjunction with the drawings and specific embodiments to test equipment software generic test platform proposed by the present invention to dedicated The call method of test program is described in further detail.According to following explanation and claims, advantages of the present invention and spy Sign will become apparent from.It should be noted that attached drawing is all made of very simplified form, only to facilitate, lucidly aid in illustrating this hair The purpose of bright embodiment.
Core of the invention thought is that the software generic test platform of test equipment provided by the invention is to special test The call method of program can facilitate user to carry out secondary development, solve software generic test platform (universal test program) The problem of with the segmentation of special test program.
Fig. 1 is the software generic test platform for the test equipment that the embodiment of the present invention one provides to special test routine call Schematic diagram.Referring to Fig.1, the executable file for opening the software generic test platform of test equipment is loaded into according to measurand Accordingly using dynamic link library file as the special test program of form, starting test.
In the embodiment of the present invention one, the executable file of the software generic test platform of test equipment is exe file, specially It is dynamic link library file with the carrier of test program, i.e. dll file.Assuming that there is 3 different measurands, they dedicated The corresponding dynamic link library file of test program is respectively special test program 1.dll, special test program 2.dll and dedicated The content of test program 3.dll, this 3 special test programs are different, but the calling interface between software generic test platform Be it is identical, be called according to measurand.It is described to have work by the special test program of form of dynamic link library file Journey template needs user to carry out secondary development in engineering template, and then compiling link generates dll file, surveys for software generic Platform is tried to call.In the present embodiment, the engineering template uses Visual C++ engineering, the advantage of doing so is that facilitating user Secondary development is carried out, because C Plus Plus and Visual C++ exploitation environment are more common software languages and develop environment, generally There is special course in university.This method solves the problems, such as universal test program and the segmentation of special test program, again Solve the problems, such as that user is difficult to carry out secondary development.
Obviously, those skilled in the art can carry out various changes and deformation without departing from essence of the invention to the present invention Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (3)

1. a kind of software generic test platform of test equipment is to the call method of special test program, which is characterized in that open The executable file of the software generic test platform of test equipment is loaded into according to measurand accordingly with dynamic link library text Part is the special test program of form, starting test.
2. the software generic test platform of test equipment as described in claim 1 is to the call method of special test program, It is characterized in that, described to have engineering template by the special test program of form of dynamic link library file, which includes The calling interface of special test program and software generic test platform, user carry out secondary development in engineering template, then compile It translates link and generates dynamic link library file, called for software generic test platform.
3. the software generic test platform of test equipment as claimed in claim 2 is to the call method of special test program, It being characterized in that, different measurands, corresponding special test program is different, but between software generic test platform Calling interface be identical.
CN201811335645.5A 2018-11-11 2018-11-11 Call method of the software generic test platform of test equipment to special test program Pending CN109491724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811335645.5A CN109491724A (en) 2018-11-11 2018-11-11 Call method of the software generic test platform of test equipment to special test program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811335645.5A CN109491724A (en) 2018-11-11 2018-11-11 Call method of the software generic test platform of test equipment to special test program

Publications (1)

Publication Number Publication Date
CN109491724A true CN109491724A (en) 2019-03-19

Family

ID=65694238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811335645.5A Pending CN109491724A (en) 2018-11-11 2018-11-11 Call method of the software generic test platform of test equipment to special test program

Country Status (1)

Country Link
CN (1) CN109491724A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923442A (en) * 2021-09-24 2022-01-11 湖北三赢兴光电科技股份有限公司 Universal software testing method and system for camera module
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
CN101944062A (en) * 2010-09-21 2011-01-12 中国人民解放军63961部队 Method for configuring universal virtual instrument interface
CN103927260A (en) * 2014-04-22 2014-07-16 ***(深圳)有限公司 Method and system for testing telecommunication devices
CN106789402A (en) * 2016-11-30 2017-05-31 太仓市同维电子有限公司 A kind of Multi-netmouth based on automation platform maps multimachine test system and method
CN106909510A (en) * 2017-03-02 2017-06-30 腾讯科技(深圳)有限公司 A kind of method and server for obtaining test case
CN108334365A (en) * 2017-08-23 2018-07-27 中国电子科技集团公司第四十研究所 A kind of realization ATS software Instrumental parameter interface Dynamic Configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944062A (en) * 2010-09-21 2011-01-12 中国人民解放军63961部队 Method for configuring universal virtual instrument interface
CN103927260A (en) * 2014-04-22 2014-07-16 ***(深圳)有限公司 Method and system for testing telecommunication devices
CN106789402A (en) * 2016-11-30 2017-05-31 太仓市同维电子有限公司 A kind of Multi-netmouth based on automation platform maps multimachine test system and method
CN106909510A (en) * 2017-03-02 2017-06-30 腾讯科技(深圳)有限公司 A kind of method and server for obtaining test case
CN108334365A (en) * 2017-08-23 2018-07-27 中国电子科技集团公司第四十研究所 A kind of realization ATS software Instrumental parameter interface Dynamic Configuration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114647451A (en) * 2020-12-21 2022-06-21 航天科工惯性技术有限公司 Test equipment driver and driving method
CN113923442A (en) * 2021-09-24 2022-01-11 湖北三赢兴光电科技股份有限公司 Universal software testing method and system for camera module

Similar Documents

Publication Publication Date Title
Stylos et al. Mapping the space of API design decisions
KR101706425B1 (en) Apparatus and method for unit test of code
US7069474B2 (en) System and method for assessing compatibility risk
CN109491724A (en) Call method of the software generic test platform of test equipment to special test program
CN106095668B (en) The generation method of C++ test case based on event and movement
US20070168973A1 (en) Method and apparatus for API testing
Delamaro et al. A strategy to perform coverage testing of mobile applications
Geiger et al. On the evolution of BPMN 2.0 support and implementation
Stobie Model based testing in practice at Microsoft
CN105893235A (en) Simulation testing method and apparatus, and server
Afonso et al. Evaluating application programming interfaces as communication artefacts
CN110275715A (en) Unmanned aerial vehicle station software implementation method based on kylin operating system
CN104915199A (en) Method and device for converting Flash items into Html5 items
CN115729560B (en) Program code processing method and device
CN109240696A (en) A kind of Oftware updating method and device
CN115454442A (en) Method for building and compiling satellite dynamics simulation model in MATLAB
Zhang et al. Verifying OSEK/VDX automotive applications: A Spin‐based model checking approach
US7254508B2 (en) Site loops
Goel et al. Testability estimation of framework based applications
CN113778451A (en) File loading method and device, computer system and computer readable storage medium
Mariya et al. A comparative analysis of mutation testing tools for Java
US20080276187A1 (en) Iconic Programming System with Disabling and Enabling of Dependent Objects
Maia et al. A Practical Methodology for DO-178C Data and Control Coupling Objective Compliance
CN111427795A (en) Code test control method and device, storage medium and electronic equipment
KR20010070401A (en) Program execution system for semiconductor testing apparatus

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: 20190319