Virtual object display method, device, equipment and medium

By obtaining the audio information and virtual object identification, matching and playing the target animation, the movement of the virtual object is synchronized with the audio, which solves the problem of poor flexibility of the virtual object display method in the existing technology, and realizes audio-driven animation matching and adjustment. Improved the expressiveness of virtual objects.

CN112541959BActive Publication Date: 2024-09-03GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011519438.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2024-09-03
Estimated Expiration
2040-12-21

AI Technical Summary

Technical Problem

Existing virtual object display methods have poor flexibility and fixed animation content, making it difficult to dynamically match and adjust based on different audio information.

Method used

By obtaining the audio information and virtual object identification of the target audio, matching and playing the target animation, synchronizing the movements of the virtual object with the audio information, supporting the adjustment of rhythm speed and emotion type, and realizing the reuse of animation clips and the establishment of corresponding relationships.

Benefits of technology

It improves the flexibility of virtual object display, enables virtual objects to dynamically change according to audio information, realizes animation playback that matches the audio, and enhances the expressiveness and adaptability of virtual objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112541959B
    Figure CN112541959B
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, equipment and medium for displaying a virtual object, which belongs to the field of image processing technology. The method includes: obtaining audio information of a target audio, the target audio being played or currently collected audio; determining a virtual object identifier, the virtual object identifier indicating a virtual object to be displayed; obtaining a target animation according to the audio information and the virtual object identifier, the target animation including the virtual object and the action of the virtual object matching the audio information; playing the target animation, achieving the effect of displaying the virtual object according to the audio, and the virtual object dancing with the audio, thereby improving the flexibility of virtual object display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of image processing technology, and in particular to a method, device, equipment and medium for displaying a virtual object. Background Art

[0002] With the continuous development of computer technology and image processing technology, more and more applications have the function of displaying virtual objects. For example, when displaying a target virtual object, the animation of the target virtual object can be obtained and played. Since the duration of the animation is limited, the terminal will play the animation in a loop after playing it once. However, the animation content of the target virtual object is fixed, so the method of displaying virtual objects is relatively simple and less flexible. Summary of the invention

[0003] The embodiments of the present application provide a virtual object display method, device, equipment and medium, which improves the flexibility of virtual object display. The technical solution is as follows:

[0004] In one aspect, a method for displaying a virtual object is provided, the method comprising:

[0005] Obtain audio information of a target audio, where the target audio is the audio being played or the audio currently being collected;

[0006] determining a virtual object identifier, wherein the virtual object identifier indicates a virtual object to be displayed;

[0007] Acquire a target animation according to the audio information and the virtual object identifier, wherein the target animation includes the virtual object and an action of the virtual object matches the audio information;

[0008] Play the target animation.

[0009] In another aspect, a virtual object display device is provided, the device comprising:

[0010] An information acquisition module, used to acquire audio information of a target audio, where the target audio is the audio being played or the audio being currently collected;

[0011] A determination module, configured to determine a virtual object identifier, wherein the virtual object identifier indicates a virtual object to be displayed;

[0012] An animation acquisition module, used to acquire a target animation according to the audio information and the virtual object identifier, wherein the target animation includes the virtual object and the action of the virtual object matches the audio information;

[0013] The display module is used to play the target animation.

[0014] In a possible implementation, the display module is used to obtain the rhythm speed of the target audio, where the rhythm speed indicates the number of beats in a reference duration; adjust the playback speed of the target animation according to the rhythm speed; and play the target animation at the adjusted playback speed; or,

[0015] The display module is used to obtain the emotion type of the target audio, adjust the play speed of the target animation according to the emotion type; and play the target animation at the adjusted play speed.

[0016] In a possible implementation, the target animation includes animation segments corresponding to a plurality of action identifiers, and the animation acquisition module includes:

[0017] A determination unit, configured to determine a plurality of action identifiers corresponding to the audio information;

[0018] The acquisition unit is used to acquire the animation segment corresponding to each action identifier from the animation set corresponding to the virtual object identifier, in which the virtual object performs the action corresponding to the action identifier.

[0019] In a possible implementation, the display module is used to play the animation clip corresponding to each action identifier in sequence according to the arrangement order of the multiple action identifiers.

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

[0021] The display module is used to display an action configuration interface, wherein the action configuration interface includes at least one type of audio information;

[0022] An identification acquisition module, used for acquiring at least one action identification configured for the audio information in response to a triggering operation on any audio information;

[0023] An establishing module is used to establish a first corresponding relationship between the audio information and the at least one action identifier.

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

[0025] A model acquisition module, configured to acquire a virtual object model corresponding to the virtual object identifier if the target animation is not acquired;

[0026] The determining module is used to determine the action identifier corresponding to the audio information;

[0027] The display module is used to display the virtual object model and control the virtual object model to execute the action corresponding to the action identifier.

[0028] In a possible implementation, the device further includes:

[0029] a recording module, configured to record the virtual object model during the process of displaying the virtual object model and controlling the virtual object model to perform the action corresponding to the action identifier, so as to obtain an animation of the virtual object;

[0030] An establishing module is used to establish a second corresponding relationship between the animation and the audio information, or to establish a third corresponding relationship between the animation and the action identifier.

[0031] In a possible implementation, the information acquisition module is used to perform melody recognition on the target audio to obtain the melody type of the target audio; or,

[0032] Performing style recognition on the target audio to obtain the style type of the target audio; or,

[0033] Performing emotion recognition on the target audio to obtain the emotion type of the target audio; or,

[0034] Perform name recognition on the target audio to obtain an audio name of the target audio.

