CN104571818A - Method and device for displaying article comments - Google Patents

Method and device for displaying article comments Download PDF

Info

Publication number
CN104571818A
CN104571818A CN201410828243.4A CN201410828243A CN104571818A CN 104571818 A CN104571818 A CN 104571818A CN 201410828243 A CN201410828243 A CN 201410828243A CN 104571818 A CN104571818 A CN 104571818A
Authority
CN
China
Prior art keywords
content
block
comment
article
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410828243.4A
Other languages
Chinese (zh)
Other versions
CN104571818B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201410828243.4A priority Critical patent/CN104571818B/en
Publication of CN104571818A publication Critical patent/CN104571818A/en
Application granted granted Critical
Publication of CN104571818B publication Critical patent/CN104571818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method for displaying article comments. For example, the method can comprise the following steps: acquiring article content from a server side; displaying the article content, and acquiring and displaying comment content corresponding to a first block of the article content when the first block is moved into a trigger region of a client; when the first block of the article content is moved out of the trigger region and a second block of the article content is moved into the trigger region, hiding the comment content corresponding to the first block, and acquiring and displaying the comment content corresponding to the second block. Different comments are displayed in real time specific to the blocks entering the trigger region, so that the interactivity between the article content and the comments is enhanced, a user can know which part of an article the displayed comment content is specific to, the difficulty in understanding the comment content is lowered for the user, and better experience is brought to the user. Moreover, the embodiment of the invention provides a device for displaying article comments.

Description

Method and device for displaying article comments
Technical Field
The embodiment of the invention relates to the field of Internet, in particular to a method and a device for displaying article comments.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the popularization of the internet, more and more people are used to read various articles on intelligent terminals such as mobile phones and tablet computers by using reading clients aggregating internet information. In order to facilitate the user to communicate the reading feeling, the user can make comments on the read articles.
Disclosure of Invention
However, because the comment object targeted by each piece of comment content displayed by the client is the whole article, the interactivity between the article content and the comment is poor.
Therefore, an improved method and apparatus for displaying article comments are needed, so that the user can know to which part of the article the displayed comment content is directed, and the interactivity between the article content and the comment is improved.
In this context, embodiments of the present invention are intended to provide a method and apparatus for displaying article comments.
In a first aspect of embodiments of the present invention, a method for displaying article comments, applied to a client, is provided. For example, the method may include: acquiring article content from a server; displaying the article content, and when a first block of the article content is moved into a trigger area of a client, acquiring and displaying comment content corresponding to the first block; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
In a second aspect of the embodiments of the present invention, an apparatus configured at a client for displaying article comments is provided. For example, the apparatus may comprise: the acquisition unit may be configured to acquire article content from the server side. The display unit may be configured to display the article content, acquire and display the comment content corresponding to a first block of the article content when the first block is moved into a trigger area of a client, hide the comment content corresponding to the first block, and acquire and display the comment content corresponding to a second block when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area.
In a third aspect of the embodiments of the present invention, a method for displaying article comments, applied to a server side, is provided. For example, the method may include: receiving a request of a client for acquiring article content; feeding back article content to a client and feeding back comments aiming at the article content to the client so as to enable the client to display the article content, and when a first block of the article content is moved into a trigger area of the client, obtaining and displaying the comment content corresponding to the first block; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
In a fourth aspect of the embodiments of the present invention, an apparatus configured on a server side for displaying article comments is provided. For example, the apparatus may comprise: the request receiving unit may be configured to receive a request for obtaining article content from a client. The feedback unit may be configured to feed back article content to a client and feed back a comment for the article content to the client, so that the client displays the article content, and when a first block of the article content is moved into a trigger area of the client, obtain and display the comment content corresponding to the first block; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
According to the method and the device for displaying the article comments, which are provided by the embodiment of the invention, because the trigger area is arranged at the client, when the article content is displayed, when the first block of the article content is moved into the trigger area of the client, the comment content corresponding to the first block is obtained and displayed, and when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed. Therefore, when a user reads pictures and texts at the client, the client can display different comments in real time according to the block entering the trigger area, and the displayed comments correspond to the block moving into the trigger area, so that the displayed comments correspond to the same theme, the user can know which part of the comment of the article the displayed comment content is, interactivity between the article content and the comment is improved, and better experience is brought to the user.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates a client interface diagram according to an embodiment of the invention;
FIG. 2 is a schematic flow chart illustrating a method for displaying article comments applied to a client according to an embodiment of the present invention;
FIG. 3 schematically illustrates a client interface diagram according to an embodiment of the invention;
FIG. 4 schematically illustrates a client interface diagram according to yet another embodiment of the invention;
FIG. 5 is a schematic diagram of an apparatus configured at a client for displaying article comments according to an embodiment of the present invention;
FIG. 6 is a flow chart of a method for displaying article comments applied to a server side according to an embodiment of the invention;
fig. 7 is a schematic structural diagram of an apparatus configured on a server side for displaying article comments according to an embodiment of the present invention;
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a method and a device for displaying article comments are provided.
In this context, it is to be understood that the term article content referred to may refer to an article formed by text or pictures, or a mixture of pictures and text. Moreover, any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that a trigger area can be set at a client, when a user reads an article, comments corresponding to a moved-out block are hidden according to the block moved out of the trigger area, comments corresponding to the moved-in block are displayed according to the block moved into the trigger area, and the displayed comments correspond to the block currently moved into the trigger area, so that the displayed comments correspond to the same theme, the user can know which part of the comment of the article the displayed comment content is, the understanding difficulty of the user on the comment content is reduced, the comments on a common topic are aggregated, the interactivity of the article content and the comments is improved, and better experience is brought to the user.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
Referring to fig. 1, a schematic diagram of a client interface applying the method provided by the embodiment of the present invention is shown. As shown in fig. 1, a trigger area 101 is provided on the client interface, and in the process of reading the article content, the user can hide the comment content corresponding to the moved-out block in the comment area according to the block moved out of the trigger area 101, and display the comment content corresponding to the moved-in block in the comment area according to the block moved into the trigger area 101.
It should be noted that the client interface shown in fig. 1 is only one possible implementation manner of the embodiment of the present invention. The interface of the client side applying the embodiment of the invention can have various different page layout modes. The invention is not limited in this regard. For example, article content may be displayed in a content area of the reading interface and review content may be displayed in a review area of the reading interface. In the reading interface, the comment area may be arranged separately from the content area as shown in fig. 3, or the comment area may be arranged overlappingly on the content area as shown in fig. 4.
The client described in the embodiment of the present invention may be any possible client. For example, it may be an intelligent mobile terminal based application such as a reading client, a Wap browser client for displaying Wap web pages, and so on.
One of the exemplary methods
A method of displaying article reviews according to an exemplary embodiment of the invention is described below with reference to fig. 2 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
For example, referring to fig. 2, a flowchart of a method for displaying article comments, which is applied to a client, is provided in an embodiment of the present invention. As shown in fig. 2, the method may include:
s210, obtaining article content from the server side.
For example, the article content may be stored on the server side in correspondence with an article unique identifier for uniquely identifying the article content. The client side can send a downloading or caching request carrying the article unique identifier to the server side, so that the server side feeds back article content corresponding to the article unique identifier according to the downloading or caching request, and the article content is obtained. For example, the client may send a download or cache request to the server when the user clicks on an article-related link.
And S220, displaying the article content, and when the first block of the article content is moved into the trigger area of the client, acquiring and displaying the comment content corresponding to the first block.
For example, a content area for displaying an article may be provided in the reading interface of the client. When the content area is not enough to display the entire content of the article content, the article content can be browsed by clicking or sliding in the content area. And a comment area for displaying comment content can be further arranged in the reading interface of the client. The comment section and the content section may be collectively arranged on the same interface so that the user understands the comment content with reference to the context of the article content. The arrangement mode can include: the comment area is arranged on the content area in an overlapping manner, or the comment area is arranged separately from the content area.
The specific representation form of the trigger area of the client is not limited. For example, the trigger area may be represented as a linear area or a rectangular area located in the content area, or the like. The representation form and the position of the trigger area in the reading interface can be set by a user, and default setting can be adopted by the client. For example, the client may default to a trigger region located at 1/2 of the screen height, the client providing a number of different shaped trigger regions for selection by the user. The client can also receive the operation of the user for adjusting the position of the trigger area in the client reading interface, and correspondingly adjust the position of the trigger area in the client reading interface according to the operation of the user. After adjustment, the trigger area may be temporarily fixed in the reading interface, so that when the user moves the article content, different sections of the article content can be moved into or out of the trigger area.
For example, in some possible embodiments, a total set of comment contents corresponding to different blocks of the article content may be obtained from the server to the local. When the first block of the article content is moved into the trigger area of the client, the comment content corresponding to the first block can be obtained by screening from the local comment content aggregate.
Or,
for another example, in other possible embodiments, when the first block of the article content is moved into the trigger area of the client, the comment content corresponding to the first block is obtained by sending an obtaining request for the comment content corresponding to the first block to the server, where the obtaining request enables the server to filter out the comment content corresponding to the first block from the comment contents respectively corresponding to different blocks of the article content.
S230, when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, hiding the comment content corresponding to the first block, and acquiring and displaying the comment content corresponding to the second block.
For example, when the trigger area is fixed and the user moves the article content, or when the article content is fixed and the user moves the trigger area, different blocks of the article content can be moved into or out of the trigger area.
The hiding degree of the comment content corresponding to the first block can be set according to actual needs. For example, the comment content corresponding to the first block may be completely hidden from display, may be displayed in a dark font to indicate that the corresponding block position moves out of the trigger area, and so on.
For example, in an embodiment where the client obtains, from the server, a total set of comment contents corresponding to different blocks of the article content, when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the client may filter and obtain, from the obtained total set of comment contents, the comment contents corresponding to the second block.
Or,
for another example, in an implementation that an aggregation of comment contents corresponding to different blocks of the article content does not need to be obtained from the server, when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the client may obtain the comment content corresponding to the second block by sending an acquisition request for the comment content corresponding to the second block to the server, where the acquisition request causes the server to filter the comment content corresponding to the second block from the comment contents corresponding to the different blocks of the article content.
It is understood that different sections may correspond to different comment contents in the embodiment of the present invention. The correspondence between the blocks and the comment contents corresponding to the blocks may be established according to any possible implementation manner, which is not limited by the present invention. For example, different blocks may be distinguished according to the unique identifier of the block, and based on the establishment of the correspondence between the block number and the comment content, the filtering may be performed according to the correspondence. For another example, different blocks may be distinguished according to the positions of the blocks in the article content, and based on the establishment of the correspondence between the block positions and the comment content, screening may be performed according to the correspondence.
For example, in some possible embodiments, the comment content corresponding to different blocks of the article content may be stored in the server side in one-to-one correspondence with the block positions. For example, a correspondence table in which comment content, article unique identifiers, and block positions to which comments are directed correspond one to one may be stored on the server side.
In combination with the above embodiment, the client may obtain, from the server, a total set of correspondence between different block positions and corresponding comment contents, and then, according to the positions of the blocks moved into the trigger area in the article contents, screen out, from the total set of correspondence, comment contents corresponding to the positions of the blocks moved into the trigger area. Alternatively, the client may send the position of the block moved into the trigger area to the server, and the server may further screen out the comment content corresponding to the position of the block moved into the trigger area from the stored correspondence set.
Taking the total height of the article content as x, the distance from a certain position to the top of the article content as y, the position value corresponding to the position as y/x, the distance from the top boundary of the first tile or the second tile moving into the trigger area to the top of the article content as y1, and the distance from the bottom boundary to the top of the article content as y2 as an example. And screening out the comment contents of which the corresponding position values are greater than y1/x and less than y2/x from the corresponding relation aggregate. The screened comment contents can be displayed in the comment area according to the sequence of the corresponding position values from small to large. When the comment area is not enough to display all the screened comment contents, the user can browse the comments in the comment area in a clicking or rolling mode or the like, or the size of the comment area can be adjusted according to the total amount of all the screened comment contents.
In addition, the embodiment of the invention also provides an implementation mode for realizing comment making. For example, in response to a user submitting comment content for a specified block of the article content, the client may send a comment message to the server, where the comment message includes the comment content, a specified block position corresponding to the comment content, and a unique identifier of the article content, so that the server stores the comment content, the unique identifier of the article content, and the specified block position in a corresponding manner.
In the embodiment of comment making, a user can make a comment in a reading process, and the position of the specified block corresponding to the comment content can be specified by the user or automatically determined by the client. For example, an indicator for inserting a comment may be provided on the client-side reading interface, and the user may drag the indicator, where the indicator is located when the user submits the comment, that is, the specified block location corresponding to the comment content. As another example, the client may automatically take the location of the tile displayed somewhere in the height of the content area, the height of the entire reading interface, or the height of the screen, such as 1/2, as the designated tile location corresponding to the comment content.
Therefore, when the method provided by the embodiment of the invention is applied to the client, when a user reads pictures and texts at the client, the client can display different comments in real time according to different blocks entering the trigger area, and the displayed comments correspond to the blocks moving into the trigger area, so that the displayed comments correspond to the same theme, the interactivity of the article content and the comments is improved, the user can know which part of the displayed comment content is directed to the article, the difficulty in understanding the comment content by the user is reduced, and better experience is brought to the user.
One of the exemplary devices
Having described a method of applying an exemplary embodiment of the present invention to a client, a device for displaying article comments, which is configured at the client, according to an exemplary embodiment of the present invention will be described in detail with reference to fig. 5.
For example, referring to fig. 5, a schematic structural diagram of an apparatus configured at a client for displaying article comments according to an embodiment of the present invention is provided. As shown in fig. 5, the apparatus may include:
the obtaining unit 510 may be configured to obtain article content from a server. The display unit 520 may be configured to display the article content, and when a first block of the article content is moved into a trigger area of the client, obtain and display comment content corresponding to the first block. When the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
In some possible embodiments, the article content is displayed in a content area of the reading interface, and the comment content is displayed in a comment area of the reading interface; wherein, in the reading interface, the comment area is arranged on the content area in an overlapping manner, or the comment area is arranged separately from the content area.
In some possible embodiments, the apparatus may further include: a review content summary obtaining unit 530, configured to obtain, from a server, review content summaries respectively corresponding to different blocks of the article content; specifically, when the first block of the article content is moved into a trigger area of the client, the comment content corresponding to the first block is obtained by screening from the obtained comment content aggregate; specifically, when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the second block is obtained by screening the obtained comment content aggregate.
In other possible embodiments, the apparatus may further include: the review content decentralized obtaining unit 531 may be configured to, when a first block of the article content is moved into a trigger area of a client, obtain the review content corresponding to the first block by sending an obtaining request for the review content corresponding to the first block to a server, where the obtaining request enables the server to screen out the review content corresponding to the first block from the review contents respectively corresponding to different blocks of the article content; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, obtaining the comment content corresponding to the second block by sending an obtaining request for the comment content corresponding to the second block to a server, wherein the obtaining request enables the server to screen out the comment content corresponding to the second block from the comment contents respectively corresponding to different blocks of the article content.
In yet other possible embodiments, the apparatus may further include: the comment submitting unit 540 may be configured to, in response to a user submitting comment content for a specified block of the article content, send a comment message to the server, where the comment message includes the comment content, a specified block position corresponding to the comment content, and a unique identifier of the article content, so that the server stores the comment content, the unique identifier of the article content, and the specified block position in a corresponding manner.
It can be seen that, when the apparatus provided in the embodiment of the present invention is configured at the client, the article content may be displayed by the display unit 520, and when the first block of the article content is moved into the trigger area of the client, the comment content corresponding to the first block is acquired and displayed, and when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is acquired and displayed, so that the client may display different comments in real time according to the block entering the trigger area, and the displayed comments all correspond to the block moved into the trigger area, and therefore, the displayed comments correspond to the same topic, thereby improving interactivity between the article content and the comments, and enabling the user to know to which part of the displayed comment content is directed to the article, the difficulty of understanding the comment content by the user is reduced, and better experience is brought to the user.
It should be noted that the comment content collection acquiring unit 530, the comment content scattering acquiring unit 531, and the comment submitting unit 540 are drawn by broken lines in fig. 5 to indicate that the units are not essential units of the present invention.
Second exemplary method
A method for displaying article comments applied to a server side according to an exemplary embodiment of the present invention is described below with reference to fig. 6 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
For example, referring to fig. 6, a flowchart of a method for displaying article comments, which is applied to a server side according to an embodiment of the present invention is shown. As shown in fig. 6, the method may include:
s610, receiving a request of the client for obtaining the article content.
S620, feeding back article content to a client and feeding back comments aiming at the article content to the client according to the request so that the article content is displayed by the client, and when a first block of the article content is moved into a trigger area of the client, obtaining and displaying comment content corresponding to the first block; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
In some possible embodiments, the server may feed back, to the client, a total set of comment contents corresponding to different blocks of the article content for the request, so that when the first block of the article content is moved into a trigger area of the client, the client filters and acquires the comment content corresponding to the first block from the total set of comment contents, and when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the client filters and acquires the comment content corresponding to the second block from the total set of comment contents.
In other possible embodiments, the server may receive an acquisition request for the comment content corresponding to the first block, which is sent by the client when the first block of the article content is moved into the trigger area of the client, filter, for the acquisition request, the comment content corresponding to the first block from the comment contents respectively corresponding to different blocks of the article content, and feed back the comment content corresponding to the first block to the client; and an acquisition request for the comment content corresponding to the second block, which is sent by the client when the second block of the article content is moved into the trigger area of the client, can be received, and for the acquisition request, the comment content corresponding to the second block is screened out from the comment contents respectively corresponding to different blocks of the article content, and the comment content corresponding to the second block is fed back to the client.
It is understood that different sections may correspond to different comment contents in the embodiment of the present invention. The server may store a correspondence between the blocks and the comment contents corresponding to the blocks. The correspondence between the blocks and the comment contents corresponding to the blocks may be established according to any possible implementation manner, which is not limited in the present invention. For example, different blocks may be distinguished according to the unique identifier of the block, and the server may store a correspondence between the block number and the comment content. For another example, different blocks may be distinguished according to the positions of the blocks in the article content, and the server may store the correspondence between the block positions and the comment content.
In some possible implementations, the comment content may be stored in the server side in one-to-one correspondence with the location of the corresponding tile. With reference to this embodiment, a server may receive a comment message sent by a client, where the comment message may be specifically sent by the client when a user submits comment content for a specified block of article content, and the comment message includes the comment content, a specified block position corresponding to the comment content, and a unique identifier of the article content; and correspondingly storing the comment content, the unique identifier of the article content and the position of the specified block.
Therefore, by applying the method provided by the embodiment of the invention to the server side, the server side can provide the article contents corresponding to different comment contents in different blocks to the client side, so that the client side can display different comments in real time according to different blocks entering the trigger area, and the displayed comments correspond to the blocks moved into the trigger area, therefore, the simultaneously displayed comments correspond to the same theme, the interactivity between the article contents and the comments is improved, a user can know which part of the article the displayed comment contents are directed at, the understanding difficulty of the user on the comment contents is reduced, and better experience is brought to the user.
Second example device
Having described the method of applying the exemplary embodiment of the present invention to the server side, the apparatus for displaying article comments, which is configured on the server side, of the exemplary embodiment of the present invention will be described in detail with reference to fig. 7.
For example, referring to fig. 7, a schematic structural diagram of an apparatus configured on a server side for displaying article comments is provided in an embodiment of the present invention. As shown in fig. 7, the apparatus may include:
the request receiving unit 710 may be configured to receive a request for obtaining article content from a client.
The feedback unit 720 may be configured to feed back article content to the client and feed back a comment for the article content to the client, so that the client displays the article content, and when a first block of the article content is moved into a trigger area of the client, obtain and display the comment content corresponding to the first block; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
In some possible embodiments, the feedback unit 720 may be configured to feed back, to the client, a total set of comment contents corresponding to different blocks of the article content, so that when the first block of the article content is moved into a trigger area of the client, the client filters and acquires the comment content corresponding to the first block from the total set of comment contents, and when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the client filters and acquires the comment content corresponding to the second block from the total set of comment contents.
In other possible embodiments, the feedback unit 720 may be configured to receive an obtaining request for comment content corresponding to a first block of the article content, which is sent by the client when the first block of the article content is moved into a trigger area of the client, screen out, for the obtaining request, comment content corresponding to the first block from comment content respectively corresponding to different blocks of the article content, and feed back the comment content corresponding to the first block to the client; and receiving an acquisition request for the comment content corresponding to the second block, which is sent by the client when the second block of the article content is moved into the trigger area of the client, screening the comment content corresponding to the second block from the comment contents respectively corresponding to different blocks of the article content according to the acquisition request, and feeding back the comment content corresponding to the second block to the client.
In yet other possible embodiments, the apparatus may further include: the comment receiving unit 730 may be configured to receive a comment message sent by a client, where the comment message is specifically sent by the client when a user submits comment content at a specified comment location of an article content, and the comment message includes the comment content, the specified comment location corresponding to the comment content, and a unique identifier of the article content. The comment saving unit 740 may be configured to correspondingly save the comment content, the unique identifier of the article content, and the specified comment location.
It can be seen that, when the apparatus provided in the embodiment of the present invention is configured at the server, the request receiving unit 710 can receive a request for obtaining article content from the client, and the feedback unit 720 provides the article content corresponding to different comment contents in different blocks to the client, so that the client can display different comments in real time according to the difference of the blocks entering the trigger area, and the simultaneously displayed comments all correspond to the blocks moved into the trigger area, and therefore, the simultaneously displayed comments correspond to the same topic, thereby improving interactivity between the article content and the comments, enabling the user to know which part of the article the displayed comment content is directed, reducing difficulty in understanding the comment content by the user, and providing better experience for the user.
Note that the comment receiving unit 730 and the comment holding unit 740 are drawn by dotted lines in fig. 7 to indicate that the units are not essential units of the present invention.
It should be noted that although in the above detailed description several units or sub-units of the apparatus displaying article reviews are mentioned, this division is not mandatory only. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (11)

1. A method for displaying article comments, which is applied to a client, comprises the following steps:
acquiring article content from a server;
displaying the article content, and when a first block of the article content is moved into a trigger area of a client, acquiring and displaying comment content corresponding to the first block;
when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
2. The method of claim 1, wherein the article content is displayed in a content area of a reading interface and the review content is displayed in a review area of the reading interface;
wherein, in the reading interface, the comment area is arranged on the content area in an overlapping manner, or the comment area is arranged separately from the content area.
3. The method of claim 1, further comprising: obtaining a comment content collection corresponding to different blocks of the article content from a server side;
specifically, when the first block of the article content is moved into a trigger area of the client, the comment content corresponding to the first block is obtained by screening from the obtained comment content aggregate;
specifically, when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the second block is obtained by screening the obtained comment content aggregate.
4. The method according to claim 1, wherein the comment content corresponding to the first block is obtained by sending an acquisition request for the comment content corresponding to the first block to a server when the first block of the article content is moved into a trigger area of a client, wherein the acquisition request enables the server to filter out the comment content corresponding to the first block from the comment contents respectively corresponding to different blocks of the article content;
specifically, when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the second block is obtained by sending an acquisition request for the comment content corresponding to the second block to the server, wherein the acquisition request enables the server to screen out the comment content corresponding to the second block from the comment contents respectively corresponding to different blocks of the article content.
5. The method of claim 1, further comprising:
and responding to a comment content submitted by a user aiming at the specified block of the article content, and sending a comment message to a server, wherein the comment message comprises the comment content, the specified block position corresponding to the comment content and the unique identifier of the article content, so that the comment content, the unique identifier of the article content and the specified block position are correspondingly stored by the server.
6. An apparatus for displaying article comments, configured on a client, the apparatus comprising:
the acquisition unit is configured to acquire article content from a server side;
the display unit is configured to display the article content, and when a first block of the article content is moved into a trigger area of a client, comment content corresponding to the first block is acquired and displayed; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
7. A method for displaying article comments is applied to a server side, and comprises the following steps:
receiving a request of a client for acquiring article content;
feeding back article content to the client according to the request; feeding back comments aiming at the article content to the client so that the client can display the article content, and when a first block of the article content is moved into a trigger area of the client, acquiring and displaying the comment content corresponding to the first block; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
8. The method of claim 7, wherein the feeding back comments for the article content to the client comprises:
and feeding back the comment content aggregations corresponding to different blocks of the article content to the client according to the request, so that when the first block of the article content is moved into a trigger area of the client, the client filters and acquires the comment content corresponding to the first block from the obtained comment content aggregations, and when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the client filters and acquires the comment content corresponding to the second block from the obtained comment content aggregations.
9. The method of claim 7, wherein the feeding back comments for the article content to the client comprises:
receiving an acquisition request for comment content corresponding to a first block sent by a client when the first block of the article content is moved into a trigger area of the client, screening the comment content corresponding to the first block from the comment content respectively corresponding to different blocks of the article content according to the acquisition request, and feeding back the comment content corresponding to the first block to the client;
and receiving an acquisition request for the comment content corresponding to the second block, which is sent by the client when the second block of the article content is moved into the trigger area of the client, screening the comment content corresponding to the second block from the comment contents respectively corresponding to different blocks of the article content according to the acquisition request, and feeding back the comment content corresponding to the second block to the client.
10. The method of claim 7, further comprising:
receiving a comment message sent by a client, wherein the comment message is specifically sent by the client when a user submits comment content for a specified block of article content, and the comment message comprises the comment content, a specified block position corresponding to the comment content and a unique identifier of the article content;
and correspondingly storing the comment content, the unique identifier of the article content and the position of the specified block.
11. An apparatus for displaying article comments, configured on a server side, the apparatus comprising:
the request receiving unit is configured to receive a request for acquiring article content from a client;
the feedback unit is configured to feed back article content to a client and feed back comments aiming at the article content to the client so that the client can display the article content, and when a first block of the article content is moved into a trigger area of the client, comment content corresponding to the first block is obtained and displayed; when the first block of the article content is moved out of the trigger area and the second block of the article content is moved into the trigger area, the comment content corresponding to the first block is hidden, and the comment content corresponding to the second block is obtained and displayed.
CN201410828243.4A 2014-12-26 2014-12-26 A kind of method and device showing article review Active CN104571818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410828243.4A CN104571818B (en) 2014-12-26 2014-12-26 A kind of method and device showing article review

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410828243.4A CN104571818B (en) 2014-12-26 2014-12-26 A kind of method and device showing article review

