CN113194336A - Comment display method and device - Google Patents

Comment display method and device Download PDF

Info

Publication number
CN113194336A
CN113194336A CN202110484216.XA CN202110484216A CN113194336A CN 113194336 A CN113194336 A CN 113194336A CN 202110484216 A CN202110484216 A CN 202110484216A CN 113194336 A CN113194336 A CN 113194336A
Authority
CN
China
Prior art keywords
comment
user
display area
comment information
playing
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
CN202110484216.XA
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110484216.XA priority Critical patent/CN113194336A/en
Publication of CN113194336A publication Critical patent/CN113194336A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a comment display method and a comment display device, which relate to the technical field of multimedia data processing and are applied to a client, wherein a user interface of the client comprises a playing area and a comment display area, the playing area is used for playing target multimedia, and the comment display area is used for displaying comment information generated by a user aiming at the target multimedia, and the method comprises the following steps: when the target multimedia is played in the playing area, user comment information corresponding to the playing time of the target multimedia is acquired; and displaying the user comment information in the comment display area, wherein the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time. When the scheme provided by the embodiment of the invention is applied to displaying the comments, the relevance between the displayed comments and the target multimedia which is being played can be improved.

Description

Comment display method and device
Technical Field
The invention relates to the technical field of multimedia data processing, in particular to a comment display method and device.
Background
Multimedia generally includes video, audio, and text types of content. In order to better provide multimedia browsing services for users, the multimedia platform can provide multimedia comments related to the multimedia for the users on the basis of providing the multimedia for the users. For example: the video platform can provide video comments related to the video for the user on the basis of providing the video for the user, and the user can browse the video comments when watching the video on the video platform, so that the requirements of emotional companions, plot supplementation, question answering, confusion and the like of the user are met.
When providing multimedia-related comments to users, the multimedia platform is generally displayed in the user interface according to the discussion hotness of the comments. However, when the comments of the multimedia are displayed in this manner, the content of the displayed comments is less associated with the multimedia currently being played.
Disclosure of Invention
The embodiment of the invention aims to provide a comment display method and device, which are used for improving the relevance between the content of a displayed comment and a currently played multimedia. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a comment display method, which is applied to a client, where a user interface of the client includes a play area and a comment display area, the play area is used for playing a target multimedia, and the comment display area is used for displaying comment information generated by a user for the target multimedia, where the method includes:
when the target multimedia is played in the playing area, user comment information corresponding to the playing time of the target multimedia is acquired;
and displaying the user comment information in the comment display area, wherein the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time.
In a second aspect, an embodiment of the present invention provides a comment displaying method, which is applied to a server, and the method includes:
receiving a comment acquisition request carrying the playing time of a target multimedia sent by a client;
obtaining user comment information corresponding to the playing time of the target multimedia from comment information of all existing multimedia;
sending the obtained user comment information to the client, so that the client displays the user comment information in a comment display area of a user interface, wherein the comment display area is as follows: the comment information is generated by the user aiming at the target multimedia.
In a third aspect, an embodiment of the present invention provides a comment display apparatus, which is applied to a client, where a user interface of the client includes a play area and a comment display area, the play area is used for playing a target multimedia, and the comment display area is used for displaying comment information generated by a user for the target multimedia, where the apparatus includes:
the comment acquisition module is used for acquiring user comment information corresponding to the playing time of the target multimedia when the target multimedia is played in the playing area;
and the comment display module is used for displaying the user comment information in the comment display area, wherein the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time.
In a fourth aspect, an embodiment of the present invention provides a comment displaying apparatus, which is applied to a server, and the apparatus includes:
the request receiving module is used for receiving a comment acquisition request carrying the playing time of the target multimedia, which is sent by the client;
the first comment acquisition module is used for acquiring user comment information corresponding to the playing time of the target multimedia from comment information of all existing multimedia;
a comment sending module, configured to send the obtained user comment information to the client, so that the client displays the user comment information in a comment display area of a user interface, where the comment display area is: the comment information is generated by the user aiming at the target multimedia.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor configured to implement the method steps of the first aspect when executing the program stored in the memory.
In a sixth aspect, an embodiment of the present invention provides a server, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the method steps of the second aspect when executing the program stored in the memory.
In a seventh aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of the first aspect or the second aspect.
As can be seen from the above, when comment display is performed by applying the scheme provided by the embodiment of the present invention, the user comment information is displayed in the comment display area, and based on the amount of the user comment information corresponding to the current play time, the user comment information corresponding to the current play time is dynamically and briefly displayed in the comment display area, that is, the user comment information displayed in the comment display area corresponds to the current play time.
In addition, the user interface comprises a playing area and a comment display area, the playing area is used for playing the target multimedia, the comment display area is used for displaying comment information generated by the user aiming at the target multimedia, and when the target multimedia is played, the comment information of the user corresponding to the current playing moment is displayed in the comment display area, so that the user can conveniently, conveniently and intuitively browse the comment information with high relevance with the currently played multimedia.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a first user interface provided by an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first comment displaying method according to an embodiment of the present invention;
FIG. 3a is a diagram of a second user interface provided by an embodiment of the present invention;
FIG. 3b is a diagram of a third user interface provided by the embodiments of the present invention;
FIG. 4a is a diagram of a fourth user interface provided by an embodiment of the present invention;
FIG. 4b is a diagram of a fifth user interface provided by the embodiment of the present invention;
FIG. 4c is a diagram of a sixth user interface provided by the embodiment of the present invention;
FIG. 5 is a diagram of a seventh user interface provided by the embodiment of the present invention;
FIG. 6a is a diagram of an eighth user interface provided by the embodiment of the present invention;
FIG. 6b is a diagram of a ninth user interface provided by the embodiment of the present invention;
fig. 7 is a flowchart illustrating a second comment displaying method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a first comment displaying apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a second comment displaying apparatus provided in the embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because the relevance between the content of the displayed comment and the multimedia currently playing in the prior art is low. In order to solve the technical problem, the embodiment of the invention provides a comment display method and device.
In an embodiment of the present invention, a comment display method is provided, which is applied to a client, where a user interface of the client includes a play area and a comment display area, the play area is used for playing a target multimedia, and the comment display area is used for displaying comment information generated by a user for the target multimedia, and the method includes:
when the target multimedia is played in the playing area, user comment information corresponding to the playing time of the target multimedia is acquired;
and displaying the user comment information in the comment display area, wherein the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time.
As can be seen from the above, when the scheme provided in this embodiment is applied to comment display, the user comment information is displayed in the comment display area, and based on the amount of the user comment information corresponding to the current play time, the user comment information corresponding to the current play time is dynamically and briefly displayed in the comment display area, that is, the user comment information displayed in the comment display area corresponds to the current play time.
In addition, the user interface comprises a playing area and a comment display area, the playing area is used for playing the target multimedia, the comment display area is used for displaying comment information generated by the user aiming at the target multimedia, and when the target multimedia is played, the comment information of the user corresponding to the current playing moment is displayed in the comment display area, so that the user can conveniently, conveniently and intuitively browse the comment information with high relevance with the currently played multimedia.
First, a user interface of a client in an embodiment of the present invention is described with reference to fig. 1.
Fig. 1 is a schematic diagram of a user interface according to an embodiment of the present invention. In the user interface shown in fig. 1, the area labeled a is a play area, and the area labeled b is a comment display area.
The playing area is used for playing the target multimedia. The target multimedia may be video, audio, etc.
The comment display area is used for displaying comment information generated by a user aiming at the target multimedia.
In addition, the user interface shown in FIG. 1 also includes a related information display area, such as the area labeled c in FIG. 1. The related information display area is used for displaying information related to the target multimedia, such as:
when the target multimedia is a video, the associated information of the target multimedia may be: the name of the video, the show-role table, the duration of the video, the associated recommended video of the target video, and the like.
The following explains a comment display method provided by an embodiment of the present invention.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first comment displaying method provided by an embodiment of the present invention, and the method is applied to a client, and includes the following steps S201 to S202.
Step S201: and when the target multimedia is played in the playing area, user comment information corresponding to the playing time of the target multimedia is acquired.
The target multimedia includes: video, audio, etc.
And under the condition that a playing instruction of playing the target multimedia of the user is received, starting playing the target multimedia in the user interface. Taking the target multimedia as the video as an example, the user can click a functional button for playing the video in the user interface, and the client side plays the video in the user interface after detecting the click operation of the user.
The user comment information corresponding to the playing time of the target multimedia is: the user comments on the playing content corresponding to each playing time of the target multimedia, so that the user comment information corresponding to the playing time is used for reflecting the playing content corresponding to the playing time.
The playing time of the target multimedia can correspond to a plurality of pieces of user comment information and also can correspond to one piece of user comment information.
Specifically, when obtaining the above comments, the client may first determine whether the client locally caches user comment information corresponding to the playing time of the target multimedia, if so, obtain the user comment information corresponding to the playing time of the target multimedia from the local cache, and if not, obtain the user comment information corresponding to the playing time of the target multimedia from the server. The specific manner of obtaining the comments can be found in the following examples, which are not described in detail herein.
Step S202: and displaying the user comment information in the comment display area.
And dynamically and briefly displaying the user comment information corresponding to the current playing time in the comment display area based on the user comment information amount corresponding to the current playing time.
The current playing time refers to: the playing time of the content in the target multimedia is being played. And taking the target multimedia as a video, and playing the video content at 04:00 in the video playing process, wherein 04:00 is the current playing time.
The amount of the user comment information may include information such as the number of user comment information, the length of the user comment information, and the like.
The user comment information corresponding to the current playing time is: the user comments on the playing content corresponding to the current playing time to generate information, so that the user comment information corresponding to the current playing time is used for reflecting the playing content corresponding to the current playing time.
Specifically, when the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area, on one hand, the user comment information corresponding to the current playing time is displayed in the comment display area in a dynamic display mode, and on the other hand, the user comment information corresponding to the current playing time is displayed in the comment display area in a brief mode.
When the amount of the user comment information corresponding to the current playing time is large, it is difficult to completely display the user comment information corresponding to the current playing time in the comment display area, and therefore dynamic and brief display in the comment display area is required.
Specifically, the dynamic display mode includes: display rules, display duration, display style, and the like. The display rule may include scrolling, switching display, and the like, and the display duration may be: 5s, 10s, etc., the display style may be: a style adapted to the theme style of the target multimedia, a user-defined style, etc.
For example: when the target multimedia is taken as the video, the comment information of the user can be displayed in the comment display area in a rolling display mode, the display time of each piece of comment information of the user is 5s, and the display style of the comment display area is a style which is suitable for the main style of the video.
Specifically, when the comment content is displayed in a simplified form, the key comment content in the user comment information can be displayed, and the comment content with the preset length in the user comment information can also be displayed.
Therefore, when the user comment information is dynamically and briefly displayed in the comment display area, the user can conveniently, conveniently and intuitively browse the comment information with high relevance with the multimedia currently played. Moreover, the multimedia playing method can be used as supplementary information of the target multimedia playing on the basis of not blocking the playing area, and helps a user to better understand the target multimedia playing.
Specifically, when the user comment information is displayed in the comment display area in a dynamic and abbreviated manner, if the user reselects the playing progress in the playing area, the client may display the user comment information in a static and abbreviated manner, and when the user determines a new current playing time, the updated user comment information corresponding to the current playing time may be dynamically and briefly displayed in the comment display area. .
Because the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area, the relevance between the content of the displayed comment and the content of the content plot corresponding to the current playing time in the comment display area is high, and the relevance between the content of the displayed comment and the content of the currently played target multimedia is improved.
As can be seen from the above, when the scheme provided by this embodiment is applied to comment display, the user comment information is displayed in the comment display area, and based on the amount of the user comment information corresponding to the current play time, the user comment information corresponding to the current play time is dynamically and briefly displayed in the comment display area, that is, the user comment information displayed in the comment display area corresponds to the current play time, and the user comment information can reflect the content plot corresponding to the current play time.
In addition, the user interface comprises a playing area and a comment display area, the playing area is used for playing the target multimedia, the comment display area is used for displaying comment information generated by the user aiming at the target multimedia, and when the target multimedia is played, the comment information of the user corresponding to the current playing moment is displayed in the comment display area, so that the user can conveniently, conveniently and intuitively browse the comment information with high relevance with the currently played multimedia.
In the above step S201, the user comment information corresponding to the play time of the target multimedia can be acquired in the following three ways.
In the first mode, before the target multimedia is played on the user interface, the client obtains user comment information corresponding to the playing time of the target multimedia from the server. The obtained comment information of each user includes: the user comments the content, the playing time of the commented playing content and the content plot corresponding to the commented playing content.
In the target multimedia playing process, the client can search the user comment information corresponding to the playing time from the obtained user comment information; determining a content plot corresponding to the playing moment according to the searched user comment information; and determining the user comment information of the content plot corresponding to the playing time from the obtained user comment information.
Specifically, the client may send a comment acquisition request carrying the target multimedia to the server when detecting the intention of the user to play the target multimedia, so as to obtain a comment for the target multimedia and cache the obtained comment.
The above-mentioned play target multimedia intention is used to characterize the user's need to play the target multimedia. Specifically, the user may select the target multimedia in the user interface, or the user may input the name of the target multimedia in the input box, and after detecting the above operation, the client may think that the user has a need to play the multimedia, that is, the intention to play the target multimedia is detected.
Specifically, when the client obtains the user comment information corresponding to the play time, the following example is used to describe the client.
The user comment information obtained by the client from the server is shown in table 1 below.
TABLE 1
Comment 1 01:00 Content scenario S1
Comment 2 01:30 Content scenario S1
Comment 3 02:00 Content scenario S2
Comment 4 03:00 Content scenario S4
In table 1, the first column indicates each comment obtained by the client from the server, the second column indicates the playing time of the comment contained in each comment obtained by the client from the server, and the third column indicates the content plot corresponding to the comment contained in each comment obtained by the client from the server.
The current playing time of the currently playing content is 01:00, and the comments of the playing content of 01:00 can be found based on table 1 as follows: and the comment 1, after the comment 1 is found, the content plot corresponding to the current playing time can be determined as follows: content episode S1, so that the comment of the content episode corresponding to the current playing time may be determined to include: comment 1, comment 2.
Therefore, the comment aiming at the target multimedia is obtained from the server before the target multimedia is played on the user interface, and when the comment information of the user is displayed, the comment can be directly determined from the comments locally cached on the client side to be displayed, so that the comment display efficiency is improved. Moreover, when the comment of the content episode corresponding to the current playing time is obtained, because each comment comprises the playing time of the commented playing content and the content episode corresponding to the commented playing content, the comment of the content episode corresponding to the current playing time can be obtained more accurately based on the information contained in each comment.
In a second mode, the client can also send a comment acquisition request carrying the current playing time of the target multimedia to the server for a first preset time before the current playing time, so that the server determines the user comment information of the content plot corresponding to the current playing time; and receiving and caching the user comment information sent by the server.
Specifically, a process duration from the start of sending the request from the client to the server to the process of receiving the comment sent by the server may be predetermined, and the first preset duration may be greater than or equal to the process duration. For example: assuming that the time duration of the above process is 5ms, the first preset time duration may be 5ms, 8ms, etc. The first preset time period can be set by the staff according to experience.
The comment acquisition request is used for requesting to acquire a comment, the server can analyze the comment acquisition request after receiving the comment acquisition request to obtain the current playing time of the target multimedia carried in the comment acquisition request, the server can acquire a comment of a content plot corresponding to the current playing time of the target multimedia from each comment of the target multimedia, and the server can send the comment to the client.
Specifically, when the server obtains the comment of the content episode corresponding to the current playing time, the server can search the comment of the playing content at the current playing time in each comment aiming at the target multimedia; determining a content plot corresponding to the current playing moment according to the searched comments; and determining the comment of the content plot corresponding to the current playing time from the obtained comments.
The above comments on the target multimedia include: the playing time of the commented playing content and the content plot corresponding to the commented playing content.
Therefore, the comment acquisition request is sent to the server in the first preset time before the current playing time, and the comment quantity of the content plot corresponding to the current playing time is less than the total comment quantity of the target multimedia, so that a large amount of storage space is saved.
In the third mode, when the client locally caches each comment aiming at the target multimedia, the user comment information of the content plot corresponding to the current playing time can be obtained from each cached comment.
The above comments on the target multimedia include: the playing time of the commented playing content and the content plot corresponding to the commented playing content.
Therefore, the client caches each comment of the target multimedia locally, the client can directly determine the comment of the content plot corresponding to the current playing time from the locally cached comments without sending a comment acquisition request to the server, and the comment display efficiency is improved.
For a specific comment obtaining manner, reference may be made to the comment obtaining manner mentioned in the first manner, and details are not described herein.
In the step S202, when the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment amount corresponding to the current playing time, if the length of the user comment information corresponding to the current playing time is greater than the preset length threshold, the key comment content of the user comment information corresponding to the current playing time may be extracted.
The preset length threshold may be set by a worker according to experience, for example: the preset length threshold may be 20 bytes, 50 bytes, etc.
The key comment content is used for reflecting the main content of the comment information of the user.
Specifically, when the key comment content is extracted, the key comment content may be generated based on the extracted key information by extracting key information such as a keyword and a keyword from the user comment information.
And selecting key user comment information from the user comment information based on the attention degree of the user comment information corresponding to the current playing time, and taking the key user comment information as key comment content.
Specifically, the user comment information may include comment contents formed by a plurality of sentences, and other users may perform operations such as reference, approval, comment and the like on a certain sentence in the user comment information, and may also perform operations such as reference, approval, comment and the like on a certain word in the user comment information. In this case, the degree of attention of the user comment information may be determined based on at least one of the number of references, the number of praise, and the number of comments of the user comment information.
For example: when the number of at least one of the number of references, the number of praise and the number of comments is greater than a preset number threshold, it can be determined that the attention of a certain sentence or a certain word of the comment information of the user is high; when the number of references, the number of praise and the number of comments are all smaller than the preset number threshold, it can be determined that the attention degree of a certain sentence or a certain word of the comment information of the user is low.
When the key user comment information is selected, the user comment information with the attention degree larger than a preset attention degree threshold value can be used as the key user comment information, and the user comment information with the highest attention degree can be used as the key user comment information, so that the determined key user comment information is used as key comment content.
Of course, the attention degree of the user comment information can be determined based on at least one of the overall reference number, the praise number and the comment number of the user comment information.
When the key comment content is displayed, in one embodiment, the key comment content may be scroll-displayed in a comment display area.
Specifically, the key comment content of each user comment information corresponding to the current playing time can be displayed in a rolling manner in the comment display area, and the key comment content corresponding to each current playing time can be naturally displayed in a rolling manner in the target multimedia playing process.
In another embodiment, the key comment content may also be displayed in a comment display area in a top-placed or explicit manner.
The top placing mode is as follows: displayed at the top position of the comment display area. The key comment content is displayed in a top-positioned mode at the current playing time, and meanwhile, the user comment information except the key comment content in the user comment information corresponding to the current playing time can be displayed in a rolling mode at the position, which is not the top, of the comment display area.
The above explicit method is: and a display mode that the contrast difference exists between the color of the key comment content and the background color of the comment display area. For example: the background color of the comment display area can be black, gray and other cold colors, and the color of the key comment content can be yellow, red and other warm colors. Therefore, the key comment content is displayed in a top setting mode or a display mode, and the key comment content can be displayed more intuitively.
Specifically, after the comment information of the user is displayed in the comment display area, the client may detect the operation of the user. And after the user operation is detected, generating a corresponding instruction and responding to the instruction. A specific procedure for the client to respond to the instruction when the user operation is detected is explained below.
In the first situation, comment display area adjustment operation triggered by a user in a comment display area is received, and the comment display area is adjusted.
Specifically, the comment display area adjustment operation is used to instruct to adjust the comment display area, and adjusting the comment display area may include: the display height, the display width, the display size and the like of the comment display area are reduced, the display height, the display width, the display size and the like of the comment display area are increased, the position of the comment display area in the user interface is changed, the display style of the comment display area is changed, and the like.
Specifically, the comment display area adjustment operation may be a slide operation, such as a slide-up operation, a slide-down operation, a left slide operation, a right slide operation, a diagonal slide-up operation, a diagonal slide-down operation, or the like. The user may also trigger a comment area adjustment operation by clicking a function type button. For example, the user may click a button, double click a button, and trigger a comment area adjustment operation.
For example: assuming that the operation of narrowing down the height of the comment display area is: and sliding upwards in the comment display area, and narrowing down the height of the comment display area when the client detects that the user slides upwards in the non-display area.
Taking fig. 3a and fig. 3b as an example, the area marked b in the user interface diagram shown in fig. 3a is a comment display area, a dotted line in the comment display area indicates that the user triggers an upward sliding operation in the comment display area, and after the client detects the upward sliding operation of the user, the user interface is as shown in fig. 3b, and the height of the comment display area in fig. 3b is reduced.
Therefore, the comment display area is adjusted in response to the comment display area adjusting operation triggered by the user in the non-playing area, and the requirement of the user for adjusting the comment display area is met.
In a second case, the user interface of the client further comprises a related information display area for displaying information associated with the target multimedia. Under the condition, when comment browsing operation triggered by a user in the comment display area is received, the related information display area is hidden, the comment display area is covered to the related information display area, the user comment information is dynamically displayed in the comment display area, and the user comment information corresponding to the current playing time is displayed in a target display mode.
The comment browsing operation is used for instructing to browse each comment aiming at the target multimedia. The user can perform preset comment browsing operation in the comment display area and trigger a comment browsing instruction. Specifically, the comment browsing operation may include a click operation, such as clicking the comment display area, double clicking the comment display area, and the like, and may also be a slide operation, such as an upward slide operation, a downward slide operation, a left slide operation, a right slide operation, an upward slant slide operation, a downward slant slide operation, and the like.
For example: suppose the operation of comment browsing is: and clicking in the comment display area, and when the client detects the clicking operation of the user in the comment display area, generating a comment browsing instruction, and further responding to the comment browsing instruction.
Specifically, when the comment display area is overlaid on the related information display area, the comment display area may be loaded in the hidden related information display area.
When the user comment information is dynamically displayed in the comment display area, the user comment information can be displayed in a rolling manner according to the sequence of the playing time corresponding to each user comment information.
The target explicit mode is as follows: and based on the target display mode, the user comment information corresponding to the current playing time can be highlighted.
Taking fig. 4a as an example, in the user interface diagram shown in fig. 4a, the area marked d in fig. 4a is a comment display area after covering the relevant information display area, a dotted line in the comment display area indicates that the displayed user comment information scrolls upwards along with the content of the target multimedia that is being played, and the comment information located at the center position in the comment display area is: and the user comment information corresponding to the current playing time is displayed in a target display mode.
Under the condition that the user selects to browse and view the complete comment information of the target multimedia, the complete comment information of the target multimedia can be displayed, wherein the complete comment information comprises the number of praise of each comment, the number of comments, comment content, comment classification tags and the like.
The situation that the comments at the same time exist in the obtained comments may occur, and the comments at the same time refer to: and the user comment information corresponding to the same playing time. In this case, the comment information corresponding to the other play time can be dynamically displayed in the comment display area in a manner that the comment information is stacked layer by layer for each piece of the simultaneous comment.
The mode that all the comments at the same time are stacked layer by layer means that: and displaying each simultaneous comment on each layer, and stacking the layers on each layer.
Referring to fig. 4b, the area marked d in the user interface diagram shown in fig. 4b is the comment display area after covering the related information display area, and the dotted line in the comment display area indicates that the displayed user comment information scrolls upwards along with the currently played content of the target multimedia.
And displaying the comments positioned in the middle area in the comment display area in a layer stacking mode, wherein the playing time corresponding to the comments of each layer is the same time.
And if the time length for the user to manually browse the simultaneous comments reaches a first preset time length, returning all the simultaneous comments to dynamically display comment information corresponding to other playing time in the comment display area in a mode of stacking the comments layer by layer.
Specifically, after receiving the operation of comment browsing at the same time triggered by the user, the client may statically display each comment at the same time in the comment display area in a manner of tiling comment by comment. For example: the user can click the area for displaying the comments at the same time on the user interface or input the comments at the same time in the input box, and after the client detects the click operation of the user, the client can think that the user selects to expand the comments at the same time.
Because each comment at the same time is dynamically displayed in a mode that the comments are stacked layer by layer, the display space of the comment display area is saved, each comment at the same time is statically displayed in a mode that the comments are tiled one by one, and the requirement of a user for expanding the comments at the same time can be met.
Referring to fig. 4c, in the user interface diagram shown in fig. 4c, the area marked as d is a comment display area after the related information display area is covered, and each comment displayed in the comment display area is: and the comments are selected and expanded by the user at the same time, and all the comments are statically displayed in the comment display area in a mode of tiling comment by comment.
When a single comment complete information viewing operation triggered by a user is received, complete information of a single comment selected by the user can be displayed, such as the number of praise, the number of comments, comment content and the like of the single comment.
When the fact that the moment when the user manually browses the simultaneous comments reaches the first preset duration is detected, the step that all the simultaneous comments are dynamically displayed in the comment display floating layer with other comments in a mode that the comments are stacked layer by layer can be returned.
The first preset time period may be set by a worker according to experience, for example: the first preset time period may be 3s, 5s, etc.
Because a plurality of obtained comments are displayed in the comment display area, the comment browsing requirements of the user can be met, and the comments are displayed in a display mode, so that the user can intuitively obtain the comment information of the user corresponding to the current playing moment.
Receiving a sliding browsing operation continuously triggered by a user in a comment display area, and highlighting target comment information corresponding to the sliding browsing operation; acquiring target playing time of a target multimedia associated with the target comment information; displaying a target playing time in the comment display area, and generating a target playing control for playing the target multimedia based on the target playing time; and when receiving the triggering operation of the user on the target playing control, playing the target multimedia from the target playing moment.
Specifically, the client may perform scrolling display in the comment display area based on a slide browsing operation triggered by the user. Such as: when the user continuously triggers the sliding browsing operation according to the sliding direction from top to bottom, the comment information of the user can be displayed in the comment display area from the rolling direction from top to bottom and keeps consistent with the sliding speed of the user.
The target comment information corresponding to the sliding browsing operation is: when the comment display area displays the user comment information in a rolling mode along with the sliding browsing operation, the user comment information located at the preset position of the comment display area can be the center position, the top position, the bottom position and the like.
Specifically, when the target comment information is highlighted, the saturation, brightness, and the like of the color of the target comment information may be increased, or the color of the target comment information may be changed, so that the target comment information may be visually presented to the user.
When the target playing time is obtained, the playing time corresponding to the target comment information may be determined from the user comment information corresponding to each playing time of the target multimedia, and the playing time corresponding to the target comment information may be used as the target playing time.
The target playing control may be: play button, play menu item, etc. Specifically, the target play time may be displayed in the area where the target comment information is located, and the target play control may be displayed in the area where the target play time is located.
When receiving the trigger operation of the user to the target playing control, the target multimedia can be played from the target playing time.
Referring to fig. 5, in the user interface shown in fig. 5, a mark d indicates a comment display area after the related information display area is covered, a dotted line in the comment display area indicates that a user triggers a downward uniform-speed sliding operation in the comment display area, and the comment displayed in the comment display area displays target comment information corresponding to the sliding browsing operation in a manner that a background has a filling color as a highlight display manner based on a sliding direction and a sliding speed of the user. And displaying the target playing time and the target playing control in the area where the target comment information is located.
And when the pause duration of the sliding browsing operation is detected to reach a second preset duration, returning to the step of dynamically and briefly displaying the user comment information corresponding to the current playing time in the comment display area.
The second preset time period may be set by the staff according to experience, for example: the second preset time period may be 5s or 10 s.
Therefore, the target comment information corresponding to the sliding browsing operation is highlighted, and the current target comment information is intuitively reflected. And the target playing time and the target playing control are displayed in the comment display area, so that a user can conveniently and quickly switch playing contents.
Recording the playing time of the target multimedia corresponding to the starting time of the comment publishing intention of the user; and if receiving a comment publishing operation of the user for the comment to be published, publishing the comment to be published by taking the recorded moment as the playing moment of the comment playing content of the comment to be published.
Specifically, when a user performs a preset comment posting operation in a user interface, it may be considered that there is a comment posting intention for the user, for example: the comment publishing operation may be that the user clicks a comment input box or that the user clicks a function button for comment input.
When the fact that the comment publishing intention exists in the user is detected, recording the playing time of the target multimedia corresponding to the starting time when the comment publishing intention exists in the user. For example: suppose that a user clicks a comment input box in a user interface and jumps to a comment input page, the client detects that the operation of the user is started when the target multimedia is played to 05:00, so that the time 05:00 can be recorded as the playing time of the target multimedia corresponding to the starting time when the comment publishing intention of the user exists.
Specifically, when the comment to be posted is posted, the comment of the played content at the recorded time can be determined in the obtained comments; and displaying the comments to be issued and the determined comments in a comment display area according to a preset sequence.
The comment of the played content at the recorded time is: the play time is a comment of the play content at the recorded time. For example: assuming that the recorded time is 05:00, among the obtained comments, a comment of the play content having a play time of 05:00 can be determined.
The preset sequence can be set by the staff according to experience, for example: the preset sequence may be: the order of the comments to be published before and the determined comments after, or the order of the comments to be published after and the determined comments before.
Specifically, when the comment is displayed in the comment display area, the comment to be posted may be displayed in a display manner.
Taking fig. 6a and fig. 6b as examples, the user interface shown in fig. 6a is a comment input page, the user jumps to the comment input page shown in fig. 6a by clicking a comment input box in the user interface, and the client can record the play time of the target multimedia corresponding to the start time of clicking the comment input box by the user.
After a user inputs a comment to be published on a comment input page, a comment publishing button is clicked, after the client detects the operation, the comment to be published and a comment of the playing content at the recorded moment are obtained, the comment to be published is displayed in a comment display area in front of the comment of the playing content at the recorded moment, and the comment to be published is displayed in a display mode, as shown in fig. 6b, an area marked as d in a user interface shown in fig. 6b is a comment display area covering a relevant information display area, the comment located on the middle side in the comment display area is the comment published by the user, and the comment located on the lower side of the comment is: a comment on the played content at the recorded time.
Therefore, the recorded time is used as the playing time of the comment playing content of the comment to be published, and the comment to be published is published, so that the requirement of a user for publishing the comment is met.
Corresponding to the comment display method applied to the client, the embodiment of the invention also provides a comment display method applied to the server.
Referring to fig. 7, fig. 7 is a flowchart illustrating a second comment displaying method provided by an embodiment of the present invention, and the method is applied to a server, and includes the following steps S701 to S703.
Step S701: and receiving a comment acquisition request carrying the playing time of the target multimedia sent by the client.
Specifically, the comment acquisition request is used for requesting to acquire user comment information corresponding to the playing time of the target multimedia, and the comment acquisition request includes identification information of the target multimedia and information of each playing time of the target multimedia.
Step S702: and obtaining user comment information corresponding to the playing time of the target multimedia from the comment information of each existing multimedia.
The user comment information may include: the playing time of the commented playing content and the content plot corresponding to the commented playing content.
Specifically, the server may analyze the comment acquisition request to acquire an identifier of the target multimedia, and acquire, from comment information of each existing multimedia, user comment information corresponding to a play time of the multimedia corresponding to the identifier.
Step S703: and sending the obtained user comment information to the client so that the client displays the user comment information in a comment display area of the user interface.
The comment display area is as follows: the method is used for displaying comment information generated by a user aiming at the target multimedia.
As can be seen from the above, when the scheme provided in this embodiment is applied to comment display, user comment information corresponding to the play time of the target multimedia is obtained, and the obtained user comment information can reflect the play content of the target multimedia at the play time, that is, the relevance between the content of the displayed comment and the content currently played by the target multimedia is higher.
Specifically, the comment information for each existing multimedia can be determined in the following manner.
Obtaining comment information generated by a user aiming at the existing multimedia; extracting keywords of content plots corresponding to existing multimedia at each playing moment; and determining the comment information corresponding to the playing time of the existing multimedia based on the matching degree between the obtained comment information and the extracted keywords.
The existing multimedia may be multimedia in a database, specifically, may be hot multimedia in the database, for example: the existing multimedia can be popular movies, music, etc.
The comment information generated by the user for the existing multimedia can be pre-stored in the database. The reviews stored in the database may also be referred to as inventory data. When a user publishes comment information in the user interface, the published comment information can be stored in the database as incremental data.
The keywords are used for reflecting the main content of the content plot corresponding to the existing multimedia at each playing time. The existing multimedia can be divided into various content scenarios, and each content scenario is composed of the playing content at each playing time.
Specifically, the keywords of the content scenario corresponding to each playing time may be extracted by a keyword extraction algorithm, and a matching pair including the extracted keywords and the corresponding playing time is generated. Such as: the keywords of the content plot corresponding to the playing time of 01:00 are extracted as follows: lovely, a matching pair <01:00, lovely > can be obtained.
When the keywords are matched with the obtained user comment information, the matching degree between the user comment information and the keywords can be calculated for the keywords corresponding to each playing time, and when the matching degree is greater than a preset threshold value, the time of the content commented by the user comment information can be regarded as the playing time, so that the playing time is taken as the playing time corresponding to the user comment information, and the content plot is taken as the content plot corresponding to the content commented by the user comment information.
In this way, the matching degree between the comment and each extracted keyword can accurately reflect the content correlation between the comment and each extracted keyword, so that the playing time of the commented and played content of each comment and the content plot corresponding to the commented and played content can be determined based on the obtained matching degree between the comment and each extracted keyword.
Corresponding to the comment display method applied to the client, the embodiment of the invention also provides a comment display device.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a first comment displaying apparatus provided in an embodiment of the present invention, where the apparatus includes the following modules 801 and 802.
A comment acquisition module 801, configured to acquire user comment information corresponding to a playing time of a target multimedia when the target multimedia is played in the playing area;
the comment display module 802 is configured to display the user comment information in the comment display area, where the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time.
In one embodiment of the present invention, the amount of the user comment information includes a length of the user comment information; the comment display module is specifically configured to, when the length of the user comment information corresponding to the current play time is greater than a preset length threshold, extract key comment content of the user comment information corresponding to the current play time, and scroll-display the extracted key comment content in the comment display area; or, the key comment content is displayed in the comment display area in a top-positioned mode or an explicit mode, wherein the explicit mode is as follows: and a display mode that the contrast difference exists between the color of the key comment content and the background color of the comment display area.
In an embodiment of the present invention, the comment display module is specifically configured to select, based on the attention degree of each piece of user comment information corresponding to the current playing time, key user comment information from the user comment information, and use the key user comment information as the key comment content.
In an embodiment of the present invention, the user interface of the client further includes a related information display area, where the related information display area is used to display information associated with the target multimedia, and the apparatus further includes:
the first area adjusting module is used for hiding the related information display area and covering the comment display area to the related information display area when comment browsing operation triggered by a user in the comment display area is received;
the first information display module is configured to dynamically display the user comment information in the comment display area, and display the user comment information corresponding to the current playing time in a target explicit manner, where the target explicit manner is: and a display mode that the contrast difference exists between the color of the user comment information corresponding to the current playing time and the background color of the comment display area.
In an embodiment of the present invention, the information display module is specifically configured to, when there is comment information at the same time in the user comment information, dynamically display, in the comment display area, comment information corresponding to other play times in a manner that comment information is stacked layer by layer, where the comment information at the same time is: user comment information corresponding to the same playing time; when the user selects to expand the comment information at the same time, each piece of comment information at the same time is statically displayed in the comment display area in a mode of tiling the comment information one by one, and if the fact that the duration for the user to manually browse the comment information at the same time reaches a first preset duration is detected, the comment display module is triggered.
In an embodiment of the present invention, the apparatus further includes:
the browsing operation receiving module is used for receiving sliding browsing operation continuously triggered by a user in the comment display area;
the second information display module is used for highlighting the target comment information corresponding to the sliding browsing operation;
the time obtaining module is used for obtaining the target playing time of the target multimedia associated with the target comment information;
the control generating module is used for displaying the target playing time in the comment display area and generating a target playing control for playing the target multimedia based on the target playing time;
and the multimedia playing module is used for playing the target multimedia from the target playing moment when receiving the triggering operation of the user on the target playing control.
In an embodiment of the present invention, the apparatus further includes:
and the duration detection module is used for triggering the comment display module when the pause duration of the sliding browsing operation reaches a second preset duration.
In an embodiment of the present invention, the apparatus further includes:
the time recording module is used for recording the playing time of the target multimedia corresponding to the starting time when the comment publishing intention exists in the user;
and the comment publishing module is used for publishing the comment to be published by taking the recorded moment as the playing moment of the comment playing content of the comment to be published if receiving a comment publishing operation of a user for the comment to be published.
In an embodiment of the present invention, the comment publishing module is specifically configured to determine, from the obtained comments, a comment of the played content at the recorded time; and displaying the comments to be issued and the determined comments in the comment display area according to a preset sequence.
In an embodiment of the present invention, the apparatus further includes:
the adjustment operation receiving module is used for receiving comment display area adjustment operation triggered by a user in the comment display area;
and the second region adjusting module is used for adjusting the comment display region.
The embodiment of the invention also provides a comment display device corresponding to the comment display method applied to the server.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a second comment displaying apparatus provided in the embodiment of the present invention, where the apparatus includes the following modules 901 and 903.
A request receiving module 901, configured to receive a comment acquisition request carrying a playing time of a target multimedia sent by a client;
a first comment determining module 902, configured to obtain, from comment information of each existing multimedia, user comment information corresponding to a playing time of the target multimedia;
a comment sending module 903, configured to send the obtained user comment information to the client, so that the client displays the user comment information in a comment display area of a user interface, where the comment display area is: the comment information is generated by the user aiming at the target multimedia.
In an embodiment of the present invention, the apparatus further includes:
the second comment acquisition module is used for acquiring comment information generated by a user aiming at the existing multimedia;
the keyword extraction module is used for extracting keywords of content plots corresponding to the existing multimedia at each playing moment;
and the comment determining module is used for determining the comment information corresponding to the playing time of the existing multimedia based on the matching degree between the obtained comment information and the extracted keywords.
Corresponding to the comment display method applied to the client, the embodiment of the invention also provides electronic equipment.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and includes a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004, where the processor 1001, the communication interface 1002, and the memory 1003 complete communication with each other through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to implement the comment display method applied to the client according to the embodiment of the present invention when executing the program stored in the memory 1003.
Compared with the comment display method applied to the server, the embodiment of the invention also provides the server.
Fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention, and includes a processor 1101, a communication interface 1102, a memory 1103, and a communication bus 1104, where the processor 1101, the communication interface 1102, and the memory 1103 complete communication with each other through the communication bus 1104,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement the comment displaying method applied to the server according to the embodiment of the present invention when executing the program stored in the memory 1103.
The communication bus mentioned in the electronic device or the server may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic device or the server and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In still another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the comment display method provided by an embodiment of the present invention.
In yet another embodiment provided by the present invention, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to implement the comment displaying method provided by the embodiment of the present invention when executed.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the embodiments of the apparatus, the electronic device, the server, and the computer-readable storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the partial description of the embodiments of the method.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (17)

1. A comment display method is applied to a client, a user interface of the client comprises a play area and a comment display area, the play area is used for playing target multimedia, and the comment display area is used for displaying comment information generated by a user aiming at the target multimedia, and the method comprises the following steps:
when the target multimedia is played in the playing area, user comment information corresponding to the playing time of the target multimedia is acquired;
and displaying the user comment information in the comment display area, wherein the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time.
2. The method of claim 1, wherein the amount of user comment information includes a length of user comment information; the dynamic brief display of the user comment information corresponding to the current playing time in the comment display area includes:
when the length of the user comment information corresponding to the current playing time is larger than a preset length threshold, extracting key comment content of the user comment information corresponding to the current playing time, and displaying the extracted key comment content in the comment display area in a rolling manner;
or, the key comment content is displayed in the comment display area in a top-positioned mode or an explicit mode, wherein the explicit mode is as follows: and a display mode that the contrast difference exists between the color of the key comment content and the background color of the comment display area.
3. The method according to claim 2, wherein the extracting key comment content of the user comment information corresponding to the current play time includes:
and selecting key user comment information from the user comment information based on the attention of the user comment information corresponding to the current playing time, and taking the key user comment information as the key comment content.
4. The method of any of claims 1-3, wherein the user interface of the client further comprises a related information display area for displaying information associated with the target multimedia, the method further comprising:
when comment browsing operation triggered by a user in the comment display area is received, hiding the related information display area, and covering the comment display area to the related information display area;
dynamically displaying the user comment information in the comment display area, and displaying the user comment information corresponding to the current playing time in a target explicit mode, wherein the target explicit mode is as follows: and a display mode that the contrast difference exists between the color of the user comment information corresponding to the current playing time and the background color of the comment display area.
5. The method of claim 4, wherein the dynamically displaying the user comment information in the comment display area comprises:
when the comment information of the same time exists in the comment information of the user, dynamically displaying the comment information corresponding to other playing times in the comment display area in a mode that comment information is stacked layer by layer, wherein the comment information of the same time is as follows: user comment information corresponding to the same playing time;
and when the user selects to expand the comment information at the same moment, statically displaying all the comment information at the same moment in the comment display area in a mode of tiling the comment information one by one, and if the fact that the duration of manually browsing the comment information at the same moment by the user reaches a first preset duration is detected, returning all the comment information at the same moment to dynamically display the comment information corresponding to other playing moments in the comment display area in a mode of stacking the comment information one by one in a layer mode.
6. The method of claim 5, further comprising:
receiving a sliding browsing operation continuously triggered by a user in the comment display area;
highlighting the target comment information corresponding to the sliding browsing operation;
acquiring a target playing time of the target multimedia associated with the target comment information;
displaying the target playing time in the comment display area, and generating a target playing control for playing the target multimedia based on the target playing time;
and when receiving the triggering operation of the user on the target playing control, playing the target multimedia from the target playing moment.
7. The method of claim 6, further comprising:
and returning to the step of displaying the user comment information corresponding to the current playing time in the comment display area in a dynamic and brief manner when the pause duration of the sliding browsing operation is detected to reach a second preset duration.
8. The method according to any one of claims 1-3, further comprising:
recording the playing time of the target multimedia corresponding to the starting time of the user with the comment publishing intention;
and if receiving a comment publishing operation of a user for the comment to be published, publishing the comment to be published by taking the recorded moment as the playing moment of the comment playing content of the comment to be published.
9. The method of claim 8, wherein said posting the comment to be posted comprises:
determining the comment of the playing content at the recorded moment in the obtained comments;
and displaying the comments to be issued and the determined comments in the comment display area according to a preset sequence.
10. The method according to any one of claims 1-3, further comprising:
receiving comment display area adjustment operation triggered by a user in the comment display area;
and adjusting the comment display area.
11. A comment display method applied to a server, the method comprising:
receiving a comment acquisition request carrying the playing time of a target multimedia sent by a client;
obtaining user comment information corresponding to the playing time of the target multimedia from comment information of all existing multimedia;
sending the obtained user comment information to the client, so that the client displays the user comment information in a comment display area of a user interface, wherein the comment display area is as follows: the comment information is generated by the user aiming at the target multimedia.
12. The method of claim 11, wherein the comment information of each existing multimedia is determined as follows:
obtaining comment information generated by a user aiming at the existing multimedia;
extracting keywords of content plots corresponding to the existing multimedia at each playing moment;
and determining the comment information corresponding to the playing time of the existing multimedia based on the matching degree between the obtained comment information and the extracted keywords.
13. A comment display device is applied to a client, a user interface of the client comprises a play area and a comment display area, the play area is used for playing target multimedia, and the comment display area is used for displaying comment information generated by a user aiming at the target multimedia, and the device comprises:
the comment acquisition module is used for acquiring user comment information corresponding to the playing time of the target multimedia when the target multimedia is played in the playing area;
and the comment display module is used for displaying the user comment information in the comment display area, wherein the user comment information corresponding to the current playing time is dynamically and briefly displayed in the comment display area based on the user comment information amount corresponding to the current playing time.
14. A comment display apparatus, applied to a server, the apparatus comprising:
the request receiving module is used for receiving a comment acquisition request carrying the playing time of the target multimedia, which is sent by the client;
the first comment acquisition module is used for acquiring user comment information corresponding to the playing time of the target multimedia from comment information of all existing multimedia;
a comment sending module, configured to send the obtained user comment information to the client, so that the client displays the user comment information in a comment display area of a user interface, where the comment display area is: the comment information is generated by the user aiming at the target multimedia.
15. The electronic equipment is characterized in that the electronic equipment runs a client and comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-10 when executing a program stored in the memory.
16. A server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of claim 11 or 12 when executing a program stored in the memory.
17. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 10 or 11 to 12.
CN202110484216.XA 2021-04-30 2021-04-30 Comment display method and device Pending CN113194336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110484216.XA CN113194336A (en) 2021-04-30 2021-04-30 Comment display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110484216.XA CN113194336A (en) 2021-04-30 2021-04-30 Comment display method and device

Publications (1)

Publication Number Publication Date
CN113194336A true CN113194336A (en) 2021-07-30

Family

ID=76983665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110484216.XA Pending CN113194336A (en) 2021-04-30 2021-04-30 Comment display method and device

Country Status (1)

Country Link
CN (1) CN113194336A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314747A (en) * 2022-08-02 2022-11-08 北京字跳网络技术有限公司 Control method and device of media content, electronic equipment and storage medium
WO2024027648A1 (en) * 2022-08-02 2024-02-08 北京字跳网络技术有限公司 Information display method and apparatus, and electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164414A (en) * 2011-12-09 2013-06-19 腾讯科技(深圳)有限公司 Multimedia file comment display method and multimedia file comment display system
US20140337126A1 (en) * 2013-05-08 2014-11-13 Viki, Inc. Timed comments for media
CN104185079A (en) * 2014-09-11 2014-12-03 北京奇艺世纪科技有限公司 User comment display and collection method and device
US20170229152A1 (en) * 2016-02-10 2017-08-10 Linkedin Corporation Adding content to a media timeline
CN109739418A (en) * 2018-12-27 2019-05-10 维沃移动通信有限公司 The exchange method and terminal of multimedia application program
CN110572716A (en) * 2019-09-27 2019-12-13 腾讯科技(深圳)有限公司 Multimedia data playing method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164414A (en) * 2011-12-09 2013-06-19 腾讯科技(深圳)有限公司 Multimedia file comment display method and multimedia file comment display system
US20140337126A1 (en) * 2013-05-08 2014-11-13 Viki, Inc. Timed comments for media
CN104185079A (en) * 2014-09-11 2014-12-03 北京奇艺世纪科技有限公司 User comment display and collection method and device
US20170229152A1 (en) * 2016-02-10 2017-08-10 Linkedin Corporation Adding content to a media timeline
CN109739418A (en) * 2018-12-27 2019-05-10 维沃移动通信有限公司 The exchange method and terminal of multimedia application program
CN110572716A (en) * 2019-09-27 2019-12-13 腾讯科技(深圳)有限公司 Multimedia data playing method, device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314747A (en) * 2022-08-02 2022-11-08 北京字跳网络技术有限公司 Control method and device of media content, electronic equipment and storage medium
WO2024027648A1 (en) * 2022-08-02 2024-02-08 北京字跳网络技术有限公司 Information display method and apparatus, and electronic device and storage medium
CN115314747B (en) * 2022-08-02 2024-03-08 北京字跳网络技术有限公司 Method and device for controlling media content, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9280588B2 (en) Search result previews
CN103455590B (en) The method and apparatus retrieved in touch-screen equipment
US9760541B2 (en) Systems and methods for delivery techniques of contextualized services on mobile devices
KR101967036B1 (en) Methods, systems, and media for searching for video content
US20130086511A1 (en) Displaying plurality of content items in window
US20150350741A1 (en) Contextual Video Browsing
US20090327236A1 (en) Visual query suggestions
US20110314419A1 (en) Customizing a search experience using images
US9460167B2 (en) Transition from first search results environment to second search results environment
US10417289B2 (en) Systems and methods involving integration/creation of search results media modules
US20130346840A1 (en) Method and system for presenting and accessing content
US10210181B2 (en) Searching and annotating within images
US20140372873A1 (en) Detecting Main Page Content
TW201022973A (en) Previewing search results for suggested refinement terms and vertical searches
US20120036144A1 (en) Information and recommendation device, method, and program
KR20170140226A (en) Information retrieval navigation method and apparatus
US20130124511A1 (en) Visual search history
CN104145265A (en) Systems and methods involving features of seach and/or search integration
US10303723B2 (en) Systems and methods involving search enhancement features associated with media modules
JP2019522852A (en) System and method for providing contextual information
CN113194336A (en) Comment display method and device
US20240004946A1 (en) Content presentation
JP2017173795A (en) Information processing system, information processing method, and information processing program
RU2683482C2 (en) Method of displaying relevant contextual information
US9697281B1 (en) Autocomplete search methods

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210730

RJ01 Rejection of invention patent application after publication