Bitmap storage method

A memory, one-to-one correspondence technology, applied in the computer field, can solve the problems of large area access, time-consuming, and many preparation requirements, so as to reduce the probability of problems and save the storage area.

Active Publication Date: 2015-07-22
武汉神州数码云科网络技术有限公司
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first solution has a large area, which is not only time-consuming to access, but also has a high probability of being damaged. The second solution has a large burden on each IO, and needs to be re-read after each restart. Entering block information, generally requires the initialization to be completely completed before it can work normally, and requires more preparations in the early stage

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
  • Bitmap storage method
  • Bitmap storage method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0023] figure 1 It is a flow chart of a bitmap storage method proposed in Embodiment 1 of the present invention, such as figure 1 As shown, the method includes the following steps:

[0024] S101, according to the number of CPUs, the strips of the disk array raid are evenly divided to obtain a plurality of blocks corresponding to each CPU, a...

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 bitmap storage method. The bitmap storage method includes the steps that stripes of a redundant array of inexpensive disks raid are evenly distributed according to the number of CPUs, and multiple blocks corresponding to the CPUs one to one are acquired, wherein each block comprises multiple raid stripes; multiple bit pairs are selected from a memory and used for representing the use states of the blocks, and a region bitmap is acquired, wherein the bit pairs comprise first bits and second bits, the first bits are used for representing whether the blocks are written or not, and the second bits are used for representing whether the blocks are initialized. By the adoption of the bitmap storage method, the IO number of the stripe blocks to which a computer has access for the first time after the computer is restarted can be reduced, the first-time IO write speed is higher after the computer is restarted, when the computer is restarted, the initialization and reconstruction progress is kept to a large degree, and multiple restarts are allowed in the reconstruction or initialization process; the storage region of the bitmap is saved, and then the probability that the bitmap in superblocks breaks down is reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a bitmap storage method. Background technique [0002] In order to use the read-rewrite algorithm in the raid, it must be ensured that the raid has been initialized before the algorithm is performed, and for blocks that have not been initialized, only reconstruction and writing can be used. Therefore, during the operation of the raid, a bitmap is required to represent which stripes or blocks are initialized. [0003] In the existing technologies, there are mainly two kinds, one is to store the whole bitmap, or to store the bitmap in various blocks dispersedly. The first solution has a large area, which is not only time-consuming to access, but also has a high probability of being damaged. The second solution has a large burden on each IO, and needs to be re-read after each restart. Entering block information generally requires the initialization to be completely completed bef...

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): G06F3/06
Inventor 高华龙
Owner 武汉神州数码云科网络技术有限公司
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