Method and apparatus for implementing animation in client application and animation script framework

US10789751B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10789751-B2
Application numberUS-201816228598-A
CountryUS
Kind codeB2
Filing dateDec 20, 2018
Priority dateDec 25, 2017
Publication dateSep 29, 2020
Grant dateSep 29, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for implementing animation in a client application, includes receiving an animation code written in a script language from a server, the animation code including a logic script and an animation description script; parsing the logic script in the animation code, and obtaining a view identifier, an animation identifier, and a pre-obtained correspondence relationship between the view identifier and the animation identifier included therein; determining a view component to be driven and corresponding to the view identifier in a client application based on a correspondence relationship between view identifiers and view components, and reading an animation description to be implemented and corresponding to the animation identifier in the animation description script according to the animation identifier corresponding to the view identifier; and determining that loading of the animation description to be implemented in the view component to be driven according to a condition provided by the logic script.

First claim

Opening claim text (preview).

What is claimed is: 1. A method implemented by one or more computing devices, the method comprising: receiving, by a client application in the one or more computing devices, an animation code written in a script language sent from a server, the animation code including a logic script and an animation description script; parsing the logic script in the animation code, and obtaining a view identifier and an animation identifier; obtaining a mapping relationship between the view identifier and the animation identifier; determining, by the client application, a view component to be driven that corresponds to the view identifier in the client application; reading an animation description to be implemented that corresponds to the animation identifier in the animation description script according to the animation identifier corresponding to the view identifier based on the mapping relationship; binding the animation description and the view component, and providing a bound mapping relationship between the animation description and the view component; and loading the animation description to be implemented in the view component to be driven based on the bound mapping relationship and according to a condition provided by the logic script. 2. The method according to claim 1 , further comprising receiving, by the client application, configuration data sent from a configuration center before receiving the animation code written in the script language sent from the server. 3. The method according to claim 2 , wherein the configuration data comprises at least one of whether a configuration of animation processing takes effect, or a name of a script that is receivable by the client application. 4. The method according to claim 1 , wherein a logic function of the logic script comprises animation triggering, executing, pausing, and recycling. 5. The method according to claim 1 , wherein the animation description script is animated in a JSON language. 6. The method according to claim 1 , wherein determining, by the client application, the view component to be driven that corresponds to the view identifier in the client application is based on a pre-obtained correspondence relationship between view identifiers and view components. 7. The method according to claim 6 , wherein the pre-obtained correspondence relationship between the view identifiers and the view components is obtained synchronously from an application program. 8. One or more computer readable media storing executable instructions including a client application that, when executed by one or more processors, cause the one or more processors to perform acts comprising: receiving, by the client application, an animation code written in a script language sent from a server, the animation code including a logic script and an animation description script; parsing the logic script in the animation code, and obtaining a view identifier, an animation identifier; obtaining a mapping relationship between the view identifier and the animation identifier; determining, by the client application, a view component to be driven that corresponds to the view identifier in the client application; reading an animation description to be implemented that corresponds to the animation identifier in the animation description script according to the animation identifier corresponding to the view identifier based on the mapping relationship; binding the animation description and the view component and providing a bound mapping relationship between the animation description and the view component; and loading the animation description to be implemented in the view component to be driven based on the bound mapping relationship and according to a condition provided by the logic script. 9. The one or more computer readable media according to claim 8 , the acts further comprising receiving, by the client application, configuration data sent from a configuration center before receiving the animation code written in the script language sent from the server. 10. The one or more computer readable media according to claim 9 , wherein the configuration data comprises at least one of whether a configuration of animation processing takes effect, or a name of a script that is receivable by the client application. 11. The one or more computer readable media according to claim 8 , wherein a logic function of the logic script comprises animation triggering, executing, pausing, and recycling. 12. The one or more computer readable media according to claim 8 , wherein the animation description script is animated in a JSON language. 13. The one or more computer readable media according to claim 8 , wherein determining, by the client application, the view component to be driven that corresponds to the view identifier in the client application is based on a pre-obtained correspondence relationship between view identifiers and view components. 14. The one or more computer readable media according to claim 13 , wherein the pre-obtained correspondence relationship between the view identifiers and the view components is obtained synchronously from an application program. 15. A system comprising: one or more processors; and memory coupled to the one or more processors, the memory storing a plurality of executable units (units) by the one or more processors, that when executed by the one or more processors, perform associated functions in a client application, the units including: a code receiving unit configured to receive an animation code written in a script language sent from a server, the animation code including a logic script and an animation description script, a scrip parsing unit configured to: parse the logic script in the animation code, obtain a view identifier and an animation identifier, and obtain a mapping relationship between the view identifier and the animation identifier, a view and animation determination unit configured to: determine a view component to be driven that corresponds to the view identifier in the client application, read an animation description to be implemented that corresponds to the animation identifier in the animation description script according to the animation identifier corresponding to the view identifier based on the mapping relationship, and bind the animation description and the view component, and provide a bound mapping relationship between the animation description and the view component, and an animation loading unit configured to load the animation description to be implemented in the view component to be driven based on the bound mapping relationship and according to a condition provided by the logic script. 16. The system according to claim 15 , wherein the units further comprise: a configuration data receiving unit configured to receive configuration data sent from a configuration center before receiving the animation code written in the script language sent from the server. 17. The system according to claim 16 , wherein the configuration data comprises at least one of whether a configuration of animation processing takes effect, or a name of a script that is receivable by the client application. 18. The system according to claim 15 , wherein a logic function of the logic script comprises animation triggering, executing, pausing, and recycling. 19. The system according to claim 15 , wherein the animation description script is animated in a JSON language. 20. The system according to claim 15 , wherein determining the view component to be dr

Assignees

Inventors

Classifications

  • Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking · CPC title

  • G06T13/00Primary

    Animation · CPC title

  • Animation software package · CPC title

  • Animation description language · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10789751B2 cover?
A method for implementing animation in a client application, includes receiving an animation code written in a script language from a server, the animation code including a logic script and an animation description script; parsing the logic script in the animation code, and obtaining a view identifier, an animation identifier, and a pre-obtained correspondence relationship between the view iden…
Who is the assignee on this patent?
Alibaba Group Holding Ltd
What technology area does this patent fall under?
Primary CPC classification G06T13/00. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 29 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).