Video recording file management method and device for easily preventing disk fragments from being generated

A technology for video files and disk fragmentation

Active Publication Date: 2013-12-25
NANJING NANZI INFORMATION TECH
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention proposes a management method and equipment for simply preventing disk fragments from generating video files. Its purpose is to solve the problem that a large

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
  • Video recording file management method and device for easily preventing disk fragments from being generated

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0022] The equipment is a video recorder.

[0023] 1. Initialization process

[0024] (1) Format the entire disk in the video recorder into a partition, formatting into a partition can use all the disk space;

[0025] (2) Set the fixed size of the video file to A(byte);

[0026] 2. Start the process

[0027] (1) The program starts;

[0028] (2) Determine whether a database for indexing video files has been created, if it has been created, go to step (4), if not, go to step (3);

[0029] (3) Create a database, establish a table structure, an index, the content of the table structure includes the start time, end time, file size, etc. of the video. According to needs, the content recorded in the database can also include audio and video related parameters such as channel number, encoding parameters, frame rate, and bit stream size;

[0030] (4) Open the database;

[0031] 3. Operation process, refer to attachment figure 1

[0032] (1) Start a new video;

[0033] (2) Judge whether the disk in t...

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 video recording file management method and device for easily preventing disk fragments from being generated. The method comprises the following steps that firstly, disk formatting is conducted on a video recorder, a disk is fixedly set to one subarea or multiple subareas, and different formatting methods provided by an operating system are applied to different file systems; secondly, a video recording file index database is established, and the video recording file retrieval service is provided; thirdly, the size of each video recording file is fixed and marked as A (Byte); fourthly, when the disk is not fully occupied, a general file establishment and write-in method is applied; fifthly, when the disk is fully occupied, the file which is established earliest on the disk is found out and used as a new video recording file, write-in is conducted from the start position of the file in a covering mode, and the step is repeated. The video recording file management method and device for easily preventing disk fragments from being generated have the advantages of being simple, easy to achieve and compatible with different file systems due to the fact that the management method and device capable of easily preventing the disk fragments from generating the video recording file are established on a general file system; the problems that after audio and video data are written in a hard disk recorder in a circulating mode for a long time, a great number of disk fragments are generated and the system operating efficiency is influenced are solved.

Description

Technical field [0001] The invention is a management method and equipment for simply preventing the generation of video files from disk fragments, and is suitable for hard disk video recorders that require long and cyclic writing of audio and video data. After use, it can greatly reduce disk fragmentation and improve system efficiency. And the present invention is simple and easy to implement. Background technique [0002] Hard disk video recorders (DVR) and network hard disk video recorders (NVR) need to write audio and video data in real time. When the disk is full, you need to delete the oldest video file first, and then create a new video file. Deleting the video file is very costly. For resource operations, when deleting video files and writing new video files at the same time, system performance will drop sharply. Due to continuous creation, deletion, and writing operations, the disk will become fragmented. As time goes by, the fragmentation becomes more and more serious...

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
IPC IPC(8): G11B27/10G11B20/10
Inventor 卫刚吴磊王强
Owner NANJING NANZI INFORMATION 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