CN112256166A - Comment information display method and device and electronic equipment - Google Patents

Comment information display method and device and electronic equipment Download PDF

Info

Publication number
CN112256166A
CN112256166A CN202011011550.5A CN202011011550A CN112256166A CN 112256166 A CN112256166 A CN 112256166A CN 202011011550 A CN202011011550 A CN 202011011550A CN 112256166 A CN112256166 A CN 112256166A
Authority
CN
China
Prior art keywords
comment
comment information
display
target content
user
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
CN202011011550.5A
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011011550.5A priority Critical patent/CN112256166A/en
Publication of CN112256166A publication Critical patent/CN112256166A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to a comment information display method, a comment information display device and electronic equipment, and relates to the field of short video application, wherein the comment information display method comprises the following steps: receiving comment display triggering operation of a first user on target content, and identifying a display scene type corresponding to the comment display triggering operation; acquiring a corresponding comment display mode according to the display scene type; the comment display mode comprises a comment information display mode with different comment grades; and responding to the comment display triggering operation, and displaying a plurality of pieces of comment information of the target content according to the comment displaying mode. According to the scheme, the comment viewing requirements of the user can be flexibly identified in real time to adjust the display mode of the comment, so that the display mode of the comment is enriched, the user can be helped to quickly locate the interested comment, and the comment browsing experience of the user is improved.

Description

Comment information display method and device and electronic equipment
Technical Field
The disclosure relates to the field of short video application, and in particular, to a comment information display method and device and an electronic device.
Background
With the development of internet technology, multimedia applications, such as video applications, news applications, etc., are becoming more and more abundant. A user can browse interesting content through a multimedia application, and in order to improve the interactive experience of the user, the multimedia application usually supports a comment function, and the user can comment on the interesting content and view comments of other users on the content.
At present, when a user views comments under interesting contents, the comments are displayed according to published sequence, and the display mode is single, so that the user is difficult to quickly locate the comments of interest, and the comment browsing experience of the user is influenced.
Disclosure of Invention
The disclosure provides a comment information display method and device and electronic equipment, and aims to at least solve the problem that in the related art, a comment display mode is single, so that a user cannot quickly locate a comment of interest. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for displaying comment information, including: receiving comment display triggering operation of a first user on target content, and identifying a display scene type corresponding to the comment display triggering operation; acquiring a corresponding comment display mode according to the display scene type; the comment display mode comprises a comment information display mode with different comment grades; and responding to the comment display triggering operation, and displaying a plurality of pieces of comment information of the target content according to the comment displaying mode.
In a possible implementation manner of the embodiment of the present disclosure, the identifying a display scene type corresponding to the comment display triggering operation includes: and when the comment display triggering operation is identified as that the first user carries out comment sending operation on the target content, determining that the display scene type is a comment information refreshing display scene.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining, according to the display scene type, a corresponding comment display manner includes:
for the display scene type, refreshing the display scene for the comment information, and acquiring a corresponding comment display mode comprises the following steps: the first user displays the target comment information sent to the target content in a comment area of the target content in a priority order relative to the first comment information sent by other users; and the target comment information sent by the first user to the target content belongs to non-primary comment information, and is displayed in a comment area of the previous-level comment information of the target comment information in a priority order relative to the non-primary comment information sent by other users.
In a possible implementation manner of the embodiment of the present disclosure, the displaying, in response to the comment display triggering operation, a plurality of pieces of comment information of the target content according to the comment displaying manner includes:
aiming at the display scene with the comment information refreshing display scene type, displaying a plurality of pieces of comment information according to a comment display mode corresponding to the comment information refreshing display scene comprises the following steps: for target comment information sent by a first user to target content, identifying that the target comment information belongs to primary comment information which is directly commented on the target content, and displaying the primary comment information in a comment area of the target content in a priority order relative to the primary comment information sent by other users; and identifying that the target comment information belongs to non-primary comment information sent by the first user to the comment information of the target content, and displaying the non-primary comment information in a comment area of the previous comment information of the target comment information in a higher priority order relative to the non-primary comment information sent by other users.
In a possible implementation manner of the embodiment of the present disclosure, the identifying a display scene type corresponding to the comment display triggering operation includes: when the comment display triggering operation is identified that the first user views the commented target content, or when the comment display triggering operation is identified that the first user views the unverified target content, determining that the display scene type is a comment information display scene.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining, according to the display scene type, a corresponding comment display manner includes:
aiming at the display scene type being a comment information display scene, acquiring a corresponding comment display mode comprises the following steps: and displaying the comment information in a comment time sequence, wherein the first-level comment information sent aiming at the target content is displayed in a comment area of the target content, and the non-first-level comment information sent aiming at the target content is displayed in a comment area of the first-level comment information of the non-first-level comment information.
In a possible implementation manner of the embodiment of the present disclosure, the displaying, in response to the comment display triggering operation, a plurality of pieces of comment information of the target content according to the comment displaying manner includes:
aiming at the display scene type of the comment information display scene, displaying a plurality of pieces of comment information according to a comment display mode corresponding to the comment information display scene comprises the following steps: displaying a plurality of pieces of comment information of the target content in a comment time sequence; identifying first-level comment information which belongs to direct comments aiming at the target content in the plurality of pieces of comment information, and displaying the first-level comment information in a comment area of the target content; and identifying non-primary comment information sent by the comment information aiming at the target content in the plurality of pieces of comment information, and displaying the non-primary comment information in a comment area of the comment information at the previous level of the non-primary comment information.
In a possible implementation manner of the embodiment of the present disclosure, the method further includes: and receiving comment display triggering operation of a second user, and displaying target comment information sent to the target content by the first user in a comment time sequence.
According to a second aspect of the embodiments of the present disclosure, there is provided a display apparatus of comment information, including: the identification module is configured to receive comment display triggering operation, which is carried out on target content by a first user, and identify a display scene type corresponding to the comment display triggering operation; the obtaining module is configured to obtain a corresponding comment display mode according to the display scene type; the comment display mode comprises a comment information display mode with different comment grades; and the display module is configured to respond to the comment display triggering operation and display a plurality of pieces of comment information of the target content according to the comment display mode.
In a possible implementation manner of the embodiment of the present disclosure, the identification module is specifically configured to: and when the comment display triggering operation is identified as that the first user carries out comment sending operation on the target content, determining that the display scene type is a comment information refreshing display scene.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining module is specifically configured to:
and for the display scene type, refreshing the display scene for the comment information, and acquiring a corresponding comment display mode as follows: the first user displays the target comment information sent to the target content in a comment area of the target content in a priority order relative to the first comment information sent by other users; and the target comment information sent by the first user to the target content belongs to non-primary comment information, and is displayed in a comment area of the previous-level comment information of the target comment information in a priority order relative to the non-primary comment information sent by other users.
In a possible implementation manner of the embodiment of the present disclosure, the display module is specifically configured to:
aiming at the display scene with the type of comment information refreshing display scene, according to the comment display mode corresponding to the comment information refreshing display scene, displaying a plurality of pieces of comment information: for target comment information sent by a first user to target content, identifying that the target comment information belongs to primary comment information which is directly commented on the target content, and displaying the primary comment information in a comment area of the target content in a priority order relative to the primary comment information sent by other users; and identifying that the target comment information belongs to non-primary comment information sent by the first user to the comment information of the target content, and displaying the non-primary comment information in a comment area of the previous comment information of the target comment information in a higher priority order relative to the non-primary comment information sent by other users.
In a possible implementation manner of the embodiment of the present disclosure, the identification module is specifically configured to: when the comment display triggering operation is identified that the first user views the commented target content, or when the comment display triggering operation is identified that the first user views the unverified target content, determining that the display scene type is a comment information display scene.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining module is specifically configured to:
aiming at the display scene type as a comment information display scene, acquiring a corresponding comment display mode as follows: and displaying the comment information in a comment time sequence, wherein the first-level comment information sent aiming at the target content is displayed in a comment area of the target content, and the non-first-level comment information sent aiming at the target content is displayed in a comment area of the first-level comment information of the non-first-level comment information.
In a possible implementation manner of the embodiment of the present disclosure, the display module is specifically configured to:
aiming at the display scene type which is a comment information display scene, displaying a plurality of pieces of comment information according to a comment display mode corresponding to the comment information display scene: displaying a plurality of pieces of comment information of the target content in a comment time sequence; identifying first-level comment information which belongs to direct comments aiming at the target content in the plurality of pieces of comment information, and displaying the first-level comment information in a comment area of the target content; and identifying non-primary comment information sent by the comment information aiming at the target content in the plurality of pieces of comment information, and displaying the non-primary comment information in a comment area of the comment information at the previous level of the non-primary comment information.
In a possible implementation manner of the embodiment of the present disclosure, the apparatus further includes: and the receiving module is configured to receive comment display triggering operation of a second user and display target comment information, sent to the target content by the first user, in a comment time sequence.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of displaying comment information according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the method of displaying comment information as described in the foregoing first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which, when executed by a processor of an electronic device, enables the electronic device to perform the method of displaying comment information as described in the foregoing first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the comment display method includes the steps that a comment display triggering operation of a first user on target content is received, a display scene type corresponding to the comment display triggering operation is identified, then corresponding comment display modes are obtained according to the identified display scene type, the comment display modes comprise comment information display modes with different comment grades, the received comment display triggering operation is responded, and a plurality of pieces of comment information of the target content are displayed according to the obtained comment display modes. Therefore, by identifying the corresponding display scene type when the user triggers to display the comment and aiming at the display scene type reflecting the comment viewing demand of the user, the corresponding comment display mode is obtained to display the comment, the comment viewing demand of the user is flexibly identified in real time to adjust the display mode of the comment, the display mode of the comment is enriched, meanwhile, the user can be helped to quickly locate the interested comment, and the comment browsing experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flowchart illustrating a method of displaying comment information according to an exemplary embodiment.
Fig. 2 is an exemplary diagram of a comment information presentation page.
Fig. 3 is a diagram illustrating a display position of first-level comment information sent by a first user in a comment information refresh display scene.
Fig. 4 is a diagram illustrating a display position of three-level comment information sent by a first user in a comment information refresh display scene.
Fig. 5 is a diagram illustrating an example of a display position of the first-level comment information sent by the first user in the comment information display scene.
Fig. 6 is a diagram illustrating a display position of three-level comment information sent by the first user in a comment information display scene.
FIG. 7 is a flowchart illustrating a method of displaying comment information according to another exemplary embodiment
Fig. 8 is a flowchart illustrating a display method of comment information according to still another exemplary embodiment.
Fig. 9 is an application scene diagram illustrating a display method of comment information according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a display apparatus of comment information according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a display apparatus of comment information according to another exemplary embodiment.
FIG. 12 is a block diagram illustrating an electronic device for display of comment information in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a display method of comment information, which is used in an electronic device as shown in fig. 1, according to an exemplary embodiment, and includes the following steps:
in step S11, a comment display trigger operation performed by the first user on the target content is received, and a presentation scene type corresponding to the comment display trigger operation is identified.
It should be noted that an execution subject of the comment information display method of the present disclosure is an electronic device, and the electronic device may be, for example, a smartphone, a tablet computer, a notebook computer, a wearable device, and the like. The comment information display method according to the embodiment of the present disclosure may be executed by the comment information display apparatus according to the embodiment of the present disclosure, and the comment information display apparatus according to the embodiment of the present disclosure may be configured in any electronic device to execute the comment information display method according to the embodiment of the present disclosure.
The target content may be multimedia content that supports user comments at will, such as short video content, microblog content, web article content, audio and video content played in an audio and video player, and the like.
In the embodiment of the present disclosure, the first user refers to any user who browses the target content by using the electronic device and performs a comment display triggering operation on the browsed target content. The comment display triggering operation may be, for example, a comment sending operation performed by the user on the target content (that is, a comment triggered when the user performs a comment on the target content is refreshed and displayed and is continuously left on the current page), comment information of the target content viewed by the user (which may be a comment made by the user or an comment not made by the user), and the like. Taking the target content as the short video content as an example, in the process that the user a browses the short video through the short video application installed in the smartphone, the user a clicks a comment entry of a certain short video to view related comment information of the short video, and then the user a is the first user in the disclosure.
Usually, multiple entries such as approval, comment, share, and the like are provided in a display page of the target content to meet the interaction requirements of the user. When a user clicks a comment entry of the target content, existing comment information of the target content is displayed in the page, and a comment information input box is provided for the current user to comment on the target content. In addition, in the display interface of the comment information, the user can reply comments made by other users. When the user clicks the comment entry of the target content to view the comment information of the target content, or the user replies to some existing comment information of the target content, the comment display triggering operation is performed on the target content, and the user is the first user. Then, the display device of the comment information may identify the type of the presentation scene corresponding to the comment display trigger operation.
In the embodiment of the disclosure, different comment display trigger operations may correspond to different display scene types, may also correspond to the same display scene type, and may set the display scene type corresponding to the comment display trigger operation according to the actual display requirement.
As an example, the corresponding relationship between different comment display triggering operations and the display scene types may be pre-established and stored, for example, when the comment display triggering operations give comments to the user or reply to comments of other users, the corresponding display scene type is type a; when the comment display triggering operation is an operation triggered by a user viewing comment information of the commented target content, or when the comment display triggering operation is an operation triggered by a user viewing comment information of the target content which is not commented, the corresponding display scene type is type B. Therefore, after receiving the comment display triggering operation of the first user on the target content, the display scene type corresponding to the comment display triggering operation can be identified by inquiring the corresponding relation between the prestored comment display triggering operation and the display scene type.
In the embodiment of the disclosure, the display scene type is determined according to the comment display triggering operation of the first user on the target content, different comment display triggering operations can reflect the comment viewing requirement of the first user, and then the comment viewing requirement of the first user can be reflected through the display scene type corresponding to the comment display triggering operation. For example, after the first user posts a comment on the target content or the first user replies to comments of other users, the first user generally wants to be able to see the comment information posted by the first user, and when it is recognized that the comment display triggering operation performed by the first user is that the first user posts a comment on the target content or the first user replies to comments of other users, the determined display scene type can reflect the comment viewing requirement that the first user wants to preferentially view the comment information posted by the first user. When the first user performs the operation of viewing the existing comments on the target content, the first user wants to view all the comments under the target content, and when the comment display triggering operation performed by the first user is recognized as viewing the comment information of the target content, the determined display scene type can reflect the comment viewing requirement that the first user wants to view all the comment information under the target content.
In step S12, according to the type of the display scene, a corresponding comment display mode is obtained; the comment display mode comprises a display mode of comment information with different comment grades.
In the embodiment of the disclosure, after the display scene type corresponding to the comment display triggering operation is identified, according to the display scene type, a comment display mode corresponding to the display scene type can be further acquired.
As an example, the corresponding relationship between different display scene types and comment display manners may be pre-established and stored, so that, after the display scene type corresponding to the comment display triggering operation performed by the first user is identified, the comment display manner corresponding to the identified display scene type may be determined by querying the pre-stored corresponding relationship between the different display scene types and comment display manners.
For example, assume that in the pre-established correspondence relationship, the display scene type a corresponds to the comment display mode 1, and the display scene type B corresponds to the comment display mode 2. If the identified display scene type is the type A according to the comment display triggering operation implemented by the first user, the comment display mode corresponding to the current display scene type A can be determined to be the comment display mode 1 by inquiring the corresponding relation.
The comment display mode comprises a display mode of comment information with different comment grades, the comment grades comprise but are not limited to a first-level comment grade, a second-level comment grade, a third-level comment grade and the like, and the comment grades can be determined according to the comment object aimed at by the comment information. For example, if the comment information is a comment for the target content, the comment level corresponding to the comment information is a first-level comment level, and correspondingly, the comment information is first-level comment information; if the comment information is a reply aiming at a certain piece of first-level comment information of the target content, the comment grade corresponding to the comment information is a second-level comment grade, and the comment information is second-level comment information; similarly, if a certain piece of comment information is replied for a certain piece of second-level comment information of the target content, the comment level corresponding to the comment information is a third-level comment level, the comment information is third-level comment information, and by analogy, each piece of comment information under the target content has a corresponding comment level.
It should be noted that, in the comment information display manner, the display manners of the comment information with different comment levels may be the same or different, for example, in the comment information display manner, the comment information with different comment levels are displayed according to the comment time sequence from early to late, that is, the corresponding first-level comment information, second-level comment information, third-level comment information, and the like are displayed according to the same time sequence; or, in a comment information display mode, the first-level comment information is displayed according to the comment time sequence from early to late, the second-level comment information is displayed according to the comment time sequence from late to early, the third-level comment information is displayed in a random mode, and the like. The display modes of the comment information of different levels in the comment information display modes can be set according to actual requirements, and the comment information display modes are not limited by the disclosure.
In step S13, in response to the comment display triggering operation, a plurality of pieces of comment information of the target content are displayed in accordance with the comment display manner.
In the embodiment of the disclosure, after the comment displaying mode corresponding to the displaying scene type is obtained, the plurality of pieces of comment information of the target content can be displayed according to the obtained comment displaying mode so as to respond to the comment display triggering operation of the first user.
The multiple pieces of comment information of the target content at least comprise first-level comment information, second-level comment information for replying the first-level comment information, and further third-level comment information for replying the second-level comment information. And displaying the comment information with different comment grades in the plurality of pieces of comment information according to the display mode of the corresponding comment grade contained in the obtained comment display mode.
For example, in an obtained comment display mode, comment information of different comment levels are displayed according to a preset comment time sequence, wherein the first-level comment information with the first-level comment level is displayed according to a comment time sequence from early to late, non-first-level comment information of other comment levels is displayed according to a comment time sequence from late to early, a comment display triggering operation of a first user is responded, and when a plurality of pieces of comment information of target content are displayed, all the first-level comment information included in the plurality of pieces of comment information is displayed in a comment area of the target content according to a comment time sequence of each piece of first-level comment information. If the plurality of pieces of comment information also include second-level comment information or even third-level comment information, because the second-level comment information is reply information for replying the first-level comment information, and the third-level comment information is reply information for replying the second-level comment information, if a certain piece of first-level comment information includes the second-level comment information for replying the certain piece of first-level comment information, all the second-level comment information corresponding to the first-level comment information are displayed in the comment area of the first-level comment information in the order of the comment time from late to early. Similarly, if a certain piece of secondary comment information contains the tertiary comment information replied to the certain piece of secondary comment information, all the tertiary comment information corresponding to the secondary comment information is displayed in the comment area of the secondary comment information according to the sequence of the comment time from late to early.
According to the comment information display method provided by the embodiment of the disclosure, a comment display trigger operation implemented by a first user on a target content is received, a display scene type corresponding to the comment display trigger operation is identified, then, a corresponding comment display mode is obtained according to the identified display scene type, the comment display mode comprises comment information display modes with different comment grades, the received comment display trigger operation is responded, and a plurality of pieces of comment information of the target content are displayed according to the obtained comment display modes. Therefore, by identifying the corresponding display scene type when the user triggers to display the comment and aiming at the display scene type reflecting the comment viewing demand of the user, the corresponding comment display mode is obtained to display the comment, the comment viewing demand of the user is flexibly identified in real time to adjust the display mode of the comment, the display mode of the comment is enriched, meanwhile, the user can be helped to quickly locate the interested comment, and the comment browsing experience of the user is improved.
In the embodiment of the disclosure, the display scene types corresponding to different comment display triggering operations can be preset, so that when the comment display triggering operation implemented by the first user on the target content is received, the corresponding display scene type is identified according to the received comment information triggering operation.
In a possible implementation manner of the embodiment of the present disclosure, on the basis of the embodiment shown in fig. 1, in step S11, when the display scene type corresponding to the comment display triggering operation is identified, if it is identified that the comment display triggering operation is a comment sending operation performed by the first user on the target content, it is determined that the display scene type is a comment information refresh display scene.
The first user performs a comment sending operation on the target content, which may be that the first user performs a comment on the target content, or that the first user replies to comment information of other users in the target content, that is, the comment sending operation performed by the first user may be to comment on the target content, or to reply to comments of other users.
When a first user comments a target content, the comment can be made through a comment entry provided by a target content display page, for example, when the first user clicks the comment entry in the target content display page, a comment information display page is displayed in the target content display page, existing comment information is displayed in the comment information display page, and a comment input box is provided below the comment information display page, as shown in fig. 2, the first user can input comment information in the comment input box, and then click a "send" button, so that a comment sending operation implemented on the target content can be completed.
When the first user replies the comments of other users in the target content, a corresponding reply entry can be set for the comments of other users, for example, "reply" can be displayed at the lower right, the rear or other positions of each comment as a comment reply entry, and when the first user clicks the "reply" corresponding to a certain comment, a reply information input box is displayed for the first user to input comment reply information aiming at the comment; or, the reply entry may not be set, and the first user may trigger the display of the reply information input box by clicking the comment to be replied, so that the first user inputs the comment reply information for the comment. After the first user finishes inputting, the input reply content can be sent through the sending button, and the comment sending operation performed on the target content is finished, so that the comment information display device of the embodiment of the disclosure can receive the operation and determine that the corresponding display scene type is the comment information refreshing display scene.
In addition, the page can be refreshed and displayed due to the fact that the comment information of the current user is added, and therefore when the comment display triggering operation is identified as the first user applying the comment sending operation to the target content, the current display scene type can be determined to be the comment information refreshing display scene. The comment information refreshing display scene reflects the comment viewing requirement that a user wants to preferentially view the comment information published by the user.
According to the comment information display method provided by the embodiment of the disclosure, when the comment display triggering operation is identified as the first user carries out the comment sending operation on the target content, the display scene type is determined as the comment information refreshing display scene, so that the corresponding display scene type is identified according to the operation carried out by the user, and conditions are provided for distinguishing different user comment viewing requirements to display comments to the user.
In a possible implementation manner of the embodiment of the present disclosure, on the basis of the embodiment shown in fig. 1, in step S11, when the display scene type corresponding to the comment display triggering operation is identified, if it is identified that the comment display triggering operation is used by the first user to view the commented target content, or when it is identified that the comment display triggering operation is used by the first user to view the non-commented target content, it is determined that the display scene type is the comment information display scene.
In the embodiment of the disclosure, when the first user views the target content which the first user has commented on, for example, the first user leaves the comment information display page after performing a comment operation on the target content, and then reenters the comment information display page, at this time, the received comment display trigger operation is an operation triggered by the first user viewing the commented target content; when the first user views comment information of other users on the target content, but the first user does not comment the target content, the received comment display triggering operation is an operation triggered by the first user viewing the target content which is not commented. When the comment display triggering operation is identified by the comment information display device to enable the first user to view the commented target content, or when the comment display triggering operation is identified to enable the first user to view the non-commented target content, the display scene type is determined to be the comment information display scene. The comment information display scene reflects the comment viewing requirements of the user who wants to view all comment information under the target content.
According to the comment information display method provided by the embodiment of the disclosure, when the comment display triggering operation is identified to enable the first user to view the commented target content, or when the comment display triggering operation is identified to enable the first user to view the non-commented target content, the display scene type is determined to be the comment information display scene, so that the corresponding display scene type is identified according to the operation implemented by the user, when the user only views the comment information of the target content, the display scene type is determined to be the comment information display scene, and a foundation is laid for identifying the comment viewing requirement of the user according to the scene when the user views the comment and determining the corresponding comment display logic to display the comment information.
In the embodiment of the disclosure, for different comment display scene types, the corresponding comment display modes are also different, and the comment display modes corresponding to the different comment display scene types are introduced one by one.
In a possible implementation manner of this embodiment of the disclosure, on the basis of the embodiment shown in fig. 1, in step S12, when the corresponding comment displaying manner is obtained according to the display scene type, the display scene is refreshed for the comment information for the display scene type, and obtaining the corresponding comment displaying manner includes: the method comprises the steps that target comment information sent by a first user to target content belongs to first-level comment information, and is displayed in a comment area of the target content in a priority order relative to first-level comment information sent by other users; and the target comment information sent by the first user to the target content belongs to the non-first-level comment information, and is displayed in the comment area of the previous-level comment information of the target comment information in a higher priority order relative to the non-first-level comment information sent by other users.
That is to say, in the embodiment of the present disclosure, in the scene of refreshing and displaying the comment information, if the first user is a comment for the target content, the target comment information sent by the first user belongs to the first-level comment information, and compared with the first-level comment information sent by other users for the target content, the target comment information has a higher priority display order; if the first user replies to the comments of other users, the target comment information sent by the first user belongs to the non-primary comment information, and the target comment information has a higher display order than the non-primary comment information sent by other users. For example, when the primary comment information is replied, the target comment information belongs to the secondary comment information, and compared with the secondary comment information sent by other users, the target comment information has a higher priority display order; when the second-level comment information is replied, the target comment information belongs to the third-level comment information, and compared with the third-level comment information sent by other users, the target comment information has a higher display order.
The display order with higher priority may be that the display position is more advanced, for example, the target comment information is displayed at the first comment display position of the target content, or is displayed at the first comment display position of the previous comment information of the target comment information.
According to the comment information display method provided by the embodiment of the disclosure, the display scene is refreshed for the comment information according to the display scene type, and the corresponding comment display mode is obtained, wherein the first user belongs to the first-level comment information about the target comment information sent to the target content, and the first-level comment information is displayed in the comment area of the target content in a priority order relative to the first-level comment information sent by other users; the target comment information sent by the first user to the target content belongs to non-first-level comment information, and is displayed in a comment area of the previous-level comment information of the target comment information in a priority order relative to the non-first-level comment information sent by other users. Therefore, the target comment information sent by the first user has a higher priority display order in the scene of the comment information refreshing display, and the target comment information sent by the first user is displayed preferentially when the comment information of the target content is displayed, so that the first user can quickly and accurately position the own comment information.
In a possible implementation manner of this embodiment of the present disclosure, on the basis of the embodiment shown in fig. 1, in step S12, when obtaining a corresponding comment displaying manner according to a display scene type, obtaining the corresponding comment displaying manner for a comment information display scene of the display scene type includes: and displaying in a comment time sequence, wherein the first-level comment information sent aiming at the target content is displayed in a comment area of the target content, and the non-first-level comment information sent aiming at the target content is displayed in a comment area of the first-level comment information of the non-first-level comment information.
That is to say, in the embodiment of the present disclosure, in a comment information display scene, comment information is displayed according to a comment time sequence, and comment information with different comment levels is displayed in different comment areas, and if the comment information is primary comment information sent for a target content, the comment information is displayed in a comment area of the target content according to the comment time sequence; if the comment information is non-primary comment information sent aiming at the target content, namely the comment information is reply information aiming at other comment information, the non-primary comment information is displayed in a comment area of the previous-level comment information of the non-primary comment information according to the comment time sequence. The comment time sequence may be preset, for example, the comment time sequence is set to be an order from morning to evening, or the comment time sequence is set to be an order from evening to morning, and may be set according to an actual requirement, which is not limited by the present disclosure.
It can be understood that the previous comment information of the non-first-level comment information refers to comment information replied by the non-first-level comment information, for example, there are comment information a, b and c, where a and b are both first-level comment information, c is second-level comment information, c is a reply to a, and then the previous comment information of c is a, and when the comment information is displayed, c is displayed in the comment area of a.
According to the comment information display method provided by the embodiment of the disclosure, the comment display mode is obtained by taking the display scene type as the comment information display scene, and the comment display mode comprises displaying in a comment time sequence, wherein the first-level comment information sent for the target content is displayed in the comment area of the target content, and the non-first-level comment information sent for the target content is displayed in the comment area of the first-level comment information of the non-first-level comment information. Therefore, the comment information can be displayed in the corresponding comment area according to the comment time sequence, and the time sequence of the comment information is guaranteed.
In the embodiment of the present disclosure, the corresponding comment presentation modes are different in different presentation scene types, and thus, the presentation forms of the comment information of the target content are also different, and how to present the plurality of pieces of comment information of the target content in different presentation scene types is described below.
In a possible implementation manner of the embodiment of the present disclosure, on the basis of the embodiment shown in fig. 1, in step S13, in response to a comment display triggering operation, when multiple pieces of comment information of a target content are displayed according to a comment display manner, refreshing a display scene for the comment information according to a display scene type, and displaying the multiple pieces of comment information according to a comment display manner corresponding to the comment information refreshing display scene includes: for target comment information sent by a first user to target content, identifying that the target comment information belongs to primary comment information which is directly commented on the target content, and displaying the primary comment information in a comment area of the target content in a priority order relative to the primary comment information sent by other users; and identifying that the target comment information belongs to non-primary comment information sent by the first user to the comment information of the target content, and displaying the comment information in a comment area of the comment information at the previous level of the target comment information in a higher priority order relative to the non-primary comment information sent by other users.
In the embodiment of the disclosure, if the display scene type identified according to the received comment display triggering operation is a comment information refreshing display scene, multiple pieces of comment information of the target content are displayed according to a comment display mode corresponding to the comment information refreshing display scene. Specifically, if the first user is a comment for the target content, it may be recognized that the target comment information sent by the first user to the target content among the plurality of pieces of comment information is primary comment information that is directly commented on the target content, and the target comment information is presented in a comment area of the target content in an order that is more prioritized than the primary comment information sent by other users among the plurality of pieces of comment information.
For example, the target comment information sent by the first user may be displayed at a first display position in the comment area of the target content, and the primary comment information sent by other users is displayed below the target comment information, where when the primary comment information sent by other users is displayed, the display sequence of the primary comment information sent by other users may be displayed according to a preset comment time sequence, or may be randomly displayed, which is not limited by the present disclosure. Fig. 3 is an exemplary diagram of a display position of the primary comment information sent by the first user in the comment information refresh display scene, in fig. 3, the user 2 is the first user, and as can be seen from fig. 3, in the comment information refresh display scene, the primary comment information sent by the user 2 to the video content is displayed at the first display position in the comment area of the video content, and the primary comment information sent by the user 1, the user 5, and the user 6 to the video content is displayed below the primary comment information of the user 2 in the order of the comment time from late to early.
If the first user replies to comments of other users, it may be identified that the target comment information sent to the target content by the first user in the plurality of pieces of comment information is non-primary comment information sent to the comment information of the target content by the first user, for example, the target comment information may be secondary comment information sent to a certain piece of primary comment information of the target content by the first user, or may be tertiary comment information sent to a certain piece of secondary comment information of the target content by the first user, and in this case, the target comment information sent by the first user is displayed in a comment area of the last-level comment information of the target comment information in an order that is more preferred than the non-primary comment information sent by other users. For example, if the target comment information sent by the first user is the secondary comment information sent to a certain piece of primary comment information of the target content, the target comment information has a higher display order than the secondary comment information sent by other users to the primary comment information, for example, the target comment information may be displayed at a first display position in a comment area of the primary comment information, and the secondary comment information sent by other users to the primary comment information is displayed below the target comment information.
Fig. 4 is an exemplary diagram of display positions of three levels of comment information sent by a first user in a comment information refresh display scene, and in fig. 4, a user C is a first user. As shown in fig. 4, the comments posted by the user a, the user E, and the user F are first-level comment information, the comment information of the user B is a reply to the first-level comment information of the user a, the comment information of the user B belongs to second-level comment information, the comment information of the user C and the comment information of the user D are a reply to the comment information of the user B, and the comment information of the user C and the comment information of the user D belong to third-level comment information. As can be seen from fig. 4, the third-level comment information sent by the user C is displayed at the first display position of the comment area of the second-level comment information sent by the user B, and the third-level comment information sent by the user D is displayed below the third-level comment information sent by the user C.
The speed limiting method for the comment information, provided by the embodiment of the disclosure, comprises the steps of refreshing a display scene for the comment information according to the display scene type, and displaying a plurality of pieces of comment information according to a comment display mode corresponding to the display scene refreshed by the comment information, wherein for target comment information sent by a first user to target content, the target comment information is identified to belong to first-level comment information which is directly commented for the target content, and is displayed in a comment area of the target content in a priority order relative to first-level comment information sent by other users; and identifying that the target comment information belongs to non-primary comment information sent by the first user to the comment information of the target content, and displaying the non-primary comment information in a comment area of the previous comment information of the target comment information in a higher priority order relative to the non-primary comment information sent by other users. Therefore, under the scene of refreshing and displaying the comment information, the comment information sent by the first user is displayed in a priority order by the comment information sent by other users, the first user can quickly and accurately position the comment after sending the comment information, and the user can confirm that the comment information is successfully sent after positioning the comment, so that the user can clearly sense whether the comment is successful or not, the perception of the user for sending the comment is improved, and the comment information sent by the first user is preferentially displayed, so that the comment information sent by the first user is continuous with the object to be commented on, and the first user can clearly perceive the context relationship between the comment information and the commented object, so that the user generates a conversational feel, the splitting feel generated in the moment of comment of the user is effectively relieved, the interactive experience of the user is improved, and the comment rate of the user is improved.
In a possible implementation manner of the embodiment of the present disclosure, on the basis of the embodiment shown in fig. 1, in step S13, when multiple pieces of comment information of a target content are displayed according to a comment display manner in response to a comment display trigger operation, displaying multiple pieces of comment information according to a comment display manner corresponding to a comment information display scenario for a display scenario type being the comment information display scenario includes: displaying a plurality of pieces of comment information of the target content in a comment time sequence; identifying first-level comment information which belongs to direct comments aiming at target content in the plurality of pieces of comment information, and displaying the first-level comment information in a comment area of the target content; and identifying non-primary comment information which belongs to comment information transmission aiming at the target content in the plurality of pieces of comment information, and displaying the non-primary comment information in a comment area of the comment information at the previous level of the non-primary comment information.
In the embodiment of the disclosure, in a comment information display scene, a plurality of pieces of comment information of target content to be displayed may be displayed according to a comment time sequence, where the comment time sequence may be preset, for example, the comment time sequence is set to be from late to early or from early to late.
When multiple pieces of comment information of the target content are displayed, first-level comment information directly commenting on the target content, second-level comment information replying to the first-level comment information of the target content, third-level comment information replying to the second-level comment information of the target content and the like can be identified from the multiple pieces of comment information according to an object commented by each piece of comment information. For each level of comment information which belongs to direct comment aiming at the target content in the plurality of pieces of recognized comment information, displaying each level of comment information in a comment area of the target content according to a comment time sequence; for the second-level comment information sent by the first-level comment information aiming at the target content in the identified plurality of pieces of comment information, displaying the second-level comment information in a comment area of the first-level comment information replied by the second-level comment information; and for the third-level comment information which belongs to the second-level comment information sent aiming at the target content in the plurality of pieces of recognized comment information, displaying the third-level comment information in a comment area of the second-level comment information replied by the third-level comment information, and so on.
Taking a comment information display scene triggered by the first user viewing the commented target content as an example, fig. 5 is an example of a display position of the first-level comment information sent by the first user in the comment information display scene, and fig. 6 is an example of a display position of the third-level comment information sent by the first user in the comment information display scene.
In fig. 5, a user 2 is a first user, a user 1, a user 2, a user 5, and a user 6 send primary comment information, a user 3 and a user 4 reply to the comment information of the user 1, and belong to secondary comment information, it can be seen that the primary comment information of a target content is displayed in a comment area of the target content in the order of comment time from early to late, and the secondary comment information is displayed in a comment area of the replied primary comment information (the primary comment information sent by the user 1) in the order of comment time from early to late.
In fig. 6, the user C is the first user, the comments posted by the users a, E, and F are first-level comment information, the comment posted by the user B is a reply to the first-level comment information of the user a, and belongs to second-level comment information, and the comments of the users C and D are replies to the second-level comment information sent by the user B, and belong to third-level comment information. As can be seen from fig. 6, the first-level comment information and the third-level comment information of the target content are displayed in the order from the morning to the evening according to the comment time, wherein the first-level comment information is displayed in the comment area of the target content, the second-level comment information is displayed in the comment area of the replied first-level comment information, and the third-level comment information is displayed in the comment area of the replied second-level comment information.
According to the comment information display method provided by the embodiment of the disclosure, a plurality of pieces of comment information are displayed according to a comment display mode corresponding to a comment information display scene by aiming at the comment information display scene which is a display scene type, and a plurality of pieces of comment information of target content are displayed in a comment time sequence; identifying first-level comment information which belongs to direct comments aiming at target content in the plurality of pieces of comment information, and displaying the first-level comment information in a comment area of the target content; and identifying non-primary comment information which belongs to comment information transmission aiming at the target content in the plurality of pieces of comment information, and displaying the non-primary comment information in a comment area of the comment information at the previous level of the non-primary comment information. Therefore, the comment information of the target content is displayed according to the comment time sequence, and the time sequence of the comment information is guaranteed.
In a possible implementation manner of the embodiment of the disclosure, when a comment display triggering operation of a second user is received, target comment information sent by a first user to target content is displayed in a comment time sequence.
Wherein the second user is a different user than the first user.
That is to say, when the second user performs the comment display triggering operation on the target content, no matter what the comment display triggering operation performed by the second user is, the target comment information sent to the target content by the first user is displayed according to the preset comment time sequence. If the comment display triggering operation implemented by the second user is a comment sending operation implemented on the target content, and the second user and the first user are both comments directly made on the target content, the display order of the comment information sent by the second user takes precedence over the target comment information of the first user; and if the comment display triggering operation implemented by the second user is to only view the comment information (including the comment of the second user or not yet commented) of the target content, displaying the comment information of all the target content including the target comment information sent by the first user according to the comment time sequence.
According to the comment information display method provided by the embodiment of the disclosure, the comment display trigger operation of the second user is received, and the target comment information sent to the target content by the first user is displayed in the comment time sequence, so that the comment information of other users is displayed in the comment time sequence, and the time sequence of the comment information of the target content is kept.
Fig. 7 is a flowchart illustrating a display method of comment information according to another exemplary embodiment. As shown in fig. 7, the display method of the comment information may include the steps of:
in step S21, a comment display trigger operation performed by the first user on the target content is received.
In step S22, when it is recognized that the comment display trigger operation is a comment sending operation performed by the first user on the target content, it is determined that the presentation scene type is a comment information refresh display scene.
In step S23, the refreshing the display scene with respect to the display scene type being the comment information, and the obtaining of the corresponding comment display mode includes: the method comprises the steps that target comment information sent by a first user to target content belongs to first-level comment information, and is displayed in a comment area of the target content in a priority order relative to first-level comment information sent by other users; and the target comment information sent by the first user to the target content belongs to the non-first-level comment information, and is displayed in the comment area of the previous-level comment information of the target comment information in a higher priority order relative to the non-first-level comment information sent by other users.
In step S24, a plurality of pieces of comment information of the target content are displayed in accordance with the comment display mode corresponding to the comment information refresh display scene.
It should be noted that, for the explanation of the steps S21 to S24, reference may be made to the related description of the foregoing embodiments, and in order to avoid repetition, the description is not repeated here.
The comment information display method provided by the embodiment of the disclosure determines that the display scene type is a comment information refreshing display scene when the comment display triggering operation is identified as that a first user carries out a comment sending operation on a target content, and obtains a corresponding comment display mode for the display scene type is the comment information refreshing display scene, wherein the target comment information sent by the first user on the target content belongs to first-level comment information and is displayed in a comment area of the target content in a more preferential order than the first-level comment information sent by other users, the target comment information sent by the first user on the target content belongs to non-first-level comment information and is displayed in a comment area of the last-level comment information of the target comment information in a more preferential order than the non-first-level comment information sent by other users, and then the comment display mode corresponding to the display scene is refreshed according to the comment information, the comment information display method has the advantages that the comment information of the target content is displayed, the comment information sent by the first user is preferentially displayed in the display order of the comment information sent by other users in the scene of the updated display of the comment information, so that the first user can quickly and accurately position own comment after sending the comment information, the user can confirm that the comment information is successfully sent after positioning the own comment, the user can clearly perceive whether the comment is successful or not, and the perception degree of the user sending the comment is improved.
Fig. 8 is a flowchart illustrating a display method of comment information according to still another exemplary embodiment. As shown in fig. 8, the display method of the comment information may include the steps of:
in step S31, a comment display trigger operation performed by the first user on the target content is received.
In step S32, when it is recognized that the comment display trigger operation is the first user viewing the commented target content, or when it is recognized that the comment display trigger operation is the first user viewing the non-commented target content, it is determined that the presentation scene type is the comment information display scene.
In step S33, for a comment information display scene of which the display scene type is a comment information display scene, acquiring a corresponding comment display manner includes: and displaying in a comment time sequence, wherein the first-level comment information sent aiming at the target content is displayed in a comment area of the target content, and the non-first-level comment information sent aiming at the target content is displayed in a comment area of the first-level comment information of the non-first-level comment information.
In step S34, a plurality of pieces of comment information of the target content are displayed in accordance with the comment display manner corresponding to the comment information display scene.
It should be noted that, for the explanation of the steps S31 to S34, reference may be made to the related description of the foregoing embodiments, and in order to avoid repetition, the description is not repeated here.
The comment information display method provided by the embodiment of the disclosure determines that the display scene type is the comment information display scene when the comment display triggering operation is identified that the first user views the commented target content or when the comment display triggering operation is identified that the first user views the non-commented target content, acquires the corresponding comment display mode for the display scene type being the comment information display scene, wherein the display is performed in the comment time sequence, the first-level comment information sent for the target content is displayed in the comment area of the target content, the non-first-level comment information sent for the target content is displayed in the comment area of the first-level comment information of the non-first-level comment information, and further displays a plurality of pieces of comment information of the target content according to the comment display mode corresponding to the comment information display scene, thereby realizing the display of the comment information of the target content in the comment information display scene according to the comment time sequence, the time sequence of the comment information is guaranteed.
Generally, all users of an application program can comment on content displayed in the application program or reply to existing comment information, a large amount of comment data can be generated, the comment data can be stored in a server, and when a user requests a comment list through a network, the server returns the comment data to a client to display the comment data to the user. Therefore, in practical applications, the comment information display method provided by the embodiment of the present disclosure can be realized by interaction between a client and a server, where the client is an application installed in an electronic device and used for displaying target content to a user and receiving user operations, the server is a server in communication with the client, and the server and the client can be in communication connection through a communication interface and used for returning comment data to the client. The following describes in detail a process of implementing the above comment information display method by the client and the server in interaction with each other with reference to fig. 9.
Fig. 9 is an application scene diagram of a comment information display method according to an exemplary embodiment, where as shown in fig. 9, a first user performs a comment display triggering operation on target content displayed in a client, and after receiving the comment display triggering operation, the client identifies a display scene type corresponding to the comment display triggering operation, and obtains a corresponding comment display manner according to the identified display scene type. In addition, after receiving the comment display triggering operation of the first user, the client side also sends a comment data acquisition request to the server side, wherein the comment data acquisition request carries the identification of the target content. And after receiving the comment data acquisition request, the server acquires a plurality of pieces of comment information related to the target content according to the identification of the target content carried in the comment data acquisition request and returns the comment information to the client. And after receiving the plurality of pieces of comment information of the target content returned by the server, the client responds to the comment display triggering operation and displays the plurality of pieces of comment information of the target content according to the acquired comment display mode.
Fig. 10 is a block diagram illustrating a display apparatus of comment information according to an exemplary embodiment. Referring to fig. 10, the display device 40 of the comment information includes an identification module 41, an acquisition module 42, and a presentation module 43.
The identifying module 41 is configured to receive a comment display triggering operation, which is performed on the target content by the first user, and identify a presentation scene type corresponding to the comment display triggering operation.
The obtaining module 42 is configured to obtain a corresponding comment displaying mode according to the displaying scene type; the comment display mode comprises a comment information display mode with different comment grades.
The presentation module 43 is configured to respond to the comment display triggering operation, and present a plurality of pieces of comment information of the target content according to the comment presentation manner.
In a possible implementation manner of the embodiment of the present disclosure, the identification module 41 is specifically configured to: and when the comment display triggering operation is identified as that the first user carries out comment sending operation on the target content, determining that the display scene type is a comment information refreshing display scene.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining module 42 is specifically configured to: and for the display scene type, refreshing the display scene for the comment information, and acquiring a corresponding comment display mode as follows:
the first user displays the target comment information sent to the target content in a comment area of the target content in a priority order relative to the first comment information sent by other users; and the target comment information sent by the first user to the target content belongs to non-primary comment information, and is displayed in a comment area of the previous-level comment information of the target comment information in a priority order relative to the non-primary comment information sent by other users.
In a possible implementation manner of the embodiment of the present disclosure, the display module 43 is specifically configured to: aiming at the display scene with the type of comment information refreshing display scene, according to the comment display mode corresponding to the comment information refreshing display scene, displaying a plurality of pieces of comment information:
for target comment information sent by a first user to target content, identifying that the target comment information belongs to primary comment information which is directly commented on the target content, and displaying the primary comment information in a comment area of the target content in a priority order relative to the primary comment information sent by other users; and identifying that the target comment information belongs to non-primary comment information sent by the first user to the comment information of the target content, and displaying the non-primary comment information in a comment area of the previous comment information of the target comment information in a higher priority order relative to the non-primary comment information sent by other users.
In a possible implementation manner of the embodiment of the present disclosure, the identification module 41 is specifically configured to: when the comment display triggering operation is identified that the first user views the commented target content, or when the comment display triggering operation is identified that the first user views the unverified target content, determining that the display scene type is a comment information display scene.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining module 42 is specifically configured to: aiming at the display scene type as a comment information display scene, acquiring a corresponding comment display mode as follows:
and displaying the comment information in a comment time sequence, wherein the first-level comment information sent aiming at the target content is displayed in a comment area of the target content, and the non-first-level comment information sent aiming at the target content is displayed in a comment area of the first-level comment information of the non-first-level comment information.
In a possible implementation manner of the embodiment of the present disclosure, the display module 43 is specifically configured to: aiming at the display scene type which is a comment information display scene, displaying a plurality of pieces of comment information according to a comment display mode corresponding to the comment information display scene:
displaying a plurality of pieces of comment information of the target content in a comment time sequence; identifying first-level comment information which belongs to direct comments aiming at the target content in the plurality of pieces of comment information, and displaying the first-level comment information in a comment area of the target content; and identifying non-primary comment information sent by the comment information aiming at the target content in the plurality of pieces of comment information, and displaying the non-primary comment information in a comment area of the comment information at the previous level of the non-primary comment information.
In a possible implementation manner of the embodiment of the present disclosure, as shown in fig. 11, on the basis of the embodiment shown in fig. 10, the display apparatus 40 for comment information further includes:
and the receiving module 44 is configured to receive a comment display trigger operation of a second user, and display target comment information, which is sent to the target content by the first user, in a comment time sequence.
It should be noted that, regarding the display apparatus of comment information in the above-mentioned embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the display method of the comment information, and will not be described in detail here.
The comment information display device of the embodiment identifies the display scene type corresponding to the comment display triggering operation by receiving the comment display triggering operation of the first user on the target content, then acquires the corresponding comment display mode according to the identified display scene type, wherein the comment display mode comprises the display modes of the comment information with different comment grades, and then responds to the received comment display triggering operation and displays a plurality of pieces of comment information of the target content according to the acquired comment display mode. Therefore, by identifying the corresponding display scene type when the user triggers to display the comment and aiming at the display scene type reflecting the comment viewing demand of the user, the corresponding comment display mode is obtained to display the comment, the comment viewing demand of the user is flexibly identified in real time to adjust the display mode of the comment, the display mode of the comment is enriched, meanwhile, the user can be helped to quickly locate the interested comment, and the comment browsing experience of the user is improved.
FIG. 12 is a block diagram illustrating an electronic device 500 for display of comment information in accordance with an illustrative embodiment.
As shown in fig. 12, the electronic device 500 includes:
a memory 510 and a processor 520, and a bus 530 connecting different components (including the memory 510 and the processor 520), wherein the memory 510 stores a computer program, and when the processor 520 executes the computer program, the display method of the comment information according to the embodiment of the present disclosure is implemented.
Bus 530 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The electronic device 500 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 510 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)540 and/or cache memory 550. The electronic device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 560 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 12, commonly referred to as a "hard drive"). Although not shown in FIG. 12, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 530 by one or more data media interfaces. Memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 580 having a set (at least one) of program modules 570 may be stored, for instance, in memory 510, such program modules 570 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 570 generally perform the functions and/or methods of the embodiments described in this disclosure.
The electronic device 500 may also communicate with one or more external devices 590 (e.g., keyboard, pointing device, display 591, etc.), one or more devices that enable a user to interact with the electronic device 500, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur over input/output (I/O) interfaces 592. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 593. As shown in FIG. 12, the network adapter 593 communicates with the other modules of the electronic device 500 via the bus 530. It should be appreciated that although not shown in FIG. 12, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 520 executes various functional applications and data processing by executing programs stored in the memory 510.
It should be noted that, for the implementation process and the technical principle of the electronic device of the embodiment, reference is made to the foregoing explanation of the display method of the comment information of the embodiment of the present disclosure, and details are not repeated here.
The electronic device provided by the embodiment of the present disclosure may execute the comment information display method as described in the foregoing embodiment, and identify a display scene type corresponding to the comment display trigger operation by receiving a comment display trigger operation that is performed on a target content by a first user, and then obtain a corresponding comment display manner according to the identified display scene type, where the comment display manner includes comment information display manners having different comment levels, and further respond to the received comment display trigger operation and display a plurality of pieces of comment information of the target content according to the obtained comment display manner. Therefore, by identifying the corresponding display scene type when the user triggers to display the comment and aiming at the display scene type reflecting the comment viewing demand of the user, the corresponding comment display mode is obtained to display the comment, the comment viewing demand of the user is flexibly identified in real time to adjust the display mode of the comment, the display mode of the comment is enriched, meanwhile, the user can be helped to quickly locate the interested comment, and the comment browsing experience of the user is improved.
In order to achieve the above embodiments, the present disclosure also proposes a storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the display method of comment information as described in the foregoing embodiments.
In order to achieve the above embodiments, the present disclosure also provides a computer program product that, when executed by a processor of an electronic device, enables the electronic device to execute the display method of comment information as described in the foregoing embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for displaying comment information, comprising:
receiving comment display triggering operation of a first user on target content, and identifying a display scene type corresponding to the comment display triggering operation;
acquiring a corresponding comment display mode according to the display scene type; the comment display mode comprises a comment information display mode with different comment grades;
and responding to the comment display triggering operation, and displaying a plurality of pieces of comment information of the target content according to the comment displaying mode.
2. The method for displaying comment information according to claim 1, wherein the identifying a type of a presentation scene corresponding to the comment display trigger operation includes:
and when the comment display triggering operation is identified as that the first user carries out comment sending operation on the target content, determining that the display scene type is a comment information refreshing display scene.
3. The method for displaying comment information according to claim 1, wherein the obtaining of the corresponding comment presentation manner according to the presentation scene type includes:
for the display scene type, refreshing the display scene for the comment information, and acquiring a corresponding comment display mode comprises the following steps:
the first user displays the target comment information sent to the target content in a comment area of the target content in a priority order relative to the first comment information sent by other users;
and the number of the first and second groups,
the target comment information sent by the first user to the target content belongs to non-first-level comment information, and is displayed in a comment area of the previous-level comment information of the target comment information in a priority order relative to the non-first-level comment information sent by other users.
4. The comment information display method according to claim 1, wherein the displaying of the plurality of pieces of comment information of the target content according to the comment presentation manner in response to the comment display trigger operation includes:
aiming at the display scene with the comment information refreshing display scene type, displaying a plurality of pieces of comment information according to a comment display mode corresponding to the comment information refreshing display scene comprises the following steps:
for target comment information sent by a first user to target content, identifying that the target comment information belongs to primary comment information which is directly commented on the target content, and displaying the primary comment information in a comment area of the target content in a priority order relative to the primary comment information sent by other users;
and identifying that the target comment information belongs to non-primary comment information sent by the first user to the comment information of the target content, and displaying the non-primary comment information in a comment area of the previous comment information of the target comment information in a higher priority order relative to the non-primary comment information sent by other users.
5. The method for displaying comment information according to claim 1, wherein the identifying a type of a presentation scene corresponding to the comment display trigger operation includes:
when the comment display triggering operation is identified that the first user views the commented target content, or when the comment display triggering operation is identified that the first user views the unverified target content, determining that the display scene type is a comment information display scene.
6. The method for displaying comment information according to claim 1, wherein the obtaining of the corresponding comment presentation manner according to the presentation scene type includes:
aiming at the display scene type being a comment information display scene, acquiring a corresponding comment display mode comprises the following steps:
and displaying the comment information in a comment time sequence, wherein the first-level comment information sent aiming at the target content is displayed in a comment area of the target content, and the non-first-level comment information sent aiming at the target content is displayed in a comment area of the first-level comment information of the non-first-level comment information.
7. The comment information display method according to claim 1, wherein the displaying of the pieces of comment information of the target content according to the comment display manner in response to the comment display trigger operation includes:
aiming at the display scene type of the comment information display scene, displaying a plurality of pieces of comment information according to a comment display mode corresponding to the comment information display scene comprises the following steps:
displaying a plurality of pieces of comment information of the target content in a comment time sequence;
identifying first-level comment information which belongs to direct comments aiming at the target content in the plurality of pieces of comment information, and displaying the first-level comment information in a comment area of the target content;
and identifying non-primary comment information sent by the comment information aiming at the target content in the plurality of pieces of comment information, and displaying the non-primary comment information in a comment area of the comment information at the previous level of the non-primary comment information.
8. A display apparatus of comment information, characterized by comprising:
the identification module is configured to receive comment display triggering operation, which is carried out on target content by a first user, and identify a display scene type corresponding to the comment display triggering operation;
the obtaining module is configured to obtain a corresponding comment display mode according to the display scene type; the comment display mode comprises a comment information display mode with different comment grades; and
and the display module is configured to respond to the comment display triggering operation and display a plurality of pieces of comment information of the target content according to the comment display mode.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of displaying comment information according to any one of claims 1 to 7.
10. A storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the display method of comment information recited in any one of claims 1 to 7.
CN202011011550.5A 2020-09-23 2020-09-23 Comment information display method and device and electronic equipment Pending CN112256166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011011550.5A CN112256166A (en) 2020-09-23 2020-09-23 Comment information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011011550.5A CN112256166A (en) 2020-09-23 2020-09-23 Comment information display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112256166A true CN112256166A (en) 2021-01-22

