Animation generation methods, apparatus, computer equipment and storage media

By receiving user-inputted animation scene and configuration level information, and obtaining and configuring animation template files, the problem of low animation generation efficiency in existing technologies is solved, achieving efficient animation generation and improved user experience.

CN115546356BActive Publication Date: 2026-05-26CHINA PING AN PROPERTY INSURANCE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA PING AN PROPERTY INSURANCE CO LTD
Filing Date
2022-09-22
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing animation generation technologies do not support dynamic configuration of code, which requires developers to design a set of animation resources for each different business scenario, resulting in a large workload and low generation efficiency.

Method used

By receiving animation scene information and configuration level information input by the user, the system obtains the corresponding animation template file, inputs animation configuration parameters on the parameter configuration page, processes the template file based on these parameters, and generates the target animation.

Benefits of technology

It improves the efficiency of animation generation, reduces the workload of developers, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115546356B_ABST
    Figure CN115546356B_ABST
Patent Text Reader

Abstract

This application belongs to the field of big data and relates to an animation generation method, including: determining whether an animation configuration request triggered by a user has been received; if so, obtaining target animation scene information from the animation configuration request and displaying animation configuration level information corresponding to the target animation scene information; receiving target animation configuration level information selected by the user from the animation configuration level information; obtaining a target animation template file corresponding to the target animation scene information and the target animation configuration level information; displaying a preset parameter configuration page based on the target animation template file and receiving animation configuration parameters input by the user on the parameter configuration page; configuring the target animation template file based on the animation configuration parameters to generate the target animation. This application also provides an animation generation device, a computer device, and a storage medium. Furthermore, this application also relates to blockchain technology, whereby the target animation can be stored in the blockchain. This application can improve the efficiency of animation generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of big data technology, and in particular to animation generation methods, apparatus, computer equipment and storage media. Background Technology

[0002] With the rapid development of the information society and front-end development technologies, data visualization is becoming increasingly widely used. Data visualization uses graphical means to interpret data visually, enabling clear and effective interaction with users. Animation is an important data visualization tool, currently widely applied in various business systems, such as e-commerce systems and transaction systems in internet companies.

[0003] To implement animation effects in terminal applications, animation generation techniques can be used. However, existing animation generation techniques do not support dynamic code configuration; the resources are fixed when developers output animation assets. In some business scenarios, the differences between animations are minimal, but current techniques require developers to design a separate set of animation assets for each different scenario. This can lead to a heavy workload for developers, requiring significant manpower and time to generate animations, resulting in low efficiency. Summary of the Invention

[0004] The purpose of this application is to provide an animation generation method, apparatus, computer device, and storage medium to solve the technical problems of existing animation generation methods, which easily lead to a large workload for developers, require a lot of manpower and time to generate animations, and have low animation generation efficiency.

[0005] To address the aforementioned technical problems, this application provides an animation generation method, employing the following technical solution:

[0006] Determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information;

[0007] If so, obtain the target animation scene information from the animation configuration request, and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple;

[0008] Receive the target animation configuration level information selected by the user from the animation configuration level information;

[0009] Obtain the target animation template file that corresponds to both the target animation scene information and the target animation configuration level information;

[0010] Based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file;

[0011] The target animation template file is configured and processed based on the animation configuration parameters to generate the corresponding target animation.

[0012] Furthermore, the step of obtaining the target animation template file corresponding to both the target animation scene information and the target animation configuration level information specifically includes:

[0013] Call the preset animation template file library;

[0014] Based on a preset parallel data comparison instruction, the target animation scene information is compared one-to-one with all the animation scene information contained in the animation template file library to obtain multiple corresponding data comparison results.

[0015] Based on the data comparison results, a specified animation scene information that is the same as the target animation scene information is determined from the animation template file library;

[0016] Obtain a first animation template file corresponding to the specified animation scene information from the animation template file library; wherein, the number of the first animation template files includes multiple files;

[0017] Based on the target animation configuration level information, a second animation template file corresponding to the target animation configuration level information is selected from the first animation template file;

[0018] Use the second animation template file as the target animation template file.

[0019] Furthermore, the step of configuring the target animation template file based on the animation configuration parameters to generate the corresponding target animation specifically includes:

[0020] Obtain the configurable animation elements from the target animation template file;

[0021] Determine the parameter filling position corresponding to the configurable animation element from the target animation template file;

[0022] Determine whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element;

[0023] If no animation parameters corresponding to the configurable animation element are filled in, the animation configuration parameters are filled into the parameter filling position to obtain the first target animation file;

[0024] The target animation is generated based on the first target animation file.

[0025] Furthermore, the step of generating the target animation based on the first target animation file specifically includes:

[0026] The first target animation file is compiled to obtain the corresponding compiled file;

[0027] Invoke the preset renderer;

[0028] The compiled file is rendered using the renderer to generate the target animation.

[0029] Furthermore, after the step of determining whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element, the method further includes:

[0030] If the configurable animation element is filled with animation parameters, replace the animation parameters with the animation configuration parameters to obtain the second target animation file;

[0031] The target animation is generated based on the second target animation file.

[0032] Furthermore, the animation generation method also includes:

[0033] The preset recording program is invoked to record the steps of generating the target animation, and a corresponding initial video is generated;

[0034] Obtain the explanatory audio corresponding to the steps for generating the target animation;

[0035] The narration is added to the initial video by calling a preset voice input program, resulting in an operation demonstration video corresponding to the target animation;

[0036] Store the demonstration video of the operation.

[0037] Furthermore, the animation generation method also includes:

[0038] Obtain the code package corresponding to the target animation template file;

[0039] Obtain the target user's contact information;

[0040] Based on the aforementioned communication method, the code package is pushed to the user device corresponding to the target user.

[0041] To address the aforementioned technical problems, this application also provides an animation generation apparatus, which employs the following technical solution:

[0042] The judgment module is used to determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information;

[0043] The first acquisition module is configured to, if so, acquire the target animation scene information from the animation configuration request and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple;

[0044] The first receiving module is configured to receive the target animation configuration level information selected by the user from the animation configuration level information;

[0045] The second acquisition module is used to acquire a target animation template file that corresponds to both the target animation scene information and the target animation configuration level information.

[0046] The second receiving module is used to display a preset parameter configuration page based on the target animation template file, and to receive the animation configuration parameters input by the user on the parameter configuration page; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file;

[0047] The first generation module is used to configure and process the target animation template file based on the animation configuration parameters to generate the corresponding target animation.

[0048] To address the aforementioned technical problems, this application also provides a computer device that employs the following technical solution:

[0049] Determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information;

[0050] If so, obtain the target animation scene information from the animation configuration request, and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple;

[0051] Receive the target animation configuration level information selected by the user from the animation configuration level information;

[0052] Obtain the target animation template file that corresponds to both the target animation scene information and the target animation configuration level information;

[0053] Based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file;

[0054] The target animation template file is configured and processed based on the animation configuration parameters to generate the corresponding target animation.

[0055] To address the aforementioned technical problems, this application also provides a computer-readable storage medium, employing the technical solution described below:

[0056] Determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information;

[0057] If so, obtain the target animation scene information from the animation configuration request, and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple;

[0058] Receive the target animation configuration level information selected by the user from the animation configuration level information;

[0059] Obtain the target animation template file that corresponds to both the target animation scene information and the target animation configuration level information;

[0060] Based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file;

[0061] The target animation template file is configured and processed based on the animation configuration parameters to generate the corresponding target animation.

[0062] Compared with the prior art, the embodiments of this application have the following main advantages:

[0063] When a user-triggered animation configuration request is received, the system first retrieves the target animation scene information from the request and displays the corresponding animation configuration level information. Then, it receives the target animation configuration level selected by the user from the animation configuration level information. Next, it retrieves the target animation template file that corresponds to both the target animation scene information and the target animation configuration level information. Subsequently, based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received. Finally, the target animation template file is configured based on the animation configuration parameters to generate the corresponding target animation. This embodiment of the application only needs to determine the corresponding target animation template file based on the user-input target animation scene information and target animation configuration level information, and then configure the target animation template file accordingly based on the user-input animation configuration parameters to generate the required target animation, effectively improving the animation generation efficiency and enhancing the user experience. Attached Figure Description

[0064] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0065] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;

[0066] Figure 2 A flowchart of an embodiment of the animation generation method according to this application;

[0067] Figure 3 This is a schematic diagram of the structure of one embodiment of the animation generation apparatus according to this application;

[0068] Figure 4 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation

[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0070] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0071] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0072] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0073] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.

[0074] Terminal devices 101, 102, and 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 players (Moving Picture Experts Group Audio Layer IV), laptops, and desktop computers, etc.

[0075] Server 105 can be a server that provides various services, such as a backend server that supports the pages displayed on terminal devices 101, 102, and 103.

[0076] It should be noted that the animation generation method provided in this application embodiment is generally executed by a server / terminal device, and correspondingly, the animation generation device is generally set in the server / terminal device.

[0077] It should be understood that Figure 1The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0078] Continue to refer to Figure 2 A flowchart of an embodiment of the animation generation method according to this application is shown. The animation generation method includes the following steps:

[0079] Step S201: Determine whether an animation configuration request triggered by the user has been received; wherein the animation configuration request carries target animation scene information.

[0080] In this embodiment, the animation generation method runs on an electronic device (e.g., Figure 1 The server / terminal device shown can obtain animation configuration requests via wired or wireless connection. It should be noted that the aforementioned wireless connection methods may include, but are not limited to, 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra-wideband) connections, and other currently known or future-developed wireless connection methods. The target animation scene information may include the name or ID information of the animation scene. For example, if the user's requirement is to create an animation of a financial scene, and the ID of the financial animation scene is 008, then the aforementioned target animation scene information is either "financial" or "008".

[0081] Step S202: If yes, obtain the target animation scene information from the animation configuration request and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple.

[0082] In this embodiment, the target animation scene information can be extracted from the animation configuration request by parsing it. The animation configuration level information corresponding to the target animation scene information can be displayed on the current page, and further information selection options can be shown to prompt the user to select the animation configuration level. The animation configuration level information can include basic, intermediate, and advanced levels.

[0083] Step S203: Receive the target animation configuration level information selected by the user from the animation configuration level information.

[0084] In this embodiment, after the user selects the desired target animation configuration level information in the animation configuration level information, a corresponding information selection instruction will be generated, and the target animation configuration level information selected by the user can be determined based on the information selection instruction.

[0085] Step S204: Obtain the target animation template file that corresponds to both the target animation scene information and the target animation configuration level information.

[0086] In this embodiment, the specific implementation process of obtaining the target animation template file corresponding to both the target animation scene information and the target animation configuration level information will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated on here.

[0087] Step S205: Display a preset parameter configuration page based on the target animation template file, and receive animation configuration parameters input by the user on the parameter configuration page; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file.

[0088] In this embodiment, after the user enters the corresponding animation configuration parameters on the parameter configuration page, they can click the "Complete Information Filling" button on the parameter configuration page. The electronic device can then obtain the animation configuration parameters entered by the user on the parameter configuration page based on the trigger action of the "Complete Information Filling" button.

[0089] Step S206: Configure the target animation template file based on the animation configuration parameters to generate the corresponding target animation.

[0090] In this embodiment, the specific implementation process of configuring the target animation template file based on the animation configuration parameters to generate the corresponding target animation will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated on here.

[0091] When this application receives an animation configuration request triggered by a user, it first retrieves the target animation scene information from the request and displays the animation configuration level information corresponding to the target animation scene information. Then, it receives the target animation configuration level information selected by the user from the animation configuration level information. Next, it retrieves the target animation template file corresponding to both the target animation scene information and the target animation configuration level information. Subsequently, based on the target animation template file, it displays a preset parameter configuration page and receives the animation configuration parameters input by the user on the parameter configuration page. Finally, it configures the target animation template file based on the animation configuration parameters to generate the corresponding target animation. This application only needs to determine the corresponding target animation template file based on the target animation scene information and target animation configuration level information input by the user, and then configure the target animation template file accordingly based on the animation configuration parameters input by the user to generate the required target animation, effectively improving the animation generation efficiency and enhancing the user experience.

[0092] In some alternative implementations, step S204 includes the following steps:

[0093] Call the preset animation template file library.

[0094] In this embodiment, the aforementioned animation template file library is a database storing animation scene information, animation configuration level information, and animation template files, with a one-to-one mapping relationship among these three elements. The same animation scene information within the library may correspond to multiple specific animation template files, each with its own distinct animation configuration level information. The animation configuration level information includes beginner, intermediate, and advanced levels.

[0095] Based on preset parallel data comparison instructions, the target animation scene information is compared one-to-one with all the animation scene information contained in the animation template file library to obtain multiple corresponding data comparison results.

[0096] In this embodiment, the aforementioned parallel data comparison instruction specifically refers to a single-instruction multiple-data (SIMD) instruction. The data comparison result includes whether the data is the same or different. By utilizing the parallel computing capability of the parallel data comparison instruction to simultaneously perform a one-to-one data comparison between the target animation scene information and all animation scene information contained in the animation template file library, it helps to further improve the data comparison processing speed.

[0097] Based on the data comparison results, the specified animation scene information that is the same as the target animation scene information is determined from the animation template file library.

[0098] In this embodiment, a target data comparison result with the same content can be selected from all data comparison results, and then the animation scene information corresponding to the target data comparison result can be obtained, which is the specified animation scene information mentioned above.

[0099] Obtain a first animation template file corresponding to the specified animation scene information from the animation template file library; wherein, the number of the first animation template files includes multiple files.

[0100] In this embodiment, the first animation template file may specifically include an animation template file corresponding to the primary animation configuration level information, an animation template file corresponding to the intermediate animation configuration level information, and an animation template file corresponding to the advanced animation configuration level information.

[0101] Based on the target animation configuration level information, a second animation template file corresponding to the target animation configuration level information is selected from the first animation template file.

[0102] In this embodiment, after obtaining the target animation configuration level information, the animation template file corresponding to the same animation configuration level information as the target animation configuration level information can be selected from the first animation template file as the second animation template file.

[0103] Use the second animation template file as the target animation template file.

[0104] This application achieves fast and accurate retrieval of target animation template files from the animation template file library by using data parallel comparison instructions. These files correspond to both the target animation scene information and the target animation configuration level information, which helps to further improve the data comparison processing speed and the processing speed of retrieving target animation template files.

[0105] In some optional implementations of this embodiment, step S206 includes the following steps:

[0106] Obtain the configurable animation elements from the target animation template file.

[0107] In this embodiment, the animation template file includes configurable animation elements and non-configurable animation elements. The animation corresponding to the animation template file is designed by a relevant designer and generated through After Effects. The animation template file can be a JSON file. The number of configurable animation elements can include one or more.

[0108] Determine the parameter filling positions corresponding to the configurable animation elements from the target animation template file.

[0109] In this embodiment, each configurable animation element in the animation template file is assigned an associated parameter filling position.

[0110] Determine whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element.

[0111] In this embodiment, in the target animation template file, the parameter filling positions corresponding to the configurable animation elements can be filled with the original animation parameters, or they can be in a state where no animation parameters are filled.

[0112] If no animation parameters corresponding to the configurable animation element are filled in, the animation configuration parameters are filled into the parameter filling position to obtain the first target animation file.

[0113] In this embodiment, when the parameter filling position corresponding to the configurable animation element in the target animation template file is not filled with animation parameters, it indicates that the animation parameters corresponding to the configurable animation element are in a blank state. Then, the animation configuration parameters will be filled into the parameter filling position to obtain the first target animation file.

[0114] The target animation is generated based on the first target animation file.

[0115] In this embodiment, the specific implementation process of generating the target animation based on the first target animation file will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated on here.

[0116] This application obtains configurable animation elements from a target animation template file, and automatically fills the parameter filling positions corresponding to the configurable animation elements in the target animation template file with the animation configuration parameters when it detects that the parameter filling positions are not filled with the corresponding animation parameters, thus obtaining a first target animation file. This facilitates the rapid generation of the required target animation based on the first target animation file, effectively improving the animation generation efficiency through the use of animation template files.

