Unlock instant, AI-driven research and patent intelligence for your innovation.

Hardware test method and device, electronic equipment and storage medium

A hardware testing and hardware technology, which is applied in the direction of faulty hardware testing methods, software testing/debugging, and detecting faulty computer hardware, etc., can solve problems such as taking a long time, reduce difficulty, reduce repeated design time, and improve problem location efficiency effect

Pending Publication Date: 2021-01-05
LONGSUNG TECH SHANGHAI
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the input condition scenario of the communication module includes the calling process of multiple APIs, it is necessary to design test cases for the APIs one by one and repeat the above process. The testing process of the OpenCpu communication module takes a lot of time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hardware test method and device, electronic equipment and storage medium
  • Hardware test method and device, electronic equipment and storage medium
  • Hardware test method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 2

[0027] In conventional hardware testing methods, the tester designs a test case for the API of the hardware to be tested, writes a piece of test code according to the input condition scenario, compiles and generates the pac file of the test example demo, and downloads the generated pac file to the hardware to be tested. Make the hardware under test start the demo and run the demo directly to complete the API test of the scenario, and record the test results. Then repeat the above steps for another API of the hardware under test to implement encoding, downloading and running. It can be found that the test efficiency of the traditional hardware test is low, and a lot of time is spent on coding, compiling and debugging the demo. figure 2 is an example diagram of time-consuming analysis of conventional API testing in the prior art, see figure 2 , assuming that the user’s basic project compilation is completed, the basic function test is completed, the version release requiremen...

Embodiment 1

[0029] image 3 It is a flowchart of a hardware testing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the complex application scenario testing of OpenCpu communication modules. The method can be executed by a hardware testing device, which can use hardware and / or implemented by software, see image 3 , the method provided in the embodiment of the present invention specifically includes the following steps:

[0030] Step 101: Determine the API type and API calling sequence of the application program interface API corresponding to the hardware to be tested according to the acquired input scene.

[0031] Among them, the input scenario may be a hardware application scenario that needs to be tested. The input scenario may include the use function of the hardware and the use order of each function. Hardware, for example, traditional communication modules and OpenCpu communication modules, etc.

[0032] In the embodiment of the present...

Embodiment 2

[0046] Figure 4 It is a flow chart of another hardware testing method provided by the second embodiment of the present invention. The embodiment of the present invention is based on the embodiment of the above invention. Refer to Figure 4 , the method provided in the embodiment of the present invention specifically includes the following steps:

[0047] Step 201, acquire the function information and function execution sequence of the hardware under test input by the user through the preset interface as the input scene.

[0048] Specifically, the preset interface may be a visual page, which is used to display test cases of each interface of the test API to the user, Figure 5 It is an example diagram of the API interface test module grouping model in the preset interface provided by Embodiment 2 of the present invention, see Figure 5 , the hardware function classification of different hardware functions can be displayed through the preset interface, such as general informa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a hardware test method and a device, electronic equipment and a storage medium, and the method comprises the steps: determining an API type and an API call sequence of an application program interface API corresponding to to-be-tested hardware according to an obtained parameter entering scene; sequentially calling interface test cases in a preset test form to test the to-be-tested hardware according to the API type and the API calling sequence; and displaying a test result of the to-be-tested hardware on a preset interface. According to the technical scheme provided bythe embodiment of the invention, the API type and the API calling sequence needing to be tested of the to-be-tested hardware are determined through the parameter entering scene, and the correspondinginterface test case is obtained for hardware testing, so that the repeated design time of the test case is shortened, the hardware testing efficiency is improved, a client is assisted to quickly restore an application scene, and the fault positioning difficulty is reduced; the problem positioning efficiency is improved, and the user experience degree can be enhanced.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of hardware testing, and in particular to a hardware testing method, device, electronic equipment and storage medium. Background technique [0002] OpenCPU is an application method that uses modules as the main processor. With the development of communication technology and the continuous changes of the market, more and more users realize the advantages of OpenCPU solutions. OpenCPU is gradually applied to wireless communication modules to solve the problem of sharing processor and FLASH memory resources in the module. The structure of common communication module and OpenCpu communication module can be as follows Figure 1a and Figure 1b As shown, the traditional communication module needs to have the process of parsing instructions and outputting results with the Microcontroller Unit (MCU), while the OpenCpu communication module can directly call the Application Program Interface...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/22G06F11/36
CPCG06F11/2205G06F11/2273G06F11/2268G06F11/3688G06F11/3692
Inventor 张雪梅
Owner LONGSUNG TECH SHANGHAI