CN111309213A - Comment display method and device, electronic equipment and storage medium - Google Patents

Comment display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111309213A
CN111309213A CN202010171271.9A CN202010171271A CN111309213A CN 111309213 A CN111309213 A CN 111309213A CN 202010171271 A CN202010171271 A CN 202010171271A CN 111309213 A CN111309213 A CN 111309213A
Authority
CN
China
Prior art keywords
comment
target
comments
page
display
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
CN202010171271.9A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010171271.9A priority Critical patent/CN111309213A/en
Publication of CN111309213A publication Critical patent/CN111309213A/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
    • 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
    • G06F3/04817Interaction 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 using icons
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a comment display method, a comment display device, electronic equipment and a storage medium; the method comprises the following steps: presenting a comment page containing at least two comments and corresponding to the comment object; receiving a comment displaying instruction corresponding to a target comment based on the comment page, wherein the comment displaying instruction is used for indicating to display a comment associated with the target comment in at least two comments corresponding to the comment object; at least one comment interactive behavior exists in the users with interactive behaviors with the target comment, wherein the comment interactive behaviors exist in the condition that the target comment is associated with at least one user; in response to the comment presentation instruction, presenting a comment associated with the target comment in a graphical display interface. According to the comment display method and device, comments related to the target comments can be displayed according to the comment display instruction triggered by the user, and user experience is improved.

Description

Comment display method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a comment display method and device, electronic equipment and a storage medium.
Background
With the development of internet technology, multimedia information dissemination based on an intelligent terminal is more and more common, for example, in the display of articles such as news and the like at a mobile phone terminal, a user can comment according to the viewed multimedia information.
In the related art, when multiple comments exist for a certain comment object, the browsing requirements of users are not considered for the display of the multiple comments according to the sequence of the comment time, and the user experience is low.
Disclosure of Invention
The embodiment of the invention provides a comment displaying method, a comment displaying device and a storage medium, which can display a comment related to a target comment according to a comment displaying instruction triggered by a user, and improve user experience.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a comment display method, which comprises the following steps:
presenting a comment page containing at least two comments and corresponding to the comment object;
receiving a comment displaying instruction corresponding to a target comment based on the comment page, wherein the comment displaying instruction is used for indicating to display a comment associated with the target comment in at least two comments corresponding to the comment object;
at least one comment interactive behavior exists in the users with interactive behaviors with the target comment, wherein the comment interactive behaviors exist in the condition that the target comment is associated with at least one user;
in response to the comment presentation instruction, presenting a comment associated with the target comment in a graphical display interface.
The embodiment of the invention provides a comment display device, which comprises:
the page presentation module is used for presenting a comment page which corresponds to the comment object and contains at least two comments;
the instruction receiving module is used for receiving a comment displaying instruction corresponding to the target comment based on the comment page, wherein the comment displaying instruction is used for indicating to display a comment related to the target comment in at least two comments corresponding to the comment object;
at least one comment interactive behavior exists in the users with interactive behaviors with the target comment, wherein the comment interactive behaviors exist in the condition that the target comment is associated with at least one user;
and the comment display module is used for responding to the comment display instruction and displaying the comment related to the target comment in a graphical display interface.
In the above scheme, the instruction receiving module is further configured to present a comment displaying functional item in response to a click operation on a functional icon corresponding to the target comment in the comment page;
and triggering a comment display instruction corresponding to the target comment in response to the click operation on the comment display function item.
In the above scheme, the instruction receiving module is further configured to trigger a comment displaying instruction for the target comment in response to a click operation on a comment displaying function item corresponding to the target comment in the comment page.
In the above scheme, the comment displaying module is further configured to determine a page display area of the comment associated with the target comment in the graphical interface;
and performing a first sliding operation on the comment page to display the comment associated with the target comment in the page display area.
In the above scheme, the comment display module is further configured to display a comment switching function item in the graphical interface when the number of comments associated with the target comment is two or more;
and responding to the click operation aiming at the comment switching function item, and performing a second sliding operation on the comment page to realize the switching display of the comment associated with the target comment in the page display area.
In the above scheme, the comment displaying module is further configured to present the page displaying area in a target color, so that the color of the page displaying area is different from the area other than the page displaying area in the graphical interface.
In the above scheme, the comment presentation module is further configured to present, in a graphical display interface, a display page containing a comment associated with the target comment, so as to replace a comment page containing at least two comments of a corresponding comment object.
In the above solution, the comment presenting module is further configured to present, in a graphical display interface, the comment associated with the target comment in a target font style, so that the font style of the comment associated with the target comment is different from other comments in the comment page.
In the above scheme, the comment presentation module is further configured to, when the number of the comments associated with the target comment is two or more, obtain an interaction number corresponding to each comment associated with the target comment;
determining the display sequence of the comments related to the target comment according to the size of the interaction quantity;
and displaying the comments related to the target comment in a graphical display interface according to the display sequence.
In the above scheme, the comment presentation module is further configured to, when the number of the comments associated with the target comment is two or more, obtain posting time of each comment associated with the target comment;
determining the display sequence of the comments related to the target comment according to the publication time;
and displaying the comments associated with the target comment in a graphical display interface in the display order.
In the above scheme, the apparatus further comprises:
the first comment acquisition module is used for determining a user who has an interactive behavior with the target comment;
and acquiring a first comment of the user participating in the interaction, and taking the first comment as a comment associated with the target comment.
In the above scheme, the apparatus further comprises:
the second comment acquisition module is used for acquiring a user with an interactive behavior with the target comment;
determining an interaction type corresponding to the interaction behavior of each user aiming at the target comment;
and acquiring a second comment of each user participating in the interaction of the interaction type, and taking the second comment as a comment associated with the target comment.
An embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the comment display method provided by the embodiment of the invention when the executable instructions stored in the memory are executed.
The embodiment of the invention provides a storage medium, which stores executable instructions and is used for causing a processor to execute so as to realize the comment display method provided by the embodiment of the invention.
The embodiment of the invention has the following beneficial effects:
receiving a comment display instruction corresponding to a target comment on the basis of a comment page, wherein the comment display instruction is used for indicating and displaying a comment related to the target comment in at least two comments corresponding to the comment object; at least one comment interactive behavior exists in users who have interactive behaviors with the target comment, wherein the comment interactive behavior exists in a way that the user is associated with the target comment; in response to a comment presentation instruction, presenting a comment associated with the target comment in a graphical display interface; therefore, the comments related to the target comment are displayed according to the comment displaying instruction triggered by the user, and at least one comment related to the target comment exists in the users with interactive behaviors with the target comment to indicate that the target comment is related to the viewpoint of the comment.
Drawings
FIG. 1 is an interface schematic diagram of a review page provided by the related art;
FIG. 2 is an alternative architectural diagram of a review presentation system 100 provided by embodiments of the present invention;
FIG. 3 is an alternative schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 4 is an alternative flow chart of a comment presentation method provided by the embodiment of the invention;
5A-5B are schematic diagrams of alternative interfaces for review pages provided by embodiments of the present invention;
FIG. 6 is a schematic diagram of an alternative interface for a review page provided by an embodiment of the invention;
FIG. 7 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 8 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 9 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 10 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 11 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 12 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 13 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 14 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 15 is an alternative interface diagram of a review presentation provided by embodiments of the present invention;
FIG. 16 is a schematic flow chart of an alternative method for displaying comments, provided by the embodiment of the present invention;
FIG. 17 is an alternative flow chart of a comment presentation method provided by the embodiment of the present invention;
FIG. 18 is a schematic view of an alternative user interface provided by embodiments of the present invention;
FIG. 19 is an alternative flow chart of a comment presentation method provided by the present invention;
fig. 20 is a schematic diagram of an alternative structure of a comment displaying apparatus provided in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, to enable embodiments of the invention described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
2) Interactive behaviors, which are behaviors representing interdependencies occurring by spreading information through languages or other means, including praise, click and step, comment reply, and the like.
The related art provides a comment display method, and a user can sort and display comments according to time or heat according to needs. Fig. 1 is an interface schematic diagram of a comment page provided in the related art, and referring to fig. 1, the comment page includes two sorting function keys, which are respectively used for sorting comments according to heat and sorting comments according to time, and a user can sort and display the comments by clicking the sorting function keys.
The inventor finds that in the process of implementing the embodiment of the invention, the first-level comment accounts for 46.9% and the second-level comment accounts for 53.1% of the comments issued by the user. The first-level comment refers to a comment published based on information content, and the second-level comment refers to a reply based on the first-level comment. That is, users are more likely to interact with other users and to comment on the quality of the expressed viewpoint than to evaluate the information content. In the related art, the comments are sorted according to the popularity of a time or a scheme, so that the user cannot quickly find the interested comments.
Based on this, a method of presenting comments of the embodiments of the present invention is proposed to solve at least the above-described problems in the related art, and each of the following is explained.
Referring to fig. 2, fig. 2 is an alternative architecture diagram of the comment presentation system 100 provided by the embodiment of the present invention, in order to support an exemplary application, terminals (exemplary terminal 400-1 and terminal 400-2 are shown) are connected to the server 200 through the network 300, and the network 300 may be a wide area network or a local area network, or a combination of both networks. The terminal is provided with an application client, such as a news application client.
The terminal (such as 400-1) is used for presenting a comment page which corresponds to the comment object and contains at least two comments; receiving a comment display instruction corresponding to the target comment based on the comment page; sending a comment acquisition request associated with the target comment to the server 200 in response to the comment presentation instruction;
the comment displaying instruction is used for indicating that a comment related to the target comment is displayed in at least two comments of the corresponding comment object; at least one comment interactive behavior exists between the user and the target comment in the users with the interactive behavior with the target comment;
the server 200 is used for acquiring the comments related to the target comments and sending the comments related to the target comments to the terminal;
and the terminal (such as 400-1) is used for showing the comment related to the target comment in the graphical display interface.
In practical application, the server may be a server configured independently to support various services, or may be configured as a server cluster; the terminal may be a smartphone, a tablet, a laptop, or any other type of user terminal, and may also be a wearable computing device, a Personal Digital Assistant (PDA), a desktop computer, a cellular phone, a media player, a navigation device, a game console, a television, or a combination of any two or more of these or other data processing devices.
Next, an electronic device implementing the comment presentation method according to the embodiment of the present invention will be described. Referring to fig. 3, fig. 3 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present invention, where the electronic device shown in fig. 3 includes: at least one processor 410, memory 450, at least one network interface 420, and a user interface 430. The various components in the electronic device are coupled together by a bus system 440. It is understood that the bus system 440 is used to enable communications among the components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 440 in FIG. 3.
The Processor 410 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 430 includes one or more output devices 431, including one or more speakers and/or one or more visual displays, that enable the presentation of media content. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 450 optionally includes one or more storage devices physically located remote from processor 410.
The memory 450 includes either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 450 described in embodiments of the invention is intended to comprise any suitable type of memory.
In some embodiments, memory 450 is capable of storing data, examples of which include programs, modules, and data structures, or a subset or superset thereof, to support various operations, as exemplified below.
An operating system 451, including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
a network communication module 452 for communicating to other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: bluetooth, wireless compatibility authentication (WiF i), and Universal Serial Bus (USB), etc.;
a presentation module 453 for enabling presentation of information (e.g., user interfaces for operating peripherals and displaying content and information) via one or more output devices 431 (e.g., display screens, speakers, etc.) associated with user interface 430;
an input processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
In some embodiments, the apparatus provided by the embodiments of the present invention may be implemented in software, and fig. 3 shows a presentation apparatus 455 of comments stored in the memory 450, which may be software in the form of programs and plug-ins, and includes the following software modules: a page rendering module 4551, an instruction receiving module 4552 and a comment presenting module 4553, which are logical and thus may be arbitrarily combined or further divided according to the functions implemented.
The functions of the respective modules will be explained below.
In other embodiments, the comment displaying Device provided by the embodiments of the present invention may be implemented in hardware, and for example, the comment displaying Device provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the comment displaying method provided by the embodiments of the present invention, for example, the processor in the form of the hardware decoding processor may be one or more Application Specific Integrated Circuits (SIC), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
The method for presenting comments of the present invention will be described below in conjunction with an exemplary application when implemented as a terminal provided by an embodiment of the present invention.
Referring to fig. 4, fig. 4 is an optional flowchart of a comment displaying method provided by the embodiment of the present invention, and the comment displaying method of the present invention will be described with reference to the steps shown in fig. 4.
Step 401: and the terminal presents a comment page which corresponds to the comment object and contains at least two comments.
In actual implementation, the terminal is provided with an application client, such as a video application client, a news application client, an instant messaging application client, and the like, and accordingly, the comment object may be a picture, an article, a picture, and the like. Here, at least two comments included in the presented comment page correspond to the same comment object.
Step 402: and receiving a comment display instruction corresponding to the target comment based on the comment page.
Here, the comment presenting instruction is used for indicating that, of at least two comments presenting the corresponding comment object, a comment associated with the target comment is presented; at least one comment interactive behavior exists in the users who have interactive behaviors with the target comment, wherein the comment interactive behaviors exist in the condition that the user is associated with the target comment.
It should be noted that the interactive behavior is used to represent the behavior of interdependency occurring by spreading information through language or other means, and includes like likes, clicks, comment replies, etc.
In actual implementation, a user can execute corresponding operations aiming at the comment page through the comment page, for example, clicking a function key in the comment page, long-pressing a target comment and the like to trigger a comment display instruction corresponding to the target comment, and the terminal receives the comment display instruction triggered by the user.
In some embodiments, the terminal may receive the comment displaying instruction corresponding to the target comment by: responding to the click operation of the functional icon corresponding to the target comment in the comment page, and presenting a comment display functional item; and responding to the click operation aiming at the comment display function item, and triggering a comment display instruction corresponding to the target comment.
In actual implementation, each comment in the comment page has a corresponding functional icon, and a user can display a comment display functional item by clicking the functional icon corresponding to the target comment. It should be noted that, in some embodiments, while the terminal presents the comment presentation function item, the terminal may also present other function items, and these function items are all operation instructions for triggering the corresponding target comment. Here, the presentation form of the function icon and the comment presentation function item is not limited.
For example, fig. 5A-5B are schematic diagrams of an alternative interface of a comment page provided by an embodiment of the present invention, and referring to fig. 5A, a function icon is presented next to each comment, and when a user clicks the function icon next to a target comment, referring to fig. 5B, a comment presentation function item is presented. Here, while presenting the comment presentation function item, the terminal also presents a copy function item, a forward function item, a step function item, and a report function item.
In some embodiments, the terminal may receive the comment displaying instruction corresponding to the target comment by: and triggering a comment display instruction for the target comment in response to the click operation of the comment display function item for the corresponding target comment in the comment page.
In actual implementation, each comment in the comment page has a corresponding comment display function item, and a user can directly click the corresponding comment display function item, so that the operation of the user can be simplified.
For example, fig. 6 is an optional interface schematic diagram of a comment page provided in the embodiment of the present invention, and referring to fig. 6, a comment presentation function item is presented next to each comment, and when a user clicks the comment presentation function item next to a target comment, a comment presentation instruction for the target comment is triggered.
Step 403: and in response to the comment presentation instruction, presenting the comment associated with the target comment in the graphical display interface.
In some embodiments, the terminal may present the comment associated with the target comment in the graphical display interface by: determining a page display area of the comment related to the target comment in the graphical interface; and performing a first sliding operation on the comment page to display the comment associated with the target comment in the page display area.
In actual implementation, the page display area can enable the top, the middle, the bottom and the like of the graphical interface, and after the comment associated with the target comment is determined, the terminal automatically slides the comment page to display the comment in the determined page display area. Here, one comment or a plurality of comments may be presented in association with the target comment.
For example, fig. 7 is an optional interface schematic diagram of comment presentation provided by the embodiment of the present invention, referring to fig. 7, a page presentation area is a middle portion of a graphical interface, and after a comment presentation instruction is triggered by a user through a comment presentation function item, a page automatically slides upward, so that a comment associated with a target comment is located in the middle portion of the graphical interface.
In some embodiments, the comment associated with the target comment may also be switched, and after the sliding operation is performed on the comment page, the method further includes: when the number of the comments related to the target comment is two or more, displaying a comment switching function item in the graphical interface; and responding to the click operation aiming at the comment switching function item, and performing second sliding operation on the comment page to realize switching display of the comment associated with the target comment in the page display area.
In actual implementation, when the number of the comments is two or more, the comments related to the target comment can be displayed one by one, that is, after a comment display instruction is received, the terminal slides the comment page to display one comment related to the target comment in a determined page display area, and meanwhile, a comment switching function item is displayed, so that a user can switch the comment related to the target comment by clicking the comment switching function item. And when the terminal receives a click operation aiming at the comment switching function item, performing sliding operation on the comment page so as to display the next comment related to the target comment in the page display area.
For example, fig. 8 is an alternative interface diagram of a comment presentation associated with a target comment provided by the embodiment of the present invention, and referring to fig. 8, a comment switching function item, that is, a "next" button, is presented in a graphical interface; by clicking the "next" button, the next comment associated with the target comment is presented.
It should be noted that the switching order of the comments related to the target comment may be preset, for example, the switching order of the comments related to the target comment may be determined according to the positions of the comments related to the target comment in the comment page, so that the comments related to the target comment are sequentially displayed from top to bottom, or the switching order of the comments related to the target comment may be determined according to the popularity, the time, the number of characters, and the like.
In practical application, the terminal judges whether the currently displayed comment is the last comment associated with the target comment, and if so, the comment switching function item is set to be in an un-clickable state. For reminding the user that the function item cannot be clicked, the presentation form of the comment switching function item may be changed, for example, fig. 9 is an optional interface diagram of comment presentation provided by the embodiment of the present invention, and referring to fig. 9, the currently presented comment is the last comment associated with the target comment, and at this time, the comment switching function item is gray and cannot be clicked.
In some embodiments, the terminal may further present a function item for switching to the previous comment associated with the target comment, the user may trigger an instruction for switching to the previous comment associated with the target comment by clicking the function item, and the terminal slides the comment page to display the previous comment associated with the target comment through the page display area.
For example, referring to fig. 8, there is a return arrow on the left of the comment switching function item, where the return arrow is a function item for switching to the previous comment associated with the target comment, and the user clicks the return button, and the terminal slides the comment page to present the previous comment associated with the target comment.
In some embodiments, the terminal may also present a close function item, and when the user clicks the close function item, the terminal presents the comment page in a normal mode, that is, the comment associated with the target comment is no longer highlighted. Referring to fig. 8, there is a close button on the right side of the comment switching function item, and the close button is the close function item.
In some embodiments, the terminal may highlight a page presentation area that presents a comment associated with the target comment: and presenting the page display area in a target color so that the color of the page display area is different from the area except the page display area in the graphical interface.
In actual implementation, the terminal changes the color of the page display area so as to distinguish the color of the page display area from other areas, and thus, the comment related to the target comment can be highlighted.
For example, fig. 10 is an alternative interface diagram of a comment presentation associated with a target comment, provided by the embodiment of the present invention, and referring to fig. 10, a page presentation area is gray, and other areas are white.
In some embodiments, the terminal may present the comment associated with the target comment in the graphical display interface by: and presenting a display page containing the comment associated with the target comment in the graphical display interface to replace the comment page containing at least two comments of the corresponding comment object.
In practical implementation, the terminal may only show the comment associated with the target comment in the graphical display interface, and not show other comments, that is, only the comment associated with the target comment is included in the display page, and no other comments are included. When the number of the comments related to the target comment is two or more, the terminal can intensively display all the comments related to the target comment in the graphical display interface without switching one comment, so that the user can intensively browse the comments related to the target comment, and the efficiency of finding interested comments by the user is improved.
For example, fig. 11 is an optional interface schematic diagram of comment presentation provided by the embodiment of the present invention, and referring to fig. 11, all comments associated with a target comment are in a dashed box 1101, and comments that are not associated with the target comment are removed and not presented.
It should be noted that, when the number of the comments associated with the target comment is large and the screen of the terminal cannot show all the comments associated with the target comment at one time, the user may slide through the page to browse all the comments associated with the target comment. Or the terminal may perform pagination display on the comments related to the target comment, that is, each page displays the target number of comments related to the target comment, the user may switch the pages to view the comments related to the target comment corresponding to each page,
in some embodiments, the comment associated with the target comment is presented in the graphical display interface in a target font style such that the font style of the comment associated with the target comment is different from other comments in the comment page.
Here, the font style includes a font type, a size, a color basic effect, and additionally, some special styles such as a font weight, an underline, an italic, a case style, and the like. In actual implementation, a font style different from other comments may be set in advance for the comment associated with the target comment, and when the comment associated with the target comment is presented in the graphical display interface, the comment associated with the target comment is presented in the set target font style to highlight the comment.
For example, fig. 12 is an optional interface schematic diagram of comment presentation provided by the embodiment of the present invention, and referring to fig. 12, in a dashed box 1201 in a display interface, a comment associated with a target comment is displayed, where the font of the comment is italic, and the fonts of other comments are normal.
In some embodiments, the terminal may present the comment associated with the target comment in the graphical display interface by: when the number of the comments related to the target comment is two or more, acquiring the number of interactions corresponding to each comment related to the target comment; determining the display sequence of the comments related to the target comment according to the size of the interaction quantity; and displaying the comments associated with the target comment in the graphical display interface according to the display sequence.
Because the interactive behaviors include various types of interactive behaviors, such as praise, click-on, comment reply, comment forwarding and the like, in actual implementation, the terminal can acquire the number of one or more types of interactive behaviors as the interactive number. For example, the terminal may only obtain the number of praise, and determine the presentation order of the corresponding comments associated with the target comment according to the number of praise; or the terminal may determine the display order of the corresponding comment according to the sum of the number of the interaction behaviors of the multiple interaction types, if the number of the comments a clicked is 100, the number of the reply comments is 20, the number of the comments B clicked is 80, and the number of the reply comments is 40, then the display order of the comment associated with the target comment is that the comment a is displayed first; or the terminal can set different weights for the interactive behaviors of different interactive types, and perform weighted summation on the number of the interactive behaviors of each interactive type so as to determine the display sequence of the corresponding comment according to the result of the weighted summation.
Here, the larger the number of interactions of the comment, the more people who are interested in the comment, the more likely it is that the comment is of interest to the user, and the comment having the large number of interactions may be preferentially displayed.
It should be noted that when the comments related to the target comment are displayed one by one, the comments related to the target comment are displayed in the graphical display interface according to the display order, that is, the comments related to the target comment are displayed once according to the display order; when the comments related to the target comment are displayed in a concentrated mode, the comments related to the target comment are displayed in the graphical display interface according to the display sequence, namely the comments related to the target comment are displayed from top to bottom according to the display sequence, and the display position is higher the earlier the sequence is.
For example, fig. 13 is an optional interface schematic diagram of comment presentation provided by the embodiment of the present invention, referring to fig. 13, a presentation order of comments is determined according to the number of praise of each comment associated with a target comment, when a comment presentation instruction is received, a comment with the largest number of praise in the comments associated with the target comment is first acquired and presented, and the number of praise of the comment in a dotted line frame 1301 is 128; when a comment switching instruction is received, comments with the most number of prawns, except for the displayed comments, are acquired, and the prawns of the switched comments are counted in a dotted line box 1302 and are 102.
For example, fig. 14 is an optional interface schematic diagram of comment presentation provided by the embodiment of the present invention, and referring to fig. 14, a presentation order of comments is determined according to the number of votes of each comment associated with a target comment, and when a comment presentation instruction is received, a plurality of comments associated with the target comment are presented according to the number of votes, with the number of votes presented earlier being larger.
In some embodiments, the terminal may present the comment associated with the target comment in the graphical display interface by: when the number of the comments related to the target comment is two or more, obtaining the posting time of each comment related to the target comment; determining the display sequence of the comments related to the target comment according to the publication time; the comments associated with the target comment are presented in the graphical display interface in the presentation order.
In actual implementation, a user may pay more attention to newly published comments, and based on this, the terminal may determine the display order of the comments according to the publication time, so as to preferentially display the comments with publication time close to the current time.
For example, fig. 15 is an optional interface schematic diagram of comment presentation provided by the embodiment of the present invention, referring to fig. 15, a presentation order of comments is determined according to the posting time of each comment associated with a target comment, when a comment presentation instruction is received, a comment whose posting time is closest to the current time, that is, a comment whose posting time is "yesterday 18: 45", is first acquired and presented, and when a comment switching instruction is received, a comment whose posting time is closest to the current time, that is, a comment whose posting time is "yesterday 17: 20", is acquired in addition to the presented comments.
In some embodiments, the terminal may obtain the comment associated with the target comment by: determining users who have interactive behaviors with the target comment; and acquiring a first comment of the user participating in the interaction, and taking the first comment as a comment associated with the target comment.
In actual implementation, all the comments participating in interaction of all the users who have interactive behavior with the target comment are taken as comments related to the target comment by the terminal, wherein the comments related to the target comment and the target comment correspond to the same comment object. It should be noted that the interactive behavior may be one or more of the following interactive behaviors: clicking like, clicking on, replying to comment, and forwarding. For example, when the interactive behavior is like, users who like the target comment are obtained, and then other comments like those that the users like are taken as comments associated with the target comment.
In some embodiments, the terminal may also obtain the comment associated with the target comment by: determining users having interactive behaviors with the target comment, then judging whether any user of the users participates in the same comment with the current user, screening the users having interactive behaviors with the target comment to obtain the users participating in the same comment with the current user, and then obtaining the screened users. Here, the current user refers to a user who triggers a comment presentation instruction.
According to the embodiment of the invention, whether users participate in the interaction of the same comment with the current user is judged, so that the users with the interaction behavior of the target comment are screened, and the comment of the interaction participated by the screened users is more likely to be the comment consistent with the viewpoint of the current user, namely the comment interested by the current user, and thus, the comment interested by the user can be displayed more accurately.
In some embodiments, on the basis of screening users having an interaction behavior with a target comment by judging whether any of the users has participated in the interaction of the same comment with the current user, further screening may be performed, that is, only users whose number of comments participated in the interaction together with the current user reaches the target number of comments are obtained, and the comments participated in the interaction by the users obtained through further screening are taken as comments associated with the target comment.
In some embodiments, the terminal may also obtain the comment associated with the target comment by: determining users who have interactive behavior with the target comment, and regarding comments participated in by users who have the number of the target users among the users as comments associated with the target comment, if there are 100 users who have interactive behavior with the target comment, regarding 20 or more than 20 users among the users who jointly participate in interaction as comments associated with the target comment.
Here, a target user ratio may be set, and comments participated in by users having the target user ratio among the users are taken as comments associated with the target comments, for example, if there are 100 users having interactive behaviors with the target comments, more than 30% of the users participate in interaction together as comments associated with the target comments.
In some embodiments, the terminal may obtain the comment associated with the target comment by: acquiring a user with interactive behavior with a target comment; determining an interaction type corresponding to the interaction behavior of each user aiming at the target comment; and acquiring a second comment of each user participating in the interaction of the interaction type, and taking the second comment as a comment associated with the target comment.
Here, for a user having an interactive behavior with a target comment, the interaction type corresponding to the interactive behavior of the user with respect to the comment associated with the target comment is the same as the interaction type corresponding to the interactive behavior of the user with respect to the target comment, for example, if a certain user approves a target comment, only the comment approved by the user is taken as the comment associated with the target comment, and comments of the user participating in interactions of other interaction types cannot be taken as comments associated with the target comment, such as comments replied by the user, cannot be taken as comments associated with the target comment.
In some embodiments, the terminal may obtain the comment associated with the target comment by: acquiring a user with interactive behavior with a target comment; determining an interaction type corresponding to the interaction behavior of each user aiming at the target comment; and acquiring a third comment of each user participating in the non-interactive type interaction, and taking the third comment as a comment associated with the target comment.
Here, for a user having an interactive behavior with a target comment, an interaction type corresponding to the interactive behavior of the user with respect to a comment associated with the target comment is different from an interaction type corresponding to the interactive behavior of the user with respect to the target comment, and for example, when the user does not approve a viewpoint of the target comment, a comment liked by the user who clicks on the target comment can be found, and the liked comment is taken as an interaction type to find a comment similar to his/her own viewpoint.
In some embodiments, any comment that a user having an interactive behavior with a target comment participates in an interaction is taken as a comment associated with the target comment, regardless of the type of interaction corresponding to the interactive behavior of the user with respect to the target comment. If a user approves the target comment, the comment approved by the user, the replied comment and the forwarded comment are taken as comments associated with the target comment.
According to the embodiment of the invention, a comment display instruction corresponding to a target comment is received on the basis of a comment page, wherein the comment display instruction is used for indicating that a comment related to the target comment is displayed in at least two comments corresponding to the comment object; at least one comment interactive behavior exists in users who have interactive behaviors with the target comment, wherein the comment interactive behavior exists in a way that the user is associated with the target comment; in response to a comment displaying instruction, displaying the comment in a graphical display interface; because at least one user has interactive behavior with the comment in the users having interactive behavior with the target comment, the view of the comment associated with the target comment is associated with the target comment, and therefore the user can quickly find the interested comment through the interested target comment.
The following takes the example of displaying the comments associated with the target comment item by item, and explains the comment displaying method of the present invention, fig. 16 is an optional flow diagram of the comment displaying method provided by the embodiment of the present invention, and referring to fig. 16, the comment displaying method provided by the embodiment of the present invention includes:
step 501: the application client receives a viewing instruction of a comment page of the comment object and sends an acquisition request of the comment page to the server.
In actual implementation, the terminal is provided with an application client, such as a video application client, a news application client, an instant messaging application client, and the like, and accordingly, the comment object may be a picture, an article, a picture, and the like.
Step 502: and the server sends page data of the comment page containing at least two comments, corresponding to the comment object, to the client.
Here, at least two comments included in the presented comment page correspond to the same comment object.
Step 503: and the application client presents the comment page according to the acquired page data.
Step 504: and the application client responds to the click operation of the functional icon corresponding to the target comment in the comment page, and presents a comment display functional item.
For example, referring to fig. 5A, a function icon is presented next to each comment, and when the user clicks on the function icon next to the target comment, referring to fig. 5B, a comment presentation function item is presented. Here, while presenting the comment presentation function item, the terminal also presents a copy function item, a forward function item, a step function item, and a report function item.
Step 505: and the application client side responds to the click operation aiming at the comment display function item and triggers a comment display instruction corresponding to the target comment.
Step 506: and the application client determines the user with interactive behavior with the target comment.
Here, the number of the determined users having interactive behavior with the target comment may be one or more.
Step 507: the application client side obtains a first comment of a user participating in interaction, and takes the first comment as a comment associated with a target comment.
In actual implementation, the terminal takes all comments which have interactive behaviors with the target comment and participate in the interaction as comments related to the target comment, wherein the comments related to the target comment and the target comment correspond to the same comment object. It should be noted that the interactive behavior includes: clicking like, clicking on, replying to comment, and forwarding.
Step 508: the application client determines a page display area of the comment associated with the target comment in the graphical interface.
Step 509: the application client performs a first sliding operation on the comment page, displays the comment associated with the target comment in a page display area, and presents the page display area in gray.
For example, referring to FIG. 10, the page show area is gray while the other areas are white to enable highlighting of comments associated with the target comment.
Step 510: and the application client displays the comment switching function item in the graphical interface.
Step 511: and the application client responds to the click operation aiming at the comment switching function item, and performs second sliding operation on the comment page so as to realize switching display of the comment related to the target comment in the page display area.
For example, referring to fig. 8, a comment switching function item, i.e., a "next" button, is shown in the graphical interface; by clicking the "next" button, the next comment associated with the target comment is presented.
The following takes an example of collectively presenting comments associated with a target comment as an example to describe the comment presentation method of the present invention, fig. 17 is an optional flow diagram of the comment presentation method provided by the embodiment of the present invention, and referring to fig. 17, the comment presentation method provided by the embodiment of the present invention includes:
step 601: the application client receives a viewing instruction of a comment page of the comment object and sends an acquisition request of the comment page to the server.
In actual implementation, the terminal is provided with an application client, such as a video application client, a news application client, an instant messaging application client, and the like, and accordingly, the comment object may be a picture, an article, a picture, and the like.
Step 602: and the server sends page data of the comment page containing at least two comments, corresponding to the comment object, to the client.
Here, at least two comments included in the presented comment page correspond to the same comment object.
Step 603: and the application client presents the comment page according to the acquired page data.
Step 604: and the application client side responds to the click operation of the comment display function item corresponding to the target comment in the comment page, and triggers a comment display instruction for the target comment.
For example, referring to fig. 6, a comment presentation function item is presented next to each comment, and when the user clicks the comment presentation function item next to the target comment, a comment presentation instruction for the target comment is triggered.
Step 605: the application client sends a request for obtaining the comment related to the target comment to the server.
Step 606: and the server acquires the user with interactive behavior with the target comment.
Step 607: and the server determines the interaction type corresponding to the interaction behavior of each user aiming at the target comment.
Step 608: and the server acquires a second comment of each user participating in the interaction of the interaction type, and takes the second comment as a comment associated with the target comment.
Here, for a user having an interactive behavior with a target comment, the interaction type corresponding to the interactive behavior of the user with respect to the comment associated with the target comment is the same as the interaction type corresponding to the interactive behavior of the user with respect to the target comment, for example, if a certain user approves a target comment, only the comment approved by the user is taken as the comment associated with the target comment, and comments of the user participating in interactions of other interaction types cannot be taken as comments associated with the target comment, such as comments replied by the user, cannot be taken as comments associated with the target comment.
Step 609: and the server sends the comment data of the comment to the application client.
Step 610: the application client determines the number of praise of each comment related to the target comment according to the received comment data of the comment related to the target comment.
Step 611: and the application client determines the display sequence of the comments related to the target comment according to the number of the praise.
Step 612: and the application client presents a display page containing the comments related to the target comment in the graphical display interface according to the display sequence so as to replace the comment page containing at least two comments of the corresponding comment object.
For example, referring to fig. 14, the presentation order of the comments associated with the target comment is determined according to the number of praise of each comment associated with the target comment, and when a comment presentation instruction is received, a plurality of comments associated with the target comment are presented according to the number of praise, the more the number of praise is presented.
The following describes an exemplary application of the embodiments of the present invention in a practical application scenario.
First, a user interface according to an embodiment of the present invention is described, and fig. 18 is a schematic diagram of an alternative user interface provided in an embodiment of the present invention, and referring to fig. 18, the user interface includes a comment category, a more panel, a like-together panel, and a "next" control panel.
Wherein the comment list comprises at least one comment corresponding to the comment object, and each comment corresponds to one "more" button (function icon); the more panels comprise a plurality of function items, such as a copy function item, a forward function item, a step function item and a report function item; the common likes panel includes a part of the user's avatar that has liked the comment, and a "while also liked" button (comment presentation function item); the "next" control panel includes a "next" button (comment switching function item), a "return" button, and a "close" button.
Fig. 19 is an optional flowchart of the comment displaying method provided in the embodiment of the present invention, and referring to fig. 19, the comment displaying method of the present invention includes:
step 701: and initializing a comment list.
In actual implementation, comment list data for a comment object is acquired, the comment list data includes at least one piece of comment basic data corresponding to the comment object, and each piece of comment basic data includes a comment ID, a comment-making user avatar, a comment-making user nickname, comment content, time, and a comment number. Here, each comment also corresponds to one other comment user data, that is, other comment user data, other than the current user, includes the user avatar and the ID of the comment associated with the target comment with the largest number of comments.
It should be noted that other comments praised by the user who approves the target comment are comments associated with the target comment.
Step 702: in response to a click operation of the "more" button for the target comment, more panels are presented.
As shown in FIGS. 5A-5B, clicking on the "more" button (function icon) next to the target comment presents more panels.
Step 703: judging whether a user who approves the target comment approves other comments, if so, executing step 704; otherwise, step 705 is performed.
Step 704: a common compliment panel is presented.
In actual implementation, referring to fig. 5B, the avatar of the part of the users who approve the target comment is presented through the common approval panel, and the "while approved" button.
Step 705: the common compliment panel is not shown.
Step 706: and loading the data of the comment which is associated with the target comment and has the most praise number.
In actual implementation, if the current comment list does not include the comment associated with the target comment, the comment associated with the target comment is inserted into the bottom of the current comment list, and at this time, the user cannot see the comment.
Step 707: a click operation for the "while approved" button is received.
Step 708: the review area scrolls to the location of the reviews to be presented, the "next" control panel is presented, and more panels are closed.
Here, the comment to be presented is the comment with the largest number of praise among the comments associated with the target comment that have not been presented yet. In practical implementation, the comment page automatically slides, so that the comment to be displayed is located in the middle of the graphical display interface, and meanwhile, the background color of the comment can be adjusted to highlight the comment. Here, the comment may also be highlighted by changing the font style of the comment.
For example, referring to fig. 10, a comment associated with a target comment is displayed in a middle position of the graphic display interface, with its ground color being gray; for another example, referring to FIG. 12, the font of the comment associated with the target comment in the display interface is italicized, while the fonts of the other comments are normal.
It should be noted that, during the time period of presenting the "next" control panel, the user may not slide the comment list, and can only click the button in the "next" control panel.
Step 709: the ID and location information of the comment to be presented is recorded.
Here, the ID and the location information of the comment to be presented are stored in the local database.
Step 710 a: a click operation for the "close" button is received.
Step 710 b: a click operation for the "next" button is received.
Step 710 c: a click operation of the "back" button is received.
Step 711 a: close the "next" control panel.
Here, after closing the "next" control panel, the comment area page does not slide, the highlight of the comment disappears, such as the gray background disappears, and the user can perform a sliding operation on the page at the same time.
Step 711 b: and loading the data of the comment with the most praise number.
Here, data of the comment with the highest number of votes that is new, that is, data of the comment with the highest number of votes that is not shown in the comment associated with the target comment, is loaded.
Step 711 c: the comment area is scrolled to the position of the last comment.
Here, the ID and the location information of the previous comment may be acquired from the local database, so that the comment area is scrolled to the location of the previous comment according to the acquired ID and the location information of the previous comment.
Step 712: judging whether the loaded comment is the last comment associated with the target comment or not, if so, returning to the step 708; otherwise, step 713 is performed.
Here, if all the comments associated with the target comment are already displayed, the next comment cannot be acquired.
Step 713: the "next" button is grayed out to make it non-clickable, returning to step 608.
Here, if the "back" button is clicked, the comment area is scrolled to the position of the previous comment, and at the same time, the "next" button cancels the graying, and the clickable function is replied.
The method of the embodiment of the invention screens and displays the comments, so that the user can conveniently browse interested comments to perform corresponding interaction, thus improving the experience of the user and further improving the viscosity of the user.
It should be noted that praise may be replaced by any other interactive behavior, such as reply to a comment, forwarding, and the like.
Continuing to describe an exemplary structure of the comment presenting apparatus 455 provided by the embodiment of the present invention implemented as a software module, fig. 20 is an optional structural schematic diagram of the comment presenting apparatus provided by the embodiment of the present invention, as shown in fig. 20, the comment presenting apparatus provided by the embodiment of the present invention includes:
a page presentation module 4551, configured to present a comment page including at least two comments, which corresponds to a comment object;
an instruction receiving module 4552, configured to receive, based on the comment page, a comment displaying instruction corresponding to a target comment, where the comment displaying instruction is used to indicate that, of at least two comments corresponding to the comment object, a comment associated with the target comment is displayed;
at least one comment interactive behavior exists in the users with interactive behaviors with the target comment, wherein the comment interactive behaviors exist in the condition that the target comment is associated with at least one user;
a comment presentation module 4553, configured to present, in response to the comment presentation instruction, a comment associated with the target comment in a graphical display interface.
In some embodiments, the instruction receiving module 4552 is further configured to present a comment presentation function item in response to a click operation on a function icon corresponding to the target comment in the comment page;
and triggering a comment display instruction corresponding to the target comment in response to the click operation on the comment display function item.
In some embodiments, the instruction receiving module 4552 is further configured to trigger a comment displaying instruction for the target comment in response to a click operation on a comment displaying function item corresponding to the target comment in the comment page.
In some embodiments, the comment presentation module 4553 is further configured to determine a page presentation area of a comment associated with the target comment in a graphical interface;
and performing a first sliding operation on the comment page to display the comment associated with the target comment in the page display area.
In some embodiments, the comment presentation module 4553 is further configured to present a comment switching function item in the graphical interface when the number of comments associated with the target comment is two or more;
and responding to the click operation aiming at the comment switching function item, and performing a second sliding operation on the comment page to realize the switching display of the comment associated with the target comment in the page display area.
In some embodiments, the comment presentation module 4553 is further configured to present the page presentation area in a target color, so that the color of the page presentation area is different from the area of the graphical interface other than the page presentation area.
In some embodiments, the comment presentation module 4553 is further configured to present, in a graphical display interface, a display page containing a comment associated with the target comment in place of a comment page containing at least two comments for a corresponding comment object.
In some embodiments, the comment presentation module 4553 is further configured to present the comment associated with the target comment in a graphical display interface in a target font style such that the font style of the comment associated with the target comment is different from other comments in the comment page.
In some embodiments, the comment presentation module 4553 is further configured to, when the number of comments associated with the target comment is two or more, obtain an interaction number corresponding to each comment associated with the target comment;
determining the display sequence of the comments related to the target comment according to the size of the interaction quantity;
and displaying the comments related to the target comment in a graphical display interface according to the display sequence.
In some embodiments, the comment presentation module 4553 is further configured to, when the number of comments associated with the target comment is two or more, obtain a posting time of each comment associated with the target comment;
determining the display sequence of the comments related to the target comment according to the publication time;
and displaying the comments associated with the target comment in a graphical display interface in the display order.
In some embodiments, the apparatus further comprises:
the first comment acquisition module is used for determining a user who has an interactive behavior with the target comment;
and acquiring a first comment of the user participating in the interaction, and taking the first comment as a comment associated with the target comment.
In some embodiments, the apparatus further comprises:
the second comment acquisition module is used for acquiring a user with an interactive behavior with the target comment;
determining an interaction type corresponding to the interaction behavior of each user aiming at the target comment;
and acquiring a second comment of each user participating in the interaction of the interaction type, and taking the second comment as a comment associated with the target comment.
Embodiments of the present invention provide a storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform a method provided by embodiments of the present invention, for example, the method shown in fig. 4.
In some embodiments, the storage medium may be FRAM, ROM, PROM, EPROM, EEP ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, may be stored in a portion of a file that holds other programs or data, e.g., in one or more scripts in a HyperText markup Language (H TML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (15)

1. A method for displaying comments, the method comprising:
presenting a comment page containing at least two comments and corresponding to the comment object;
receiving a comment displaying instruction corresponding to a target comment based on the comment page, wherein the comment displaying instruction is used for indicating to display a comment associated with the target comment in at least two comments corresponding to the comment object;
wherein, at least one user has interactive behavior with the comment associated with the target comment among the users having interactive behavior with the target comment;
in response to the comment presentation instruction, presenting a comment associated with the target comment in a graphical display interface.
2. The method of claim 1, wherein receiving comment presentation instructions for a corresponding target comment based on the comment page comprises:
presenting a comment display function item in response to a click operation on a function icon corresponding to the target comment in the comment page;
and triggering a comment display instruction corresponding to the target comment in response to the click operation on the comment display function item.
3. The method of claim 1, wherein receiving comment presentation instructions for a corresponding target comment based on the comment page comprises:
and triggering a comment display instruction aiming at the target comment in response to a click operation aiming at a comment display function item corresponding to the target comment in the comment page.
4. The method of claim 1, wherein said presenting a comment associated with the target comment in a graphical display interface comprises:
determining a page display area of the comment associated with the target comment in a graphical interface;
and performing a first sliding operation on the comment page to display the comment associated with the target comment in the page display area.
5. The method of claim 4, wherein after the sliding operation on the comment page, the method further comprises:
when the number of the comments related to the target comment is two or more, displaying a comment switching function item in the graphical interface;
and responding to the click operation aiming at the comment switching function item, and performing a second sliding operation on the comment page to realize the switching display of the comment associated with the target comment in the page display area.
6. The method of claim 4, wherein after performing a first swipe operation on the comment page, the method further comprises:
and presenting the page display area in a target color so that the color of the page display area is different from the area except the page display area in the graphical interface.
7. The method of claim 1, wherein said presenting a comment associated with the target comment in a graphical display interface comprises:
presenting, in a graphical display interface, a display page containing a comment associated with the target comment in place of a comment page containing at least two comments for a corresponding comment object.
8. The method of claim 1, wherein said presenting a comment associated with the target comment in a graphical display interface comprises:
the comment associated with the target comment is presented in a graphical display interface in a target font style such that the font style of the comment associated with the target comment is different from other comments in the comment page.
9. The method of claim 1, wherein said presenting a comment associated with the target comment in a graphical display interface comprises:
when the number of the comments related to the target comment is two or more, acquiring the number of interactions corresponding to each comment related to the target comment;
determining the display sequence of the comments related to the target comment according to the size of the interaction quantity;
and displaying the comments related to the target comment in a graphical display interface according to the display sequence.
10. The method of claim 1, wherein said presenting a comment associated with the target comment in a graphical display interface comprises:
when the number of the comments related to the target comment is two or more, obtaining the posting time of each comment related to the target comment;
determining the display sequence of the comments related to the target comment according to the publication time;
and displaying the comments associated with the target comment in a graphical display interface in the display order.
11. The method of claim 1, wherein prior to presenting the comment associated with the target comment in a graphical display interface, the method further comprises:
determining a user having an interactive behavior with the target comment;
and acquiring a first comment of the user participating in the interaction, and taking the first comment as a comment associated with the target comment.
12. The method of claim 1, wherein prior to presenting the comment associated with the target comment in a graphical display interface, the method further comprises:
acquiring a user with an interactive behavior with the target comment;
determining an interaction type corresponding to the interaction behavior of each user aiming at the target comment;
and acquiring a second comment of each user participating in the interaction of the interaction type, and taking the second comment as a comment associated with the target comment.
13. A presentation device of comments, comprising:
the page presentation module is used for presenting a comment page which corresponds to the comment object and contains at least two comments;
the instruction receiving module is used for receiving a comment displaying instruction corresponding to the target comment based on the comment page, wherein the comment displaying instruction is used for indicating to display a comment related to the target comment in at least two comments corresponding to the comment object;
at least one comment interactive behavior exists in the users with interactive behaviors with the target comment, wherein the comment interactive behaviors exist in the condition that the target comment is associated with at least one user;
and the comment display module is used for responding to the comment display instruction and displaying the comment related to the target comment in a graphical display interface.
14. An electronic device, comprising:
a memory for storing executable instructions;
a processor for implementing the method of presenting a comment of any one of claims 1 to 12 when executing executable instructions stored in the memory.
15. A storage medium having stored thereon executable instructions for causing a processor to perform a method of presenting a review as claimed in any one of claims 1 to 12 when executed.
CN202010171271.9A 2020-03-12 2020-03-12 Comment display method and device, electronic equipment and storage medium Pending CN111309213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010171271.9A CN111309213A (en) 2020-03-12 2020-03-12 Comment display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010171271.9A CN111309213A (en) 2020-03-12 2020-03-12 Comment display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111309213A true CN111309213A (en) 2020-06-19

Family

ID=71149693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010171271.9A Pending CN111309213A (en) 2020-03-12 2020-03-12 Comment display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111309213A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256166A (en) * 2020-09-23 2021-01-22 北京达佳互联信息技术有限公司 Comment information display method and device and electronic equipment
CN112286422A (en) * 2020-11-17 2021-01-29 北京城市网邻信息技术有限公司 Information display method and device
CN112835672A (en) * 2021-02-24 2021-05-25 腾讯科技(深圳)有限公司 Voting information processing method, device and storage medium
CN113079244A (en) * 2021-03-23 2021-07-06 北京字跳网络技术有限公司 Hot event display method of application program and electronic equipment
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
CN113391751A (en) * 2021-05-25 2021-09-14 腾讯科技(深圳)有限公司 Interface display method and device, storage medium and electronic equipment
CN113891165A (en) * 2020-07-03 2022-01-04 腾讯科技(深圳)有限公司 Comment processing method, comment processing device, comment processing equipment and computer-readable storage medium
CN113973223A (en) * 2020-07-23 2022-01-25 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN114338591A (en) * 2022-03-14 2022-04-12 北京搜狐新媒体信息技术有限公司 Online interaction method and device, electronic equipment and computer storage medium
CN114816603A (en) * 2021-01-27 2022-07-29 北京字跳网络技术有限公司 Work display method and device, electronic equipment and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891165B (en) * 2020-07-03 2024-05-17 腾讯科技(深圳)有限公司 Comment processing method, comment processing device, comment processing equipment and computer-readable storage medium
CN113891165A (en) * 2020-07-03 2022-01-04 腾讯科技(深圳)有限公司 Comment processing method, comment processing device, comment processing equipment and computer-readable storage medium
CN113973223B (en) * 2020-07-23 2023-11-17 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and storage medium
CN113973223A (en) * 2020-07-23 2022-01-25 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN112256166A (en) * 2020-09-23 2021-01-22 北京达佳互联信息技术有限公司 Comment information display method and device and electronic equipment
CN112286422A (en) * 2020-11-17 2021-01-29 北京城市网邻信息技术有限公司 Information display method and device
CN114816603A (en) * 2021-01-27 2022-07-29 北京字跳网络技术有限公司 Work display method and device, electronic equipment and storage medium
CN112835672A (en) * 2021-02-24 2021-05-25 腾讯科技(深圳)有限公司 Voting information processing method, device and storage medium
CN113079244A (en) * 2021-03-23 2021-07-06 北京字跳网络技术有限公司 Hot event display method of application program and electronic equipment
CN113079244B (en) * 2021-03-23 2022-09-09 北京字跳网络技术有限公司 Hot event display method of application program and electronic equipment
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
CN113391751A (en) * 2021-05-25 2021-09-14 腾讯科技(深圳)有限公司 Interface display method and device, storage medium and electronic equipment
CN114338591A (en) * 2022-03-14 2022-04-12 北京搜狐新媒体信息技术有限公司 Online interaction method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN111309213A (en) Comment display method and device, electronic equipment and storage medium
RU2632144C1 (en) Computer method for creating content recommendation interface
WO2022111249A1 (en) Information presentation method, apparatus, and computer storage medium
KR20130130748A (en) Multi-mode web browsing
TWI728419B (en) Interactive method, device and equipment
TWI828888B (en) Thread of conversation displaying method, computer readable recording medium and computer device
CN113301360A (en) Information prompting method, computing device and storage medium
US8306963B2 (en) Embedded search bar
CN112988006A (en) Display method, display device, electronic equipment and storage medium
CN111432264A (en) Content display method, device and equipment based on media information stream and storage medium
CN111506845A (en) Content display method, device and equipment based on media information stream and storage medium
CN108958731B (en) Application program interface generation method, device, equipment and storage medium
CN112269917A (en) Media resource display method, device, equipment, system and storage medium
CN111580721A (en) Content display method, device and equipment based on media information stream and storage medium
CN112788178A (en) Message display method and device
CN113568545A (en) Comment content display method, terminal and storage medium
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN109040767A (en) A kind of direct broadcasting room loading method, system, server and storage medium
CN110347314A (en) A kind of content displaying method, device, storage medium and computer equipment
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN107911749B (en) Method for displaying and providing rehearsal graph, client and server
CN106970985B (en) Information flow channel classification interaction method and device based on demand guidance and server
CN111934985A (en) Media content sharing method, device and equipment and computer readable storage medium
CN113891165A (en) Comment processing method, comment processing device, comment processing equipment and computer-readable storage medium
CN111914193A (en) Method, device and equipment for processing media information and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40025248

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination