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

Embedded software defect repairing method based on access behavior perception

A technology for embedded software and defect repair, applied in software testing/debugging, computer parts, character and pattern recognition, etc., can solve problems such as being unsuitable for embedded software, and achieve the effect of improving quality

Active Publication Date: 2019-11-08
SHENYANG AEROSPACE UNIVERSITY
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the present invention is to provide a method for repairing embedded software defects based on access behavior perception, to solve the problem that existing software defect repair methods are not suitable for embedding software problem

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further explained below in conjunction with specific embodiments, but the present invention is not limited thereto.

[0027] The present invention provides a method for repairing embedded software defects based on access behavior perception, which includes the following steps:

[0028] Step 1: Model the hardware access behavior in the embedded system, extract the characteristics and attributes of device access behavior, and model the symptoms of device access defects;

[0029] Among them, in the process of extracting device access behavior characteristics and attributes, it is necessary to determine specific access behaviors (such as reading and writing registers, access ports, management interrupts, etc.) ), the characteristics and attributes of access behavior mainly include register status, address range, module type, port type, etc.;

[0030] Step 2: According to the characteristics of embedded device access behavior, classify device 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 discloses an embedded software defect repairing method based on access behavior perception. The embedded software defect repairing method comprises the following steps of modeling on symptoms of equipment access defects; classifying equipment access defects, and constructing a repair template; clustering the code snippets related to hardware equipment access; carrying out defect statement positioning on the source program to be repaired; judging whether the code contains an equipment access behavior or not; for the code containing the equipment access behavior, judging whether the behavior characteristics of the code have defect symptoms or not, determining a defect type, and selecting a repair template according to the defect type; comparing the defect code with the clustering result, and calculating the distance between the defect code and each clustering center; selecting a category of which the clustering center is closest to the defect code as a repair material code,and synthesizing a candidate repair patch code; and sorting the repaired code segments according to the behavior similarity. According to the method, automatic repair of embedded software defects canbe realized according to equipment access behavior characteristics.

Description

technical field [0001] The invention relates to a method for repairing software defects, in particular to embedded software. Background technique [0002] Software defects (commonly referred to as Bugs) are ubiquitous in all types of software, and software with defects may cause errors or cause failures during operation. Therefore, it is necessary to find defects in a timely manner and take effective repair measures during the software maintenance phase. There are many types of software defects, the scale of software code is huge, the cycle of manual repair is long, and the cost is high. Using machine learning, data analysis and other technologies to realize automatic software defect repair is the future trend. [0003] At present, software defect repair mainly includes three stages: defect location, patch generation, and repair quality assessment. The defect location has been gradually improved after years of development, but the accuracy of defect repair cannot meet the ne...

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/36G06K9/62
CPCG06F11/3604G06F18/23
Inventor 吴昊潘琢金曹一鹏罗振戴旭文
Owner SHENYANG AEROSPACE UNIVERSITY
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