Video caching method and device and readable storage medium

A caching and video technology, applied in the field of data processing, can solve problems such as increasing the degree of memory fragmentation, decreasing the utilization rate of memory resources, and taking a long time to locate data frames, so as to meet the requirements of efficient and smooth playback, enhanced user experience, and expanded applicability Effect

Active Publication Date: 2019-10-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, when caching video streams, all the data frames in the video stream are generally stored together. When a target frame needs to be located, it is necessary to traverse all the data frames between the current frame and the target frame. To locate the target frame, if there are many data frames between the current frame and the target frame, it will take a long time to realize the positioning of the target frame. In other words, for the video cached by the current video caching scheme Stream, it takes a long time to realize the positioning of the data frame, and the positioning efficiency of the data frame is low
[0003] Moreover, when caching each frame of data frames, memory is first applied for, then memory is allocated, an

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 caching method and device and readable storage medium
  • Video caching method and device and readable storage medium
  • Video caching method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0076] In order to make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention. In the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other arbitrarily. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.

[0077] The terms "first" and "seco...

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 video caching method and device and a readable storage medium, and belongs to the technical field of data processing. The video caching method comprises the steps of when a to-be-cached target video stream is obtained, obtaining a target idle memory from an idle memory buffer queue to buffer a target video stream according to separation of an I frame and a non-I frame. The memory in the idle memory buffer queue is the idle memory obtained after the cached video data is released, memory multiplexing can be realized by buffering the target video stream through the idlememory in the idle memory buffer queue; therefore, frequent memory operations are reduced, the memory fragmentation degree is reduced, the video caching efficiency is improved, separated storage of the I frame and the B frame and the P frame is realized for the target video stream, subsequent positioning of the data frame is facilitated, and the positioning efficiency of the data frame is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a video caching method, device and readable storage medium. Background technique [0002] At present, when caching video streams, all the data frames in the video stream are generally stored together. When a target frame needs to be located, it is necessary to traverse all the data frames between the current frame and the target frame. To locate the target frame, if there are many data frames between the current frame and the target frame, it will take a long time to realize the positioning of the target frame. In other words, for the video cached by the current video caching scheme Stream, it takes a long time to realize the positioning of the data frame, and the positioning efficiency of the data frame is low. [0003] Moreover, when caching each frame of data frames, memory is first applied for, then memory is allocated, and finally stored based on the allocated memor...

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): H04N21/433H04N21/231
CPCH04N21/4331H04N21/23106
Inventor 韩存爱
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products