Data storage method and device

A data storage and data package technology, applied in the field of data processing, can solve problems affecting data storage stability and storage efficiency, achieve storage stability and improve data storage efficiency

Active Publication Date: 2010-05-26
NETPOSA TECH
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore there is such shortcoming in the method for storing data of existing video recording system: due to the generation of described fragment in storage area, have had a strong impact on the stability of data storage and storage efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] When the data of the existing multi-video channels is stored, the stored data of each channel is scattered. When the subsequent operation of deleting the data of a certain channel is performed, fragments will be generated in the storage area. After the video system has been running for a long time, the number of fragments generated will also continue to increase. Once the storage space in the storage area is full, and the fragments need to be used to store the data packets generated by each video channel, the storage stability and storage efficiency of the data will be seriously affected.

[0044] Therefore, the embodiment of the present invention provides a solution, the basic idea of ​​which is: divide a storage area for different video channels, and each video channel performs data cyclic storage in the corresponding storage area.

[0045] After the disk is formatted, a corresponding storage area is established for each video channel, and a storage area can be a disk...

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 device. The method comprises the following steps: receiving a data pack which is needed to be stored and transmitted from a data channel, judging whether enough residual space for storing the data pack to be stored is in a storage area corresponding to the data channel; if so, determining the storage information of the data pack, storing the data pack in the storage place of the storage area according to the indication of the storage information; if not, determining the number of data packs needed to deleted according to preset conditions, deleting the same number of data packs with earliest storage time in the storage area, and then executing the judgment operation. The data storage method and device can not generate fragment during the data storage process and increase the stability and efficiency of the data storage.

Description

technical field [0001] The present invention relates to the field of data processing, and more specifically, to a data storage method and device. Background technique [0002] When the existing video recording system stores data, multiple video channels share the same storage area. The storage area is realized by a physical disk or a disk array, and sequentially stores the received data packets. When storing the data packets corresponding to each recording channel, the data packets of multiple recording channels are sequentially stored in the storage area according to the time when each recording channel requests to store the data packets. [0003] Since the data corresponding to each recording channel is in a discontinuous position in the storage area, when data of a certain recording channel is deleted, fragments will be generated in the storage area. In particular, there are multiple video channels, and after multiple data deletions, the number of fragments formed in 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): G11B27/031G11B27/10
Inventor 郭军
Owner NETPOSA TECH
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