Data storage management method and device

A technology for data storage and management methods, applied in the field of data storage management methods and devices, can solve the problems of discrete data storage space, fragmented disks, easy file loss, etc., and achieve the effect of ensuring stability

Active Publication Date: 2015-03-25
ZHEJIANG DAHUA TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for data storage management, which is used to solve the problem in the prior art that after the file system has been running for a long time, the data storage space tends to be discrete, resulting in fragmentation of the disk, and thus the problem that files are easy to be lost

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to solve the problem in the prior art that after the file system has been running for a long time, the data storage space tends to be discrete, resulting in fragmentation of the disk, and thus the easy loss of files. In the embodiment of the present invention, a circular queue file system (Circular Queue File System, CQFS) is used to store and manage files in the system.

[0068] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0069] refer to figure 1 As shown, in the embodiment of the present invention, the specific flow of the management device for data storage management is as follows:

[0070] Step 100: In the system configuration phase, the management device creates at least one CQFS file system, and the at least one CQFS file system includes a preset number and a preset size of CQFS data blocks.

[0071] In this embodiment, the data management device may be a user terminal...

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 management method and device. The data storage management method and device are used for solving the problems that a disk is fragmented, and files are prone to being lost. The method comprises the steps that in the system configuration stage, the management device sets up at least one CQFS, and the at least one CQFS comprises CQFS data blocks of the preset number and the preset size; in the system running stage, the management device writes generated service data in each CQFS data block of the at least one CQFS one by one, and every time one CQFS data block is used, a corresponding data block recovery timestamp is generated corresponding to the used CQFS data block. The management device removes the service data in each data block in sequence according to the data block recovery timestamp corresponding to each CQFS data block. Every time the service data in one data block are removed, newly-generated service data continue to be written in the corresponding CQFS data block with the service data removed.

Description

technical field [0001] The invention relates to data storage technology, in particular to a data storage management method and device. Background technique [0002] In the security monitoring system, the video storage function is one of the core functions. The audio and video data recorded by the camera need to be stored every moment, and the storage space in the system is limited, so the system needs to continuously recycle the previous audio and video data. Data, store newly recorded audio and video data. Traditional common file systems, such as New Technology File System (New Technology File System, NTFS) Microsoft Windows NT environment file system or third-generation extended file system (Third Extended File System, EXT3) Linux environment log file system in the processing storage During the process of space reclamation, a large number of disk fragments will be generated, and if things go on like this, disk performance degradation will occur. [0003] When using the N...

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): G06F17/30G06F11/14
CPCG06F16/11G06F16/134
Inventor 孙俊伟张兴明
Owner ZHEJIANG DAHUA 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