Method, apparatus, apparatus, and computer-readable storage medium for caching frame animation

A storage medium and computer technology, which is applied in the field of communication, can solve problems such as large amount of data, running memory overflow, etc., and achieve the effect of alleviating memory pressure, avoiding memory overflow, and reducing overhead

Active Publication Date: 2020-09-11
BEIJING 58 INFORMATION TTECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when there are many pictures included in the frame animation, the amount of data cached in the running memory of the application program will be relatively large, and the running memory allocated by the terminal to each application program is certain, which will cause the running memory of the application program to be broken. out of memory problem

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, apparatus, apparatus, and computer-readable storage medium for caching frame animation
  • Method, apparatus, apparatus, and computer-readable storage medium for caching frame animation
  • Method, apparatus, apparatus, and computer-readable storage medium for caching frame animation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to further illustrate the technical means and functions adopted by the embodiments of the present invention to achieve the intended purpose, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0038] In the first embodiment of the present invention, a method for caching frame animation is proposed, such as figure 1 As shown, the method specifically includes the following steps:

[0039] Step S101: Obtain the pictures of the first n frames in the frame animation, and load the pictures of the first n frames into a preset bitmap buffer.

[0040] Wherein, the maximum buffer capacity of the bitmap cache is n frames of pictures; n is a preset integer greater than 0.

[0041] Specifically, the bitmap cache adopts a queue form, that is, adopts a first-in-first-out storage rule. According to the sequence of the pictures in the frame animation, the first n frames of pictur...

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 frame animation caching method, apparatus and equipment, and a computer readable storage medium. The frame animation caching method includes the steps: acquiring the first n frames of images in a frame animation, and loading the first n frames of images into a preset bitmap cache; and successively acquiring other frames of images in the frame animation, and successively loading the other frames of images into the bitmap cache so as to replace the images which have been loaded into the bitmap cache. The frame animation caching method, apparatus and equipment can alleviate the memory pressure of the frame animation, and can avoid the problem of overflow of memory when the frame animation is carried out.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method, device, equipment and computer-readable storage medium for caching frame animation. Background technique [0002] Frame animation is a common form of animation, similar to movies, frame animation is to play multiple pictures continuously at a certain speed, so as to visually form the effect of animation. Usually, in the process of playing the frame animation through the application program, the terminal will cache all the pictures included in the decoded frame animation into the running memory allocated by the terminal for the application program at one time, and then play it frame by frame. However, when there are many pictures included in the frame animation, the amount of data cached in the running memory of the application program will be relatively large, and the running memory allocated by the terminal to each application program is certain, which 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 Patents(China)
IPC IPC(8): H04N21/44H04N21/431
CPCH04N21/4312H04N21/44004
Inventor 吴朝彬
Owner BEIJING 58 INFORMATION TTECH 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