[go: up one dir, main page]

CN105389369A - Web page commenting method and apparatus, terminal and server - Google Patents

Web page commenting method and apparatus, terminal and server Download PDF

Info

Publication number
CN105389369A
CN105389369A CN201510779067.4A CN201510779067A CN105389369A CN 105389369 A CN105389369 A CN 105389369A CN 201510779067 A CN201510779067 A CN 201510779067A CN 105389369 A CN105389369 A CN 105389369A
Authority
CN
China
Prior art keywords
comment
webpage
information
object information
paper
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
CN201510779067.4A
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Shenma Mobile Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shenma Mobile Information Technology Co Ltd filed Critical Guangzhou Shenma Mobile Information Technology Co Ltd
Priority to CN201510779067.4A priority Critical patent/CN105389369A/en
Publication of CN105389369A publication Critical patent/CN105389369A/en
Priority to US15/348,539 priority patent/US9946693B2/en
Priority to RU2016144330A priority patent/RU2665892C2/en
Priority to US15/933,692 priority patent/US10120846B2/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a web page commenting method and apparatus, a terminal and a server. The method comprises: monitoring a comment trigger element on a web page in real time; when a comment event triggered by a comment trigger element is detected, acquiring location information of a to-be-commented article element corresponding to the comment event, comment information input by a user and a user identifier of the user; generating comment object information according to the location information, the comment information, the user identifier, and current time; and performing updating to display the comment object information in a comment area on the web page. According to the web page commenting method and apparatus, the terminal and the server provided by the present invention, the comment object information is generated according to the location information of the to-be-commented article element, and the comment object information can indicate which content a user comments on, so that the comment object information of the comment of the user can be understood in conjunction with the to-be-commented article element, thereby improving reference value and understandability of the comment object information.

Description

Webpage commenting method and device, terminal and server
Technical Field
The invention relates to the field of internet, in particular to a method, a device, a terminal and a server for web page comment.
Background
At present, a user often browses web articles such as news and the like through a browser client, and the user may feel his/her own feelings about the web articles during browsing, and at this time, the user needs to publish comments on the web articles through the browser client to express his/her own feelings.
Currently, a review area is generally set at the end of a web page article, and the review area includes a review display area, a review input box, and a submit button. When a user browses a webpage article and needs to make a comment, the user scrolls the webpage article to a comment area, edits a comment text in a comment input box and clicks a submit button to submit, at the moment, a browser client acquires the comment text edited by the user from the comment input box, the comment text and the comment time form comment content, the comment content is displayed in a comment display area, the comment content is sent to other browser clients currently displaying the webpage article, and the other browser clients display the comment content.
The comment content only contains comment time and comment texts input by the user, and the comment content cannot reflect which part of the content in the webpage article is commented, so that the user cannot understand the comment content in combination with the commented webpage article content, and the referential property and understandability of the comment content are reduced.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, an apparatus, a terminal, and a server for web page review, in which review object information is generated according to location information of a to-be-reviewed chapter element, so that review object information of a user review can be understood by combining the to-be-reviewed chapter element, and the referential property and the understandability of the review object information are improved.
In a first aspect, an embodiment of the present invention provides a method for web page review, where the method includes:
when a comment event triggered by a comment trigger element in a webpage is monitored, acquiring position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user and a user identification of the user;
generating comment object information according to the position information, the comment information, the user identification and the current time;
and updating and displaying the comment object information in the comment area of the webpage.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the comment triggering element includes a comment tracking button; before the obtaining of the position information of the to-be-commented paper chapter element corresponding to the comment event, the comment information input by the user, and the user identifier of the user, the method further includes:
monitoring the comment tracking button in the webpage in real time, and determining that the comment tracking button triggers a comment event when a click event of the comment tracking button is monitored;
or,
the comment triggering element comprises all webpage article elements currently displayed in the screen display area, and further comprises:
and monitoring all webpage article elements in real time, and determining that the webpage article elements trigger comment events when long press events of certain webpage article elements in all the webpage article elements are monitored.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where when a click event of the comment tracking button is monitored, the acquiring of the position information of a to-be-commented chapter element corresponding to the comment event includes:
acquiring a currently displayed webpage article paragraph from the screen display area as a to-be-commented paper chapter element corresponding to the commenting event;
and generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where when a long press event of a certain webpage article element of all the webpage article elements is monitored, the obtaining of the position information of a to-be-commented paper element corresponding to the comment event includes:
determining webpage article elements of which long press events are monitored as to-be-commented paper chapter elements corresponding to the commenting events;
and generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the generating, according to the source code of the web page and the to-be-evaluated paper chapter element, location information of the to-be-evaluated paper chapter element includes:
inquiring whether the source code of the webpage contains a hypertext markup language (HTML) object identifier of the element of the paper chapter to be evaluated;
if so, acquiring an HTML object identifier of the chapter element of the paper to be evaluated from the source code as position information of the chapter element of the paper to be evaluated;
if not, allocating a unique identifier for the article element to be commented, and determining the allocated unique identifier as the position information of the article element to be commented.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the generating comment object information according to the location information, the comment information, the user identifier, and the current time includes:
determining the current time as the comment time corresponding to the element of the paper chapter to be commented;
generating a comment title corresponding to the to-be-commented paper chapter element through a preset title strategy according to the position information, the comment information, the user identification and the comment time;
and generating comment object information according to the position information, the comment information, the user identification, the comment title and the comment time.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes:
monitoring an additional comment triggering element corresponding to each comment object information in a comment area of the webpage in real time;
when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, wherein the comment object information triggers the additional event, and generating additional comment object information;
and updating and displaying the added comment object information in the comment area of the webpage.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where the updating and displaying the comment object information in the comment area of the web page includes:
and sending the webpage address of the webpage and the comment object information to a server so that the server updates the comment object information to all browser clients currently displaying the webpage.
In a second aspect, an embodiment of the present invention provides a method for web page review, where the method includes:
receiving a webpage address and comment object information sent by a browser client, wherein the comment object information comprises position information of a paper chapter element to be commented;
generating updating information corresponding to the webpage address according to the comment object information;
determining a browser client currently accessing the webpage address according to the webpage address;
and sending the updating information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the updating information.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the generating, according to the comment object information, update information corresponding to the webpage address includes:
adding the comment object information into a comment object information list corresponding to the webpage address to obtain a new comment object information list, and taking the new comment object information list as update information corresponding to the webpage address; or,
and directly determining the received comment object information as the update information corresponding to the webpage address.
In a third aspect, an embodiment of the present invention provides an apparatus for web page review, where the apparatus includes:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the position information of a to-be-commented paper chapter element corresponding to a comment event, comment information input by a user and a user identification of the user when the comment event triggered by a comment trigger element in a webpage is monitored;
the generating module is used for generating comment object information according to the position information, the comment information, the user identification and the current time;
and the updating module is used for updating and displaying the comment object information in the comment area of the webpage.
With reference to the third aspect, an embodiment of the present invention provides a first possible implementation manner of the third aspect, where the comment triggering element includes a comment tracking button; the device further comprises:
the first determining module is used for monitoring the comment tracking button in the webpage in real time, and determining that the comment tracking button triggers a comment event when a click event of the comment tracking button is monitored;
or,
the comment triggering element comprises all webpage article elements currently displayed in the screen display area, and further comprises:
and the second determining module is used for monitoring all the webpage article elements in real time, and determining that the webpage article elements trigger comment events when long press events of certain webpage article elements in all the webpage article elements are monitored.
With reference to the first possible implementation manner of the third aspect, an embodiment of the present invention provides a second possible implementation manner of the third aspect, where when a click event of the comment tracking button is monitored, the obtaining module includes:
the acquisition unit is used for acquiring a currently displayed webpage article paragraph from the screen display area as a to-be-commented paper chapter element corresponding to the comment event;
and the first generating unit is used for generating the position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
With reference to the first possible implementation manner of the third aspect, an embodiment of the present invention provides a third possible implementation manner of the third aspect, where when a long press event of a certain webpage article element of all the webpage article elements is monitored, the obtaining module includes:
the first determining unit is used for determining the webpage article elements of which the long press events are monitored as the to-be-commented paper chapter elements corresponding to the commenting events;
and the first generating unit is used for generating the position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
With reference to the third aspect, an embodiment of the present invention provides a fourth possible implementation manner of the third aspect, where the first generating unit includes:
the query subunit is used for querying whether the source code of the webpage contains the hypertext markup language HTML object identifier of the chapter of paper to be evaluated;
the acquiring subunit is configured to acquire, when the source code of the web page includes the HTML object identifier of the chapter element of a paper to be evaluated, the HTML object identifier of the chapter element of the paper to be evaluated from the source code as position information of the chapter element of the paper to be evaluated;
and the distribution subunit is used for distributing a unique identifier to the paper chapter element to be evaluated when the query subunit queries that the source code of the webpage does not contain the HTML object identifier of the paper chapter element to be evaluated, and determining the distributed unique identifier as the position information of the paper chapter element to be evaluated.
With reference to the third aspect, an embodiment of the present invention provides a fifth possible implementation manner of the third aspect, where the generating module is configured to include:
the second determining unit is used for determining the current time as the comment time corresponding to the element of the paper chapter to be commented;
the second generating unit is used for generating a comment title corresponding to the to-be-commented paper chapter element through a preset title strategy according to the position information, the comment information, the user identification and the comment time;
and a third generating unit, configured to generate comment object information according to the location information, the comment information, the user identifier, the comment title, and the comment time.
With reference to the third aspect, an embodiment of the present invention provides a sixth possible implementation manner of the third aspect, where the apparatus further includes:
the additional comment module is used for monitoring an additional comment triggering element corresponding to each comment object information in the comment area of the webpage in real time; when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, wherein the comment object information triggers the additional event, and generating additional comment object information; and updating and displaying the added comment object information in the comment area of the webpage.
With reference to the third aspect, an embodiment of the present invention provides a seventh possible implementation manner of the third aspect, where the updating module is configured to send a web page address of the web page and the comment object information to a server, so that the server updates the comment object information to all browser clients currently displaying the web page.
In a fourth aspect, an embodiment of the present invention provides an apparatus for web page review, where the apparatus includes:
the system comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving a webpage address and comment object information sent by a browser client, and the comment object information comprises position information of a to-be-commented paper chapter element;
the generating module is used for generating the updating information corresponding to the webpage address according to the comment object information;
the determining module is used for determining a browser client which is currently accessing the webpage address according to the webpage address;
and the sending module is used for sending the updating information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the updating information.
With reference to the fourth aspect, an embodiment of the present invention provides a first possible implementation manner of the fourth aspect, where the generating module includes:
the adding unit is used for adding the comment object information into a comment object information list corresponding to the webpage address to obtain a new comment object information list, and the new comment object information list is used as the updating information corresponding to the webpage address; or,
and the determining unit is used for directly determining the received comment object information as the update information corresponding to the webpage address.
In a fifth aspect, a terminal, the terminal comprising: processor and display
The processor is used for acquiring position information of a paper chapter to be commented corresponding to a comment event, comment information input by a user and a user identification of the user when the comment event triggered by a comment trigger element in a webpage displayed by the display is monitored; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage.
In a sixth aspect, a server, the server comprising:
the system comprises a receiver and a client side, wherein the receiver is used for receiving a webpage address and comment object information sent by the browser client side, and the comment object information comprises position information of a paper chapter element to be commented;
the processor is used for generating updating information corresponding to the webpage address according to the comment object information; determining a browser client currently accessing the webpage address according to the webpage address;
and the transmitter is used for transmitting the updating information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the updating information.
In the method, the device, the terminal and the server provided by the embodiment of the invention, when a comment event triggered by a comment trigger element is monitored, position information of a to-be-commented paper element corresponding to the comment event, comment information input by a user and a user identification of the user are acquired; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage. According to the comment object information generated by the method and the device, the comment object information is generated according to the position information of the element of the paper chapter to be commented, and the comment object information can show which part of the content is commented by the user, so that the comment object information commented by the user can be understood by combining the element of the paper chapter to be commented, and the referential property and the understandability of the comment object information are improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1A is a flow chart of a method for web page review provided in embodiment 1 of the present invention;
fig. 1B shows a signaling interaction diagram for updating a comment area of a displayed web page according to embodiment 1 of the present invention;
FIG. 2 is a schematic structural diagram illustrating an apparatus for web page review provided in embodiment 2 of the present invention;
FIG. 3 is a schematic diagram illustrating an apparatus for providing another web page review according to embodiment 3 of the present invention;
fig. 4 is a schematic diagram illustrating an apparatus structure of another terminal provided in embodiment 4 of the present invention;
fig. 5 is a schematic diagram illustrating an apparatus structure of another server provided in embodiment 5 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
When the scheme of the webpage comment is conceived, the comment content in the related technology only comprises the comment time and the comment text input by the user is considered, and the comment content cannot reflect which part of the content in the webpage article is commented, so that the user cannot understand the comment content in combination with the content of the commented webpage article, and the referential property and the understandability of the comment content are reduced. Based on the above, the embodiment of the invention provides a method and a device for web page comment. The following is described by way of example.
Example 1
The embodiment of the invention provides a method for web page comment.
Before commenting on a webpage article in a webpage, a browser client displays the webpage by the following method, which specifically comprises the following steps:
a browser client sends a browsing request to a server, wherein the browsing request comprises a webpage address; the method comprises the steps that a server receives a browsing request sent by a browser client, and acquires webpage information corresponding to a webpage address according to the webpage address included by the browsing request, wherein the webpage information comprises a source code of a webpage and a comment object information list, the comment object information list comprises a plurality of comment object information of the webpage, namely comment object information generated by all users for commenting webpage articles of the webpage before the current time, the comment object information comprises position information of webpage article elements commented by the users, comment information commented by the users, user identification, comment titles and comment time, and the comment information commented by the users can be comment texts, pictures or expression images and the like input by the users; the server sends the webpage information to a browser client; and the browser client receives the webpage information corresponding to the webpage address returned by the server, and renders and displays the webpage corresponding to the webpage address according to the webpage information.
And the browser client renders and displays the webpage articles of the webpage according to the source codes included in the webpage information, and renders and displays the comment area of the webpage according to the comment object information included in the webpage information.
Referring to fig. 1A, after displaying the webpage articles and the comment area in the webpage in the manner described above, the browser client performs webpage comment by following the operations of steps 101 and 104.
Step 101: and the browser client monitors comment triggering elements in the webpage in real time.
The comment triggering element may be a comment tracking button in a webpage or a webpage article element such as a paragraph and a picture in a webpage article. The comment tracking button can be located at a preset position in the webpage, for example, the comment tracking button is located on the upper side, the lower side, the left side or the right side of a webpage article in the webpage, the position of the comment tracking button is fixed, the comment tracking button cannot move out of a screen display area along with the rolling of the webpage article, a user can click the comment tracking button to trigger a comment operation, the user can also press a certain paragraph in the webpage article for a long time to trigger the comment on the paragraph, or press a picture in the webpage article for a long time to trigger the comment on the picture.
When the comment triggering element is a comment tracking button, the browser client monitors the comment tracking button in the webpage in real time, and when a click event of the comment tracking button is monitored, the comment tracking button is determined to trigger a comment event.
When the comment triggering elements are all webpage article elements currently displayed in the screen display area, the browser client monitors all the webpage article elements in real time, and when a long press event of a certain webpage article element in all the webpage article elements is monitored, it is determined that the webpage article element triggers a comment event.
Step 102: when a comment event triggered by a comment trigger element in a webpage is monitored, the browser client acquires position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user and a user identification of the user.
When a click event of the comment tracking button is monitored, the browser client determines that the comment tracking button triggers the comment event, and acquires a currently displayed webpage article paragraph from a screen display area as a to-be-commented paper chapter element corresponding to the comment event.
At this time, the currently displayed web page article paragraphs are all the paragraphs displayed in the current screen display area, so the acquired paper chapter to be evaluated elements can be one or more paragraphs.
When a long press event of a certain webpage article element in all webpage article elements currently displayed in a screen display area is monitored, the browser client determines the webpage article element monitoring the long press event as a to-be-commented paper chapter element corresponding to the commenting event. And if a long-time press event of one picture is monitored, determining the picture as an article element to be commented.
After determining the article elements to be commented in the above manner, the browser client generates the position information of the article elements to be commented according to the source code of the web page and the article elements to be commented, and the method specifically includes:
inquiring whether the source code of the webpage contains an HTML (HyperText markup language) object mark of a chapter of paper to be evaluated; if so, acquiring an HTML object identifier of the chapter element of the paper to be evaluated from the source code as position information of the chapter element of the paper to be evaluated; if not, allocating a unique identifier for the element of the article to be commented, and determining the allocated unique identifier as the position information of the element of the article to be commented.
The HTML object identifier is a unique identifier of the webpage article element in the webpage article, and the position of the webpage article element in the webpage article can be uniquely determined.
When a comment event triggered by a comment triggering element is monitored, a browser client displays a comment determining interface to a user, wherein the comment determining interface comprises prompt information for prompting the user whether to determine to comment, a comment button and a cancel button, and the prompt information for prompting the user whether to determine to comment can be 'whether to confirm to comment' or 'I want to comment on' and the like. When a user clicks a comment button, a browser client displays a comment information input box to the user, the user can edit a comment text in the comment information input box or input a picture or an expression image capable of expressing the user's own feelings, and the browser client acquires the comment text, the picture or the expression image and the like input by the user from the comment information input box as comment information input by the user.
Step 103: and the browser client generates comment object information according to the position information, the comment information, the user identification and the current time.
The browser client determines the current time as the comment time corresponding to the article element to be commented; generating a comment title corresponding to the element of the thesis chapter to be commented according to the position information, the comment information, the user identification and the comment time through a preset title strategy; and generating comment object information according to the position information, the comment information, the user identification, the comment title and the comment time. In the embodiment of the invention, the position information, the comment information, the user identification, the comment title and the comment time can be combined into the comment object information.
The preset title policy may be to generate a comment title according to the location information and the user identifier, or to generate a comment title according to the location information and the comment information, or the like. The preset title policy may be a user-defined policy or a policy issued by the server to the browser client.
Step 104: and the browser client updates and displays the comment object information in the comment area of the webpage.
The browser client may display the generated comment object information in a comment area of the webpage being locally displayed, and send the comment object information to the server. After receiving the comment object information, the server determines other browser clients, except the browser client, of the webpage which are currently displaying, and sends the comment object information to the determined other browser clients, so that the comment object information is updated and displayed in the comment area of the webpage by the other browser clients.
Therefore, when the comment object information is generated by the user comment, the comment object information is immediately displayed in the comment area of the local webpage, the local display has no time delay, and the user experience is improved. In addition, the browser client and the other browser clients display the comment object information in a preset time sequence or a preset comment popularity sequence when updating and displaying the comment object information.
Because the comment object information generated when the user makes a comment may contain contents that do not meet the relevant legal regulations, the comment object information needs to be reviewed first and then updated and displayed, so as to avoid adverse effects caused by illegal comments. Therefore, in the embodiment of the present invention, the browser client may also not immediately display the generated comment object information in the comment area of the local web page, but first send the comment object information to the server. The server receives the comment object information, after the review is passed by an auditor, or after the server automatically performs semantic analysis and review, the server determines all browser clients currently displaying the webpage, sends the comment object information to each determined browser client, and each browser client currently displaying the webpage receives the comment object information sent by the server and displays the comment object information in a comment area of the webpage currently being displayed.
In the embodiment of the invention, when the user carries out comment to generate comment object information and the comment object information is updated and displayed to other users through the server, as shown in fig. 1B, the updated display of the comment object information is realized through the following operations of steps a1-a 4.
A1: and the server receives the webpage address and the comment object information sent by the browser client, and generates update information corresponding to the webpage address according to the comment object information.
The server adds the comment object information to a comment object information list corresponding to the webpage address to obtain a new comment object information list, and the new comment object information list is used as the update information corresponding to the webpage address; or the server directly determines the received comment object information as the update information corresponding to the webpage address.
A2: and the server determines the browser client currently accessing the webpage address according to the webpage address.
When the browser client requests to access a webpage address, the browser client also sends the identification of the browser client to the server, and the server records the corresponding relation between the webpage address and the identification of the browser client.
And the server acquires the identifier of the corresponding browser client from the corresponding relation between the webpage address and the identifier of the browser client according to the webpage address, and determines the browser client corresponding to the acquired identifier as the browser client currently accessing the webpage address.
A3: and the server sends the generated updating information to the determined browser client.
A4: and the browser client receives the updating information sent by the server and updates the comment area of the currently displayed webpage according to the updating information.
The method comprises the steps that a browser client receives update information sent by a server, wherein the update information comprises a new comment object information list or new comment object information of a webpage; if the updated information comprises a new comment object information list, updating all comment object information displayed in the comment area according to the new comment object information list; and if the updated information only comprises the new comment object information, displaying the new comment object information in the comment area according to a preset time sequence or a preset comment popularity sequence.
Since a user may feel a sense of something about comment object information in a comment area when browsing the comment object information, and needs to comment on the comment object information, a scheme for adding comments is provided in the embodiment of the present invention, which specifically includes:
monitoring an additional comment triggering element corresponding to each comment object information in the comment area in real time; when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, which are included in the comment object information triggering the additional event, and generating additional comment object information; the added comment target information is updated and displayed in the comment area of the web page.
The operation of updating and displaying the additional comment object information is the same as the operation of updating and displaying in step 104, and is not described here again.
The additional comment triggering element can be comment information included in the comment object information, and a user pressing the comment information of the comment object information for a long time can trigger an additional event for the comment object information. The additional comment triggering element can also be an additional comment triggering button, a corresponding additional comment triggering button is arranged at each comment object information position in the comment area, and a user can click the additional comment triggering button at one comment object information position to trigger an additional event.
And if the added comment object information corresponds to the comment object information, the comment object information is added to the added comment object information.
In the embodiment of the invention, when a comment event triggered by a comment trigger element is monitored, position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user and a user identification of the user are acquired; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage. According to the comment object information generated by the method and the device, the comment object information is generated according to the position information of the element of the paper chapter to be commented, and the comment object information can show which part of the content is commented by the user, so that the comment object information commented by the user can be understood by combining the element of the paper chapter to be commented, and the referential property and the understandability of the comment object information are improved.
Example 2
Referring to fig. 2, an embodiment of the present invention provides an apparatus for web page review, which is used to execute the method for web page review provided in embodiment 1 above. The device specifically includes:
the obtaining module 201 is configured to obtain, when a comment event triggered by a comment trigger element in a webpage is monitored, position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user, and a user identifier of the user;
a generating module 202, configured to generate comment object information according to the position information, the comment information, the user identifier, and the current time that are acquired by the acquiring module 201;
and the updating module 203 is used for updating and displaying the comment object information in the comment area of the webpage.
The comment triggering element comprises a comment tracking button; at this time, the apparatus determines whether a comment event is triggered by a first determination module.
The first determining module is used for monitoring the comment tracking button in the webpage in real time, and determining that the comment tracking button triggers a comment event when a click event of the comment tracking button is monitored.
Or, the comment triggering element includes all web page article elements currently displayed in the screen display area, and at this time, the apparatus determines whether a comment event is triggered through the first determining module.
And the second determining module is used for monitoring all webpage article elements in real time, and determining that the webpage article elements trigger comment events when long press events of certain webpage article elements in all the webpage article elements are monitored.
When a click event of a comment tracking button is monitored, the acquisition module 201 acquires position information of a paper chapter element to be evaluated through the acquisition unit and the first generation unit.
The acquisition unit is used for acquiring a currently displayed webpage article paragraph from a screen display area as a to-be-evaluated paper chapter element corresponding to a comment event; the first generating unit is used for generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
When a long press event of a certain webpage article element in all webpage article elements is monitored, the obtaining module 201 obtains position information of the to-be-evaluated paper element through the first determining unit and the first generating unit.
The first determining unit is used for determining the webpage article elements of which the long press events are monitored as the to-be-evaluated paper chapter elements corresponding to the comment events; the first generating unit is used for generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
The first generating unit specifically generates the position information of the element of the paper seal to be evaluated through the inquiring subunit, the acquiring subunit and the distributing subunit.
The query subunit is used for querying whether the source code of the webpage contains the hypertext markup language HTML object identifier of the element of the paper chapter to be evaluated; the acquisition subunit is used for acquiring the HTML object identifier of the chapter element of the paper to be evaluated from the source code as the position information of the chapter element of the paper to be evaluated when the HTML object identifier of the article element to be evaluated is included in the source code of the webpage inquired by the inquiry subunit; and the distribution subunit is used for distributing a unique identifier for the chapter element of the paper to be evaluated when the query subunit queries that the source code of the webpage does not contain the HTML object identifier of the chapter element of the paper to be evaluated, and determining the distributed unique identifier as the position information of the article element to be evaluated.
In this embodiment of the present invention, the generating module 202 specifically generates the comment object information by using a second determining unit, a second generating unit, and a third generating unit.
The second determining unit is used for determining the current time as the comment time corresponding to the article element to be commented; the second generation unit is used for generating comment titles corresponding to the to-be-commented paper chapter elements through a preset title strategy according to the position information, the comment information, the user identification and the comment time; and the third generating unit is used for generating comment object information according to the position information, the comment information, the user identification, the comment title and the comment time.
Since a user may have a new feeling about some comment object information when browsing the comment object information in the comment area, and needs to comment the comment object information, the embodiment of the present invention further adds comments by adding a comment module.
The additional comment module is used for monitoring an additional comment triggering element corresponding to each comment object information in the comment area in real time; when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, which are included in the comment object information triggering the additional event, and generating additional comment object information; and displaying the added comment object information behind the comment object information triggering the additional event, and sending the webpage address of the webpage and the added comment object information to the server.
In this embodiment of the present invention, the updating module 203 is configured to send the web page address of the web page and the comment object information to the server, so that the server updates the comment object information to all browser clients currently displaying the web page.
In the embodiment of the invention, when a comment event triggered by a comment trigger element is monitored, position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user and a user identification of the user are acquired; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage. According to the comment object information generated by the method and the device, the comment object information is generated according to the position information of the element of the paper chapter to be commented, and the comment object information can show which part of the content is commented by the user, so that the comment object information commented by the user can be understood by combining the element of the paper chapter to be commented, and the referential property and the understandability of the comment object information are improved.
Example 3
Referring to fig. 3, an embodiment of the present invention provides an apparatus for web page review, which is configured to perform the method for web page review provided in embodiment 1 above. The device specifically includes:
the receiving module 301 is configured to receive a web page address and comment object information sent by a browser client, where the comment object information includes position information of a paper chapter element to be commented;
a generating module 302, configured to generate, according to the comment object information received by the receiving module 301, update information corresponding to the web page address;
a determining module 303, configured to determine, according to the web page address received by the receiving module 301, a browser client that is currently accessing the web page address;
a sending module 304, configured to send the update information generated by the generating module 302 to the browser client determined by the determining module 303, so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the update information.
Specifically, the generating module 302 generates the update information corresponding to the web page address by using an adding unit or a determining unit.
The adding unit is used for adding the comment object information into a comment object information list corresponding to the webpage address to obtain a new comment object information list, and taking the new comment object information list as the update information corresponding to the webpage address; or, the determining unit is used for directly determining the received comment object information as the update information corresponding to the webpage address.
In the embodiment of the invention, a webpage address and comment object information sent by a browser client are received, wherein the comment object information comprises position information of a paper chapter element to be commented; generating updating information corresponding to the webpage address according to the comment object information; determining a browser client currently accessing the webpage address according to the webpage address; and sending the update information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the update information. In the invention, the comment object information comprises the position information of the element of the paper chapter to be commented, so that after the browser client updates the comment area of the webpage according to the comment object information, the comment object information in the comment area can show which part of the content is commented by the user, so that the comment object information commented by the user can be understood by combining the element of the paper chapter to be commented, and the referential property and the understandability of the comment object information are improved.
Example 4
Referring to fig. 4, an embodiment of the present invention provides a terminal, where the terminal is configured to execute the method for web page review provided in embodiment 1, and the terminal includes: a processor 401 and a display 402.
The processor 401 is configured to, when a comment event triggered by a comment trigger element in a webpage displayed by the display 402 is monitored, obtain position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user, and a user identifier of the user; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage.
The comment triggering element comprises a comment tracking button; the processor 401 is further configured to monitor a comment tracking button in a webpage displayed by the display 402 in real time, and when a click event of the comment tracking button is monitored, determine that the comment tracking button triggers a comment event;
or,
the comment triggering element includes all webpage article elements currently displayed in the screen display area, and the processor 401 is further configured to monitor all webpage article elements in real time, and when a long press event of a certain webpage article element among all webpage article elements is monitored, determine that the webpage article element triggers a comment event.
When the processor 401 monitors a click event of the comment tracking button, the processor 401 is configured to acquire a currently displayed webpage article paragraph from a screen display area of the display 402 as a to-be-commented paper chapter element corresponding to the comment event; and generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
When the processor 401 monitors a long press event of a certain webpage article element in all webpage article elements, the processor 401 is configured to determine the webpage article element monitoring the long press event as a to-be-evaluated article element corresponding to a comment event; and generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
The processor 401 is configured to query whether a source code of a web page includes a hypertext markup language HTML object identifier of a chapter element of a paper to be evaluated; if so, acquiring an HTML object identifier of the chapter element of the paper to be evaluated from the source code as position information of the chapter element of the paper to be evaluated; if not, allocating a unique identifier for the element of the article to be commented, and determining the allocated unique identifier as the position information of the element of the article to be commented.
A processor 401, configured to determine a current time as a comment time corresponding to an article element to be commented; generating a comment title corresponding to the element of the thesis chapter to be commented through a preset title strategy according to the position information, the comment information, the user identification and the comment time; and generating comment object information according to the position information, the comment information, the user identification, the comment title and the comment time.
The processor 401 is further configured to monitor, in real time, an additional comment trigger element corresponding to each comment object information in a comment area of the webpage displayed by the display 402; when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, which are included in the comment object information triggering the additional event, and generating additional comment object information; and updating and displaying the added comment object information in the comment area of the webpage.
In the embodiment of the present invention, the terminal further includes a transmitter, where the transmitter is configured to send the web page address of the web page and the comment object information to the server, so that the server updates the comment object information to all browser clients currently displaying the web page.
In the embodiment of the invention, when a comment event triggered by a comment trigger element is monitored, position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user and a user identification of the user are acquired; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage. According to the comment object information generated by the method and the device, the comment object information is generated according to the position information of the element of the paper chapter to be commented, and the comment object information can show which part of the content is commented by the user, so that the comment object information commented by the user can be understood by combining the element of the paper chapter to be commented, and the referential property and the understandability of the comment object information are improved.
Example 5
Referring to fig. 5, an embodiment of the present invention provides a server, configured to execute the web page review method provided in embodiment 1 above, where the server includes:
the receiver 501 is configured to receive a web page address and comment object information sent by a browser client, where the comment object information includes position information of a paper chapter element to be commented;
the processor 502 is configured to generate update information corresponding to the web page address according to the comment object information; determining a browser client currently accessing the webpage address according to the webpage address;
and the transmitter 503 is configured to transmit the update information to the determined browser client, so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the update information.
The processor 502 is configured to add the comment object information to the comment object information list corresponding to the web page address to obtain a new comment object information list, and use the new comment object information list as update information corresponding to the web page address; or, the received comment object information is directly determined as the update information corresponding to the webpage address.
In the embodiment of the invention, a webpage address and comment object information sent by a browser client are received, wherein the comment object information comprises position information of a paper chapter element to be commented; generating updating information corresponding to the webpage address according to the comment object information; determining a browser client currently accessing the webpage address according to the webpage address; and sending the update information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the update information. In the invention, the comment object information comprises the position information of the element of the paper chapter to be commented, so that after the browser client updates the comment area of the webpage according to the comment object information, the comment object information in the comment area can show which part of the content is commented by the user, so that the comment object information commented by the user can be understood by combining the element of the paper chapter to be commented, and the referential property and the understandability of the comment object information are improved.
The device for web page review provided by the embodiment of the invention can be specific hardware on the equipment or software or firmware installed on the equipment. It will be clear to those skilled in the art that for convenience and brevity of description, the specific working procedures of the modules, devices and units described above may all refer to the corresponding procedures in the above method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (22)

1. A method for web page review, the method comprising:
when a comment event triggered by a comment trigger element in a webpage is monitored, acquiring position information of a to-be-commented paper chapter element corresponding to the comment event, comment information input by a user and a user identification of the user;
generating comment object information according to the position information, the comment information, the user identification and the current time;
and updating and displaying the comment object information in the comment area of the webpage.
2. The method of claim 1, wherein the comment trigger element comprises a comment tracking button; before the obtaining of the position information of the to-be-commented paper chapter element corresponding to the comment event, the comment information input by the user, and the user identifier of the user, the method further includes:
monitoring the comment tracking button in the webpage in real time, and determining that the comment tracking button triggers a comment event when a click event of the comment tracking button is monitored;
or,
the comment triggering element comprises all webpage article elements currently displayed in the screen display area, and further comprises:
and monitoring all webpage article elements in real time, and determining that the webpage article elements trigger comment events when long press events of certain webpage article elements in all the webpage article elements are monitored.
3. The method according to claim 2, wherein when a click event of the comment tracking button is monitored, the acquiring of the position information of a to-be-commented paper chapter element corresponding to the comment event comprises:
acquiring a currently displayed webpage article paragraph from the screen display area as a to-be-commented paper chapter element corresponding to the commenting event;
and generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
4. The method according to claim 2, wherein when a long press event of a certain webpage article element of all the webpage article elements is monitored, the obtaining of the position information of the to-be-commented paper chapter element corresponding to the comment event comprises:
determining webpage article elements of which long press events are monitored as to-be-commented paper chapter elements corresponding to the commenting events;
and generating position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
5. The method according to claim 3 or 4, wherein the generating the position information of the to-be-evaluated paper chapter element according to the source code of the web page and the to-be-evaluated paper chapter element comprises:
inquiring whether the source code of the webpage contains a hypertext markup language (HTML) object identifier of the element of the paper chapter to be evaluated;
if so, acquiring an HTML object identifier of the chapter element of the paper to be evaluated from the source code as position information of the chapter element of the paper to be evaluated;
if not, allocating a unique identifier for the article element to be commented, and determining the allocated unique identifier as the position information of the article element to be commented.
6. The method of claim 1, wherein generating comment object information based on the location information, the comment information, the user identifier, and a current time comprises:
determining the current time as the comment time corresponding to the element of the paper chapter to be commented;
generating a comment title corresponding to the to-be-commented paper chapter element through a preset title strategy according to the position information, the comment information, the user identification and the comment time;
and generating comment object information according to the position information, the comment information, the user identification, the comment title and the comment time.
7. The method of claim 1, further comprising:
monitoring an additional comment triggering element corresponding to each comment object information in a comment area of the webpage in real time;
when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, wherein the comment object information triggers the additional event, and generating additional comment object information;
and updating and displaying the added comment object information in the comment area of the webpage.
8. The method of claim 1, wherein the updating and displaying the comment object information in the comment area of the web page comprises:
and sending the webpage address of the webpage and the comment object information to a server so that the server updates the comment object information to all browser clients currently displaying the webpage.
9. A method for web page review, the method comprising:
receiving a webpage address and comment object information sent by a browser client, wherein the comment object information comprises position information of a paper chapter element to be commented;
generating updating information corresponding to the webpage address according to the comment object information;
determining a browser client currently accessing the webpage address according to the webpage address;
and sending the updating information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the updating information.
10. The method according to claim 9, wherein the generating update information corresponding to the web page address according to the comment object information includes:
adding the comment object information into a comment object information list corresponding to the webpage address to obtain a new comment object information list, and taking the new comment object information list as update information corresponding to the webpage address; or,
and directly determining the received comment object information as the update information corresponding to the webpage address.
11. An apparatus for web page review, the apparatus comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the position information of a to-be-commented paper chapter element corresponding to a comment event, comment information input by a user and a user identification of the user when the comment event triggered by a comment trigger element in a webpage is monitored;
the generating module is used for generating comment object information according to the position information, the comment information, the user identification and the current time;
and the updating module is used for updating and displaying the comment object information in the comment area of the webpage.
12. The apparatus of claim 11, wherein the comment trigger element comprises a comment tracking button; the device further comprises:
the first determining module is used for monitoring the comment tracking button in the webpage in real time, and determining that the comment tracking button triggers a comment event when a click event of the comment tracking button is monitored;
or,
the comment triggering element comprises all webpage article elements currently displayed in the screen display area, and further comprises:
and the second determining module is used for monitoring all the webpage article elements in real time, and determining that the webpage article elements trigger comment events when long press events of certain webpage article elements in all the webpage article elements are monitored.
13. The apparatus of claim 12, wherein when a single click event of the comment tracking button is monitored, the obtaining module comprises:
the acquisition unit is used for acquiring a currently displayed webpage article paragraph from the screen display area as a to-be-commented paper chapter element corresponding to the comment event;
and the first generating unit is used for generating the position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
14. The apparatus of claim 12, wherein when a long press event of a certain one of the all webpage article elements is monitored, the obtaining module comprises:
the first determining unit is used for determining the webpage article elements of which the long press events are monitored as the to-be-commented paper chapter elements corresponding to the commenting events;
and the first generating unit is used for generating the position information of the paper seal element to be evaluated according to the source code of the webpage and the paper seal element to be evaluated.
15. The apparatus according to claim 13 or 14, wherein the first generating unit comprises:
the query subunit is used for querying whether the source code of the webpage contains the hypertext markup language HTML object identifier of the chapter of paper to be evaluated;
the acquiring subunit is configured to acquire, when the source code of the web page includes the HTML object identifier of the chapter element of a paper to be evaluated, the HTML object identifier of the chapter element of the paper to be evaluated from the source code as position information of the chapter element of the paper to be evaluated;
and the distribution subunit is used for distributing a unique identifier to the paper chapter element to be evaluated when the query subunit queries that the source code of the webpage does not contain the HTML object identifier of the paper chapter element to be evaluated, and determining the distributed unique identifier as the position information of the paper chapter element to be evaluated.
16. The apparatus of claim 11, wherein the generating module is configured to include:
the second determining unit is used for determining the current time as the comment time corresponding to the element of the paper chapter to be commented;
the second generating unit is used for generating a comment title corresponding to the to-be-commented paper chapter element through a preset title strategy according to the position information, the comment information, the user identification and the comment time;
and a third generating unit, configured to generate comment object information according to the location information, the comment information, the user identifier, the comment title, and the comment time.
17. The apparatus of claim 11, further comprising:
the additional comment module is used for monitoring an additional comment triggering element corresponding to each comment object information in the comment area of the webpage in real time; when an additional event triggered by an additional comment triggering element corresponding to certain comment object information is monitored, acquiring position information, user additional comment information and a user identifier of a user, wherein the comment object information triggers the additional event, and generating additional comment object information; and updating and displaying the added comment object information in the comment area of the webpage.
18. The apparatus of claim 11, wherein the updating module is configured to send a web page address of the web page and the comment object information to a server, so that the server updates the comment object information to all browser clients currently displaying the web page.
19. An apparatus for web page review, the apparatus comprising:
the system comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving a webpage address and comment object information sent by a browser client, and the comment object information comprises position information of a to-be-commented paper chapter element;
the generating module is used for generating the updating information corresponding to the webpage address according to the comment object information;
the determining module is used for determining a browser client which is currently accessing the webpage address according to the webpage address;
and the sending module is used for sending the updating information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the updating information.
20. The apparatus of claim 19, wherein the generating module comprises:
the adding unit is used for adding the comment object information into a comment object information list corresponding to the webpage address to obtain a new comment object information list, and the new comment object information list is used as the updating information corresponding to the webpage address; or,
and the determining unit is used for directly determining the received comment object information as the update information corresponding to the webpage address.
21. A terminal, characterized in that the terminal comprises: processor and display
The processor is used for acquiring position information of a paper chapter to be commented corresponding to a comment event, comment information input by a user and a user identification of the user when the comment event triggered by a comment trigger element in a webpage displayed by the display is monitored; generating comment object information according to the position information, the comment information, the user identification and the current time; and updating and displaying the comment object information in the comment area of the webpage.
22. A server, characterized in that the server comprises:
the system comprises a receiver and a client side, wherein the receiver is used for receiving a webpage address and comment object information sent by the browser client side, and the comment object information comprises position information of a paper chapter element to be commented;
the processor is used for generating updating information corresponding to the webpage address according to the comment object information; determining a browser client currently accessing the webpage address according to the webpage address;
and the transmitter is used for transmitting the updating information to the determined browser client so that the determined browser client updates the comment area of the webpage corresponding to the webpage address according to the updating information.
CN201510779067.4A 2015-11-12 2015-11-12 Web page commenting method and apparatus, terminal and server Pending CN105389369A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201510779067.4A CN105389369A (en) 2015-11-12 2015-11-12 Web page commenting method and apparatus, terminal and server
US15/348,539 US9946693B2 (en) 2015-11-12 2016-11-10 Displaying of webpage comments in an order according to the number of webpage comments
RU2016144330A RU2665892C2 (en) 2015-11-12 2016-11-11 System and method for displaying online comments
US15/933,692 US10120846B2 (en) 2015-11-12 2018-03-23 System and method for displaying online comments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510779067.4A CN105389369A (en) 2015-11-12 2015-11-12 Web page commenting method and apparatus, terminal and server

Publications (1)

Publication Number Publication Date
CN105389369A true CN105389369A (en) 2016-03-09

Family

ID=55421659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510779067.4A Pending CN105389369A (en) 2015-11-12 2015-11-12 Web page commenting method and apparatus, terminal and server

Country Status (1)

Country Link
CN (1) CN105389369A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975167A (en) * 2016-05-27 2016-09-28 网易(杭州)网络有限公司 Page comment control method and device
CN107239186A (en) * 2016-03-28 2017-10-10 北京京东尚科信息技术有限公司 The notes treating method and apparatus of streaming document
CN110555198A (en) * 2018-05-31 2019-12-10 北京百度网讯科技有限公司 method, apparatus, device and computer-readable storage medium for generating article
CN110795665A (en) * 2019-10-15 2020-02-14 浙江口碑网络技术有限公司 Webpage article comment processing method and server side
CN111753207A (en) * 2020-06-29 2020-10-09 华东师范大学 A Review-Based Neural Graph Collaborative Filtering Model
CN111898336A (en) * 2020-09-30 2020-11-06 拼说说(深圳)网络科技有限公司 Bullet screen display method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060048046A1 (en) * 2004-08-24 2006-03-02 Joshi Mukul M Marking and annotating electronic documents
CN103164456A (en) * 2011-12-15 2013-06-19 北京新媒传信科技有限公司 Web review system and implementation method thereof
CN103853761A (en) * 2012-12-03 2014-06-11 腾讯科技(深圳)有限公司 Method and device for displaying and adding comments of webpage content
CN104504131A (en) * 2014-12-31 2015-04-08 广州爱书旗信息技术有限公司 Method and device for realizing user comments based on lineation as well as terminal device and system
CN104899236A (en) * 2014-11-13 2015-09-09 深圳市腾讯计算机系统有限公司 Comment information display method, comment information display device and comment information display system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060048046A1 (en) * 2004-08-24 2006-03-02 Joshi Mukul M Marking and annotating electronic documents
CN103164456A (en) * 2011-12-15 2013-06-19 北京新媒传信科技有限公司 Web review system and implementation method thereof
CN103853761A (en) * 2012-12-03 2014-06-11 腾讯科技(深圳)有限公司 Method and device for displaying and adding comments of webpage content
CN104899236A (en) * 2014-11-13 2015-09-09 深圳市腾讯计算机系统有限公司 Comment information display method, comment information display device and comment information display system
CN104504131A (en) * 2014-12-31 2015-04-08 广州爱书旗信息技术有限公司 Method and device for realizing user comments based on lineation as well as terminal device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239186A (en) * 2016-03-28 2017-10-10 北京京东尚科信息技术有限公司 The notes treating method and apparatus of streaming document
CN105975167A (en) * 2016-05-27 2016-09-28 网易(杭州)网络有限公司 Page comment control method and device
CN105975167B (en) * 2016-05-27 2020-06-02 上海呵呵呵文化传播有限公司 Page comment control method and device
CN110555198A (en) * 2018-05-31 2019-12-10 北京百度网讯科技有限公司 method, apparatus, device and computer-readable storage medium for generating article
CN110555198B (en) * 2018-05-31 2023-05-23 北京百度网讯科技有限公司 Method, device, device and computer-readable storage medium for generating articles
CN110795665A (en) * 2019-10-15 2020-02-14 浙江口碑网络技术有限公司 Webpage article comment processing method and server side
CN111753207A (en) * 2020-06-29 2020-10-09 华东师范大学 A Review-Based Neural Graph Collaborative Filtering Model
CN111898336A (en) * 2020-09-30 2020-11-06 拼说说(深圳)网络科技有限公司 Bullet screen display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10997358B1 (en) Click tracking using link styles
CN105389369A (en) Web page commenting method and apparatus, terminal and server
US10530899B2 (en) Method and system for establishing a trust association
US10110966B2 (en) Method, device, server and client device for video processing
US9912767B1 (en) Third-party cross-site data sharing
CN108140196B (en) System and method for reducing latency of content item interactions using client-generated click identifiers
US20090193032A1 (en) Advertisement annotation system and method
CN108334525A (en) A kind of method for exhibiting data and device
EP2339526A1 (en) System and method for monitoring visits to a target site
US20130124301A1 (en) System and method for dynamic user feedback for display and context advertisements
CN105404669B (en) A kind of method, apparatus, terminal and the server of the comment of display webpage
WO2015005950A1 (en) Determining whether to send a call-out to a bidder in an online content auction
JP2018200702A (en) Application install conversion and identification
CN107818101A (en) Method and device for page jump
US20130173707A1 (en) Information source selection system, information source selection method, and program
EP3559818A1 (en) Maintaining session identifiers across multiple webpages for content selection
US10120846B2 (en) System and method for displaying online comments
CN104598571A (en) Method and device for playing multimedia resource
US12282939B2 (en) In-feed frame to display ads or other externally-hosted content
CN107967632B (en) Method and device for displaying advertisements
CN106201461A (en) Generation method, system and the background server at a kind of interface
KR20120009793A (en) Content display device and recognition method through recognition of designated website and designated web page
CN103561066A (en) Method and system for constructing network advertisements
JP2013196141A (en) Terminal device, information display system and information display method
US20170249658A1 (en) Displaying estimation of content viewership

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200422

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 12 layer self unit 01

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160309