[0035] In one possible implementation, the determination module is used to obtain a virtual object identifier corresponding to the anchor identifier from a live broadcast server; or, to display a virtual object selection interface, and to obtain the virtual object identifier of the virtual object in response to a selection operation on any virtual object in the virtual object selection interface.

[0036] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the operations performed in the virtual object display method described in the above aspects.

[0037] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the virtual object display method described in the above aspects.

[0038] On the other hand, a computer program is provided, wherein at least one program code is stored in the computer program, and the at least one program code is loaded and executed by a processor to implement the operations performed in the virtual object display method of the above embodiment.

[0039] The virtual object display method, device, equipment and medium provided in the embodiments of the present application achieve the effect of displaying the virtual object according to the audio, and the virtual object dancing with the audio, because the action of the virtual object in the target animation matches the audio information, thereby improving the flexibility of the virtual object display. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 It is a structural diagram of an implementation environment provided by an embodiment of the present application.

[0042] Figure 2 It is a flowchart of a virtual object display method provided in an embodiment of the present application.

[0043] Figure 3 It is a flowchart of a virtual object display method provided in an embodiment of the present application.

[0044] Figure 4 It is a schematic diagram of a target animation provided in an embodiment of the present application.

[0045] Figure 5 It is a structural schematic diagram of a virtual object display device provided in an embodiment of the present application.

[0046] Figure 6 It is a structural schematic diagram of another virtual object display device provided in an embodiment of the present application.

[0047] Figure 7 It is a structural diagram of a terminal provided in an embodiment of the present application.

[0048] Figure 8 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0050] It is understood that the terms "first", "second", "third", "fourth", "fifth", "sixth", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of this application, the first corresponding relationship can be called the second corresponding relationship, and the second corresponding relationship can be called the first corresponding relationship.

[0051] The terms "each", "multiple", "at least one", "any", etc. used in this application include one, two or more than two, multiple include two or more than two, each refers to each of the corresponding multiple, and any refers to any one of the multiple. For example, multiple action identifiers include 3 action identifiers, and each refers to each of the 3 action identifiers, and any refers to any one of the 3 action identifiers, which can be the first, the second, or the third.

[0052] The virtual object display method provided in the embodiment of the present application is applied to a computer device. In one possible implementation, the computer device is a terminal, such as a mobile phone, a tablet computer, a computer, etc. In another possible implementation, the computer device includes a terminal and a server.

[0053] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes at least one terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.

[0054] The target application served by the server 102 is installed on the terminal 101, and the terminal 101 can realize functions such as data transmission and message interaction through the target application. Optionally, the target application is a target application in the operating system of the terminal 101, or a target application provided by a third party. For example, the target application is an image processing application, which has image processing functions, such as playing animations in the captured images. Of course, the image processing application can also have other functions, such as image sharing functions, comment functions, etc. Optionally, the target application is any image processing application such as a live broadcast application, a short video application, etc.

[0055] Optionally, the terminal 101 logs in to the target application based on the user identification, uploads the virtual object identification and the target audio to the server 102 through the target application, and the server 102 processes the target audio to obtain the audio information of the target audio, and obtains the target animation according to the audio information and the virtual object identification, wherein the target animation includes the virtual object and the action of the virtual object matches the audio information. The server 102 sends the obtained target animation to the terminal 101, and the terminal 101 receives the target animation and plays the target animation.

[0056] It should be noted that the embodiment of the present application only takes the example of terminal 101 uploading a virtual object identifier and target audio to server 102 through a target application to exemplify the interaction process between terminal 101 and server 102. In another embodiment, terminal 101 sends the user identifier of logging into the target application to server 102, and server 102 determines the virtual object identifier based on the user identifier; in another embodiment, terminal 101 obtains audio information of the target audio and uploads the audio information to server 102 through the target application.

[0057] The virtual object display method provided in the embodiment of the present application can be applied to image processing scenarios:

[0058] For example, it is used in live broadcast scenarios.

[0059] During the live broadcast process, the anchor client uses a virtual object to replace the anchor to broadcast live. The virtual object display method provided in the embodiment of the present application can play animations according to the audio collected by the microphone, and the movements of the virtual objects in the animation match the collected audio, thereby achieving the effect of the virtual object dancing with the audio, thereby improving the flexibility of the virtual object display.

[0060] For example, it is used in short video shooting scenarios.

[0061] During the process of shooting a short video, a virtual object can be selected for co-shooting. By using the virtual object display method provided in the embodiment of the present application, the movements of the virtual object are matched with the audio played by the short video application, achieving the effect of the virtual object dancing with the audio, thereby improving the flexibility of the virtual object display.

[0062] It should be noted that the embodiments of the present application only take live broadcast scenes and short video shooting scenes as examples to exemplify the image processing scenes, and do not impose any limitations on the image processing scenes. Optionally, the image processing method provided in the embodiments of the present application can also be applied to any other image processing scenes such as film post-production.

[0063] Figure 2is a flowchart of a virtual object display method provided in an embodiment of the present application. This embodiment of the present application takes the execution subject as a terminal as an example for exemplary description. Figure 2 , the method comprising:

[0064] 201. The terminal obtains audio information of the target audio.

[0065] The target audio is the audio being played or the audio being currently collected.

[0066] 202. The terminal determines a virtual object identifier, where the virtual object identifier indicates a virtual object to be displayed.

[0067] The virtual object identifier indicating the virtual object to be displayed means that the virtual object identifier is the identifier of the virtual object to be displayed, for example, the virtual object identifier is the name, serial number, etc. of the virtual object.

