CN112148611B - Cloud architecture-based automatic test intermediate interface method and platform - Google Patents

Cloud architecture-based automatic test intermediate interface method and platform Download PDF

Info

Publication number
CN112148611B
CN112148611B CN202011038649.4A CN202011038649A CN112148611B CN 112148611 B CN112148611 B CN 112148611B CN 202011038649 A CN202011038649 A CN 202011038649A CN 112148611 B CN112148611 B CN 112148611B
Authority
CN
China
Prior art keywords
test
instrument
writing
reading
case library
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.)
Active
Application number
CN202011038649.4A
Other languages
Chinese (zh)
Other versions
CN112148611A (en
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.)
Shenzhen Academy Of Information And Communications Technology
Original Assignee
Shenzhen Academy Of Information And Communications 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 Shenzhen Academy Of Information And Communications Technology filed Critical Shenzhen Academy Of Information And Communications Technology
Priority to CN202011038649.4A priority Critical patent/CN112148611B/en
Publication of CN112148611A publication Critical patent/CN112148611A/en
Application granted granted Critical
Publication of CN112148611B publication Critical patent/CN112148611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides an automatic test intermediate interface method based on a cloud architecture, which comprises the following steps: s1, a test case library is established, reading and writing instruction formats of a test instrument are set uniformly, writing or calling of test cases is conducted based on the uniformly set reading and writing instruction formats of the test instrument, and a tester selects corresponding test cases in the test case library at an application layer according to test tasks; s2, selecting a test instrument and corresponding required reading and writing actions and specific reading and writing parameters according to a test target and a task corresponding to the test case in a test case library; and S3, in the integrated driving layer, according to the drive type of the appointed instrument matched with the instrument, transmitting the configuration parameters of the test case library, and automatically adapting to the corresponding read and write drive of the bottom layer of the test instrument. The beneficial effects of the invention are as follows: the adaptability of the system to various instrument devices is improved, and the development efficiency of the automatic test system for the Internet of things information products is improved.

Description

