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.