CN111654716A - Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium - Google Patents
Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN111654716A CN111654716A CN202010537908.1A CN202010537908A CN111654716A CN 111654716 A CN111654716 A CN 111654716A CN 202010537908 A CN202010537908 A CN 202010537908A CN 111654716 A CN111654716 A CN 111654716A
- Authority
- CN
- China
- Prior art keywords
- target
- account
- live broadcast
- audience
- gift
- 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
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
-
- 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/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
-
- 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
- H04N21/25891—Management of end-user data being end-user preferences
-
- 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/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Computing Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a live broadcast room recommendation method and device, electronic equipment and a computer readable storage medium, and belongs to the technical field of videos. According to the method, a recommendation message for a live broadcast room is sent to a terminal where a second audience account is located based on a target video, so that the target live broadcast room of the target live broadcast account is recommended to the second audience account, the second audience account has a friend relationship with the first audience account, and the target video is a video recorded by the target live broadcast account when a virtual gift given by the first audience account is received, so that the trust degree of audience users of the second audience account on the recommendation message of the live broadcast room can be increased, the audience users can watch the video in the target live broadcast room conveniently, and the success rate of recommending the live broadcast room can be improved.
Description
Technical Field
The present application relates to the field of video technologies, and in particular, to a live broadcast room recommendation method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of the live broadcast industry, more and more audience users watch live videos, and in order to attract the audience users to watch the live videos on the live broadcast platform all the time, some live broadcast rooms which the audience users may like are generally recommended to the audience users.
Currently, the process recommended by the live broadcast room may be: the server takes the live broadcast room which is watched by the audience user on the live broadcast platform last as a source live broadcast room, determines a plurality of live broadcast rooms with similar styles to the source live broadcast room, and recommends the plurality of live broadcast rooms to the audience user.
In the live broadcast room recommendation process, the audience users may not trust the live broadcast room recommended by the server, and therefore the audience users do not necessarily watch videos in the live broadcast room recommended by the server, and the success rate of recommending the live broadcast room is low.
Disclosure of Invention
The application provides a live broadcast room recommending method and device, electronic equipment and a computer readable storage medium, which can improve the success rate of recommending a live broadcast room. The technical scheme is as follows:
in a first aspect, a live broadcast room recommendation method is provided, where the method includes:
acquiring a target video of a target live broadcast account, wherein the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by a first audience account;
determining a plurality of second audience accounts having friend relationships with the first audience account;
and for any second audience account in the plurality of second audience accounts, sending a live broadcast room recommendation message to a terminal where the second audience account is located based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
Optionally, the acquiring a target video of a target live account includes:
receiving a gift presentation request, wherein the gift presentation request is used for indicating the first audience account to present a virtual gift to the target live broadcast account;
based on the gift giving request, sending a gift giving message to a target terminal where the target live broadcast account is located, wherein the gift giving message comprises a gift identifier and a recording identifier of a virtual gift given by the first audience account to the target live broadcast account, and the recording identifier is used for indicating the target terminal to record a video of the target live broadcast account when the virtual gift given by the first audience account is received;
receiving the target video recorded by the target terminal based on the gift-giving request.
Optionally, the sending a gift-giving message to the target terminal where the target live account is located based on the gift-giving request includes:
generating the gift giving message based on the amount of money corresponding to the virtual gift indicated by the gift giving request and the target behavior information of the first audience account, wherein the target behavior information is used for indicating the target behavior of the first audience account when the first audience account watches the live video in the target live broadcast room;
and sending the gift-giving message to the target terminal.
Optionally, the generating the gift-giving message based on the amount of money corresponding to the virtual gift indicated by the gift-giving request and the target behavior information of the first viewer account includes:
and when the amount of money corresponding to the virtual gift indicated by the gift giving request is greater than or equal to a target amount of money and/or the target behavior indicated by the target behavior information of the first audience account meets a target condition, generating the gift giving message.
Optionally, the target behavior includes at least one of a viewing behavior of the first viewer account in viewing a video in the target live broadcast room, and an attention behavior of the first viewer account in performing an attention operation on the target live broadcast account in the target live broadcast room;
the target behavior information includes at least one of:
in a first time period, the total time for the first audience account to watch live videos in the target live broadcast room;
the target live account is located in a target time period of an attention list of the first audience account, and the attention list is used for recording the live account concerned by the first audience account.
Optionally, the target condition comprises at least one of:
during the first time period, the total duration is greater than or equal to a target duration;
the first time period is within the target time period;
the first time period is equal to the target time period.
Optionally, the live broadcast room recommendation message includes the target video and live broadcast room information of the target live broadcast room.
In a second aspect, a live room recommendation apparatus is provided, the apparatus including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a target video of a target live broadcast account, and the target video is a video recorded by the target live broadcast account when a virtual gift given by a first audience account is received;
the determining module is used for determining a plurality of second audience accounts having friend relationships with the first audience account;
and the sending module is used for sending a live broadcast room recommendation message to a terminal where any second audience account in the plurality of second audience accounts is located based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
Optionally, the obtaining module includes:
a receiving unit, configured to receive a gift presentation request, where the gift presentation request is used to instruct the first viewer account to present a virtual gift to the target live broadcast account;
a sending unit, configured to send a gift giving message to a target terminal where the target live broadcast account is located based on the gift giving request, where the gift giving message includes a gift identifier and a recording identifier of a virtual gift given by the first viewer account to the target live broadcast account, and the recording identifier is used to instruct the target terminal to record a video of the target live broadcast account when the virtual gift given by the first viewer account is received;
the receiving unit is further configured to receive the target video recorded by the target terminal based on the gift-giving request.
Optionally, the sending unit includes:
a generating subunit, configured to generate the gift giving message based on an amount of money corresponding to the virtual gift indicated by the gift giving request and target behavior information of the first viewer account, where the target behavior information is used to indicate a target behavior of the first viewer account when viewing a live video in the target live broadcast room;
a sending subunit, configured to send the gift-giving message to the target terminal.
Optionally, the generating subunit is configured to:
and when the amount of money corresponding to the virtual gift indicated by the gift giving request is greater than or equal to a target amount of money and/or the target behavior indicated by the target behavior information of the first audience account meets a target condition, generating the gift giving message.
Optionally, the target behavior includes at least one of a viewing behavior of the first viewer account in viewing a video in the target live broadcast room, and an attention behavior of the first viewer account in performing an attention operation on the target live broadcast account in the target live broadcast room;
the target behavior information includes at least one of:
in a first time period, the total time for the first audience account to watch live videos in the target live broadcast room;
the target live account is located in a target time period of an attention list of the first audience account, and the attention list is used for recording the live account concerned by the first audience account.
Optionally, the target condition comprises at least one of:
during the first time period, the total duration is greater than or equal to a target duration;
the first time period is within the target time period;
the first time period is equal to the target time period.
Optionally, the live broadcast room recommendation message includes the target video and live broadcast room information of the target live broadcast room.
In a third aspect, an electronic device is provided and includes a processor and a memory, where at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the operations performed by the live broadcast recommendation method.
In a fourth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operations performed by the above live broadcast recommendation method.
In a fifth aspect, there is provided a computer program product comprising one or more instructions executable by a processor of a server to perform the method steps of any of the live-air recommendations of the first aspect above, which method steps may comprise:
acquiring a target video of a target live broadcast account, wherein the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by a first audience account;
determining a plurality of second audience accounts having friend relationships with the first audience account;
and for any second audience account in the plurality of second audience accounts, sending a live broadcast room recommendation message to a terminal where the second audience account is located based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
based on the target video, a recommendation message for a live broadcast room is sent to a terminal where the second audience account is located, so that the target live broadcast room of the target live broadcast account is recommended to the second audience account, the second audience account has a friend relationship with the first audience account, and the target video is a video recorded by the target live broadcast account when the target live broadcast account receives a virtual gift given by the first audience account, therefore, the trust degree of audience users of the second audience account on the recommendation message of the live broadcast room can be increased, so that the audience users watch the video in the target live broadcast room, and the success rate of recommending the live broadcast room can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a live broadcast room recommendation system provided in an embodiment of the present application;
fig. 2 is a flowchart of a live broadcast room recommendation method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a live broadcast room recommendation device according to an embodiment of the present application.
Detailed Description
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.
Fig. 1 is a schematic diagram of a live broadcast recommendation system provided in an embodiment of the present application, and referring to fig. 1, the live broadcast recommendation system 100 may include a plurality of terminals 101 and a server 102. Wherein each terminal 101 may be equipped with a viewer client and/or a live client. For any terminal 102, when the terminal 102 is operating a viewer client, the terminal 102 may be considered a viewer terminal 102 a. The audience user can log in the audience client running on the terminal 102a through the audience account, and watch the live broadcast video of the live broadcast user in the live broadcast room provided by the audience client, and the audience user can also pay attention to the live broadcast user in the live broadcast room by executing attention operation on the audience client. The audience user may also interact with the live user of the live room while viewing the live video in the live room, such as presenting a virtual gift (e.g., a flower, an airplane, etc.) to the live user, or speaking in the live room, etc. The viewer client 102 is further configured to receive the live broadcast recommendation message sent by the server 102, and display the live broadcast recommendation message, so that a viewer user can view a live broadcast video in the live broadcast recommended by the server 102 according to the live broadcast recommendation message. When a live client is running in the terminal 102, the terminal 102 can be considered as a live terminal 102 b. The live broadcast user can log in a live broadcast client running on the live broadcast terminal 102b through a live broadcast account, and can perform network live broadcast in a live broadcast room where the live broadcast account is located through the live broadcast client, so as to provide live broadcast content. The live terminal 102b is further configured to provide, to the server 102, a video recorded by the live account when the virtual gift of the viewer account is received, so that the server 102 recommends, to the friend account of the viewer account, a live room of the live account based on the video. The terminal 101 may be a portable mobile terminal, such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group audio Layer III, motion Picture Experts compression standard audio Layer 3), an MP4 player (Moving Picture Experts Group audio Layer IV, motion Picture Experts compression standard audio Layer 4), a notebook computer, or a desktop computer.
The server 102 is configured to perform live data transfer and live data regulation, and the server 102 may also send a gift giving message to a straight terminal where a corresponding live account is located based on a gift giving request of an audience account, where the gift giving message is used to give a virtual gift to the live account, and is also used to instruct the live terminal to record a video of the live account when receiving the virtual gift, and return the recorded video to the server 102. The server 102 is further configured to recommend a live broadcast room in which the live broadcast account is located to a friend account of the viewer account presenting the virtual gift based on the recorded video. For any viewer user, the server 102 is further configured to bind the viewer account of the viewer user with a watch record list, a follow-up record list, a present record list, and a friend list of the viewer user, where the watch record list is used to store a watch record of each time the viewer user watches a live video, and a watch record may include a video identifier of a live video watched by the viewer user (e.g., a name of the live video), a live room identifier of a live video room in which the live video is played (e.g., a name of the live room), a live account of the live user of the live video, and a duration of the live video watched by the viewer user. The live user of the live video is also a live user of the live room playing the live video. The attention list is used for recording a live account concerned by the audience account, the attention list can comprise a plurality of attention records, one attention record comprises a live account concerned by the audience account, a live room identifier of a live room where the live account is located and time for the server to generate the attention record, and the attention record is used for indicating that attention and attention relation are provided between the audience account and the live account, wherein the audience account is a concerned party, the live account is a concerned party, and an audience user of the audience account pays attention to the live account. The time when the server 102 generates the attention record is the time when the viewer account and the live account have an attention relationship. When the terminal where the viewer account is located detects that the viewer user performs an attention operation on a live account in a live interface of a viewer client (that is, the viewer account performs the attention operation on the live account), the terminal may be triggered to send an attention request to the server 102, where the attention request may include the viewer account of the viewer user and the live account, and after the server 102 receives the attention request, the server 102 may generate an attention record and store the attention record in an attention list of the viewer user. When a terminal where the viewer account is located detects that the viewer user performs a cancel operation of canceling attention from a live account in a live interface of a viewer client (that is, the viewer account performs an operation of canceling attention from the live account), the terminal may be triggered to send an attention relationship deletion request to the server 102, where the attention relationship deletion request may include a user account of the viewer user and the live account, and after the server 102 receives the attention relationship deletion request, the server 102 may delete an attention record including the viewer account and the live account, so as to release an attention relationship between the viewer account and the live account.
The presentation record list is used for storing presentation records of virtual gifts presented by the audience accounts each time, and one presentation record may include a gift identifier of a virtual gift presented by the audience account to the target live broadcast account, time for presenting the virtual gift, and an amount of money corresponding to the presented virtual gift. The friend list is used for storing each friend account of the audience accounts. The server 102 is further configured to store the viewer account in association with the bound watch record list, the gifted record list, and the buddy list, so that the server 102 can recommend a live or live user to which the viewer account is interested to the buddy account of the viewer account based on records in the bound watch record list, the gifted record list, and the buddy list of the viewer account. The server may be one server or a server cluster composed of a plurality of servers.
In order to further embody a process of recommending a live broadcast to a friend account of a viewer account by a server, refer to a flowchart of a live broadcast recommendation method provided in an embodiment of the present application shown in fig. 2.
201. The first terminal sends a gift presentation request to the server, wherein the gift presentation request is used for indicating the first audience account to present a virtual gift to the target live broadcast account.
The first terminal is also the terminal where the first viewer account is located. The first audience user can log in an audience client in the first terminal based on the first audience account and watch live video in a live broadcast room provided by the audience client. The gift presentation request may include the first viewer account, a gift identification of a virtual gift that the first viewer account presents to a target live account, and the target live account.
For the target live broadcast room where the target live broadcast account is located, the first viewer user may perform a presenting operation of presenting a virtual gift on a live broadcast interface of the target live broadcast room displayed by the first terminal, so as to trigger the first terminal to perform this step 201. In a possible implementation manner, when the first audience account is logged in by the audience client of the first terminal, if the first terminal detects that the first audience user performs the presenting operation on the live broadcast interface of the target live broadcast room displayed by the audience client, the first terminal may be triggered to generate the gift presenting request, and the first terminal is triggered to send the gift presenting request to the server.
202. The server receives the gift-presentation request.
203. The server generates a gift giving message based on the amount of money corresponding to the virtual gift indicated by the gift giving request and the target behavior information of the first audience account, wherein the target behavior information is used for indicating the target behavior of the first audience account when the first audience account watches the live video in the target live broadcast room of the target live broadcast account.
The target behavior may include at least one of a viewing behavior of the first viewer account in viewing a video in the target live broadcast room, and an attention behavior of the first viewer account in performing an attention operation on the target live broadcast account in the target live broadcast room. The target behavior information may include at least one of: during a first time period, the total time of the first audience account number watching the live video in the target live broadcast room; the target live account is in a target time period of an attention list of the first viewer account, and the attention list is used for recording the live account concerned by the first viewer account. The total duration of the live video watched by the first audience account in the target live broadcast room is also the online duration of the first audience account in the target live broadcast room, that is, the duration of the video watched by the first audience user in the target live broadcast room. The first time period may be any current time period, such as the last 24 hours or the last week, and the first time period is not particularly limited in the embodiments of the present application.
The target time period is also a time period in which the first viewer account and the target live broadcast account have an attention relationship. The gift giving message may include a gift identifier and a recording identifier of a virtual gift given by the first viewer account to the target live broadcast account, where the recording identifier is used to instruct a target terminal to record a video of the target live broadcast account when receiving the virtual gift given by the first viewer account, and the target terminal is a terminal where the target live broadcast account is located. The gift giving message may further include a target recording duration corresponding to the recording identifier, so as to indicate that a terminal where the target live broadcast account is located records a video of the target recording duration when receiving the virtual gift given by the first viewer account, where the target recording duration may be any duration, for example, 5 seconds or 10 seconds, and the target recording duration is not specifically limited in the embodiment of the present application. The gift giving message may further include the first viewer account, a target live broadcast account, and recording prompt information, where the recording prompt information is used to prompt the target live broadcast account to perform a video recording operation when receiving a virtual gift given by the first viewer account, the recording prompt information may be in a text form or an audio form, and the content of the recording question information may be "a lovely live broadcast user," the first viewer account gives your gift, and please record a recommendation video, so as to recommend your live broadcast room to a friend account of the first viewer account.
The server may generate the gift presentation message when an amount of money corresponding to the virtual gift indicated by the gift presentation request is greater than or equal to a target amount of money, and/or a target behavior indicated by the target behavior information of the first viewer account satisfies a target condition. The target amount may be any amount, such as 200 yuan or 500 yuan, and the target amount is not specifically limited in this embodiment of the application. The target condition may include at least one of: in a first time period, the total time length of the first audience account for watching the live video in the target live broadcast room is greater than or equal to a target time length (marked as condition 1); the first time period is within the target time period (denoted as condition 2); the first time period is equal to the target time period (denoted as condition 3). The total duration of the live video watched by the first audience account in the target live broadcast room is also the total duration of the live video watched by the first audience user in the target live broadcast room after logging in the first audience account.
When the first time period is within the target time period, it is indicated that, within the first time period, the first viewer account always pays attention to the target live broadcast account, and the first viewer account does not perform a cancellation operation of canceling the attention of the target live broadcast account, that is, within the first time period, the first viewer account and the target live broadcast account have an attention relationship, that is, within the first time period, the target live broadcast account is always in an attention list of the first viewer account. When the first time period is equal to a target time period, it is indicated that the first viewer account always concerns the target live broadcast account within the first time period, and the first viewer account does not perform a cancellation operation of canceling the concern of the target live broadcast account, and before the first time period, the first viewer account does not perform a concern operation of the target live broadcast account.
Taking the target conditions including conditions 1-3 as an example, when the amount of money corresponding to the virtual gift indicated by the gift giving request is greater than the target amount of money, the total duration of the first viewer account watching the live video in the target live broadcast room is greater than or equal to the target duration, and the first viewer account and the target live broadcast account always have an attention relationship in a first time period, and the first viewer account does not perform a closing operation on the target live broadcast account before the first time period, it is indicated that the target live broadcast account is the live broadcast account which is newly concerned by the first viewer account, and the live video of the target live broadcast account is often watched in the target live broadcast room, and it can be reflected from the side that the first viewer user likes the video of the target live broadcast account recently, the server can generate the gift giving message, so that the terminal where the target live broadcast account is located can record the identifier according to the gift giving message, and recording a video of the target live broadcast account when the virtual gift given by the first viewer account is received, so that the server recommends a target live broadcast room of the target live broadcast user to the friend account of the first viewer account based on the video.
Before executing step 203, the server may further obtain target behavior information of the first viewer account, where the process of obtaining the target behavior information by the server may be: the server can inquire the watching record of the first audience account in the target live broadcast room in the first time period from the watching record list bound to the first audience account, and calculate the total time length of the first audience account watching the live broadcast videos in the target live broadcast room based on the time length of the first audience account watching each live broadcast video in the inquired watching record; the server may also query, in an attention list bound to the first viewer account, at least one attention record of the target live broadcast user, which is attended by the first viewer account, determine, according to time recorded in the at least one attention record, for generating the attention record, a target attention record closest to a current time in the at least one attention record, and the server may use the time from the generation time of the target attention record to the current time as a target time period; the server may use the calculated total duration and the determined target time period as the target behavior information of the first viewer account.
It should be noted that, in a possible implementation manner, when the gift-giving request is received, the server does not need to determine whether the amount of money corresponding to the virtual gift indicated by the gift-giving request is greater than or equal to the target amount of money, nor does it need to determine whether the target behavior indicated by the target behavior information of the first viewer account satisfies the target condition, the server may directly generate the gift-giving message, and the server does not need to acquire the target behavior information of the first viewer account at this time.
204. And the server sends a gift giving message to a target terminal where the target live broadcast account is located.
The server may query, according to the target live broadcast account in the gift presentation request, stored address information of a target terminal where the target live broadcast account is located, and the server may send a gift presentation message to the target terminal according to the queried address information of the target terminal. The server can also deduct the amount of money corresponding to the given virtual gift from the virtual wallet of the first audience account according to the virtual gift given to the target live broadcast account by the first audience account.
It should be noted that the process shown in step 203-204 is a process in which the server sends a gift-giving message to the target terminal where the target live account is located based on the gift-giving request.
205. The target terminal receives the gift-offering message.
206. And the target terminal displays the virtual gift given by the first audience account to the target live broadcast account based on the gift giving message, and records the video of the target live broadcast account when receiving the virtual gift given by the first audience account, so as to obtain the target video.
The target terminal may determine, according to the identifier of the virtual gift in the gift giving message, the virtual gift given by the first audience account to the target live broadcast account, and display the virtual gift given by the first audience account to the target live broadcast account in a gift display area in a live broadcast room interface of a target live broadcast room of the target live broadcast account. The gift display area can be located in the middle of the live broadcast interface, and the position of the gift display area in the live broadcast interface is not specifically limited in the embodiment of the application.
And when the target terminal starts to display the virtual gift given by the first viewer account, the target terminal can start to record the expression, action, sound and the like of the target live broadcast user and continuously record the target recording duration to obtain the target video according to the recording identifier in the gift giving message and the target recording duration corresponding to the recording identifier.
The target terminal can also display a recording button on a live broadcast room interface of the target live broadcast room according to a recording identifier in the gift giving message, and the target live broadcast account can also prompt the target live broadcast user to record a recommendation video based on the virtual gift given by the first audience account according to a recording prompt message in the gift giving message so as to recommend the target live broadcast room to the friend account of the first audience account. In a possible implementation manner, when the recording prompt information in the gift giving message is in a text form, the target terminal may further display the recording prompt information on a live broadcasting interface of the target live broadcasting room, and when the recording prompt information is in an audio form, the target terminal may further play the recording prompt information on the live broadcasting interface of the target live broadcasting room. When the target terminal detects that the target live broadcast user performs click operation on a recording button displayed on a live broadcast interface of a target live broadcast room, the target terminal starts to record a video, and when the target terminal detects that the target live broadcast user performs click operation on the recording button displayed on the live broadcast interface again, the target terminal finishes recording the video to obtain the target video.
207. The target terminal sends the target video to the server.
208. The server receives the target video recorded by the target terminal based on the gift-giving request.
The process shown in step 201 and 208 is also a process in which the server acquires a target video of a target live broadcast account, where the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by a first viewer account.
It should be noted that the server may not separately receive the target video sent by the target terminal, and the server may intercept the target video from the live video stream of the target live broadcast room. In a possible implementation manner, the server may obtain initial display time for the target terminal to display the first audience account presenting the virtual gift, and the server may use the initial display time as an initial interception position for intercepting the live video stream, and intercept the live video stream with a target recording duration to obtain the target video.
209. The server determines a plurality of second viewer accounts having a friend relationship with the first viewer account.
The plurality of second viewer accounts may be all or part of the friend accounts in the friend list of the first viewer account. The server may determine, based on the first viewer account, a buddy list bound to the user account, that is, a buddy list of the first viewer user, and determine, from the buddy list bound to the first viewer account, a plurality of second viewer accounts having a buddy relationship with the first viewer account.
210. For any second audience account in the plurality of second audience accounts, the server sends a live broadcast room recommendation message to the second terminal based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
The second terminal is also the terminal where the second viewer account is located. The live room recommendation message may include the target video and live room information of the target live room of the target live account. The live broadcast room information may include a cover page of the target live broadcast room, address information of the target live broadcast room, and the target live broadcast account. The live broadcast room recommendation message may further include recommendation information for recommending the target live broadcast room to the second viewer account based on the first viewer account. The recommendation information may be in a text form or an audio form, and the content of the recommendation information may be "your friend first viewer account watches the video in the target live broadcast room recently, and welcomes the target live broadcast room to watch the live broadcast video of the target live broadcast account".
The server may generate the live broadcast room recommendation message based on the target video and send the live broadcast room recommendation message to the second terminal. The process shown in step 210 is also a process in which the server sends the live broadcast room recommendation message to the terminal where the second viewer account is located based on the target video.
211. And the second terminal receives the recommendation message of the live broadcast room and displays the recommendation message.
When receiving the live broadcast and recommendation message, the second terminal may display the content carried by the recommendation message on a display interface. In a possible implementation manner, the second terminal may pop up a message box on the display interface, where the message box displays the content of the live broadcast recommendation message. After a second audience account logs in at an audience client of the second terminal, if it is detected that a second audience user performs playing operation on a target live broadcast video in the live broadcast room recommendation message, the second terminal can play the target video and display an attention button for paying attention to the target live broadcast room, when it is detected that the second audience user performs attention operation on the attention button, the second terminal is triggered to send an attention request to the server, and the attention request is used for indicating the server to establish an attention relationship among the second audience account, the target live broadcast account and the target live broadcast room; when the server receives the attention request, the server may generate an attention record including a second viewer account, a target live broadcast account, and a live broadcast room identifier of the target live broadcast room, and add the attention record to an attention list of the second viewer account.
According to the method provided by the embodiment of the application, the recommendation message for the live broadcast room is sent to the terminal where the second audience account is located based on the target video, so that the target live broadcast room of the target live broadcast account is recommended to the second audience account, the second audience account has a friend relationship with the first audience account, and the target video is a video recorded by the target live broadcast account when the target live broadcast account receives the virtual gift given by the first audience account, therefore, the trust degree of audience users of the second audience account on the recommendation message of the live broadcast room can be increased, so that the audience users watch the video in the target live broadcast room, and the success rate of recommending the live broadcast room can be improved.
The server may be an electronic device, and in order to further embody a hardware structure of the server, referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device provided in this embodiment, the electronic device 300 may generate a relatively large difference due to different configurations or performances, and may include one or more CPUs (processors) 301 and one or more memories 302, where the memories 302 store at least one instruction, and the at least one instruction is loaded and executed by the processors 301 to implement the methods provided by the method embodiments. Of course, the electronic device 300 may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the electronic device 300 may further include other components for implementing device functions, which are not described herein.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform a video interception method in the following embodiments is also provided. For example, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 4 is a schematic structural diagram of a live broadcast room recommendation apparatus provided in an embodiment of the present application, where the apparatus includes:
an obtaining module 401, configured to obtain a target video of a target live broadcast account, where the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by a first viewer account;
a determining module 402, configured to determine a plurality of second viewer accounts having a friend relationship with the first viewer account;
a sending module 403, configured to send, to any second viewer account in the multiple second viewer accounts, a live broadcast room recommendation message to a terminal where the second viewer account is located based on the target video, where the live broadcast room recommendation message is used to recommend a target live broadcast room of the target live broadcast account to the second viewer account based on the target video.
Optionally, the obtaining module 401 includes:
a receiving unit, configured to receive a gift presentation request, where the gift presentation request is used to instruct the first viewer account to present a virtual gift to the target live broadcast account;
a sending unit, configured to send a gift giving message to a target terminal where the target live broadcast account is located based on the gift giving request, where the gift giving message includes a gift identifier and a recording identifier of a virtual gift given by the first viewer account to the target live broadcast account, and the recording identifier is used to instruct the target terminal to record a video of the target live broadcast account when the virtual gift given by the first viewer account is received;
the receiving unit is further configured to receive the target video recorded by the target terminal based on the gift-giving request.
Optionally, the sending unit includes:
a generating subunit, configured to generate the gift giving message based on an amount of money corresponding to the virtual gift indicated by the gift giving request and target behavior information of the first viewer account, where the target behavior information is used to indicate a target behavior of the first viewer account when viewing a live video in the target live broadcast room;
a sending subunit, configured to send the gift-giving message to the target terminal.
Optionally, the generating subunit is configured to:
and when the amount of money corresponding to the virtual gift indicated by the gift giving request is greater than or equal to a target amount of money and/or the target behavior indicated by the target behavior information of the first audience account meets a target condition, generating the gift giving message.
Optionally, the target behavior includes at least one of a viewing behavior of the first viewer account in viewing a video in the target live broadcast room, and an attention behavior of the first viewer account in performing an attention operation on the target live broadcast account in the target live broadcast room;
the target behavior information includes at least one of:
in a first time period, the total time for the first audience account to watch live videos in the target live broadcast room;
the target live account is located in a target time period of an attention list of the first audience account, and the attention list is used for recording the live account concerned by the first audience account.
Optionally, the target condition comprises at least one of:
during the first time period, the total duration is greater than or equal to a target duration;
the first time period is within the target time period;
the first time period is equal to the target time period.
Optionally, the live broadcast room recommendation message includes the target video and live broadcast room information of the target live broadcast room.
The device sends a recommendation message for a live broadcast room to a terminal where a second audience account is located based on a target video so as to recommend the target live broadcast room of the target live broadcast account to the second audience account, and the second audience account has a friend relationship with the first audience account, and the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by the first audience account, so that the trust degree of audience users of the second audience account on the recommendation message of the live broadcast room can be increased, the audience users can watch the video in the target live broadcast room, and the success rate of recommending the live broadcast room can be improved.
It should be noted that: in the live broadcast room recommendation apparatus provided in the above embodiment, when recommending a live broadcast room, only the division of the above function modules is used as an example, and in practical applications, the function distribution may be completed by different function modules as needed, that is, the internal structure of the apparatus is divided into different function modules, so as to complete all or part of the functions described above. In addition, the live broadcast room recommendation device and the live broadcast room recommendation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Illustratively, there is also provided a computer program product comprising one or more instructions executable by a processor of a server to perform the method steps of the live-air recommendation method provided in the above embodiments, which method steps may comprise:
acquiring a target video of a target live broadcast account, wherein the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by a first audience account;
determining a plurality of second audience accounts having friend relationships with the first audience account;
and for any second audience account in the plurality of second audience accounts, sending a live broadcast room recommendation message to a terminal where the second audience account is located based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (10)
1. A live broadcast room recommendation method is characterized by comprising the following steps:
acquiring a target video of a target live broadcast account, wherein the target video is a video recorded by the target live broadcast account when receiving a virtual gift given by a first audience account;
determining a plurality of second audience accounts having friend relationships with the first audience account;
and for any second audience account in the plurality of second audience accounts, sending a live broadcast room recommendation message to a terminal where the second audience account is located based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
2. The method of claim 1, wherein the obtaining a target video of a target live account comprises:
receiving a gift presentation request, wherein the gift presentation request is used for indicating the first audience account to present a virtual gift to the target live broadcast account;
based on the gift giving request, sending a gift giving message to a target terminal where the target live broadcast account is located, wherein the gift giving message comprises a gift identifier and a recording identifier of a virtual gift given by the first audience account to the target live broadcast account, and the recording identifier is used for indicating the target terminal to record a video of the target live broadcast account when the virtual gift given by the first audience account is received;
receiving the target video recorded by the target terminal based on the gift-giving request.
3. The method of claim 2, wherein sending a gift giving message to a target terminal where the target live account is located based on the gift giving request comprises:
generating the gift giving message based on the amount of money corresponding to the virtual gift indicated by the gift giving request and the target behavior information of the first audience account, wherein the target behavior information is used for indicating the target behavior of the first audience account when the first audience account watches the live video in the target live broadcast room;
and sending the gift-giving message to the target terminal.
4. The method of claim 3, wherein the generating the gift presentation message based on the amount of money corresponding to the virtual gift indicated by the gift presentation request and the target behavior information of the first viewer account comprises:
and when the amount of money corresponding to the virtual gift indicated by the gift giving request is greater than or equal to a target amount of money and/or the target behavior indicated by the target behavior information of the first audience account meets a target condition, generating the gift giving message.
5. The method of claim 4, wherein the target behavior comprises at least one of a viewing behavior of the first viewer account watching a video in the target live broadcast room, and an attention behavior of the first viewer account performing an attention operation on the target live broadcast account in the target live broadcast room;
the target behavior information includes at least one of:
in a first time period, the total time for the first audience account to watch live videos in the target live broadcast room;
the target live account is located in a target time period of an attention list of the first audience account, and the attention list is used for recording the live account concerned by the first audience account.
6. The method of claim 5, wherein the target condition comprises at least one of:
during the first time period, the total duration is greater than or equal to a target duration;
the first time period is within the target time period;
the first time period is equal to the target time period.
7. The method of any of claims 1-6, wherein the live-air recommendation message comprises the target video and live-air information of the target live-air.
8. A live room recommendation apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a target video of a target live broadcast account, and the target video is a video recorded by the target live broadcast account when a virtual gift given by a first audience account is received;
the determining module is used for determining a plurality of second audience accounts having friend relationships with the first audience account;
and the sending module is used for sending a live broadcast room recommendation message to a terminal where any second audience account in the plurality of second audience accounts is located based on the target video, wherein the live broadcast room recommendation message is used for recommending a target live broadcast room of the target live broadcast account to the second audience account based on the target video.
9. An electronic device, comprising one or more processors and one or more memories having stored therein at least one instruction that is loaded and executed by the one or more processors to perform operations performed by the live-air recommendation method of any of claims 1-7.
10. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by the live-room recommendation method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010537908.1A CN111654716B (en) | 2020-06-12 | 2020-06-12 | Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010537908.1A CN111654716B (en) | 2020-06-12 | 2020-06-12 | Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111654716A true CN111654716A (en) | 2020-09-11 |
CN111654716B CN111654716B (en) | 2022-03-25 |
Family
ID=72351261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010537908.1A Active CN111654716B (en) | 2020-06-12 | 2020-06-12 | Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111654716B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112070524A (en) * | 2020-07-24 | 2020-12-11 | 广州阿凡提电子科技有限公司 | Advertisement service recommendation method and device |
CN113891123A (en) * | 2021-11-08 | 2022-01-04 | 北京达佳互联信息技术有限公司 | Method, device and system for pushing virtual space information |
CN114286120A (en) * | 2021-12-06 | 2022-04-05 | 北京达佳互联信息技术有限公司 | Live broadcast room sharing method, device, equipment and storage medium |
CN114302160A (en) * | 2021-12-29 | 2022-04-08 | 北京达佳互联信息技术有限公司 | Information display method, information display device, computer equipment and medium |
WO2022134684A1 (en) * | 2020-12-21 | 2022-06-30 | 腾讯科技(深圳)有限公司 | Interaction method and apparatus based on live streaming application program, and device and storage medium |
CN115037955A (en) * | 2022-05-31 | 2022-09-09 | 北京达佳互联信息技术有限公司 | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium |
CN116017074A (en) * | 2022-12-26 | 2023-04-25 | 广州博冠信息科技有限公司 | Live broadcast data recommendation method and device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658200A (en) * | 2016-12-30 | 2017-05-10 | 乐蜜科技有限公司 | Live video sharing and obtaining methods and devices, and terminal equipment thereof |
US20190163752A1 (en) * | 2017-11-27 | 2019-05-30 | Facebook, Inc. | Live video recommendation by an online system |
CN110536144A (en) * | 2019-07-31 | 2019-12-03 | 腾讯科技(深圳)有限公司 | A kind of live streaming processing method, device and storage medium |
CN111246308A (en) * | 2020-01-16 | 2020-06-05 | 广州酷狗计算机科技有限公司 | Method and device for accessing live broadcast room, live broadcast server and storage medium |
-
2020
- 2020-06-12 CN CN202010537908.1A patent/CN111654716B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658200A (en) * | 2016-12-30 | 2017-05-10 | 乐蜜科技有限公司 | Live video sharing and obtaining methods and devices, and terminal equipment thereof |
US20190163752A1 (en) * | 2017-11-27 | 2019-05-30 | Facebook, Inc. | Live video recommendation by an online system |
CN110536144A (en) * | 2019-07-31 | 2019-12-03 | 腾讯科技(深圳)有限公司 | A kind of live streaming processing method, device and storage medium |
CN111246308A (en) * | 2020-01-16 | 2020-06-05 | 广州酷狗计算机科技有限公司 | Method and device for accessing live broadcast room, live broadcast server and storage medium |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112070524A (en) * | 2020-07-24 | 2020-12-11 | 广州阿凡提电子科技有限公司 | Advertisement service recommendation method and device |
CN112070524B (en) * | 2020-07-24 | 2024-02-13 | 广州阿凡提电子科技有限公司 | Advertisement service recommendation method and device |
WO2022134684A1 (en) * | 2020-12-21 | 2022-06-30 | 腾讯科技(深圳)有限公司 | Interaction method and apparatus based on live streaming application program, and device and storage medium |
CN113891123A (en) * | 2021-11-08 | 2022-01-04 | 北京达佳互联信息技术有限公司 | Method, device and system for pushing virtual space information |
CN114286120A (en) * | 2021-12-06 | 2022-04-05 | 北京达佳互联信息技术有限公司 | Live broadcast room sharing method, device, equipment and storage medium |
CN114302160A (en) * | 2021-12-29 | 2022-04-08 | 北京达佳互联信息技术有限公司 | Information display method, information display device, computer equipment and medium |
CN114302160B (en) * | 2021-12-29 | 2023-04-28 | 北京达佳互联信息技术有限公司 | Information display method, device, computer equipment and medium |
CN115037955A (en) * | 2022-05-31 | 2022-09-09 | 北京达佳互联信息技术有限公司 | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium |
CN116017074A (en) * | 2022-12-26 | 2023-04-25 | 广州博冠信息科技有限公司 | Live broadcast data recommendation method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111654716B (en) | 2022-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111654716B (en) | Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium | |
CN108184144B (en) | Live broadcast method and device, storage medium and electronic equipment | |
CN111107417B (en) | Virtual gift giving method, device, system, computer equipment and storage medium | |
US9734153B2 (en) | Managing related digital content | |
KR20210072000A (en) | Multi-threaded Smart Routed Media Interoperable Digital Social Recorder, Crypto Asset Compliance and Payment Systems and Methods | |
CN112468835B (en) | Task processing method and device, server, electronic equipment and storage medium | |
CN112616068A (en) | Task processing method and device, electronic equipment and storage medium | |
CN108156470B (en) | Interaction method and device based on network live broadcast | |
CN113031836B (en) | Live data processing method and device and readable storage medium | |
CN113727130B (en) | Message prompting method, system and device for live broadcasting room and computer equipment | |
CN108171160B (en) | Task result identification method and device, storage medium and electronic equipment | |
CN111669658B (en) | Virtual article issuing method and device, computer equipment and storage medium | |
CN112073740A (en) | Information display method, device, server and storage medium | |
US10257301B1 (en) | Systems and methods providing a drive interface for content delivery | |
CN113645472B (en) | Interaction method and device based on play object, electronic equipment and storage medium | |
CN113573131B (en) | Data processing method and device applied to live broadcast, electronic equipment and storage medium | |
KR20100092687A (en) | Method for contents playing | |
CN111930927B (en) | Evaluation information display method and device, electronic equipment and readable storage medium | |
US20150373395A1 (en) | Systems And Methods For Merging Media Content | |
US20230208791A1 (en) | Contextual interstitials | |
CN108335121A (en) | Data object information processing method, apparatus and system | |
JP6277504B1 (en) | Server apparatus and computer program used therefor | |
CN111309935A (en) | Song recommendation method and device and computer storage medium | |
CN114466208B (en) | Live broadcast record processing method and device, storage medium and computer equipment | |
CN113727125B (en) | Live broadcast room screenshot method, device, system, medium and computer equipment |
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 |