Cloud architecture-based automatic test intermediate interface method and platform
Technical Field
The invention relates to an internet of things information product, in particular to an automated testing intermediate interface method and platform based on a cloud architecture.
Background
The internet of things information product has a plurality of different test function modules, and needs to be connected with a plurality of connectors, such as standard instrument interfaces, own product interfaces, original instrument interfaces and the like, but the existing automatic test system has poor compatibility, and instrument equipment with various protocols is difficult to support, so that the efficiency is reduced.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides an automated testing intermediate interface method and platform based on a cloud architecture.
The invention provides an automatic test intermediate interface method based on a cloud architecture, which comprises the following steps:
s1, a test case library is established, reading and writing instruction formats of a test instrument are set uniformly, writing or calling of test cases is conducted based on the uniformly set reading and writing instruction formats of the test instrument, and a tester selects corresponding test cases in the test case library at an application layer according to test tasks;
s2, selecting a test instrument and corresponding required reading and writing actions and specific reading and writing parameters according to a test target and a task corresponding to the test case in a test case library;
s3, in the integrated driving layer, according to the drive type of the appointed instrument matched with the instrument, transmitting configuration parameters of a test case library, and automatically adapting to corresponding read and write drive of the bottom layer of the test instrument;
s4, issuing an adapted instrument reading and writing instruction to a test instrument for execution in a synchronous mode or an asynchronous mode through clock synchronization;
and S5, the test instrument transmits the test data to the application layer.
As a further development of the invention, the integrated driver layer has an integrated device driver instruction set, which can be adapted to standard instrument device interfaces, universal switch interfaces and hardware interfaces requiring interface conversion.
The invention also provides an automated test intermediate interface platform based on a cloud architecture, which comprises a readable storage medium, wherein the readable storage medium stores execution instructions, and the execution instructions are used for realizing the method according to any one of the above when being executed by a processor.
The beneficial effects of the invention are as follows: the adaptability of the system to various instrument devices is improved, and the development efficiency of the automatic test system for the Internet of things information products is improved.
Drawings
FIG. 1 is a schematic diagram of an automated test intermediate interface platform based on a cloud architecture of the present invention.
Detailed Description
The invention is further described with reference to the following description of the drawings and detailed description.
As shown in fig. 1, an automated test intermediate interface method and platform based on a cloud architecture are disclosed, wherein an integrated test instrument driving interface is designed and integrated, instrument driving is unified from an application layer to form a universal instrument driving assembly, and the interchangeability of hardware of multiple manufacturers can be conveniently realized through the driving interface design. In the past, instrument hardware driving is realized on the basis of a standard instrument interface, the standard instrument interface standard is generally established on a protocol and a command set at a lower layer, and with the rapid development of a physical communication technology, the cultivated test instrument is not driven through the standard instrument interface, and serious diversification occurs on the driving interface. So that higher integration automated testing should be more focused on the interchange of meter devices at the application level than on the underlying command set. The invention can effectively solve the problem that the application built on the universal instrument driver only makes a channel with high-level methods and attributes, such as writing instructions, reading states and obtaining results, but does not make a channel with specific instructions of the instrument, and instrument equipment of different manufacturers only has a universal method of reading and writing, so that the instrument can be replaced on the application level on our platform. Therefore, on a new platform, the internet of things testing system based on the cloud architecture can be suitable for instrument equipment supporting various protocols, including instrument equipment supporting standard instrument equipment interface drive, native instrument drive, own product drive and other modules. The design of the drive interface related by the invention is a platform which is arranged on an open software platform, contains and is compatible with the most excellent software and hardware products of each family, and develops various professional test measurement automation systems at the highest efficiency.
The specific implementation flow of the interface platform is as follows:
1. the application layer is used for enabling a tester to select a corresponding test case according to a test task without distinguishing a specific test instrument corresponding to the test field and starting service;
2. the test case library is used for uniformly setting instruction formats required by reading and writing of the test instruments, selecting the test instruments according to corresponding test targets and tasks and corresponding required reading and writing actions and specific reading and writing parameters; the executed test cases can be stored in a test case library, and the next time of use is directly called;
3. the integrated driving layer is used for transmitting configuration parameters of an upper layer according to the driving type (standard instrument and equipment interface, own product interface and original instrument interface) of the matched instrument of the designated instrument and automatically adapting to corresponding read and write drivers of the bottom layer of the testing instrument and instrument;
4. the adapted meter reads and writes instructions, and selects a specific meter to execute in a synchronous mode or an asynchronous mode through clock synchronization;
5. the test data is transferred to the application layer, ending the service.
According to the cloud architecture-based automatic test intermediate interface method and platform, the modular test measurement automatic system intermediate interface platform is designed, so that the automatic test system with different test standard requirements in different technical fields is unified modeling based on an open-source class library, and a flexible application layer universal device driver, data processing and UI display tool set are developed by utilizing a Visual Studio integrated application development environment and the latest object-oriented programming language C#, so that the development efficiency and productivity of a professional test measurement and control system are greatly improved.
The invention has the following innovation points:
development and use of componentized test platforms. The method has the advantages that the latest open-source component library and a new generation of object-oriented development tools and programming languages are fully utilized, different functions of the testing system of the Internet of things equipment are classified according to service functions in a generalized mode, the cross-platform-deployable functional components are designed, all the components are packaged to form a measurement and control intermediate interface platform, an effective method for quickly building a professional automatic testing system of various Internet of things equipment is provided, the adaptability of the system to various instrument equipment is improved, and the development efficiency of the automated testing system of the Internet of things information product is improved.
According to the invention, the traditional detection test equipment and test technology are introduced into the cloud platform test system concept, and the innovation of the application mode, service mode and business mode of the detection service is actively explored according to the characteristics of the test service of the Internet of things equipment.
The invention modularizes different test functions; and the access entrance of the test system is unified, and platform layer functions such as test resource scheduling, service adaptation, message engine, report engine, data engine, security engine and the like are managed. Based on the low-cost test instrument and meter, automatic development is implemented, and a test script is developed to replace the configuration operation of manual test. Different modules are integrated on the platform and complete the functions of system synchronization, system control docking, data backup, data uploading and the like with the cloud platform. The cloud platform is used for uniformly completing management functions such as user management, test case management, test specification management, test flow management, data bureau statistics, report automation and the like through a design development application layer. And developing an application layer upwards, enabling a user and a tester to access a cloud platform or select a test function and a test task through a PC browser or a mobile client, implementing remote automatic test and automatically generating a test report, and also implementing analysis and statistics of big data of a test result through a data engine function.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (2)

