Live broadcasting room gift generation method and device
By generating gifts containing live room information based on the characteristic attributes of the live room and placing them on the gift panel of the live room, the problem of simple gift display format and low interactive fun in the prior art is solved, and the personalization and characteristic of customized gifts are realized.
Patent Information
- Application Number
- CN202311283042.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
The gift display form of the existing live broadcast room is relatively simple, it cannot reflect the characteristics of different live broadcast rooms, and the interaction with the anchor is less interesting.
According to the characteristic properties of the live broadcast room, a gift containing the live broadcast room information is generated in combination with the gift template, and it is directed to the gift panel of the live broadcast room for users to choose. The method includes extracting facial feature information using a preset AI model, generating replaced facial information in combination with gift template style information, and generating animation action information based on the action feature information.
It has achieved the gift of customized gifts to the anchor, which has increased the fun of users' interactions with the anchor, making the gift more personalized and distinctive.
Smart Images

Figure CN119729127A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method and device for generating gifts in a live broadcast room. Background Art
[0002] During the live broadcast, in addition to watching the live broadcast content of the anchor, users in the live broadcast room can also increase interaction with the anchor by giving gifts to the anchor, sending barrages, etc.
[0003] Most of the existing gifts in live broadcast rooms are presented in a simple form, such as special effects animations and stickers. Moreover, the gifts in different live broadcast rooms are generally the same, which cannot reflect the characteristics of different live broadcast rooms, and the fun of interacting with the anchor is also low. Summary of the invention
[0004] In view of the above problems, embodiments of the present application are proposed to provide a method and device for generating gifts in a live broadcast room that overcomes the above problems or at least partially solves the above problems.
[0005] According to a first aspect of an embodiment of the present application, a method for generating gifts in a live broadcast room is provided, which includes:
[0006] According to the characteristic attributes of the live broadcast room, a gift containing the live broadcast room information is generated in combination with a gift template;
[0007] The gifts will be directed to the gift panel of the live broadcast room for users to choose.
[0008] Optionally, the characteristic attributes of the live broadcast room include: facial feature information; the characteristic attributes of the live broadcast room are obtained according to an object containing facial feature information, and the object containing facial feature information includes pictures, videos and / or screenshots;
[0009] According to the characteristic attributes of the live broadcast room, generating a gift containing the live broadcast room information in combination with the gift template further includes:
[0010] Input the object containing facial feature information into the preset AI model to extract the facial feature information; use the facial feature information combined with the style information of the gift template to generate and replace the facial information of the gift template to obtain a gift containing the live broadcast room information.
[0011] Optionally, generating a gift containing live broadcast room information in combination with a gift template according to the characteristic attributes of the live broadcast room further includes:
[0012] Before the anchor starts the live broadcast, a gift containing the live broadcast room information is generated based on the characteristic attributes of the live broadcast room and combined with the gift template.
[0013] Optionally, generating a gift containing live broadcast room information in combination with a gift template according to the characteristic attributes of the live broadcast room further includes:
[0014] When the user clicks on the gift panel, a gift containing the live broadcast room information is generated based on the characteristic attributes of the live broadcast room and the gift template.
[0015] Optionally, the gift template includes a preset animation including facial information;
[0016] The method also includes:
[0017] Preset build gift templates;
[0018] Alternatively, obtaining gift description information of the host and / or user in the live broadcast, and generating a gift template according to the gift description information;
[0019] Alternatively, the live broadcast content of the anchor and / or the interactive content of the user in the live broadcast is obtained, and a gift template is generated according to the live broadcast content and / or the interactive content.
[0020] Optionally, the gift template also includes a text display space;
[0021] The method also includes:
[0022] Obtain the text display information preset by the anchor; or obtain the text display information of the anchor and / or user in the live broadcast;
[0023] The text display information is displayed in the text display position of the gift template to generate a gift containing the text display information.
[0024] Optionally, the gift includes live broadcast room information and / or anchor identification information;
[0025] Directly delivering gifts to the gift panel of the live broadcast room for users to choose from further includes:
[0026] According to the live broadcast room information and / or anchor identification information of the gift, the live broadcast room of the anchor corresponding to the gift is determined, and the gift is directed to the gift panel of the live broadcast room.
[0027] Optionally, if the live broadcast room includes multiple anchors and / or users, generating a gift including live broadcast room information in combination with a gift template according to the characteristic attributes of the live broadcast room further includes:
[0028] An object containing characteristic attributes of multiple hosts and / or users in the live broadcast room is input into a preset AI model to extract multiple facial feature information; the multiple facial feature information is combined with the style information of the gift template to generate and replace each facial information of the gift template to obtain a gift containing the live broadcast room information.
[0029] Optionally, directing the gift to the gift panel of the live broadcast room for the user to choose further includes:
[0030] Directly deliver gifts to the gift panels of multiple anchors and / or users' live broadcast rooms.
[0031] Optionally, the characteristic attributes of the live broadcast room also include: action characteristic information;
[0032] According to the characteristic attributes of the live broadcast room, generating a gift containing the live broadcast room information in combination with the gift template further includes:
[0033] Input an object containing facial feature information and action feature information into a preset AI model to extract the facial feature information and action feature information;
[0034] The facial feature information is combined with the style information of the gift template to generate and replace the facial information of the gift template, and the corresponding animation action information is generated for the gift template according to the action feature information to obtain an animation gift containing the live broadcast room information.
[0035] Optionally, the method further comprises:
[0036] Obtain anchor information; anchor information includes: anchor level, number of following users and / or anchor operation information;
[0037] Determine whether the anchor information meets the preset gift generation conditions; the preset gift generation conditions include that the anchor level is higher than the preset anchor level, the number of following users is greater than the preset number and / or the anchor operation information reaches the preset operation level;
[0038] If so, generate a gift containing live broadcast room information for the anchor's live broadcast room.
[0039] Optionally, after generating the gift containing the anchor information, the method further includes:
[0040] Add motion effects and / or motion blur to your gifts.
[0041] Optionally, the gift template includes a 2D model animation or a 3D model animation; the gift template is used for anchors in different live broadcast rooms.
[0042] According to a second aspect of an embodiment of the present application, a live broadcast room gift generating device is provided, comprising:
[0043] A generation module, adapted to generate a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room and in combination with a gift template;
[0044] The delivery module is suitable for delivering gifts to the gift panel of the live broadcast room for users to choose.
[0045] According to a third aspect of an embodiment of the present application, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0046] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the above-mentioned live broadcast room gift generation method.
[0047] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned live broadcast room gift generation method.
[0048] According to the live broadcast room gift generation method and device provided in the present application, the gift generated according to the characteristic attributes of the live broadcast room and the gift template contains the live broadcast room information, so that when the user interacts with the anchor, the user can give the anchor a customized gift, thereby increasing the fun of the interaction.
[0049] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0051] Figure 1 A flow chart of a method for generating gifts in a live broadcast room according to an embodiment of the present application is shown;
[0052] Figure 2 A flowchart of a method for generating gifts in a live broadcast room according to another embodiment of the present application is shown;
[0053] Figure 3 A schematic diagram of gifts in the live broadcast room is shown;
[0054] Figure 4 A flowchart of a method for generating gifts in a live broadcast room according to another embodiment of the present application is shown;
[0055] Figure 5 A schematic diagram of the structure of a live broadcast room gift generation device according to an embodiment of the present application is shown;
[0056] Figure 6 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0057] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0058] Figure 1 A flow chart of a method for generating gifts in a live broadcast room according to an embodiment of the present application is shown. Figure 1 As shown, the method comprises the following steps:
[0059] Step S101, generating a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room and combining the gift template.
[0060] The live broadcast room gifts generated in this embodiment are related to the live broadcast room, such as the anchor, users watching the live broadcast, etc. The gifts are combined with the live broadcast room information to make the gifts more personalized. The gifts in different live broadcast rooms are different, which makes it more interesting for users to give gifts to the anchor.
[0061] Specifically, the characteristic attributes of the live broadcast room include facial feature information, etc. The facial feature information can be extracted from objects such as pictures, videos, screenshots, etc., such as pictures and videos containing facial feature information uploaded through an upload interface (video frames containing facial feature information and action feature information are captured therefrom), etc., or screenshots of the live broadcast room containing facial feature information and action feature information can be obtained through live broadcast room screenshots, etc., and feature extraction is performed from the above objects to obtain characteristic attributes. The characteristic attributes can be the characteristic attributes of the anchor or the characteristic attributes of the user watching the live broadcast. According to the obtained characteristic attributes, it is combined with the gift template, and the gift template contains facial feature information, action feature information, etc. The action feature information of the characteristic attributes can be used to determine the gift template to be combined that matches the action feature information, and the facial feature information of the characteristic attributes can be used to replace the facial feature information in the gift template to obtain a gift containing live broadcast room information. The gift has the characteristic attributes of the live broadcast room and is closely related to the live broadcast room. When the user interacts with the anchor by giving the gift, it is more interesting. The above description uses facial feature information as an example. In addition, the characteristic attributes of the live broadcast room can also include other relevant characteristic information such as body contour feature information and action feature information. The gift template can also be replaced based on the corresponding information, which is not limited here. When replacing, in order to be more in line with the style of the gift template, facial information, body contour information, action information, etc. that match the style of the gift template can be generated based on the characteristic attributes combined with the style of the gift template. The corresponding replacement and update of the gift template generates a gift containing the characteristic information of the live broadcast room.
[0062] Step S102, directing the gifts to the gift panel of the live broadcast room for user selection.
[0063] After receiving a gift containing live broadcast room information, the corresponding live broadcast room can be determined based on the live broadcast room information of the gift, and the gift can be directed to the gift panel of the corresponding live broadcast room. When the user triggers the gift panel of the live broadcast room, the gift will be displayed to the user, and the user can choose the gift to give.
[0064] According to the live broadcast room gift generation method provided in this application, the gift generated according to the characteristic attributes of the live broadcast room and the gift template contains the live broadcast room information, so that when the user interacts with the anchor, he can give the anchor a customized gift, thereby increasing the fun of the interaction.
[0065] Figure 2 A flow chart of a method for generating gifts in a live broadcast room according to an embodiment of the present application is shown. Figure 2 As shown, the method comprises the following steps:
[0066] Step S201, obtaining anchor information.
[0067] With the host's authorization, the host's information can be obtained. The host's information includes the host's level, the number of users following the host, the host's operation information, etc. The host's operation information includes the host's participation in various platform activities and tasks. The above host information is determined based on the host's daily playback time, the number of users watching, the number of users following the host, gifts given by users, and other situations.
[0068] Step S202, determine whether the anchor information meets the preset gift generation conditions.
[0069] The live broadcast room gifts in this embodiment can be screened based on preset gift generation conditions, and live broadcast room gifts can be generated for the anchors who meet the preset gift generation conditions, so that these anchors can attract more users to watch.
[0070] The preset gift generation conditions include that the anchor level is higher than the preset anchor level, the number of following users is greater than the preset number, the anchor operation information reaches the preset operation level, etc. The preset gift generation conditions may include one or more of the above. The anchors corresponding to the anchor information that meets the preset gift generation conditions are screened, and live broadcast room gifts are generated for their live broadcast rooms. This also ensures that the generated live broadcast room gifts will be viewed and given by more users, making the generated live broadcast room gifts more widely used.
[0071] When it is determined that the anchor information meets the preset gift generation conditions, step S203 is executed, otherwise, the existing gifts are displayed and no gift containing the live broadcast room information is generated.
[0072] Step S203, input the object containing facial feature information and motion feature information into the preset AI model, extract the facial feature information and motion feature information, use the facial feature information combined with the style information of the gift template to generate and replace the facial information of the gift template, and generate corresponding animation motion information for the gift template according to the motion feature information to obtain an animation gift containing the live broadcast room information.
[0073] In this embodiment, the characteristic attributes of the live broadcast room are explained by taking facial feature information as an example, but are not limited to this. Facial feature information can include facial feature information of the anchor, and can also include facial feature information of users watching the live broadcast. The object containing facial feature information can be input into the pre-trained AI model, and the AI model can extract facial feature information from the object containing facial feature information. Taking the facial feature information of the anchor as an example, the key feature points of the anchor's face are aligned with the key feature points of the facial information in the extracted gift template, etc. At the same time, combined with the style information of the gift template, such as the two-dimensional style, etc., facial information that conforms to the style of the gift template is generated, and face replacement is performed to replace the facial information in the gift template with the generated anchor facial information that conforms to the style of the gift template, and a gift containing the anchor's facial information is obtained. The gift has the characteristics of the anchor's live broadcast room, which can increase the interactive fun compared with the existing conventional gifts. Furthermore, the characteristic attributes of the live broadcast room also include action feature information. The object containing the action feature information can be input into the pre-trained AI model. The AI model can extract the action feature information from the object containing the action feature information. Taking the action feature information of the anchor as an example, after replacing the facial information in the gift template with the generated facial information of the anchor that conforms to the style of the gift template, the corresponding animation action information can be generated for the gift template according to the action feature information, and the virtual character in the gift template can be driven to make actions consistent with the action feature information, such as jumping, waving, etc., to obtain an animated gift containing the live broadcast room information. The above is explained using the facial feature information and action feature information of the anchor as an example. During implementation, the animated gift containing the live broadcast room information can also be obtained based on the facial feature information, action feature information, etc. of the users of the live broadcast room. The preset AI model can adopt any AI face-changing model, which is not limited here.
[0074] Furthermore, gifts can be generated offline before the host starts the live broadcast, based on the host's facial feature information and combined with gift templates. Gifts containing the host's information can also be generated in real time with gift templates based on the host's facial feature information or the user's facial feature information when the user clicks on the gift panel. The specific generation time and whether to use real-time online or offline generation can be set according to the implementation situation and are not limited here.
[0075] For gift templates, gift templates can be built in offline presets. Gift templates may include 2D model animations or 3D model animations. For example, in a cyberpunk scene, an animated character may jump from a tall building and then tumble forward, run forward, and freeze-frame for display. Gift templates may include scenes of different styles and be built in advance. Alternatively, gift templates may be generated in real time. For example, during a live broadcast, the host may click a gift template button, say "generate gift," or other gift template generation instructions to trigger a gift template generation request, and obtain gift description information entered or spoken by the host during the live broadcast, such as gift style, gift scenario, gift action, character model, and other gift description information. AI may then draw a model automatically based on the gift description information. Draw and generate gift templates, or provide users with gift template buttons to automatically draw and generate gift templates based on gift description information input by users or described by voice; or, combine the gift description information of both the host and the user to generate gift templates; or, obtain the host's live broadcast content during the live broadcast, and automatically draw and generate gift templates based on various gift description information such as style, scenario, action description, role model, etc. contained in the live broadcast content by AI drawing models, or, obtain the user's interactive content when watching the live broadcast, and automatically draw and generate gift templates based on various information contained in the interactive content by AI drawing models, etc., or, the host's live broadcast content and the user's interactive content can be combined to generate gift templates in real time online. The above is an example, which is set according to the implementation situation and is not limited here.
[0076] Gift templates can be used for hosts in one live broadcast room, such as a gift template customized in real time for the host based on gift description information or live broadcast content or interactive content; they can also be used for hosts in different live broadcast rooms, such as hosts in different live broadcast rooms can use pre-built gift templates to generate live broadcast room gifts containing their own live broadcast room information.
[0077] Furthermore, when the action of the animated character in the animation of the gift template is frozen, the facial information of the gift template is replaced with the facial feature information, and the replaced facial information is displayed. In order to present a better display effect, dynamic special effects and motion blur effects can be added to the gift after the replacement, such as adding photoelectric dynamic special effects according to the action of the animated character, adding motion blur effects, etc., to enhance the visual effect of the user.
[0078] Step S204, obtaining the text display information preset by the anchor; or obtaining the text display information of the anchor and / or the user in the live broadcast; displaying the text display information in the text display position of the gift template, and generating a gift containing the anchor information.
[0079] The gift template may also include text display positions, such as light boards, billboards and other different positions where text display information can be set for display. The text display information can be pre-set by the anchor through the text setting interface before the anchor broadcasts live, and the anchor's preset text display information can be obtained; or, the anchor can set the text display information through the text setting interface during the live broadcast, or determine and obtain the text display information based on the anchor's live broadcast content, or the user sets the text display information through the text setting interface, etc. The text display information is input into the preset AI model, and the preset AI model can locate the text display position of the gift template, set the size of the text display information according to the size of the text display position, and set the font, color, layout, etc. of the text display information according to the gift template, and finally obtain a gift containing the live broadcast room information and text display information.
[0080] If the gift template does not include text display space, skip this step.
[0081] Step S205, determine the live broadcast room of the anchor corresponding to the gift according to the live broadcast room information and / or anchor identification information of the gift, and direct the gift to the gift panel of the live broadcast room.
[0082] When a gift is generated, the generated gift contains the anchor identification information, live broadcast room information, etc. According to the anchor identification information of the gift, the anchor's live broadcast room can be located, or the corresponding anchor's live broadcast room can be determined according to the live broadcast room information, and the gift can be directed to the gift panel of the anchor's live broadcast room. When the user enters the anchor's live broadcast room and clicks on the gift panel, the generated gift will be displayed in the gift panel. The user can select a gift to give to the anchor. The display interface of the live broadcast room can display the corresponding gift, and the gift presentation includes animations of the anchor's face, animations of the user's face, etc. When the user watches the anchor, related animations are displayed to increase the fun of live broadcast interaction.
[0083] Specific as Figure 3 As shown, taking the anchor's facial feature information as an example, the anchor's live broadcast is shown at the top, and the gifts given by users to the anchor's live broadcast room are shown at the bottom, that is, the generated gifts containing the anchor's facial feature information. The face of the animated character is replaced with the anchor's face that conforms to the animation style, presenting an effect of combining the anchor's face with the animated character. The gift is different from existing gifts, which increases the fun of the interaction.
[0084] According to the live broadcast room gift generation method provided by the present application, facial feature information, motion feature information, etc. are extracted based on the picture containing the characteristic attributes of the live broadcast room, and the facial information of the gift template is replaced with facial information generated using the facial feature information that conforms to the style of the gift template to obtain a gift containing the characteristic information of the live broadcast room. Text display information can also be obtained, and the text display information is displayed in the text display position of the gift template, and the facial information is matched with the animation in the gift template to show it more in line with the display, so as to give the anchor a customized live broadcast room information gift to increase the fun of the interaction. In order to present a better display effect, dynamic special effects, motion blur effects, etc. can also be added to the gift after replacing the facial information to enhance the visual effect of the user. Furthermore, based on the anchor information, the anchors who meet the preset gift generation conditions are screened out to ensure that the generated live broadcast room gifts are viewed and given by more users.
[0085] Figure 4 A flow chart of a method for generating gifts in a live broadcast room according to an embodiment of the present application is shown. Figure 4 As shown, the method comprises the following steps:
[0086] Step S401, input an object containing characteristic attributes of multiple anchors and / or users in the live broadcast room into a preset AI model, extract multiple facial feature information, use the multiple facial feature information combined with the style information of the gift template to generate and replace each facial information of the gift template, and obtain a gift containing the live broadcast room information.
[0087] During live broadcast, one host can broadcast the live broadcast in the live broadcast room, or multiple hosts can conduct live broadcast connection, PK and other multi-person live broadcasts, or the host can interact with users watching the live broadcast. When the live broadcast room contains multiple hosts or multi-person scenes such as hosts and users, this embodiment can obtain objects containing characteristic attributes of multiple hosts and users in the live broadcast room based on live broadcast room screenshots, live broadcast room recorded videos, etc., or multiple pictures, each of which contains facial feature information of each host or user.
[0088] When the live broadcast room contains multiple anchors and users, the gift template uses an animation that contains the facial information of multiple animated characters. The number of animated characters is the same as or greater than the total number of anchors and / or users, ensuring that the facial information of each anchor and user can replace the facial information of an animated character in the gift template.
[0089] When generating a gift containing facial feature information of multiple anchors and users, the object containing facial feature information of each anchor and user is input into the preset AI model, multiple facial feature information is extracted, and each facial information of the gift template is replaced respectively. When replacing, the style of the gift template is combined, and facial information that conforms to the style of the gift template is generated according to the facial feature information to replace and update the gift template, thereby obtaining a gift containing facial feature information of multiple anchors or users. When replacing, the animation characters in different positions can be matched according to the order of the anchor position of each anchor, the ranking of the anchor PK scores, the order of interaction between the anchor and the user, etc. For example, the first anchor PK corresponds to the animation character in the middle position, the second anchor PK corresponds to the animation character in the middle left position, etc. The specific setting is based on the implementation situation and is not limited here. If the number of animated characters is consistent with the total number of people corresponding to the facial feature information, the facial information of each animated character will be replaced with different facial feature information; if the number of animated characters is greater than the total number of people corresponding to the facial feature information, the facial information of the animated characters located at the edge of the animation may not be replaced, or the anchor or user who comes first in the order may replace the facial information of multiple animated characters. There is no limitation here.
[0090] Step S402, directing the gifts to the gift panels of the live broadcast rooms where multiple anchors and / or users are located.
[0091] After generating a gift containing multiple facial feature information, the corresponding live broadcast room is determined based on the live broadcast room information, anchor identification information, etc. in the gift, and the gift is directed to the gift panel of the live broadcast room where multiple anchors or users are currently located. Users can select the gift to give it away by, for example, clicking on the gift panel.
[0092] According to the live broadcast room gift generation method provided by the present application, for the case where there are multiple anchors in the live broadcast room, or a multi-person scene where the anchors interact with users, the facial information of the gift template can be replaced with the facial feature information of each anchor or user, respectively, to obtain a gift containing the facial feature information of multiple anchors and users. Users can give gifts containing the facial feature information of multiple anchors to multiple anchors in a live broadcast room where multiple anchors are connected, or give gifts containing the facial feature information of the anchor and the user to the anchor in a live broadcast room where the anchor interacts with users, thereby increasing the fun of the interaction.
[0093] Figure 5 A schematic diagram of the structure of a live broadcast room gift generation device provided in one embodiment of the present application is shown.
[0094] like Figure 5 As shown, the device comprises:
[0095] A generating module 510, adapted to generate a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room and in combination with a gift template;
[0096] The delivery module 520 is suitable for delivering gifts to the gift panel of the live broadcast room for user selection.
[0097] Optionally, the characteristic attributes of the live broadcast room include: facial feature information; the characteristic attributes of the live broadcast room are obtained according to an object containing facial feature information, and the object containing facial feature information includes pictures, videos and / or screenshots;
[0098] The generation module 510 is further adapted to:
[0099] Input the object containing facial feature information into the preset AI model to extract the facial feature information; use the facial feature information combined with the style information of the gift template to generate and replace the facial information of the gift template to obtain a gift containing the live broadcast room information.
[0100] Optionally, the generating module 510 is further adapted to:
[0101] Before the anchor starts the live broadcast, a gift containing the live broadcast room information is generated based on the characteristic attributes of the live broadcast room and combined with the gift template.
[0102] Optionally, the generating module 510 is further adapted to:
[0103] When the user clicks on the gift panel, a gift containing the live broadcast room information is generated based on the characteristic attributes of the live broadcast room and the gift template.
[0104] Optionally, the gift template includes a preset animation including facial information;
[0105] The device also includes: a template generation module 530, which is suitable for pre-setting and constructing a gift template; or, obtaining gift description information of the host and / or the user in the live broadcast, and generating a gift template based on the gift description information; or, obtaining the live broadcast content of the host and / or the interactive content of the user in the live broadcast, and generating a gift template based on the live broadcast content and / or the interactive content.
[0106] Optionally, the gift template also includes a text display space;
[0107] The device also includes: a text display module 540, suitable for obtaining text display information preset by the anchor; or obtaining text display information of the anchor and / or user in the live broadcast; displaying the text display information in the text display position of the gift template, and generating a gift containing the text display information.
[0108] Optionally, the gift includes live broadcast room information and / or anchor identification information;
[0109] The delivery module 520 is further adapted to:
[0110] According to the live broadcast room information and / or anchor identification information of the gift, the live broadcast room of the anchor corresponding to the gift is determined, and the gift is directed to the gift panel of the live broadcast room.
[0111] Optionally, if the live broadcast room includes multiple anchors and / or users, the generation module 510 is further adapted to:
[0112] An object containing characteristic attributes of multiple hosts and / or users in the live broadcast room is input into a preset AI model to extract multiple facial feature information; the multiple facial feature information is combined with the style information of the gift template to generate and replace each facial information of the gift template to obtain a gift containing the live broadcast room information.
[0113] Optionally, the delivery module 520 is further adapted to:
[0114] Directly deliver gifts to the gift panels of multiple anchors and / or users' live broadcast rooms.
[0115] Optionally, the characteristic attributes of the live broadcast room also include: action characteristic information;
[0116] The generation module 510 is further suitable for: inputting an object containing facial feature information and motion feature information into a preset AI model to extract the facial feature information and motion feature information; using the facial feature information combined with the style information of the gift template to generate and replace the facial information of the gift template, and generating corresponding animation motion information for the gift template based on the motion feature information to obtain an animation gift containing the live broadcast room information.
[0117] Optionally, the device further includes: a judgment module 550, adapted to obtain anchor information; the anchor information includes: anchor level, number of following users and / or anchor operation information; judging whether the anchor information meets the preset gift generation conditions; the preset gift generation conditions include that the anchor level is higher than the preset anchor level, the number of following users is greater than the preset number and / or the anchor operation information reaches the preset operation level;
[0118] If yes, the generation module 510 is executed.
[0119] Optionally, the device further comprises: a special effect adding module 560, adapted to add dynamic special effects and / or motion blur effects to the gift.
[0120] Optionally, the gift template includes a 2D model animation or a 3D model animation; the gift template is used for anchors in different live broadcast rooms.
[0121] The description of each module above refers to the corresponding description in the method embodiment and will not be repeated here.
[0122] According to the live broadcast room gift generation device provided by the present application, the gift generated by combining the anchor information and the gift template includes the anchor information, so that when the user interacts with the anchor, the user can give the anchor a customized anchor information gift, thereby increasing the fun of the interaction.
[0123] The present application also provides a non-volatile computer storage medium, which stores at least one executable instruction, and the executable instruction can execute the live broadcast room gift generation method in any of the above method embodiments.
[0124] Figure 6 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. The specific embodiment of the present application does not limit the specific implementation of the computing device.
[0125] like Figure 6 As shown, the computing device may include: a processor (processor) 602 , a communications interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0126] in:
[0127] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .
[0128] The communication interface 604 is used to communicate with other devices such as clients or other servers.
[0129] Processor 602 is used to execute program 610, and specifically can execute the relevant steps in the above-mentioned live broadcast room gift generation method embodiment.
[0130] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0131] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the present application. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0132] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0133] Program 610 can be specifically used to enable processor 602 to execute the live broadcast room gift generation method in any of the above-mentioned method embodiments. The specific implementation of each step in program 610 can refer to the corresponding descriptions in the corresponding steps and units in the above-mentioned live broadcast room gift generation embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.
[0134] The algorithm or display provided here is not inherently related to any specific computer, virtual system or other device. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the application described here, and the above description of specific languages is to disclose the preferred embodiment of the application.
[0135] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0136] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0137] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0138] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0139] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components of the present application. The present application can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0140] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A method for generating gifts in a live broadcast room, comprising: According to the characteristic attributes of the live broadcast room, a gift containing the live broadcast room information is generated in combination with a gift template; The gifts are directed to the gift panel of the live broadcast room for users to choose.
2. The method according to claim 1, wherein: The characteristic attributes of the live broadcast room include: facial feature information; the characteristic attributes of the live broadcast room are obtained according to an object containing facial feature information, and the object containing facial feature information includes a picture, a video and / or a screenshot; The generating of a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room in combination with the gift template further comprises: An object containing facial feature information is input into a preset AI model to extract the facial feature information; the facial feature information is combined with the style information of the gift template to generate and replace the facial information of the gift template to obtain a gift containing the live broadcast room information.
3. The method according to claim 1 or 2, wherein: The generating of a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room in combination with the gift template further comprises: Before the anchor starts the live broadcast, a gift containing the live broadcast room information is generated based on the characteristic attributes of the live broadcast room and combined with the gift template.
4. The method according to claim 1 or 2, wherein: The generating of a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room in combination with the gift template further comprises: When the user clicks on the gift panel, a gift containing the live broadcast room information is generated based on the characteristic attributes of the live broadcast room and the gift template.
5. The method according to any one of claims 1 to 4, wherein: The gift template includes a preset animation including facial information; The method further comprises: Preset build gift templates; Alternatively, obtaining gift description information of the host and / or user in the live broadcast, and generating a gift template according to the gift description information; Alternatively, the live broadcast content of the anchor and / or the interactive content of the user in the live broadcast is obtained, and a gift template is generated according to the live broadcast content and / or the interactive content.
6. The method according to any one of claims 1 to 5, wherein: The gift template also includes a text display space; The method further comprises: Obtain the text display information preset by the anchor; or obtain the text display information of the anchor and / or user in the live broadcast; The text display information is displayed in the text display position of the gift template to generate a gift containing the text display information.
7. The method according to any one of claims 1 to 6, wherein: The gift includes live broadcast room information and / or anchor identification information; Directly delivering the gift to the gift panel of the live broadcast room for the user to choose further includes: According to the live broadcast room information and / or anchor identification information of the gift, the live broadcast room of the anchor corresponding to the gift is determined, and the gift is directed to the gift panel of the live broadcast room.
8. The method according to any one of claims 1 to 7, wherein: If the live broadcast room includes multiple anchors and / or users, generating a gift including the live broadcast room information according to the characteristic attributes of the live broadcast room and combining the gift template further includes: An object containing characteristic attributes of multiple hosts and / or users in a live broadcast room is input into a preset AI model to extract multiple facial feature information; the multiple facial feature information is combined with the style information of the gift template to generate and replace each facial information of the gift template to obtain a gift containing the live broadcast room information.
9. The method according to claim 8, wherein: Directly delivering the gift to the gift panel of the live broadcast room for user selection further includes: The gifts are directed to the gift panels of the live broadcast rooms where multiple anchors and / or users are located.
10. The method according to any one of claims 1 to 9, wherein: The characteristic attributes of the live broadcast room also include: action characteristic information; The generating of a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room in combination with the gift template further comprises: Input an object containing facial feature information and action feature information into a preset AI model to extract the facial feature information and action feature information; The facial feature information is combined with the style information of the gift template to generate and replace the facial information of the gift template, and corresponding animation action information is generated for the gift template based on the action feature information to obtain an animation gift containing live broadcast room information.
11. The method according to any one of claims 1 to 10, wherein: The method further comprises: Obtaining anchor information; the anchor information includes: anchor level, number of following users and / or anchor operation information; Determine whether the anchor information meets the preset gift generation conditions; the preset gift generation conditions include that the anchor level is higher than the preset anchor level, the number of following users is greater than the preset number and / or the anchor operation information reaches the preset operation level; If so, generate a gift containing live broadcast room information for the anchor's live broadcast room.
12. The method according to any one of claims 1 to 11, wherein: After generating the gift containing the live broadcast room information, the method further includes: Adding dynamic special effects and / or motion blur effects to said gift.
13. The method according to any one of claims 1 to 12, wherein: The gift template includes a 2D model animation or a 3D model animation; the gift template is used for anchors in different live broadcast rooms.
14. A live broadcast room gift generation device, comprising: A generation module, adapted to generate a gift containing live broadcast room information according to the characteristic attributes of the live broadcast room and in combination with a gift template; The delivery module is suitable for delivering the gifts to the gift panel of the live broadcast room for user selection.
15. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the live broadcast room gift generation method as described in any one of claims 1-13.
16. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the live broadcast room gift generation method as described in any one of claims 1-13.
Citation Information
Patent Citations
Video generation and display method and device, equipment and medium
CN112423022A
Gift dynamic effect display method and system based on 3D face animation reconstruction
CN112866741A
Quadratic element virtual gift generation method and device, electronic equipment and storage medium
CN113992927A
Virtual object generation method and device, equipment and storage medium
CN114025189A
Virtual customized gift display method, system and device and storage medium
CN114827637A