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

Android frame animation execution method, device, terminal and readable medium

An execution method and animation technology, applied in the computer field, can solve problems such as frame animation freeze and reduce user experience, so as to achieve smooth frame animation execution and improve user experience

Active Publication Date: 2021-07-23
WUHAN DOUYU NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, during the execution of the frame animation, if the frame animation content change message sent by the server is received, the frame animation will be closed and restarted, causing the frame animation to freeze and reducing 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 frame animation execution method, device, terminal and readable medium
  • Android frame animation execution method, device, terminal and readable medium
  • Android frame animation execution method, device, terminal and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 1 It is a flowchart of an Android frame animation execution method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the content of the frame animation is dynamically changed during the execution of the frame animation. This method can be implemented by the terminal, specifically through the implemented in software and / or hardware.

[0054] see figure 1 , the Android frame animation execution method includes the following steps:

[0055] S1. Receive the opening instruction, obtain the first information object according to the opening instruction, initialize the information identification of the first information object to the frame animation open state, and send the first information object after the information identification initialization to the processing message function of the Handler object.

[0056] Wherein, the opening instruction can be understood as an instruction for opening the Android frame ani...

Embodiment 2

[0145] Figure 4 It is a schematic structural diagram of an Android frame animation execution device provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation where the content of the frame animation is dynamically changed during the execution of the frame animation.

[0146] see Figure 4 , the Android frame animation execution device in this embodiment includes:

[0147] The first information object sending module 210 is configured to receive the opening instruction, obtain the first information object according to the opening instruction, initialize the information identifier of the first information object to the frame animation open state, and send the initialized first information object To the processing message function of the Handler object;

[0148] The second information object sending module 220 is used for obtaining the second information object when the processing message function of the Handler object judges th...

Embodiment 3

[0177] This embodiment provides a terminal, which can be used in the case of dynamically changing the content of the frame animation during the execution of the frame animation. Figure 5 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see Figure 5 , the terminal includes:

[0178] one or more processors 310;

[0179] memory 320, for storing one or more programs;

[0180] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the Android frame animation execution method as proposed in the first embodiment.

[0181] Figure 5 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, Figure 5 Take connection via bus as an example.

[0182] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, suc...

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 embodiment of the present invention discloses an Android frame animation execution method, device, terminal and readable medium, wherein the method includes: using the Handler mechanism to generate an Android frame animation, specifically starting the frame animation according to the frame animation opening state message, and according to the frame animation Execute the status message to execute the frame animation, and update the progress of the frame animation through the cycle timer in the Handler class, so as to control the pictures to be sequentially called from the picture collection corresponding to the frame animation, so as to realize the execution of the frame animation; and during the execution of the frame animation, The picture set corresponding to the frame animation may be changed according to the received frame animation change message. An Android frame animation execution method, device, terminal, and readable medium provided by the embodiments of the present invention realize dynamic change of frame animation content during frame animation execution, make frame animation execution smoother, and improve user experience.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to an Android frame animation execution method, device, terminal and readable medium. Background technique [0002] The frame animation provided in the embodiment of the present invention can be understood as an animation formed by adding different pictures to each frame of the time axis and playing them continuously. [0003] Existing Android frame animations are usually built using the frame animation classes that come with the Android system, and the content of the frame animation cannot be dynamically changed during the execution of the frame animation. If during the execution of the frame animation, if the frame animation content change message sent by the server is received, the current frame animation can only be stopped and the changed frame animation can be started. Exemplarily, when the frame animation of 24 frames is being executed, if an update message of...

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): G06F9/4401G06F9/445G06T13/00
CPCG06F9/4401G06F9/44505G06T13/00
Inventor 张磊
Owner WUHAN DOUYU NETWORK 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