CN108055593B - Interactive message processing method and device, storage medium and electronic equipment - Google Patents
Interactive message processing method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108055593B CN108055593B CN201711385244.6A CN201711385244A CN108055593B CN 108055593 B CN108055593 B CN 108055593B CN 201711385244 A CN201711385244 A CN 201711385244A CN 108055593 B CN108055593 B CN 108055593B
- Authority
- CN
- China
- Prior art keywords
- key information
- interactive message
- target key
- interface
- client
- 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.)
- Active
Links
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 115
- 238000003672 processing method Methods 0.000 title description 3
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000012545 processing Methods 0.000 claims abstract description 23
- 238000004458 analytical method Methods 0.000 claims abstract description 20
- 238000007619 statistical method Methods 0.000 claims abstract description 19
- 230000011218 segmentation Effects 0.000 claims description 10
- 238000000605 extraction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims 4
- 230000003796 beauty Effects 0.000 description 18
- 235000009508 confectionery Nutrition 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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/4884—Data services, e.g. news ticker for displaying subtitles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- 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/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a method, a device, a storage medium and an electronic device for processing an interactive message, wherein the method comprises the following steps: when an interactive message is received, displaying the interactive message on an interface; performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message; and performing statistical analysis on the key information to obtain target key information meeting conditions, and displaying the target key information on an interface. Aims to solve the problem of missing of hot or important interactive topics.
Description
Technical Field
The application relates to the internet field, especially relates to the internet live broadcast field.
Background
The barrage message is a common interactive message in the field of internet live broadcast and the field of video playing, and audiences can participate in comment and interaction by sending the barrage when watching the live broadcast.
At present, due to the vigorous development of the live broadcast industry, more and more audiences watch live broadcast programs and interact in a bullet screen mode, so that massive bullet screen messages can appear in one live broadcast program, and a plurality of hot or important bullet screen messages are quickly replaced by new bullet screen messages and are ignored.
Disclosure of Invention
The application provides a bullet screen processing method and device, a storage medium and electronic equipment, and aims to solve the problem of missing of hot topics or important interactive topics.
Specifically, the method is realized through the following technical scheme:
a method for processing an interactive message, the method comprising:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and performing statistical analysis on the key information to obtain target key information meeting conditions, and displaying the target key information on an interface.
In some examples, the interactive message includes any one of: barrage messages, chat messages, and leave messages.
In some examples, performing statement analysis on the received interactive message includes:
and performing word segmentation and feature extraction on the interactive message to acquire key information.
In some examples, the display parameters of the displayed target key information are determined according to the result of the statistical analysis, and the display parameters include at least any one of the following: font, word spacing, font size, and color.
In some examples, the presenting the target key information on the interface includes:
displaying each target key information in a target area, wherein the target area is an area with a preset shape, and the preset shape comprises any one of the following parts: heart-shaped, star-shaped, circular, character and figure, letter and figure, numeral and three-dimensional model surface.
In some examples, the presenting the target key information on the interface includes:
generating a shared resource based on the target key information, wherein the shared resource comprises a picture or a video;
and when responding to a sharing request of a user, sending related information of the shared resource to a server pointed by the sharing request, wherein the related information comprises an access address of the shared resource.
In some examples, the interactive message is a barrage message displayed on a live client, and the live client comprises an anchor client and an audience client; target key information is respectively displayed on the anchor client and the audience client; further comprising the steps of:
sending the target key information to other live broadcast clients in a preset mode so that the other live broadcast clients can be displayed on an interface; the predetermined manner includes: the method comprises the steps of generating a picture based on target key information, accessing an address of the target key information and carrying a data packet of the target key information.
In some examples, the interactive message is a barrage message displayed on a live client, and the live client comprises an anchor client and an audience client; the target key information is presented to the anchor client.
In some examples, before displaying the target key information on the interface, the method further comprises the following steps:
and determining whether the current live broadcast is finished or not, and if not, continuously acquiring the interactive message.
An interactive message processing apparatus, comprising:
a processing module: the interactive message display device is used for displaying the interactive message on an interface when the interactive message is received; performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message; performing statistical analysis on the key information to obtain target key information meeting conditions;
a display module: and the method is used for displaying the target key information on the interface.
An electronic device, comprising:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the following operations:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and performing statistical analysis on the key information to obtain target key information meeting conditions, and displaying the target key information on an interface.
A storage medium having stored thereon a computer program for execution by a processor to:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and performing statistical analysis on the key information to obtain target key information meeting conditions, and displaying the target key information on an interface.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the method provided by the embodiment of the application, the received interactive message is analyzed by sentences, and key information is extracted and used for representing the semantics of the interactive message; the key information is subjected to statistical analysis to obtain target key information meeting conditions, and the target key information is displayed on an interface, so that the displayed target key information can help a user to quickly and accurately know hot topics or important topics discussed by the user participating in interaction, and the problem of missing the hot topics or the important topics is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a partial flowchart of a method for processing an interactive message according to an exemplary embodiment of the present application;
FIG. 2 is a schematic view of an interface shown in an exemplary embodiment of the present application;
FIG. 3 is a diagram of a live scene shown in an exemplary embodiment of the present application;
fig. 4 is a partial flowchart illustrating a method for processing a live barrage message according to an exemplary embodiment of the present application;
FIG. 5 is a diagram illustrating a sharing window in accordance with an exemplary embodiment of the present application;
FIG. 6 is a diagram illustrating a shared resource according to an exemplary embodiment of the present application;
FIG. 7 is an interface diagram of a live client shown in an exemplary embodiment of the present application;
FIG. 8 is a logical block diagram of an electronic device shown in an exemplary embodiment of the present application;
fig. 9 is a logic block diagram of an apparatus for loading an embedded web page according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various messages, these messages should not be limited to these terms. These terms are only used to distinguish messages of the same type from each other. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, a partial flowchart of a method for processing an interactive message according to an exemplary embodiment of the present application is shown; the method comprises the following steps:
s101: when an interactive message is received, displaying the interactive message on an interface;
s102: and carrying out statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message.
In some examples, the statement analysis of the received interactive message proposed in this step may be: and performing word segmentation and feature extraction on the interactive message to acquire key information. The word segmentation means: the process of recombining successive word sequences into word sequences according to a certain criterion, for example: the interactive message is: your good, i.e. Chinese, the result of word segmentation may be: you/good/me/yes/chinese. Certainly, since common words may be different in different industries or scenes, when the word segmentation function is used, a self-defined dictionary may be designated to improve the accuracy of word segmentation. The feature extraction refers to: and extracting the key part of the bullet screen message after word segmentation as key information. For example: some common or non-keyword 'you/good/me/yes' in 'you/good/me/yes/Chinese' may be deleted during feature extraction, and key information is acquired: chinese people. Of course, the above-mentioned technical manner of word segmentation and feature extraction is only one exemplary manner shown in the present application, and the sentence analysis is performed on the received interactive message, and the key information can be extracted by other manners, such as a machine learning technique.
It is understood that one interactive message may correspond to extraction of more than one or one key information, or may not extract any key information. For example, referring to table 1, the key information extracted from the first interactive message "anchor beauty" in table 1 may be "beauty", and the second interactive message "anchor beauty, and sweet sound! The extracted key information can be 'beauty' and 'sound sweet', and the fifth interactive message 'Yita' does not extract any key information.
TABLE 1
S103: and performing statistical analysis on the key information to obtain target key information meeting conditions, and displaying the target key information on an interface.
In some examples, in this step, performing statistical analysis on the key information to obtain target key information that satisfies the condition may be: and performing statistical analysis on the word frequency of the key information, for example: referring to table 1 and fig. 2, receiving the interactive message includes: "anchor good beauty", "anchor not only beautiful but also sound sweet", "dance beauty beautifully", "singing good and good, sound sweet", "Yita" and "good beauty", show the interactive message in the interactive message column 202 of the interface 201, obtain the key information of the above 6 pieces of interactive message, the corresponding relationship between the interactive message and the obtained key information is shown in table 1, for example, statistics is performed on the frequency of occurrence of the key information, and the statistical result is as follows: "beauty": 3 times; "sweet in sound": 2 times; "dance appearance", "beautifully beauty", "singing", and "good hearing" are each 1 time, if the target key information is the key information arranged in the first two digits. In this embodiment, "beauty" and "sweet-sounding" are the target key information 203, and then the target key information 203 is displayed. Of course, in addition to performing statistical analysis on the occurrence frequency (word frequency) of the key information, the key information may be subjected to word meaning division, for example, "beautiful" and "American" are that the near-meaning words all belong to the exterior class, and may be divided into a class, and the target key information is determined according to the number of the key information in each class of information, and some nonsense words, numbers, infringement of morality, law and informality may be filtered out.
The interactive message provided by the embodiment of the application may be: barrage messages in internet live broadcast, barrage messages in video playing, chat messages in social platform groups, messages left or comment messages in social platforms and the like. Of course, in some examples, the interactive message may not be presented on the interface after being received. Whether the interactive message is shown or not depends on the specific application scenario.
For convenience of understanding, the interactive message is described as an example of a barrage message in internet live broadcast. Fig. 3 is a schematic view of an application scenario for implementing live broadcasting according to an embodiment of the present application, where a first viewer client 311, a second viewer client 321, and an anchor client 331 are respectively installed on electronic devices 310, 320, and 330, and the anchor client 331 can call a camera to record a video, take a photo, or make live data through other manners such as screen capture, and then send the live data to the server 300 through a network. Both the viewer client and the anchor client may send the input interactive message (e.g., a barrage message) to the server 300. The server 300 is configured to provide background services of internet live broadcast, for example, store a corresponding relationship between each anchor client and each audience client, and distribute live broadcast data and interactive messages, and when the first audience client 311, the second audience client 321, and the anchor client 331 are in the same live broadcast room, the anchor client 331 can share live broadcast data to be displayed to the first audience client 311 and the second audience client 321 in the same live broadcast room. After the user of any client inputs and sends the interactive message in the bullet screen input box, the interactive message is uploaded to the server, and the server distributes the bullet screen message to the corresponding client in the live broadcast room.
The server provided by the embodiment of the present application may be a server device, may also be a generic term of a server system, and may also be at least one piece of software installed on the server device.
The electronic device includes both a device for wireless signal receiver, which is only a device for wireless signal receiver without transmit capability, and a device for receiving and transmitting hardware, which has a device for receiving and transmitting hardware capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (personal communications Service), which may combine voice, data processing, facsimile and/or data communications capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global positioning system) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "electronic Device" used herein may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, and the like.
The live broadcast room is a social network platform, an instant messaging platform and the like which are aggregated by a plurality of users, the users enter the live broadcast room in a client logging mode, the users exist in the live broadcast room with the identities of the members, and the members with various identities, such as audiences, anchor broadcasters and the like, are contained in the same live broadcast room. The user can arbitrarily join or quit the live broadcast room. The live broadcast room can be created or dismissed for users with certain authority (anchor). Within the live room, any number of members may interact with chat (e.g., in the form of a barrage message), conversation, video, or push an electronic gift. The client side of the same live broadcast room can see the same live broadcast picture and receive the same barrage message.
The "client," "anchor client," "viewer client," "live client" may refer to software installed on an electronic device, in some cases the anchor client and viewer client are integrated on one piece of software, the client may be referred to as the anchor client when the identity of the user is anchor, and the client may be referred to as the viewer client when the identity of the user is viewer.
In an example, referring to fig. 4, a partial flowchart of a method for processing an interactive message according to an exemplary embodiment of the present application is shown when S400: after the audience client or the anchor client sends the bullet screen message, the anchor client or the server may perform the following steps:
s401: displaying the bullet screen message on an interface of a live client;
s402: performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
s403: performing statistical analysis on the key information to obtain target key information meeting conditions;
s404: and displaying the target key information on a corresponding interface.
The corresponding interface includes: an interface for the anchor client or/and the viewer client.
Because the problem of time delay is considered, the steps S401 to S404 can be executed by the live broadcast client side displaying the target key information, so that the problem of time delay caused by unstable network conditions is avoided; in other examples, because the operation speed is considered, the steps S401 to S404 may be executed by the server, so as to avoid the stuck problem caused by poor hardware configuration and poor processing capability of the electronic device where the live broadcast client is located. In some examples, step S404 may be to only display the target key information on the interface of the anchor client, or may display the target key information on all clients in the live broadcast. The interface may be a display interface of the anchor client and/or the viewer client, and when the execution subject of the above steps S401 to S404 is the anchor client, the anchor client may send the target key information to the viewer client for displaying in a predetermined manner, where the predetermined manner includes: the method comprises the steps of generating a picture based on target key information, accessing an address of the target key information and carrying a data packet of the target key information. When the execution subject of the above steps S401 to S404 is the server, the server may send the target key information to the anchor client and/or the viewer client for display in a predetermined manner.
In some examples, each target key information may be presented within a target area, the target area being an area of a predetermined shape, the predetermined shape including: heart-shaped, star-shaped, circular, character and figure, letter and image, numeral and figure, stereo model surface, etc. The application is not limited to the type of predetermined shape. In some examples, the region line segment of the target region may not be displayed, and one effect may be that the target key information constitutes a predetermined shape, such as a sphere. In some instances, the stereoscopic model may be made to have the effect of depth of field to increase realism. In some examples, the predetermined shape may be input by a user, the preset shape is a text, for example, after the user selects the custom input preset shape, an edit box or a text input box may pop up, and the user may input the text as the preset shape, for example, inputting a "live" two-character.
In some examples, the target key information may be presented dynamically or statically.
In fact, the internet live broadcast is different from the traditional media mode, each movie or comprehensive program is advertised through various advertisement ways before being broadcast, a large amount of popularity is accumulated before being broadcast, the internet live broadcast is a real-time, variable and threshold-free self-media mode, the traditional advertising mode lacks practicability in the internet live broadcast, audiences log in a live broadcast platform and often watch programs familiar to themselves or a main broadcast of a mood or watch the programs randomly, so that the two poles of the main broadcast popularity are differentiated, the popularity is difficult to gather for small and medium main broadcasts, and in order to help the small and medium main broadcasts to improve the popularity, in some examples, a target key information sharing link can be added, specifically, target key information can be obtained based on a bullet screen message of a whole live broadcast or a period of live broadcast, and then shared resources are generated based on the target key information, the shared resource comprises a picture or a video; and when responding to a sharing request of a user, sending related information of the shared resource to a server pointed by the sharing request, wherein the related information comprises an access address of the shared resource. The pointed server can be a server of other social platforms, so that the live broadcast content of the live broadcast room can be promoted on other social platforms to help the owner to save people.
The opportunity of sharing the target key information to other social platforms and displaying the target key information on the interface can be during live broadcasting or when live broadcasting is finished.
If the target key information is shared to other social platforms and the time for displaying the target key information on the interface is that live broadcast is finished, referring to fig. 5, taking the target key information obtained from the bullet screen message of live broadcast in the whole live broadcast as an example, after the live broadcast is finished, according to selection of a user or automatically popping up a window 500, the window 500 may include: the method comprises the steps that a shared resource preview area 503, a preset shape selection control 510 of a shared resource, a shared platform selection control 520 and a barrage message acquisition field selection control 530 are included, when a user triggers a control in the preset shape selection control 510 of the shared resource, for example, selects a picture 1, target key information 501 is displayed in a target area 502 of the picture 1, and in fig. 5, the shared resource is a dance girl displaying target key messages corresponding to live barrage messages of the scene. The user may also trigger the control of the sharing platform selection control 520 to select a social platform to share the shared resource or to store the shared resource. After a user selects to share a certain social platform, the display effect of sharing the social platform is as shown in fig. 6, a shared resource display area 601 is used for displaying target key information 602, and certainly, a head portrait 620 of an anchor, an anchor nickname 610, a shared resource publicity slogan 630 automatically generated or customized by a system, and a live broadcast room number 640 where the anchor is located, the live broadcast room number carries an address link of a live broadcast room where the anchor is located, and after the user clicks, the user can directly enter the live broadcast room where the anchor is located to watch the live broadcast of the anchor. Thus, if a user is interested in target key information shared by a anchor, a link to a live broadcast room may be opened to watch or focus on the anchor's live broadcast to increase the popularity of the anchor.
In some examples, the user may also customize and input text or english letters as a predetermined graphic, for example, input a "live" two-character as the predetermined graphic, and display the target key information in the target area of the "live" two-character, referring to fig. 5, when the user triggers a control in the predetermined shape selection control 510 of the shared resource, for example, a "modify" control, an edit box may pop up, and the user may re-input text, letters, or numbers as the predetermined graphic.
In some examples, the user may choose to store the presented target key information after presenting the target key information, for example: after clicking the control of "storing target key information", the user may generate a shared resource based on the target key information, where the shared resource may include a picture or a video, one of the display effects may be as the shared resource 503 in fig. 5, and when the user selects to confirm the storage, the shared resource may be stored to an address specified by the user.
If the target key information is displayed on the interface at the time of live broadcasting, referring to fig. 7, which is a schematic diagram provided by an exemplary embodiment of the present application for displaying the target key information during live broadcasting, a live broadcast picture 703, an interactive message (which may include a bullet screen, an electronic gift, and other messages) display column 701, and a bullet screen message input column 702, which are sent by a main broadcast client, may be displayed on the interactive message display column 701 after a user inputs a bullet screen message in the respective bullet screen message input column and selects to send the bullet screen message, and an anchor client or a server may perform statement analysis on the bullet screen messages sent by all clients in the live broadcast room for a period of time, for example, 20min, to extract key information, and then perform statistical analysis on the key information to obtain target key information meeting conditions, and the target key information 711 is presented on the interface 700. Therefore, the user in the live broadcast room can visually see the main discussion topic of the user in the live broadcast room within a period of time.
The displayed target key information may be displayed at any position of the interface according to a movement instruction triggered by the user, and of course, the target key information may be displayed at a designated position of the interface and does not move along with the instruction triggered by the user.
In practical applications, when the number of the target key information is large, the user cannot visually see the primary and secondary target key words, which results in poor user experience, and in some examples, the display parameters of each displayed target key information are determined according to the result of statistical analysis, for example, the target key words are "beauty" and "sweet voice", the word frequency of beauty "is 3 times, and the word frequency of sweet voice" is 2 times, so that the font size of beauty can be set to be two and the font size of sweet voice can be set to be four according to the statistical result of the word frequency, and when the user sees the target key information, the user can visually see more topics of user discussion "beauty". It is understood that, in addition to the primary and secondary of each target key information being distinguished by font size, it may also be distinguished by font color, font style, etc. display parameters.
For convenience of understanding, a scheme in this embodiment is briefly described with a specific example, after a live broadcast is started by a main broadcast of a main broadcast client, a live broadcast picture of the main broadcast is displayed on an interface of the main broadcast client, and a bullet screen message is displayed in an interactive message bar;
in the live broadcast, after the anchor selects a target key information display control, judging whether a condition for displaying target key information is met, if not, popping up a prompt window;
and if the quantity of the current barrage information meets the requirement or the live broadcast time of the field does not meet the requirement, determining that the condition for displaying the target key information is not met.
If yes, obtaining the barrage message within a preset time (for example, 30min), performing statement analysis on the barrage message, for example, within 0-30min, there are 6 barrage messages, which are respectively "anchor nice", "anchor not only beautiful, but also sweet sound", "beauty beautifully beautified", "singing nice, sweet sound", "Yita" and "beauty", obtaining the key information of the 6 barrage messages, in one example, referring to table 1 for the key information, performing statistical analysis on the key information, for example, counting the frequency of occurrence of the key information, and if the preset screening condition is that the word frequency of the key information is in the first 2 bits of key information, counting the key information, where the statistical result is as follows: "beauty": 3 times; "sweet in sound": 2 times; "dance appearance", "beautifully beautify", "singing", "good listening" 1 time each, if the target key information is the key information arranged in the first two digits, "beauty" and "sound sweet" are the target key information, and then the target key information is displayed, for example: and drawing a sphere on a main broadcasting interface, determining the display size of each target key message according to the word frequency, and displaying the target key message on the surface of the sphere. Then, the bullet screen message within the next preset time can be obtained, for example, 3-33min, the target keyword of the bullet screen message within 3-33min is obtained, and when the update condition is reached (for example, the bullet screen message is updated once every 3 min), the old target keyword is replaced by the new target keyword, so as to achieve the purpose of real-time update. When a user clicks a control of "target key information sharing", target information displayed on a current interface can be made into shared resources, such as pictures, and after the user selects a shared social platform, related information corresponding to the shared resources and an address link between corresponding live broadcasts are sent to a server (pointed server) corresponding to the social platform.
After the live broadcast of the user is finished, when a control of 'target key information sharing' can be triggered automatically or by a main broadcast, target key information correspondingly acquired by bullet screen information in the whole live broadcast is generated into shared resources, and after the user selects a shared social platform, relevant information of the shared resources is sent to a server pointed by a sharing request for propaganda.
Corresponding to the foregoing embodiment of the method for processing an interactive message, the present application also provides an embodiment of a device for processing an interactive message.
The embodiment of the interactive message processing device can be applied to electronic equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, as shown in fig. 8, the hardware structure diagram of the electronic device where the processing apparatus of the interactive message is located is shown in fig. 8, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 8, the electronic device where the apparatus is located in the embodiment may also include other hardware according to the actual function of the processing apparatus of the interactive message, which is not described again. Referring to fig. 8, the present application further discloses an electronic device, including: a memory storing processor-executable instructions; wherein the processor is coupled to the memory for reading program instructions stored by the memory and, in response, performing the following:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and performing statistical analysis on the key information to obtain target key information meeting conditions, and displaying the target key information on an interface.
Referring to fig. 9, an interactive message processing apparatus 900 includes:
the processing module 910: the interactive message display device is used for displaying the interactive message on an interface when the interactive message is received; performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message; performing statistical analysis on the key information to obtain target key information meeting conditions;
the display module 920: and the method is used for displaying the target key information on the interface.
In some examples, the interactive message includes any one of: barrage messages, chat messages, and leave messages.
In some examples, the processing module 910 performs statement analysis on the received interactive message, which may be:
and performing word segmentation and feature extraction on the interactive message to acquire key information.
In some examples, the display parameters of the target key information displayed by the display module 920 are determined according to the result of the statistical analysis, and the display parameters include at least any one of the following: font, word spacing, font size, and color.
In some examples, the presenting module 920 may present the target key information on the interface by:
displaying each target key information in a target area, wherein the target area is an area with a preset shape, and the preset shape comprises any one of the following parts: heart, star, circle, and sphere.
In some examples, the presenting module 920 presents the target key information on the interface, including:
generating a shared resource based on the target key information, wherein the shared resource comprises a picture or a video;
and when responding to a sharing request of a user, sending related information of the shared resource to a server pointed by the sharing request, wherein the related information comprises an access address of the shared resource.
In some examples, the interactive message is a barrage message displayed on a live client, and the live client comprises an anchor client and an audience client; the display module 920 displays the target key information on the anchor client and the audience client respectively; the processing module 910 is further configured to send the target key information to other live broadcast clients in a predetermined manner, so that the other live broadcast clients are displayed on an interface; the predetermined manner includes: the method comprises the steps of generating a picture based on target key information, accessing an address of the target key information and carrying a data packet of the target key information.
In some examples, the interactive message is a barrage message displayed on a live client, and the live client comprises an anchor client and an audience client; the target key information is presented to the anchor client.
In some examples, before the presentation module 920 presents the target key information on the interface, the processing module 910 is further configured to: and determining whether the current live broadcast is finished or not, and if not, continuously acquiring the interactive message.
Embodiments of the present application may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, in which program code is embodied. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and message storage may be implemented by any method or technology. The messages may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store messages that may be accessed by a computing device.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (12)
1. A method for processing an interactive message, the method comprising:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and counting and sequencing the occurrence frequency of the key information to obtain target key information meeting conditions, and displaying the target key information on an interface, wherein the conditions comprise the sequence of the frequency.
2. The method of claim 1, wherein the interactive message comprises any one of: barrage messages, chat messages, and leave messages.
3. The method of claim 1, wherein performing a statement analysis on the received interactive message comprises:
and performing word segmentation and feature extraction on the interactive message to acquire key information.
4. The method according to claim 1, wherein display parameters of the displayed target key information are determined according to the result of the statistical analysis, and the display parameters comprise at least any one of the following: font, word spacing, font size, and color.
5. The method of claim 1, wherein the presenting the target key information on the interface comprises:
displaying each target key information in a target area, wherein the target area is an area with a preset shape, and the preset shape comprises any one of the following parts: heart-shaped, star-shaped, circular, character and figure, letter and figure, numeral and three-dimensional model surface.
6. The method of claim 1, wherein the presenting the target key information on the interface comprises:
generating a shared resource based on the target key information, wherein the shared resource comprises a picture or a video;
and when responding to a sharing request of a user, sending related information of the shared resource to a server pointed by the sharing request, wherein the related information comprises an access address of the shared resource.
7. The method of claim 1, wherein the interactive message is a barrage message displayed on a live client, the live client comprising an anchor client and a viewer client; target key information is respectively displayed on the anchor client and the audience client; further comprising the steps of:
sending the target key information to other live broadcast clients in a preset mode so that the other live broadcast clients can be displayed on an interface; the predetermined manner includes: the method comprises the steps of generating a picture based on target key information, accessing an address of the target key information and carrying a data packet of the target key information.
8. The method of claim 1, wherein the interactive message is a barrage message displayed on a live client, the live client comprising an anchor client and a viewer client; the target key information is presented to the anchor client.
9. The method according to claim 7 or 8, wherein before presenting the target key information on the interface, further comprising the steps of:
and determining whether the current live broadcast is finished or not, and if not, continuously acquiring the barrage message.
10. An interactive message processing apparatus, comprising:
a processing module: the interactive message display device is used for displaying the interactive message on an interface when the interactive message is received; performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message; counting and sequencing the occurrence frequency of the key information to obtain target key information meeting conditions, wherein the conditions comprise the sequence of the frequency;
a display module: and the method is used for displaying the target key information on the interface.
11. An electronic device, comprising:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the following operations:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and counting and sequencing the occurrence frequency of the key information to obtain target key information meeting conditions, and displaying the target key information on an interface, wherein the conditions comprise the sequence of the frequency.
12. A storage medium having a computer program stored thereon, the program being executable by a processor to perform operations comprising:
when an interactive message is received, displaying the interactive message on an interface;
performing statement analysis on the received interactive message, and extracting key information, wherein the key information is used for representing the semantics of the interactive message;
and counting and sequencing the occurrence frequency of the key information to obtain target key information meeting conditions, and displaying the target key information on an interface, wherein the conditions comprise the sequence of the frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711385244.6A CN108055593B (en) | 2017-12-20 | 2017-12-20 | Interactive message processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711385244.6A CN108055593B (en) | 2017-12-20 | 2017-12-20 | Interactive message processing method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108055593A CN108055593A (en) | 2018-05-18 |
CN108055593B true CN108055593B (en) | 2020-03-06 |
Family
ID=62130819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711385244.6A Active CN108055593B (en) | 2017-12-20 | 2017-12-20 | Interactive message processing method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108055593B (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881993A (en) * | 2018-06-13 | 2018-11-23 | 优视科技有限公司 | A kind of screening display methods, device and the terminal device of barrage content |
CN111865757B (en) * | 2018-08-16 | 2022-08-26 | 北京达佳互联信息技术有限公司 | Social communication method and device, electronic equipment and storage medium |
CN109446515A (en) * | 2018-09-25 | 2019-03-08 | 平安科技(深圳)有限公司 | Group information analysis method, electronic device and computer readable storage medium |
CN109286822A (en) * | 2018-10-19 | 2019-01-29 | 广州虎牙科技有限公司 | Interactive approach, device, equipment and storage medium based on live video identification |
CN109491739B (en) * | 2018-10-30 | 2023-04-07 | 北京字节跳动网络技术有限公司 | Theme color dynamic determination method and device, electronic equipment and storage medium |
CN109495763B (en) * | 2018-11-16 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Virtual article record determining method, device, server and storage medium |
CN111523343B (en) * | 2019-01-16 | 2022-04-01 | 北京字节跳动网络技术有限公司 | Reading interaction method, device, equipment, server and storage medium |
CN112449057B (en) * | 2019-08-15 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Message prompting method and device, storage medium and electronic device |
CN110536166B (en) * | 2019-08-30 | 2022-04-01 | 北京字节跳动网络技术有限公司 | Interactive triggering method, device and equipment of live application program and storage medium |
CN110659426A (en) * | 2019-09-29 | 2020-01-07 | 青岛海尔科技有限公司 | Message pushing method and device and Internet of things operating system |
CN111669608B (en) * | 2020-05-12 | 2022-07-12 | 广东茉莉数字科技集团股份有限公司 | Cosmetic display device and method supporting user multimedia feedback |
CN113905280B (en) * | 2020-07-06 | 2023-12-01 | 腾讯科技(深圳)有限公司 | Barrage information display method, device, equipment and storage medium |
CN113301358B (en) * | 2020-07-27 | 2023-08-29 | 阿里巴巴集团控股有限公司 | Content providing and displaying method and device, electronic equipment and storage medium |
CN114064163A (en) * | 2020-07-31 | 2022-02-18 | 阿里巴巴集团控股有限公司 | Activity content processing and displaying method and device, electronic equipment and storage medium |
CN112256890A (en) * | 2020-10-30 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
CN112882847B (en) * | 2021-02-24 | 2023-07-28 | 海南车智易通信息技术有限公司 | Barrage message processing method, device and system |
CN113766257B (en) * | 2021-05-26 | 2023-05-26 | 腾讯科技(深圳)有限公司 | Live broadcast data processing method and device |
CN115734015A (en) * | 2021-08-31 | 2023-03-03 | 腾讯科技(深圳)有限公司 | Bullet screen display method, device, equipment and storage medium |
CN114466204B (en) * | 2021-12-15 | 2024-03-15 | 北京快乐茄信息技术有限公司 | Video bullet screen display method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754396A (en) * | 2015-03-12 | 2015-07-01 | 腾讯科技(北京)有限公司 | Curtain popup data display method and device |
CN106028176A (en) * | 2016-05-31 | 2016-10-12 | 北京奇艺世纪科技有限公司 | Method and device for determining content explosion point in streaming media |
CN106792248A (en) * | 2016-12-28 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of methods of exhibiting and device of living broadcast interactive information |
CN106921891A (en) * | 2015-12-24 | 2017-07-04 | 北京奇虎科技有限公司 | The methods of exhibiting and device of a kind of video feature information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6097679B2 (en) * | 2013-02-28 | 2017-03-15 | エルジー アプラス コーポレーション | Inter-terminal function sharing method and terminal |
-
2017
- 2017-12-20 CN CN201711385244.6A patent/CN108055593B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754396A (en) * | 2015-03-12 | 2015-07-01 | 腾讯科技(北京)有限公司 | Curtain popup data display method and device |
CN106921891A (en) * | 2015-12-24 | 2017-07-04 | 北京奇虎科技有限公司 | The methods of exhibiting and device of a kind of video feature information |
CN106028176A (en) * | 2016-05-31 | 2016-10-12 | 北京奇艺世纪科技有限公司 | Method and device for determining content explosion point in streaming media |
CN106792248A (en) * | 2016-12-28 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of methods of exhibiting and device of living broadcast interactive information |
Also Published As
Publication number | Publication date |
---|---|
CN108055593A (en) | 2018-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055593B (en) | Interactive message processing method and device, storage medium and electronic equipment | |
CN108401175B (en) | Barrage message processing method and device, storage medium and electronic equipment | |
CN108184144B (en) | Live broadcast method and device, storage medium and electronic equipment | |
CN110769270B (en) | Live broadcast interaction method and device, electronic equipment and storage medium | |
CN108347653B (en) | Interaction method, device, equipment and storage medium | |
US11089377B2 (en) | Interaction based on live webcast | |
US11474779B2 (en) | Method and apparatus for processing information | |
CN112383566B (en) | Streaming media presentation system | |
CN108174272B (en) | Method and device for displaying interactive information in live broadcast, storage medium and electronic equipment | |
CN108347650B (en) | Method and device for determining interaction result, storage medium and electronic equipment | |
CN110139162B (en) | Media content sharing method and device, storage medium and electronic device | |
CN106303731A (en) | The display packing of barrage and device | |
CN108171160B (en) | Task result identification method and device, storage medium and electronic equipment | |
CN112929678B (en) | Live broadcast method, live broadcast device, server side and computer readable storage medium | |
US20140282650A1 (en) | Interactive broadcast system and method | |
CN103607647A (en) | Multimedia video advertisement recommendation method, system and advertisement playing equipment | |
CN112073740A (en) | Information display method, device, server and storage medium | |
CN113938696B (en) | Live broadcast interaction method and system based on custom virtual gift and computer equipment | |
CN113438492B (en) | Method, system, computer device and storage medium for generating title in live broadcast | |
US20180158080A1 (en) | Interactive display system | |
CN114449301B (en) | Item sending method, item sending device, electronic equipment and computer-readable storage medium | |
Orrego Carmona et al. | Tracking the distribution of non-professional subtitles to study new audiences | |
CN113727125B (en) | Live broadcast room screenshot method, device, system, medium and computer equipment | |
Li | New Path of Stranger Interaction Platform and Network Cross‐Cultural Communication in the Omnimedia Era | |
CN111885139B (en) | Content sharing method, device and system, mobile terminal and server |
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 |