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

Method and device for memory diagnosis

A diagnostic method and diagnostic algorithm technology, which is applied in the direction of redundant code error detection, instrumentation, error detection/correction, etc., can solve the problems of diagnostic blind spots and inability to diagnose and test memory areas, and achieve the effect of diagnostic testing

Active Publication Date: 2021-12-24
AGRICULTURAL BANK OF CHINA +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] In view of this, the present invention provides a memory diagnosis method and device to solve the problem that the existing memory diagnosis method cannot realize the diagnosis test for all memory areas, and there is a diagnostic blind area

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 device for memory diagnosis
  • Method and device for memory diagnosis
  • Method and device for memory diagnosis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0078] One of the main ideas of the present invention includes but is not limited to: according to the characteristics of memory use, the memory area in the system is divided into variable memory area (also called readable and writable memory area) and immutable memory area (also called non-writable memory area) in advance. memory area). Further for the diagnosis of stack memory, two areas are designated in the variable memory area, namely the first area and t...

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 provides a method and device for memory diagnosis, including dividing the memory area into variable memory area and immutable memory area in advance, and further dividing the first area in the variable memory area as the first stack area, and drawing out the second stack area. The second area is used as the second stack area, and the two stack areas are used alternately, that is, one stack area is used for memory diagnosis, and the other stack area is used as the stack area for the normal operation of the system. For the immutable memory area, the present invention calculates the actual check code of the data in the immutable memory area, and compares the actual check code with the source check code to realize the diagnosis of the immutable memory area; for the variable memory area, if The current memory area to be diagnosed is a stack area, then after the stack area is successfully switched to another stack area, call the preset memory diagnosis algorithm to diagnose the current memory area to be diagnosed, otherwise, directly call the preset memory diagnosis The algorithm diagnoses the memory area currently to be diagnosed. The invention realizes the diagnosis test of all memory areas in the system.

Description

technical field [0001] The invention relates to the technical field of safe computer systems, in particular to a memory diagnosis method and device. Background technique [0002] A safety-critical system refers to a system that requires extremely high levels of security for the software and hardware that make up the system. The operation of a safety-critical system is directly related to the safety of personnel and property. [0003] Self-diagnosis refers to the technology that the system detects and handles faults or failure events by setting diagnostic functions, and is an important means to improve system security and reliability. [0004] The data segment refers to a memory area used to store initialized global variables in the program. The data segment is a static memory allocation. [0005] The code segment refers to a memory area used to store program execution code. The size of this part of the area has been determined before the program runs, and the memory area ...

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/10
CPCG06F11/1004G06F11/1016
Inventor 吕晓昱姚琥张虎
Owner AGRICULTURAL BANK OF CHINA
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