Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Video data storage method and device, storage medium and electronic device

A technology of video data and data, applied in the field of communication, can solve the problem of low space utilization rate of storage devices, and achieve the effect of avoiding excessive reserved space, improving space utilization rate, and solving low space utilization rate.

Inactive Publication Date: 2019-06-28
ZHEJIANG DAHUA TECH CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Embodiments of the present invention provide a video data storage method, device, storage medium, and electronic device to at least solve the problem of low space utilization of storage devices in the related art

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
  • Video data storage method and device, storage medium and electronic device
  • Video data storage method and device, storage medium and electronic device
  • Video data storage method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0041] In this specific embodiment, how to create a recording process is described, such as Figure 4 As shown, the process includes the following steps:

[0042] S1, before creating a video file, first obtain the remaining space size of the working storage device (corresponding to the aforementioned first storage device);

[0043] S2: Calculate the size of the reserved space according to the channel number corresponding to the number of write handles opened on the working disk;

[0044] S3: Determine whether the remaining space capacity of the comparison working storage device is greater than or equal to the reserved space;

[0045] S4: If the remaining space capacity of the working storage device is greater than or equal to the reserved space, create a video file on the current working storage device;

[0046] S5: If the remaining space capacity of the working storage device is less than the reserved space, it is necessary to switch to another working storage device (corresponding to ...

specific Embodiment 2

[0047] In this specific embodiment, how to write a video is described, such as Figure 5 As shown, the process includes the following steps:

[0048] S1, first determine whether the currently written code stream data (corresponding to the above-mentioned video data) is an I frame;

[0049] S2, if the code stream data is not an I frame, directly write the data to the current storage device;

[0050] S3, if the code stream data is an I frame, the remaining space of the storage device where the current handle is located needs to be obtained;

[0051] S4, obtain the reserved space according to the channel number corresponding to the write handle opened on the current working storage device;

[0052] S5: Determine whether the remaining space on the current working storage device is greater than or equal to the reserved space;

[0053] S6: If the remaining space on the current working storage device is greater than or equal to the reserved space, write the code stream data to the current worki...

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 data storage method and device, a storage medium and an an electronic device, and the method comprises the steps: determining a reserved space of a first storage deviceaccording to a total code stream value in a channel corresponding to an opened writing handle on the first storage device, the first storage device being used for storing target video data; and underthe condition that it is determined that the remaining space of the first storage device is smaller than or equal to the remaining space, storing the video data received after receiving the target video data on a second storage device. Through the method and the device, the problem that the space utilization rate of the storage device is low in the prior art is solved, and the effect of improvingthe space utilization rate of the storage device is achieved.

Description

Technical field [0001] The present invention relates to the field of communication, and in particular to a storage method, device, storage medium and electronic device of video data. Background technique [0002] In the monitoring field, the storage of monitoring data will be involved. In the process of monitoring data storage, the storage device currently being written to (such as a storage disk) will be full. If it is full, you need to switch to other storage devices to continue writing monitoring data. There are two main ways to implement handover: [0003] Method 1: After the current working storage device is completely filled, switch to other free storage devices to write video; [0004] Method 2: Each storage device has a fixed percentage of reserved space. When the remaining storage space of the storage device is less than or equal to the reserved space, switch to other free storage devices to write videos; [0005] The above two solutions will check the remaining storage spa...

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/781H04N17/06H04N7/18
Inventor 赵建波
Owner ZHEJIANG DAHUA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products