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

Real-time video storage and retrieval method and device

A real-time video and video technology, applied in the field of video storage, can solve the problems of inefficient video retrieval, abnormal loading of block index files, and inability to retrieve, and achieve the effect of fast retrieval.

Active Publication Date: 2017-01-11
NETPOSA TECH
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the embodiments of the present invention is to provide a real-time video storage and retrieval method and device to solve the problem of video retrieval when the block index file is damaged or lost by using the video storage method in the prior art. Becomes very inefficient, even impossible to retrieve, or the block index file loads abnormally due to insufficient storage memory, resulting in the problem that the video cannot be retrieved quickly

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
  • Real-time video storage and retrieval method and device
  • Real-time video storage and retrieval method and device
  • Real-time video storage and retrieval method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] The embodiment of the present invention provides a real-time video storage method. In the present invention, the storage medium is divided into multiple storage blocks, and each storage block is divided into multiple page frames, and each page frame includes a page body and a page header , store the real-time video in the page body, and record the real-time video index in the page header, so that the real-time video can be quickly retrieved through the page frame, even if the block index file is abnormal, the real-time video can be quickly retrieved.

[0057] Such as figure 1 As shown, the method provided by the embodiment of the present invention is used for real-time video storage, including steps S110-S120, as follows.

[0058] S110. Select a storage block for storing real-time video from a storage medium, where the storage block includes multiple page frames, and each page frame includes a page header and a page body.

[0059] Wherein, the above-mentioned storage m...

Embodiment 2

[0084] Embodiments of the present invention provide a real-time video retrieval method, such as image 3 As shown, steps S310-S330 are included, specifically as follows.

[0085] S310, determine the number of page frames included in the storage block, and use a linear ratio method to locate the page frame where the video to be retrieved is located according to the number of page frames, the duration of the real-time video stored in the storage block, and the time of the video to be retrieved .

[0086] The above-mentioned time of the video to be retrieved refers to the actual occurrence time of the video to be retrieved, that is, the actual collection time of the video frame to be retrieved.

[0087] The number of page frames included in the above storage block can be calculated according to the capacity of the storage block and the capacity of the page frame by calculating the capacity of the storage block / the capacity of the page frame.

[0088] The duration of the real-ti...

Embodiment 4

[0114] An embodiment of the present invention provides a real-time video retrieval device, which is used to implement the real-time video retrieval method provided in Embodiment 2 above.

[0115] Such as Figure 5 As shown, the real-time video retrieval device provided by the embodiment of the present invention includes a positioning module 510, an acquisition module 520 and a retrieval module 530;

[0116] The above positioning module 510 is used to determine the number of page frames included in the storage block, and according to the number of page frames, the duration of the real-time video stored in the storage block, and the time of the video to be retrieved, use a method of limited ratio to locate the above-mentioned to-be-retrieved video. Retrieve the page frame where the video is located;

[0117] The acquisition module 520 is configured to acquire the video frame and video frame information in the page body corresponding to the page header according to the page head...

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 real-time video storage and retrieval method and device. The real-time video storage method comprises the steps of selecting a storage block for storing real-time videos from a storage medium, wherein the storage block comprises multiple page frames, and each page frame comprises a page head and a page body; storing the received real-time videos in the page bodies by adopting a video frame as a unit, determining offset of each video frame in the storage block, and storing the offset of the video frame occupying the initial position of each page body into the page head corresponding to the page body. According to the real-time video storage and retrieval method and device provided by the invention, the storage block comprises the multiple page frames, each page frame comprises the corresponding page head and page body, the received real-time videos are stored in the page bodies by adopting the video frame as the unit, the offset of the video frame occupying the initial position of each page body is stored into the page head corresponding to the page body, and the retrieval of the real-time videos can be realized according to the page frames, so that even if an index of the storage block is failed, the quick retrieval of the real-time videos can be realized.

Description

technical field [0001] The present invention relates to the technical field of video storage, in particular to a method and device for real-time video storage and retrieval. Background technique [0002] In industries such as security and defense, real-time video storage systems need to store thousands of channels of real-time video in storage media, and at the same time support fast positioning of videos by time to achieve fast video retrieval, and the positioning accuracy is basically accurate to the frame level . [0003] In order to improve the stability of the storage system, when video storage is performed in related technologies, the storage space is mostly allocated in advance by blocks, and then the video stream is written into each block, and an index file is created for each block, and the The index file is called a block index file, and all frame information in the block is stored in the block index file. When video retrieval is required, the retrieval of the vi...

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): G06F17/30
CPCG06F16/13G06F16/148G06F16/172G06F16/71G06F16/78
Inventor 周光明蒋宗文李岩
Owner NETPOSA TECH