[0117] In some alternative implementations, generating the target animation based on the first target animation file includes the following steps:

[0118] The first target animation file is compiled to obtain the corresponding compiled file.

[0119] In this embodiment, the specific method used for the compilation process is not limited and can be set according to actual usage requirements. The compilation process can include either compilation execution or interpretation execution. Using compilation execution to compile the first target animation file ensures faster compilation speed, while using interpretation execution to compile the first target animation file ensures higher compilation accuracy.

[0120] Invokes the preset renderer.

[0121] In this embodiment, the renderer described above can be a real-time renderer that is pre-stored locally for rendering animation files.

[0122] The compiled file is rendered using the renderer to generate the target animation.

[0123] In this embodiment, the first target animation file, which has undergone compilation processing, is further rendered using a renderer to generate the corresponding target animation.

[0124] After obtaining the first target animation file, this application compiles the first target animation file to obtain the corresponding compiled file, and then calls a preset renderer to render the compiled file, so as to quickly generate the required target animation and effectively improve the animation generation efficiency.

[0125] In some optional implementations, after determining whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element, the electronic device may further perform the following steps:

[0126] If the configurable animation element is filled with animation parameters, replace the animation parameters with the animation configuration parameters to obtain the second target animation file.

[0127] In this embodiment, if the parameter filling position corresponding to the configurable animation element in the target animation template file is filled with animation parameters, the animation parameters will be automatically replaced with animation configuration parameters to obtain the second target animation file.

[0128] The target animation is generated based on the second target animation file.

[0129] In this embodiment, the specific implementation process of generating the target animation based on the second target animation file can refer to the specific implementation process of generating the target animation based on the first target animation file described above, and will not be elaborated further here.

[0130] When this application detects that the parameter filling position corresponding to the configurable animation element in the target animation template file is filled with animation parameters, it will automatically replace the animation parameters with animation configuration parameters to obtain a second target animation file. Then, based on the second target animation file, the required target animation can be quickly generated. The use of animation template files effectively improves the animation generation efficiency.

[0131] In some optional implementations of this embodiment, the electronic device may further perform the following steps:

[0132] The preset recording program is invoked to record the steps of generating the target animation, thereby generating the corresponding initial video.

[0133] In this embodiment, the recording program described above can be a program built by writing business code based on the business requirement of recording the animation generation operation steps. The target animation generation operation steps specifically refer to all the operation steps from S201 to S206 described above.

[0134] Obtain the explanatory audio corresponding to the steps for generating the target animation.

[0135] In this embodiment, during the generation of the target animation, the steps of the generation operation can also be explained manually to generate corresponding explanatory audio, which is then stored.

[0136] The pre-set voice input program is invoked to add the narration to the initial video, resulting in an operation demonstration video corresponding to the target animation.

[0137] In this embodiment, the above-mentioned voice input program can be a program built by writing business code to meet the business requirement of adding narration voice to the video.

[0138] Store the demonstration video of the operation.

[0139] In this embodiment, the storage method for the aforementioned operation demonstration video is not specifically limited and can be set according to actual usage needs. For example, it can be stored in a local database or in a blockchain, etc. Furthermore, after generating the operation demonstration video, it can be pushed to relevant business personnel for demonstration and introduction. This allows business personnel to familiarize themselves with the animation generation method and quickly get started by viewing the operation demonstration video. Additionally, a website link corresponding to the operation demonstration video can be generated and pushed to relevant business personnel.

[0140] This application records the steps of generating the target animation using a pre-defined recording program to create an initial video. It then acquires accompanying audio explanations for these steps and adds them to the initial video using a pre-defined audio input program, resulting in a demonstration video corresponding to the target animation. This demonstration video can be easily shared with relevant personnel for demonstration and introduction. It allows personnel to quickly familiarize themselves with the animation generation process and learn how to use it, improving their user experience and increasing the efficiency of animation creation.

[0141] In some optional implementations of this embodiment, the electronic device may further perform the following steps:

[0142] Obtain the code package corresponding to the target animation template file.

[0143] In this embodiment, after the developers create the animation template file corresponding to each animation scene, the corresponding code package is also stored synchronously. The storage method for the code package corresponding to the animation template file is not specifically limited and can be set according to actual usage needs; for example, it can be stored in a local database or in a blockchain, etc.

[0144] Obtain the target user's contact information.

[0145] In this embodiment, the target user can be a business employee of an internet company, such as a financial company. The communication methods include email or telephone.

[0146] Based on the aforementioned communication method, the code package is pushed to the user device corresponding to the target user.

[0147] In this embodiment, once the target user's communication method is obtained, a push method corresponding to that communication method, such as email or SMS, can be used to push the code package to the user's device corresponding to the target user.

[0148] After generating the animation template file required for animation generation, this application will also intelligently obtain the code programming package corresponding to the animation template file and push the code programming package to the user device corresponding to the target user, so that the target user can reuse the animation template file based on the code programming package, thereby improving the user experience of the target user.

[0149] It should be emphasized that, to further ensure the privacy and security of the aforementioned target animation, the target animation can also be stored in a blockchain node.

[0150] The blockchain referred to in this application is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.

[0151] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0152] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0153] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).

[0154] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0155] Further reference Figure 3 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of an animation generation apparatus, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0156] like Figure 3 As shown, the animation generation device 300 described in this embodiment includes: a judgment module 301, a first acquisition module 302, a first receiving module 303, a second acquisition module 304, a second receiving module 305, and a first generation module 306. Wherein:

[0157] The judgment module 301 is used to determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information;

[0158] The first acquisition module 302 is configured to, if so, acquire the target animation scene information from the animation configuration request and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple;

[0159] The first receiving module 303 is used to receive the target animation configuration level information selected by the user from the animation configuration level information;

[0160] The second acquisition module 304 is used to acquire a target animation template file that corresponds to both the target animation scene information and the target animation configuration level information.

[0161] The second receiving module 305 is used to display a preset parameter configuration page based on the target animation template file, and to receive the animation configuration parameters input by the user on the parameter configuration page; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file;

[0162] The first generation module 306 is used to configure and process the target animation template file based on the animation configuration parameters to generate the corresponding target animation.

[0163] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned embodiments, and will not be repeated here.

[0164] In some optional implementations of this embodiment, the second acquisition module 304 includes:

[0165] Calling submodules is used to call preset animation template file libraries;

[0166] The comparison submodule is used to perform one-to-one data comparison processing between the target animation scene information and all animation scene information contained in the animation template file library based on a preset parallel data comparison instruction, and obtain multiple corresponding data comparison results.

[0167] The first determining submodule is used to determine, based on the data comparison results, a specified animation scene information that is the same as the target animation scene information from the animation template file library;

[0168] The first acquisition submodule is used to acquire a first animation template file corresponding to the specified animation scene information from the animation template file library; wherein, the number of the first animation template files includes multiple files;

[0169] The filtering submodule is used to filter out a second animation template file that corresponds to the target animation configuration level information from the first animation template file based on the target animation configuration level information.

[0170] The second determining submodule is used to use the second animation template file as the target animation template file.

[0171] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned embodiments, and will not be repeated here.

[0172] In some optional implementations of this embodiment, the first generation module 306 includes:

[0173] The second acquisition submodule is used to acquire configurable animation elements in the target animation template file;

[0174] The third determining submodule is used to determine the parameter filling position corresponding to the configurable animation element from the target animation template file;

[0175] The judgment submodule is used to determine whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element;

[0176] The fill submodule is used to fill the parameter filling position with the animation configuration parameters if no animation parameters corresponding to the configurable animation element are filled, so as to obtain the first target animation file;

[0177] The first generation submodule is used to generate the target animation based on the first target animation file.

[0178] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned implementation method, and will not be repeated here.

[0179] In some optional implementations of this embodiment, the first generation submodule includes:

[0180] The compilation unit is used to compile the first target animation file to obtain the corresponding compiled file;

[0181] The calling unit is used to invoke the preset renderer;

[0182] The generation unit is used to render the compiled file based on the renderer to generate the target animation.

[0183] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned embodiments, and will not be repeated here.

[0184] In some optional implementations of this embodiment, the first generation module 306 further includes:

