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

A memory diagnostic method and apparatus

A diagnostic method and diagnostic algorithm technology, applied in the direction of response error generation, instrumentation, electrical digital data processing, etc., can solve problems such as diagnostic blind spots and inability to diagnose and test memory areas

Active Publication Date: 2018-12-25
AGRICULTURAL BANK OF CHINA +1
View PDF5 Cites 3 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
  • A memory diagnostic method and apparatus
  • A memory diagnostic method and apparatus
  • A memory diagnostic method and apparatus

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

A memory diagnostic method and apparatus is provided in the invention. The method includes dividing memory area into variable memory area and immutable memory area, delimiting first area as first stack area in variable memory area, delimiting second area as second stack area, using two stack areas alternately, that is, one stack area is used as stack area when the system is running normally when the memory diagnosis is performed, the other stack area is used as stack area; for the immutable memory area, calculating the actual check code of the data in the immutable memory area and comparing 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, the preset memory diagnostic algorithm being called to diagnose the current memory area to be diagnosed after the stack area is successfully switched to another stack area; otherwise, the preset memory diagnostic algorithm being directly called to diagnose the current memory area to be diagnosed. The invention realizes the diagnostic test of all the 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
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