Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Digital hard disc recorder file managing method for preventing file fragment production

A file management method and technology of hard disk video recorder, which are applied in the directions of digital recording, digital recording/reproduction, recording/reproduction/deletion, etc. The effect of failure, prolonging the service life

Active Publication Date: 2006-03-22
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the seek time constituted by the mechanical movement of the magnetic head greatly affects the efficiency of file reading and writing, because the time required for reading and writing the data of a sector located under the magnetic head is only the same as moving the magnetic head to another track and then reading and writing. One-fifth of the time required for data), in severe cases, it may even cause the system to overload during the process of deleting and creating files, and it is too late to record new video data, resulting in loss of video data and shortening the life of the hard disk
Moreover, digital video recorders for monitoring applications generally require 24-hour uninterrupted work, and hard disk defragmentation operations are not allowed during the work process.

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
  • Digital hard disc recorder file managing method for preventing file fragment production
  • Digital hard disc recorder file managing method for preventing file fragment production
  • Digital hard disc recorder file managing method for preventing file fragment production

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Attached below figure 1 With examples, the file management method of the digital hard disk video recorder for preventing the generation of file fragments of the present invention will be further elaborated.

[0027] The technical solution adopted by the present invention includes a file pre-creation process, a first writing process of a video data file, and a video data file overwriting process.

[0028] The pre-creation process is as follows:

[0029] The hard disk is formatted and partitioned. First, format the hard disk. After formatting, partition the hard disk into at least one partition and at most four partitions according to the size of the disk. For example: a 120GB hard disk can be divided into 2 hard disk partitions according to the needs, and the size of each partition is 60GB (after the hard disk is formatted, the actual available partition size is generally about 95% of the original size, that is, about 57GB. The available size can be adjusted according...

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 method of preventing generation of file fragment in digital hard disc video recorder includes mainly the file pre-creating process, the first video recording data file writing process and the video recording data file covering and writing process. The file pre-creating process includes hard disc formatting, creating subarea, and pre-creating 2 index files and N data files of M bytes size; the first video recording data file writing process is to write compressed video and audio data flow into one of the created data files until finishing all the data files on the hard disc connected to the hard disc video recorder; and the video recording data file covering and writing process is to store the newly input compressed video and audio data flow to the earliest data file circularly. The present invention has the advantages of no generation of file fragment and no degradation of access efficiency of video recording hard disc data.

Description

technical field [0001] The invention relates to a hard disk file management method in an embedded system, in particular to a digital hard disk video recorder file management method for preventing the generation of file fragments. Background technique [0002] We know that a DVR (digital video recorder, digital hard disk video recorder) needs to record a large amount of video and audio compressed data streams to a hard disk (including a mobile hard disk) in real time. The traditional DVR file management method is as follows: first format the hard disk and create a partition, and when the DVR recording works, store the data for a fixed period of time (such as 30 minutes) as a file. That is, when a certain channel starts recording, a file is created, and the compressed data of the channel is stored in the file. When the specified time expires, the writing to the file is ended, and then a new file is created, and the compressed data is continued to be written. In the new file, ...

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): G11B20/12G11B27/00G11B5/09H04N5/91
Inventor 胡扬忠陈军科陈礼进周治平赵先林杨颖
Owner HANGZHOU HIKVISION DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products