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

A buffer allocation method for video data

A cache allocation and video data technology, applied in the computer field, can solve problems such as the decrease of hit rate and the increase of memory waste rate, and achieve the effect of solving low hit rate, reducing fragmentation, and solving memory waste problems

Active Publication Date: 2021-06-08
ZHENGZHOU SEANET TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the problems in the prior art that the memory pool using a fixed-size value memory block will produce a significant drop in hit rate or a sharp increase in memory waste rate,

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
  • A buffer allocation method for video data

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0067] Step S101, detecting video request conversion, including creating a new video playback request and code rate conversion request;

[0068] Step S102, when the video request changes, according to the current video request and playback history information statistics, three memory pools are established to cache different types of video frame data respectively; the media data is mainly composed of I frame, P frame and B frame, according to Bit rate compression algorithm, when the video bit rate is different, the proportion and size of the I frame, P frame and B frame in the video data will change; if the current video playback request is a bit rate of 480P, according to historical information statistics, The ratio of I, P, and B is 4:2:1, and the ratio of the size of the three established memory pools is 4:2:1. In terms of the data volume of the video data frame, I frame>P frame>B frame , so the size of the memory block in the memory pool corresponding to the I frame is set ...

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 present invention proposes a cache allocation method for video data, the method comprising: step 1) establishing N memory pools according to the video type and historical playback information, and calculating and allocating N memory pools according to the code rate of the current video request and historical playback information The initial size value of pool; Step 2) each memory pool is divided into several memory blocks; Assign the initial size value of each memory block; Step 3) determine the memory pool of allocation cache according to the video type of current video request, cache in the memory pool Current video frame data; step 4) adjust the size value of the memory block of the memory pool according to the memory state after the current video frame data is cached in the memory pool. The video data cache allocation method of the present invention can take into account the characteristics of video, especially solve the problems of low hit rate and memory waste caused by video data size value conversion when video resolution is switched, and effectively improve memory usage.

Description

technical field [0001] The invention relates to the field of computers, in particular to a video data cache allocation method. Background technique [0002] With the rapid development of media services and the continuous pursuit of higher quality, especially the increasing amount of video data, the video data on the terminal needs to receive, cache and copy a large number of processing operations, involving frequent allocation of memory , release, which seriously affects the video processing efficiency of the embedded media terminal, and may further cause problems such as unsmooth operation and stuck playback when playing high-definition media. In order to improve the video data processing efficiency of embedded terminals, it can generally be solved by using a memory pool. The memory pool is to allocate memory in advance, so as to effectively avoid frequent allocation and release of memory. At present, there are two main methods: [0003] The first is to cache the video dat...

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): H04N21/433H04N21/4402G06F12/0871G06F12/0862
CPCG06F12/0862G06F12/0871H04N21/433H04N21/4402
Inventor 朱小勇冯航伟宋锐星
Owner ZHENGZHOU SEANET 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