Unlock instant, AI-driven research and patent intelligence for your innovation.

Repair method of bad block in memory

A repair method and memory block technology, applied in the direction of responding to the generation of errors, etc., to ensure the normal operation and ensure the stability of the system.

Active Publication Date: 2015-08-19
宋易霄
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to overcome the above-mentioned deficiencies, and provide a method that can conveniently detect memory bad blocks that appear in the memory management system and prompt the location of the bad blocks without adding any tags and consuming extra memory. and information memory block validity detection method

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
  • Repair method of bad block in memory
  • Repair method of bad block in memory
  • Repair method of bad block in memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0021] There are two types of memory blocks in the memory management system, including: ALLOC blocks and FREE blocks. The ALLOC block is a used and allocated memory block, referred to as an allocated block in this article; the FREE block is a free memory block, referred to as a free block in this article.

[0022] like figure 1 Shown is a schematic diagram of the ALLOC block and the FREE block in the memory management system. ALLOC blocks and FREE blocks exist alternately, and there are no two or more adjacent FREE blocks, so the adjacent free blocks behind the FREE blocks must be ALLOC blocks. And, the last memory block is an ALLOC block.

[0023] like figure 2 As shown, each memory block (that is, ALLOC block and FREE) has the same structure, including header information and user data. The header information of a memory block includes the size o...

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 provides a bad block repair method for a memory. The bad block repair method includes the steps: discovering a bad block in a memory management system and knowing a previous memory block of the bad block; finding a next memory block of the bad block; extracting header information of the previous memory block and the next memory block of the bad block and calculating damaged header information of the bad block according to the header information of the previous memory block and the next memory block; and refilling the calculated header information to the damaged head of the bad block to repair the bad block. Based on detection of the bad block, the bad block is repaired, completeness of the damaged memory block is restored, and normal operation and system stability of a memory management mechanism are ensured.

Description

【Technical field】 [0001] The invention relates to a method for repairing bad blocks in a memory management system. 【Background technique】 [0002] At present, memory management in almost all operating systems adopts a dynamic memory allocation mechanism. In the process of using the dynamically allocated memory block, the header information of the dynamic memory block will be damaged due to irregular code writing by programmers or other reasons. Once the memory block is destroyed, the system will release the memory block. Errors often occur when storing memory blocks, and in severe cases, there will be downtime. [0003] At present, there are already many detection methods for detecting memory bad blocks. For example, the "memory block validity detection method" applied by the applicant on June 18, 2012 can effectively detect memory bad blocks occurring in the memory management system. blocks, and prompts the location and information of bad blocks. [0004] But at present,...

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/07
Inventor 罗德贵车任秋
Owner 宋易霄