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

Protection method and system for user-mode nonvolatile memory file system

A non-volatile memory and file system technology, applied in digital data protection, instruments, computing, etc., can solve the problems of file system data corruption, application termination, file system corruption, etc., to improve reliability and prevent abnormal termination Effect

Active Publication Date: 2020-01-03
SHANGHAI JIAO TONG UNIV
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Flaws in the application can easily overwrite data and metadata in non-volatile memory, causing damage to the userland file system
At the same time, since the user-mode file system can access all non-volatile memory, when an error occurs in some metadata stored in the non-volatile memory, the code of the file system will incorrectly modify the non-volatile memory, resulting in an error in the The file system is sprawled and the entire file system gets corrupted
Finally, since the user mode file system and the application program are in the user mode, if a thread has a memory access exception in the user mode file system code, the entire application program will be terminated
This includes other threads that are manipulating non-volatile memory, which can cause file system data corruption

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
  • Protection method and system for user-mode nonvolatile memory file system
  • Protection method and system for user-mode nonvolatile memory file system
  • Protection method and system for user-mode nonvolatile memory file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0040] Such as figure 1 As shown, a kind of protection method for the non-volatile memory file system of user mode provided by the present invention includes the following three aspects:

[0041] 1. File system and application isolation: use the memory protection key mechanism to isolate the non-volatile memory file system and application code in user mode. Such as figure 2 As shown in , the data of the file system and the application memory are mapped in different memory protection groups, so that w...

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 protection method and system for a user-mode nonvolatile memory file system. The protection method comprises the steps that 1, the nonvolatile memory file system and application program codes are isolated in a user mode through a memory protection key mechanism; 2, dividing a nonvolatile memory of the user mode file system into a plurality of regions, and isolating the regions; thirdly, file system errors and abnormalities are processed in a user mode, and abnormal termination of an application program due to data errors in a file system is prevented. The invention provides a protection and isolation mechanism for a user mode nonvolatile memory file system. Data and metadata of the user-mode nonvolatile memory file system are prevented from being damaged randomly due to defects and errors of an application program; according to the method, metadata errors can be isolated in a certain area, errors are prevented from scattering to the whole file system, abnormaltermination of an application program due to the errors in the user mode file system can be prevented, and the reliability, robustness and availability of the whole system are improved.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a protection method and system for a user state non-volatile memory file system. Background technique [0002] Non-volatile memory has low latency and high throughput similar to ordinary memory, and also has the non-volatility and high density of storage devices. At the same time, non-volatile memory can be addressed at byte granularity, and can be accessed like ordinary memory using the processor's load / store instructions. Therefore, non-volatile memory can be managed directly in userland. [0003] The emergence of non-volatile memory makes the user mode file system more efficient. Traditional user-mode file systems require close cooperation with the kernel. For example, if you use the FUSE user-mode file system, when the application sends a system call, the information and data of the system call will be transmitted to the kernel first, and the kernel will forward a...

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 Applications(China)
IPC IPC(8): G06F21/62
CPCG06F21/6218
Inventor 董明凯卜衡易纪非董本超陈海波
Owner SHANGHAI JIAO TONG UNIV