# US 2026/0017866 A1 · Animation playing method and apparatus, and electronic device, and computer-readable storage media

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0017866 A1
- Document ID: US20260017866A1
- Status: Published application
- Kind: A1
- Application number: 18/881,308
- Filed: 2023-04-28
- Published: 2026-01-15
- Earliest claimed: 2022-07-06
- Assignees: Huizhou Tcl Mobile Communication Co., Ltd.
- Applicants: Huizhou Tcl Mobile Communication Co., Ltd.
- Inventors: Binhong WANG; Tang DING
- Web page: https://patentgrep.com/patent/US20260017866A1

## CPC

- G06T 13/80: Two-dimensional [2D] animation, e.g. using sprites
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/48: Program initiating; Program switching, e.g. by interrupt
- G06T 13/00: Animation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed in the present application are an animation playing method and apparatus, and an electronic device and a computer-readable storage medium. The method in the present application comprises: if an exit instruction for a target starting animation is monitored, acquiring a playback progress of the target starting animation; playing an exit animation according to the playback progress or the target starting animation: and when the playback or the exit animation is completed, executing an interruption transaction, so as to display an interface before the playback or the target starting animation. In the present application, the degree or continuity between the playback of a starting animation and the playback of an exit animation can be improved.

## Claims

### Claim 1

A method of playing animations, comprising:
monitoring a target startup animation that is being played;
when an exit instruction for the target startup animation is detected, acquiring a playback progress of the target startup animation;
according to the playback progress of the target startup animation, playing an exit animation; and
when the exit animation is completely played, executing an interruption to display an interface before the target startup animation is played.

### Claim 2 (depends on 1)

The method of claim 1, further comprising following steps before acquiring the playback progress of the target startup animation:
acquiring an animation playback instruction; and
activating an animation playback process according to the animation playback instruction to play the target startup animation, and the animation playback process comprises a playback code for the target startup animation and a playback code for the exit animation; and
wherein the step of playing an exit animation according to the playback progress of the target startup animation comprises:
playing an exit animation through the animation playback process according to the playback progress of the target startup animation.

### Claim 3 (depends on 1)

The method of claim 1, wherein the steps of playing an exit animation according to the playback progress of the target startup animation and executing an interruption to display an interface before the target startup animation is played when the exit animation is completely played comprise:
acquiring a first startup sequence of an exit process corresponding to the exit animation and a second startup sequence of an interrupting process corresponding to the interruption, wherein the first startup sequence precedes the second startup sequence; and
starting the exit process and the interrupting process according to the playback progress of the target startup animation, the first startup sequence and the second startup sequence, so as to realize the step of executing the interruption when the exit animation is completely played.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of monitoring a target startup animation that is being played comprises:
detecting the target startup animation; and
when the target startup animation is detected to be being played, registering the target startup animation to monitor the target startup animation.

### Claim 5 (depends on 4)

The method of claim 4, wherein the step of registering the target startup animation to monitor the target startup animation when the target startup animation is detected to be being played comprises:
when the target startup animation is detected to be being playing, acquiring the target startup animation through an interruption management class, wherein the interruption animation management class comprises an calling interface of an intermediate service;
through the calling interface, calling a registration function in the intermediate service to register the target startup animation; and
when registering the target startup animation is successful, calling a trigger function in the intermediate services through the calling interface to monitor the target startup animation.

### Claim 6 (depends on 5)

The method of claim 5, wherein the steps of acquiring the playback progress of the target startup animation when the exit instruction for the target startup animation is detected and playing the exit animation according to the playback progress of the target startup animation comprise:
when the exit instruction for the target startup animation is detected through the trigger function, sending the exit instruction through the trigger function to a monitoring function in the animation playback process corresponding to the target starting animation; and
when the exit instruction is acquired through the monitoring function, utilizing the animation playback process corresponding to the target starting animation to acquire the playback progress of the target startup animation, and playing the exit animation according to the playback progress.

### Claim 7 (depends on 6)

The method of claim 6, wherein the step of sending the exit instruction through the trigger function to the monitoring function in the animation playback process corresponding to the target starting animation when the exit instruction for the target startup animation is detected through the trigger function comprises:
when the exit instruction for the target startup animation is detected through the trigger function, acquiring an interruption identifier (ID) corresponding to the target startup animation is acquired; and
sending the exit instruction and the interruption ID through the trigger function to the monitoring function in the animation playback process corresponding to the target startup animation;
wherein the step of when the exit animation is completely played, executing the interruption comprises:
when the exit animation is completely played, acquiring the interruption ID from the monitoring function; and
calling the interface corresponding to the interruption ID to execute the interruption.

### Claim 8 (depends on 5)

