Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2019-01-22
NETPOSA TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above-mentioned related technologies pre-allocate storage areas for video channels, resulting in limited writing performance and difficult management of metadata. Centralized storage of metadata and data packets to be stored together causes the head of the disk to go back and forth between the metadata and video data areas. Jumping, reducing disk performance, excessive memory consumption

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
  • Method and device for storing video data
  • Method and device for storing video data
  • Method and device for storing video data

Examples

Experimental program
Comparison scheme
Effect test

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...

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 invention provides a video recording data storage method and device. The method comprises the following steps: receiving data frames transmitted by video recording channels, and judging whether the data frames are data frames being transmitted for the first time by the video recording channels or not according to channel identifiers of the video recording channels; if so, creating corresponding video recording blocks for the video recording channels in a disk, and sequentially storing the data frames in the created video recording blocks; if not, sequentially storing the data frames in the video recording blocks corresponding to the channel identifiers in the disk according to the channel identifiers; and acquiring metadata corresponding to the data frames, and storing the metadata in a metadata database in a memory. According to the method and the device, data storage of the plurality of video recording channels is managed in a centralized way through the channel identifiers of the video recording channels, thereby lowering the storage cost. The data frames are stored in the disk, and the metadata is stored in the memory, thereby avoiding back-and-forth jumping of a magnetic head of the disk between a metadata area and a video recording data area, and improving the performance of video recording data storage and the storage stability.

Description

technical field [0001] The present invention relates to the technical field of video storage, in particular to a video data storage method and device. Background technique [0002] At present, the video surveillance system plays a vital role in social security management. The video surveillance system generates a large amount of video data every day. Therefore, the storage of video data has become an important problem to be solved in the video surveillance system. [0003] Currently, a method for storing video data is provided in the related art, including: pre-allocating a storage area for a video channel in a disk. Receive a data packet to be stored transmitted by a video channel, determine the storage area corresponding to the video channel in the disk, obtain the metadata of the data packet to be stored, and centrally store the data packet to be stored and its metadata in the storage area determined above . [0004] The above-mentioned related technologies pre-allocate...

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 Patents(China)
IPC IPC(8): H04N5/76H04N5/781
Inventor 夏华丽王朝昕
Owner NETPOSA TECH