Software aging detection method and device and computer readable storage medium

A software aging and detection method technology, applied in the field of application programs, can solve problems such as inaccurate software aging detection

Active Publication Date: 2020-07-10
PENG CHENG LAB
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a software aging detection method and its ...

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
  • Software aging detection method and device and computer readable storage medium
  • Software aging detection method and device and computer readable storage medium
  • Software aging detection method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0074] refer to figure 2 , figure 2 It is the first embodiment of the detection method of software aging of the present invention, and the detection method of software aging includes the following steps:

[0075] Step S10, obtaining the total amount of heap usage corresponding to the test software and the target software at different times, wherein the test software simulates the operation of the target software, and the test software is injected with a memory leak vulnerability;

[0076] In this embodiment, the execution subject is a software aging detection device. The software version of the test software is installed in the operating system of a given execution environment and receives the load injected by the workload generator, thereby simulating the operation of the target software. The workload generator can allocate the memory block size to control the workload intensity. The workload intensity is divided into low, normal and high levels. The workload generator ca...

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 software aging detection method, and the software aging detection method comprises the following steps: acquiring the total usage amount of piles corresponding to test software and target software at different moments, wherein the test software simulates the operation of the target software, and the test software is injected into a memory leak hole; determining a divergence value corresponding to each moment according to a first total usage amount corresponding to the test software and a second total usage amount corresponding to the target software, wherein the divergence value is a difference amount between the first total usage amount and the second total usage amount at the same moment; when each divergence value is less than a preset threshold, judging that the target software is not aged. The invention further discloses a software aging detection device and a computer readable storage medium. According to the method, the aging of the software is accurately determined.

Description

technical field [0001] The invention relates to the technical field of application programs, in particular to a software aging detection method, a device thereof, and a computer-readable storage medium. Background technique [0002] Software aging phenomenon exists in many software systems that run continuously for a long time. This phenomenon is usually caused by bugs caused by software failures. These bugs can lead to the accumulation of errors during software execution, and after a long period of execution, lead to performance degradation. Or system failure and other adverse consequences. [0003] One of the main causes of software aging is memory leaks, which are mainly reflected in the usage of the heap in the process. Traditional approaches have adopted a trend-based approach to discover increasing trends in memory usage. However, as the number of process heaps increases, trend detection itself cannot ensure the existence of memory leaks, resulting in inaccurate soft...

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/36
CPCG06F11/3644G06F11/366
Inventor 赵靖王思家陈依群孙丽群
Owner PENG CHENG LAB
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