CN113596508A - Virtual gift presenting method, device, medium and computer equipment of live broadcast room - Google Patents
Virtual gift presenting method, device, medium and computer equipment of live broadcast room Download PDFInfo
- Publication number
- CN113596508A CN113596508A CN202110927498.6A CN202110927498A CN113596508A CN 113596508 A CN113596508 A CN 113596508A CN 202110927498 A CN202110927498 A CN 202110927498A CN 113596508 A CN113596508 A CN 113596508A
- Authority
- CN
- China
- Prior art keywords
- virtual gift
- client
- target virtual
- gift
- live broadcast
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000004458 analytical method Methods 0.000 claims abstract description 60
- 238000012790 confirmation Methods 0.000 claims abstract description 43
- 230000004044 response Effects 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 17
- 238000003860 storage Methods 0.000 claims description 14
- 230000000694 effects Effects 0.000 claims description 11
- 230000014509 gene expression Effects 0.000 abstract description 20
- 230000002452 interceptive effect Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 13
- 230000003993 interaction Effects 0.000 description 9
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000012549 training Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000013528 artificial neural network Methods 0.000 description 4
- 230000001413 cellular effect Effects 0.000 description 2
- 238000005304 joining Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 230000003068 static 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L15/16—Speech classification or search using artificial neural networks
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L15/18—Speech classification or search using natural language modelling
- G10L15/1822—Parsing for meaning understanding
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- 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/4784—Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application relates to the field of network live broadcast, and provides a virtual gift giving method, a device, a medium and computer equipment in a live broadcast room, wherein the method comprises the following steps: obtaining chat data sent by audience clients in a live broadcast room; performing semantic analysis on the chatting data to obtain presenting intention data of the audience client; the virtual gift giving method comprises the steps that giving willingness data comprise a willingness value for giving virtual gifts and a giving matching value of each virtual gift; when the intention value is larger than a preset first intention threshold value, determining a target virtual gift to be presented according to the presentation matching value of each virtual gift; the target virtual gift is sent to the anchor client in response to confirmation by the viewer client to present the target virtual gift. According to the embodiment of the application, the target virtual gift can be given according to the chat data of the audience client, so that the chat atmosphere expression is improved, the interactive participation degree of the audience user for giving the virtual gift is promoted, and the organic combination of the chat intention expression of the user and the giving of the virtual gift is realized.
Description
Technical Field
The embodiment of the application relates to the technical field of network live broadcast, in particular to a method, a device, a medium and computer equipment for presenting a virtual gift in a live broadcast room.
Background
With the progress of network communication technology, online entertainment projects which users can participate in are more and more, wherein live webcasting is more and more popular with more and more users due to the characteristics of strong real-time performance and strong interactivity.
In the network live broadcast, various interactions can be performed between audience users and a main broadcast user so as to improve the interactive experience of the audience users and the main broadcast user, specifically, the audience users can interact with the main broadcast user by sending chat contents in a live broadcast room, or the audience users give virtual gifts to the main broadcast user in the live broadcast room for interaction.
In the process of implementing the invention, the inventor finds that: the audience users usually have a demand for presenting the virtual gifts in the chat process with the main broadcast user, and the audience users usually need to present the virtual gifts by triggering the virtual gift presenting control in the live broadcast room in the traditional technology, so that the interactive feedback of the audience users in the live broadcast room is reduced, and the interactive participation degree of the audience users in presenting the virtual gifts is reduced.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a method, a device, a medium and a computer device for presenting a virtual gift in a live broadcast room, which can promote the interactive feedback of audience users in the live broadcast room and promote the interactive participation of the audience users in presenting the virtual gift.
According to a first aspect of an embodiment of the present application, there is provided a virtual gift giving method for a live broadcast room, including the steps of:
obtaining chat data sent by audience clients in a live broadcast room;
performing semantic analysis on the chatting data to obtain presenting intention data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift;
when the intention value is larger than a preset first intention threshold value, determining target virtual gifts to be presented according to presentation matching values of the virtual gifts;
sending the target virtual gift to an anchor client in response to confirmation by the viewer client to present the target virtual gift.
According to a second aspect of embodiments of the present application, there is provided a virtual gift giving apparatus of a live broadcast room, including:
the chat data acquisition module is used for acquiring chat data sent by a viewer client in a live broadcast room;
the presenting intention data acquisition module is used for carrying out semantic analysis on the chatting data to acquire presenting intention data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift;
the target virtual gift determining module is used for determining target virtual gifts to be presented according to presentation matching values of the virtual gifts when the intention value is larger than a preset first intention threshold value;
and the target virtual gift sending module is used for responding to confirmation information of the audience client for presenting the target virtual gift, and sending the target virtual gift to the anchor client.
According to a third aspect of embodiments herein, there is provided a computer device comprising a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and to perform the virtual gift giving method of the live broadcast room as described above.
According to a fourth aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the virtual gift giving method of a live broadcast room as described above.
The embodiment of the application acquires chat data sent by audience clients in a live broadcast room; performing semantic analysis on the chatting data to obtain presenting intention data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift; when the intention value is larger than a preset first intention threshold value, determining target virtual gifts to be presented according to presentation matching values of the virtual gifts; and responding to the confirmation information of the audience client for presenting the target virtual gift, sending the target virtual gift to the anchor client, and further presenting the target virtual gift according to the chat data of the audience client, so that the chat atmosphere expression is improved, the interactive participation degree of presenting the virtual gift by the audience user is promoted, and the organic combination of the chat intention expression of the user and the presentation of the virtual gift is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic block diagram of an application environment of a virtual gift giving method of a live broadcast room according to an embodiment of the present application;
fig. 2 is a flowchart of a virtual gift giving method of a live broadcast room according to a first embodiment of the present application;
fig. 3 is a schematic diagram of a live broadcast room interface provided in an embodiment of the present application;
FIG. 4 is a flowchart of a method for obtaining complimentary data according to an embodiment of the present application;
FIG. 5 is a flowchart of a method for determining a target virtual gift to be gifted according to an embodiment of the present application;
fig. 6 is a flowchart of a method for sending a target virtual gift according to an embodiment of the present application;
FIG. 7 is a diagram illustrating the display effect of complimentary information provided by one embodiment of the present application;
FIG. 8 is a diagram illustrating the display effect of complimentary information provided in accordance with another embodiment of the present application;
fig. 9 is a flowchart illustrating a method for displaying a special effect of a virtual gift according to an embodiment of the present application;
FIG. 10 is a schematic block diagram of a virtual gift-giving device of a live broadcast room provided in a second embodiment of the present application;
fig. 11 is a block diagram schematically illustrating a structure of a computer device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination".
Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
As will be appreciated by those skilled in the art, the terms "client," "terminal device," and "terminal device" as used herein include both wireless signal transmitter devices, which include only wireless signal transmitter devices capable of transmitting, and wireless signal receiver devices, which include only wireless signal receiver devices capable of receiving, and also include receiving and transmitting hardware devices having receiving and transmitting hardware capable of two-way communication over a two-way communication link. Such a device may include: cellular or other communication devices such as personal computers, tablets, etc. having single or multi-line displays or cellular or other communication devices without multi-line displays; PCS (personal communications Service), which may combine voice, data processing, facsimile and/or data communications capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global positioning system) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "client," "terminal device" can be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "client", "terminal Device" used herein may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, and the like.
The hardware referred to by the names "server", "client", "service node", etc. is essentially a computer device with the performance of a personal computer, and is a hardware device having necessary components disclosed by the von neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, etc., wherein a computer program is stored in the memory, and the central processing unit loads a program stored in an external memory into the internal memory to run, executes instructions in the program, and interacts with the input and output devices, thereby accomplishing specific functions.
It should be noted that the concept of "server" as referred to in this application can be extended to the case of a server cluster. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided, and in physical space, the servers may be independent from each other but can be called through an interface, or may be integrated into one physical computer or a set of computer clusters. Those skilled in the art will appreciate this variation and should not be so limited as to restrict the implementation of the network deployment of the present application.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a virtual gift giving method of a live broadcast room according to an embodiment of the present application, where the application scenario includes an anchor client 110, a viewer client 120, and a server 130.
The anchor client 110 interacts with the viewer client 120 through the server 130. Specifically, the anchor client 110 and the viewer client 120 may both access the internet through a network access manner, and establish a data communication link with the server 130. The network may be any connection type of communication medium capable of providing a communication link between the anchor client 110 and the viewer client 120, such as a wired communication link, a wireless communication link, or a fiber optic cable, and the like, which is not limited herein.
The anchor client 110 is a terminal that sends a webcast video, and is generally a client used by an anchor user in webcast. The hardware at which the anchor client 110 is directed is essentially a computer device, and in particular, as shown in fig. 1, it may be a type of computer device such as a smart phone, smart interactive tablet, and personal computer.
The spectator client 120 is a client that receives and watches live video, and is typically a client used by a spectator user watching the video in the live video. The hardware at which the viewer client 120 is pointed is essentially a computer device, and in particular, as shown in fig. 1, it may be a type of computer device such as a smart phone, smart interactive tablet, and personal computer.
It should be noted that the viewer client 120 and the anchor client 110 are only functionally divided, and in practical applications, the functions of the viewer client 120 and the anchor client 110 may be performed by the same client at different times. Thus, the same client may act as the viewer client 120 when viewing a live network broadcast, and may act as the anchor client 110 when publishing a live video.
The server 130 may be a business server, and may be responsible for further connecting related audio data servers, video streaming servers, and other servers providing related support, etc. to form a logically associated server cluster for providing services to related terminal devices, such as the anchor client 110 and the viewer client 120 shown in fig. 1.
In this embodiment, the anchor client 110 and the audience client 120 may join in the same live broadcast room (i.e., a live broadcast channel), where the live broadcast room is a chat room implemented by the server 130 and relying on internet technology, and generally has an audio/video broadcast control function. A main broadcast user is live in a live room through the main broadcast client 110, and a viewer user of the viewer client 120 can log in the server 130 to enter the live room to watch the live broadcast.
In the live broadcast room, interaction between the anchor user and audience users can be realized through known online interaction modes such as voice, video, text and the like, generally, the anchor user performs programs for the audience users in the form of audio and video streams, meanwhile, the audience users can interact with the anchor user in the form of text or virtual gifts, economic transaction behaviors can also be generated in the interaction process, and the application form of the live broadcast room is not limited to online entertainment and can also be popularized to other related scenes.
Specifically, the viewer-user watching the live broadcast process is as follows: the viewer user may click to access a live application installed on the viewer client 120 and choose to enter any one of the live rooms, triggering the viewer client 120 to load a live room interface for the viewer user, the live room interface including a number of interactive components, for example: the video component, the virtual gift bar component, the public screen component and the like can enable audience users to watch live broadcast in a live broadcast room by loading the interactive components, and perform various online interactions, wherein the online interaction modes comprise but are not limited to presenting virtual gifts, participating in live broadcast activities, talking on public screen speech and the like. Wherein, in a public screen speaking chat,
it should be noted that the application scenario in fig. 1 is only an exemplary application scenario and is not used to limit the solution of the present invention. The scheme of the invention can also be applied to other forms of live webcast application scenes, and the description is omitted.
In the above online interaction manner, because the audience users usually have a requirement for presenting the virtual gift in the chat process with the anchor user, the audience users usually present the virtual gift by triggering the virtual gift presenting control in the live broadcast room at the audience client 120 in the conventional technology, which reduces the interactive feedback of the audience users in the live broadcast room and reduces the interactive participation of the audience users in presenting the virtual gift.
Based on the above problem, the embodiment of the application provides a virtual gift giving method for a live broadcast room.
Please refer to fig. 2, which is a flowchart illustrating a method for presenting a virtual gift between live broadcasts according to a first embodiment of the present application. A virtual gift giving method of a live broadcast room provided in a first embodiment of the present application is executed by a server as an execution subject, and specifically, the method includes the following steps:
step S101: and obtaining chatting data sent by a viewer client in a live broadcast room.
The chat data sent by the audience client in the live broadcast room can be chat data sent by the audience client on a public screen, or chat data of private chat between the audience client and a host user, or other chat data. The public screen refers to a public screen, the public screen of the live broadcast room is equivalent to a group chat window in the live broadcast room, both a main broadcast user and an audience user of the live broadcast room can make a speech on the public screen of the live broadcast room, and the public screen chat data of each live broadcast room comprises the speech made by the main broadcast user or the audience user, chat data between the main broadcast user and the audience user, or chat data between the audience user and the audience user.
Please refer to fig. 3, which is a schematic diagram of a live broadcast interface according to an embodiment of the present application. The live room interface is a graphical user interface in which a video component 301, a public screen component 302, a message component 303, a virtual gift component 304, an activity component 305, etc. are displayed. The chat data in the embodiment of the present application is the chat data sent to the public screen component 302.
It should be noted that the display style and layout position of each component in the live broadcast interface shown in fig. 3 are only an example, and have no special limitation, and due to differences of the anchor client operating system, the software version, and the channel template, the type, style, layout position, and the like of the components displayed in the live broadcast interface may be changed.
In the embodiment of the application, the chat data sent by the audience users in the live broadcast room on the public screen through the audience client is obtained, specifically, each piece of chat data sent by each audience user in the live broadcast room on the public screen through the respective audience client is obtained, that is, the chat data sent by each audience client in the live broadcast room is respectively obtained, so that the semantic analysis is performed on the chat data sent by each audience client, and the presentation intention data is determined according to the chat data sent by the audience users. As shown in fig. 3, the chat data transmitted by the audience user a may be acquired, and the willingness-to-give data may be determined for the chat data transmitted by the audience user a.
It can be understood that, when the chat data sent by the audience client in the live broadcast room is obtained, the live broadcast room identifier and the audience client identifier can also be obtained to determine which live broadcast room and which audience client are, so as to determine which audience client presents the virtual gift to the anchor client corresponding to the live broadcast room subsequently.
Step S102: performing semantic analysis on the chatting data to obtain presenting intention data of the audience client; wherein the willingness-to-present data includes a willingness value for presenting the virtual gift and a presentation matching value for each virtual gift.
In an alternative embodiment, each time the audience client sends a piece of chat data, the server obtains the chat data to perform semantic analysis so as to determine the intention of the audience user in real time.
In another alternative embodiment, when the chat data sent by the audience client reaches a preset number threshold, the server obtains the chat data for semantic analysis, so as to reduce the data processing load of the server. The preset number threshold may be set according to an actual situation, and the application is not limited thereto, for example, after the audience client sends 3 pieces of chat data, the server obtains the chat data to perform voice analysis.
In another alternative embodiment, considering that the time interval for sending the chat data of the adjacent bar by the audience client is relatively long, which may result in failure to effectively determine the intention of the audience user, for this reason, when the time duration of the chat data sent by the audience client reaches a preset time threshold, the server obtains the chat data for semantic analysis. The preset time threshold may be set according to an actual situation, and the application is not limited thereto, for example, after the chatting data sent by the audience client reaches 5 minutes, the server obtains the chatting data to perform voice analysis.
The intention value of giving the virtual gift represents the strength of the intention of giving the virtual gift, specifically, the intention value of giving the virtual gift may be a specific score, the magnitude of the score represents the strength of the intention of giving the virtual gift, the larger the score, the stronger the strength of the intention of giving the virtual gift, the smaller the score, the weaker the strength of the intention of giving the virtual gift. If the value of 1 to 10 is used to indicate that the strength of the intention of giving the virtual gift is from weak to strong, if the value of the intention of giving the virtual gift is 1, the result indicates that the audience user does not want to give the virtual gift well, and if the value of the intention of giving the virtual gift is 9, the result indicates that the audience user strongly wants to give the virtual gift.
The presentation matching value of each virtual gift indicates the strength of will to present each virtual gift, specifically, the presentation matching value of each virtual gift may also be a specific score, the size of the score indicates the strength of will to present each virtual gift, the larger the score, the stronger the strength of will to present the virtual gift, and the smaller the score, the weaker the strength of will to present the virtual gift. Specifically, for example, the value of 1 to 10 is used to indicate that the strength of the intention of giving the love virtual gift is from weak to strong, and if the matching value of the love virtual gift is 1, it indicates that the audience user does not want to give the love virtual gift; the matching value for the gifted love virtual gift is 9, indicating that the user is likely to want to gift a love virtual gift.
It can be understood that the above mentioned opportunity for obtaining the chat data to perform semantic analysis can be set at the server, so as to uniformly analyze and adjust the chat data of each audience client in the live broadcast room according to the actual requirement. Of course, the setting can be performed at other terminals, for example, at the anchor client or at the respective viewer clients, according to actual needs.
In an alternative embodiment, the server may perform semantic analysis on the chat data based on a preset semantic analysis algorithm.
The semantic analysis algorithm can be preset in the server, and the server directly calls the semantic analysis algorithm to perform semantic analysis on the chat data after receiving the chat data. Or, the semantic analysis algorithm may be preset in a semantic analysis server for establishing communication connection with the server, and after receiving the chat data, the server sends the chat data to the semantic analysis server and receives an analysis result returned by the semantic analysis server, so as to reduce the calculation load of the server. The semantic analysis server and the server can form a logically related service cluster, so that the semantic analysis server performs semantic analysis and other operations, performs semantic analysis support on the server, and reduces the load of the server.
It should be noted that the semantic analysis algorithm may be any existing semantic analysis algorithm, and the semantic analysis algorithm is not limited in detail herein.
In another alternative embodiment, the server may also input the chat data into the trained semantic analysis model, and perform semantic analysis on the chat data through the trained semantic analysis model.
In the embodiment of the application, a plurality of sentence pattern expressions and corresponding presenting intention data are set in the trained semantic analysis model, and then when the input chatting data meets one of the set sentence pattern expressions, the presenting intention data corresponding to the sentence pattern expression is output. For example: the sentence pattern expression may include: a wants to send B gift; c the gift is beautiful; a desire to send a D gift expression a liking of a anchor, etc. The sentence pattern expression A wants to send the gift B, the corresponding willingness value for presenting the virtual gift is set to be 9, and the presentation matching value of the virtual gift B is set to be 9; the sentence pattern expression C presents is beautiful, the corresponding willingness value for presenting the virtual present is set to be 6, and the presentation matching value of the C virtual present is set to be 7; the sentence pattern expression shows the favorite of the D gift expression to the anchor, the corresponding intention value of presenting the virtual gift is set to be 9, and the presentation matching value of the D virtual gift is set to be 8. When the chat data of the audience users comprises the love gifts which the audience users want to send, after the chat data is input into the trained semantic analysis model, the chat data and the sentence pattern expression are matched to the sentence pattern expression A to send the gift B, and at the moment, the present intention data with the intention value of presenting the virtual gifts of 9 and the present matching value of the love virtual gifts of 9 can be output. When the semantic analysis model is trained, some sentence pattern expressions and corresponding presenting intention data can be preset, then chat data is input, and more sentence pattern expressions are manually added or adjusted or corresponding presenting intention data is adjusted according to the training result until the expected semantic analysis model is obtained. It can be understood that the presentation intention data corresponding to all chat data can be obtained by setting enough sentence expressions and corresponding presentation intention data in the trained semantic analysis model.
Optionally, the trained semantic analysis model may also be an analysis model based on a neural network, and specifically, the analysis model may be obtained by inputting a chat data sample, which is labeled with whether to represent that there is a willingness data, to the neural network for training, for example, for the chat data sample, whether the semantic content wants to give a gift, whether the semantic content likes to a certain gift, whether the semantic content wants to express the mood at that moment through a certain gift, whether the semantic content wants to express the emotion to the anchor through a certain gift, and the like, all labeling the corresponding willingness data, then using the chat data sample as input, using the corresponding willingness data as output, training the neural network to obtain the semantic analysis model, and the specific neural network application is not limited.
The training process of the semantic analysis model can be carried out in the server, can be carried out in other training equipment, and if the training process is carried out in the training equipment, the trained semantic analysis model parameters can be transplanted into the server after the training is finished.
It should be noted that, in the semantic analysis algorithm or the semantic analysis model, a virtual gift list may also be preset, where the list is provided with names, categories, attributes, and the like corresponding to a plurality of virtual gifts, so as to calculate a matching value of each virtual gift according to the virtual gift list and the chat data. Step S103: and when the intention value is larger than a preset first intention threshold value, determining the target virtual gifts to be presented according to the presentation matching values of the virtual gifts.
The first will threshold may be set according to actual needs, and the present application is not limited thereto. It can be understood that when the willingness value is not greater than the preset first willingness threshold, the chat data of the audience client is continuously acquired for semantic analysis.
Step S104: sending the target virtual gift to an anchor client in response to confirmation by the viewer client to present the target virtual gift.
Considering that the intention of presenting the target virtual gift determined according to the chat data may come in and go out with the actual intention of the audience user corresponding to the audience client, and considering that the resource of the audience user at the audience client may need to be consumed when presenting the virtual gift, before sending the target virtual gift to the anchor client, whether the confirmation information of the audience client for presenting the target virtual gift is received needs to be confirmed, and the target virtual gift is sent only when the confirmation information is received, otherwise, the target virtual gift is not sent.
When the target virtual gift is sent to the anchor client, the server can add the display special effect corresponding to the target virtual gift into the pushed video stream and push the pushed video stream to the anchor client for display; the server may also send a gift sending instruction corresponding to the target virtual gift to the anchor client, and the anchor client displays a special effect corresponding to the target virtual gift after receiving and analyzing the gift sending instruction.
The embodiment of the application acquires chat data sent by audience clients in a live broadcast room; performing semantic analysis on the chatting data to obtain presenting intention data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift; when the intention value is larger than a preset first intention threshold value, determining target virtual gifts to be presented according to presentation matching values of the virtual gifts; and responding to the confirmation information of the audience client for presenting the target virtual gift, sending the target virtual gift to the anchor client, and further presenting the target virtual gift according to the chat data of the audience client, so that the chat atmosphere expression is improved, the interactive participation degree of presenting the virtual gift by the audience user is promoted, and the organic combination of the chat intention expression of the user and the presentation of the virtual gift is realized.
Referring to fig. 4, in an alternative embodiment, the step of acquiring chat data sent by the viewer client in the live broadcast room in step S101 includes:
step S1011: obtaining chat data currently sent by a spectator client in a live broadcast room;
step S1012: and splicing the currently sent chatting data with a preset number of chatting data sent by the audience client to obtain chatting data to be analyzed.
The currently sent chatting data contains a small amount of content, so that the currently sent chatting data cannot express the intention of the audience users accurately, and therefore the currently sent chatting data is spliced with the preset amount of chatting data sent by the audience client side before, and the preset amount of chatting data sent by the audience client side before is used as the context of the currently sent chatting data, so that the accuracy of semantic analysis is improved. The preset number can be set according to actual needs, and the application is not limited.
The step of performing semantic analysis on the chat data to obtain the presentation intention data of the audience client in step S102 includes: and inputting the chatting data to be analyzed into a semantic analysis model for semantic analysis to obtain the presenting intention data of the audience client. According to the embodiment of the application, the chat data sent at present and the chat data of the preset number sent by the audience client are spliced, the obtained chat data to be analyzed are input to a semantic analysis model for semantic analysis, the presentation intention data of the audience client are obtained, and therefore the accuracy of the semantic analysis is improved.
Referring to fig. 5, in an alternative embodiment, the step of determining the target virtual gifts to be gifted according to the gifting matching values of the virtual gifts in step S103 includes:
step S1031: comparing the presentation matching value of each virtual gift with a preset matching threshold value.
Step S1032: and if the presenting matching value is larger than the matching threshold value, determining the target virtual gift to be presented from the virtual gifts with the presenting matching value larger than the matching threshold value.
The target virtual gift to be presented is determined according to the presentation matching value, and the intention of the audience user corresponding to the audience client side is matched fully according to the chat data.
On the basis of the foregoing embodiment, the step of determining a target virtual gift to be gifted from the virtual gifts whose gifting matching values are greater than the matching threshold in step S1032 includes:
and in the virtual gifts with the presentation matching values larger than the matching threshold, sorting the presentation matching values from large to small, and determining the virtual gifts corresponding to the presentation matching values before a preset number as target virtual gifts to be presented according to a sorting result.
The preset number can be set according to actual needs, and the application is not limited. Optionally, the preset number may be set uniformly in the server, or may be set in the viewer client. Because the presenting of the virtual gift needs to consume the resource of the audience user at the audience client, the preset number is generally smaller, for example, 2 or 3, that is, the virtual gift corresponding to the presenting matching value of the first two or the first three is determined as the target virtual gift to be presented.
According to the embodiment of the application, the virtual gift with the larger presentation matching value is determined as the target virtual gift to be presented, so that the phenomenon that too many target virtual gifts are presented, too many resources of audience users at audience client sides are consumed, and the experience of the audience users is influenced is avoided.
In another alternative embodiment, the step of determining the target virtual gifts to be gifted according to the gifting matching values of the virtual gifts in step 103 includes:
step S1033: and if the presenting matching values are not larger than the matching threshold value, obtaining a default virtual gift, and determining the default virtual gift as a target virtual gift to be presented.
The default virtual gift can be a virtual gift commonly used in live broadcasting, or a virtual gift commonly used in a live broadcasting room by an audience user, or a virtual gift set by the audience user by himself, or a virtual gift set by a main broadcasting user of a main broadcasting client, or a virtual gift constantly received by the main broadcasting user of the main broadcasting client, or even a virtual gift popularized in the live broadcasting room operation, or a virtual gift pushed in the live broadcasting room operation according to festivals, for example, when the current festivals are skies, virtual gifts such as rice dumplings are pushed. That is, the default virtual gift of the present application can be set according to actual needs, and the present application is not limited.
According to the application, when the presenting matching values are not larger than the matching threshold values, the default virtual gift is determined as the target virtual gift to be presented, and further the interactive participation degree of presenting the virtual gift by the audience user can be further promoted.
Referring to fig. 6, in an alternative embodiment, the step of sending the target virtual gift to the anchor client in response to the confirmation information of the target virtual gift gifted by the viewer client in step S104 includes:
step S10411: and pushing the identification information of the target virtual gift to the audience client so that the audience client displays the presentation information of the target virtual gift according to the identification information of the target virtual gift.
Step S10412: and sending the target virtual gift to an anchor client in response to confirmation information sent by the audience client to gift the target virtual gift.
The method and the device for presenting the target virtual gift in the broadcasting television comprise the steps that identification information of the target virtual gift is pushed to the audience client, so that presentation information of the target virtual gift is displayed on the audience client, and the target virtual gift is sent to a main broadcasting client after the presentation operation of the audience client responding to the confirmation of the presentation information is received, and therefore the intention of presenting the virtual gift of an audience user is fully considered.
In the step S10411, the step of pushing the identification information of the target virtual gift to the viewer client so that the viewer client displays the presentation information of the target virtual gift according to the identification information of the target virtual gift includes:
pushing the identification information of the target virtual gift to the audience client so as to pop up a pop-up window at the audience client to display the presentation information of the target virtual gift; the presenting information comprises an identification for displaying the target virtual gifts to be presented, the number of the presented target virtual gifts and a confirmation component for confirming whether the target virtual gifts are presented or not, and in response to the confirmation presenting operation of the confirmation submitting control, the confirmation information for presenting the target virtual gifts is determined according to the identification of the target virtual gifts and the number of the presented target virtual gifts and is sent to the server.
The confirmation information for determining to present the target virtual gift may include an identifier of the target virtual gift, a number of the presented target virtual gifts, and information such as a live broadcast room identifier.
As shown in fig. 7, after the viewer client receives the identification information of the target virtual gift pushed by the server, the pop-up popup window 307 displays the gifting information according to the identification information of the target virtual gift to prompt the user whether to gift the target virtual gift.
As shown in fig. 8, the identification of the target virtual gift may optionally be the target virtual gift name or icon. Further alternatively, since there may be a plurality of target virtual gifts, a corresponding virtual gift confirmation gifting control 3071 may be provided at a side of the identification of the target virtual gift to further select one or more target virtual gifts to be gifted through the virtual gift confirmation gifting control 3071. Optionally, a virtual gift selection control 3072 may be set on the other side of the identifier of the target virtual gift, and a virtual gift list may be provided by clicking the virtual gift selection control 3072, so that the user may change the presented target virtual gift; optionally, the user-entered virtual gift id may also be received by clicking on the virtual gift selection control 3072 to modify the presented target virtual gift.
As shown in fig. 8, a number selection control 3073 may be provided at a side of gifting the number of target virtual gifts, and by clicking the number selection control 3073, a number list may be provided for the user to change the number of the gifted target virtual gifts, for the user to change the number of the gifted target virtual gifts; alternatively, the virtual gift-presentation amount input by the user may be received by clicking the amount selection control 3073 to change the amount of the presentation-target virtual gift.
As shown in fig. 8, the gifting confirmation component may include a control for confirming gifting, a control for not gifting at the moment, and the like, so that the user can quickly confirm whether the virtual gift is gifted.
It should be noted that the display style and the layout position of each control in the bonus information shown in fig. 8 are only an example and do not have a special limiting function. It is understood that the gifting information includes an identifier for displaying the target virtual gifts to be gifted, the number of gifted target virtual gifts, and a confirmation component for whether to gift, and in addition, other controls may be added according to actual needs, and the like, and the application is not limited.
It can be understood that, after the audience user confirms the identification of the target virtual gift to be presented and the number of presented target virtual gifts without errors, the audience client may click the confirmation submission control, and in response to the confirmation presentation operation of the confirmation submission control, determine presentation confirmation information for the target virtual gift according to the identification of the target virtual gift and the number of presented target virtual gifts, and send the presentation confirmation information to the server.
According to the method and the system for presenting the target virtual gifts, the identification of the target virtual gifts to be presented and the presentation information of the number of the presented target virtual gifts are displayed at the audience client, and the confirmation information of the presentation information of the target virtual gifts is sent to the server after the confirmation presentation operation of the audience client on the presentation information of the target virtual gifts is received, so that the audience user can present the target virtual gifts of the target number to the anchor user according to actual wishes, and the user experience of the audience user is improved.
In another alternative embodiment, the step of sending the target virtual gift to a anchor client in response to the confirmation information of the target virtual gift gifted by the viewer client in step S104 includes:
step S1042: responding to confirmation information of starting an automatic gift sending function of the audience client, and sending the target virtual gift to a main broadcasting client when the intention value is larger than a preset second intention threshold value; wherein the second intent threshold is greater than the first intent threshold.
Optionally, as shown in fig. 3 and 7, an automatic gift-sending functional component 306 may be further disposed on the live broadcast interface where the audience client is located, and the audience user may send confirmation information of the automatic gift-sending function to the server through opening the automatic gift-sending functional component 306, and after the server receives the confirmation information that the audience client opens the automatic gift-sending function, and when the intention value is greater than a preset second intention threshold value, the target virtual gift is directly sent to the anchor client, so that resource consumption of the audience user at the audience client for giving the virtual gift is reduced as much as possible, and meanwhile, an intelligent effect of giving the virtual gift is also improved.
Optionally, the position of the automatic gift-offering function component 306 may be set according to actual needs of the product, for example, the automatic gift-offering function component 306 may also be set in a setting interface corresponding to a live application program where the audience client is located, and the user may open or close the automatic gift-offering function component 306 after entering the setting interface.
It should be noted that, after the automatic gift-presenting function is started, the virtual gift is presented without the confirmation of the audience user, so the second intention threshold should be greater than the first intention threshold, that is, the second intention threshold should be as large as possible, so that when the presentation intention value of the audience user is high, the virtual gift is automatically presented, and the virtual gift is not presented even when the presentation intention value is not high, which consumes too many resources of the audience user and reduces the experience of the audience user. Optionally, the second intention threshold may be set uniformly at the server, or may be set by the viewer user at the viewer client.
Referring to fig. 9, in an alternative embodiment, the step of sending the target virtual gift to the anchor client in step 104 includes:
step 10431: and transferring the target virtual gift to an anchor user corresponding to the anchor client.
Step 10432: and sending a display instruction of the target virtual gift to the anchor client and all audience clients which have joined the live broadcast room, so that the anchor client and all audience clients which have joined the live broadcast room display the special effect of the target virtual gift according to the display instruction of the target virtual gift.
According to the method and the device for displaying the target virtual gift, the display instruction of the target virtual gift is sent to the anchor client and all the audience clients joining the live broadcast room, so that the anchor client and all the audience clients joining the live broadcast room display the special effect of the target virtual gift according to the display instruction of the target virtual gift, and therefore the audience users are further promoted to participate in the interaction of presenting the target virtual gift.
In an optional embodiment, before obtaining the chat data sent by the viewer client in the live broadcast room in step 101, the method further includes:
judging whether the audience client opens a chat gift presentation control on a live broadcast setting interface; the chat gift presentation control is used for indicating the server to determine to present the virtual gift according to the chat data sent by the audience client; and if the chat gift giving control is opened, obtaining the chat data sent by the audience client in the live broadcast room.
Specifically, a chat gift presentation control may be set on a setting interface corresponding to a live application program where the audience client is located, and a user can open or close the control of the gift presentation control after entering the setting interface, so as to determine whether to use the virtual gift presentation method of the embodiment of the application to present a virtual gift, thereby being compatible with a trouble caused by some audience users who do not like to trigger the virtual gift presentation method in chat.
Optionally, the setting position of the chat gift giving control can be set according to the actual needs of the product, for example, the chat gift giving control can also be set in the live broadcast interface, and the audience user can conveniently open or close the function in the live broadcast interface,
please refer to fig. 10, which is a schematic structural diagram of a virtual gift-giving device of a live broadcast room according to a second embodiment of the present application.
The apparatus 200 comprises:
a chat data obtaining module 201, configured to obtain chat data sent by a viewer client in a live broadcast room;
a willingness-to-present data acquisition module 202, configured to perform semantic analysis on the chat data to obtain willingness-to-present data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift;
the target virtual gift determining module 203 is configured to determine a target virtual gift to be presented according to the presentation matching value of each virtual gift when the intention value is greater than a preset first intention threshold;
a target virtual gift sending module 204, configured to send the target virtual gift to a host client in response to confirmation information of the viewer client to present the target virtual gift.
It should be noted that, when the virtual gift giving device of the live broadcast room according to the second embodiment of the present application executes the virtual gift giving method of the live broadcast room in the live broadcast, only the division of the functional modules is described as an example, in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the virtual gift giving device of the live broadcast room according to the second embodiment of the present application and the virtual gift giving method of the live broadcast room according to the first embodiment of the present application belong to the same concept, and details of the implementation process are referred to as method embodiments, and are not described herein again.
The embodiment of the virtual gift giving apparatus in the live broadcast room according to the second embodiment of the present application may be applied to a computer device, for example, a server, and the embodiment of the apparatus may be implemented by software, or may be implemented by hardware, or a combination of hardware and software. The software implementation is taken as an example, and as a logical device, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor in which the file processing is located. From a hardware perspective, the computer device may include a processor, a network interface, a memory, and a non-volatile memory, which are connected to each other via a data bus or in other known manners.
Referring to fig. 11, which is a hardware structure diagram of a computer device 300 according to a third embodiment of the present invention, the computer device 300 includes a processor 310, a network interface 320, a memory 330 and a non-volatile memory 340, which are connected to each other through a data bus or other known means. In addition to the processor 310, the network interface 320, the memory 330 and the nonvolatile memory 340 shown in fig. 11, the actual functions of the computer device described in this application may also include other hardware, which is not described in detail herein.
The memory 330 or the nonvolatile memory 340 is run with a computer program, such as: a virtual gift presentation method of a live broadcast room; the processor 310, when executing the computer program, implements the steps of the first embodiment described above. Wherein the computer device is also configured to act as a carrier for the virtual gift-giving device of the second embodiment live broadcast room.
The processor 310 may include one or more processing cores, among others. The processor 310 is connected to various parts of the computer device 300 by various interfaces and lines, and executes instructions, programs, code sets or instruction sets stored in the memory 340 and/or the memory 330, and calls data in the nonvolatile memory 340 and/or the memory 330 to perform various functions of the computer device 300 and process the data, and optionally, the processor 310 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable Logic Array (PLA). The processor 310 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing contents required to be displayed by the touch display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 310, but may be implemented by a single chip.
The non-volatile Memory 340 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the non-volatile memory 340 may be used to store instructions, programs, code sets, or instruction sets. The non-volatile memory 340 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments.
The fourth embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps of the first embodiment, and a specific execution process may refer to specific descriptions of the first embodiment, which are not described herein again. The device where the storage medium is located can be an electronic device such as a personal computer, a notebook computer, a smart phone and a tablet computer.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (13)
1. A virtual gift giving method of a live broadcast room is characterized by comprising the following steps:
obtaining chat data sent by audience clients in a live broadcast room;
performing semantic analysis on the chatting data to obtain presenting intention data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift;
when the intention value is larger than a preset first intention threshold value, determining target virtual gifts to be presented according to presentation matching values of the virtual gifts;
sending the target virtual gift to an anchor client in response to confirmation by the viewer client to present the target virtual gift.
2. The virtual gift giving method of a live broadcast room of claim 1, wherein:
the step of obtaining the chat data sent by the audience client in the live broadcast room comprises the following steps:
obtaining chat data currently sent by a spectator client in a live broadcast room;
splicing the currently sent chatting data with a preset number of chatting data sent by the audience client to obtain chatting data to be analyzed;
the step of performing semantic analysis on the chat data to obtain the presentation intention data of the audience client comprises the following steps:
and inputting the chatting data to be analyzed into a semantic analysis model for semantic analysis to obtain the presenting intention data of the audience client.
3. The virtual gift giving method of a live broadcast room of claim 1, wherein:
the step of determining the target virtual gifts to be presented according to the presentation matching values of the virtual gifts includes:
comparing the presentation matching value of each virtual gift with a preset matching threshold value;
and if the presenting matching value is larger than the matching threshold value, determining the target virtual gift to be presented from the virtual gifts with the presenting matching value larger than the matching threshold value.
4. The virtual gift giving method of a live broadcast room of claim 3, wherein:
the step of determining a target virtual gift to be presented from the virtual gifts whose presentation matching values are greater than the matching threshold value includes:
and in the virtual gifts with the presentation matching values larger than the matching threshold, sorting the presentation matching values from large to small, and determining the virtual gifts corresponding to the presentation matching values before a preset number as target virtual gifts to be presented according to a sorting result.
5. The live broadcast room virtual gift giving method of claim 3,
the step of determining the target virtual gifts to be presented according to the presentation matching values of the virtual gifts includes:
and if the presenting matching values are not larger than the matching threshold value, obtaining a default virtual gift, and determining the default virtual gift as a target virtual gift to be presented.
6. The virtual gift giving method of a live broadcast room of claim 1, wherein:
the step of sending the target virtual gift to an anchor client in response to confirmation by the viewer client to present the target virtual gift includes:
pushing the identification information of the target virtual gift to the audience client so that the audience client displays the presentation information of the target virtual gift according to the identification information of the target virtual gift;
and sending the target virtual gift to an anchor client in response to confirmation information sent by the audience client to gift the target virtual gift.
7. The virtual gift giving method of a live broadcast room of claim 6, wherein:
the step of pushing the identification information of the target virtual gift to the spectator client so that the spectator client displays the presentation information of the target virtual gift according to the identification information of the target virtual gift comprises the following steps:
pushing the identification information of the target virtual gift to the audience client so as to pop up a pop-up window at the audience client to display the presentation information of the target virtual gift; the presenting information comprises an identification for displaying the target virtual gifts to be presented, the number of the presented target virtual gifts and a confirmation component for confirming whether the target virtual gifts are presented or not, and in response to the confirmation presenting operation of the confirmation submitting control, the confirmation information for presenting the target virtual gifts is determined according to the identification of the target virtual gifts and the number of the presented target virtual gifts and is sent to the server.
8. The virtual gift giving method of a live broadcast room of claim 1, wherein:
the step of sending the target virtual gift to an anchor client in response to confirmation by the viewer client to present the target virtual gift includes:
responding to confirmation information of starting an automatic gift sending function of the audience client, and sending the target virtual gift to a main broadcasting client when the intention value is larger than a preset second intention threshold value; wherein the second intent threshold is greater than the first intent threshold.
9. The virtual gift giving method of a live broadcast room of claim 1, wherein:
before obtaining the chat data sent by the audience client in the live broadcast room, the method further comprises the following steps:
judging whether the audience client opens a chat gift presentation control on a live broadcast setting interface; the chat gift presentation control is used for indicating the server to determine to present the virtual gift according to the chat data sent by the audience client;
if the chat gift presentation control is opened, obtaining chat data sent by a client of the audience in the live broadcast room; otherwise, the chatting data sent by the audience client in the live broadcast room is not acquired.
10. The virtual gift giving method of a live broadcast room of any one of claims 1 to 9, wherein:
the step of sending the target virtual gift to an anchor client includes:
transferring the target virtual gift to an anchor user corresponding to the anchor client;
and sending a display instruction of the target virtual gift to the anchor client and all audience clients which have joined the live broadcast room, so that the anchor client and all audience clients which have joined the live broadcast room display the special effect of the target virtual gift according to the display instruction of the target virtual gift.
11. A virtual gift giving device of a live broadcast room, comprising:
the chat data acquisition module is used for acquiring chat data sent by a viewer client in a live broadcast room;
the presenting intention data acquisition module is used for carrying out semantic analysis on the chatting data to acquire presenting intention data of the audience client; the system comprises a virtual gift server, a virtual gift server and a client, wherein the giving intention data comprises an intention value of giving the virtual gift and a giving matching value of each virtual gift;
the target virtual gift determining module is used for determining target virtual gifts to be presented according to presentation matching values of the virtual gifts when the intention value is larger than a preset first intention threshold value;
and the target virtual gift sending module is used for responding to confirmation information of the audience client for presenting the target virtual gift, and sending the target virtual gift to the anchor client.
12. A computer device comprising a processor and a memory; characterized in that the memory stores a computer program adapted to be loaded by the processor and to execute the method of virtual gift giving of a live broadcast as claimed in any one of claims 1 to 10.
13. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing a virtual gift giving method of a live broadcast room according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110927498.6A CN113596508B (en) | 2021-08-11 | 2021-08-11 | Virtual gift giving method, device and medium for live broadcasting room and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110927498.6A CN113596508B (en) | 2021-08-11 | 2021-08-11 | Virtual gift giving method, device and medium for live broadcasting room and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113596508A true CN113596508A (en) | 2021-11-02 |
CN113596508B CN113596508B (en) | 2023-06-20 |
Family
ID=78257543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110927498.6A Active CN113596508B (en) | 2021-08-11 | 2021-08-11 | Virtual gift giving method, device and medium for live broadcasting room and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113596508B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095772A (en) * | 2021-12-08 | 2022-02-25 | 广州方硅信息技术有限公司 | Virtual object display method and system under live microphone connection and computer equipment |
CN114339320A (en) * | 2021-12-10 | 2022-04-12 | 北京达佳互联信息技术有限公司 | Virtual resource processing method, device, equipment and storage medium |
CN114779936A (en) * | 2022-04-26 | 2022-07-22 | 北京达佳互联信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
CN115484489A (en) * | 2022-09-14 | 2022-12-16 | 抖音视界有限公司 | Resource processing method, resource processing device, electronic device, storage medium, and program product |
CN116366909A (en) * | 2023-05-31 | 2023-06-30 | 北京达佳互联信息技术有限公司 | Virtual article processing method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371054A (en) * | 2017-06-20 | 2017-11-21 | 武汉斗鱼网络科技有限公司 | A kind of barrage processing method and processing device |
US20190080374A1 (en) * | 2017-09-13 | 2019-03-14 | Andy Alvarez | Systems and Methods for Virtual Gifting in an Online Chat System |
CN109495763A (en) * | 2018-11-16 | 2019-03-19 | 北京达佳互联信息技术有限公司 | Virtual objects, which record, determines method, apparatus, server and storage medium |
CN109743588A (en) * | 2019-01-08 | 2019-05-10 | 广州虎牙信息科技有限公司 | Direct broadcasting room virtual present list generation method, device, server and storage medium |
CN110213607A (en) * | 2019-06-03 | 2019-09-06 | 广州虎牙信息科技有限公司 | Direct broadcasting room interactive approach, device, terminal, server and readable storage medium storing program for executing |
CN111866595A (en) * | 2020-07-24 | 2020-10-30 | 广州市百果园信息技术有限公司 | Virtual gift list generation method, virtual gift recommendation method and device |
CN112578957A (en) * | 2020-12-08 | 2021-03-30 | 广州博冠信息科技有限公司 | Virtual gift recommendation method and device in live broadcast, storage medium and electronic equipment |
-
2021
- 2021-08-11 CN CN202110927498.6A patent/CN113596508B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371054A (en) * | 2017-06-20 | 2017-11-21 | 武汉斗鱼网络科技有限公司 | A kind of barrage processing method and processing device |
US20190080374A1 (en) * | 2017-09-13 | 2019-03-14 | Andy Alvarez | Systems and Methods for Virtual Gifting in an Online Chat System |
CN109495763A (en) * | 2018-11-16 | 2019-03-19 | 北京达佳互联信息技术有限公司 | Virtual objects, which record, determines method, apparatus, server and storage medium |
CN109743588A (en) * | 2019-01-08 | 2019-05-10 | 广州虎牙信息科技有限公司 | Direct broadcasting room virtual present list generation method, device, server and storage medium |
CN110213607A (en) * | 2019-06-03 | 2019-09-06 | 广州虎牙信息科技有限公司 | Direct broadcasting room interactive approach, device, terminal, server and readable storage medium storing program for executing |
CN111866595A (en) * | 2020-07-24 | 2020-10-30 | 广州市百果园信息技术有限公司 | Virtual gift list generation method, virtual gift recommendation method and device |
CN112578957A (en) * | 2020-12-08 | 2021-03-30 | 广州博冠信息科技有限公司 | Virtual gift recommendation method and device in live broadcast, storage medium and electronic equipment |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095772A (en) * | 2021-12-08 | 2022-02-25 | 广州方硅信息技术有限公司 | Virtual object display method and system under live microphone connection and computer equipment |
CN114095772B (en) * | 2021-12-08 | 2024-03-12 | 广州方硅信息技术有限公司 | Virtual object display method, system and computer equipment under continuous wheat direct sowing |
CN114339320A (en) * | 2021-12-10 | 2022-04-12 | 北京达佳互联信息技术有限公司 | Virtual resource processing method, device, equipment and storage medium |
CN114339320B (en) * | 2021-12-10 | 2023-12-12 | 北京达佳互联信息技术有限公司 | Virtual resource processing method, device, equipment and storage medium |
CN114779936A (en) * | 2022-04-26 | 2022-07-22 | 北京达佳互联信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
CN115484489A (en) * | 2022-09-14 | 2022-12-16 | 抖音视界有限公司 | Resource processing method, resource processing device, electronic device, storage medium, and program product |
WO2024056035A1 (en) * | 2022-09-14 | 2024-03-21 | 抖音视界有限公司 | Resource processing method and apparatus, electronic device, storage medium, and program product |
CN116366909A (en) * | 2023-05-31 | 2023-06-30 | 北京达佳互联信息技术有限公司 | Virtual article processing method and device, electronic equipment and storage medium |
CN116366909B (en) * | 2023-05-31 | 2023-10-17 | 北京达佳互联信息技术有限公司 | Virtual article processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113596508B (en) | 2023-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113596508B (en) | Virtual gift giving method, device and medium for live broadcasting room and computer equipment | |
US11800192B2 (en) | Bullet screen processing method and apparatus, electronic device, and computer-readable storage medium | |
CN111049996B (en) | Multi-scene voice recognition method and device and intelligent customer service system applying same | |
US9185134B1 (en) | Architecture for moderating shared content consumption | |
CN114025186A (en) | Virtual voice interaction method and device in live broadcast room and computer equipment | |
US20240126403A1 (en) | Interaction method and apparatus, medium, and electronic device | |
US11824647B2 (en) | Promotion of users in collaboration sessions | |
US11449301B1 (en) | Interactive personalized audio | |
CN110619878B (en) | Voice interaction method and device for office system | |
CN114422821A (en) | Live broadcast home page interaction method, device, medium and equipment based on virtual gift | |
CN113949892A (en) | Live broadcast interaction method and system based on virtual resource consumption and computer equipment | |
CN114286124B (en) | Method and device for displaying interactive bubbles in live broadcasting room, medium and computer equipment | |
CN113873282B (en) | Live broadcasting room guiding speaking method, system, device, medium and computer equipment | |
CN113438492B (en) | Method, system, computer device and storage medium for generating title in live broadcast | |
US20240179377A1 (en) | Multimedia object sharing method, electronic device, and storage medium | |
CN113824984A (en) | Virtual gift pipelining display method, system, device and computer equipment | |
CN113938697A (en) | Virtual speech method and device in live broadcast room and computer equipment | |
CN111161734A (en) | Voice interaction method and device based on designated scene | |
CN110600021A (en) | Outdoor intelligent voice interaction method, device and system | |
CN113727136B (en) | Live broadcast pushing method, system, device, equipment and storage medium | |
CN113727125B (en) | Live broadcast room screenshot method, device, system, medium and computer equipment | |
CN114449301A (en) | Item sending method, item sending device, electronic equipment and computer-readable storage medium | |
CN114513691A (en) | Answering method and equipment based on information interaction and computer readable storage medium | |
CN114286158B (en) | Virtual resource activity display method, device, medium and equipment of live broadcasting room | |
US11755340B2 (en) | Automatic enrollment and intelligent assignment of settings |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |