Method and device for data storage

A data storage and storage configuration technology, applied in the network field, can solve the problems of wasting storage space, complex implementation, and time-consuming, etc., and achieve the effect of eliminating file fragments and realizing dynamic addition and deletion

Active Publication Date: 2009-09-23
NEW H3C TECH CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The implementation methods in the prior art have the following problems: a series of complex data structures and dedicated management areas are used to manage fixed files, which is complicated and wastes storage space
In addition, all arrays or hard disks need to be filled with fixed-size files during initialization, and the capacity of a storage device in the current monitoring system is basically more than 8T, and it will take a lot of time to write all the files
In addition, since storage capacity is fixedly allocated to storage channels, dynamic addition and deletion of storage channels is not supported

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 device for data storage
  • Method and device for data storage
  • Method and device for data storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

[0061] The present invention provides a data storage method. Multiple first-level folders are established in the storage space, and multiple second-level folders are created under each first-level folder; the first-level folders can be channel folders, and the second-level files The folder can be a date folder, and of course different naming methods can be used. Such as figure 1 As shown, the method includes:

[0062] Step s101 , among the multiple established first-level fol...

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 device for data storage. The method comprises the following steps of: assigning a first-level file folder for an established channel in a plurality of established first-level file folders; assigning a secondary-level file folder in a plurality of established secondary-level file folders under the first-level file folders; and establishing a file with a fixed size used for storing the data in the channel. In the invention, the form of assigning multilevel file folders for the channel realizes the data storage in the channel, which has no need to spend large amount of time for pre-establishing a file at the very start; and the form also realizes the dynamic addition and deletion, and the dynamic expansion or reduction of the capacity of the storage channel. Furthermore, by cycle overwriting of the files with fixed sizes, the invention completely avoids the generation of the file fragmentation, thus leading the storage performance of arrays or disks to have no reduction with the increasing of the service time.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a data storage method and device. Background technique [0002] With the development of the economy, the demand for security is getting higher and higher. As an important part of the security field, video surveillance has also developed rapidly in recent years. It has developed from an early dedicated system in a specific field to the current digital, multi-network, field, large data volume video surveillance system. [0003] The technology of video surveillance mainly includes audio and video collection, data playback and data storage. The basic working principle of a video surveillance system is to use a camera / camera to obtain video information, and then encode it with an encoder to digitize the video data. In addition to being used for real-time monitoring, digitized video data can also be stored for subsequent playback. [0004] The main purpose of video surveillance is ...

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/00G11B13/00G06F3/06H04N5/78
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