[0068] 203. The terminal obtains a target animation according to the audio information and the virtual object identifier, where the target animation includes the virtual object and the action of the virtual object matches the audio information.

[0069] The terminal can obtain an animation including the virtual object according to the virtual object identifier; the terminal can obtain an animation including the virtual object and the action of the virtual object matches the audio information according to the audio information and the virtual object identifier.

[0070] 204. The terminal plays the target animation.

[0071] Since the target animation in this application is obtained based on the audio information of the audio being played or the currently collected audio, and the movement of the virtual object in the target animation matches the audio information, the effect of the virtual object dancing along with the audio being played or the currently collected audio is achieved.

[0072] The virtual object display method provided in the embodiment of the present application achieves the effect of displaying the virtual object according to the audio, and the virtual object dances with the audio, because the action of the virtual object in the target animation matches the audio information, thereby improving the flexibility of the virtual object display.

[0073] Figure 3 is a flow chart of a virtual object display method provided by an embodiment of the present application. Figure 3 The embodiment of the present application takes the execution subject as a terminal as an example for illustrative description, and the method includes:

[0074] 301. The terminal obtains audio information of a target audio, where the target audio is the audio being played or the audio being currently collected.

[0075] The target audio is the audio being played by the terminal, or the audio currently collected by the terminal, that is, the target audio acquired by the terminal is the current one, not any audio.

[0076] In one possible implementation, the target audio is the audio being played, and the terminal obtains the audio information of the target audio, including: the terminal obtains the audio information of the audio being played by the target application. In another possible implementation, the target audio is the currently collected audio, and the terminal obtains the audio information of the target audio, including: the terminal obtains the audio information of the audio currently collected by the microphone.

[0077] For example, during a live broadcast, if the anchor is singing, the terminal obtains the audio currently collected by the microphone (that is, the song sung by the anchor). For another example, during a short video shooting process, the user can select the background music for the video recording. During the short video shooting process, the short video application plays the background music selected by the user and records the background music and the shot picture as a video, wherein the terminal obtains the audio information of the background music played by the short video application.

[0078] Among them, the audio information is the attribute information of the audio. Optionally, the audio information is the audio name, the emotion type of the audio, the melody type of the audio, or the style type of the audio, etc. The embodiment of the present application does not limit the audio information.

[0079] In a possible implementation, the terminal can directly obtain the audio information of the target audio, wherein the target audio is the audio being played by the target application, and the target application includes the audio information of the audio being played, and the terminal can directly obtain the audio information of the target audio.

[0080] For example, the target application sends the song name "xxx" of song A to the server, obtains the audio data of song A from the server for playback. Therefore, the song name "xxx" of song A is stored in the target application, and the song name "xxx" can be directly obtained during the display of the virtual object.

[0081] In another possible implementation, the terminal needs to first obtain the target audio, and then process the target audio to obtain the audio information of the target audio. The terminal obtains the audio information of the target audio, including: performing tune recognition on the target audio to obtain the tune type of the target audio; or performing style recognition on the target audio to obtain the style type of the target audio; or performing emotion recognition on the target audio to obtain the emotion type of the target audio; or performing name recognition on the target audio to obtain the audio name of the target audio.

[0082] The melody type of the audio is the type of the main melody of the audio, for example, the melody type is folk style, modern song, dynamic song, etc. The style type of the audio is the style of the audio, for example, the style type is hip-hop, rock, punk, classical, metal, Latin, etc. The emotion type refers to happiness, sadness, love, friendship, etc.

[0083] In one possible implementation, the melody type of the target audio is determined by a classification model. The melody recognition of the target audio to obtain the melody type of the target audio includes: inputting the target audio into a melody recognition model, and the melody recognition model outputs the melody type of the target audio. The melody recognition model is used to determine the melody type of the audio, for example, the melody recognition model is used to determine whether the audio belongs to a folk song, a modern song, or a dynamic song.

[0084] In one possible implementation, the style type of the target audio is determined by a classification model. The style recognition of the target audio to obtain the style type of the target audio includes: inputting the target audio into a style recognition model, and the style recognition model outputs the style type of the target audio, and the style recognition model is used to determine the style type of the audio. For example, the style recognition model is used to determine whether the audio belongs to hip-hop, rock, punk, classical, metal, or Latin.

[0085] In one possible implementation, the emotion type of the target audio is determined by a classification model, wherein emotion recognition is performed on the target audio to obtain the emotion type of the target audio, including: inputting the target audio into an emotion recognition model, and the emotion recognition model outputs the emotion type of the target audio. The emotion recognition model is used to determine the emotion type of the audio. For example, the emotion recognition model is used to determine whether the emotion of the audio is joy, sadness, love, or friendship.

[0086] In a possible implementation, the target audio is a target song, the audio name of the target audio is the song name, and the song name of the target song is determined by the lyrics. The target audio is name-recognized to obtain the audio name of the target audio, including: extracting lyrics from the target song to obtain first lyrics data of the target song, matching the first lyrics data with lyrics data in a lyrics library, and if the second lyrics data in the lyrics library matches the first lyrics data, then using the song name corresponding to the second lyrics data as the song name of the target song. The lyrics library includes multiple lyrics data and the song name corresponding to each lyrics data.

[0087] In another possible implementation, the audio name of the target audio is determined by the audio features of the target audio, wherein the target audio is name recognized to obtain the audio name of the target audio, including: extracting features of the target audio to obtain a first audio feature of the target audio, matching the first audio feature with an audio feature in a feature library, and if the second audio feature in the feature library matches the first audio feature, then using the audio name corresponding to the second audio feature as the audio name of the target audio. The feature library includes multiple audio features and an audio name corresponding to each audio feature. The audio features may be melody features, rhythm features, etc., and the embodiments of the present application do not limit the audio features.

[0088] In a possible implementation, the terminal obtains the audio information of the target audio once every reference time; or, the terminal obtains the audio information of the target audio in real time; or, the terminal obtains the audio information of the new target audio after the target audio changes.

[0089] Since the target audio needs a certain time to be played, the terminal can obtain the audio information of the target audio once every reference time, wherein the reference time is any time, for example, 10 seconds, 30 seconds or 60 seconds.

[0090] Alternatively, in order to ensure that the action of the virtual object changes after the target audio changes, the audio information of the target audio can also be obtained in real time, so that after the target audio changes, the corresponding animation can be immediately obtained and played according to the audio information of the new target audio, so that the action of the virtual object matches the audio information of the new target audio.

[0091] In a possible implementation, since the target audio is the audio played by the target application of the terminal, after the target audio changes, the target application can immediately obtain the audio information of the new target audio. For example, the terminal obtains the audio information of the next audio in response to the audio switching instruction.

[0092] 302. The terminal determines a virtual object identifier, where the virtual object identifier indicates a virtual object to be displayed.

[0093] The virtual object identifier is an identifier of the virtual object, for example, the virtual object identifier is a name of the virtual object, a serial number of the virtual object, etc.

[0094] In a possible implementation, the virtual object identifier is a virtual object identifier of any virtual object selected by the user. The terminal determines the virtual object identifier, including: displaying a virtual object selection interface, and in response to a selection operation on any virtual object in the virtual object selection interface, acquiring the virtual object identifier of the virtual object.

[0095] For example, before the live broadcast begins or during the live broadcast, the anchor client displays a virtual object selection interface, which includes multiple virtual objects. The anchor can select any virtual object from the multiple virtual objects in the virtual object selection interface. During the live broadcast, the anchor client will use the virtual object selected by the anchor to replace the anchor in the live broadcast, or the anchor client will display the virtual object in a partial area of ​​the screen.

[0096] In another possible implementation, the virtual object identifier is a virtual object identifier of a virtual object customized by the user, or the virtual object identifier is a virtual object identifier of a virtual object used by the user. The terminal determines the virtual object identifier, including: obtaining a virtual object identifier corresponding to a user identifier from a server. Taking a live broadcast scenario as an example, the terminal determines the virtual object identifier, including: obtaining a virtual object identifier corresponding to a host identifier from a live broadcast server.

[0097] For example, the anchor has customized an exclusive virtual object. The live broadcast server will store the anchor ID of the anchor and the virtual object ID of the virtual object in correspondence. When the anchor starts the live broadcast, the anchor client sends a live broadcast start request carrying the anchor ID to the live broadcast server. The live broadcast server allows the broadcast to start and sends the virtual object ID corresponding to the anchor ID to the anchor client.

[0098] 303. The terminal obtains a target animation according to the audio information and the virtual object identifier, where the target animation includes a virtual object and a movement of the virtual object matches the audio information.

[0099] The animation in the present application is an animation of any virtual object performing any action, for example, the animation is an animation of a virtual object rotating, or the animation is an animation of a virtual object clapping and kicking. The embodiments of the present application do not limit the animation.

[0100] The target animation includes a virtual object and the action of the virtual object matches the audio information. Note: the target animation is an animation in which the virtual object performs the action corresponding to the audio information.

[0101] The terminal obtains the target animation according to the audio information and the virtual object identifier, and the target animation not only matches the virtual object identifier, but also matches the audio information. The target animation matches the virtual object identifier, indicating that the virtual object in the target animation is the virtual object indicated by the virtual object identifier; the target animation matches the audio information, indicating that the action of the virtual object in the target animation matches the audio information.

[0102] In a possible implementation, each virtual object identifier corresponds to an animation set, the animation set includes multiple animations, and the virtual object in each of the multiple animations is the virtual object indicated by the virtual object identifier. The terminal obtains the target animation according to the audio information and the virtual object identifier, including: obtaining the animation corresponding to the audio information from the animation set corresponding to the virtual object identifier as the target animation.

[0103] For example, the audio information is an audio name, and the server or terminal includes animation sets of multiple virtual objects, each animation set includes animations corresponding to multiple audio names. When the virtual object identifier is the identifier corresponding to the virtual character A, the animation corresponding to the audio name "xxx" is obtained from the animation set corresponding to the virtual character A as the target animation, and the virtual character A in the target animation dances the corresponding dance moves of "xxx".

[0104] Optionally, the animation set also includes audio information corresponding to each animation, that is, the animation set also includes a second correspondence between each animation and the audio information, and obtains the target animation corresponding to the audio information from the animation set corresponding to the virtual object identifier, including: according to the second correspondence, obtaining the animation corresponding to the audio as the target animation from the animation set.

[0105] Optionally, the animation set also includes an action identifier corresponding to each animation, wherein the correspondence between the animation and the action identifier refers to: the action corresponding to the action identifier performed by the virtual object in the animation, that is, the animation set also includes a third correspondence between the action identifier and the animation, and each audio information corresponds to an action identifier. Wherein, obtaining the target animation corresponding to the audio information from the animation set corresponding to the virtual object identifier includes: determining the action identifier corresponding to the audio information, and obtaining the animation corresponding to the action identifier from the animation set corresponding to the virtual object identifier as the target animation according to the third correspondence.

[0106] Optionally, the audio information corresponds to multiple action identifiers, and the target animation includes animation clips corresponding to the multiple action identifiers. Wherein, obtaining the target animation according to the audio information and the virtual object identifier includes: determining the multiple action identifiers corresponding to the audio information, obtaining the animation clip corresponding to each action identifier from the animation set corresponding to the virtual object identifier, and the virtual object in the animation clip corresponding to the action identifier performs the action corresponding to the action identifier.

[0107] For example, if the audio information is of ethnic style, and the action identifiers corresponding to the ethnic style are "raising hands" and "turning around", then the animation clips corresponding to "raising hands" and the animation clips corresponding to "turning around" are obtained, and the animation clips corresponding to "raising hands" and the animation clips corresponding to "turning around" constitute the animation corresponding to the ethnic style.

[0108] If an animation clip corresponds to an action identifier, then multiple animations in the above animation set can be reused. For example, when the audio information is of ethnic style, the corresponding action identifiers are "raise your hand" and "turn around", and when the audio information is a dynamic song, the corresponding action identifiers are "turn around" and "punch". Then, when the audio information switches from ethnic style to dynamic song, or from dynamic lyrics to ethnic style, the animation clip corresponding to "turn around" is reused.

[0109] In an embodiment of the present application, the first correspondence between the audio information and the action identifier is set by the device by default, or is set by the user; or, it is set by the device by default and modified by the user. The embodiment of the present application does not limit the first correspondence between the audio information and the action identifier.

[0110] In a possible implementation, the first correspondence between the audio information and the action identifier is set by the user, or is obtained by the user changing the first correspondence set by default in the device. The method further includes: displaying an action configuration interface, the action configuration interface including at least one audio information; in response to a triggering operation on any audio information, obtaining at least one action identifier configured for the audio information, and establishing a first correspondence between the audio information and the at least one action identifier.

[0111] Among them, if the current first correspondence does not include the first correspondence between the above-mentioned audio information and the above-mentioned at least one action identifier, the first correspondence between the above-mentioned audio information and the above-mentioned at least one action identifier is added to the current first correspondence; if the current first correspondence already includes the first correspondence between the above-mentioned audio information and other action identifiers, the first correspondence between the audio information and the other action identifiers is modified to the first correspondence between the above-mentioned audio information and the above-mentioned at least one action identifier.

[0112] The above-mentioned first corresponding relationship can be stored locally in the terminal or in the server, which is not limited in the embodiment of the present application.

[0113] 304. If the target animation is obtained, the terminal plays the target animation.

[0114] There are two situations in which the terminal plays the target animation:

[0115] The first case: Playing in a partial area of ​​the terminal screen.

[0116] That is to say, only a part of the area on the terminal screen is used to play the target animation, and optionally, the rest of the area is used to display the captured content.

[0117] For example, in a live broadcast scenario, the host client displays the filmed content, and plays the target animation at the lower right corner of the screen, that is, the target animation is superimposed and displayed at the lower right corner of the filmed content.

[0118] For another example, in a short video shooting scenario, after the user selects a virtual object in the short video client, the user drags the virtual object to the shooting screen of the short video, adjusts the position of the virtual object in the shooting screen, and then records the shooting screen and the virtual object.

[0119] The second case: Play in the entire area of ​​the terminal screen.

[0120] For example, in a live broadcast scenario, the anchor client uses a virtual object to replace the anchor for live broadcast. Therefore, the anchor client only plays the target animation and uploads the target animation to the live broadcast server, which sends the target animation to the viewing client.

[0121] In addition, the target animation has a playback speed, for example, N (N is any integer greater than 1) frames are played per second. Therefore, when playing the target animation, it can be played at the original playback speed of the target animation, or the playback speed of the target animation can be adjusted and played at the adjusted playback speed.

[0122] In a possible implementation, the playback speed of the target animation can be adjusted according to the attribute information of the audio, so that the playback effect of the target animation is more matched with the audio. Optionally, playing the target animation includes: obtaining the rhythm speed of the target audio, the rhythm speed indicating the number of beats within the reference duration; adjusting the playback speed of the target animation according to the rhythm speed; and playing the target animation at the adjusted playback speed.

[0123] For example, if the target audio is a fast song, the rhythm speed of the target audio will be faster. Therefore, according to the rhythm speed of the target audio, the playback speed of the target animation is adjusted to 1.5 times, and the target animation is played at 1.5 times the speed, so that the virtual object in the target animation performs the action faster. For another example, if the target audio is a slow song, the rhythm speed of the target audio will be slower. Therefore, according to the rhythm speed of the target audio, the playback speed of the target audio is adjusted to 0.8 times, and the target animation is played at 0.8 times the speed, so that the virtual object in the target animation performs the action slower.

[0124] Alternatively, the playback speed of the target audio is adjusted according to the emotion type of the audio. Optionally, the emotion type of the target audio is obtained, and the playback speed of the target animation is adjusted according to the emotion type; the target animation is played at the adjusted playback speed.

[0125] For example, if the target audio's emotional type is cheerful, the target animation's playback speed is adjusted to 1.2 times, and the target animation is played at 1.2 times the speed, so that the speed at which the virtual object in the target animation performs actions is accelerated. For another example, if the target audio's emotional type is sad, the target animation's playback speed is adjusted to 0.8 times, and the target animation is played at 0.8 times the speed, so that the speed at which the virtual object in the target animation performs actions is slowed down.

[0126] Optionally, adjusting the target animation playback speed according to the rhythm speed includes: performing statistical processing on the rhythm speed to obtain the target animation playback speed. For example, multiplying the rhythm speed by a target coefficient to obtain the target animation playback speed.

[0127] Alternatively, the playback speed of the target animation is adjusted according to the rhythm speed, including: determining the playback speed corresponding to the rhythm speed according to a fourth corresponding relationship, wherein the fourth corresponding relationship includes multiple rhythm speeds and the playback speed corresponding to each rhythm speed; or, the fourth corresponding relationship includes multiple rhythm speed ranges and the playback speed corresponding to each rhythm speed range.

[0128] 305. If the target animation is not obtained, the terminal obtains a virtual object model corresponding to the virtual object identifier.

[0129] It should be noted that in the embodiment of the present application, the target animation may be generated by the terminal. If the terminal has not generated the target animation, the terminal cannot directly obtain the target animation and needs to generate it by itself. Alternatively, since the user can customize the correspondence between the audio and the action identifier, the terminal or the server may not store the target animation corresponding to the user-defined action.

[0130] Therefore, an embodiment of the present application also provides a method for making a virtual object dance with audio by driving a virtual object model to perform actions.

[0131] The virtual object model is a configurable three-dimensional model of a virtual object. The server stores a plurality of configurable three-dimensional models of virtual objects. The terminal obtains a virtual object model corresponding to the virtual object identifier from the plurality of virtual object models according to the virtual object identifier.

[0132] Optionally, the virtual object may be an original or authorized animation character, cartoon character, film and television character, game character, etc. The embodiment of the present application does not limit the virtual object.

[0133] 306. The terminal determines an action identifier corresponding to the audio information.

[0134] The terminal determines the action identifier corresponding to the audio information according to the first corresponding relationship, wherein one type of audio information corresponds to one action identifier or multiple action identifiers. If one type of audio information corresponds to multiple action identifiers, the multiple action identifiers are arranged in sequence.

[0135] 307. The terminal displays the virtual object model, and controls the virtual object model to execute the action corresponding to the action identifier.

[0136] After acquiring the virtual object model, the terminal displays the virtual object model and controls the virtual object model to perform an action corresponding to the action identifier, so that the user can see the action performed by the virtual object and dance along with the audio.

[0137] Optionally, if the audio information corresponds to a plurality of action identifiers, controlling the virtual object model to execute the action corresponding to the action identifier includes: controlling the virtual object model to execute the action corresponding to each action identifier in sequence according to the arrangement order of the plurality of action identifiers.

[0138] Among them, multiple actions are identified as "raising hands", "turning around" and "kicking legs", and the virtual object model is controlled to perform raising hands, then turning around, and finally kicking legs. Figure 4 shown.

[0139] In a possible implementation, the virtual object is controlled to perform an action by controlling the movement of key points in the virtual object model. Controlling the virtual object model to perform an action corresponding to an action identifier includes: obtaining a key point movement trajectory corresponding to the action identifier, controlling the key points of the virtual object model to move according to the key point movement trajectory, and driving other parts of the virtual object to move by moving the key points, so that the virtual object performs the action corresponding to the action identifier.

[0140] Among them, the key points may be knee key points, hand key points, foot key points, hip key points, etc. For example, by moving the foot key points and the knee key points, the legs of the virtual object are driven to move.

[0141] Optionally, the actions performed by the virtual object model may be physical actions, such as clapping, jumping, spinning, kicking, punching, etc.; optionally, the actions performed by the virtual object model may also be facial expressions, such as smiling, laughing, crying, pouting, making faces, etc.

[0142] It should be noted that the embodiment of the present application is only described using the terminal as an example. In another embodiment, the server obtains the virtual object model, controls the virtual object model to execute the action corresponding to the action identifier to generate an animation, sends the animation to the terminal, and the terminal displays the animation.

[0143] 308. In the process of displaying the virtual object model and controlling the virtual object model to execute the action corresponding to the action identifier, the terminal records the virtual object model to obtain an animation of the virtual object.

[0144] After obtaining the animation, the animation may be saved locally or uploaded to a server, which is not limited in this application.

[0145] Optionally, after obtaining the animation, if the target audio has not been played completely and is still being played, the animation is played without controlling the virtual object to perform the action corresponding to the action identifier again, thereby saving terminal resources.

[0146] 309. The terminal establishes a second corresponding relationship between the animation and the audio information, or the terminal establishes a third corresponding relationship between the animation and the action identifier.

[0147] Since the target animation of the virtual object executing the action corresponding to the action identifier has been generated, there is no need to control the virtual object model to execute the action again, and the target animation can be played directly. In order to accurately obtain the target animation the next time it is used, the application will also establish a second correspondence between the animation and the audio information, or establish a third correspondence between the animation and the action identifier, so that the corresponding animation can be obtained according to the audio information or the action identifier.

[0148] The virtual object display method provided in the embodiment of the present application achieves the effect of displaying the virtual object according to the audio, and the virtual object dances with the audio, because the action of the virtual object in the target animation matches the audio information, thereby improving the flexibility of the virtual object display.

[0149] In addition, this application will also adjust the playback speed of the target animation according to the attribute information of the audio, so that the playback effect of the target animation is more matched with the audio.

[0150] In addition, the present application can also use audio to drive the virtual object model for animation display. Compared with determining the virtual object model by the key points of the human body in the shooting picture, the application scenarios are more extensive, and the problem of the virtual object model being unable to be driven due to the fact that the key points of the human body cannot be detected because the human body part is outside the shooting picture.

[0151] In addition, each action in the present application corresponds to an animation clip, so that the animation clip only needs to be designed once and can be reused. Animation can be generated by arbitrarily combining the animation clips, thereby reducing the resource consumption of the device.

[0152] Figure 5 is a structural diagram of a virtual object display device provided by the present application. Figure 5 , the device comprises:

[0153] The information acquisition module 501 is used to acquire audio information of a target audio, where the target audio is the audio being played or the audio being currently collected;

[0154] A determination module 502 is used to determine a virtual object identifier, where the virtual object identifier indicates a virtual object to be displayed;

[0155] Animation acquisition module 503, used to acquire target animation according to audio information and virtual object identification, where the target animation includes a virtual object and the action of the virtual object matches the audio information;

[0156] The display module 504 is used to play the target animation.

[0157] like Figure 6 As shown, in a possible implementation, the display module 504 is used to obtain the rhythm speed of the target audio, where the rhythm speed indicates the number of beats in the reference duration; adjust the playback speed of the target animation according to the rhythm speed; and play the target animation at the adjusted playback speed; or,

[0158] The display module 504 is used to obtain the emotion type of the target audio, adjust the play speed of the target animation according to the emotion type, and play the target animation at the adjusted play speed.

[0159] In a possible implementation, the target animation includes animation segments corresponding to multiple action identifiers, and the animation acquisition module 503 includes:

[0160] A determination unit 5031, configured to determine a plurality of action identifiers corresponding to the audio information;

[0161] The acquisition unit 5032 is used to acquire the animation segment corresponding to each action identifier from the animation set corresponding to the virtual object identifier, in which the virtual object performs the action corresponding to the action identifier.

[0162] In a possible implementation, the display module 504 is used to play the animation clip corresponding to each action identifier in sequence according to the arrangement order of the multiple action identifiers.

[0163] In a possible implementation, the device further includes:

[0164] Display module 504, used to display an action configuration interface, the action configuration interface includes at least one audio information;

[0165] The identification acquisition module 505 is used to obtain at least one action identification configured for the audio information in response to a trigger operation on any audio information;

[0166] The establishing module 506 is used to establish a first corresponding relationship between the audio information and at least one action identifier.

[0167] In a possible implementation, the device further includes:

[0168] The model acquisition module 507 is used to acquire the virtual object model corresponding to the virtual object identifier if the target animation is not acquired;

[0169] A determination module 502, used to determine an action identifier corresponding to the audio information;

[0170] The display module 504 is used to display the virtual object model and control the virtual object model to execute the action corresponding to the action identifier.

[0171] In a possible implementation, the device further includes:

[0172] A recording module 508, configured to record the virtual object model during the process of displaying the virtual object model and controlling the virtual object model to perform an action corresponding to the action identifier, so as to obtain an animation of the virtual object;

[0173] The establishing module 506 is used to establish a second corresponding relationship between the animation and the audio information, or to establish a third corresponding relationship between the animation and the action identifier.

[0174] In a possible implementation, the information acquisition module 501 is used to perform melody recognition on the target audio to obtain the melody type of the target audio; or,

[0175] Perform style recognition on the target audio to obtain the style type of the target audio; or,

[0176] Perform emotion recognition on the target audio to obtain the emotion type of the target audio; or,

[0177] Perform name recognition on the target audio to obtain the audio name of the target audio.

[0178] In one possible implementation, the determination module 502 is used to obtain a virtual object identifier corresponding to the anchor identifier from the live broadcast server; or, display a virtual object selection interface, and obtain the virtual object identifier of the virtual object in response to a selection operation on any virtual object in the virtual object selection interface.

[0179] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the operations performed in the virtual object display method of the above embodiment.

[0180] Optionally, the computer device is provided as a terminal. Figure 7 700 is a schematic diagram of a terminal structure provided by an embodiment of the present application. The terminal 700 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 700 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0181] The terminal 700 includes a processor 701 and a memory 702 .

[0182] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0183] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one program code, which is used to be executed by the processor 701 to implement the virtual object display method provided in the method embodiment of the present application.

[0184] In some embodiments, the terminal 700 may further optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702 and the peripheral device interface 703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning assembly 708 and a power supply 709.

[0185] The peripheral device interface 703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 701 and the memory 702. In some embodiments, the processor 701, the memory 702, and the peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral device interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0186] The radio frequency circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 704 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 704 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 20G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0187] The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on the surface or above the surface of the display screen 705. The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 705 can be one, arranged on the front panel of the terminal 700; in other embodiments, the display screen 705 can be at least two, respectively arranged on different surfaces of the terminal 700 or in a folding design; in other embodiments, the display screen 705 can be a flexible display screen, arranged on a curved surface or a folding surface of the terminal 700. Even, the display screen 705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 705 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0188] The camera assembly 706 is used to capture images or videos. Optionally, the camera assembly 706 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0189] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 701 for processing, or input them into the radio frequency circuit 704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 700. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 707 may also include a headphone jack.

[0190] Positioning component 708 is used to locate the current geographical location of terminal 700 to implement navigation or LBS (Location Based Service). Positioning component 708 can be based on the US GPS (Global Positioning System), China's Beidou system or Russia's Greiner positioning system and the European Union's Galileo positioning system.

[0191] The power supply 709 is used to power various components in the terminal 700. The power supply 709 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 709 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0192] In some embodiments, the terminal 700 further includes one or more sensors 710 , including but not limited to: an acceleration sensor 711 , a gyroscope sensor 712 , a pressure sensor 713 , a fingerprint sensor 714 , an optical sensor 715 , and a proximity sensor 716 .

[0193] The acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 70. For example, the acceleration sensor 711 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 701 can control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 can also be used to collect motion data of games or users.

[0194] The gyro sensor 712 can detect the body direction and rotation angle of the terminal 700, and the gyro sensor 712 can cooperate with the acceleration sensor 711 to collect the user's 3D actions on the terminal 700. The processor 701 can implement the following functions based on the data collected by the gyro sensor 712: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0195] The pressure sensor 713 can be set on the side frame of the terminal 700 and / or the lower layer of the display screen 7020. When the pressure sensor 713 is set on the side frame of the terminal 700, it can detect the user's holding signal of the terminal 700, and the processor 701 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is set on the lower layer of the display screen 7020, the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0196] The fingerprint sensor 714 is used to collect the user's fingerprint, and the processor 701 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 714 can be set on the front, back, or side of the terminal 700. When a physical button or a manufacturer logo is set on the terminal 700, the fingerprint sensor 714 can be integrated with the physical button or the manufacturer logo.

[0197] The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 according to the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is reduced. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 715.

[0198] The proximity sensor 716, also called a distance sensor, is disposed on the front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from the screen-on state to the screen-off state; when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from the screen-off state to the screen-on state.

[0199] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal 700, and the terminal 700 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0200] Optionally, the computer device is provided as a server. Figure 8 This is a schematic diagram of the structure of a server according to an exemplary embodiment. The server 800 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 801 and one or more memories 802, wherein the memory 802 stores at least one program code, and the at least one program code is loaded and executed by the processor 801 to implement the methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0201] An embodiment of the present application further provides a computer-readable storage medium, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the virtual object display method of the above embodiment.

[0202] An embodiment of the present application further provides a computer program, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the virtual object display method of the above embodiment.

[0203] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0204] The above are only optional embodiments of the embodiments of the present application and are not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A virtual object display method, characterized in that: The method comprises: Acquire audio information of a target audio, where the target audio is the audio being played or the audio being currently collected, and the audio information is the tune type, style type, emotion type or audio name of the target audio; determining a virtual object identifier, wherein the virtual object identifier indicates a virtual object to be displayed; Determine multiple action identifiers corresponding to the audio information, obtain an animation segment corresponding to each action identifier from an animation set corresponding to the virtual object identifier, and obtain a target animation, wherein the target animation includes the animation segments corresponding to the multiple action identifiers; Acquire the rhythm speed of the target audio, where the rhythm speed indicates the number of beats within a reference time; adjust the play speed of the target animation according to the rhythm speed, and play the animation clip corresponding to each action identifier in sequence according to the adjusted play speed and the arrangement order of the multiple action identifiers; or, According to the emotion type of the target audio, the play speed of the target animation is adjusted according to the emotion type, and the animation clip corresponding to each action identifier is played in sequence according to the adjusted play speed and the arrangement order of the multiple action identifiers.

2. The method according to claim 1, characterized in that: Before determining the multiple action identifiers corresponding to the audio information, the method further includes: Displaying an action configuration interface, wherein the action configuration interface includes at least one audio information; In response to a triggering operation on any audio information, acquiring at least one action identifier configured for the audio information; A first corresponding relationship between the audio information and the at least one action identifier is established.

3. The method according to claim 1, characterized in that The method further comprises: If the target animation is not obtained, obtaining a virtual object model corresponding to the virtual object identifier; Determining an action identifier corresponding to the audio information; The virtual object model is displayed, and the virtual object model is controlled to perform an action corresponding to the action identifier.

4. The method according to claim 3, characterized in that The method further comprises: In the process of displaying the virtual object model and controlling the virtual object model to perform the action corresponding to the action identifier, recording the virtual object model to obtain an animation of the virtual object; A second corresponding relationship between the animation and the audio information is established, or a third corresponding relationship between the animation and the action identifier is established.

5. The method according to claim 1, characterized in that The step of obtaining audio information of the target audio includes: Performing melody recognition on the target audio to obtain the melody type of the target audio; or, Performing style recognition on the target audio to obtain the style type of the target audio; or, Performing emotion recognition on the target audio to obtain the emotion type of the target audio; or, Perform name recognition on the target audio to obtain an audio name of the target audio.

6. The method according to claim 1, characterized in that The step of determining the virtual object identifier includes: Obtain the virtual object ID corresponding to the anchor ID from the live broadcast server; or, A virtual object selection interface is displayed, and in response to a selection operation on any virtual object in the virtual object selection interface, a virtual object identifier of the virtual object is acquired.

7. A virtual object display device, characterized in that: The device comprises: An information acquisition module, used to acquire audio information of a target audio, wherein the target audio is the audio being played or the audio being currently collected, and the audio information is the tune type, style type, emotion type or audio name of the target audio; A determination module, configured to determine a virtual object identifier, wherein the virtual object identifier indicates a virtual object to be displayed; An animation acquisition module, used to determine multiple action identifiers corresponding to the audio information, and acquire an animation segment corresponding to each action identifier from the animation set corresponding to the virtual object identifier to obtain a target animation, wherein the target animation includes the animation segments corresponding to the multiple action identifiers; A display module is used to obtain the rhythm speed of the target audio, where the rhythm speed indicates the number of beats within a reference time; according to the rhythm speed, the playback speed of the target animation is adjusted, and the animation segment corresponding to each action identifier is played in sequence according to the adjusted playback speed and the arrangement order of the multiple action identifiers; or, according to the emotion type of the target audio, according to the emotion type, the playback speed of the target animation is adjusted, and the animation segment corresponding to each action identifier is played in sequence according to the adjusted playback speed and the arrangement order of the multiple action identifiers.

8. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the operations performed in the virtual object display method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the operations performed in the virtual object display method according to any one of claims 1 to 6.