Family

ID=74232954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011011550.5A Pending CN112256166A (en) 2020-09-23 2020-09-23 Comment information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112256166A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464031A (en) * 2021-02-02 2021-03-09 北京达佳互联信息技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN113115096A (en) * 2021-03-18 2021-07-13 北京达佳互联信息技术有限公司 Interface information switching method and device, electronic equipment and storage medium
CN113157165A (en) * 2021-05-12 2021-07-23 北京字跳网络技术有限公司 Information display method and device, electronic equipment and program product
CN113177170A (en) * 2021-04-12 2021-07-27 维沃移动通信有限公司 Comment display method and device and electronic equipment
CN114491098A (en) * 2022-01-14 2022-05-13 北京字跳网络技术有限公司 Comment prompting method and device, electronic equipment, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140013200A1 (en) * 2012-07-09 2014-01-09 Mobitude, LLC, a Delaware LLC Video comment feed with prioritization
CN108462893A (en) * 2018-03-26 2018-08-28 武汉斗鱼网络科技有限公司 A kind of display methods of barrage, device, terminal and storage medium
CN108804481A (en) * 2017-05-05 2018-11-13 广州市动景计算机科技有限公司 Comment on display methods, device, electronic equipment and readable storage medium storing program for executing
CN109684589A (en) * 2018-12-25 2019-04-26 北京微播视界科技有限公司 Processing method, device and the computer storage medium of the comment data of client
CN111309213A (en) * 2020-03-12 2020-06-19 腾讯科技(深圳)有限公司 Comment display method and device, electronic equipment and storage medium
CN111400632A (en) * 2020-03-26 2020-07-10 支付宝(杭州)信息技术有限公司 Comment information display method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140013200A1 (en) * 2012-07-09 2014-01-09 Mobitude, LLC, a Delaware LLC Video comment feed with prioritization
CN108804481A (en) * 2017-05-05 2018-11-13 广州市动景计算机科技有限公司 Comment on display methods, device, electronic equipment and readable storage medium storing program for executing
CN108462893A (en) * 2018-03-26 2018-08-28 武汉斗鱼网络科技有限公司 A kind of display methods of barrage, device, terminal and storage medium
CN109684589A (en) * 2018-12-25 2019-04-26 北京微播视界科技有限公司 Processing method, device and the computer storage medium of the comment data of client
CN111309213A (en) * 2020-03-12 2020-06-19 腾讯科技(深圳)有限公司 Comment display method and device, electronic equipment and storage medium
CN111400632A (en) * 2020-03-26 2020-07-10 支付宝(杭州)信息技术有限公司 Comment information display method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
人人都是产品经理社区: "评论区如何设计?", 《HTTPS://WWW.163.COM/DY/ARTICLE/F8ANGH720511805E.HTML》 *
小花: "《社交APP的评论功能分析 ——基于微博、网易云音乐、Keep等的产品分析》", 27 December 2017 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464031A (en) * 2021-02-02 2021-03-09 北京达佳互联信息技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN113115096A (en) * 2021-03-18 2021-07-13 北京达佳互联信息技术有限公司 Interface information switching method and device, electronic equipment and storage medium
CN113177170A (en) * 2021-04-12 2021-07-27 维沃移动通信有限公司 Comment display method and device and electronic equipment
CN113177170B (en) * 2021-04-12 2023-05-23 维沃移动通信有限公司 Comment display method and device and electronic equipment
CN113157165A (en) * 2021-05-12 2021-07-23 北京字跳网络技术有限公司 Information display method and device, electronic equipment and program product
CN114491098A (en) * 2022-01-14 2022-05-13 北京字跳网络技术有限公司 Comment prompting method and device, electronic equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN112256166A (en) Comment information display method and device and electronic equipment
EP4087258A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
US10547571B2 (en) Message service providing method for message service linked to search service and message server and user terminal to perform the method
US11398994B2 (en) Method and terminal for displaying social information
WO2013151610A1 (en) Synchronizing progress in audio and text versions of electronic books
US11916855B2 (en) File commenting method and apparatus, comment viewing method and apparatus, computer device, and storage medium
US20240154978A1 (en) Identifying fraudulent requests for content
US20220385969A1 (en) Method and apparatus for displaying live clip
WO2022271368A1 (en) Screen sharing session privacy manager
CN111309428B (en) Information display method, information display device, electronic apparatus, and storage medium
CN113139123A (en) Resource recommendation method, device, server and storage medium
CN104917754A (en) Video data sending and receiving methods, servers and clients
CN115760494B (en) Service optimization method and device for real estate marketing based on data processing
US10133442B2 (en) Method and apparatus for accessing a chat room
CN115357800A (en) Resource association method, device, electronic equipment, storage medium and program product
CN113419798B (en) Content display method, device, equipment and storage medium
CN114140162A (en) Advertisement putting method and device, electronic equipment and computer readable storage medium
KR20070105945A (en) Messenger usage information generating method
CN113190697A (en) Image information playing method and device
KR100874025B1 (en) Method and system for generating online access statistics information
US20220382819A1 (en) Search Results Based Triggering For Understanding User Intent On Assistant
US20220329920A1 (en) Method, apparatus and system for processing video
US20220385970A1 (en) Method for displaying live broadcast clip
KR100834161B1 (en) Mother tongue domain statistic information generation method
CN113065061A (en) Information display method and device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122

RJ01 Rejection of invention patent application after publication