




技术领域technical field
本发明涉及计算机技术领域,尤其涉及一种测试设备驱动器及驱动方法。The invention relates to the field of computer technology, and in particular, to a test equipment driver and a driving method.
背景技术Background technique
本部分旨在为权利要求书中陈述的本发明实施例提供背景或上下文。此处的描述不因为包括在本部分中就承认是现有技术。This section is intended to provide a background or context to the embodiments of the invention recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section.
在自动测试系统中,一般都会在测试程序和硬件仪器的驱动程序之间建立一个软件中间层,用以连接计算机和各种不同测试仪器。仪器驱动器是一组用于控制程控仪器的软件单元,提供了规范化的软件接口,简化具体的编程步骤,方便地实现仪器功能的操作。测试用的硬件仪器的种类、功能众多,针对仪器驱动的标准问题,陆续推出了多种标准和规范。这些标准的基本思想是把仪器的操作封装成相同的接口,其函数名称和参数完全相同,确保各个硬件仪器使用相同的驱动接口。In the automatic test system, a software middle layer is generally established between the test program and the driver of the hardware instrument to connect the computer and various test instruments. The instrument driver is a set of software units used to control program-controlled instruments, providing standardized software interfaces, simplifying specific programming steps, and facilitating the operation of instrument functions. There are many types and functions of hardware instruments for testing, and a variety of standards and specifications have been introduced one after another for the standard problem of instrument drivers. The basic idea of these standards is to encapsulate the operation of the instrument into the same interface, and its function names and parameters are exactly the same, so as to ensure that each hardware instrument uses the same driver interface.
但在实际工程项目中,存在各种定制化的专用测试系统,内部集成了大量的非标准的测试仪器和板卡。这些测试仪器和板卡来自不同的厂商,总线形式不一,其驱动程序也并未遵循现有的标准和规范,相互间很难兼容。为此,一般会对厂商提供的非标准的驱动程序进行二次封装,形成专门针对特定仪器的封装库。However, in actual engineering projects, there are various customized special test systems, which integrate a large number of non-standard test instruments and boards. These test instruments and boards come from different manufacturers, with different bus forms, and their drivers do not follow the existing standards and specifications, so it is difficult to be compatible with each other. To this end, the non-standard drivers provided by the manufacturer are generally packaged twice to form a package library dedicated to specific instruments.
这种直接面向测试仪器的开发方式,在独立的软件项目中问题不明显,但是对于需要部署在多种测试设备上,用于解决多型号产品测试问题,开发、使用、维护周期较长的系列化软件产品而言,带来很多的问题。例如,缺乏统一的硬件控制方案,各测试程序的随意性较强;软件的移植性较差,当硬件升级、改造后,已有的测试程序无法使用;软件的复用性不高,重复开发的情况经常出现。This direct-oriented development method for test instruments has no obvious problems in independent software projects, but for series that need to be deployed on a variety of test equipment to solve multi-model product testing problems, the development, use, and maintenance cycles are long. In terms of software products, it brings many problems. For example, there is a lack of a unified hardware control scheme, and the randomness of each test program is strong; the portability of the software is poor, and the existing test program cannot be used when the hardware is upgraded and transformed; the reusability of the software is not high, and repeated development situation occurs frequently.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种测试设备驱动器,用以提升测试设备中不同测试仪器或板卡间的兼容性,该测试设备驱动器包括:An embodiment of the present invention provides a test equipment driver to improve compatibility between different test instruments or boards in the test equipment, and the test equipment driver includes:
对外接口和测试设备功能实现组件;External interface and test equipment function realization components;
所述对外接口用于根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;所述测试业务逻辑接口用于传送不同测试项目的测试程序;The external interface is used to select a specific project-driven interface that matches the test project from a variety of specific project-driven interfaces integrated in the external interface according to the test project received from the test business logic interface; the test business logic interface is used to transmit Test procedures for different test items;
所述测试设备功能实现组件连接多个测试仪器或板卡的驱动程序;所述测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系;所述测试设备功能实现组件用于根据该关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作。The test equipment function realization component is connected to a driver program of a plurality of test instruments or boards; the test equipment function realization component includes the driver interface of each specific item, and the association relationship with the test instrument or the board card; the test equipment function The implementation component is used for invoking a plurality of test instruments or boards associated with the specific project-driven interface selected by the external interface to perform test operations according to the association relationship.
本发明实施例还提供一种测试设备驱动方法,提升测试设备中不同测试仪器或板卡间的兼容性,该方法包括:The embodiment of the present invention also provides a test equipment driving method, which improves the compatibility between different test instruments or boards in the test equipment, and the method includes:
根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;所述测试业务逻辑接口用于传送不同测试项目的测试程序;According to the test items received from the test business logic interface, select a specific project-driven interface that matches the test project from a variety of specific project-driven interfaces integrated with the external interface; the test business logic interface is used to transmit the test programs of different test projects ;
根据每一特定项目驱动接口,与测试仪器或板卡的关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作。According to the relationship between each specific project-driven interface and the test instrument or board, multiple test instruments or boards associated with the specific project-driven interface selected from the external interface are called to perform test operations.
本发明实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述测试设备驱动方法。An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the above-mentioned test device driving method when executing the computer program.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有执行上述测试设备驱动方法的计算机程序。An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the above-mentioned test device driving method.
本发明实施例中,对外接口用于根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;所述测试业务逻辑接口用于传送不同测试项目的测试程序;测试设备功能实现组件连接多个测试仪器或板卡的驱动程序;所述测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系;所述测试设备功能实现组件用于根据该关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作,从而可通过对外接口选取出与测试项目匹配的特定项目驱动接口,进而通过测试设备功能实现组件,调用多个测试仪器或板卡执行测试操作,实现对不同测试项目的执行,与现有技术对比,可通过对外接口和测试设备功能实现组件直接调用不同的测试仪器或板卡,避免了在驱动不同测试仪器或板卡时难以兼容的问题,因此可忽略因测试仪器或板卡的差异性所带来的区别,提升了不同测试仪器或板卡间的兼容性;同时,可统一对不同测试仪器或板卡进行驱动;进而可保证对硬件升级改造后的测试仪器或板卡仍可进行驱动;不需对每一测试仪器或板卡进行驱动器开发,节省了人力物资,提升了复用性,避免重复开发的情况出现。In the embodiment of the present invention, the external interface is used to select a specific project-driven interface that matches the test project from a variety of specific project-driven interfaces integrated with the external interface according to the test project received from the test business logic interface; the test business logic The interface is used to transmit test programs of different test items; the test equipment function realization component is connected to the driver program of multiple test instruments or boards; the test equipment function realization component includes each specific item driver interface, which is connected with the test instrument or board card. The association relationship; the test equipment function implementation component is used to call a plurality of test instruments or boards associated with the specific project driver interface selected by the external interface to perform the test operation according to the association relationship, so that the test operation can be selected and tested through the external interface. The specific project-driven interface that matches the project, and then realize the component through the function of the test equipment, call multiple test instruments or boards to perform the test operation, and realize the execution of different test items. Compared with the existing technology, the external interface and the function of the test equipment can be used Realize that components can directly call different test instruments or boards, avoiding the problem of incompatibility when driving different test instruments or boards. Therefore, the differences caused by the differences of test instruments or boards can be ignored, and different tests can be improved. Compatibility between instruments or boards; at the same time, different test instruments or boards can be driven uniformly; thus, it can ensure that the test instruments or boards after hardware upgrades can still be driven; no need to drive each test instrument or board. The driver development of the board saves manpower and materials, improves the reusability, and avoids the occurrence of repeated development.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts. In the attached image:
图1为本发明实施例中一种测试设备驱动器的结构示意图;1 is a schematic structural diagram of a test device driver in an embodiment of the present invention;
图2为本发明实施例中一种测试设备驱动器的具体示例图;2 is a specific example diagram of a test device driver in an embodiment of the present invention;
图3为本发明实施例中一种测试设备驱动器的具体示例图;3 is a specific example diagram of a test device driver in an embodiment of the present invention;
图4为本发明实施例中一种测试设备驱动方法的流程示意图;4 is a schematic flowchart of a test device driving method in an embodiment of the present invention;
图5为本发明实施例中计算机设备的示意图。FIG. 5 is a schematic diagram of a computer device in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.
图1为本发明实施例中一种测试设备驱动器的结构结构示意图,如图1所示,本发明实施例提供一种测试设备驱动器,用以提升测试设备中不同测试仪器或板卡间的兼容性,该测试设备驱动器包括:FIG. 1 is a schematic structural diagram of a test equipment driver in an embodiment of the present invention. As shown in FIG. 1 , an embodiment of the present invention provides a test equipment driver to improve the compatibility between different test instruments or boards in the test equipment. properties, the test device drivers include:
对外接口01和测试设备功能实现组件02;
该对外接口用于根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;该测试业务逻辑接口用于传送不同测试项目的测试程序;The external interface is used to select a specific project-driven interface that matches the test project from a variety of specific project-driven interfaces integrated in the external interface according to the test project received from the test business logic interface; the test business logic interface is used to transmit different tests. Test procedures for the project;
该测试设备功能实现组件连接多个测试仪器或板卡的驱动程序;该测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系;该测试设备功能实现组件用于根据该关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作。The test equipment function realization component is connected to the driver program of multiple test instruments or boards; the test equipment function realization component includes the driver interface of each specific item and the association relationship with the test instrument or the board card; the test equipment function realization component uses According to the association relationship, a plurality of test instruments or boards associated with the specific project-driven interface selected by the external interface are invoked to perform test operations.
首先接收测试业务逻辑接口传送的不同测试项目的测试程序,之后根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;根据每一特定项目驱动接口,与测试仪器或板卡的关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作。其中,测试设备功能实现组件连接多个测试仪器或板卡的驱动程序。First, receive the test programs of different test items transmitted by the test business logic interface, and then select the specific project-driven interface that matches the test project from the various specific project-driven interfaces integrated with the external interface according to the test items received from the test business logic interface. ; According to the relationship between each specific project-driven interface and the test instrument or board, call multiple test instruments or boards associated with the specific project-driven interface selected by the external interface to perform test operations. Among them, the test equipment function realizes the component to connect the drivers of multiple test instruments or boards.
本发明实施例中,对外接口用于根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;该测试业务逻辑接口用于传送不同测试项目的测试程序;测试设备功能实现组件连接多个测试仪器或板卡的驱动程序;该测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系;该测试设备功能实现组件用于根据该关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作,从而可通过对外接口选取出与测试项目匹配的特定项目驱动接口,进而通过测试设备功能实现组件,调用多个测试仪器或板卡执行测试操作,实现对不同测试项目的执行,与现有技术对比,可通过对外接口和测试设备功能实现组件直接调用不同的测试仪器或板卡,避免了在驱动不同测试仪器或板卡时难以兼容的问题,因此可忽略因测试仪器或板卡的差异性所带来的区别,提升了不同测试仪器或板卡间的兼容性;同时,可统一对不同测试仪器或板卡进行驱动;进而可保证对硬件升级改造后的测试仪器或板卡仍可进行驱动;不需对每一测试仪器或板卡进行驱动器开发,节省了人力物资,提升了复用性,避免重复开发的情况出现。In the embodiment of the present invention, the external interface is used to select a specific project-driven interface that matches the test item from a variety of specific project-driven interfaces integrated with the external interface according to the test item received from the test business logic interface; the test business logic interface A test program used to transmit different test items; a driver for connecting multiple test instruments or boards to a test equipment function implementation component; the test equipment function implementation component includes a driver interface for each specific item, which is associated with the test instrument or board relationship; the test equipment function implementation component is used to call multiple test instruments or boards associated with the specific item-driven interface selected by the external interface to perform test operations according to the association relationship, so that the test item matching the test item can be selected through the external interface. The specific project drives the interface, and then realizes the component through the function of the test equipment, calls multiple test instruments or boards to perform the test operation, and realizes the execution of different test projects. Compared with the existing technology, the component can be directly realized through the external interface and the function of the test equipment. Calling different test instruments or boards avoids the problem of incompatibility when driving different test instruments or boards. Therefore, the differences caused by the differences of test instruments or boards can be ignored, and different test instruments or boards can be improved. Compatibility between cards; at the same time, different test instruments or boards can be driven uniformly; thus, it can ensure that the test instruments or boards after hardware upgrades can still be driven; it is not necessary to drive each test instrument or board. Drive development saves manpower and materials, improves reusability, and avoids repeated development.
具体实施时,测试设备驱动器可为一组用于控制程控仪器的驱动软件单元,提供了规范化的软件接口,简化具体的编程步骤,可方便地实现仪器功能的操作。在一个实施例中,测试设备驱动器可实现测试系统中顶层业务逻辑与底层驱动间的分离,并提供了硬件层的标准对外端口(即对外接口)。In specific implementation, the test equipment driver can be a set of driving software units for controlling the program-controlled instrument, providing a standardized software interface, simplifying specific programming steps, and conveniently realizing the operation of instrument functions. In one embodiment, the test device driver can realize the separation between the top-level business logic and the bottom-level driver in the test system, and provide a standard external port (ie, external interface) of the hardware layer.
实施例中,对外接口还用于:生成测试设备所能够执行的全部测试操作的列表。In the embodiment, the external interface is further used for: generating a list of all test operations that the test equipment can perform.
通过生成测试设备所能够执行的全部测试操作的列表,可有效地实现对测试设备所具有的测试功能进行管理,有利于在后续步骤中创建特定项目驱动接口。By generating a list of all test operations that can be performed by the test equipment, the management of the test functions possessed by the test equipment can be effectively implemented, which is beneficial to create a specific project-driven interface in the subsequent steps.
实施例中,对外接口还用于:对测试设备中的多个测试仪器或板卡的电气连接关系信息进行汇总。In the embodiment, the external interface is further used for: summarizing the electrical connection relationship information of multiple test instruments or boards in the test equipment.
通过对测试设备中的多个测试仪器或板卡的电气连接关系信息进行汇总,可有效地反映不同测试仪器或板卡的连接关系,有利于指导工作人员制造测试设备驱动器。By summarizing the electrical connection relationship information of multiple test instruments or boards in the test equipment, the connection relationship of different test instruments or boards can be effectively reflected, which is beneficial to guide staff to manufacture test equipment drivers.
实施例中,该测试仪器或板卡包括非标准格式的测试仪器或板卡,和标准格式的测试仪器或板卡;该非标准格式的测试仪器或板卡为以非标准驱动程序的API函数进行封装的测试仪器或板卡。In an embodiment, the test instrument or board includes a non-standard format test instrument or board, and a standard format test instrument or board; the non-standard format test instrument or board is an API function with a non-standard driver. Packaged test instruments or boards.
在上述实施例中,通过使测试仪器或板卡可包括非标准格式的测试仪器或板卡,和标准格式的测试仪器或板卡,可有效实现避免了在驱动不同测试仪器或板卡时难以兼容的问题,因此可忽略因测试仪器或板卡的差异性所带来的区别,提升了不同测试仪器或板卡间的兼容性;同时,可统一对不同测试仪器或板卡进行驱动;进一步,在测试仪器或板卡进行硬件升级改造后,由于测试设备功能实现组件包括了多个测试仪器或板卡的驱动程序,仍可实现对硬件升级改造的测试仪器或板卡的驱动。In the above embodiment, by making the test instruments or boards include non-standard format test instruments or boards and standard format test instruments or boards, it can effectively avoid the difficulty in driving different test instruments or boards. Compatibility issues, so the differences caused by the differences of test instruments or boards can be ignored, and the compatibility between different test instruments or boards can be improved; at the same time, different test instruments or boards can be driven uniformly; further , After the hardware upgrade of the test instrument or the board, since the function realization component of the test equipment includes the drivers of a plurality of test instruments or the board, the driver of the test instrument or the board of the hardware upgrade can still be realized.
下面结合一个具体实施例,来具体说明本发明实施例中的测试设备驱动器。The following describes the test device driver in the embodiment of the present invention in detail with reference to a specific embodiment.
如图2所示,图2以组件图的形式,描述了该测试设备驱动器的模型内部各种接口、组件的组成结构。在图2中,位于最顶层的是测试业务逻辑接口,表示测试设备的顶层的具体业务逻辑;位于模型底层的是测试设备中包括的各种测试仪器、板卡的驱动程序,可以包括仪器厂商提供的标准驱动程序、非标准驱动的API函数及其封装组件等。As shown in FIG. 2 , in the form of a component diagram, FIG. 2 describes the composition structure of various interfaces and components in the model of the test device driver. In Figure 2, at the top level is the test business logic interface, which represents the specific business logic at the top level of the test equipment; at the bottom of the model are the drivers of various test instruments and boards included in the test equipment, which may include instrument manufacturers Provided standard drivers, non-standard driver API functions and their encapsulated components, etc.
测试设备驱动器位于业务逻辑和具体仪器驱动程序之间,隔离了上下层的直接联系,其内部封装了所有关于硬件的操作。The test device driver is located between the business logic and the specific instrument driver, which isolates the direct connection between the upper and lower layers, and internally encapsulates all operations related to the hardware.
在本实施例中,该设备驱动器模型的内部组成可以包括:In this embodiment, the internal components of the device driver model may include:
1、测试设备驱动器的对外接口(即对外接口)1. Test the external interface of the device driver (ie external interface)
测试设备驱动器的对外接口(interface,接口)是对外提供的唯一端口,屏蔽了驱动器内部的具体实现,该测试设备驱动器的对外接口的定义模型如图3所示。The external interface (interface) of the test device driver is the only port provided externally, which shields the specific implementation inside the driver. The definition model of the external interface of the test device driver is shown in FIG. 3 .
测试设备驱动器的对外接口可采用组合模式,在其内部可设置N个测试功能项目接口,这些独立的测试项目接口均可泛化自测试项目的基础接口。从物理意义上分析,该测试设备驱动器的对外接口表示自动化的测试设备具有了N种不同的独立测试功能,并可根据设备发展情况随时扩展,但不会影响测试设备的对外描述。The external interface of the test device driver can adopt the combined mode, and N test function project interfaces can be set inside it, and these independent test project interfaces can be generalized from the basic interface of the test project. In the physical sense, the external interface of the test equipment driver indicates that the automated test equipment has N different independent test functions, which can be expanded at any time according to the development of the equipment, but will not affect the external description of the test equipment.
测试设备驱动器的对外接口需要完成各种特定驱动接口的创建和集成,并其暴露给上层的业务部分;同时,测试设备驱动器的对外接口可完成测试设备中的各种测试仪器和板卡的基本操作,不涉及具体的测试功能;还可完成对测试设备的全部电气连接关系信息的汇总。The external interface of the test device driver needs to complete the creation and integration of various specific driver interfaces, and expose it to the upper-layer business part; at the same time, the external interface of the test device driver can complete the basic requirements of various test instruments and boards in the test device. The operation does not involve specific test functions; it can also complete the summary of all the electrical connection relationship information of the test equipment.
该测试设备驱动器的对外接口可以应用在不同类别、不同型号的测试软件开发中,换言之,对于上层应用软件而言,可忽略因硬件设备、仪器的差异性所带来的区别,使得应用开发人员可以将工作重心集中于业务逻辑本身,更加方便、灵活地应对上层软件需求和变化。The external interface of the test device driver can be used in the development of test software of different types and models. In other words, for the upper-layer application software, the differences caused by the differences of hardware devices and instruments can be ignored, making the application developers The focus of work can be concentrated on the business logic itself, and it is more convenient and flexible to respond to upper-layer software requirements and changes.
2、特定项目驱动接口的集合2. A collection of specific project-driven interfaces
在本实施例中,还可通过对测试设备(尤其是系列化的测试设备)实现测试功能的分类,针对各项测试功能,建立规范的驱动接口,并将其汇总在一起,形成面向该类设备的、标准化的特定驱动接口集合。测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系In this embodiment, the classification of test functions can also be realized by classifying test equipment (especially serialized test equipment), and standard driver interfaces are established for each test function, and they are aggregated together to form a type oriented to the test functions. Device-specific, standardized set of driver-specific interfaces. The test equipment function implementation component includes each specific project driver interface, and the relationship with the test instrument or board
例如,对于电子产品功能和性能检测的系列化测试设备,虽然在个体上存在差异,但仅从实现的功能上看,基本相同或相似,那么就可以通过对这些测试功能的汇总和分析,获得该类测试项目的总体情况,进而抽象出该类设备的接口集合。For example, for a series of test equipment for electronic product function and performance testing, although there are individual differences, but only from the point of view of the realized functions, it is basically the same or similar, then it can be obtained by summarizing and analyzing these test functions. The overall situation of this type of test project, and then abstract the interface collection of this type of equipment.
所有的特定驱动接口集合都继承自测试项目的基础接口,由后者反映各驱动接口具有的共性内容,在定义后不会修改,可对外提供驱动接口的一致性描述信息。All specific driver interface sets are inherited from the basic interface of the test project, which reflects the common content of each driver interface, which will not be modified after definition, and can provide the consistent description information of the driver interface to the outside world.
这些特定驱动接口集合,本质上是对该类测试设备所实现的测试需求的抽象,反应的是该类测试设备的硬件需要实现的系统级功能,与非标准仪器、嵌入式板卡的驱动接口相比,具有更好的普适性和稳定性。These specific driver interface sets are essentially an abstraction of the test requirements implemented by this type of test equipment, reflecting the system-level functions that the hardware of this type of test equipment needs to implement, and the driver interfaces with non-standard instruments and embedded boards. It has better universality and stability.
3)测试设备驱动器的实现组件(即测试设备功能实现组件)3) The implementation component of the test device driver (ie, the test device function implementation component)
测试设备驱动器的实现组件是驱动接口的具体实现,其实现方式可为硬件也可为软件。。测试设备驱动器的对外接口为上层应用软件提供了一个统一的操作端口,但测试设备的驱动软件的执行必须建立在实际的测试设备硬件上,每个驱动器组件代表了某个具体的测试仪器或板卡,其中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系,可描述该测试仪器或板卡如何实现各种规定的功能项目。测试设备的功能实现,依赖于集成的测试仪器、板卡以及电气连接拓扑关系。The implementation component of the test device driver is the specific implementation of the driver interface, and its implementation can be hardware or software. . The external interface of the test equipment driver provides a unified operation port for the upper-layer application software, but the execution of the test equipment driver software must be established on the actual test equipment hardware, and each driver component represents a specific test instrument or board. The card, which includes the driver interface of each specific item, and the relationship between the test instrument or the board, can describe how the test instrument or the board realizes various specified functional items. The functional realization of the test equipment depends on the integrated test instruments, boards and electrical connection topology.
本实施例中的测试设备驱动器,是通过测试设备驱动器的对外接口、面向特定功能的驱动接口设计、针对具体测试设备的驱动器实现等3个技术手段来实现的,如下进行具体说明:The test device driver in the present embodiment is realized by three technical means, such as the external interface of the test device driver, the design of the driver interface for specific functions, and the realization of the driver for the specific test device. The specific description is as follows:
1、测试设备驱动器的对外接口的设计1. Design of the external interface of the test device driver
参见图3,该测试设备驱动器的对外接口可以用于实现:Referring to Figure 3, the external interface of the test device driver can be used to achieve:
a、对特定项目驱动接口的管理a. Management of specific project-driven interfaces
首先,完成各种特定驱动接口的创建和集成。在驱动器中,还可提供一个独立的驱动接口列表,集中管理该测试设备驱动器含有的各种测试功能项目,用以描述测试设备所具有的全部测试能力(即生成测试设备所能够执行的全部测试操作的列表)。First, complete the creation and integration of various driver-specific interfaces. In the driver, an independent driver interface list can also be provided to centrally manage the various test function items contained in the test device driver to describe all the test capabilities of the test device (that is, to generate all the tests that the test device can execute). list of operations).
其次,还可提供特定驱动的检索功能。测试设备驱动器通过组合方式,将各种特定的驱动接口包含在驱动器内部,对外部不可见,因而需要提供一个对外的检索功能,并将搜索到的特定驱动接口提供给上层的测试程序。Secondly, it can also provide a specific driver retrieval function. The test device driver includes various specific driver interfaces in the driver through a combination method, which is invisible to the outside, so it needs to provide an external retrieval function and provide the searched specific driver interface to the upper-level test program.
b、测试仪器和板卡的管理b. Management of test instruments and boards
负责管理该测试设备中的各种测试仪器和板卡,实现的操作包括各种测试仪器和板卡的打开、复位、关闭、检查等,并将这些测试仪器和板卡的资源统一整合在一张列表中。该对外接口只负责硬件仪器的基本操作,不涉及具体的测试功能。Responsible for managing various test instruments and boards in the test equipment, and the realized operations include opening, resetting, closing, checking, etc. of various test instruments and boards, and integrating the resources of these test instruments and boards in one place. in the list. This external interface is only responsible for the basic operation of the hardware instrument and does not involve specific test functions.
2、面向特定功能的特定项目驱动接口设计2. Specific project-driven interface design for specific functions
首先,针对测试系统功能分解中获得的每项测试功能,建立独立的特定功能项目驱动接口,并提供规范的接口定义,代表了测试设备需要实现的一项独立的测试功能。First of all, for each test function obtained in the functional decomposition of the test system, an independent specific function item-driven interface is established, and a standardized interface definition is provided, which represents an independent test function that the test equipment needs to implement.
以电子产品测试设备为例,虽然测试设备的硬件构成都有差别,但仍然可以从更高层面上,总结出该类测试设备所具有的总体需求情况。这些硬件需求可以分为若干类,如直流电源控制、串口通讯、模拟量控制、数字量控制、脉冲信号输出、光纤陀螺集成测试、PWM信号采集、VF恒流源输出、计数器信号控制、网络通讯、CAN通讯、1553B总线通讯等。特定项目驱动接口可根据实际的测试要求,灵活选择。Taking electronic product testing equipment as an example, although the hardware composition of the testing equipment is different, it is still possible to summarize the overall requirements of this type of testing equipment from a higher level. These hardware requirements can be divided into several categories, such as DC power control, serial communication, analog control, digital control, pulse signal output, fiber optic gyro integration test, PWM signal acquisition, VF constant current source output, counter signal control, network communication , CAN communication, 1553B bus communication, etc. The specific project-driven interface can be flexibly selected according to the actual test requirements.
其次,完成与各个测试功能相对应的驱动接口的设计。每个特定驱动接口表示了一个独立的测试功能项目,反映了不同功能间的差异性内容。在上层的测试业务逻辑开发时,本质上是通过特定驱动接口的实例化对象,完成各种具体的业务流程。Secondly, complete the design of the driver interface corresponding to each test function. Each specific driver interface represents an independent test function item, reflecting the differences between the different functions. When the upper-level test business logic is developed, it is essentially to complete various specific business processes through the instantiation of the specific driver interface.
3)针对具体测试设备的驱动器实现3) Driver implementation for specific test equipment
针对具体测试设备的驱动器直接实现了测试设备驱动器接口,其具体实现可以划分为二个部分,一是驱动器模型中定义的、具有公用性质的基础功能的实现;二是该测试设备应具备的各种特定驱动接口的实现。The driver of the specific test equipment directly implements the test equipment driver interface, and its specific implementation can be divided into two parts, one is the realization of the basic functions with common properties defined in the driver model; An implementation of a specific driver interface.
a、基础功能的实现a. Realization of basic functions
特定项目驱动接口可按如下方式创建:Project-specific driver interfaces can be created as follows:
在实现特定项目驱动接口时,特定项目驱动接口核心的功能是实现各种功能项目驱动接口的实例化,并将其组装在“驱动接口列表”中。该功能的伪代码如下:When implementing a specific project-driven interface, the core function of the specific project-driven interface is to realize the instantiation of various functional project-driven interfaces and assemble them in the "driver interface list". The pseudocode for this function is as follows:
b、测试仪器和板卡的初始化:b. Initialization of test instruments and boards:
这些测试仪器和板卡的硬件在初始化完毕后,可分门别类地保存在测试设备驱动器中,作为后续各种功能项目的开发基础。After the hardware of these test instruments and boards is initialized, it can be stored in the test device driver by categories, which can be used as the development basis for subsequent various functional projects.
c、特定驱动接口的实现c. Implementation of a specific driver interface
对于上述驱动接口列表中的每项内容(即测试设备所能够执行的每一测试操作),都需要在驱动器组件开发时,一一予以实现;每个功能项目最终都要落实到硬件仪器上,因而驱动器组件是和自动测试设备紧密耦合在一起的。在驱动器组件内部,通过调用各种异构的驱动程序,实现该测试设备的设计要求,从而将对外提供的各种虚拟测试项目转换为真实的测试功能。For each content in the above driver interface list (that is, each test operation that the test equipment can perform), it needs to be implemented one by one when the driver component is developed; each functional item must be finally implemented on the hardware instrument, The driver assembly is thus tightly coupled to the automatic test equipment. Inside the driver component, by calling various heterogeneous drivers, the design requirements of the test equipment are realized, thereby converting various virtual test items provided externally into real test functions.
测试功能项目的开发步骤可如下所示:The development steps for a test function project can be as follows:
Step1:建立与功能项目驱动接口对应的实现类。Step1: Establish an implementation class corresponding to the functional item-driven interface.
每个测试功能项目与设备驱动器是局部与整体的关系。特定驱动功能的实现类与特定驱动接口集合中的各个接口直接对应,不同的接口通过不同的实现类来完成具体的测试功能,该实现类一般以内部嵌套类的形式存在,统一包含在驱动器的实现组件中。Each test function item has a partial-to-whole relationship with the device driver. The implementation class of a specific driver function directly corresponds to each interface in the specific driver interface set. Different interfaces complete specific test functions through different implementation classes. The implementation class generally exists in the form of an inner nested class, which is uniformly included in the driver. in the implementation component.
Step2:功能项目的具体实现。Step2: The concrete realization of the function project.
对于非标仪器,使用硬件厂商提供的API函数,或者经过二次开发而形成的封装库;对于标准仪器,可直接调用IVI类驱动或专用驱动组件。在驱动器组件开发、调试完毕后,除非硬件发生变化,否则该组件不会修改。For non-standard instruments, use API functions provided by hardware manufacturers, or package libraries formed through secondary development; for standard instruments, you can directly call IVI class drivers or dedicated driver components. After the driver assembly is developed and debugged, the assembly will not be modified unless the hardware changes.
Step3:功能的实现Step3: Implementation of the function
功能项目面向的是测试设备的系统级功能,不仅仅是对仪器的简单操作。以模拟量采集为例,当使用数字万用表时,测量数值已经由仪器处理,可以直接读取;但使用PCI板卡时,需要对高速采集的多组连续数值进行必要的信号处理(如平滑、去除野点等),才可以得到比较准确的数据。Functional items are geared towards the system-level functionality of the test equipment, not just the simple operation of the instrument. Taking analog quantity acquisition as an example, when using a digital multimeter, the measured values have been processed by the instrument and can be read directly; but when using a PCI board, it is necessary to perform necessary signal processing (such as smoothing, Remove wild points, etc.) to get more accurate data.
本实施例在创建测试设备驱动器时,首先是对测试设备驱动器的模型设计。该模型的核心是在业务逻辑和具体仪器驱动程序之间增加了一个独立的测试设备驱动器,并通过后者隔离了上下层的直接联系,封装了所有关于硬件的操作。测试业务逻辑程序只针对测试设备驱动接口进行开发。When creating a test device driver in this embodiment, the first step is to design a model of the test device driver. The core of this model is to add an independent test device driver between the business logic and the specific instrument driver, and to isolate the direct connection between the upper and lower layers through the latter, and to encapsulate all the operations on the hardware. The test business logic program is only developed for the test device driver interface.
其次是对测试设备驱动器的对外接口设计,对外接口是对外提供的唯一端口,屏蔽驱动器内部的具体实现。该驱动器的对外接口可以应用在不同类别、不同型号的测试软件开发中,换言之,对于上层应用软件而言,可忽略因硬件设备、仪器的差异性所带来的区别,使得应用开发人员可以将工作重心集中于业务逻辑本身,更加方便、灵活地应对上层软件需求和变化。The second is the design of the external interface of the test equipment driver. The external interface is the only port provided to the outside world, which shields the internal implementation of the driver. The external interface of the driver can be used in the development of test software of different types and models. In other words, for the upper-layer application software, the differences caused by the differences in hardware devices and instruments can be ignored, so that application developers can The focus of the work is on the business logic itself, and it is more convenient and flexible to respond to the needs and changes of the upper-layer software.
之后是对特定测试功能的接口设计。通过对特定类别测试设备所需实现功能的分析,获得脱离硬件环境的功能项目集合,并建立规范化的设备驱动接口。每个特定测试功能驱动接口都表示了一个独立的测试功能项目,众多驱动接口组织在一起,构成了一个虚拟化的测试设备,具备了该类测试设备的各种硬件测试功能。Then comes the interface design for specific test functions. Through the analysis of the functions required by a specific type of test equipment, a set of function items separated from the hardware environment is obtained, and a standardized device driver interface is established. Each specific test function driver interface represents an independent test function item, and many driver interfaces are organized together to form a virtualized test device, which has various hardware test functions of this type of test device.
最后是针对具体测试设备的驱动器的实现。在针对具体的测试设备硬件,开发与之对应的驱动器实现组件,在其内部,封装了对硬件仪器的控制,描述了实际测试设备的功能实现。测试设备驱动器为上层软件提供了统一的开发和运行基础,测试程序针对这些虚拟化的功能接口进行开发,避免了硬件的差异性对业务逻辑的影响。Finally, the realization of the driver for the specific test equipment. According to the specific test equipment hardware, the corresponding driver implementation component is developed, and the control of the hardware instrument is encapsulated in it, and the function realization of the actual test equipment is described. The test device driver provides a unified development and operation basis for the upper-layer software, and the test program is developed for these virtualized functional interfaces to avoid the impact of hardware differences on business logic.
当然,可以理解的是,上述详细流程还可以有其他变化例,相关变化例均应落入本发明的保护范围。Of course, it can be understood that the above detailed process may also have other variations, and relevant variations should all fall within the protection scope of the present invention.
本发明实施例中,对外接口用于根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;该测试业务逻辑接口用于传送不同测试项目的测试程序;测试设备功能实现组件连接多个测试仪器或板卡的驱动程序;该测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系;该测试设备功能实现组件用于根据该关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作,从而可通过对外接口选取出与测试项目匹配的特定项目驱动接口,进而通过测试设备功能实现组件,调用多个测试仪器或板卡执行测试操作,实现对不同测试项目的执行,与现有技术对比,可通过对外接口和测试设备功能实现组件直接调用不同的测试仪器或板卡,避免了在驱动不同测试仪器或板卡时难以兼容的问题,因此可忽略因测试仪器或板卡的差异性所带来的区别,提升了不同测试仪器或板卡间的兼容性;同时,可统一对不同测试仪器或板卡进行驱动;进而可保证对硬件升级改造后的测试仪器或板卡仍可进行驱动;不需对每一测试仪器或板卡进行驱动器开发,节省了人力物资,提升了复用性,避免重复开发的情况出现。In the embodiment of the present invention, the external interface is used to select a specific project-driven interface that matches the test item from a variety of specific project-driven interfaces integrated with the external interface according to the test item received from the test business logic interface; the test business logic interface A test program used to transmit different test items; a driver for connecting multiple test instruments or boards to a test equipment function implementation component; the test equipment function implementation component includes a driver interface for each specific item, which is associated with the test instrument or board relationship; the test equipment function implementation component is used to call multiple test instruments or boards associated with the specific item-driven interface selected by the external interface to perform test operations according to the association relationship, so that the test item matching the test item can be selected through the external interface. The specific project drives the interface, and then realizes the component through the function of the test equipment, calls multiple test instruments or boards to perform the test operation, and realizes the execution of different test projects. Compared with the existing technology, the component can be directly realized through the external interface and the function of the test equipment. Calling different test instruments or boards avoids the problem of incompatibility when driving different test instruments or boards. Therefore, the differences caused by the differences of test instruments or boards can be ignored, and different test instruments or boards can be improved. Compatibility between cards; at the same time, different test instruments or boards can be driven uniformly; thus, it can ensure that the test instruments or boards after hardware upgrades can still be driven; it is not necessary to drive each test instrument or board. Drive development saves manpower and materials, improves reusability, and avoids repeated development.
如上述,本发明实施例目的在于提供一种面向专用测试设备的驱动器的设计方法。驱动器是一组以控制测试设备为目标的软件功能单元,作为沟通底层硬件驱动程序与上层测试软件的桥梁,为上层软件开发提供了统一的软硬件接口,并规范了驱动器内部的实现方式。测试设备驱动器实现了顶层业务逻辑与底层驱动间分离,提供了硬件层的标准对外端口。As described above, the embodiments of the present invention aim to provide a design method for a driver for a dedicated test equipment. The driver is a set of software functional units aimed at controlling the test equipment. As a bridge to communicate the underlying hardware driver and the upper-level testing software, it provides a unified software and hardware interface for the development of the upper-level software, and regulates the internal implementation of the driver. The test device driver realizes the separation between the top-level business logic and the bottom-level driver, and provides a standard external port of the hardware layer.
测试设备驱动器针对的是该类设备需要实现系统级测试功能,不再是各种异构的仪器或板卡。其次,测试设备驱动器的对外接口是对外提供的唯一端口。在其内部,通过列表方式,包含了多个测试功能项目接口,表示自动化测试设备具有了多种不同的独立测试功能,并可根据设备发展情况随时扩展,但不会影响测试设备的对外描述。特定测试功能的接口设计描述了某个功能项目的具体细节,代表了一种完全抽象的、系统级功能,与硬件(包括测试仪器、板卡,测试设备等)无关,因而更加具有普遍性。众多驱动接口组织在一起,构成了一个虚拟化的测试设备,具备了该类测试设备的各种硬件测试功能。针对某个具体测试设备,开发独立的的驱动器组件。针对每个自动测试设备,都提供了一个虚拟的设备驱动器组件,以屏蔽底层硬件驱动的差异和硬件电气设计的差异,并在内部集成了该设备所具有的各种功能,作为上层应用软件的运行基础,在开发完毕后可全局复用。The test equipment driver is aimed at the need to implement system-level test functions for this type of equipment, and is no longer a variety of heterogeneous instruments or boards. Second, the external interface of the test device driver is the only port provided externally. Internally, it includes multiple test function item interfaces through a list, indicating that the automated test equipment has a variety of independent test functions, which can be expanded at any time according to the development of the equipment, but will not affect the external description of the test equipment. The interface design of a specific test function describes the specific details of a functional item, representing a completely abstract, system-level function, independent of hardware (including test instruments, boards, test equipment, etc.), so it is more universal. Many driver interfaces are organized together to form a virtualized test equipment, which has various hardware testing functions of this type of test equipment. Develop separate driver components for a specific test equipment. For each automatic test equipment, a virtual device driver component is provided to shield the difference of the underlying hardware driver and the difference of hardware electrical design, and integrates various functions of the equipment internally, as the upper-layer application software. The running foundation can be reused globally after development.
图4为本发明实施例中一种测试设备驱动方法的流程示意图,如图4所示,本发明实施例提供的测试设备驱动方法,可以包括:FIG. 4 is a schematic flowchart of a method for driving a test device in an embodiment of the present invention. As shown in FIG. 4 , the method for driving a test device provided by an embodiment of the present invention may include:
步骤401:根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;该测试业务逻辑接口用于传送不同测试项目的测试程序;Step 401: According to the test project received from the test business logic interface, select a specific project-driven interface that matches the test project from a variety of specific project-driven interfaces integrated in the external interface; the test business logic interface is used to transmit different test projects. test program;
步骤402:根据每一特定项目驱动接口,与测试仪器或板卡的关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作。Step 402 : According to the relationship between each specific item driver interface and the test instrument or the board, call multiple test instruments or boards associated with the specific item driver interface selected from the external interface to perform the test operation.
在一个实施例中,还包括:生成测试设备所能够执行的全部测试操作的列表。In one embodiment, the method further includes: generating a list of all test operations that the test equipment can perform.
在一个实施例中,还包括:对测试设备中的多个测试仪器或板卡的电气连接关系信息进行汇总。In one embodiment, the method further includes: summarizing the electrical connection relationship information of multiple test instruments or boards in the test equipment.
在一个实施例中,还该测试仪器或板卡包括非标准格式的测试仪器或板卡,和标准格式的测试仪器或板卡;该非标准格式的测试仪器或板卡为以非标准驱动程序的API函数进行封装的测试仪器或板卡。In one embodiment, the test instrument or board also includes a non-standard format test instrument or board, and a standard format test instrument or board; the non-standard format test instrument or board is based on a non-standard driver The API function to encapsulate the test instrument or board.
本发明实施例还提供一种计算机设备,图5为本发明实施例中计算机设备的示意图,该计算机设备能够实现上述实施例中的测试设备驱动方法中全部步骤,该计算机设备具体包括如下内容:An embodiment of the present invention also provides a computer device. FIG. 5 is a schematic diagram of the computer device in the embodiment of the present invention. The computer device can implement all the steps in the test device driving method in the above-mentioned embodiment. The computer device specifically includes the following content:
处理器(processor)501、存储器(memory)502、通信接口(CommunicationsInterface)503和通信总线504;a processor (processor) 501, a memory (memory) 502, a communication interface (CommunicationsInterface) 503 and a
其中,该处理器501、存储器502、通信接口503通过该通信总线504完成相互间的通信;该通信接口503用于实现相关设备之间的信息传输;Wherein, the
该处理器501用于调用该存储器502中的计算机程序,该处理器执行该计算机程序时实现上述实施例中的测试设备驱动方法。The
本发明实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有执行上述测试设备驱动方法的计算机程序。An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the above-mentioned test device driving method.
本发明实施例中,对外接口用于根据从测试业务逻辑接口接收的测试项目,从对外接口集成的多种特定项目驱动接口中,选取与测试项目匹配的特定项目驱动接口;该测试业务逻辑接口用于传送不同测试项目的测试程序;测试设备功能实现组件连接多个测试仪器或板卡的驱动程序;该测试设备功能实现组件中包含每一特定项目驱动接口,与测试仪器或板卡的关联关系;该测试设备功能实现组件用于根据该关联关系,调用与对外接口选取的特定项目驱动接口关联的多个测试仪器或板卡执行测试操作,从而可通过对外接口选取出与测试项目匹配的特定项目驱动接口,进而通过测试设备功能实现组件,调用多个测试仪器或板卡执行测试操作,实现对不同测试项目的执行,与现有技术对比,可通过对外接口和测试设备功能实现组件直接调用不同的测试仪器或板卡,避免了在驱动不同测试仪器或板卡时难以兼容的问题,因此可忽略因测试仪器或板卡的差异性所带来的区别,提升了不同测试仪器或板卡间的兼容性;同时,可统一对不同测试仪器或板卡进行驱动;进而可保证对硬件升级改造后的测试仪器或板卡仍可进行驱动;不需对每一测试仪器或板卡进行驱动器开发,节省了人力物资,提升了复用性,避免重复开发的情况出现。In the embodiment of the present invention, the external interface is used to select a specific project-driven interface that matches the test item from a variety of specific project-driven interfaces integrated with the external interface according to the test item received from the test business logic interface; the test business logic interface A test program used to transmit different test items; a driver for connecting multiple test instruments or boards to a test equipment function implementation component; the test equipment function implementation component includes a driver interface for each specific item, which is associated with the test instrument or board relationship; the test equipment function implementation component is used to call multiple test instruments or boards associated with the specific item-driven interface selected by the external interface to perform test operations according to the association relationship, so that the test item matching the test item can be selected through the external interface. The specific project drives the interface, and then realizes the component through the function of the test equipment, calls multiple test instruments or boards to perform the test operation, and realizes the execution of different test projects. Compared with the existing technology, the component can be directly realized through the external interface and the function of the test equipment. Calling different test instruments or boards avoids the problem of incompatibility when driving different test instruments or boards. Therefore, the differences caused by the differences of test instruments or boards can be ignored, and different test instruments or boards can be improved. Compatibility between cards; at the same time, different test instruments or boards can be driven uniformly; thus, it can ensure that the test instruments or boards after hardware upgrades can still be driven; it is not necessary to drive each test instrument or board. Drive development saves manpower and materials, improves reusability, and avoids repeated development.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上该的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上该仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above specific embodiments further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific embodiments of the present invention, and are not intended to limit the protection scope of the present invention. , any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011517106.0ACN114647451A (en) | 2020-12-21 | 2020-12-21 | Test device driver and driving method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011517106.0ACN114647451A (en) | 2020-12-21 | 2020-12-21 | Test device driver and driving method |
| Publication Number | Publication Date |
|---|---|
| CN114647451Atrue CN114647451A (en) | 2022-06-21 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011517106.0APendingCN114647451A (en) | 2020-12-21 | 2020-12-21 | Test device driver and driving method |
| Country | Link |
|---|---|
| CN (1) | CN114647451A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116298825A (en)* | 2023-05-08 | 2023-06-23 | 杭州长川科技股份有限公司 | Chip test system and method, device, drive access device and method |
| CN118093295A (en)* | 2023-12-13 | 2024-05-28 | 广州翼辉信息技术有限公司 | Method and device for testing embedded board card, computer equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106649113A (en)* | 2016-12-21 | 2017-05-10 | 北京航天测控技术有限公司 | Testing equipment control system and realization method |
| CN106933712A (en)* | 2017-03-31 | 2017-07-07 | 中国电子科技集团公司第二十九研究所 | Networking remote test system and method based on B/S frameworks |
| CN107894762A (en)* | 2017-11-09 | 2018-04-10 | 重庆鲁班机器人技术研究院有限公司 | Practicality imitation test method, apparatus and system |
| CN109491724A (en)* | 2018-11-11 | 2019-03-19 | 上海精密计量测试研究所 | Call method of the software generic test platform of test equipment to special test program |
| CN110426589A (en)* | 2019-09-10 | 2019-11-08 | 南京国电南自电网自动化有限公司 | A kind of substation secondary device automatic testing method, server and system based on general-purpose interface template |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106649113A (en)* | 2016-12-21 | 2017-05-10 | 北京航天测控技术有限公司 | Testing equipment control system and realization method |
| CN106933712A (en)* | 2017-03-31 | 2017-07-07 | 中国电子科技集团公司第二十九研究所 | Networking remote test system and method based on B/S frameworks |
| CN107894762A (en)* | 2017-11-09 | 2018-04-10 | 重庆鲁班机器人技术研究院有限公司 | Practicality imitation test method, apparatus and system |
| CN109491724A (en)* | 2018-11-11 | 2019-03-19 | 上海精密计量测试研究所 | Call method of the software generic test platform of test equipment to special test program |
| CN110426589A (en)* | 2019-09-10 | 2019-11-08 | 南京国电南自电网自动化有限公司 | A kind of substation secondary device automatic testing method, server and system based on general-purpose interface template |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116298825A (en)* | 2023-05-08 | 2023-06-23 | 杭州长川科技股份有限公司 | Chip test system and method, device, drive access device and method |
| CN116298825B (en)* | 2023-05-08 | 2023-10-20 | 杭州长川科技股份有限公司 | Chip test system and method, device, drive access device and method |
| CN118093295A (en)* | 2023-12-13 | 2024-05-28 | 广州翼辉信息技术有限公司 | Method and device for testing embedded board card, computer equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| US5847955A (en) | System and method for controlling an instrumentation system | |
| CN107807878B (en) | A Keyword-Based Universal Test Resource Driving and Execution Management Method | |
| US6564368B1 (en) | System and method for visual application development without programming | |
| US5710727A (en) | System and method for creating resources in an instrumentation system | |
| US5784275A (en) | System and method for performing interface independent virtual instrumentation functions in a graphical data flow program | |
| US7913170B2 (en) | System and method for performing type checking for hardware device nodes in a graphical program | |
| US7743335B2 (en) | System and method for accessing registers of a hardware device in a graphical program | |
| US20060190905A1 (en) | System for designing re-programmable digital hardware platforms | |
| US20080021693A1 (en) | Storage Device Simulator | |
| US5905649A (en) | System and method for performing type checking and class propagation of attributes in a graphical data flow program | |
| CN105760296B (en) | Automatic test control method, device and terminal | |
| KR20090088605A (en) | A method of creating a virtual software platform based on a component model, a method and a device for verifying a software platform architecture using the same | |
| CN110717268B (en) | A Portable Component Unit Encapsulation Method Based on FACE Architecture | |
| CN114647451A (en) | Test device driver and driving method | |
| CN113505061A (en) | Automatic test software platform | |
| CN114757135A (en) | Programmable logic device verification method and system based on demand-driven verification | |
| CN117742783A (en) | Cross-language automatic log data recording method for software system | |
| CN108959094B (en) | Method for defining and applying test program based on data structure | |
| CN119292906A (en) | A method, device, equipment and medium for automatic interface signal verification control | |
| CN117873650B (en) | Real-time running environment generation system, method, computer device and storage medium | |
| CN115270220A (en) | Aeroengine Simulation System, Method and Device | |
| CN113947047B (en) | Interface connection method for verifying design to be tested and related equipment | |
| CN116383095A (en) | Smoke test method, system and readable storage medium based on RPA robot | |
| CN112148611B (en) | Cloud architecture-based automatic test intermediate interface method and platform | |
| Wootton | General purpose input/output (gpio) |
| 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:20220621 | |
| WD01 | Invention patent application deemed withdrawn after publication |