Publications (2)

Publication Number Publication Date
CN104571818A true CN104571818A (en) 2015-04-29
CN104571818B CN104571818B (en) 2018-12-28

Family

ID=53088031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410828243.4A Active CN104571818B (en) 2014-12-26 2014-12-26 A kind of method and device showing article review

Country Status (1)

Country Link
CN (1) CN104571818B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820704A (en) * 2015-05-12 2015-08-05 东南大学 Creating method and browsing method for inline marked comment of web text
WO2016191913A1 (en) * 2015-05-29 2016-12-08 Microsoft Technology Licensing, Llc Systems and methods for providing a comment-centered news reader
WO2017016287A1 (en) * 2015-07-27 2017-02-02 广州市动景计算机科技有限公司 Network article comment processing method and apparatus, user terminal device, server and non-transitory machine-readable storage medium
CN106649309A (en) * 2015-10-29 2017-05-10 重庆邮电大学 Method and device for information processing, and method and device for information display
CN107180032A (en) * 2016-03-09 2017-09-19 广州市动景计算机科技有限公司 Comment on content display method and system
CN107180041A (en) * 2016-03-09 2017-09-19 广州市动景计算机科技有限公司 Web page content review method and system
CN107229727A (en) * 2017-06-06 2017-10-03 无线生活(杭州)信息科技有限公司 One kind comment method and device
CN107766548A (en) * 2017-10-31 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device, mobile terminal and readable storage medium storing program for executing
CN108460069A (en) * 2017-11-22 2018-08-28 钱慧敏 For the method for web page article independence point of addition comment
WO2019062044A1 (en) * 2017-09-26 2019-04-04 掌阅科技股份有限公司 Method for interaction between electronic book and electronic book topic computing device, and storage medium
CN110969025A (en) * 2019-11-19 2020-04-07 维沃移动通信有限公司 Text comment method and electronic equipment
US10699078B2 (en) 2015-05-29 2020-06-30 Microsoft Technology Licensing, Llc Comment-centered news reader
CN111898336A (en) * 2020-09-30 2020-11-06 拼说说(深圳)网络科技有限公司 Bullet screen display method and device, computer equipment and storage medium
US10891322B2 (en) 2015-10-30 2021-01-12 Microsoft Technology Licensing, Llc Automatic conversation creator for news

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493843A (en) * 2009-02-20 2009-07-29 赵翼鹏 Method for annotating articles in web page and server
US20100153544A1 (en) * 2008-12-16 2010-06-17 Brad Krassner Content rendering control system and method
CN103166982A (en) * 2011-12-09 2013-06-19 腾讯科技(深圳)有限公司 Sharing method and device of electronic book annotation information
CN104104576A (en) * 2013-04-03 2014-10-15 中国移动通信集团广东有限公司 Method, system and terminal for sharing reading notes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153544A1 (en) * 2008-12-16 2010-06-17 Brad Krassner Content rendering control system and method
CN101493843A (en) * 2009-02-20 2009-07-29 赵翼鹏 Method for annotating articles in web page and server
CN103166982A (en) * 2011-12-09 2013-06-19 腾讯科技(深圳)有限公司 Sharing method and device of electronic book annotation information
CN104104576A (en) * 2013-04-03 2014-10-15 中国移动通信集团广东有限公司 Method, system and terminal for sharing reading notes

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820704A (en) * 2015-05-12 2015-08-05 东南大学 Creating method and browsing method for inline marked comment of web text
WO2016191913A1 (en) * 2015-05-29 2016-12-08 Microsoft Technology Licensing, Llc Systems and methods for providing a comment-centered news reader
US11516159B2 (en) 2015-05-29 2022-11-29 Microsoft Technology Licensing, Llc Systems and methods for providing a comment-centered news reader
US10699078B2 (en) 2015-05-29 2020-06-30 Microsoft Technology Licensing, Llc Comment-centered news reader
CN106407199A (en) * 2015-07-27 2017-02-15 广州市动景计算机科技有限公司 Network article comment processing method and apparatus
WO2017016287A1 (en) * 2015-07-27 2017-02-02 广州市动景计算机科技有限公司 Network article comment processing method and apparatus, user terminal device, server and non-transitory machine-readable storage medium
US10796073B2 (en) 2015-07-27 2020-10-06 Guangzhou Ucweb Computer Technology Co., Ltd. Network article comment processing method and apparatus, user terminal device, server and non-transitory machine-readable storage medium
CN106649309A (en) * 2015-10-29 2017-05-10 重庆邮电大学 Method and device for information processing, and method and device for information display
US10891322B2 (en) 2015-10-30 2021-01-12 Microsoft Technology Licensing, Llc Automatic conversation creator for news
CN107180032A (en) * 2016-03-09 2017-09-19 广州市动景计算机科技有限公司 Comment on content display method and system
CN107180041A (en) * 2016-03-09 2017-09-19 广州市动景计算机科技有限公司 Web page content review method and system
CN107229727A (en) * 2017-06-06 2017-10-03 无线生活(杭州)信息科技有限公司 One kind comment method and device
WO2019062044A1 (en) * 2017-09-26 2019-04-04 掌阅科技股份有限公司 Method for interaction between electronic book and electronic book topic computing device, and storage medium
CN107766548A (en) * 2017-10-31 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device, mobile terminal and readable storage medium storing program for executing
CN107766548B (en) * 2017-10-31 2020-04-21 Oppo广东移动通信有限公司 Information display method and device, mobile terminal and readable storage medium
CN108460069A (en) * 2017-11-22 2018-08-28 钱慧敏 For the method for web page article independence point of addition comment
CN110969025A (en) * 2019-11-19 2020-04-07 维沃移动通信有限公司 Text comment method and electronic equipment
CN110969025B (en) * 2019-11-19 2024-01-23 维沃移动通信有限公司 Text comment method and electronic equipment
CN111898336A (en) * 2020-09-30 2020-11-06 拼说说(深圳)网络科技有限公司 Bullet screen display method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104571818B (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN104571818B (en) A kind of method and device showing article review
CN102946418B (en) A kind of terminal equipment, a kind of picture provide system and a kind of picture transmission method
CN102364460B (en) Automatic page amplification method and system based on mobile terminal
CN105630478B (en) A kind of method and apparatus for realizing page switching
CN110245069A (en) The methods of exhibiting and device of the test method and device of page versions, the page
JP2011128204A (en) Advertisement distribution device, method, and program
US20170300793A1 (en) Method and device for page synchronization
US9741018B2 (en) Systems and methods for extracting similar group elements
CN103955495B (en) The method for down loading and device of page child resource
CN104423839A (en) Browser resource display method and device
CN104462283A (en) Method, device and client for requesting webpage elements in mobile terminal
CN106294413A (en) The loading method of picture and device
CN107609123B (en) Method for aggregating news presentations based on news recommendation system
CN106156189A (en) A kind of label generating method and device, information getting method and device
CN103488508B (en) Browser working method, browser and terminal equipment
CN102222095B (en) Equipment for converting webpage to be displayed and method thereof
JP5563703B2 (en) Content distribution apparatus, content distribution method, content distribution program, and terminal program
CN101924791B (en) Method, device and system for displaying multimedia information
CN103699652A (en) Webpage access method and webpage access system
CN106648349B (en) Information display method and device
CN103699657A (en) Method and device for playing and processing multimedia of web pages
CN105681336A (en) Image providing system
CN102209116A (en) Method and device for acquiring Internet protocol television program information, and television
CN104156372B (en) A kind of methods, devices and systems for opening webpage
CN103853347B (en) Information release method based on gravity sensing horizontal screen display of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant