CN115643463A - Method, device, equipment and storage medium for displaying interactive messages in live broadcast room - Google Patents

Method, device, equipment and storage medium for displaying interactive messages in live broadcast room Download PDF

Info

Publication number
CN115643463A
CN115643463A CN202210904155.2A CN202210904155A CN115643463A CN 115643463 A CN115643463 A CN 115643463A CN 202210904155 A CN202210904155 A CN 202210904155A CN 115643463 A CN115643463 A CN 115643463A
Authority
CN
China
Prior art keywords
live broadcast
message
real
user
interactive message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210904155.2A
Other languages
Chinese (zh)
Inventor
姬照中
徐蕾
王健
徐锐
刘桥
付迎鑫
槐正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210904155.2A priority Critical patent/CN115643463A/en
Publication of CN115643463A publication Critical patent/CN115643463A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a method, a device, equipment and a storage medium for displaying interactive messages in a live broadcast room, which are suitable for being used between a live broadcast server and a live broadcast client, wherein the live broadcast client responds to access operation aiming at the live broadcast room, then plays a video stream corresponding to the live broadcast room sent by the live broadcast room server, generates an interactive message filtering request aiming at the live broadcast room when the message quantity of real-time interactive messages in the live broadcast room is greater than a preset quantity threshold value, the live broadcast server responds to the interactive message filtering request sent by the live broadcast client, determines the live broadcast room corresponding to the interactive message filtering request, acquires the real-time interactive messages corresponding to the live broadcast room and a user characteristic label corresponding to a user account of the live broadcast client, then screens out target interactive messages matched with the user characteristic label from the real-time interactive messages, returns the target interactive messages to the live broadcast client, and displays the target interactive messages by the live broadcast client so as to improve message filtering accuracy and personalized display.

Description

Method, device, equipment and storage medium for displaying interactive messages in live broadcast room
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for displaying an interactive message in a live broadcast room, an electronic device, and a computer-readable storage medium.
Background
In the live broadcasting process, when the number of users watching the same live broadcasting room is too many and different users send a great amount of chat information in the live broadcasting room, a certain user is difficult to quickly acquire the interested chat information from the great amount of chat information, and the users may have the risk of missing the interested chat information due to the excessive chat information in the live broadcasting room, so that the experience of the users watching the live broadcasting is poor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for displaying interactive messages in a live broadcast room, an electronic device and a computer readable storage medium, and aims to solve the problems that in the prior art, a user is difficult to acquire interesting chat information in the live broadcast room and risks of missing the interesting chat information, so that the experience of watching live broadcast is poor.
The embodiment of the invention discloses a method for displaying interactive messages in a live broadcast room, which is suitable for a live broadcast server and comprises the following steps:
responding to an interactive message filtering request sent by a live broadcast client, determining a live broadcast room corresponding to the interactive message filtering request, and acquiring a real-time interactive message corresponding to the live broadcast room and a user characteristic label corresponding to a user account to which the live broadcast client belongs, wherein the interactive message filtering request is a request generated by the live broadcast client responding to the fact that the message quantity of the real-time interactive message is greater than a preset quantity threshold;
screening out target interactive messages matched with the user feature tags from the real-time interactive messages;
and returning the target interactive message to the live broadcast client, wherein the live broadcast client is used for displaying the target interactive message while outputting the video stream corresponding to the live broadcast room.
Optionally, the obtaining of the real-time interactive message corresponding to the live broadcast room and the user feature tag corresponding to the user account to which the live broadcast client belongs includes:
acquiring real-time interactive messages corresponding to the live broadcast room and the message quantity of the real-time interactive messages;
obtaining attention information and historical behavior information corresponding to the user account, wherein the attention information is information which is generated by the live broadcast client and used for representing user preference in response to the input operation of a user on a preference collection page;
and generating a user characteristic label corresponding to the user account of the live client according to the attention information and/or the historical behavior information.
Optionally, the generating a user feature tag corresponding to a user account to which the live broadcast client belongs according to the attention information and/or the historical behavior information includes:
taking a preference feature tag corresponding to the attention information as a user feature tag corresponding to the user account;
and/or taking a behavior information label corresponding to the historical behavior information as a user characteristic label corresponding to the user account.
Optionally, the live broadcast server includes a tag classification model, and the screening out, from the real-time interactive message, a target interactive message matched with the user feature tag includes:
performing word segmentation processing on the real-time interactive message, and splitting the real-time interactive message into at least one word segmentation, wherein each word segmentation corresponds to a word segmentation characteristic;
if each word segmentation feature in the real-time interactive message is an invalid message feature, rejecting the real-time interactive message;
if at least one word segmentation feature exists in the real-time interactive message and is an effective message feature, inputting the effective message feature into the tag classification model, and outputting a message feature tag corresponding to the effective message feature;
and performing similarity calculation according to the message characteristic label and the user characteristic label, and screening out a target interactive message matched with the user characteristic label from the real-time interactive message.
Optionally, the performing similarity calculation according to the message feature tag and the user feature tag, and screening out a target interactive message matched with the user feature tag from the real-time interactive message includes:
respectively extracting a first feature semantic of the message feature tag and a second feature semantic of the user feature tag;
performing semantic similarity calculation on the first feature semantics and the second feature semantics to obtain the tag similarity between the message feature tag and the user feature tag;
and taking the real-time interactive message with the label similarity larger than a preset similarity threshold as a target interactive message matched with the user label characteristic.
The embodiment of the invention also discloses a method for displaying the interactive messages in the live broadcast room, which is suitable for the live broadcast client and comprises the following steps:
responding to an access operation aiming at a live broadcast room, playing a video stream corresponding to the live broadcast room and sent by a live broadcast room server, and generating an interactive message filtering request aiming at the live broadcast room under the condition that the message quantity of real-time interactive messages of the live broadcast room is greater than a preset quantity threshold value;
and acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request, and displaying the target interactive message, wherein the target interactive message is a message screened from real-time interactive messages corresponding to a live broadcast room by the live broadcast server according to a user characteristic label corresponding to a live broadcast client.
Optionally, the live client includes a preference collection page, where the preference collection page includes a plurality of preference tags, and the method further includes:
responding to the selection operation aiming at the preference label, determining at least one target preference label corresponding to the selection operation, and generating attention information corresponding to a user account to which the live client belongs according to label information corresponding to the target preference label;
and sending the attention information to the live broadcast server.
Optionally, the live client includes a behavior information collection page, and further includes:
responding to a user operation aiming at the behavior information collection page, and determining historical behavior information corresponding to the user operation;
and sending the historical behavior information to the live broadcast server.
Optionally, the live broadcasting client includes a message display area, and the acquiring a target interactive message returned by the live broadcasting server in response to the interactive message filtering request, and displaying the target interactive message include:
acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request and a sending time sequence of the target interactive message;
and displaying the target interactive message in the message display area according to the sequence of the sending time sequence.
The embodiment of the invention also discloses a display device of the interactive messages in the live broadcast room, which is suitable for the live broadcast server and comprises:
the system comprises a user characteristic tag obtaining module, a live broadcast server and a live broadcast server, wherein the user characteristic tag obtaining module is used for responding to an interactive message filtering request sent by a live broadcast client, determining a live broadcast room corresponding to the interactive message filtering request, and obtaining a real-time interactive message corresponding to the live broadcast room and a user characteristic tag corresponding to a user account to which the live broadcast client belongs, and the interactive message filtering request is a request generated by the live broadcast client responding to the fact that the message quantity of the real-time interactive message is larger than a preset quantity threshold value;
the target interactive message screening module is used for screening out a target interactive message matched with the user characteristic tag from the real-time interactive message;
and the live broadcast client is used for displaying the target interactive message while outputting the video stream corresponding to the live broadcast room.
Optionally, the user feature tag obtaining module includes:
the message quantity obtaining submodule is used for obtaining the real-time interactive messages corresponding to the live broadcast room and the message quantity of the real-time interactive messages;
the information acquisition sub-module is used for acquiring attention information and historical behavior information corresponding to the user account, wherein the attention information is information which is generated by the live broadcast client and used for representing user preference in response to input operation of a user on a preference collection page;
and the user characteristic label generating submodule is used for generating a user characteristic label corresponding to the user account to which the live client belongs according to the attention information and/or the historical behavior information.
Optionally, the user feature tag generating sub-module is specifically configured to:
taking a preference feature tag corresponding to the attention information as a user feature tag corresponding to the user account;
and/or taking a behavior information label corresponding to the historical behavior information as a user characteristic label corresponding to the user account.
Optionally, the live broadcast server includes a tag classification model, and the target interactive message screening module includes:
the word segmentation characteristic determination sub-module is used for performing word segmentation processing on the real-time interactive message, splitting the real-time interactive message into at least one word segmentation, and enabling each word segmentation to correspond to a word segmentation characteristic;
a real-time interactive message removing sub-module, configured to remove the real-time interactive message if each word segmentation feature in the real-time interactive message is an invalid message feature;
a message feature tag output sub-module, configured to, if at least one word segmentation feature exists in the real-time interactive message as an effective message feature, input the effective message feature into the tag classification model, and output a message feature tag corresponding to the effective message feature;
and the target interactive message screening submodule is used for carrying out similarity calculation according to the message characteristic tags and the user characteristic tags and screening out the target interactive messages matched with the user characteristic tags from the real-time interactive messages.
Optionally, the target interactive message screening submodule is specifically configured to:
respectively extracting a first feature semantic of the message feature tag and a second feature semantic of the user feature tag;
performing semantic similarity calculation on the first feature semantics and the second feature semantics to obtain the tag similarity between the message feature tag and the user feature tag;
and taking the real-time interactive message with the label similarity larger than a preset similarity threshold as a target interactive message matched with the user label characteristic.
The embodiment of the invention also discloses a display device of the interactive messages in the live broadcast room, which is suitable for the live broadcast client and comprises:
the interactive message filtering request generating module is used for responding to access operation aiming at a live broadcast room, playing a video stream corresponding to the live broadcast room and sent by a server of the live broadcast room, and generating an interactive message filtering request aiming at the live broadcast room under the condition that the message quantity of real-time interactive messages of the live broadcast room is greater than a preset quantity threshold value;
and the target interactive message display module is used for acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request and displaying the target interactive message, wherein the target interactive message is a message screened out from the real-time interactive messages corresponding to the live broadcast room by the live broadcast server according to the user characteristic label corresponding to the live broadcast client.
Optionally, the live client includes a preference collection page, where the preference collection page includes a plurality of preference tags, and the apparatus further includes:
the attention information generation module is used for responding to the selection operation of the preference tag, determining at least one target preference tag corresponding to the selection operation, and generating attention information corresponding to a user account to which the live client belongs according to tag information corresponding to the target preference tag;
and the concerned information sending module is used for sending the concerned information to the live broadcast server.
Optionally, the live client includes a behavior information collection page, and the apparatus further includes:
a historical behavior information determination module, configured to determine, in response to a user operation for the behavior information collection page, historical behavior information corresponding to the user operation;
and the historical behavior information sending module is used for sending the historical behavior information to the live broadcast server.
Optionally, the live broadcast client includes a message display area, and the target interactive message display module is specifically configured to:
acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request and a sending time sequence of the target interactive message;
and displaying the target interactive message in the message display area according to the sequence of the sending time sequence.
The embodiment of the invention also discloses electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method according to the embodiment of the present invention when executing the program stored in the memory.
Embodiments of the present invention also disclose a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform a method according to embodiments of the present invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the method is suitable for a live broadcast server and a live broadcast client, the live broadcast client responds to access operation aiming at a live broadcast room, then a video stream corresponding to the live broadcast room sent by a live broadcast room server is played, an interactive message filtering request aiming at the live broadcast room is generated under the condition that the message quantity of real-time interactive messages in the live broadcast room is greater than a preset quantity threshold, the live broadcast server responds to the interactive message filtering request sent by the live broadcast client, the live broadcast room corresponding to the interactive message filtering request is determined, the real-time interactive messages corresponding to the live broadcast room and user characteristic labels corresponding to user accounts to which the live broadcast client belongs are obtained, then target interactive messages matched with the user characteristic labels are screened out from the real-time interactive messages, the target interactive messages are returned to the live broadcast client, the target interactive messages are displayed by the live broadcast client, the live broadcast client sends the interactive message filtering request to the live broadcast server when the message quantity of the real-time interactive messages is greater than the preset quantity threshold, so that users can quickly obtain interesting messages in a large number of the live broadcast messages, and filter different real-time interactive messages, and achieve targeted filtering of different interactive messages in the live broadcast client.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for displaying an interactive message in a live broadcast room according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for displaying an interactive message in a live broadcast room according to an embodiment of the present invention;
fig. 3 is a schematic diagram of processing a real-time interactive message between a live client and a live server provided in an embodiment of the present invention;
fig. 4 is a block diagram of a display apparatus for interactive messages in a live broadcast room according to an embodiment of the present invention;
fig. 5 is a block diagram of a display apparatus for interactive messages in a live broadcast room according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device provided in the embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
Referring to fig. 1, a flowchart illustrating steps of a method for displaying an interactive message in a live broadcast room, provided in an embodiment of the present invention, is applied to a live broadcast server, and specifically may include the following steps:
step 101, responding to an interactive message filtering request sent by a live broadcast client, determining a live broadcast room corresponding to the interactive message filtering request, and acquiring a real-time interactive message corresponding to the live broadcast room and a user characteristic label corresponding to a user account to which the live broadcast client belongs, wherein the interactive message filtering request is a request generated by the live broadcast client responding to the fact that the message quantity of the real-time interactive message is greater than a preset quantity threshold value;
in the embodiment of the invention, the method and the system can be applied to a live broadcast server, when the live broadcast server responds to an interactive message filtering request sent by a live broadcast client, a live broadcast room corresponding to the interactive message filtering request can be determined, and then the real-time interactive message corresponding to the live broadcast room and the user characteristic label corresponding to the user account to which the live broadcast client belongs are obtained.
Optionally, the live broadcast client may be a client that implements live broadcast stream playing and real-time interactive information display, for example, the live broadcast client may be a smart phone terminal, a computer terminal, a tablet terminal, and the like that are capable of communicating, and at least includes a live broadcast stream playing module, a live broadcast room interactive information display, and a live broadcast message processing system (a message extraction module and a message filtering module), where the live broadcast stream playing module may be configured to perform video stream playing to implement real-time video stream playing, the live broadcast room interactive information display may be configured to request interactive information to display according to a return of a server, the live broadcast message processing system may be configured to filter user interactive messages, the message extraction module may be configured to extract interactive messages from a message queue, and the message filtering module is configured to automatically filter live broadcast room interactive messages according to a preference of a user and return to a live broadcast front end to display. The live broadcast server can be a server for providing a streaming live broadcast control service, and at least comprises a streaming live broadcast video broadcast control module and a user big data analysis module, wherein the streaming live broadcast video broadcast control module can be used for providing functions of data distribution, real-time transcoding, video recording, real-time video auditing and the like, and the user big data analysis module can be used for extracting user behavior data and realizing classification of user characteristic labels.
The interactive message filtering request may be a request generated by the live broadcast client in response to a message quantity of the real-time interactive messages being greater than a preset quantity threshold, the message quantity may be a quantity of the real-time interactive messages sent in the live broadcast room for each user account, and the preset quantity threshold may be a quantity value set in advance according to actual requirements of related technicians. For example, if the live broadcast client detects that the number of the real-time interactive messages sent by each user in the live broadcast room is 12 and the preset number threshold is 10, the live broadcast client may generate an interactive message filtering request for the real-time interactive messages. The live room may be a live room that includes a variety of different content, such as a gourmet live room, a shopping live room, a movie projection live room, and so forth. The real-time interactive message can be a message in the form of a bullet screen and the like sent by each user in a live broadcast room after logging in a corresponding user account at a live broadcast client. The user characteristic tag may be a tag generated by the live broadcast server by detecting a user operation performed by each user account at the corresponding live broadcast client, and is used to represent favorite characteristics of each user account.
In a specific implementation, the live broadcast server can acquire real-time interactive messages corresponding to a live broadcast room and the message quantity of the real-time interactive messages in real time, then acquire the attention information and the historical behavior information corresponding to the user account sent by the live broadcast client, then generate a user characteristic label corresponding to the user account to which the live broadcast client belongs according to the attention information and/or the historical behavior information,
optionally, the interest information may be information for characterizing the user preference generated by the live broadcast client in response to an input operation of the user on a preference collection page, the preference collection page may be a user account registration page, or a corresponding floating window pops up in the live broadcast process, and the like, which is not limited in this respect, the preference collection page includes a plurality of preference options, such as gourmet, movie, music, literature, artificial intelligence, and the like, the user may select the preference option in the preference collection interface or actively search for the corresponding preference information in a search bar, and after the live broadcast client responds to the input operation of the user in the preference collection page, the corresponding interest information may be generated based on the preference option or the preference information, for example, the user logs in the user account a and inputs a "movie" in the preference collection page, and then the live broadcast client may generate the interest information of "the user account a movie" that is liked by the live broadcast client.
The historical behavior information may be information generated by the live broadcast server by monitoring, in real time, user operations performed when the user logs in a certain user account in the live broadcast client before the current time, for example, referring to the contents in table 1, where the historical behavior of the user includes but is not limited to: the method comprises the steps of watching video types, praising videos or posts of people and the like, paying attention to video bloggers or topics and the like, replying messages related to the videos or posts, logging in a user account A by the user A, repeatedly watching food videos in a live broadcast client, generating historical behavior information of frequently browsing the food videos by the user account A by the live broadcast server according to the repeatedly watching food videos of the user, logging in a user account B by the user B, browsing travel videos through the live broadcast client, and praising the travel videos, and generating the historical behavior information of favorite travel videos of the user account A by the live broadcast server according to the repeatedly watching and praise travel videos of the user.
Watching video type Like points Attention Recovery
TABLE 1
Specifically, the live broadcast server may use a preference feature tag corresponding to the attention information as a user feature tag corresponding to the user account, and/or use a behavior information tag corresponding to the historical behavior information as a user feature tag corresponding to the user account.
The user feature tags are tags which are used for representing user preferences and at least comprise preference feature tags and behavior information tags, wherein the preference feature tags can be tags which are used for a live broadcast server to extract keywords from the attention information and match the keywords with preset feature tags, and the matching is successful. The behavior information tag is a tag which can be successfully matched by the live broadcast server through matching the historical behavior information with the preset behavior information in the preset feature tag, for example, the live broadcast server monitors the historical behavior information of the user who frequently browses the food videos in the live broadcast client through the user account A, and then the live broadcast server can match the historical behavior information of the user who frequently browses the food videos with the preset behavior information in each preset feature tag, and determines that the behavior information tag corresponding to the historical behavior information of the user who frequently browses the food videos is that the user account A is interested in the food.
Step 102, screening out target interactive messages matched with the user characteristic labels from the real-time interactive messages;
in the embodiment of the invention, the live broadcast server can screen out at least one target interactive message from a plurality of real-time interactive messages through the user characteristic tag, and the target interactive message can display the message corresponding to the user characteristic tag for the live broadcast client.
In specific implementation, a user big data analysis module in a live broadcast server at least comprises a tag classification model, the live broadcast server can perform word segmentation processing on real-time interactive messages, then the real-time interactive messages are segmented into at least one word, each word corresponds to a word segmentation feature, if each word segmentation feature in the real-time interactive messages is an invalid message feature, the real-time interactive messages are removed, if at least one word segmentation feature exists in the real-time interactive messages and is an valid message feature, the valid message feature is input into the tag classification model, message feature tags corresponding to the valid message feature are output, similarity calculation is performed according to the message feature tags and the user feature tags, and target interactive messages matched with the user feature tags are screened from the real-time interactive messages.
Optionally, the word segmentation feature may be a feature corresponding to the segmented word after the real-time interactive message is subjected to word segmentation processing, and the feature includes an invalid message feature and an valid message feature, where the invalid message feature may be a feature without word meaning, such as an expression, a punctuation mark, and the like, and the valid message feature may be a feature with word meaning, such as "movie", "food", "travel", and the like. The tag classification model can be a model for extracting the message feature tags corresponding to the real-time interactive messages by analyzing effective message features in the user big data analysis model.
In an example of the present invention, it is assumed that a live broadcast client corresponding to a user account a sends an interactive message filtering request to a live broadcast server, it is determined that a live broadcast room corresponding to the interactive message filtering request is a food live broadcast room, the number of the real-time interactive messages in the food live broadcast room is 600, and the preset number threshold is 500, the live broadcast server may perform word segmentation processing on 600 real-time interactive messages respectively according to a user feature tag of "the user account a is interested in food" corresponding to the user account a, and obtain word segmentation features of each word segmentation, if 300 real-time interactive messages exist in the real-time interactive messages are expressions or punctuations, each word segmentation feature of the 300 real-time interactive messages is taken as an invalid message feature, and the 300 real-time interactive messages are removed from the live broadcast room, then the valid message features of the remaining 200 real-time interactive messages are input into a tag classification model, and each message feature tag corresponding to each valid message feature is output, and each message feature tag of interest of the remaining 200 real-time interactive messages is selected from the tag of the user account a user account, and the interactive interest of the remaining 200 interactive messages is calculated from the interactive interest of the target food interactive messages.
Specifically, a first feature semantic meaning of the message feature tag and a second feature semantic meaning of the user feature tag are respectively extracted, semantic similarity calculation is carried out on the first feature semantic meaning and the second feature semantic meaning, tag similarity between the message feature tag and the user feature tag is obtained, and the real-time interactive message with the tag similarity larger than a preset similarity threshold value is used as a target interactive message matched with the user tag feature.
Alternatively, the feature semantics may be actual meanings of feature tags, which include a first feature semantic corresponding to the message feature tag and a second feature semantic corresponding to the user feature tag, for example, the first feature semantic corresponding to the message feature tag may be "real-time interactive message (1) is a message related to food, real-time interactive message (2) is a message related to travel," real-time interactive message (3) is a message related to literature, "and the second feature semantic corresponding to the user feature tag may be" user feature tag is a tag related to food. The tag similarity may be a similarity between the message feature tag and the user feature tag, which is used to determine whether the real-time interactive message is the target interactive message, and the preset similarity threshold may be a similarity set in advance according to actual requirements of related technicians, for example, the preset similarity threshold is 60%, 80%, and the like.
In another example of the present invention, assuming that a user feature tag of a user account a to which a live client belongs is "a user account a is interested in food", a real-time interactive message (1), a real-time interactive message (2) and a real-time interactive message (3) exist in a live broadcast room, at least one word segmentation feature is an effective message feature, and a message feature tag a is extracted through a tag classification model as "the real-time interactive message (1) is a message related to food", a message feature tag b is "the real-time interactive message (2) is a message related to travel", and a message feature tag c is "the real-time interactive message (3) is a message related to literature", then semantic similarity calculation can be performed on the message feature tag a, the message feature tag b, the message feature tag c and the user feature tag, and a tag similarity calculation can be obtained, and the tag similarity between the message feature tag and the user feature tag is: and if the real-time interactive message (1) > the real-time interactive message (2) > the real-time interactive message (3) and the label similarity of the real-time interactive message (1) is greater than a preset similarity threshold, taking the real-time interactive message (1) as a target interactive message matched with the user feature label.
And 103, returning the target interactive message to the live broadcast client, wherein the live broadcast client is used for displaying the target interactive message while outputting the video stream corresponding to the live broadcast room.
In the embodiment of the invention, after the live broadcast server screens the target interactive message from the real-time interactive messages, the target interactive message can be returned to the live broadcast client terminal sending the interactive message filtering request, and the live broadcast client terminal can display the target interactive message by adopting a corresponding display style while outputting the video stream corresponding to the live broadcast room.
Referring to fig. 2, a flowchart illustrating steps of a method for displaying an interactive message in a live broadcast room, provided in the embodiment of the present invention, is applied to a live broadcast client, and specifically may include the following steps:
step 201, responding to an access operation aiming at a live broadcast room, playing a video stream corresponding to the live broadcast room and sent by a server of the live broadcast room, and generating an interactive message filtering request aiming at the live broadcast room under the condition that the message quantity of real-time interactive messages of the live broadcast room is greater than a preset quantity threshold value;
in the embodiment of the invention, the method and the device can be applied to a live broadcast client, a user can access a live broadcast room through the live broadcast client to request the live broadcast server for the video stream corresponding to the live broadcast room, and the live broadcast client can generate the interactive message filtering request aiming at the current live broadcast room under the condition that the message quantity of the real-time interactive messages in the live broadcast room is greater than the preset quantity threshold value.
In an example of the present invention, it is assumed that the preset number threshold is 500, a user logs in a user account a in a live broadcast client, and performs an access operation to a live broadcast room by clicking a live broadcast link of a certain live broadcast room or directly selecting a live broadcast window of a certain live broadcast room in a live broadcast application program, after detecting the access operation to the live broadcast room by the live broadcast client, a live broadcast server sends a video stream corresponding to the live broadcast room to the live broadcast client, the live broadcast client can play the video stream, and the live broadcast client can generate an interactive message filtering request to a current live broadcast room if it obtains that 600 real-time interactive messages exist in the current live broadcast room.
As an example, the live broadcast client includes a preference collection page, the preference collection page includes a plurality of preference tags, at least one target preference tag corresponding to a selection operation is determined in response to the selection operation for the preference tags, attention information corresponding to a user account to which the live broadcast client belongs is generated according to tag information corresponding to the target preference tag, and the attention information is sent to the live broadcast server.
Alternatively, the preference tags may be different types of tags presented on the preference collection page, such as "robot", "chip", "communication", etc. presenting technology classes in the preference collection page, music classes: "chinese song", "pure music", "european rock", etc., of the gourmet category: for example, "home dishes", "cake products", "western meals", and the like, when the user selects a preference tag of music, the selected preference tag may be used as the target preference tag. The tag information may be meaning information extracted from the target preference tag, for example, if the target preference tag is "pure music", the tag information may be "related to music", so that attention information corresponding to the user account to which the live broadcast client belongs is generated as "user account a likes music", and then the live broadcast client may send the attention information of "user account a likes music" to the live broadcast server.
As another example, the live client further includes a behavior information collection page, and in response to a user operation with respect to the behavior information collection page, determines historical behavior information corresponding to the user operation, and sends the historical behavior information to the live server.
Alternatively, the information collection page may be a page in which a user account is logged in the live broadcast client and a user operation is performed, for example, in an application program that plays a video stream in a live broadcast room, a user repeatedly watches a certain type of video in the application program, and the live broadcast client may determine historical behavior information corresponding to "the user repeatedly watches a certain type of video in the application program", and then send the historical behavior information to the live broadcast server.
Step 202, obtaining a target interactive message returned by the live broadcast server aiming at the interactive message filtering request, and displaying the target interactive message, wherein the target interactive message is a message screened from real-time interactive messages corresponding to a live broadcast room by the live broadcast server according to a user characteristic label corresponding to a live broadcast client.
In a specific implementation, the live broadcast client includes a message display area, and may first obtain a target interactive message returned by the live broadcast server in response to the interactive message filtering request and a sending time sequence of the target interactive message, and then display the target interactive message in the message display area according to the sending time sequence.
Optionally, the message display area may be displayed in the form of a message list, a bullet screen area, or a floating window in the top, bottom, left, or right area in the live client, which is not limited by the present invention. The sending time sequence may be sending time of the target interaction message, and the target interaction message is displayed in the message display area according to the sequence of the sending time, for example, if there is a target interaction message (1), a target interaction message (2), and a target interaction message (3), the sending time of the target interaction message (1) is 16.
It should be noted that, the embodiments of the present invention include, but are not limited to, the above examples, and it can be understood that, under the guidance of the idea of the embodiments of the present invention, a person skilled in the art may also perform setting according to actual needs, and the present invention is not limited to this.
In the embodiment of the invention, the method is suitable for a live broadcast server and a live broadcast client, the live broadcast client responds to access operation aiming at a live broadcast room, then a video stream corresponding to the live broadcast room sent by a live broadcast room server is played, an interactive message filtering request aiming at the live broadcast room is generated under the condition that the message quantity of real-time interactive messages in the live broadcast room is greater than a preset quantity threshold, the live broadcast server responds to the interactive message filtering request sent by the live broadcast client, the live broadcast room corresponding to the interactive message filtering request is determined, the real-time interactive messages corresponding to the live broadcast room and user characteristic labels corresponding to user accounts to which the live broadcast client belongs are obtained, then target interactive messages matched with the user characteristic labels are screened out from the real-time interactive messages, the target interactive messages are returned to the live broadcast client, the target interactive messages are displayed by the live broadcast client, the live broadcast client sends the interactive message filtering request to the live broadcast server when the message quantity of the real-time interactive messages is greater than the preset quantity threshold, so that users can quickly obtain interesting messages in a large number of the live broadcast messages, and filter different real-time interactive messages, and achieve targeted filtering of different interactive messages in the live broadcast client.
In order to make the technical solutions of the embodiments of the present invention better understood by those skilled in the art, the following is an exemplary description by way of an example:
referring to fig. 3, a schematic diagram illustrating processing of a real-time interactive message between a live client and a live server provided in the embodiment of the present invention is shown, and the processing is specifically implemented by the following steps:
s1, a user enters a live broadcast room and starts to play live broadcast video.
S2, the live broadcast starts to generate real-time interactive messages, the message quantity of the real-time interactive messages is judged, and when the message quantity is larger than a preset quantity threshold value, a message filtering algorithm is started.
And S3, a live broadcast message processing module in the live broadcast server firstly acquires a user characteristic label, and the user characteristic label is calculated and stored by a live broadcast background service of the live broadcast server.
And S4, acquiring the real-time interactive message of the user, and acquiring the current real-time interactive message from the message queue.
S5, applying a similarity calculation algorithm to calculate the matching degree between the real-time interactive message and the user feature tag, and during calculation, firstly applying a deep learning method to extract the message feature tag from the real-time interactive message
And S6, carrying out similarity calculation on the message characteristic label of the real-time interactive information and the user characteristic label. And if the calculation result is greater than the preset similarity threshold value, the real-time interactive message is taken as a target interactive message and returned to the live broadcast client for display, otherwise, the real-time interactive message is filtered out and is not displayed.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a structure of a display apparatus for interactive messages in a live broadcast room according to an embodiment of the present invention is shown, where the apparatus is adapted to a live broadcast server, and specifically includes the following modules:
a user feature tag obtaining module 401, configured to determine, in response to an interactive message filtering request sent by a live broadcast client, a live broadcast room corresponding to the interactive message filtering request, and obtain a real-time interactive message corresponding to the live broadcast room and a user feature tag corresponding to a user account to which the live broadcast client belongs, where the interactive message filtering request is a request generated by the live broadcast client when a message amount of the live broadcast client in response to the real-time interactive message is greater than a preset amount threshold;
a target interactive message screening module 402, configured to screen out, from the real-time interactive message, a target interactive message that matches the user feature tag;
a target interactive message returning module 403, configured to return the target interactive message to the live broadcast client, where the live broadcast client is configured to display the target interactive message while outputting a video stream corresponding to the live broadcast.
In an optional embodiment, the user feature tagging module 401 includes:
the message quantity acquisition submodule is used for acquiring the real-time interactive messages corresponding to the live broadcast room and the message quantity of the real-time interactive messages;
the information acquisition sub-module is used for acquiring attention information and historical behavior information corresponding to the user account, wherein the attention information is information which is generated by the live broadcast client and used for representing user preference in response to the input operation of a user on a preference collection page;
and the user characteristic label generating submodule is used for generating a user characteristic label corresponding to the user account to which the live client belongs according to the attention information and/or the historical behavior information.
In an optional embodiment, the user feature tag generating sub-module is specifically configured to:
taking a preference feature tag corresponding to the attention information as a user feature tag corresponding to the user account;
and/or taking a behavior information label corresponding to the historical behavior information as a user characteristic label corresponding to the user account.
In an optional embodiment, the live server includes a tag classification model, and the target interaction message screening module 402 includes:
the word segmentation characteristic determination sub-module is used for performing word segmentation processing on the real-time interactive message, splitting the real-time interactive message into at least one word segmentation, and enabling each word segmentation to correspond to a word segmentation characteristic;
a real-time interactive message removing sub-module, configured to remove the real-time interactive message if each word segmentation feature in the real-time interactive message is an invalid message feature;
a message feature tag output sub-module, configured to, if at least one word segmentation feature exists in the real-time interactive message as an effective message feature, input the effective message feature into the tag classification model, and output a message feature tag corresponding to the effective message feature;
and the target interactive message screening submodule is used for carrying out similarity calculation according to the message characteristic tags and the user characteristic tags and screening out the target interactive messages matched with the user characteristic tags from the real-time interactive messages.
In an optional embodiment, the target interaction message screening sub-module is specifically configured to:
respectively extracting a first feature semantic of the message feature tag and a second feature semantic of the user feature tag;
performing semantic similarity calculation on the first feature semantics and the second feature semantics to obtain the tag similarity between the message feature tag and the user feature tag;
and taking the real-time interactive message with the label similarity larger than a preset similarity threshold as a target interactive message matched with the user label characteristic.
Referring to fig. 5, a block diagram of a structure of a display apparatus for interactive messages in a live broadcast room provided in the embodiment of the present invention is shown, where the apparatus is suitable for a live broadcast client, and specifically includes the following modules:
an interactive message filtering request generating module 501, configured to play, in response to an access operation for a live broadcast room, a video stream corresponding to the live broadcast room sent by a server in the live broadcast room, and generate an interactive message filtering request for the live broadcast room when a message quantity of a real-time interactive message in the live broadcast room is greater than a preset quantity threshold;
a target interactive message display module 502, configured to obtain a target interactive message returned by the live broadcast server for the interactive message filtering request, and display the target interactive message, where the target interactive message is a message screened by the live broadcast server from real-time interactive messages corresponding to a live broadcast room according to a user feature tag corresponding to a live broadcast client.
In an optional embodiment, the live client includes a preference collection page, which includes several preference tags, and the apparatus further includes:
the attention information generation module is used for responding to the selection operation of the preference tag, determining at least one target preference tag corresponding to the selection operation, and generating attention information corresponding to a user account to which the live client belongs according to tag information corresponding to the target preference tag;
and the attention information sending module is used for sending the attention information to the live broadcast server.
In an optional embodiment, the live client includes a behavior information collection page, and the apparatus further includes:
a historical behavior information determination module, configured to determine, in response to a user operation for the behavior information collection page, historical behavior information corresponding to the user operation;
and the historical behavior information sending module is used for sending the historical behavior information to the live broadcast server.
In an optional embodiment, the live client includes a message display area, and the target interaction message display module 502 is specifically configured to:
acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request and a sending time sequence of the target interactive message;
and displaying the target interactive message in the message display area according to the sequence of the sending time sequence.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In addition, an embodiment of the present invention further provides an electronic device, including: the processor, the memory, and the computer program stored in the memory and capable of running on the processor, when executed by the processor, implement the processes of the above-mentioned display method embodiment of the interactive message in the live broadcast room, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the above-mentioned display method for interactive messages in a live broadcast room, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 6 is a schematic structural diagram of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a process of sending and receiving information or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, accessing streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 606 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the luminance of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby integrally monitoring the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
It should be noted that, in this document, 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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that many more modifications and variations can be made without departing from the spirit of the invention and the scope of the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A method for displaying interactive messages in a live broadcast room is characterized by comprising the following steps:
responding to an interactive message filtering request sent by a live broadcast client, determining a live broadcast room corresponding to the interactive message filtering request, and acquiring a real-time interactive message corresponding to the live broadcast room and a user characteristic label corresponding to a user account to which the live broadcast client belongs, wherein the interactive message filtering request is a request generated by the live broadcast client responding to the fact that the message quantity of the real-time interactive message is larger than a preset quantity threshold;
screening out target interactive messages matched with the user feature tags from the real-time interactive messages;
and returning the target interactive message to the live broadcast client, wherein the live broadcast client is used for displaying the target interactive message while outputting the video stream corresponding to the live broadcast room.
2. The method of claim 1, wherein the obtaining of the real-time interactive message corresponding to the live broadcast room and the user feature tag corresponding to the user account to which the live broadcast client belongs comprises:
acquiring real-time interactive messages corresponding to the live broadcast room and the message quantity of the real-time interactive messages;
obtaining attention information and historical behavior information corresponding to the user account, wherein the attention information is information which is generated by the live broadcast client and used for representing user preference in response to input operation of a user on a preference collection page;
and generating a user characteristic label corresponding to the user account of the live client according to the attention information and/or the historical behavior information.
3. The method of claim 2, wherein generating a user feature tag corresponding to a user account to which the live client belongs according to the attention information and/or the historical behavior information comprises:
taking a preference feature tag corresponding to the attention information as a user feature tag corresponding to the user account;
and/or taking a behavior information label corresponding to the historical behavior information as a user characteristic label corresponding to the user account.
4. The method of claim 1, wherein the live server comprises a tag classification model, and wherein the filtering out the target interactive messages matching the user feature tags from the real-time interactive messages comprises:
performing word segmentation processing on the real-time interactive message, and splitting the real-time interactive message into at least one word segmentation, wherein each word segmentation corresponds to a word segmentation characteristic;
if each word segmentation feature in the real-time interactive message is an invalid message feature, rejecting the real-time interactive message;
if at least one word segmentation feature exists in the real-time interactive message and is an effective message feature, inputting the effective message feature into the tag classification model, and outputting a message feature tag corresponding to the effective message feature;
and performing similarity calculation according to the message characteristic label and the user characteristic label, and screening out the target interactive message matched with the user characteristic label from the real-time interactive message.
5. The method according to claim 4, wherein the performing similarity calculation according to the message feature tag and the user feature tag to screen out a target interactive message matching the user feature tag from the real-time interactive messages comprises:
respectively extracting a first feature semantic of the message feature tag and a second feature semantic of the user feature tag;
performing semantic similarity calculation on the first feature semantics and the second feature semantics to obtain the tag similarity between the message feature tag and the user feature tag;
and taking the real-time interactive message with the tag similarity larger than a preset similarity threshold as a target interactive message matched with the user tag characteristics.
6. A method for displaying interactive messages in a live broadcast room is characterized by comprising the following steps:
responding to an access operation aiming at a live broadcast room, playing a video stream corresponding to the live broadcast room and sent by a live broadcast room server, and generating an interactive message filtering request aiming at the live broadcast room under the condition that the message quantity of real-time interactive messages of the live broadcast room is greater than a preset quantity threshold value;
and acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request, and displaying the target interactive message, wherein the target interactive message is a message screened out from real-time interactive messages corresponding to the live broadcast room by the live broadcast server according to a user characteristic label corresponding to a live broadcast client.
7. The method of claim 6, wherein the live client comprises a preference collection page comprising a number of preference tabs, and further comprising:
responding to selection operation aiming at the preference label, determining at least one target preference label corresponding to the selection operation, and generating attention information corresponding to a user account to which the live broadcast client belongs according to label information corresponding to the target preference label;
and sending the attention information to the live broadcast server.
8. The method of claim 7, wherein the live client comprises a behavior information gathering page, further comprising:
responding to a user operation aiming at the behavior information collection page, and determining historical behavior information corresponding to the user operation;
and sending the historical behavior information to the live broadcast server.
9. The method of claim 6, wherein the live client includes a message display area, and wherein the obtaining the target interactive message returned by the live server for the interactive message filtering request and displaying the target interactive message comprises:
acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request and a sending time sequence of the target interactive message;
and displaying the target interactive message in the message display area according to the sequence of the sending time sequence.
10. A display device for interactive messages in a live broadcast room, comprising:
the system comprises a user characteristic tag obtaining module, a live broadcast server and a live broadcast server, wherein the user characteristic tag obtaining module is used for responding to an interactive message filtering request sent by a live broadcast client, determining a live broadcast room corresponding to the interactive message filtering request, and obtaining a real-time interactive message corresponding to the live broadcast room and a user characteristic tag corresponding to a user account to which the live broadcast client belongs, and the interactive message filtering request is a request generated by the live broadcast client responding to the fact that the message quantity of the real-time interactive message is larger than a preset quantity threshold value;
the target interactive message screening module is used for screening out a target interactive message matched with the user characteristic tag from the real-time interactive message;
and the target interactive message returning module is used for returning the target interactive message to the live broadcast client, and the live broadcast client is used for displaying the target interactive message while outputting the video stream corresponding to the live broadcast room.
11. A display device for interactive messages in a live room, comprising:
the interactive message filtering request generating module is used for responding to the access operation aiming at the live broadcast room, playing the video stream corresponding to the live broadcast room and sent by the server of the live broadcast room, and generating an interactive message filtering request aiming at the live broadcast room under the condition that the message quantity of the real-time interactive messages of the live broadcast room is greater than a preset quantity threshold value;
and the target interactive message display module is used for acquiring a target interactive message returned by the live broadcast server aiming at the interactive message filtering request and displaying the target interactive message, wherein the target interactive message is a message screened from real-time interactive messages corresponding to the live broadcast room by the live broadcast server according to a user characteristic label corresponding to a live broadcast client.
12. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing a program stored on the memory, implementing the method of any one of claims 1-5 or 6-9.
13. A computer-readable storage medium having stored thereon instructions, which when executed by one or more processors, cause the processors to perform the method of any one of claims 1-5 or 6-9.
CN202210904155.2A 2022-07-28 2022-07-28 Method, device, equipment and storage medium for displaying interactive messages in live broadcast room Pending CN115643463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210904155.2A CN115643463A (en) 2022-07-28 2022-07-28 Method, device, equipment and storage medium for displaying interactive messages in live broadcast room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210904155.2A CN115643463A (en) 2022-07-28 2022-07-28 Method, device, equipment and storage medium for displaying interactive messages in live broadcast room

