Animation generation method and device, computer equipment and storage medium

By obtaining and editing animation sub-data under multiple animation editing dimensions, the problem of insufficient quality of animation works after virtual live recording is solved, and higher quality and exciting animation generation is achieved.

CN119893221APending Publication Date: 2025-04-25BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311388610.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

After virtual live recording, it is difficult for the existing technology to effectively improve the quality of animation works, and the editing effect is limited, so it is impossible to edit at the lower-level animation subdata level.

Method used

By obtaining animation subdata in multiple animation editing dimensions, displaying the editing tracks of each editing dimension in the animation editing interface, and in response to the editing operation, the edited animation subdata is determined, thereby generating target animation data and target animation.

Benefits of technology

It realizes editing animation content at a more underlying animation subdata level, improving the quality and excitement of animation works.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893221A_ABST
    Figure CN119893221A_ABST
Patent Text Reader

Abstract

The invention provides an animation generation method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining animation sub-data under a plurality of animation editing dimensions; editing tracks corresponding to the multiple animation editing dimensions are displayed on the animation editing interface; in response to an editing operation executed on the animation sub-data under the multiple animation editing dimensions on the editing track, determining the edited animation sub-data under the multiple animation editing dimensions; and generating target animation data based on the edited animation sub-data under the plurality of animation editing dimensions, and generating a target animation based on the target animation data. Therefore, compared with the mode that the recorded animation content is edited on the video level, the mode that the animation content is edited on the animation sub-data level on the lower layer can be achieved by editing the obtained animation sub-data under the multiple animation editing dimensions, the editing effect on the animation sub-data is better, and the editing efficiency of the animation sub-data is improved. Therefore, animation works with higher quality can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of animation technology, and in particular to an animation generation method, device, computer equipment and storage medium. Background Art

[0002] With the development of virtual reality and augmented reality technologies, virtual live broadcast technology using virtual characters for live broadcast has emerged. During the virtual live broadcast process, the virtual characters driven by the virtual character control objects can replace the real anchor to show their talents. In order to facilitate the audience to watch the playback, the virtual live broadcast can be recorded to generate animations containing virtual characters.

[0003] In the related art, after recording a virtual live broadcast, in order to improve the excitement of the final generated animation work, it is often necessary to edit the exciting content in the complete recorded content to generate an animation editing work corresponding to the virtual character. However, since only the screen content of the virtual live broadcast can be edited, the editing effect of the editing operation is limited, and the quality of the generated animation work needs to be improved. Summary of the invention

[0004] The embodiments of the present disclosure at least provide an animation generation method, apparatus, computer equipment, and storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides an animation generation method, comprising:

[0006] Get animation sub-data under multiple animation editing dimensions;

[0007] Displaying the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface;

[0008] In response to an editing operation performed on the animation sub-data under the plurality of animation editing dimensions in the editing track, determining the edited animation sub-data under the plurality of animation editing dimensions;

[0009] Based on the edited animation sub-data under the multiple animation editing dimensions, target animation data is generated, and based on the target animation data, a target animation is generated.

[0010] In a possible implementation manner, the multiple animation editing dimensions include at least two editing dimensions of an action control data editing dimension, a storyboard editing dimension, and a storyboard tracking target editing dimension; wherein:

[0011] The action control data editing dimension is used to edit the action control data of the virtual character, and the action control data is used to drive the virtual character to perform corresponding actions;

[0012] The storyboard editing dimension is used to edit each storyboard in the animation;

[0013] The storyboard tracking target editing dimension is used to edit the tracked target virtual character.

[0014] In a possible implementation manner, the obtaining of animation sub-data under multiple animation editing dimensions includes:

[0015] In response to the animation data recording operation, determining a recording object and a recording period indicated by the animation data recording operation, wherein the recording object includes a target virtual character among the virtual characters displayed in the live broadcast screen of the virtual scene;

[0016] The animation recording data of the target virtual character in the multiple animation editing dimensions during the recording period is acquired, and the animation recording data in the multiple animation editing dimensions is used as the animation sub-data.

[0017] In a possible implementation manner, the animation data recording operation includes multiple animation data recording operations;

[0018] The displaying of the editing tracks corresponding to the plurality of animation editing dimensions respectively on the animation editing interface includes:

[0019] The animation sub-data recorded in multiple animation data recording operations are displayed in the editing track of the animation editing interface, and the animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks.

[0020] In a possible implementation manner, the method further includes:

[0021] In response to the copy operation of the animation sub-data recorded for the animation data recording operation, generating at least one set of duplicate animation sub-data corresponding to the animation sub-data under the plurality of animation editing dimensions;

[0022] The displaying of the editing tracks corresponding to the plurality of animation editing dimensions respectively on the animation editing interface includes:

[0023] The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface, and the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously.

[0024] In a possible implementation manner, the method further includes:

[0025] In response to an editing trigger operation for animation sub-data under any animation editing dimension, the editing area of ​​the animation sub-data under the animation editing dimension in the animation editing page is scaled based on the corresponding display size of the animation sub-data under the animation editing dimension in the animation editing page.

[0026] In a possible implementation manner, the method further includes:

[0027] In response to a trigger operation on any one of a plurality of animation files displayed on a live broadcast control page during a live broadcast of a virtual scene, a target animation file to be played is determined; wherein the plurality of animation files include an animation file corresponding to the target animation;

[0028] The animation data corresponding to the target animation file is sent to a live broadcast server, so that the animation data corresponding to the target animation file is pushed to a live broadcast client based on the live broadcast server, and the animation content corresponding to the target animation file is displayed on the live broadcast client.

[0029] In a second aspect, the present disclosure also provides an animation generating device, including:

[0030] An acquisition module is used to acquire animation sub-data under multiple animation editing dimensions;

[0031] A display module, used to display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface;

[0032] a determination module, configured to determine the edited animation sub-data under the plurality of animation editing dimensions in response to an editing operation performed on the animation sub-data under the plurality of animation editing dimensions in the editing track;

[0033] A generating module is used to generate target animation data based on the edited animation sub-data under the multiple animation editing dimensions, and to generate a target animation based on the target animation data.

[0034] In a possible implementation manner, the multiple animation editing dimensions include at least two editing dimensions of an action control data editing dimension, a storyboard editing dimension, and a storyboard tracking target editing dimension; wherein:

[0035] The action control data editing dimension is used to edit the action control data of the virtual character, and the action control data is used to drive the virtual character to perform corresponding actions;

[0036] The storyboard editing dimension is used to edit each storyboard in the animation;

[0037] The storyboard tracking target editing dimension is used to edit the tracked target virtual character.

[0038] In a possible implementation manner, when acquiring the animation sub-data under multiple animation editing dimensions, the acquisition module is used to:

[0039] In response to the animation data recording operation, determining a recording object and a recording period indicated by the animation data recording operation, wherein the recording object includes a target virtual character among the virtual characters displayed in the live broadcast screen of the virtual scene;

[0040] The animation recording data of the target virtual character in the multiple animation editing dimensions during the recording period is acquired, and the animation recording data in the multiple animation editing dimensions is used as the animation sub-data.

[0041] In a possible implementation manner, the animation data recording operation includes multiple animation data recording operations;

[0042] The display module, when displaying the editing tracks respectively corresponding to the multiple animation editing dimensions on the animation editing interface, is used to:

[0043] The animation sub-data recorded in multiple animation data recording operations are displayed in the editing track of the animation editing interface, and the animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks.

[0044] In a possible implementation manner, the acquisition module is further used to:

[0045] In response to the copy operation of the animation sub-data recorded for the animation data recording operation, generating at least one set of duplicate animation sub-data corresponding to the animation sub-data under the plurality of animation editing dimensions;

[0046] The display module, when displaying the editing tracks respectively corresponding to the multiple animation editing dimensions on the animation editing interface, is used to:

[0047] The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface, and the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously.

[0048] In a possible implementation manner, the display module is further used for:

[0049] In response to an editing trigger operation for animation sub-data under any animation editing dimension, the editing area of ​​the animation sub-data under the animation editing dimension in the animation editing page is scaled based on the corresponding display size of the animation sub-data under the animation editing dimension in the animation editing page.

[0050] In a possible implementation manner, the generating module is further used for:

[0051] In response to a trigger operation on any one of a plurality of animation files displayed on a live broadcast control page during a live broadcast of a virtual scene, a target animation file to be played is determined; wherein the plurality of animation files include an animation file corresponding to the target animation;

[0052] The animation data corresponding to the target animation file is sent to a live broadcast server, so that the animation data corresponding to the target animation file is pushed to a live broadcast client based on the live broadcast server, and the animation content corresponding to the target animation file is displayed on the live broadcast client.

[0053] In a third aspect, an embodiment of the present disclosure further provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect, or any possible implementation of the first aspect are performed.

[0054] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.

