Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Embedded software intelligent testing method based on Agent

A technology of embedded software and testing methods, applied in the field of software testing, can solve problems such as poor testing results, cost a lot of manpower and material resources, and inconvenience to use, and achieve the effect of simple and fast implementation, reduced testing costs, and reduced direct intervention.

Inactive Publication Date: 2010-09-15
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF0 Cites 53 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (1) The software reliability evaluation is only an overall concept, and the number of software defects is predicted, but the location of the defects cannot be specifically pointed out;
[0007] (2) The effect of the hidden code error test is not good, and it will cost a lot of manpower and material resources to test again;
[0008] (3) There are too many steps of human participation, which is very inconvenient to use;
[0009] (4) The obtained coverage index is relatively simple and cannot fully reflect the quality of the software
[0010] (5) Most testing software is expensive and difficult to popularize on a large scale

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
  • Embedded software intelligent testing method based on Agent
  • Embedded software intelligent testing method based on Agent
  • Embedded software intelligent testing method based on Agent

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The core idea of ​​the present invention is: utilize the self-governing characteristic of Agent, carry out independent judgment without the direct order of other Agent or tester and intervene, utilize the intelligence characteristic of Agent to understand the test object of tester, utilize the social ability of Agent and other Agent communicates. Attached below figure 1 The workflow of the present invention and the functions of each module are described in detail.

[0023] 1. Preprocessing the Agent module

[0024] Lexical Analysis Agent and Syntax Analysis Agent are mainly implemented by lex and yacc under Linux environment. Lex and yacc are lexical analysis tools and syntax analysis tools provided by the Linux system. Using these two tools can generate lexical and syntax analyzers, shorten the cycle of developing system software, save time, and improve work efficiency.

[0025] (1) Lexical Analysis Agent. Lex is a lexical analysis program generation program, which...

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 an embedded software intelligent testing method based on Agent, which is an improved software testing method using a Linux system as an embedded operation system core, mainly comprising three Agent modules: a pre-processing Agent module, a program instrumentation Agent module and a dynamic test information analysis Agent module. The pre-processing Agent module comprises a lexical analysis Agent and a grammar analysis Agent that are used for generating a grammar tree structure of a source program; the program instrumentation Agent module comprises a grammar tree analysis Agent and an automatic instrumentation Agent that are mainly used for analyzing the grammar tree, finding out the key point of the source program, and automatically inserting probe functions in the source program so as to acquire the dynamic information during the operation of the program; and the dynamic test information analysis Agent module comprises a cover ratio analysis Agent and an inquiry Agent that are mainly used for testing the sentence and the branch cover ratio of the source program, and automatically inquiring the relevant conditions of the uncovered target in the source program when the cover ratio cannot satisfy the requirements. The invention can be applied to different programs simply and conveniently, thereby greatly improving the efficiency of the software automation test with strong commonality.

Description

technical field [0001] The invention relates to a software testing method, in particular to an Agent-based embedded software intelligent testing method. Background technique [0002] As an important branch of computer software, embedded software has been widely used in consumer electronics, transportation systems, industrial control, medical equipment and military fields. As a very popular operating system type at present, Linux is widely used in the embedded operating system kernel. With the development of embedded technology, the continuous growth of embedded applications and the continuous improvement of the complexity of embedded systems, the scale and complexity of embedded software are also required to continue to increase. The quality of embedded software and the development cycle have a great impact on the final quality of products. and time-to-market play a decisive role. [0003] Software testing is an important means to ensure the correctness of software systems...

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 NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products