1. The method is characterized in that an integrated test instrument driving interface is designed, instrument driving is unified from an application layer to form a universal instrument driving assembly, and an application built on the universal instrument driving is interacted with only a high-level method and attribute to adapt to instrument equipment supporting multiple protocols, and the method comprises the following steps:
s1, a test case library is established, reading and writing instruction formats of a test instrument are set uniformly, writing or calling of test cases is conducted based on the uniformly set reading and writing instruction formats of the test instrument, and a tester selects corresponding test cases in the test case library at an application layer according to test tasks;
s2, selecting a test instrument and corresponding required reading and writing actions and specific reading and writing parameters according to a test target and a task corresponding to the test case in a test case library;
s3, in the integrated driving layer, according to the drive type of the appointed instrument matched with the instrument, transmitting configuration parameters of a test case library, and automatically adapting to corresponding read and write drive of the bottom layer of the test instrument;
the integrated driving layer is provided with an integrated device driving instruction set, and is adaptive to a standard instrument device interface, a universal switch interface and a hardware interface which needs interface conversion;
s4, issuing an adapted instrument reading and writing instruction to a test instrument for execution in a synchronous mode or an asynchronous mode through clock synchronization;
and S5, the test instrument transmits the test data to the application layer.
2. An automatic test intermediate interface platform based on cloud architecture, which is characterized in that: comprising a readable storage medium having stored therein execution instructions which when executed by a processor are adapted to carry out the method of claim 1.
CN202011038649.4A 2020-09-28 2020-09-28 Cloud architecture-based automatic test intermediate interface method and platform Active CN112148611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011038649.4A CN112148611B (en) 2020-09-28 2020-09-28 Cloud architecture-based automatic test intermediate interface method and platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011038649.4A CN112148611B (en) 2020-09-28 2020-09-28 Cloud architecture-based automatic test intermediate interface method and platform

Publications (2)

Publication Number Publication Date
CN112148611A CN112148611A (en) 2020-12-29
CN112148611B true CN112148611B (en) 2023-08-04

Family

ID=73894761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011038649.4A Active CN112148611B (en) 2020-09-28 2020-09-28 Cloud architecture-based automatic test intermediate interface method and platform

Country Status (1)