Publications (1)

Publication Number Publication Date
CN115643463A true CN115643463A (en) 2023-01-24

Family

ID=84940042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210904155.2A Pending CN115643463A (en) 2022-07-28 2022-07-28 Method, device, equipment and storage medium for displaying interactive messages in live broadcast room

Country Status (1)

Country Link
CN (1) CN115643463A (en)

Similar Documents

Publication Publication Date Title
CN110381371B (en) Video editing method and electronic equipment
CN108632658B (en) Bullet screen display method and terminal
CN109857905B (en) Video editing method and terminal equipment
CN108494665B (en) Group message display method and mobile terminal
CN110557683B (en) Video playing control method and electronic equipment
CN112689201B (en) Barrage information identification method, barrage information display method, server and electronic equipment
CN110798397B (en) File sending method and device and electronic equipment
CN109561211B (en) Information display method and mobile terminal
CN111143015B (en) Screen capturing method and electronic equipment
CN108616448B (en) Information sharing path recommendation method and mobile terminal
CN109165320B (en) Information collection method and mobile terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN110866038A (en) Information recommendation method and terminal equipment
CN108460817B (en) Jigsaw puzzle method and mobile terminal
CN111491211B (en) Video processing method, video processing device and electronic equipment
CN110162653B (en) Image-text sequencing recommendation method and terminal equipment
CN108391253B (en) application program recommendation method and mobile terminal
CN107992615B (en) Website recommendation method, server and terminal
CN107728877B (en) Application recommendation method and mobile terminal
CN111212316B (en) Video generation method and electronic equipment
CN111143614A (en) Video display method and electronic equipment
CN110544287B (en) Picture allocation processing method and electronic equipment
CN110062281B (en) Play progress adjusting method and terminal equipment thereof
CN109063076B (en) Picture generation method and mobile terminal
CN110795002A (en) Screenshot method and terminal 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