[0185] The replacement submodule is used to replace the animation parameters with the animation configuration parameters if the module contains animation parameters corresponding to the configurable animation element, thereby obtaining a second target animation file.

[0186] The second generation submodule is used to generate the target animation based on the second target animation file.

[0187] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned embodiments, and will not be repeated here.

[0188] In some optional implementations of this embodiment, the animation generation apparatus further includes:

[0189] The second generation module is used to call a preset recording program to record the generation operation steps of the target animation and generate the corresponding initial video.

[0190] The third acquisition module is used to acquire the explanatory audio corresponding to the generation operation steps of the target animation;

[0191] The third generation module is used to call a preset voice input program to add the narration voice to the initial video, thereby obtaining an operation demonstration video corresponding to the target animation;

[0192] A storage module is used to store the operation demonstration video.

[0193] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned embodiments, and will not be repeated here.

[0194] In some optional implementations of this embodiment, the animation generation apparatus further includes:

[0195] The fourth acquisition module is used to acquire the code programming package corresponding to the target animation template file;

[0196] The fifth acquisition module is used to acquire the target user's communication information;

[0197] The push module is used to push the code programming package to the user device corresponding to the target user based on the communication method.

[0198] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the animation generation method in the aforementioned embodiments, and will not be repeated here.

[0199] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0200] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected via a system bus. It should be noted that only the computer device 4 with components 41-43 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0201] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.

[0202] The memory 41 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 4. Of course, the memory 41 may include both the internal storage unit and its external storage device of the computer device 4. In this embodiment, the memory 41 is typically used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions for animation generation methods. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.

[0203] In some embodiments, the processor 42 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to execute computer-readable instructions stored in the memory 41 or to process data, for example, to execute computer-readable instructions for the animation generation method.

[0204] The network interface 43 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 4 and other electronic devices.

[0205] Compared with the prior art, the embodiments of this application have the following main advantages:

[0206] In this embodiment, when a user-triggered animation configuration request is received, the system first retrieves the target animation scene information from the request and displays the animation configuration level information corresponding to the target animation scene information. Then, it receives the target animation configuration level information selected by the user from the animation configuration level information. Next, it retrieves the target animation template file corresponding to both the target animation scene information and the target animation configuration level information. Subsequently, based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received. Finally, the target animation template file is configured based on the animation configuration parameters to generate the corresponding target animation. This embodiment only requires determining the corresponding target animation template file based on the user-input target animation scene information and target animation configuration level information, and then configuring the target animation template file accordingly based on the user-input animation configuration parameters to generate the required target animation, effectively improving animation generation efficiency and enhancing the user experience.

[0207] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the animation generation method described above.

[0208] Compared with the prior art, the embodiments of this application have the following main advantages:

[0209] In this embodiment, when a user-triggered animation configuration request is received, the system first retrieves the target animation scene information from the request and displays the animation configuration level information corresponding to the target animation scene information. Then, it receives the target animation configuration level information selected by the user from the animation configuration level information. Next, it retrieves the target animation template file corresponding to both the target animation scene information and the target animation configuration level information. Subsequently, based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received. Finally, the target animation template file is configured based on the animation configuration parameters to generate the corresponding target animation. This embodiment only requires determining the corresponding target animation template file based on the user-input target animation scene information and target animation configuration level information, and then configuring the target animation template file accordingly based on the user-input animation configuration parameters to generate the required target animation, effectively improving animation generation efficiency and enhancing the user experience.

[0210] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0211] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.

Claims

1. An animation generation method, characterized in that, Includes the following steps: Determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information; If so, obtain the target animation scene information from the animation configuration request, and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple; Receive the target animation configuration level information selected by the user from the animation configuration level information; Obtain the target animation template file that corresponds to both the target animation scene information and the target animation configuration level information; Based on the target animation template file, a preset parameter configuration page is displayed, and the animation configuration parameters input by the user on the parameter configuration page are received; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file; The target animation template file is configured and processed based on the animation configuration parameters to generate the corresponding target animation; The step of obtaining the target animation template file corresponding to both the target animation scene information and the target animation configuration level information specifically includes: Call the preset animation template file library; Based on a preset parallel data comparison instruction, the target animation scene information is compared one-to-one with all the animation scene information contained in the animation template file library to obtain multiple corresponding data comparison results. Based on the data comparison results, a specified animation scene information that is the same as the target animation scene information is determined from the animation template file library; Obtain a first animation template file corresponding to the specified animation scene information from the animation template file library; wherein, the number of the first animation template files includes multiple files; Based on the target animation configuration level information, a second animation template file corresponding to the target animation configuration level information is selected from the first animation template file; Use the second animation template file as the target animation template file.

