Check patentability & draft patents in minutes with Patsnap Eureka AI!

A memory detection method and device

A memory detection and memory technology, applied in the field of memory, can solve problems such as difficulty in detecting memory overflows and exceptions in a timely manner, achieve the effect of convenient program debugging and reduce hidden dangers

Active Publication Date: 2011-12-14
SHENZHEN IPANEL TECH LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiment of the present invention is to provide a memory detection method, aiming to solve the problem that the existing memory detection method is difficult to detect errors such as memory overflow and abnormality in time

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 memory detection method and device
  • A memory detection method and device
  • A memory detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0019] In the embodiment of the present invention, a corresponding state value is set for the memory according to the use state of the memory, and when the memory or data in the memory is used, it is determined whether the memory has a memory error, such as memory overflow, abnormality, by detecting the state value of the memory. Or the wild pointer phenomenon.

[0020] figure 1 The implementation process of the memory detection method provided by the embodiment of the present invention is shown, and the details are as follows:

[0021] In step S101, corresponding state values ​​are set ...

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 present invention is applicable to the field of memory, and provides a memory detection method and device. The method includes the following steps: A. Setting corresponding state values ​​for memory in different states; B. Detecting the usage of the memory, according to the The status value determines whether a memory error occurs in the memory. The embodiment of the present invention sets corresponding state values ​​for the memory according to different states of the memory, detects the memory usage, and judges whether memory overflow, abnormality or wild pointer phenomenon occurs in the memory according to the state values ​​of the memory, so that it can be timely, fast and effective During the running of the computer program, it detects errors such as memory overflow, abnormality or wild pointers in the memory, which reduces the hidden dangers of the computer program and brings convenience to program debugging.

Description

technical field [0001] The invention belongs to the field of memory, and in particular relates to a memory detection method and device. Background technique [0002] Memory management is extremely important in the design of computer systems. Efficient memory allocation, release and organization have become more and more important in applications. Memory overflows, memory exceptions, or wild pointers often occur during memory use, resulting in computer programs. Abnormalities or errors will cause the computer to crash in severe cases, so the detection of memory is very important for computer systems and computer programs. Memory overflow means that after a computer program allocates a memory area to store data according to a specified size, the data written to the memory exceeds the pre-allocated memory area, resulting in overwriting of data in other memory areas. A memory exception means that after a computer program allocates a memory area with a specified size, the data i...

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 SHENZHEN IPANEL TECH LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More