CN107885623A - PXI module network methods based on com component technology - Google Patents

PXI module network methods based on com component technology Download PDF

Info

Publication number
CN107885623A
CN107885623A CN201610872079.6A CN201610872079A CN107885623A CN 107885623 A CN107885623 A CN 107885623A CN 201610872079 A CN201610872079 A CN 201610872079A CN 107885623 A CN107885623 A CN 107885623A
Authority
CN
China
Prior art keywords
com component
dll file
pxi
counterfoil
result
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
CN201610872079.6A
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 Research Institute of Mechanical and Electrical Technology
Original Assignee
Beijing Research Institute of Mechanical and Electrical Technology
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 Research Institute of Mechanical and Electrical Technology filed Critical Beijing Research Institute of Mechanical and Electrical Technology
Priority to CN201610872079.6A priority Critical patent/CN107885623A/en
Publication of CN107885623A publication Critical patent/CN107885623A/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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • 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

Abstract

The present invention provides a kind of PXI module network methods based on com component technology, including:The Drivers Library dll file of PXI instruments is packaged, forms com component;Test program finds the agent object for acting on behalf of dll file, passes through the counterfoil dll file of com component described in the proxy object invocation;The interface member function of the com component is called by the counterfoil dll file, the com component returns the result to counterfoil dll file;The counterfoil dll file returns the result to the agent object, and result is back to the test program of client by the agent object;The driver of PXI instruments is formed into a local process by encapsulating so that original module handling function can be called by other programs, realize that the networking of PXI modules accesses.

Description

PXI module network methods based on com component technology
Technical field
The present invention relates to PXI bussing techniques field, more particularly to a kind of PXI module networks based on com component technology Method.
Background technology
With the lifting of the complexity of test assignment and the development of computer networking technology, to the information-based application of test Research has become the new direction of measuring technology development, wherein, how by the PXI bus instruments of mature and to become more and more important Network technology is combined, and the progress networking of existing PXI resources is complied with to the relevant criterion agreement of new LXI buses, Both two aspect advantages of PXI instruments and network had been combined, the test system that structure possesses information-based tenability, which is exactly one, to be worth The break-through point of research.
The content of the invention
The brief overview on the present invention is given below, to provide the basic reason on certain aspects of the invention Solution.It should be appreciated that this general introduction is not the exhaustive general introduction on the present invention.It is not intended to determine the key of the present invention Or pith, nor is it intended to limit the scope of the present invention.Its purpose only provides some concepts in simplified form, with This is as the preamble in greater detail discussed later.
To solve the above problems, the present invention proposes a kind of PXI bus module networking methods based on com component technology.
A kind of PXI module network methods based on com component technology, including:
The Drivers Library dll file of PXI instruments is packaged, forms com component;
Test program finds the agent object for acting on behalf of dll file, passes through depositing for com component described in the proxy object invocation Root dll file;
The interface member function of the com component, the com component returning result are called by the counterfoil dll file To counterfoil dll file;
The counterfoil dll file returns the result to the agent object, and result is back to client by the agent object Test program.
PXI module network methods provided by the invention based on com component technology, the driver of PXI instruments is led to Cross encapsulation and form a local process so that original module handling function can be called by other programs, realize PXI modules Networking access.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is PXI module network methods a kind of flow chart of embodiment provided by the invention based on com component.
Fig. 2 is the modular diagram of the PXI module network methods provided by the invention based on com component.
Embodiment
Illustrate embodiments of the invention with reference to the accompanying drawings.Retouched in the accompanying drawing of the present invention or a kind of embodiment The element and feature that the element and feature stated can be shown in one or more other accompanying drawings or embodiment are combined. It should be noted that in order to understand purpose, eliminated in accompanying drawing and explanation known to unrelated to the invention, those of ordinary skill in the art Part and processing expression and description.
With reference to figure 1 and Fig. 2, the present embodiment provides a kind of PXI module network methods based on com component technology, including:
Step S101, the Drivers Library dll file of PXI instruments is packaged, forms com component;
Step S102, test program finds the agent object for acting on behalf of dll file, by described in the proxy object invocation The counterfoil dll file of com component;
Step S103, the interface member function of the com component, the com component are called by the counterfoil dll file Return the result to counterfoil dll file;
Step S104, the counterfoil dll file return the result to the agent object, and the agent object returns to result To the test program of client.
Specifically, the Drivers Library dll file of PXI instruments is packaged, forms com component, including:
The Drivers Library dll file is subjected to DCOM protocol encapsulations, and by all function sets into an interface.
Encapsulation for the bsp driver storehouse DLL of PXI modules, substantially by Drivers Library dll file outsourcing One layer of COM agreement, Drivers Library DLL api function are exposed to client-side program in the form of component object.
By DCOM (COM technologies extend) based on RPC mechanism encapsulation, it is possible to achieve on different computers component object with Being in communication with each other between CLIENT PROGRAM or between component object.
Further, the agent object calls the counterfoil DLL texts of the com component by remote procedure call protocol Part.
Further, result is back to the agent object by the counterfoil dll file by remote procedure call protocol.
PXI module network methods provided by the invention based on com component technology, using DCOM technologies to driver It is packaged, the test program of client does not interact in direct and equipment driver, but the method for passing through invocation component Carry out remote access equipment, so as to realize the purpose tested remote equipment.
Although the present invention and its advantage is described in detail it should be appreciated that without departing from by appended claim Various changes, replacement and conversion can be carried out in the case of the spirit and scope of the present invention limited.Moreover, the model of the application Enclose the process described by specification of being not limited only to, equipment, means, the specific embodiment of method and steps.In the art is common Technical staff will readily appreciate that from the disclosure, can be used and performed and corresponding reality described herein according to the present invention Apply the essentially identical function of example or obtain process essentially identical with it result, existing and that future is to be developed, equipment, Means, method or step.Therefore, appended claim is intended to include such process, equipment, hand in the range of them Section, method or step.

