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

Method and device for storing small video files

A storage device and small file technology, applied in color TV components, TV system components, TVs, etc., can solve the problems of video jamming, prone to file fragmentation, bloated user storage directory, etc., to reduce consumption, The effect of increasing the lifespan and improving the efficiency of storage and reading

Active Publication Date: 2020-06-02
ZHEJIANG UNIVIEW TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, there will be a large number of small files in the system, and too many small files will cause the entire user storage directory to be bloated, the video retrieval efficiency will be low, and the retrieval time will be too long
[0003]In addition, small files are prone to file fragmentation when read and written for a long time in the storage device, resulting in low storage performance
Video playback needs to open small files frequently, which consumes a lot of system
And due to multiple playback requests for different files, there will be video freezes when switching between small files, which will affect the user experience

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Embodiment 1. Assume that the file name created for the first time at 10:00:00 is S100000E000000, and the format of the file header is as follows Figure 4 As shown, the number of current file segments is increased by 1, and the file open reference count is increased by 1;

Embodiment 2

[0061] Embodiment 2, close the file at 10:50:00, see the file format Figure 5 At this time, the current file segment number is 1, the file open reference count is reduced by 1, and becomes 0; the offset between the current segment start time and the current file start time is 0, and the time bitmap information is 4290772992, where the binary value of 4290772992 is 1111111111000000000000000000000 , the latest file open time offset is 0, which means that there are 10 consecutive 5-minute recordings starting from 10:00:00;

Embodiment 3

[0062] Example 3: Open the file again at 11:00:00 for writing, 11:00:00 is offset by 60 minutes from 10:00:00, where the latest file opening time offset is expressed as: 12; see the format of the file header Image 6 , since the segment number of the current file is still 1 within the first 160 minutes, the offset between the start time of the current segment and the start time of the current file is 0; the open reference count of the file is increased by 1 to become 1;

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 discloses a method and a device for storing small video files. The method comprises the following steps: receiving to-be-stored video data; acquiring a file which is not fully stored inthe latest data area and corresponds to the video data; serving as a current file, opening a current file, and continuing to store the video data to be stored in the data area of the current file; recording the segment number of the current file, the latest file opening time offset and the video recording information of each segment of time in the file header information; closing the current filewhen the current file data area is full or the video data to be stored is not received in the preset unit time. According to the method disclosed in the invention, the storage read-write efficiency ofsmall files is improved, the consumption of system performance is reduced, and the service life of storage equipment is prolonged.

Description

technical field [0001] The invention belongs to the technical field of video data storage, and in particular relates to a method and device for storing small video files. Background technique [0002] As monitoring application scenarios become more and more diverse, some scenarios only need to store intelligent data, but the intelligent data is often relatively small; other scenarios such as alarm linkage data are often only a few minutes. This causes a large number of small files to exist in the system, and too many small files will cause the entire user storage directory to be bloated, the video retrieval efficiency is low, and the retrieval time is too long. [0003] In addition, long-term reading and writing of small files in the storage device is prone to file fragmentation, resulting in low storage performance. Video playback needs to open small files frequently, which consumes a lot of system. Moreover, due to multiple playback requests for different files, there wi...

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 Applications(China)
IPC IPC(8): H04N5/76H04N7/18H04N21/231H04N21/433
CPCH04N5/76H04N7/18H04N21/231H04N21/433
Inventor 尤晓明丁强韩磊
Owner ZHEJIANG UNIVIEW TECH CO LTD