Multi-path audio/video stream storage method for preventing disk fragments from formation

A multi-channel audio and video, disk fragmentation technology, applied in the storage field, can solve the problems of frame loss, not involving multi-channel audio and video stream storage and management, database update delay failure, etc., and achieve the effect of improving access efficiency

Inactive Publication Date: 2015-10-07
GUANGDONG UNIV OF TECH
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when the storage parameters such as the data stream size and storage time of each audio and video stream are different, it is impossible to accurately control the total recording time of each audio and video data stream
[0004] Chinese patent 201210495293.6 proposes a method for reducing disk fragmentation. When the NVR is used for the first time, a certain number of files are pre-allocated on the disk, and the information of these files is written into the database. When video recording is required, the currently available files are queried from the database, and then Write data to the

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
  • Multi-path audio/video stream storage method for preventing disk fragments from formation
  • Multi-path audio/video stream storage method for preventing disk fragments from formation
  • Multi-path audio/video stream storage method for preventing disk fragments from formation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. As a part of this specification, the principles of the present invention will be described through examples. Other aspects, features and advantages of the present invention will become clear through the detailed description. In the referenced drawings, the same reference numerals are used for the same or similar components in different drawings. In order to make the present invention easier to understand, specific embodiments of the present invention will be further described below.

[0048] Such as Figure 1-3 As shown, a kind of multi-channel audio-video stream storage method that prevents disk fragmentation of the present invention from producing comprises the following steps:

[0049]Step 1. Create a data file for storing audio and video streams.

[0050] Further, step S1 includes:

[0051] S1-1. Format the hard disk and create s s...

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 present invention discloses a multi-path audio/video stream storage method for preventing disk fragments from formation. The multi-path audio/video stream storage method comprises the following main steps of: (1) establishing data files for storing audio/video streams; (2) distributing data files stored by the plurality of the audio/video streams, namely respectively setting a storage space needed by each path of the audio/video stream, automatically distributing the data files with the corresponding quantity according to the storage space needed by each path of the audio/video stream, and respectively establishing a data file index database table corresponding to each path of the audio/video stream and inserting the data file index database table into a record of the data file distributed by the data file index database table; and (3) storing the plurality of paths of audio/video streams, namely independently storing each path of audio/video stream by combining a database and updating a database record corresponding to the audio/video stream according to the requirements. The multi-path audio/video stream storage method for preventing the disk fragments from formation has the advantages that the disk fragments are not formed; the storage efficiency of the audio/video streams is not reduced along the increasing of time, and total recording time of each path of audio/video stream is accurately controlled; and a disk space occupied by the data file of each path of audio/video stream is continuous so that the accessing efficiency of the audio/video stream files is improved.

Description

technical field [0001] The invention relates to the technical field of storage, in particular to a multi-channel audio and video stream storage method that prevents disk fragmentation. Background technique [0002] Traditional hard disk video recorders and network hard disk video recorders need real-time audio and video storage to work: create a file when a certain channel starts recording, fill the data of the audio and video stream into the file, and when the specified time is up (such as 5 minutes), End the filling of the file, then create a new file, continue to fill the data of the audio and video stream into the new file, and so on. After continuous file operations such as creating, deleting, and writing, the disk will be fragmented, which will affect the performance of the system and the life of the disk. [0003] Chinese patent 200510050829.3 discloses a file management method of a hard disk video recorder to prevent file fragmentation, and proposes a file managemen...

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 GUANGDONG UNIV OF 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