CN116437136A - Display method of virtual gift in living broadcast room, computer equipment and storage medium - Google Patents
Display method of virtual gift in living broadcast room, computer equipment and storage medium Download PDFInfo
- Publication number
- CN116437136A CN116437136A CN202310243763.8A CN202310243763A CN116437136A CN 116437136 A CN116437136 A CN 116437136A CN 202310243763 A CN202310243763 A CN 202310243763A CN 116437136 A CN116437136 A CN 116437136A
- Authority
- CN
- China
- Prior art keywords
- special effect
- virtual gift
- data
- user
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000000694 effects Effects 0.000 claims abstract description 383
- 230000008569 process Effects 0.000 claims description 37
- 238000004891 communication Methods 0.000 claims description 21
- 239000000463 material Substances 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004519 manufacturing process Methods 0.000 claims description 7
- 230000003068 static effect Effects 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 239000000919 ceramic Substances 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a display method, a computer device and a storage medium of a virtual gift in a live broadcasting room, wherein the method comprises the following steps: the receiving server gives a virtual gift message sent by a preset virtual gift based on a user; acquiring first special effect data and second special effect data from configuration information of a virtual gift message; and sequentially displaying a first special effect corresponding to the first special effect data and a second special effect corresponding to the second special effect data on the interface of the live broadcasting room. By means of the mode, the display mode of the virtual gift can be enriched.
Description
Technical Field
The present application relates to the field of live broadcasting technologies, and in particular, to a method for displaying a virtual gift in a live broadcasting room, a computer device, and a storage medium.
Background
With the popularization of intelligent equipment and the development of communication technology, society has entered the era of intelligent interconnection. Network communication speeds are increasing, and people can conveniently use intelligent equipment to smoothly swim through the network. The live broadcasting technology enriches the use scenes of intelligent equipment, so that people can watch live broadcasting or live broadcasting at any time and any place, and further life of people is enriched.
With the rapid development of the live broadcast industry, the form of live broadcast interaction is also various. During the live broadcast, the viewer may present a virtual gift to the anchor for interaction with the anchor user. However, the existing virtual gift presenting interaction mode is single, and is not attractive enough to the audience, so that the enthusiasm of the audience to participate in the interaction is low.
Disclosure of Invention
The technical problem that this application mainly solves is to provide the display method, computer equipment and the storage medium of living broadcast room virtual gift, can enrich the display form of virtual gift.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: the method for displaying the virtual gift in the living broadcasting room comprises the following steps: the receiving server gives a virtual gift message sent by a preset virtual gift based on a user; acquiring first special effect data and second special effect data from configuration information of a virtual gift message; and sequentially displaying a first special effect corresponding to the first special effect data and a second special effect corresponding to the second special effect data on the interface of the live broadcasting room.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: providing a computer device comprising a processor, a memory, and a communication circuit; the communication circuit and the memory are coupled with the processor; the memory stores a computer program, and the processor is configured to execute the computer program to implement a method for displaying a virtual gift in a living room as provided in the present application.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: there is provided a computer-readable storage medium storing a computer program for execution by a processor to implement a method of displaying a virtual gift in a living room as provided in the present application.
The beneficial effects of this application are: different from the prior art, the receiving server acquires first special effect data and second special effect data from configuration information of a virtual gift message based on the virtual gift message sent by a preset virtual gift given by a user, and sequentially displays the first special effect corresponding to the first special effect data and the second special effect corresponding to the second special effect data on a live broadcasting room interface. Because the special effects of the virtual gift in the existing living room are single special effects corresponding to the virtual gift, and the two special effects are related through the preset virtual gift, the first special effect and the second special effect can be sequentially displayed on the living room interface after the user gives out the preset virtual gift, so that the user can display two mixed special effects after giving out the virtual gift, the display form of the virtual gift is richer, the enthusiasm of the user giving out the preset virtual gift in the living room is promoted, and the living room atmosphere is better created.
Drawings
FIG. 1 is a schematic diagram of the system components of an embodiment of the live system of the present application;
FIG. 2 is a flow chart of an embodiment of a method for displaying virtual gifts in a living room of the present application;
FIG. 3 is a timing diagram of an embodiment of a method for displaying virtual gifts in a living room according to the present application;
fig. 4 is a first schematic diagram of a live room interface in an embodiment of a method for displaying a virtual gift in a live room of the present application;
fig. 5 is a second schematic diagram of a live room interface in an embodiment of a method for displaying a virtual gift in a live room of the present application;
FIG. 6 is a third schematic diagram of a live room interface in an embodiment of a method for displaying virtual gifts in a live room of the present application;
FIG. 7 is a schematic circuit diagram of an embodiment of a computer device of the present application;
fig. 8 is a schematic circuit configuration diagram of an embodiment of a storage medium readable by a computer of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
With the rapid development of the live broadcast industry, the form of live broadcast interaction is also various. In the live broadcast process, the anchor performs at the anchor terminal, and the user can watch the anchor performance at the audience terminal or interact with the anchor through the audience terminal. During the live broadcast of the audience user by watching the anchor user through the audience terminal, the audience user may present a virtual gift to the anchor user to interact with the anchor user.
The inventor has long studied to find that in the existing living room gifting a virtual gift, a viewer user selects a virtual gift that wants to be gifted to a host user and clicks the gifting. And after the user gives the virtual gift, a special effect corresponding to the virtual gift may be displayed at the live room interface. However, the existing virtual gift effects are single and interactive-free, for example, after a user gives out a virtual gift configured with MP4 effects, the corresponding MP4 effects can be displayed on the interface of the living broadcast room. The display form of the single gift is easy to cause lack of interest of the audience, reduces the enthusiasm of the audience to participate in the gift for interaction, is unfavorable for creating an active living room atmosphere, and further causes the viscosity of the audience to be reduced. In order to improve the above technical problems, the present application proposes the following embodiments.
As shown in fig. 1, a live broadcast system 1 described in the embodiments of the live broadcast system of the present application may include a server 10, a hosting terminal 20, and an audience terminal 30. The anchor terminal 20 and the audience terminal 30 may be electronic devices, and in particular, the anchor terminal 20 and the audience terminal 30 are electronic devices, i.e., client terminals, in which respective client programs are installed. The electronic device may be a mobile terminal, a computer, a server, or other terminals, the mobile terminal may be a mobile phone, a notebook computer, a tablet computer, an intelligent wearable device, or the like, and the computer may be a desktop computer, or the like.
The server 10 may pull the live data stream from the anchor terminal 20, and may correspondingly process the obtained live data stream and push the live data stream to the viewer terminal 30. The audience terminal 30 may view the live process of the anchor or guest after acquiring the live data stream. A mixed stream of live data streams may occur at least one of the server 10, the anchor terminal 20, and the viewer terminal 30. Video communication or voice communication can be performed between the anchor terminal 20 and the anchor terminal 20, and between the anchor terminal 20 and the viewer terminal 30. During the live viewing process, the anchor terminal 20 may push live data streams including video streams to the server 10, and further push corresponding live data to each viewer terminal 30 in the live room to which the anchor terminal 20 corresponds. The anchor terminal 20 and the viewer terminal 30 can display corresponding live pictures in the live broadcasting room. In particular, the server 10 may be, for example, a server cluster, and may be used not only to collect and push live data streams, but also to further process service requests and related matters, for example, to store and process data related to services generated in the live broadcast process, for example, to process virtual gift gifts, virtual coin recharging and consumption, public screen information transceiving, authentication, linking and automatic authentication of sensitive words/pictures, and the like.
Of course, the anchor terminal 20 and the audience terminal 30 are relatively speaking, and the terminal in the live broadcast process is the anchor terminal 20, and the terminal in the live broadcast watching process is the audience terminal 30.
As shown in fig. 2, an embodiment of a method for live gifting of a virtual gift may be implemented with a client terminal, which may include a anchor terminal 20 and a viewer terminal 30. The embodiment may include the following steps: s100: the receiving server gives a virtual gift message transmitted based on a user's gift of a preset virtual gift. S200: and acquiring the first special effect data and the second special effect data from the configuration information of the virtual gift message. S300: and sequentially displaying a first special effect corresponding to the first special effect data and a second special effect corresponding to the second special effect data on the interface of the live broadcasting room.
In the live broadcast process, the client terminal may receive the virtual gift message sent by the server 10 based on the user presenting the preset virtual gift, acquire the first special effect data and the second special effect data from the configuration information of the virtual gift message, and sequentially display the first special effect corresponding to the first special effect data and the second special effect corresponding to the second special effect data on the interface between live broadcast. Because the special effects of the virtual gift in the existing living room are single special effects corresponding to the virtual gift, and the two special effects are related through the preset virtual gift, the first special effect and the second special effect can be sequentially displayed on the living room interface after the user gives out the preset virtual gift, so that the user can display two mixed special effects after giving out the virtual gift, the display form of the virtual gift is richer, the enthusiasm of the user giving out the preset virtual gift in the living room is promoted, and the living room atmosphere is better created.
The method described in this embodiment may be applied to a scenario in which the audience user corresponding to the audience terminal 30 presents a virtual gift to the anchor user corresponding to the anchor terminal 20 in the live broadcast process, as shown in fig. 3, and the following describes in detail the embodiment with the client terminal as the execution subject.
S100: the receiving server gives a virtual gift message transmitted based on a user's gift of a preset virtual gift.
The preset virtual gift may be a virtual gift associated with the first effect and the second effect, which is preconfigured in the server 10. Specifically, the preset virtual gift may be configured in advance in the gift background in the server 10. The first effect may be an MP4 video effect of a preset play duration, and the second effect may be an AI effect that combines with the anchor feature and changes with the anchor feature.
The virtual gift message may be a virtual gift message transmitted to the client terminal by the server 10 in response to the user presenting the preset virtual gift, and in particular, the server 10 may transmit a virtual gift message to all the audience terminals 30 and the anchor terminals 20 within the current living room after the user presenting the preset virtual gift in the living room.
In the live broadcast process, after the user gives the preset virtual gift to the host, the server 10 may send the virtual gift message to all client terminals in the current live broadcast room, and the client terminals may receive the virtual gift message, so that the corresponding special effects may be displayed on the live broadcast room interface based on the virtual gift message.
In one implementation, S100 may include the steps of:
s110: and receiving the virtual gift message sent by the server.
S120: judging whether the virtual gift corresponding to the virtual gift message is a preset virtual gift.
S130: if yes, inserting the special effect playing position corresponding to the virtual gift message to the first position of the special effect playing position corresponding to the virtual gift presented by the non-home terminal user in the current gift presenting special effect playing queue.
The gift-gifting trick-play queue may be a list for queuing trick-play orders in the client terminal. Because the situation that a plurality of users give a plurality of virtual gifts exists in the live broadcast process, in order to be convenient for showing the special effects corresponding to each virtual gift, the special effects corresponding to the virtual gifts given by each user can be sequenced to obtain a gift-giving special effect play queue, and therefore the special effects can be played according to the gift-giving special effect play queue in the process of playing the special effects.
The trick play location may be a location where a special effect corresponding to a virtual gift is arranged in a gift-gifting trick play queue.
The home terminal may include any client terminal currently being the subject of execution, and the home terminal user may include a user corresponding to any client terminal currently being the subject of execution.
Since the virtual gift message transmitted by the server 10 includes not only the virtual gift message corresponding to the preset virtual gift but also the virtual gift message corresponding to the non-preset virtual gift. Therefore, the client terminal, after receiving the virtual gift message transmitted from the server 10, can determine whether the virtual gift corresponding to the virtual gift message is a preset virtual gift. If the virtual gift is preset, inserting the special effect playing position corresponding to the virtual gift message into the first position of the special effect playing position corresponding to the virtual gift which is not presented by the local end user in the current gift presenting special effect playing queue. That is, if a user gives a preset virtual gift in the current living broadcast room, the special effect playing position corresponding to the preset virtual gift can be inserted into the special effect playing queue of the current living broadcast room, and the special effect corresponding to the preset virtual gift is preferentially displayed except for the special effect corresponding to the virtual gift given by the current living broadcast room. Because the playing process of the existing live broadcast room gift special effects is mostly displayed successively according to the time sequence of presentation, special or high-value special effects cannot be displayed preferentially, and the enthusiasm of a user for presenting special or high-value virtual gift is low. Through the mode, the user can watch the special effect with richer display effect preferentially in the live broadcast watching process, on one hand, the visual experience brought to the user by the live broadcast room interface can be enhanced, and on the other hand, the enthusiasm of the user for giving the preset virtual gift to the host can be stimulated, so that the live broadcast revenue of the host is improved, and the atmosphere of the live broadcast room is activated.
If the virtual gift is not preset, inserting the special effect playing position corresponding to the virtual gift message to the last position in the current gift-giving special effect playing queue.
For example, if the current client terminal as the execution subject is the terminal corresponding to the user a, in the process that the user a views in the current live broadcast room through the client terminal, if the user B gives the preset virtual gift, the current gift giving trick play queue of the user a sequentially includes the non-preset virtual gift given by the user a, the non-preset virtual gift given by the user C, and the non-preset virtual gift given by the user D. After receiving the virtual gift message sent by the server 10 based on the presentation of the preset virtual gift by the user B, the special effect playing position corresponding to the virtual gift message may be inserted to the special effect playing position corresponding to the non-preset virtual gift presented by the user a, and then before the special effect playing position corresponding to the non-preset virtual gift presented by the user C, so that after the special effect corresponding to the non-virtual gift presented by the user a is displayed, the special effect corresponding to the preset virtual gift presented by the user B is displayed.
For another example, if the current gift-gifting special effect playing queue of the user a sequentially includes the non-preset virtual gift-gifting of the user C, the non-preset virtual gift-gifting of the user D, and the non-preset virtual gift-gifting of the user E. After receiving the virtual gift message sent by the server 10 based on the user B presenting the preset virtual gift, the special effect playing position corresponding to the virtual gift message may be inserted before the special effect playing position corresponding to the non-preset virtual gift presented by the user C, so as to display the special effect corresponding to the preset virtual gift presented by the user B with priority.
In one implementation, before the receiving server 10 presents the virtual gift message transmitted by the preset virtual gift based on the user, the method may include the steps of:
s140: and judging whether the live system version of the home terminal is lower than a preset version.
S150: if yes, prompt information is displayed on the interface of the live broadcasting room so as to prompt the user at the local end that the first special effect and the second special effect cannot be completely watched.
The preset version may include a live system version preset in the client terminal that is capable of simultaneously playing the first effect and the second effect that are associated with each other. Because the preset virtual gift is related to the first special effect and the second special effect, the first special effect and the second special effect can be two different types of special effects, and the two different types of special effects can be played simultaneously, the version of the live broadcast system corresponding to the local end for playing the first special effect and the second special effect is not lower than the preset version.
Before the user at the home terminal selects the preset virtual gift for giving, whether the live system version of the home terminal is lower than the preset version or not can be judged. If the live broadcast system version of the local terminal is lower than the preset version, prompt information can be displayed on the live broadcast room interface so as to prompt the local terminal that the user cannot completely watch the first special effect and the second special effect, thereby prompting whether the user still gives the preset virtual gift or not.
For example, as shown in fig. 4, if the client terminal currently being the executing subject is the terminal corresponding to the user a, the user a gives a preset virtual gift in the process that the user a views at the current live broadcast room through the client terminal. If the current live system version of the user a is 8.1 and the preset version is 8.19, the live system version of the user a is lower than the preset version. At this time, the interface between the direct broadcasting rooms of the user a may display prompt information, such as "send out will not experience the complete gift special effect, confirm to send out. If the user A selects to confirm and send out, the preset virtual gift can be continuously presented, but the first special effect and the second special effect cannot be displayed completely. If user A chooses to cancel the gift, the gift to the preset virtual gift may be cancelled.
After the client terminal receives the virtual gift message transmitted by the server 10 based on the user's gifting of the preset virtual gift, the following steps may be performed:
s200: and acquiring the first special effect data and the second special effect data from the configuration information of the virtual gift message.
The configuration information may include information related to the configuration of the first effect and the second effect in the virtual gift message. The first effect data may include data corresponding to the first effect, and the second effect data may include data corresponding to the second effect. Specifically, the client terminal may display the first effect and the second effect based on the first effect data and the second effect data.
In one implementation, before the first special effect data and the second special effect data are obtained from the configuration information of the virtual gift message, the step described in step S130 may be performed first, that is, the special effect playing position corresponding to the virtual gift message is inserted into the first position of the special effect playing position corresponding to the virtual gift presented by the non-home-end user in the current gift-gifting special effect playing queue.
In one implementation, for how to obtain the first effect data and the second effect data from the configuration information of the virtual gift message, reference may be made to the following steps included in S200:
s210: and acquiring the first special effect data and the second special effect data from the configuration information of the virtual gift message when the current gift gives the special effect playing queue wheel to the special effect playing position corresponding to the virtual gift message.
Since the client terminal receives the virtual gift message sent by the server 10 based on the user presenting the preset virtual gift, the special effect playing position corresponding to the virtual gift message can be inserted to the first position of the special effect playing position corresponding to the virtual gift presented by the non-home terminal user in the current gift-presenting special effect playing queue. Therefore, when the current gift gives the special effect playing queue wheel to the special effect playing position corresponding to the virtual gift message, the first special effect data and the second special effect data can be obtained from the configuration information of the virtual gift message, and therefore special effect display can be performed based on the first special effect data and the second special effect data.
S300: and sequentially displaying a first special effect corresponding to the first special effect data and a second special effect corresponding to the second special effect data on the interface of the live broadcasting room.
The first effect data and the second effect data may be effect data included in configuration information corresponding to a preset virtual gift. Because the preset virtual gift can be related to the first special effect and the second special effect, in the process of configuring the configuration information corresponding to the preset virtual gift, a compressed resource package can be uploaded, and the compressed resource package contains special effect materials corresponding to the first special effect data and the second special effect data.
After the first effect data and the second effect data are obtained from the configuration information of the virtual gift message, the first effect corresponding to the first effect data and the second effect corresponding to the first effect data can be sequentially displayed on the interface of the live broadcasting room. Specifically, the first special effect can be an MP4 video special effect with preset playing time length, the second special effect can be an AI special effect which combines with the characteristics of the anchor and changes along with the characteristics of the anchor, and the MP4 video special effect and the AI special effect with preset playing time length can be sequentially displayed on the interface of the living broadcast room, so that the display form of the virtual gift is richer, the enthusiasm of a user for giving the preset virtual gift in the living broadcast room is promoted, and the atmosphere of the living broadcast room is better created.
In one implementation, for how to sequentially display the first special effect corresponding to the first special effect data and the second special effect corresponding to the second special effect data on the live room interface, reference may be made to the following steps included in S300:
s310: and displaying the first special effect corresponding to the first special effect data on the interface of the live broadcasting room.
In one implementation, for how to display the first special effects corresponding to the first special effects data on the live room interface, the following steps may be referred to:
s311: and playing the MP4 video special effect for a preset playing time length in the interface playing of the live broadcasting room.
The preset playing time length can be preset playing time length in the process of making MP4 video special effects.
Because the first special effect can be an MP4 video special effect with preset playing time, the MP4 video special effect can be played with preset playing time in the process of displaying the first special effect corresponding to the first special effect data on the interface of the live broadcasting room. By setting the MP4 video special effect to play for a preset play time, user characteristic data required for making the second special effect can be obtained in the process of playing the MP4 video special effect, so that the second special effect can be made by using the user characteristic data, and the second special effect can be displayed on the interface between live broadcasting after the first special effect is displayed.
For example, according to the test situation, the network delay in the process of obtaining the user feature data may be at most about 8s, so that the playing duration of the MP4 video special effect can cover the time of waiting for obtaining the user feature data, and the preset playing duration may be set to be longer than Ss, so that the user feature data required for making the second special effect may be obtained in the process of playing the MP4 video special effect.
In one implementation, after displaying the first special effect corresponding to the first special effect data on the live room interface, the method may include the following steps:
s312: and judging whether the user characteristic data is acquired or not within a preset countdown time after the first special effect is displayed.
The user characteristic data may be characteristic data based on characteristics of the anchor of the current live room, such as a face, a fingerprint, a sound, etc.
The preset countdown time period may be preset for the client terminal, and is used for determining whether the countdown time period of the user feature data is received within the preset countdown time period.
Since the second effect may be an AI effect that combines and follows changes in the anchor feature. Therefore, after the first special effect corresponding to the first special effect data is displayed on the live broadcasting room interface, whether the user characteristic data is acquired or not can be judged within a preset countdown time after the first special effect is displayed, and whether the second special effect can be manufactured by using the user characteristic data or not is judged.
S313: and if the user characteristic data is acquired, executing the second special effect corresponding to the second special effect data displayed on the live broadcasting room interface.
The second special effects may be created using the user characteristic data and the second special effects data. If the user characteristic data is obtained within the preset countdown time after the first special effect is displayed, the second special effect can be manufactured by using the user characteristic data and the second special effect data, and then the second special effect corresponding to the second special effect data can be displayed on the live broadcasting room interface.
S314: and if the user characteristic data is not obtained, displaying the static special effects of the special effect materials on the interface of the live broadcasting room based on the special effect materials corresponding to the second special effect data.
If the user characteristic data is not obtained within the preset countdown period after the first special effect is displayed, the static special effect of the special effect material can be displayed on the interface of the live broadcasting room based on the special effect material corresponding to the second special effect data.
By judging whether the user characteristic data is acquired within the preset countdown time length, the interruption of the display connection of the first special effect and the second special effect caused by the fact that the user characteristic data is not acquired for a long time can be avoided, and the smoothness of the display connection of the first special effect and the second special effect is improved.
S320: and after the first special effect is displayed, displaying a second special effect corresponding to the second special effect data on the interface of the live broadcasting room.
In the process of sequentially displaying the first special effect and the second special effect on the live broadcasting room interface, the first special effect corresponding to the first special effect data can be displayed on the live broadcasting room interface. After the first special effect is displayed, a second special effect corresponding to the second special effect data can be displayed on the interface of the live broadcasting room.
In one implementation, the second special effect corresponding to the second special effect data may also be displayed on the live room interface. After the second special effect is displayed, the first special effect corresponding to the first special effect data can be displayed on the interface of the live broadcasting room.
In one implementation, before the second special effect corresponding to the second special effect data is displayed on the interface of the live broadcasting room, the method may include the following steps:
s321: and acquiring user characteristic data required for manufacturing the second special effect in the display process of the first special effect, and manufacturing the second special effect by utilizing the user characteristic data and the second special effect data.
The second special effect can be an AI special effect combined with the anchor feature and changed along with the anchor feature, and the first special effect can be an MP4 video special effect with preset playing time, so that user feature data required for manufacturing the second special effect can be obtained in the display process of the first special effect, and the second special effect can be manufactured by utilizing the user feature data and the second special effect data. Specifically, in the process of playing the MP4 video special effect obtained by the preset playing time length, user characteristic data required for manufacturing the second special effect can be obtained.
In one implementation, for how to obtain the user feature data required for making the second special effect, and make the second special effect by using the user feature data and the second special effect data, reference may be made to S321 including the following steps:
s3211: and identifying the face characteristics in the live video stream to obtain face characteristic data.
The live video stream may include a video stream uploaded through a camera device communicatively connected to the anchor terminal 20, and in particular, after the anchor terminal 20 receives the live video stream, the received live video stream may be uploaded to the server 10. After receiving the live video stream, the server 10 may send the received live video stream to all client terminals in the current live broadcast room, so that the client terminals may receive the live video stream.
The user characteristic data may include face characteristic data. After the client terminal receives the live video stream, the face features can be identified in the live video stream, so that face feature data are obtained, and further, the face feature data can be used for manufacturing a second special effect.
S3212: and carrying out special effect matching on the special effect material corresponding to the second special effect data and the face characteristic data based on the face characteristic data so as to obtain the second special effect.
After the face feature data is obtained, special effect matching can be performed on special effect materials corresponding to the second special effect data and the face feature data based on the face feature data so as to obtain the second special effect data. For example, if the special effect material corresponding to the second special effect data is a crown special effect, the second special effect of displaying the crown special effect on the top of the anchor head can be obtained based on the face data feature and the crown special effect.
In one implementation manner, for how to perform special effect matching on the special effect material corresponding to the second special effect data and the face feature data based on the face feature data to obtain the second special effect, the following steps may be referred to:
s32121: and if the face feature data points to a plurality of face features, determining the target face feature closest to the center point of the live broadcasting room interface in the face feature data.
The pointing of the face feature data to the plurality of face features may include a current live room interface with a plurality of faces simultaneously. Specifically, in the live broadcast process, multiple anchor or multiple other people may exist on the live broadcast interface at the same time, and at this time, face feature data corresponding to the live video stream may point to multiple face features.
The target face features may include face features for effect matching with effect material corresponding to the second effect. The second special effect can be an AI special effect which combines the face features of the anchor and changes along with the face features of the anchor, so that the second special effect can only be manufactured based on one target face feature in the process of displaying the second special effect, thereby being convenient for displaying the second feature.
Specifically, in the process of determining the target face feature, the face feature closest to the center point of the live broadcasting room interface in the face feature data can be determined as the target face feature, so that special effect matching can be performed on the target face feature close to the center point of the live broadcasting room interface.
S32122: and carrying out special effect matching on the special effect material corresponding to the second special effect data and the target face characteristic based on the face characteristic data so as to obtain the second special effect.
After the target face features are determined, special effect matching can be performed on special effect materials corresponding to the second special effect data and the target face features based on the face feature data, so that the second special effect is obtained.
In summary, in the live broadcast process, the client terminal may receive the virtual gift message sent by the server 10 based on the user presenting the preset virtual gift, acquire the first special effect data and the second special effect data from the configuration information of the virtual gift message, and sequentially display the first special effect corresponding to the first special effect data and the second special effect corresponding to the second special effect data on the interface between live broadcast. Because the first special effect data can be MP4 video special effects with preset playing time, the second special effect data can be AI special effects which are combined with the facial features of the anchor and change along with the facial features of the anchor. After the user gives the preset virtual gift, the MP4 video special effect with preset playing time length can be played on the interface of the living broadcast room. After the first special effect is displayed, if the face characteristic data is received within a preset countdown period, a second special effect obtained by special effect matching based on special effect materials corresponding to the second special effect data and the face characteristic data can be displayed on a live broadcasting room interface after the first special effect is displayed. According to the method and the device, the two special effects are associated through the preset virtual gift, after the user gives out the preset virtual gift, the first special effect and the second special effect can be sequentially displayed on the interface of the living broadcast room, so that the special effects that the user can display the two mixed special effects after giving out one virtual gift are achieved, the display forms of the virtual gift are richer, the enthusiasm of the user giving out the preset virtual gift in the living broadcast room is promoted, and the atmosphere of the living broadcast room is better created.
For example, as shown in fig. 5 and fig. 6, if the user a in the current living room gives the preset virtual gift as the crown gift, the MP4 crown video special effect corresponding to the preset virtual gift may be played in the living room interface for 8s. After playing the MP4 crown video special effect, the AI special effect wearing the crown can be displayed on the face of the anchor.
As shown in fig. 7, the computer device 100 described in the embodiments of the computer device of the present application may also be an electronic device, which may be a client terminal, which may include a anchor terminal 20 or an audience terminal 30. Taking computer device 100 as an example of an electronic device, computer device 100 may include a processor 110, a memory 120, and communication circuitry. The memory 120 and the communication circuit are coupled to the processor 110.
The Memory 120 is used to store a computer program, and may be a RAM (Read-Only Memory), a ROM (random access Memory), random Access Memory, or other type of storage device. In particular, the memory may include one or more computer-readable storage media, which may be non-transitory. The memory may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory is used to store at least one piece of program code.
The processor 110 is used to control the operation of the computer device 100, and the processor 110 may also be referred to as a CPU (Central Processing Unit ). The processor 110 may be an integrated circuit chip with signal processing capabilities. Processor 110 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The general purpose processor may be a microprocessor or the processor 110 may be any conventional processor or the like.
The processor 110 is configured to execute a computer program stored in the memory 120 to implement the method for displaying a virtual gift at a living room described in the embodiment of the method for displaying a virtual gift at a living room of the present application.
In some implementations, the computer device 100 can further include: a peripheral interface 130 and at least one peripheral. The processor 110, the memory 120, and the peripheral interface 130 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 130 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 140, display 150, audio circuitry 160, and power supply 170.
The communication circuitry may include, for example, radio frequency circuitry 140. The Radio Frequency circuit 140 is configured to receive and transmit RF (Radio Frequency) signals, also referred to as electromagnetic signals. The radio frequency circuit 140 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 140 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 140 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 140 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 140 may also include NFC (Near Field Communication ) related circuits, which are not limited in this application. Of course, the communication circuit may not include a radio frequency circuit, and network communication may be realized by a network card circuit, a network interface circuit, or the like, for an electronic terminal such as a PC.
The display 150 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When display 150 is a touch display, display 150 also has the ability to collect touch signals at or above the surface of display 150. The touch signal may be input to the processor 110 as a control signal for processing. At this time, the display 150 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 150 may be one, disposed on the front panel of the computer device 100; in other embodiments, the display 150 may be at least two, respectively disposed on different surfaces of the computer device 100 or in a folded design; in other embodiments, the display 150 may be a flexible display disposed on a curved surface or a folded surface of the computer device 100. Even more, the display 150 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 150 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The audio circuit 160 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 110 for processing, or inputting the electric signals to the radio frequency circuit 140 for voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple, each disposed at a different location of the computer device 100. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 110 or the radio frequency circuit 140 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuit 160 may also include a headphone jack.
The power supply 170 is used to power the various components in the computer device 100. The power source 170 may be alternating current, direct current, disposable or rechargeable. When the power source 170 comprises a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
For detailed descriptions of functions and execution processes of each functional module or component in the embodiment of the computer device of the present application, reference may be made to the descriptions in the embodiment of the display method of the virtual gift in the living room of the present application, which are not described herein.
In several embodiments provided in the present application, it should be understood that the disclosed computer device 100 and method of displaying virtual gifts in a living room may be implemented in other ways. For example, the various embodiments of computer device 100 described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Referring to fig. 8, the above-described integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in the computer-readable storage medium 200. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all or part of the technical solution contributing to the prior art or in the form of a software product stored in a storage medium, including several instructions/computer programs to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: various media such as a USB flash disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and electronic terminals such as a computer, a mobile phone, a notebook computer, a tablet computer, a camera, and the like having the storage media.
The description of the execution process of the program data in the computer readable storage medium may be described with reference to the above embodiment of the display method of the virtual gift in the living room of the present application, which is not repeated herein.
The foregoing description is only exemplary embodiments of the present application and is not intended to limit the scope of the present application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the present application.
Claims (13)
1. The method for displaying the virtual gift in the living broadcasting room is characterized by comprising the following steps of:
the receiving server gives a virtual gift message sent by a preset virtual gift based on a user;
acquiring first special effect data and second special effect data from configuration information of the virtual gift message;
and sequentially displaying a first special effect corresponding to the first special effect data and a second special effect corresponding to the second special effect data on a live broadcasting room interface.
2. The display method according to claim 1, wherein,
the step of sequentially displaying the first special effect corresponding to the first special effect data and the second special effect presented by the second special effect data on the live broadcasting room interface comprises the following steps:
Displaying a first special effect corresponding to the first special effect data on the live broadcasting room interface;
and after the first special effect is displayed, displaying a second special effect corresponding to the second special effect data on the interface of the live broadcasting room.
3. The display method according to claim 2, wherein,
before the interface of the live broadcasting room displays the second special effect corresponding to the second special effect data, the method comprises the following steps:
acquiring user characteristic data required for manufacturing the second special effect in the display process of the first special effect, and manufacturing the second special effect by utilizing the user characteristic data and the second special effect data; the user characteristic data are obtained by extracting characteristics from live video streams of a host.
4. A display method according to claim 3, wherein,
the user characteristic data comprises face characteristic data;
the obtaining the user characteristic data required by making the second special effect, and making the second special effect by using the user characteristic data and the second special effect data comprises the following steps:
identifying face features in the live video stream to obtain face feature data;
and carrying out special effect matching on the special effect material corresponding to the second special effect data and the face characteristic data based on the face characteristic data so as to obtain the second special effect.
5. The display method according to claim 4, wherein:
the performing special effect matching on the special effect material corresponding to the second special effect data and the face feature based on the face feature data to obtain the second special effect includes:
if the face feature data points to a plurality of face features, determining a target face feature closest to the center point of the live broadcasting room interface in the face feature data;
and carrying out special effect matching on the special effect material corresponding to the second special effect data and the target face characteristic based on the face characteristic data so as to obtain the second special effect.
6. A display method according to claim 3, wherein:
after the first special effect corresponding to the first special effect data is displayed on the live broadcasting room interface, the method comprises the following steps:
judging whether the user characteristic data is acquired or not within a preset countdown time after the first special effect is displayed;
if the user characteristic data is acquired, executing the second special effect corresponding to the second special effect data to be displayed on the live broadcasting room interface; the second special effect is manufactured by using the user characteristic data and the second special effect data.
7. The display method according to claim 6, wherein:
after judging whether the user characteristic data is acquired or not within the preset countdown period after the first special effect is displayed, the method further comprises the following steps:
and if the user characteristic data is not acquired, displaying the static special effects of the special effect materials on the live broadcasting room interface based on the special effect materials corresponding to the second special effect data.
8. The display method according to claim 2, wherein,
the first special effect is an MP4 video special effect with preset playing time, and the second special effect is an AI special effect which combines with the feature of the anchor and changes along with the feature of the anchor;
the displaying the first special effect corresponding to the first special effect data on the live broadcasting room interface comprises the following steps:
playing the MP4 video special effect for playing the preset playing time length on the live broadcasting room interface;
after the first special effect is displayed, displaying a second special effect corresponding to the second special effect data on the live broadcasting room interface, including:
and after the preset playing time is over, displaying the AI special effect on the interface of the live broadcasting room.
9. The display method according to claim 1, wherein:
Before the first special effect data and the second special effect data are acquired from the configuration information of the virtual gift message, the method comprises the following steps:
inserting the special effect playing position corresponding to the virtual gift message to the first position of the special effect playing position corresponding to the virtual gift presented by the non-home terminal user in the current gift presentation special effect playing queue;
the obtaining the first special effect data and the second special effect data from the configuration information of the virtual gift message includes:
and acquiring the first special effect data and the second special effect data from the configuration information of the virtual gift message when the current gift gives the special effect playing queue wheel to the special effect playing position corresponding to the virtual gift message.
10. The display method according to claim 9, wherein,
the receiving server gives a virtual gift message sent by a preset virtual gift based on a user, and the receiving server comprises:
receiving a virtual gift message sent by the server;
judging whether the virtual gift corresponding to the virtual gift message is the preset virtual gift or not;
if yes, the special effect playing position corresponding to the virtual gift message is inserted into the head position of the special effect playing position corresponding to the virtual gift presented by the non-home terminal user in the current gift presenting special effect playing queue.
11. The display method according to claim 1, wherein,
before the receiving server gives a virtual gift message sent by a preset virtual gift based on a user, the receiving server comprises:
judging whether the live broadcast system version of the home terminal is lower than a preset version;
if yes, prompt information is displayed on the live broadcasting room interface so as to prompt a user at the local end that the first special effect and the second special effect cannot be completely watched.
12. A computer device comprising a processor, a memory, and a communication circuit; the communication circuit and the memory are coupled to the processor; the memory stores a computer program for executing the computer program to implement the method of displaying a virtual gift in a living room as claimed in any one of claims 1 to 11.
13. A computer-readable storage medium storing a computer program for execution by a processor to implement the method of displaying a virtual gift in a living room as claimed in any one of claims 1-11.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310243763.8A CN116437136A (en) | 2023-03-13 | 2023-03-13 | Display method of virtual gift in living broadcast room, computer equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310243763.8A CN116437136A (en) | 2023-03-13 | 2023-03-13 | Display method of virtual gift in living broadcast room, computer equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116437136A true CN116437136A (en) | 2023-07-14 |
Family
ID=87088098
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310243763.8A Pending CN116437136A (en) | 2023-03-13 | 2023-03-13 | Display method of virtual gift in living broadcast room, computer equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116437136A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119342239A (en) * | 2024-09-23 | 2025-01-21 | 北京达佳互联信息技术有限公司 | Live broadcast processing method, device, electronic device and storage medium |
-
2023
- 2023-03-13 CN CN202310243763.8A patent/CN116437136A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119342239A (en) * | 2024-09-23 | 2025-01-21 | 北京达佳互联信息技术有限公司 | Live broadcast processing method, device, electronic device and storage medium |
| CN119342239B (en) * | 2024-09-23 | 2025-11-21 | 北京达佳互联信息技术有限公司 | Live broadcast processing method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108810576B (en) | Live wheat-connecting method and device and storage medium | |
| CN109286852B (en) | Competition method and device for live broadcast room | |
| CN109982102B (en) | Interface display method and system for live broadcast room, live broadcast server and anchor terminal | |
| CN111918086B (en) | Video connection method, device, terminal, server and readable storage medium | |
| CN111327916B (en) | Live broadcast management method, device and equipment based on geographic object and storage medium | |
| CN109729372B (en) | Live broadcast room switching method, device, terminal, server and storage medium | |
| CN113050847B (en) | Live broadcast interaction method, device, equipment, system and computer readable storage medium | |
| CN111355974A (en) | Method, apparatus, system, device and storage medium for virtual gift giving processing | |
| CN110418152B (en) | Method and device for carrying out live broadcast prompt | |
| CN112118477A (en) | Virtual gift display method, device, equipment and storage medium | |
| CN114125476B (en) | Display processing method of display interface, electronic equipment and storage medium | |
| CN113395566B (en) | Video playing method and device, electronic equipment and computer readable storage medium | |
| CN115065836B (en) | Live broadcast room switching display processing method, server, electronic terminal and storage medium | |
| CN109035180A (en) | Video broadcasting method, device, equipment and storage medium | |
| CN112492339A (en) | Live broadcast method, device, server, terminal and storage medium | |
| CN114302160A (en) | Information display method, information display device, computer equipment and medium | |
| CN113204671A (en) | Resource display method, device, terminal, server, medium and product | |
| CN107896337B (en) | Information popularization method and device and storage medium | |
| CN111382355A (en) | Live broadcast management method, device and equipment based on geographic object and storage medium | |
| CN117915122A (en) | Live interface display method, device, equipment and storage medium | |
| CN109889858B (en) | Information processing method and device for virtual article and computer readable storage medium | |
| CN116437136A (en) | Display method of virtual gift in living broadcast room, computer equipment and storage medium | |
| CN113473170B (en) | Live audio processing method, device, computer equipment and medium | |
| CN118890497B (en) | Live broadcast method, equipment and storage medium | |
| CN115086695B (en) | Display method of live broadcasting room approach gift, electronic terminal and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |