A method and system for concurrent testing of embedded modules

A module testing and embedded technology, applied in the field of concurrent testing of embedded modules, can solve problems such as large system load, conflict, and inability to achieve flexible configuration, and achieve the effect of improving writing efficiency and increasing load

Active Publication Date: 2017-09-19
FUJIAN LANDI COMML EQUIP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Due to the large number of embedded product modules and the high degree of integration with the system, the modules may have conflicts in the use of system resources (such as serial ports, USB, etc.). resources and cause it to fail to function properly
[0003] When multiple modules run at the same time, the load on the system is heavy, so other modules or the system may run abnormally during concurrent execution
In the traditional embedded module concurrency test, by writing a concurrency test script for each module and embedding the script into the concurrent process, once a new module or a change in the module needs to modify the concurrency strategy, the concurrent process needs to be modified, and at the same time It is also impossible to achieve flexible configuration requirements for concurrent modules

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
  • A method and system for concurrent testing of embedded modules
  • A method and system for concurrent testing of embedded modules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to describe the technical content, achieved goals and effects of the present invention in detail, the following descriptions will be made in conjunction with the embodiments and accompanying drawings.

[0025] The most critical idea of ​​the present invention is: by placing each module to be tested in a separate thread, and starting the thread concurrently to execute the module test function, it is realized whether the test module can run normally under the condition of high system load.

[0026] Please refer to figure 1 , is the flowchart of the method for concurrent testing of embedded modules in the specific embodiment of the present invention, specifically as follows:

[0027] A method for concurrent testing of embedded modules, comprising:

[0028] S101. Set module information for more than two modules to be tested, and form the set modules to be tested into a list to be tested;

[0029] S102. Extract each module to be tested from the list to be tested a...

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 relates to the field of software testing, in particular to a method and system for concurrent testing of embedded modules. The method includes: S101, setting module information for more than two modules to be tested, and forming the set to-be-tested modules into a to-be-tested list; S102, extracting each to-be-tested module from the to-be-tested list and placing it in a separate In the thread, and according to the preset initialization content, each module to be tested and the thread are initialized; S103, after step S102 initialization, start the thread concurrently to execute the module test function and return the module test result; S104, Count the test results of the modules and judge whether there is an error in the test results of the modules; S105. If an error occurs in the test results of the modules, store the test results of the modules in a preset error log file. Through this method, it can be realized whether the test module can operate normally under the condition of high load of the system, so as to achieve the purpose of testing the module.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method and system for concurrent testing of embedded modules. Background technique [0002] Due to the large number of embedded product modules and the high degree of integration with the system, the modules may have conflicts in the use of system resources (such as serial ports, USB, etc.). resources and cause it to fail to function properly. [0003] When multiple modules run at the same time, the load on the system is relatively large, so other modules or the system may run abnormally during concurrent execution. In the traditional embedded module concurrency test, by writing a concurrency test script for each module and embedding the script into the concurrent process, once a new module or a change in the module needs to modify the concurrency strategy, the concurrent process needs to be modified, and at the same time The requirements for flexible configuration cannot be r...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 林伟
Owner FUJIAN LANDI COMML EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products