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

Frame animation caching method, apparatus and equipment, and computer readable storage medium

A storage medium and computer technology, applied in the field of communication, can solve the problems of running memory overflow, large data volume, etc., and achieve the effect of relieving memory pressure, avoiding memory overflow, and reducing overhead.

Active Publication Date: 2018-07-10
BEIJING 58 INFORMATION TTECH CO LTD
View PDF8 Cites 1 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
  • Frame animation caching method, apparatus and equipment, and computer readable storage medium
  • Frame animation caching method, apparatus and equipment, and computer readable storage medium
  • Frame animation caching method, apparatus and equipment, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to further explain the technical means and effects adopted by the embodiments of the present invention to achieve the predetermined purpose, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.

[0038] The first embodiment of the present invention proposes a method for buffering frame animation, such as figure 1 As shown, the method specifically includes the following steps:

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

[0040] Wherein, the maximum buffer capacity of the bitmap buffer 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 order of the pictures in the frame animation, sequentially load the first n frames of pictures in th...

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 field of communication technology, and 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, thereby visually forming an animation effect. Generally, during the process of playing the frame animation through the application, the terminal will buffer all the pictures included in the decoded frame animation into the running memory allocated by the terminal for the application at one time, and then play it frame by frame. However, when there are more pictures included in the frame animation, the amount of data cached in the running memory of the application will be larger, and the running memory allocated by the terminal for each application is certain, which will cause the running memory of the a...

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): 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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products