The method of claim 5, further comprising following steps when the target startup animation is detected to be being playing and before acquiring the target startup animation by interrupting the animation management class:
acquiring the registration function and the trigger function, and creating the intermediate service according to the registration function and the trigger function; and
according to the calling interface of the intermediate service, creating the interruption animation management class.

### Claim 9 (depends on 5)

The method of claim 5, further comprising following steps after the step of calling the trigger function in the intermediate services through the calling interface to monitor the target startup animation when registering the target startup animation is successful:
acquiring a playback completion instruction of the target startup animation through the interruption animation management class; and
through the calling interface, according to the playback completion instruction, calling a deregister function in the intermediate service to deregister the target startup animation.

### Claim 10 (depends on 1)

The method of claim 1, wherein the exit animation is an animation of the same type as the target startup animation; and the step of playing the exit animation, according to the playback progress of the target startup animation comprises:
according to the playback progress of the target startup animation, playing back the target startup animation to play the exit animation.

### Claim 11 (depends on 1)

The method of claim 1, wherein the exit animation and the target startup animation are different types of animations; and the step of playing the exit animation, according to the playback progress of the target startup animation comprises:
getting the exit animation;
determining a starting playback position of the exit animation according to the playback progress of the target start-up animation; and
from the starting playback position, playing the exit animation.

### Claim 12 (depends on 1)

The method of claim 1, wherein the exit instruction comprises an exit action; and the step of playing the exit animation according to the playback progress of the target startup animation comprises:
determining the exit animation corresponding to the exit action; and
according to the playback progress of the target startup animation, playing the exit animation corresponding to the exit action.

### Claim at position 13

13-18. (canceled)

### Claim 19

An electronic device, comprising a processor and a memory storing computer instructions executable by the processor to perform operations comprising:
monitoring a target startup animation that is being played;
when an exit instruction for the target startup animation is detected, acquiring a playback progress of the target startup animation;
according to the playback progress of the target startup animation, playing an exit animation; and
when the exit animation is completely played, executing an interruption to display an interface before the target startup animation is played.

### Claim 20

A non-transitory computer-readable storage medium storing computer instructions executable by a processor to perform operations comprising:
monitoring a target startup animation that is being played;
when an exit instruction for the target startup animation is detected, acquiring a playback progress of the target startup animation;
according to the playback progress of the target startup animation, playing an exit animation; and
when the exit animation is completely played, executing an interruption to display an interface before the target startup animation is played.

### Claim 21 (depends on 19)

The electronic device of claim 19, wherein the operations further comprise:
acquiring an animation playback instruction; and
activating an animation playback process according to the animation playback instruction to play the target startup animation, and the animation playback process comprises a playback code for the target startup animation and a playback code for the exit animation; and
wherein the operation of playing an exit animation according to the playback progress of the target startup animation comprises:
playing an exit animation through the animation playback process according to the playback progress of the target startup animation.

### Claim 22 (depends on 19)

The electronic device of claim 19, wherein the operations of playing an exit animation according to the playback progress of the target startup animation and executing an interruption to display an interface before the target startup animation is played when the exit animation is completely played comprise:
acquiring a first startup sequence of an exit process corresponding to the exit animation and a second startup sequence of an interrupting process corresponding to the interruption, wherein the first startup sequence precedes the second startup sequence; and
starting the exit process and the interrupting process according to the playback progress of the target startup animation, the first startup sequence and the second startup sequence, so as to realize the operation of executing the interruption when the exit animation is completely played.

### Claim 23 (depends on 19)

The electronic device of claim 19, wherein the operation of monitoring a target startup animation that is being played comprises:
detecting the target startup animation; and
when the target startup animation is detected to be being played, registering the target startup animation to monitor the target startup animation.

### Claim 24 (depends on 19)

The electronic device of claim 19, wherein the operation of registering the target startup animation to monitor the target startup animation when the target startup animation is detected to be being played comprises:
when the target startup animation is detected to be being playing, acquiring the target startup animation through an interruption management class, wherein the interruption animation management class comprises a calling interface of an intermediate service;
through the calling interface, calling a registration function in the intermediate service to register the target startup animation; and
when registering the target startup animation is successful, calling a trigger function in the intermediate services through the calling interface to monitor the target startup animation.

### Claim 25 (depends on 24)

The electronic device of claim 24, wherein the operations of acquiring the playback progress of the target startup animation when the exit instruction for the target startup animation is detected and playing the exit animation according to the playback progress of the target startup animation comprise:
when the exit instruction for the target startup animation is detected through the trigger function, sending the exit instruction through the trigger function to a monitoring function in the animation playback process corresponding to the target starting animation; and
when the exit instruction is acquired through the monitoring function, utilizing the animation playback process corresponding to the target starting animation to acquire the playback progress of the target startup animation, and playing the exit animation according to the playback progress.
