Method and system for concurrent testing of embedded module

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

Active Publication Date: 2014-12-17
FUJIAN LANDI COMML EQUIP CO LTD
View PDF4 Cites 6 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
  • Method and system for concurrent testing of embedded module
  • Method and system for concurrent testing of embedded module

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 test, in particular to a method and a system for concurrent testing of an embedded module. The method comprises the following steps: S101, setting module information for more than two modules to be tested, and constituting the set modules to be tested into a list to be tested; S102, extracting each module to be tested from the list to be tested, placing each module to be tested into a single thread, and initializing each module to be tested and the thread according to preset initialized content; S103, after initialization in S102 is finished, concurrently starting the thread to execute a module testing function and returning a module testing result; S104, making a statistics on the module testing result and judging whether the module testing result has an error; and S105, the module testing result has the error, storing the module testing result to a preset error log file. Due to the adoption of the method, whether the module can normally run can be tested when the system is under a high load, and thus the purpose of the testing the module is achieved.

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 Applications(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