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

Data storage method and system

A data storage and data technology, applied in memory systems, digital data processing, preventing unauthorized use of memory, etc., can solve problems affecting file system operating performance, time-consuming, etc., to ensure integrity and avoid crashes.

Active Publication Date: 2014-01-15
ZHEJIANG DAHUA TECH CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the one hand, this solution can effectively avoid the situation that the file system is unavailable or a large number of files are lost due to key data loss, but on the other hand, because it is quite time-consuming when there is no cache during storage, it will seriously affect the file system. Operating performance

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
  • Data storage method and system
  • Data storage method and system
  • Data storage method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of the present invention provide a data storage method and system to improve the response speed of file operations.

[0038] A method and system provided by the present invention will be described below in conjunction with specific implementation methods and accompanying drawings.

[0039] Such as figure 1 As shown, it is a flow chart of a data storage method provided by Embodiment 1 of the present invention, including the following steps:

[0040] Step 101: storing the file system data in the first cache, creating an event for describing the operation, and sending the event to the queue of the thread storing the file system data;

[0041] Step 102: The thread acquires an event from the queue and executes the event, and stores the execution result of the event in the second cache;

[0042] Wherein, the execution result of the event is the file system data obtained by executing the event, and the file system data is originally stored in the first cache.

...

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 data storage method and system in order to improve the response speed of file operation. The data storage method comprises the following steps that file system data are stored in a first cache, an event used for describing the operation is built and sent to a queue of a thread storing the file system data; the thread obtains an event from the queue and executes the event, and the execution result of the event is stored in a second cache; when a preset condition is satisfied, the file system data stored in the second cache are stored in a disc. The data storage method obviously improves the response speed of file operation, guarantees the completeness of the file system data when abnormal outage occurs, and loss of files in the abnormal outage is reduced to the maximum extent.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data storage method and system. Background technique [0002] The performance bottleneck of the file system lies in the data interaction with the storage medium. Frequent access to the storage medium seriously affects the performance of the file system. Interactions all happen in memory. [0003] In the embedded storage device, due to the limited memory space, some key data of the file system cannot be written to the storage medium in the memory at one time, and can only be written from the cache to the storage medium in batches. If the key data has not been written yet, the device will be abnormally powered off. In this case, the key data of the file system on the storage medium will not be complete, and many files may be lost when the next mount is performed. The file system is directly paralyzed. [0004] Another existing technical solution is to directly write to th...

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): G06F12/14G06F12/08G06F12/0895G06F12/0897
Inventor 姚国勤陈小军吴立杨斌张兴明傅利泉朱江明吴军吴坚
Owner ZHEJIANG DAHUA TECH CO LTD