Claims (4)

  1. A kind of 1. PXI module network methods based on com component technology, it is characterised in that including:
    The Drivers Library dll file of PXI instruments is packaged, forms com component;
    Test program finds the agent object for acting on behalf of dll file, passes through the counterfoil of com component described in the proxy object invocation Dll file;
    The interface member function of the com component is called by the counterfoil dll file, the com component, which returns the result to, to be deposited Root dll file;
    The counterfoil dll file returns the result to the agent object, and result is back to the survey of client by the agent object Try program.
  2. 2. the PXI module network methods according to claim 1 based on com component technology, it is characterised in that by PXI The Drivers Library dll file of instrument is packaged, and forms com component, including:
    The Drivers Library dll file is subjected to DCOM protocol encapsulations, and by all function sets into an interface.
  3. 3. the PXI module network methods according to claim 1 based on com component technology, it is characterised in that the generation Reason object calls the counterfoil dll file of the com component by remote procedure call protocol.
  4. 4. the PXI module network methods according to claim 1 based on com component technology, it is characterised in that described to deposit Result is back to the agent object by root dll file by remote procedure call protocol.
CN201610872079.6A 2016-09-30 2016-09-30 PXI module network methods based on com component technology Pending CN107885623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610872079.6A CN107885623A (en) 2016-09-30 2016-09-30 PXI module network methods based on com component technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610872079.6A CN107885623A (en) 2016-09-30 2016-09-30 PXI module network methods based on com component technology

Publications (1)

Publication Number Publication Date
CN107885623A true CN107885623A (en) 2018-04-06

Family

ID=61768898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610872079.6A Pending CN107885623A (en) 2016-09-30 2016-09-30 PXI module network methods based on com component technology

Country Status (1)

Country Link
CN (1) CN107885623A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101509948A (en) * 2008-10-08 2009-08-19 上海科世达-华阳汽车电器有限公司 Automobile electronic test system and test method thereof
EP2587379A1 (en) * 2010-06-28 2013-05-01 Hyundai Motor Company System test apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101509948A (en) * 2008-10-08 2009-08-19 上海科世达-华阳汽车电器有限公司 Automobile electronic test system and test method thereof
EP2587379A1 (en) * 2010-06-28 2013-05-01 Hyundai Motor Company System test apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐永来: "《基于COM的综合数据分析管理系统的设计与实现》", 《中国优秀硕士学位论文全文数据库》 *
王见: "《网络化虚拟仪器及其在PDA中的应用研究》", 《中国优秀博士学位论文全文数据库》 *

Similar Documents

Publication Publication Date Title
CN107526624B (en) Intelligent contract execution engine based on Java virtual machine
US11449774B2 (en) Resource configuration method and apparatus for heterogeneous cloud services
US11902251B2 (en) Socket transferring for HPC networks using kernel tracing
CN110413304A (en) The hot upgrade method of intelligent contract and device based on block chain network
CN103777950B (en) Gridding method for resolving AOS (Advanced Orbiting System) telemetering data
CN109241028A (en) A kind of database multi-tenant implementation method based on Mycat
CN107395674A (en) A kind of application system accesses the method and device of isomery block platform chain
CN106648674A (en) Big data computing management method and system
Mahtout et al. Using machine learning for intent-based provisioning in high-speed science networks
CN110658794A (en) Manufacturing execution system
CN107102890A (en) The moving method and moving apparatus of a kind of virtual machine
CN111818194A (en) Domain name based access system and method
WO2002065277A2 (en) Method and system for incorporating legacy applications into a distributed data processing environment
CN110532044A (en) A kind of big data batch processing method, device, electronic equipment and storage medium
CN103685564A (en) Plug-in application ability layer introduced industry application online operation cloud platform architecture
CN111427547B (en) C + + based micro-service development method and system
De Benedictis et al. Rest-based SLA management for cloud applications
CN104580211A (en) SOA architecture-based intrusive system
CN105867944A (en) Web front-end terminal operating layer and implementing method thereof
CN108833167B (en) Communication optimization system and method based on edge calculation
CN114237853A (en) Task execution method, device, equipment, medium and program product applied to heterogeneous system
CN107885623A (en) PXI module network methods based on com component technology
CN108595656A (en) A kind of processing method and system of data
US11803786B2 (en) Enterprise integration platform
US10579415B2 (en) Dynamically determine the transaction coordinator in multitier hybrid transaction processing middleware systems

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180406

WD01 Invention patent application deemed withdrawn after publication