# US 2025/0144526 A1 · Animation processing method and apparatus, electronic device, computer-readable storage medium, and computer program product

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

- Number: US 2025/0144526 A1
- Document ID: US20250144526A1
- Status: Published application
- Kind: A1
- Application number: 19/015,408
- Filed: 2025-01-09
- Published: 2025-05-08
- Earliest claimed: 2023-02-01
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Shilei CHEN; Jichun Hou; Tao Xu; Bo Hu
- Web page: https://patentgrep.com/patent/US20250144526A1

## CPC

- A63F 13/56: Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
- G06T 13/00: Animation
- A63F 2300/6607: for animating game characters, e.g. skeleton kinematics
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An animation processing method is performed by an electronic device. The method includes: determining a target movement parameter matching a target movement instruction for controlling movement of a virtual object; driving movement of a logic entity based on the target movement parameter; predicting, while driving the movement of the logic entity based on the target movement parameter, a first predicted trajectory of a representation entity based on the target movement parameter, the representation entity being configured to represent the virtual object; selecting, from a preset animation library, a target animation adapted to the first predicted trajectory, the preset animation library including animations corresponding to various moving actions respectively; driving movement of the representation entity based on the target animation; and rendering a moving animation of the virtual object in a virtual scene based on the movement of the logic entity and the movement of the representation entity.

## Claims

### Claim 1

An animation processing method performed by an electronic device, the method comprising:
determining a target movement parameter matching a target movement instruction for controlling movement of a virtual object based on a corresponding relationship between moving instructions and moving parameters;
driving movement of a logic entity based on the target movement parameter, the logic entity being configured to perform logic operations corresponding to the virtual object;
while driving the movement of the logic entity based on the target movement parameter, predicting a first predicted trajectory of a representation entity based on the target movement parameter, the representation entity being configured to represent the virtual object;
selecting, from a preset animation library, a target animation adapted to the first predicted trajectory;
driving movement of the representation entity based on the target animation; and
rendering a moving animation of the virtual object in a virtual scene based on the movement of the logic entity and the movement of the representation entity.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the predicting a first predicted trajectory of a representation entity based on the target movement parameter comprises:
obtaining a current position deviation between a first current position and a second current position, the first current position being a position where the representation entity is currently located, and the second current position being a position where the logic entity is currently located;
predicting a second predicted trajectory of the logic entity in accordance with the target movement parameter and the second current position; and
predicting the first predicted trajectory of the representation entity near the second predicted trajectory in accordance with the current position deviation and the first current position.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the predicting a second predicted trajectory of the logic entity in accordance with the target movement parameter and the second current position comprises:
predicting a predicted trajectory segment of the logic entity in accordance with the target movement parameter, a preset prediction duration, and a first current speed, the first current speed being a current moving speed of the logic entity; and
superimposing the second current position and the predicted trajectory segment to obtain the second predicted trajectory of the logic entity.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the predicting a predicted trajectory segment of the logic entity in accordance with the target movement parameter, a preset prediction duration, and a first current speed comprises:
performing first sampling on the preset prediction duration to obtain a first sampling time sequence; and
performing, for each first sampling time in the first sampling time sequence, the following processing: predicting a first predicted position at the first sampling time in accordance with the target movement parameter and the first current speed;
obtaining a first predicted position sequence corresponding to the first sampling time sequence from the first predicted position at each first sampling time; and
determining a trajectory segment corresponding to the first predicted position sequence as the predicted trajectory segment of the logic entity.

### Claim 5 (depends on 2)

The method according to claim 2, wherein after the obtaining a current position deviation between a first current position and a second current position, the method further comprises:
predicting an initial predicted trajectory of the representation entity in accordance with the target movement parameter and the first current position; and
obtaining the first predicted trajectory for reducing the current position deviation in combination with a second weight sequence, the current position deviation, and the initial predicted trajectory, second weights in the second weight sequence being increased in order chronologically.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the driving movement of the representation entity based on the target animation comprises:
obtaining a trajectory deviation between an animation trajectory of the target animation and the first predicted trajectory;
obtaining a correction speed positively correlated with an animation moving speed of the target animation when the trajectory deviation is greater than a second deviation threshold;
determining a superimposed speed of the animation moving speed and the correction speed as a target moving speed of the representation entity; and
driving the movement of the representation entity in accordance with the target moving speed and the target animation.

### Claim 7 (depends on 6)

The method according to claim 6, wherein after the obtaining a trajectory deviation between an animation trajectory of the target animation and the first predicted trajectory, the method further comprises:
driving the movement of the representation entity in accordance with the animation moving speed and the target animation when the trajectory deviation is less than or equal to the second deviation threshold.

### Claim 8 (depends on 1)

The method according to claim 1, wherein before the driving movement of a logic entity based on the target movement parameter, the method further comprises:
receiving a position synchronization instruction transmitted by a server device, the position synchronization instruction comprising a second current position; and
controlling the logic entity to move to the second current position in response to the position synchronization instruction.

### Claim 9

An electronic device comprising:
a memory, configured to store computer-executable instructions; and
a processor, configured to implement, when executing the computer-executable instructions stored in the memory, an animation processing method including:
determining a target movement parameter matching a target movement instruction for controlling movement of a virtual object based on a corresponding relationship between moving instructions and moving parameters;
driving movement of a logic entity based on the target movement parameter, the logic entity being configured to perform logic operations corresponding to the virtual object;
while driving the movement of the logic entity based on the target movement parameter, predicting a first predicted trajectory of a representation entity based on the target movement parameter, the representation entity being configured to represent the virtual object;
selecting, from a preset animation library, a target animation adapted to the first predicted trajectory;
driving movement of the representation entity based on the target animation; and
rendering a moving animation of the virtual object in a virtual scene based on the movement of the logic entity and the movement of the representation entity.

### Claim 10 (depends on 9)

The electronic device according to claim 9, wherein the predicting a first predicted trajectory of a representation entity based on the target movement parameter comprises:
obtaining a current position deviation between a first current position and a second current position, the first current position being a position where the representation entity is currently located, and the second current position being a position where the logic entity is currently located;
predicting a second predicted trajectory of the logic entity in accordance with the target movement parameter and the second current position; and
predicting the first predicted trajectory of the representation entity near the second predicted trajectory in accordance with the current position deviation and the first current position.

### Claim 11 (depends on 10)

The electronic device according to claim 10, wherein the predicting a second predicted trajectory of the logic entity in accordance with the target movement parameter and the second current position comprises:
predicting a predicted trajectory segment of the logic entity in accordance with the target movement parameter, a preset prediction duration, and a first current speed, the first current speed being a current moving speed of the logic entity; and
superimposing the second current position and the predicted trajectory segment to obtain the second predicted trajectory of the logic entity.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the predicting a predicted trajectory segment of the logic entity in accordance with the target movement parameter, a preset prediction duration, and a first current speed comprises:
performing first sampling on the preset prediction duration to obtain a first sampling time sequence; and
performing, for each first sampling time in the first sampling time sequence, the following processing: predicting a first predicted position at the first sampling time in accordance with the target movement parameter and the first current speed;
obtaining a first predicted position sequence corresponding to the first sampling time sequence from the first predicted position at each first sampling time; and
determining a trajectory segment corresponding to the first predicted position sequence as the predicted trajectory segment of the logic entity.

### Claim 13 (depends on 10)

The electronic device according to claim 10, wherein after the obtaining a current position deviation between a first current position and a second current position, the method further comprises:
predicting an initial predicted trajectory of the representation entity in accordance with the target movement parameter and the first current position; and
obtaining the first predicted trajectory for reducing the current position deviation in combination with a second weight sequence, the current position deviation, and the initial predicted trajectory, second weights in the second weight sequence being increased in order chronologically.

### Claim 14 (depends on 9)

The electronic device according to claim 9, wherein the driving movement of the representation entity based on the target animation comprises:
obtaining a trajectory deviation between an animation trajectory of the target animation and the first predicted trajectory;
obtaining a correction speed positively correlated with an animation moving speed of the target animation when the trajectory deviation is greater than a second deviation threshold;
determining a superimposed speed of the animation moving speed and the correction speed as a target moving speed of the representation entity; and
driving the movement of the representation entity in accordance with the target moving speed and the target animation.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein after the obtaining a trajectory deviation between an animation trajectory of the target animation and the first predicted trajectory, the method further comprises:
driving the movement of the representation entity in accordance with the animation moving speed and the target animation when the trajectory deviation is less than or equal to the second deviation threshold.

### Claim 16 (depends on 9)

The electronic device according to claim 9, wherein before the driving movement of a logic entity based on the target movement parameter, the method further comprises:
receiving a position synchronization instruction transmitted by a server device, the position synchronization instruction comprising a second current position; and
controlling the logic entity to move to the second current position in response to the position synchronization instruction.

### Claim 17

A non-transitory computer-readable storage medium, storing computer-executable instructions, the computer-executable instructions, when executed by a processor of an electronic device, causing the electronic device to implement an animation processing method including:
determining a target movement parameter matching a target movement instruction for controlling movement of a virtual object based on a corresponding relationship between moving instructions and moving parameters;
driving movement of a logic entity based on the target movement parameter, the logic entity being configured to perform logic operations corresponding to the virtual object;
while driving the movement of the logic entity based on the target movement parameter, predicting a first predicted trajectory of a representation entity based on the target movement parameter, the representation entity being configured to represent the virtual object;
selecting, from a preset animation library, a target animation adapted to the first predicted trajectory;
driving movement of the representation entity based on the target animation; and
rendering a moving animation of the virtual object in a virtual scene based on the movement of the logic entity and the movement of the representation entity.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein the predicting a first predicted trajectory of a representation entity based on the target movement parameter comprises:
obtaining a current position deviation between a first current position and a second current position, the first current position being a position where the representation entity is currently located, and the second current position being a position where the logic entity is currently located;
predicting a second predicted trajectory of the logic entity in accordance with the target movement parameter and the second current position; and
predicting the first predicted trajectory of the representation entity near the second predicted trajectory in accordance with the current position deviation and the first current position.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein the driving movement of the representation entity based on the target animation comprises:
obtaining a trajectory deviation between an animation trajectory of the target animation and the first predicted trajectory;
obtaining a correction speed positively correlated with an animation moving speed of the target animation when the trajectory deviation is greater than a second deviation threshold;
determining a superimposed speed of the animation moving speed and the correction speed as a target moving speed of the representation entity; and
driving the movement of the representation entity in accordance with the target moving speed and the target animation.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein before the driving movement of a logic entity based on the target movement parameter, the method further comprises:
receiving a position synchronization instruction transmitted by a server device, the position synchronization instruction comprising a second current position; and
controlling the logic entity to move to the second current position in response to the position synchronization instruction.