[0055] The animation generation method, apparatus, computer equipment and storage medium provided by the embodiments of the present disclosure can display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface after acquiring the animation sub-data under multiple animation editing dimensions, and determine the animation sub-data under the multiple animation editing dimensions after editing in response to the editing operations performed on the animation sub-data under the multiple animation editing dimensions in the editing tracks, so that target animation data can be generated based on the animation sub-data under the multiple animation editing dimensions after editing, and target animation can be generated based on the target animation data. In this way, compared to performing video-level editing operations on recorded animation content, by performing editing operations on the acquired animation sub-data under multiple animation editing dimensions, the animation content can be edited at a more basic animation sub-data level, and the editing effect of the animation sub-data is better, so that a higher-quality animation work can be obtained.

[0056] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0058] Figure 1 A flowchart of an animation generation method provided by some embodiments of the present disclosure is shown;

[0059] Figure 2 A schematic diagram of an animation editing page in the animation generating method provided in some embodiments of the present disclosure is shown;

[0060] Figure 3 A schematic diagram of an animation editing page after scaling processing is shown in the animation generation method provided in some embodiments of the present disclosure;

[0061] Figure 4 A schematic diagram of the architecture of an animation generating device provided by some embodiments of the present disclosure is shown;

[0062] Figure 5 A schematic structural diagram of a computer device provided in some embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0064] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0065] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0066] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0067] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0068] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0069] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0070] Research has found that after recording a virtual live broadcast, in order to improve the excitement of the final animation work, it is often necessary to edit the exciting content in the complete recorded content to generate animation editing works corresponding to the virtual characters. However, since only the screen content of the virtual live broadcast can be edited, the editing effect of the editing operation is limited, and the quality of the generated animation work needs to be improved.

[0071] Based on the above research, the present disclosure provides an animation generation method, apparatus, computer equipment and storage medium. After obtaining the animation sub-data under multiple animation editing dimensions, the editing tracks corresponding to the multiple animation editing dimensions can be displayed in the animation editing interface, and in response to the editing operations performed on the animation sub-data under the multiple animation editing dimensions in the editing tracks, the animation sub-data under the multiple animation editing dimensions after editing can be determined, so that target animation data can be generated based on the animation sub-data under the multiple animation editing dimensions after editing, and target animation can be generated based on the target animation data. In this way, compared to performing video-level editing operations on recorded animation content, by performing editing operations on the animation sub-data under the acquired multiple animation editing dimensions, the animation content can be edited at a more basic animation sub-data level, and the editing effect of the animation sub-data is better, so that a higher-quality animation work can be obtained.

[0072] To facilitate understanding of the present embodiment, an animation generation method disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the animation generation method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the animation generation method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0073] See also Figure 1 FIG. 1 is a flowchart of an animation generation method provided by an embodiment of the present disclosure, wherein the method includes S101 to S104, wherein:

[0074] S101: Obtain animation sub-data under multiple animation editing dimensions.

[0075] S102: Displaying the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface.

[0076] S103: In response to the editing operation performed on the animation sub-data under the multiple animation editing dimensions in the editing track, determine the edited animation sub-data under the multiple animation editing dimensions.

[0077] S104: Generate target animation data based on the edited animation sub-data under the multiple animation editing dimensions, and generate a target animation based on the target animation data.

[0078] The following is a detailed description of the above steps.

[0079] The acquisition process for S101:

[0080] The animation editing dimension is used to represent the dimension when editing the animation sub-data; the multiple animation editing dimensions may include at least two editing dimensions of the action control data editing dimension, the storyboard editing dimension, and the storyboard tracking target editing dimension, and the animation editing dimension may also include an audio editing dimension; wherein:

[0081] Dimension 1: Action control data editing dimension

[0082] Here, the action control data editing dimension can be used to edit the action control data of the virtual character, and the action control data is used to drive the virtual character to perform corresponding actions. The action control data can be, for example, virtual character skeleton control data livelink data (live link is a plug-in provided by the engine, and its purpose is to provide a universal interface to stream and add animation data from external sources to the engine); the action control data can be real-time motion capture data, and the real-time motion capture data can be collected by a motion capture device, and is used to characterize the actions made by the virtual character control object in the real scene.

[0083] Specifically, by editing the action control data, the action of the virtual character in the target animation finally generated can be edited, so that the virtual character in the target animation finally obtained can perform actions that meet the requirements.

[0084] Dimension 2: Storyboard Editing Dimension

[0085] Here, the animation sub-data corresponding to the virtual character can be shot by different virtual cameras. Different virtual cameras can shoot the virtual character from different shooting angles, so as to obtain the corresponding animation sub-data; the storyboard editing dimension can be used to edit each storyboard in the animation, and one storyboard can correspond to one virtual camera.

[0086] Specifically, editing the storyboards means editing the animation sub-data captured by each virtual camera, so as to obtain animation data of the virtual character under different shooting angles.

[0087] Dimension 3: Storyboard tracking target editing dimension

[0088] Here, the storyboard tracking target editing dimension can be used to edit the tracked target virtual character.

[0089] Specifically, since the virtual camera may capture multiple virtual characters at the same time during filming, in order to ensure that the target virtual character can be tracked in the finally generated target animation so as to highlight the target virtual character, the target virtual character tracked in the target animation can be edited through the editing operations under the storyboard tracking target editing dimension to determine the target virtual character tracked in the target animation, thereby achieving a prominent display effect on the target virtual character.

[0090] Dimension 4: Audio Editing

[0091] Here, the audio editing dimension can be used to edit the audio data in the animation, and the audio data in the animation can include background music data and other data.

[0092] Specifically, by editing the audio data in the animation, the audio data in the target animation finally obtained can meet the audio requirements of the animation.

[0093] In a possible implementation, when obtaining animation sub-data under multiple animation editing dimensions, the following steps A1 to A2 may be performed:

[0094] A1: In response to an animation data recording operation, determining a recording object and a recording period indicated by the animation data recording operation, wherein the recording object includes a target virtual character among virtual characters displayed in a live broadcast screen of a virtual scene.

[0095] A2: Acquire the animation recording data of the target virtual character in the multiple animation editing dimensions during the recording period, and use the animation recording data in the multiple animation editing dimensions as the animation sub-data.

[0096] Here, the animation data recording operation may include an animation data recording start operation and an animation data recording end operation, and the duration between the animation data recording start operation and the animation data recording end operation constitutes a recording period; or, the recording period may also be directly indicated by the animation data recording operation, such as indicating recording for 10 minutes; the recording object may be edited on a recording operation editing page corresponding to the animation data recording operation, and recording may begin after editing of the recording operation editing page is completed.

[0097] In addition, the recording operation editing page can also indicate the type of recorded animation sub-data (that is, the animation editing dimension to be edited subsequently). For example, it can indicate that the recorded animation sub-data is animation sub-data corresponding to the audio editing dimension, the motion control data editing dimension, and the storyboard editing dimension, respectively. By indicating the recording of animation sub-data under multiple types of animation editing dimensions, the corresponding type of animation recording data can be obtained during recording to complete the recording of the animation sub-data.

[0098] The editing track display process for S102:

[0099] Here, the editing track corresponding to the animation editing dimension is used to display the animation sub-data under the animation editing dimension.

[0100] Exemplarily, the schematic diagram of the animation editing page can be as follows: Figure 2 As shown, Figure 2 In the animation editing page, the animation file selection area and the animation sub-data editing area may be included; the files in the animation file selection area may be displayed in the form of a structure tree, etc., so that the editor can store and select the animation data to be edited and the animation data after editing; the animation sub-data editing area may include a timeline for indicating when the animation sub-data is displayed, multiple animation editing dimensions, and the animation sub-data under each animation editing dimension, and the animation sub-data is displayed in an editable editing track, Figure 2 The animation editing dimensions include action control data editing dimensions, audio editing dimensions, storyboard tracking target editing dimensions, and storyboard editing dimensions. The six different colored areas under the storyboard editing dimensions represent the animation sub-data corresponding to storyboards 1 to 6 respectively.

[0101] In one possible implementation, the animation data recording operation may include multiple animation data recording operations; when the editing tracks corresponding to the multiple animation editing dimensions are displayed in the animation editing interface, the animation sub-data recorded in the multiple animation data recording operations may be displayed in the editing tracks of the animation editing interface, and the animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks.

[0102] Here, the animation data recording operation may include multiple animation data recording operations, and the animation sub-data under multiple animation editing dimensions recorded in each animation data recording operation may constitute a group of animation sub-data, and multiple groups of animation sub-data may be obtained after multiple animation data recording operations.

[0103] Specifically, when the animation editing page displays multiple groups of animation sub-data obtained after multiple animation data recording operations, the animation sub-data recorded in the multiple animation data recording operations can be displayed in sequence in the editing track of the animation editing interface. The animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks to achieve orderly display of each group of animation sub-data.

[0104] In this way, by simultaneously displaying multiple sets of animation sub-data in the animation editing page, it is convenient to simultaneously edit the animation data according to the multiple sets of animation sub-data, thereby obtaining a target animation that can meet the animation editing requirements.

[0105] Furthermore, the recorded animation sub-data can be copied and edited by following the steps below:

[0106] B1: In response to the copy operation of the animation sub-data recorded for the animation data recording operation, generating at least one set of copy animation sub-data corresponding to the animation sub-data under the multiple animation editing dimensions.

[0107] B2: The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface. The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously.

[0108] Here, when the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface, it can be that in response to a paste operation for the at least one set of copy animation sub-data, the copy animation sub-data corresponding to the copy operation is added to the paste position indicated by the copy operation to place the copy animation sub-data in the animation editing page, so as to simultaneously display the animation sub-data recorded by the animation data recording operation and the copy animation sub-data in the editing track of the animation editing interface.

[0109] Specifically, the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously. It can be an editing operation on the animation sub-data recorded by the animation data recording operation, which can be synchronously executed on the at least one set of copy animation sub-data, so that the editing of multiple sets of the same animation sub-data can be achieved through one editing operation.

[0110] In addition, if there is corresponding animation sub-data at the paste position, the copy animation sub-data can be merged with the animation sub-data existing at the paste position to form a new set of animation sub-data, and the editing operations between the merged fused animation sub-data and the animation sub-data recorded by the animation data recording operation (that is, the animation sub-data indicated by the copy operation) can be independent of each other.

[0111] In this way, by setting corresponding copy, paste and synchronous editing mechanisms for the animation editing page, it is convenient for editors to edit the animation sub-data, thereby improving the animation data editing efficiency and animation generation efficiency.

[0112] Animation editing and animation generation process for S103 and S104:

[0113] Here, the editing operation may include moving operations, scaling operations, cropping operations and the like for the animation sub-data. The moving operation is used to edit the display start time and display end time of the animation sub-data, the scaling operation is used to control the display duration of the animation sub-data, and the cropping operation is used to crop the animation content corresponding to the animation sub-data.

[0114] In addition, in order to improve the efficiency of animation editing, the editing operation can also be initiated by multiple editing terminals, and the multiple editing terminals can edit the same animation sub-data. The animation editing page in editing can be synchronously displayed in the screen of each editing terminal, so that multiple people can edit the same animation sub-data to improve the animation editing efficiency and animation generation efficiency.

[0115] In one possible implementation, in response to an editing trigger operation for animation sub-data under any animation editing dimension, the editing area of ​​the animation sub-data under the animation editing dimension in the animation editing page is scaled based on the corresponding display size of the animation sub-data under the animation editing dimension in the animation editing page.

[0116] Here, since the animation editing page can display animation sub-data under multiple editing tracks, and too many editing tracks often make it difficult for the editor to focus on the animation sub-data currently being edited, it is possible to respond to an edit trigger operation on the animation sub-data under any animation editing dimension, use the animation editing dimension triggered by the edit trigger operation as the target animation editing dimension, and based on the corresponding display size of the animation sub-data under the target animation editing dimension in the animation editing page, scale the editing area of ​​the animation sub-data under the target animation editing dimension in the animation editing page to increase the corresponding display size of the animation sub-data under the target animation editing dimension in the animation editing page, so as to facilitate the editor to perform more sophisticated animation data editing operations.

[0117] For example, the schematic diagram of the animation editing page before the scaling process can be as follows: Figure 2 As shown, the schematic diagram of the animation editing page after scaling can be as follows Figure 3 As shown, Figure 3 In the process, the editing area of ​​the animation sub-data corresponding to storyboard 1 in the storyboard is enlarged to facilitate the editing operation of the corresponding animation sub-data.

[0118] Furthermore, during the editing process, the animation data indicated by the preview operation can be previewed on the screen through the preview operation, so as to achieve the effect of previewing while editing; in addition, during the editing process, marks can be added in the animation sub-data editing area in the animation editing page, such as adding marks on the timeline to record information such as the content that needs to be edited; in addition, the editing operation can be undone after execution, and after any editing operation is undone, the animation data displayed in the animation editing page can be updated to the state before being edited by the editing operation; in addition, in order to prevent the animation sub-data under any animation editing dimension from being edited by mistake, after receiving the editing lock operation for any animation editing dimension, the editing state of the corresponding animation editing dimension can be updated to a locked state so that the animation sub-data under the animation editing dimension cannot be edited.

[0119] Furthermore, the animation content can be live streamed through the following steps C1 to C2:

[0120] C1: In response to a trigger operation on any one of a plurality of animation files displayed on a live broadcast control page during a live broadcast of a virtual scene, a target animation file to be played is determined; wherein the plurality of animation files include an animation file corresponding to the target animation.

[0121] C2: Sending the animation data corresponding to the target animation file to a live broadcast server, so as to push the animation data corresponding to the target animation file to a live broadcast client based on the live broadcast server, and displaying the animation content corresponding to the target animation file on the live broadcast client.

[0122] Here, the animation file may be composed of edited animation data. By editing the animation sub-data under multiple animation editing dimensions, an animation file containing the animation data may be obtained. The live broadcast server may be a server in a content delivery network (CDN). By sending the animation data corresponding to the target animation file to the server in the CDN, the transmission stability of the live broadcast data may be improved.

[0123] The animation generation method provided by the disclosed embodiment can display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface after acquiring the animation sub-data under multiple animation editing dimensions, and determine the animation sub-data under the multiple animation editing dimensions after editing in response to the editing operations performed on the animation sub-data under the multiple animation editing dimensions in the editing tracks, so that target animation data can be generated based on the animation sub-data under the multiple animation editing dimensions after editing, and target animation can be generated based on the target animation data. In this way, compared to performing video-level editing operations on recorded animation content, by performing editing operations on the acquired animation sub-data under multiple animation editing dimensions, the animation content can be edited at a more basic animation sub-data level, and the editing effect of the animation sub-data is better, so that a higher-quality animation work can be obtained.

[0124] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0125] Based on the same inventive concept, an animation generation device corresponding to the animation generation method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned animation generation method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0126] Reference Figure 4 , which is a schematic diagram of the architecture of an animation generating device provided by an embodiment of the present disclosure, the device comprises: an acquisition module 401, a display module 402, a determination module 403, and a generation module 404; wherein:

[0127] The acquisition module 401 is used to acquire animation sub-data under multiple animation editing dimensions;

[0128] A display module 402, used to display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface;

[0129] A determination module 403 is used to determine the animation sub-data under the multiple animation editing dimensions after editing in response to the editing operation performed on the animation sub-data under the multiple animation editing dimensions in the editing track;

[0130] The generating module 404 is used to generate target animation data based on the edited animation sub-data under the multiple animation editing dimensions, and generate a target animation based on the target animation data.

[0131] In a possible implementation manner, the multiple animation editing dimensions include at least two editing dimensions of an action control data editing dimension, a storyboard editing dimension, and a storyboard tracking target editing dimension; wherein:

[0132] The action control data editing dimension is used to edit the action control data of the virtual character, and the action control data is used to drive the virtual character to perform corresponding actions;

[0133] The storyboard editing dimension is used to edit each storyboard in the animation;

[0134] The storyboard tracking target editing dimension is used to edit the tracked target virtual character.

[0135] In a possible implementation, the acquisition module 401, when acquiring the animation sub-data under multiple animation editing dimensions, is used to:

[0136] In response to the animation data recording operation, determining a recording object and a recording period indicated by the animation data recording operation, wherein the recording object includes a target virtual character among the virtual characters displayed in the live broadcast screen of the virtual scene;

[0137] The animation recording data of the target virtual character in the multiple animation editing dimensions during the recording period is acquired, and the animation recording data in the multiple animation editing dimensions is used as the animation sub-data.

[0138] In a possible implementation manner, the animation data recording operation includes multiple animation data recording operations;

[0139] The display module 402 is used to display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface:

[0140] The animation sub-data recorded in multiple animation data recording operations are displayed in the editing track of the animation editing interface, and the animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks.

[0141] In a possible implementation manner, the acquisition module 401 is further configured to:

[0142] In response to the copy operation of the animation sub-data recorded for the animation data recording operation, generating at least one set of duplicate animation sub-data corresponding to the animation sub-data under the plurality of animation editing dimensions;

[0143] The display module 402 is used to display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface:

[0144] The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface, and the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously.

[0145] In a possible implementation manner, the display module 402 is further used for:

[0146] In response to an editing trigger operation for animation sub-data under any animation editing dimension, the editing area of ​​the animation sub-data under the animation editing dimension in the animation editing page is scaled based on the corresponding display size of the animation sub-data under the animation editing dimension in the animation editing page.

[0147] In a possible implementation manner, the generating module 404 is further configured to:

[0148] In response to a trigger operation on any one of a plurality of animation files displayed on a live broadcast control page during a live broadcast of a virtual scene, a target animation file to be played is determined; wherein the plurality of animation files include an animation file corresponding to the target animation;

[0149] The animation data corresponding to the target animation file is sent to a live broadcast server, so that the animation data corresponding to the target animation file is pushed to a live broadcast client based on the live broadcast server, and the animation content corresponding to the target animation file is displayed on the live broadcast client.

[0150] The animation generation device provided by the disclosed embodiment can display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface after acquiring the animation sub-data under the multiple animation editing dimensions, and determine the animation sub-data under the multiple animation editing dimensions after editing in response to the editing operations performed on the animation sub-data under the multiple animation editing dimensions in the editing tracks, so that target animation data can be generated based on the animation sub-data under the multiple animation editing dimensions after editing, and target animation can be generated based on the target animation data. In this way, compared to performing video-level editing operations on recorded animation content, by performing editing operations on the acquired animation sub-data under the multiple animation editing dimensions, the animation content can be edited at a more basic animation sub-data level, and the editing effect of the animation sub-data is better, so that a higher-quality animation work can be obtained.

[0151] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0152] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 5 As shown, it is a schematic diagram of the structure of a computer device 500 provided in an embodiment of the present disclosure, including a processor 501, a memory 502, and a bus 503. Among them, the memory 502 is used to store execution instructions, including a memory 5021 and an external memory 5022; the memory 5021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 501, and the data exchanged with the external memory 5022 such as a hard disk. The processor 501 exchanges data with the external memory 5022 through the memory 5021. When the computer device 500 is running, the processor 501 communicates with the memory 502 through the bus 503, so that the processor 501 executes the following instructions:

[0153] Get animation sub-data under multiple animation editing dimensions;

[0154] Displaying the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface;

[0155] In response to an editing operation performed on the animation sub-data under the plurality of animation editing dimensions in the editing track, determining the edited animation sub-data under the plurality of animation editing dimensions;

[0156] Based on the edited animation sub-data under the multiple animation editing dimensions, target animation data is generated, and based on the target animation data, a target animation is generated.

[0157] In a possible implementation manner, in the instruction of the processor 501, the multiple animation editing dimensions include at least two editing dimensions of an action control data editing dimension, a storyboard editing dimension, and a storyboard tracking target editing dimension; wherein:

[0158] The action control data editing dimension is used to edit the action control data of the virtual character, and the action control data is used to drive the virtual character to perform corresponding actions;

[0159] The storyboard editing dimension is used to edit each storyboard in the animation;

[0160] The storyboard tracking target editing dimension is used to edit the tracked target virtual character.

[0161] In a possible implementation manner, in the instruction of the processor 501, the acquiring of animation sub-data under multiple animation editing dimensions includes:

[0162] In response to the animation data recording operation, determining a recording object and a recording period indicated by the animation data recording operation, wherein the recording object includes a target virtual character among the virtual characters displayed in the live broadcast screen of the virtual scene;

[0163] The animation recording data of the target virtual character in the multiple animation editing dimensions during the recording period is acquired, and the animation recording data in the multiple animation editing dimensions is used as the animation sub-data.

[0164] In a possible implementation manner, in the instruction of the processor 501, the animation data recording operation includes multiple animation data recording operations;

[0165] The displaying of the editing tracks corresponding to the plurality of animation editing dimensions respectively on the animation editing interface includes:

[0166] The animation sub-data recorded in multiple animation data recording operations are displayed in the editing track of the animation editing interface, and the animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks.

[0167] In a possible implementation manner, the instruction of the processor 501 further includes:

[0168] In response to the copy operation of the animation sub-data recorded for the animation data recording operation, generating at least one set of duplicate animation sub-data corresponding to the animation sub-data under the plurality of animation editing dimensions;

[0169] The displaying of the editing tracks corresponding to the plurality of animation editing dimensions respectively on the animation editing interface includes:

[0170] The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface, and the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously.

[0171] In a possible implementation manner, the instruction of the processor 501 further includes:

[0172] In response to an editing trigger operation for animation sub-data under any animation editing dimension, the editing area of ​​the animation sub-data under the animation editing dimension in the animation editing page is scaled based on the corresponding display size of the animation sub-data under the animation editing dimension in the animation editing page.

[0173] In a possible implementation manner, the instruction of the processor 501 further includes:

[0174] In response to a trigger operation on any one of a plurality of animation files displayed on a live broadcast control page during a live broadcast of a virtual scene, a target animation file to be played is determined; wherein the plurality of animation files include an animation file corresponding to the target animation;

