A method and device for loading and protecting a file system

A file system and a technology for storing files, applied in the computer field, can solve the problem of low security of the file system, and achieve the effect of enhancing security and improving the difficulty of obtaining.

Active Publication Date: 2016-05-25
HUAWEI TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for loading and protecting a file system, so as to solve the problem of low security of the file system existing in the prior art due to the easy presentation of the data structure of the super block information

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 method and device for loading and protecting a file system
  • A method and device for loading and protecting a file system
  • A method and device for loading and protecting a file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] like figure 2 As shown, it is a schematic flowchart of the file system protection method described in Embodiment 1 of the present invention, and the protection method may include the following steps:

[0048] Step 101: Obtain super block information of the file system.

[0049] Specifically, when the file system is established or initialized, the system will automatically obtain the super block information used to describe the most basic information or feature data information of the file system to be established according to the super block information acquisition method in the prior art. This will not be described in detail in the embodiment.

[0050] Step 102: Store the obtained super block information in blocks in N storage sub-areas of the user information area of ​​the storage medium to realize encryption protection of the file system, wherein the user information area is used for the storage medium An area for storing file system information, where N is a posi...

Embodiment 2

[0089]Embodiment 2 of the present invention provides a file system loading method based on the file system protection method described in Embodiment 1. It should be noted that the file system loading method described in Embodiment 2 of the present invention is as follows The inverse process of the file system protection method described in Embodiment 1 of the present invention, that is, the two can use mutually matching encryption and decryption algorithms, block division rules, block storage rules, and the like.

[0090] Specifically, as Figure 4 As shown, it is a schematic flow chart of the file system loading method described in Embodiment 2 of the present invention, and the loading method may include the following steps:

[0091] Step 301: From the user information area of ​​the storage medium used for storing file system information, determine N storage sub-areas for storing super block information in blocks, where N is a positive integer greater than 1.

[0092] Specif...

Embodiment 3

[0116] like Image 6 As shown, it is a schematic structural diagram of the protection device for the file system described in Embodiment 3 of the present invention. The protection device can be an integrated device installed in a computer device or NAS device, or it can be independent of the computer device or An independent device such as a NAS device, which is not limited in this embodiment of the present invention; specifically, the file system protection device may include an information acquisition unit 11 and an information protection unit 12, wherein:

[0117] The information obtaining unit 11 is used to obtain the super block information of the file system; specifically, the file system super block information obtained by the information obtaining unit 11 may include the initial super block of the file system when the file system is established or initialized The information may also include super block information after updating (or modifying) the initial super block ...

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 loading method, a protecting method, a loading device and a protecting device for a file system. The loading method for the file system includes determining N storage sub-regions for block-organized storage for super-block information in a user information region of a storage medium; reading various blocks of the super-block information from the N storage sub-regions and combining the various read blocks according to a connection sequence of information of the various blocks to obtain combined super-block information; and executing loading for the file system according to the combined super-block information. The user information region is used for storing information of the file system, and the N is a positive integer larger than one. According to the technical scheme, the loading method, the protecting method, the loading device and the protecting device have the advantages that the problem of poor safety of an existing file system due to the fact that a data structure of super-block information can be easily displayed in the prior art is solved, and the difficulty in acquiring the information of the file system is increased, so that the safety of the file system is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for loading and protecting a file system. Background technique [0002] The file system is a software mechanism responsible for managing and storing file information in the computer operating system. It is an important part of the computer operating system. In computer equipment, NAS (Network-attached storage, network-attached storage) Establishing a file system on the Internet can achieve the purpose of finally storing information such as files and directories used by users on storage media such as physical hard disks, CDs, and flash memory. [0003] Specifically, for any commonly used file system, such as ext2 (standard file system in GNU / Linux system), ext3 (ext2 extended system), zfs (ZettabyteFileSystem), jfs (JournalFileSystem) and other file systems, it has 1. SuperBlock information used to describe the most basic information of the file system and c...

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): G06F21/10G06F21/62G06F17/30
Inventor 蒲贵友
Owner HUAWEI 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