Country Link
CN (1) CN112148611B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783794B (en) * 2021-02-10 2024-03-26 西南电子技术研究所(中国电子科技集团公司第十研究所) Aviation communication radio station software testing system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1841340A (en) * 2005-03-28 2006-10-04 华为技术有限公司 Method and system for testing drive software
CN103136101A (en) * 2012-12-31 2013-06-05 博彦科技(上海)有限公司 Software automated testing unified operation platform
CN105004984A (en) * 2015-06-25 2015-10-28 深圳市芯海科技有限公司 Automatic chip testing method
CN106201803A (en) * 2016-07-22 2016-12-07 北京赛博智通信息技术有限责任公司 A kind of general automation based on tested object model test system and method
CN110166265A (en) * 2018-02-11 2019-08-23 陕西爱尚物联科技有限公司 A kind of method and its module of network control
CN110515848A (en) * 2019-08-29 2019-11-29 行吟信息科技(上海)有限公司 Automatization test system and automated testing method
CN110568339A (en) * 2019-08-09 2019-12-13 江苏斯菲尔电气股份有限公司 Instrument automatic testing system and method based on Internet of things

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7128266B2 (en) * 2003-11-13 2006-10-31 Metrologic Instruments. Inc. Hand-supportable digital imaging-based bar code symbol reader supporting narrow-area and wide-area modes of illumination and image capture
US9149806B2 (en) * 2012-01-10 2015-10-06 Biopico Systems Inc Microfluidic devices and methods for cell sorting, cell culture and cells based diagnostics and therapeutics
US10055327B2 (en) * 2014-09-30 2018-08-21 International Business Machines Corporation Evaluating fairness in devices under test

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1841340A (en) * 2005-03-28 2006-10-04 华为技术有限公司 Method and system for testing drive software
CN103136101A (en) * 2012-12-31 2013-06-05 博彦科技(上海)有限公司 Software automated testing unified operation platform
CN105004984A (en) * 2015-06-25 2015-10-28 深圳市芯海科技有限公司 Automatic chip testing method
CN106201803A (en) * 2016-07-22 2016-12-07 北京赛博智通信息技术有限责任公司 A kind of general automation based on tested object model test system and method
CN110166265A (en) * 2018-02-11 2019-08-23 陕西爱尚物联科技有限公司 A kind of method and its module of network control
CN110568339A (en) * 2019-08-09 2019-12-13 江苏斯菲尔电气股份有限公司 Instrument automatic testing system and method based on Internet of things
CN110515848A (en) * 2019-08-29 2019-11-29 行吟信息科技(上海)有限公司 Automatization test system and automated testing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
测试自动机的测试驱动器设计与实现技术;易国洪 等;《计算机工程》;第30卷(第23期);181-183 *

Also Published As

Publication number Publication date
CN112148611A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US10354225B2 (en) Method and system for process automation in computing
US7703032B2 (en) Binding a GUI element to live measurement data
EP1461692B1 (en) Graphically configuring program invocation relationships
CN102087597B (en) J2EE and component set-based visualized development platform
CN111126781A (en) RPA service flow establishing method and system
KR20070039877A (en) Automatic image capture for generating content
US20150370766A1 (en) Ontology-driven requirements engineering methodology mind-mapper
US8930879B2 (en) Application building
CN108804300A (en) Automated testing method and system
US11941419B2 (en) Systems and methods for robotic process automation of mobile platforms
US11741002B2 (en) Test automation systems and methods using logical identifiers
US8819631B2 (en) System and method for self dependent web automation
CN112148611B (en) Cloud architecture-based automatic test intermediate interface method and platform
CN112732576A (en) Automatic testing method, device and equipment based on user interface
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
CN102467372A (en) Measurement resource control system and measurement resource control method
KR20090110486A (en) method of robot control code generation and apparatus thereof
CN112162733B (en) Design method of phased array radar modular monitoring software based on Qt
CN102467369A (en) Measurement resource control system and measurement resource control method
CN113900953A (en) Software automation testing architecture method based on reflection mechanism
US10545729B2 (en) Computer program interface
KR100928895B1 (en) Tool generator for control system development
US20060205399A1 (en) Method for simulating communication functions of a mobile phone according to a markup language and related device thereof
KR102583146B1 (en) Different types of multi-rpa integrated management systems and methods
CN108008945A (en) Device PCI drives development approach under a kind of LINUX system

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
CB03 Change of inventor or designer information

Inventor after: Feng Zhifang

Inventor after: Zhang Bojun

Inventor after: Xiao Li

Inventor after: Li Wenzhuo

Inventor after: He Lijuan

Inventor after: Huang Fenghe

Inventor after: Su Yihao

Inventor before: Feng Zhifang

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant