A storage method of bitmap

A memory, one-to-one correspondence technology, applied in the computer field, can solve problems such as time-consuming, large-scale access, and block corruption, so as to save storage area and reduce the probability of problems

Active Publication Date: 2018-04-06
武汉神州数码云科网络技术有限公司 +1
View PDF7 Cites 0 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
  • A storage method of bitmap
  • A storage method of bitmap

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purposes, 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 with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

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

[0024] S101, divide the stripes of the disk array raid equally according to the number of CPUs to obtain a plurality of blocks corresponding to each ...

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, and in particular, to a storage method of a bitmap. Background technique [0002] In order to use the read-write algorithm in 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 can be used. Therefore, during the operation of the raid, a bitmap is required to represent which strips or blocks are initialized. [0003] In the existing technologies, there are mainly two types, one is to store the entire bitmap, or the bitmap is stored in a scattered manner in each block. The first solution is not only time-consuming to access, but also has a high probability of block destruction. The second solution has a larger burden on each IO, and needs to be re-read after each restart. In order to enter the block information, it is generally required that the initialization is completely completed b...

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): 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