Android animation playing limiting method, storage medium, electronic equipment and system

A technology of animation and upper limit, which is applied in the field of electronic devices and systems, and Android animation playback restrictions, can solve problems such as increasing page load, high system resource overhead, and reducing Android system quality, so as to improve playback quality and user experience Effect

Active Publication Date: 2019-04-19
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the above method is used, if multiple animation execution requests are sent at the same time, multiple animations will be played, that is, multiple animations will be played on a page at the same time. When the number of animations to be played is large, the required system resource overhead It is very large, which greatly increases the load of the page, causing the page to freeze, and the page freeze will make the animation playback not smooth, which will not only reduce the quality of the Android system, but also seriously reduce the user experience

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
  • Android animation playing limiting method, storage medium, electronic equipment and system
  • Android animation playing limiting method, storage medium, electronic equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0030] see figure 1 Shown, the animation play limitation method of Android in the embodiment of the present invention, comprises the following steps:

[0031] S1: The Android system creates an animation execution queue. When the Android system receives an animation execution request, it marks the priority of the received animation execution request and adds it to the animation execution queue. The total number of all animation execution requests in the animation execution queue is used as the waiting list. Number of animations N1 to execute (N1 is at least 1, not 0), go to S2.

[0032] The purpose of setting the animation execution queue in S1 is to cache all animation execution requests. If the animation execution request cannot be executed and needs to wait, there is no need to re-initiate after waiting. It only needs to be extracted from t...

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 an Android animation playing limiting method, a storage medium, electronic equipment and a system, and relates to the field of animation playing setting of Android systems. Themethod comprises the steps that when an Android system receives an animation execution request, the total number of the animation execution request serves as the number of animations to be executed;The Android system obtains the current utilization rate of the CPU, and an upper limit value N is executed according to the sum of the current utilization rate of the CPU and the animation number obtained through calculation; The Android system obtains the number N3 of all animations being executed, and when the number N3 is smaller than N, the Android system executes all animations; And the Android system plays animations corresponding to the animation execution requests in the animation execution queue. According to the method and the device, the number of animations played by the Android system at the same time can be controlled within a bearing range of the Android system, so that the quality of the Android system is ensured, and the user experience is remarkably improved.

Description

technical field [0001] The invention relates to the field of animation playback settings of an Android system, and in particular to an Android animation playback restriction method, a storage medium, an electronic device and a system. Background technique [0002] In the development process of the Android system, animation special effects are often used to display the interface, and animation is usually played to achieve special effects, which will occupy a large resource overhead of the system. The method for playing animation in the existing Android system is generally: when the Android system receives an animation execution request (i.e. a request for playing animation), the animation is played, and the method has the following defects when used: [0003] When the above method is used, if multiple animation execution requests are sent at the same time, multiple animations will be played, that is, multiple animations will be played on a page at the same time. When the numb...

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): G06F9/50
CPCG06F9/505
Inventor 张磊陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH 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