2. The animation generation method according to claim 1, characterized in that, The step of configuring the target animation template file based on the animation configuration parameters to generate the corresponding target animation specifically includes: Obtain the configurable animation elements from the target animation template file; Determine the parameter filling position corresponding to the configurable animation element from the target animation template file; Determine whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element; If no animation parameters corresponding to the configurable animation element are filled in, the animation configuration parameters are filled into the parameter filling position to obtain the first target animation file; The target animation is generated based on the first target animation file.

3. The animation generation method according to claim 2, characterized in that, The step of generating the target animation based on the first target animation file specifically includes: The first target animation file is compiled to obtain the corresponding compiled file; Invoke the preset renderer; The compiled file is rendered using the renderer to generate the target animation.

4. The animation generation method according to claim 2, characterized in that, After the step of determining whether the parameter filling position is filled with animation parameters corresponding to the configurable animation element, the method further includes: If the configurable animation element is filled with animation parameters, replace the animation parameters with the animation configuration parameters to obtain the second target animation file; The target animation is generated based on the second target animation file.

5. The animation generation method according to claim 1, characterized in that, The animation generation method further includes: The preset recording program is invoked to record the steps of generating the target animation, and a corresponding initial video is generated; Obtain the explanatory audio corresponding to the steps for generating the target animation; The narration is added to the initial video by calling a preset voice input program, resulting in an operation demonstration video corresponding to the target animation; Store the demonstration video of the operation.

6. The animation generation method according to claim 1, characterized in that, The animation generation method further includes: Obtain the code package corresponding to the target animation template file; Obtain the target user's contact information; Based on the aforementioned communication method, the code package is pushed to the user device corresponding to the target user.

7. An animation generation device, characterized in that, include: The judgment module is used to determine whether a user-triggered animation configuration request has been received; wherein the animation configuration request carries target animation scene information; The first acquisition module is configured to, if so, acquire the target animation scene information from the animation configuration request and display the animation configuration level information corresponding to the target animation scene information; wherein, the number of animation configuration level information includes multiple; The first receiving module is configured to receive the target animation configuration level information selected by the user from the animation configuration level information; The second acquisition module is used to acquire a target animation template file that corresponds to both the target animation scene information and the target animation configuration level information. The second receiving module is used to display a preset parameter configuration page based on the target animation template file, and to receive the animation configuration parameters input by the user on the parameter configuration page; wherein, the parameter configuration page is a parameter-filled page corresponding to the configurable animation elements contained in the target animation template file; The first generation module is used to configure and process the target animation template file based on the animation configuration parameters to generate the corresponding target animation; The second acquisition module includes: Calling submodules is used to call preset animation template file libraries; The comparison submodule is used to perform one-to-one data comparison processing between the target animation scene information and all animation scene information contained in the animation template file library based on a preset parallel data comparison instruction, and obtain multiple corresponding data comparison results. The first determining submodule is used to determine, based on the data comparison results, a specified animation scene information that is the same as the target animation scene information from the animation template file library; The first acquisition submodule is used to acquire a first animation template file corresponding to the specified animation scene information from the animation template file library; wherein, the number of the first animation template files includes multiple files; The filtering submodule is used to filter out a second animation template file that corresponds to the target animation configuration level information from the first animation template file based on the target animation configuration level information. The second determining submodule is used to use the second animation template file as the target animation template file.

8. A computer device comprising a memory and a processor, the memory storing computer-readable instructions, wherein the processor, when executing the computer-readable instructions, implements the steps of the animation generation method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the animation generation method as described in any one of claims 1 to 6.