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

A technology for video files and disk fragmentation
CN103474087AActive Publication Date: 2013-12-25NANJING NANZI INFORMATION TECH

Patent Information

Authority / Receiving Office
CN ยท China
Current Assignee / Owner
NANJING NANZI INFORMATION TECH
Publication Date
2013-12-25

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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