Method and system for implementing write protection of block memory stack

A technology of block storage and write protection, applied in the direction of preventing unauthorized use of memory, special data processing applications, instruments, etc. The effect of improving reliability

Inactive Publication Date: 2009-06-24
NEW H3C TECH CO LTD
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, for the above two methods, it can only be guaranteed that the file system will not send a write command indicating to write a file to a block that stores data that needs to be protected under normal circumstances, so as to achieve write protection. However, if other applications target the storage block Sending a write command to write data will...

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 system for implementing write protection of block memory stack
  • Method and system for implementing write protection of block memory stack
  • Method and system for implementing write protection of block memory stack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0040] In this embodiment, the driver of the block storage body is provided with a data structure used to represent the write authority of each block in the block storage body, and the driver program judges whether each block in the block storage body can be written according to the internal data structure. write operation.

[0041] Wherein, the data structure set in this embodiment can be one of the following or any combination: any existing data structure such as a one-dimensional array, or a two-dimensional array, or a linked list, or a hash (Hash) table, or a tree structure, And take the data structure using a two-dimensional array as an example, each bit in the two-dimensional array corresponds to each block in the block storage body, and respectiv...

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 discloses a method and a system for realizing write protection to a block memory bank. The invention utilizes the setting of the driving procedure of a block memory bank to indicate the data structure of the write permission of each block in the block memory bank and a driving procedure to judge whether write operation can be conducted to each block in the block memory bank or not. Therefore, whether a write command is given out by a file system or other application procedures, the driving procedure is used to execute write operation to each block in the block memory bank, so that due to the fact that the data structure is set for the driving procedure and the driving procedure judges whether conducting write operation according to the structure, under the circumstances that the file system or other application procedures give out write commands, the protection to the block memory bank can be realized, thereby increasing the reliability of the write protection to the block memory bank. In addition, in the invention, the realization of write protection to the block memory bank does not need the function expansion of the file system, and the cost of the write protection to the block memory bank is reduced.

Description

technical field [0001] The invention relates to data protection technology, in particular to a method for realizing write protection of a block storage body and a system for realizing write protection of a block storage body. Background technique [0002] A block storage body refers to a carrier for data storage organized in blocks on hardware or software. For example, flash memory (Flash) devices are divided into different blocks by storage addresses, and data is stored in the form of address blocks. Specifically, the data stored in the Flash device is stored in the address corresponding to the Flash device in the form of data blocks. In the block, when the data in a certain address block needs to be modified, the entire address block where the data is located must be erased first, and then the modified data is rewritten into the erased address block. For another example, the hard disk is divided into different blocks by sectors, and is organized in sector blocks. When the...

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): G06F12/14G06F17/30
Inventor 李秀中
Owner NEW H3C TECH CO LTD
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