[0175] The animation data corresponding to the target animation file is sent to a live broadcast server, so that the animation data corresponding to the target animation file is pushed to a live broadcast client based on the live broadcast server, and the animation content corresponding to the target animation file is displayed on the live broadcast client.

[0176] The present disclosure also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the animation generation method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0177] The present disclosure also provides a computer program product that carries a program code. The program code includes instructions that can be used to execute the steps of the animation generation method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0178] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0179] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0180] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0181] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0182] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0183] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. An animation generation method, characterized in that: include: Get animation sub-data under multiple animation editing dimensions; Displaying the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface; In response to an editing operation performed on the animation sub-data under the plurality of animation editing dimensions in the editing track, determining the edited animation sub-data under the plurality of animation editing dimensions; Based on the edited animation sub-data under the multiple animation editing dimensions, target animation data is generated, and based on the target animation data, a target animation is generated.

2. The method according to claim 1, characterized in that The multiple animation editing dimensions include at least two editing dimensions of action control data editing dimension, storyboard editing dimension, and storyboard tracking target editing dimension; wherein: The action control data editing dimension is used to edit the action control data of the virtual character, and the action control data is used to drive the virtual character to perform corresponding actions; The storyboard editing dimension is used to edit each storyboard in the animation; The storyboard tracking target editing dimension is used to edit the tracked target virtual character.

3. The method according to claim 1, characterized in that The obtaining of animation sub-data under multiple animation editing dimensions includes: In response to the animation data recording operation, determining a recording object and a recording period indicated by the animation data recording operation, wherein the recording object includes a target virtual character among the virtual characters displayed in the live broadcast screen of the virtual scene; The animation recording data of the target virtual character in the multiple animation editing dimensions during the recording period is acquired, and the animation recording data in the multiple animation editing dimensions is used as the animation sub-data.

4. The method according to claim 3, characterized in that The animation data recording operation includes multiple animation data recording operations; The displaying of the editing tracks corresponding to the plurality of animation editing dimensions respectively on the animation editing interface includes: The animation sub-data recorded in multiple animation data recording operations are displayed in the editing track of the animation editing interface, and the animation sub-data recorded in each animation data recording operation includes animation sub-data under multiple editing tracks.

5. The method according to claim 3, characterized in that: The method further comprises: In response to the copy operation of the animation sub-data recorded for the animation data recording operation, generating at least one set of duplicate animation sub-data corresponding to the animation sub-data under the plurality of animation editing dimensions; The displaying of the editing tracks corresponding to the plurality of animation editing dimensions respectively on the animation editing interface includes: The animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data are displayed in the editing track of the animation editing interface, and the animation sub-data recorded by the animation data recording operation and the at least one set of copy animation sub-data can be edited synchronously.

6. The method according to claim 1, characterized in that The method further comprises: In response to an editing trigger operation for animation sub-data under any animation editing dimension, the editing area of ​​the animation sub-data under the animation editing dimension in the animation editing page is scaled based on the corresponding display size of the animation sub-data under the animation editing dimension in the animation editing page.

7. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on any one of a plurality of animation files displayed on a live broadcast control page during a live broadcast of a virtual scene, a target animation file to be played is determined; wherein the plurality of animation files include an animation file corresponding to the target animation; The animation data corresponding to the target animation file is sent to a live broadcast server, so that the animation data corresponding to the target animation file is pushed to a live broadcast client based on the live broadcast server, and the animation content corresponding to the target animation file is displayed on the live broadcast client.

8. An animation generating device, characterized in that: include: An acquisition module is used to acquire animation sub-data under multiple animation editing dimensions; A display module, used to display the editing tracks corresponding to the multiple animation editing dimensions respectively on the animation editing interface; a determination module, configured to determine the edited animation sub-data under the plurality of animation editing dimensions in response to an editing operation performed on the animation sub-data under the plurality of animation editing dimensions in the editing track; A generating module is used to generate target animation data based on the edited animation sub-data under the multiple animation editing dimensions, and to generate a target animation based on the target animation data.

9. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the animation generation method as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the animation generation method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Real-time recording and real-time editing method and system of audiovisual files in mobile terminals

    CN106899802A

  • Video data publishing method and device, electronic equipment and storage medium

    CN110049266A

  • Virtual image directing method, device and system

    CN110225224A

  • Virtual image animation generation method and device, electronic equipment and storage medium

    CN115393484A

  • Video generation method and device, computer equipment and storage medium

    CN115633142A