Method and device for storing video data
A data storage and video recording technology, which is applied in image communication, TV, color TV components, etc., can solve the problems of reduced disk performance, excessive memory consumption, and poor metadata management, and achieves improved performance and storage stability. , avoid back and forth beating, reduce the effect of storage cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] An embodiment of the present invention provides a video data storage method. The executor of the embodiment of the present invention is a server or a storage device for storing video data. Before storing video data, divide the file blocks used to store video data and create a list of free blocks through the following operations, including:
[0064] Divide a preset number of file blocks from the storage space of the disk according to the preset block size, assign a block name to each file block, and record the block path of each file block. The path and each file block are correspondingly stored in the free block list.
[0065] The aforementioned preset block size may be 4K or 8K. The preset number may be a preset maximum threshold of the number of file blocks in the free block list. The block name assigned to the file block can be a numerical number, such as 001 or 111. The block path of a file block is the location of the file block on disk.
[0066] In the embodi...
Embodiment 2
[0104] see figure 2 An embodiment of the present invention provides a video data storage device, which is used to implement the video data storage method provided in the first embodiment above. Specifically, the device includes:
[0105] Judgment module 201 is used to receive the data frame transmitted by the video recording channel, and judge whether the data frame is the first data frame transmitted by the video recording channel according to the channel identification of the video recording channel;
[0106] The first storage module 202 is used to create a corresponding video block for the video channel in the disk when the judging module 201 judges that the data frame is the data frame transmitted by the video channel for the first time, and stores the data frame sequentially in the created video block;
[0107] The second storage module 203 is used for when judging module 201 judges that the data frame is not the data frame transmitted by the video channel for the first...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


